index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
---|---|---|---|---|---|---|
23,151 | flask.app | add_template_test | Register a custom template test. Works exactly like the
:meth:`template_test` decorator.
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: Callable[..., bool], name: str | None = None) -> NoneType | [
0.04548889398574829,
-0.05285302922129631,
-0.05250783637166023,
-0.044951923191547394,
0.041193146258592606,
0.003984113689512014,
-0.0031235257629305124,
0.03837406262755394,
-0.04510534554719925,
-0.06152123585343361,
-0.004032057244330645,
0.01521730050444603,
-0.004350882023572922,
0.01521730050444603,
0.02600461058318615,
0.03538237884640694,
0.06374581903219223,
0.02748127467930317,
0.056113194674253464,
-0.0856081023812294,
0.04142327606678009,
0.009885971434414387,
0.0015497769927605987,
-0.00556145841255784,
-0.046332698315382004,
0.0012585195945575833,
-0.030377067625522614,
-0.0011955936206504703,
0.053351644426584244,
-0.03281260281801224,
-0.010739367455244064,
-0.05212428793311119,
0.02168968692421913,
0.010480471886694431,
0.05523103475570679,
-0.024278640747070312,
-0.026234740391373634,
-0.00922434963285923,
0.0002836163912434131,
-0.05665016546845436,
-0.008629849180579185,
-0.0009001411963254213,
-0.03965894877910614,
-0.03572757542133331,
0.034730348736047745,
0.03534402698278427,
-0.038316529244184494,
0.043110888451337814,
0.006242257542908192,
0.017959674820303917,
0.0020891425665467978,
-0.022936221212148666,
0.04871070384979248,
0.044951923191547394,
0.025141626596450806,
0.05193251371383667,
-0.021152717992663383,
0.02019384689629078,
-0.00816959049552679,
-0.03689739853143692,
-0.010528415441513062,
0.07728508859872818,
-0.0017583316657692194,
0.021191073581576347,
0.03818228840827942,
-0.017192576080560684,
-0.05730219557881355,
0.010068156756460667,
0.0011764161754399538,
-0.02740456536412239,
-0.00018787900626193732,
-0.004947780165821314,
-0.025601884350180626,
0.0033416692167520523,
0.05166402831673622,
-0.06209655851125717,
0.0028742190916091204,
-0.08476429432630539,
0.02583201415836811,
-0.026675822213292122,
0.048020314425230026,
-0.048902478069067,
-0.04518205299973488,
0.0037060407921671867,
0.06792649626731873,
0.03484541177749634,
0.01963770017027855,
-0.0016924092778936028,
-0.0433410182595253,
0.0335988774895668,
-0.06481975317001343,
0.0041423276998102665,
-0.014325548894703388,
0.03283178061246872,
0.008193561807274818,
-0.037396013736724854,
0.00913805142045021,
-0.010921553708612919,
-0.0005522504216060042,
-0.04111643508076668,
0.0363796092569828,
0.03858501464128494,
-0.010835254564881325,
0.030683906748890877,
0.011995489709079266,
0.012436571530997753,
-0.0030803766567260027,
0.017566537484526634,
0.007507968693971634,
-0.026867596432566643,
-0.027979888021945953,
-0.01917744241654873,
-0.019944539293646812,
-0.036954931914806366,
-0.03384818509221077,
0.018678829073905945,
0.0026177207473665476,
-0.027327854186296463,
0.06804156303405762,
-0.03208386152982712,
-0.006338144652545452,
-0.02111436426639557,
0.025755304843187332,
-0.04660118371248245,
0.0385274812579155,
0.08292325586080551,
-0.030415423214435577,
0.01203384529799223,
-0.005245030391961336,
0.007531940471380949,
-0.014824163168668747,
0.0382014662027359,
-0.03697410970926285,
0.0754440575838089,
0.015878921374678612,
0.027136079967021942,
-0.05580635741353035,
0.0361686572432518,
-0.03290849179029465,
0.08553139120340347,
-0.02554435282945633,
-0.013539274223148823,
-0.03954388573765755,
-0.019906185567378998,
0.007090859115123749,
-0.03503718599677086,
-0.004228625912219286,
-0.020711638033390045,
-0.01752818189561367,
0.024853965267539024,
0.058069296181201935,
-0.009876382537186146,
-0.046639539301395416,
0.04123150184750557,
0.0024283435195684433,
0.058529552072286606,
-0.03179619833827019,
-0.005187497939914465,
-0.0057100835256278515,
-0.0658169835805893,
-0.04798195883631706,
-0.053006451576948166,
-0.012235208414494991,
-0.09412288665771484,
-0.003753984346985817,
0.021651331335306168,
0.020155491307377815,
0.028190840035676956,
0.015131001360714436,
0.07663305848836899,
-0.04499027878046036,
0.01604193076491356,
-0.0037635730113834143,
-0.00463374936953187,
0.026886774227023125,
0.04222872853279114,
0.0006274619372561574,
-0.03363723307847977,
-0.013817346654832363,
-0.044146470725536346,
-0.015993986278772354,
-0.07690154016017914,
-0.05672687292098999,
0.007383315358310938,
0.03133593872189522,
0.03854665905237198,
-0.019024021923542023,
0.040732886642217636,
0.03438515216112137,
0.03384818509221077,
-0.0885997787117958,
0.03764531761407852,
0.07674812525510788,
0.01596521958708763,
-0.04196024313569069,
0.0015953234396874905,
-0.041384920477867126,
0.011640707030892372,
0.026810064911842346,
-0.06374581903219223,
-0.05070515722036362,
0.02629227377474308,
0.026407336816191673,
-0.04602586105465889,
0.0037515871226787567,
0.0070189437828958035,
0.016924092546105385,
0.0014610813232138753,
-0.0143926702439785,
-0.02922642230987549,
-0.05016819015145302,
0.0091764060780406,
0.028075775131583214,
-0.013615983538329601,
0.002543408190831542,
-0.03714670613408089,
0.03290849179029465,
0.006045688409358263,
0.023319769650697708,
0.020155491307377815,
0.05381190404295921,
0.057570680975914,
0.001117086037993431,
-0.012868063524365425,
-0.0061847250908613205,
-0.01567755825817585,
0.04706144332885742,
0.011659884825348854,
-0.0060936324298381805,
-0.010077745653688908,
-0.02489231899380684,
-0.005264207720756531,
0.057570680975914,
0.028382614254951477,
0.03902609273791313,
-0.030108584091067314,
0.03503718599677086,
0.028785340487957,
-0.015063880942761898,
0.0021490720100700855,
0.0333879254758358,
0.018199391663074493,
0.0179788526147604,
-0.01889936998486519,
0.002449918305501342,
0.02638816088438034,
-0.0013544068206101656,
-0.007263456005603075,
-0.0058011761866509914,
-0.02084587886929512,
-0.0024643014185130596,
-0.02692512795329094,
-0.01744188368320465,
-0.029475728049874306,
-0.049401089549064636,
-0.018985668197274208,
-0.008553138934075832,
-0.026215562596917152,
-0.007359343580901623,
0.03465363755822182,
-0.004221434239298105,
0.005873091518878937,
-0.03954388573765755,
0.057148776948451996,
0.0012824914883822203,
-0.02074999175965786,
0.011410578154027462,
-0.03327286243438721,
-0.021747218444943428,
-0.016924092546105385,
0.05208593234419823,
0.05181744694709778,
-0.008663409389555454,
0.022380074486136436,
-0.062326688319444656,
-0.02968668006360531,
-0.012369450181722641,
0.020443152636289597,
-0.04453001916408539,
-0.030415423214435577,
0.017777489498257637,
-0.02406769059598446,
0.028382614254951477,
0.040732886642217636,
-0.0422670841217041,
-0.004475535359233618,
-0.034826233983039856,
0.05312151461839676,
-0.004096780903637409,
-0.014967993833124638,
0.019225385040044785,
0.024240287020802498,
0.05101199448108673,
-0.023818382993340492,
0.0077524809166789055,
0.04261227697134018,
-0.1075470969080925,
-0.017835021018981934,
0.045335471630096436,
-0.04383963346481323,
0.03026200272142887,
0.001319647766649723,
0.02638816088438034,
0.016578897833824158,
0.005796381738036871,
0.02571694925427437,
0.03294684365391731,
0.002068766625598073,
-0.014181718230247498,
0.004600188694894314,
0.023281414061784744,
-0.02297457493841648,
0.00229410151951015,
-0.015015937387943268,
0.0005423620459623635,
0.030108584091067314,
-0.018659651279449463,
-0.06497317552566528,
0.012752998620271683,
0.06435949355363846,
-0.05595977604389191,
0.045987505465745926,
0.03079897165298462,
0.004240612033754587,
0.02997434139251709,
0.0011740190675482154,
0.059526778757572174,
-0.008126441389322281,
0.0015653587179258466,
0.011468110606074333,
-0.049477800726890564,
0.0459107980132103,
-0.01855417527258396,
0.0016085079405456781,
-0.0367056243121624,
0.021344492211937904,
-0.04157669469714165,
-0.03530567139387131,
-0.05181744694709778,
-0.07862751185894012,
0.05181744694709778,
0.009200377389788628,
-0.0009534784476272762,
0.016492599621415138,
-0.01798844151198864,
-0.03248658776283264,
0.03369476646184921,
0.02980174496769905,
0.04176846891641617,
-0.05285302922129631,
0.05177909508347511,
-0.034998830407857895,
0.015188533812761307,
0.05615155026316643,
0.01918703131377697,
-0.07571253925561905,
0.001302867429330945,
-0.06052400544285774,
0.0017775091109797359,
-0.00705729890614748,
0.016540544107556343,
0.02590872347354889,
-0.04568066820502281,
0.01864047348499298,
0.023818382993340492,
-0.04161505028605461,
0.026963483542203903,
-0.037223413586616516,
0.023492366075515747,
0.017461061477661133,
0.03862336650490761,
-0.03145100548863411,
0.01319408044219017,
-0.002497861860319972,
-0.036475494503974915,
-0.03265918418765068,
0.013663927093148232,
-0.037300124764442444,
-0.08622177690267563,
0.09872547537088394,
0.02943737432360649,
0.05837613344192505,
-0.0026704587507992983,
0.008476429618895054,
0.004425194580107927,
-0.0918215960264206,
-0.007431258913129568,
-0.014191307127475739,
0.006553890649229288,
0.004859084263443947,
-0.00012997211888432503,
-0.037396013736724854,
0.01328037865459919,
0.05269961059093475,
0.037396013736724854,
-0.04936273768544197,
-0.014881694689393044,
0.04713815078139305,
0.011746183037757874,
0.02657993510365486,
0.08606836199760437,
0.017643246799707413,
0.05875968188047409,
0.014066653326153755,
0.05595977604389191,
-0.012426982633769512,
0.06600875407457352,
0.013587217777967453,
0.019771942868828773,
0.07740015536546707,
-0.010355819016695023,
-0.02122942917048931,
-0.07183869928121567,
-0.04502863436937332,
-0.03045377880334854,
-0.03858501464128494,
0.000589406699873507,
0.046255990862846375,
0.03193043917417526,
0.01982947438955307,
0.04057946801185608,
0.005820353515446186,
0.04038769379258156,
0.03753025457262993,
0.018055561929941177,
0.030511310324072838,
-0.015754269436001778,
0.03193043917417526,
-0.029073001816868782,
-0.005321740172803402,
0.007397698238492012,
-0.007090859115123749,
-0.03871925547719002,
-0.03973565995693207,
0.003169072326272726,
0.012628345750272274,
-0.018208980560302734,
0.016828205436468124,
0.01696244813501835,
0.04840386286377907,
-0.020692460238933563,
-0.017662424594163895,
0.011228391900658607,
0.018573353067040443,
0.04123150184750557,
-0.005906652193516493,
-0.0712633728981018,
0.027903178706765175,
0.10954155027866364,
-0.009718168526887894,
-0.01807473972439766,
-0.0382014662027359,
0.009631870314478874,
-0.006846346892416477,
-0.05166402831673622,
-0.023741673678159714,
-0.003370435442775488,
0.034557752311229706,
-0.0586446188390255,
0.00927708763629198,
0.028804518282413483,
-0.01707751303911209,
0.039256222546100616,
-0.025390934199094772,
0.027136079967021942,
0.032237280160188675,
0.027557983994483948,
0.03217974677681923,
-0.058261070400476456,
-0.01328996755182743,
0.0058011761866509914,
0.007915489375591278,
-0.004806346260011196,
0.007306605577468872,
0.034097492694854736,
0.028459323570132256,
0.02535257861018181,
-0.031777020543813705,
-0.042842406779527664,
0.013088604435324669,
0.025064917281270027,
-0.033061910420656204,
-0.005523103289306164,
0.0667758509516716,
-0.06485810875892639,
-0.049132607877254486,
0.051165416836738586,
0.018851425498723984,
0.02406769059598446,
0.010211988352239132,
-0.026407336816191673,
0.031163344159722328,
-0.0017379557248204947,
0.022744446992874146,
0.04683131352066994,
0.027903178706765175,
0.016904914751648903,
0.024144399911165237,
0.016387123614549637,
-0.03281260281801224,
-0.0072778393514454365,
-0.011918780393898487,
0.01009692344814539,
0.043034180998802185,
0.008663409389555454,
-0.016904914751648903,
-0.046332698315382004,
-0.03893020749092102,
-0.020270556211471558,
-0.015552905388176441,
0.016741907224059105,
0.02011713758111,
0.03902609273791313,
-0.028363436460494995,
-0.016176171600818634,
0.0031882496550679207,
-0.001631281222216785,
-0.02738538756966591,
0.010576358996331692,
-0.017950085923075676,
0.020078781992197037,
0.014143363572657108,
0.056228261440992355,
-0.056228261440992355,
0.010298286564648151,
-0.015524139627814293,
0.08123564720153809,
0.030281180515885353,
0.04295746982097626,
0.08844636380672455,
0.003775558900088072,
0.0673128217458725,
0.04541218280792236,
-0.010058568790555,
0.038316529244184494,
0.03862336650490761,
-0.04959286376833916,
-0.05872132629156113,
-0.00468409014865756,
-0.04813538119196892,
0.03645631670951843,
0.046716250479221344,
-0.05185580253601074,
0.010911964811384678,
-0.05365848168730736,
-0.05112706124782562,
0.01226397417485714,
-0.01530359871685505,
-0.006122398190200329,
-0.07552076876163483,
-0.07329618185758591,
0.019906185567378998,
0.05177909508347511,
0.01661725342273712,
-0.09872547537088394,
-0.035919349640607834,
0.06800320744514465,
0.022341720759868622,
0.006501152645796537,
0.031029101461172104,
-0.030588019639253616,
0.010816077701747417,
-0.0647430419921875,
-0.060562361031770706,
0.00010787311475723982,
0.032237280160188675,
0.01613781787455082,
0.013395443558692932,
-0.010959908366203308,
-0.038508303463459015,
-0.01448855735361576,
-0.02932230941951275,
0.05542280897498131,
0.009013397619128227,
-0.046639539301395416,
0.025486821308732033,
0.004226228687912226,
0.00903736986219883,
0.05385025590658188,
-0.023185526952147484,
0.048825766891241074,
-0.008380542509257793,
-0.0422670841217041,
-0.07540570199489594,
-0.04640940949320793,
-0.007522351574152708,
0.08591493964195251,
0.05753232538700104,
-0.02629227377474308,
-0.03754943236708641,
-0.0918215960264206,
0.013088604435324669,
-0.01975276507437229,
-0.044223181903362274,
0.0010907170362770557,
0.019848652184009552,
-0.013452976010739803,
0.0428040511906147,
-0.002505053300410509,
0.036494672298431396,
-0.03754943236708641,
0.030837327241897583,
0.045987505465745926,
-0.02168968692421913,
0.03227563574910164,
-0.006016922648996115,
-0.0283059049397707,
0.0019764751195907593,
-0.02978256717324257,
-0.0035885788965970278,
-0.02297457493841648,
-0.03045377880334854,
0.030779793858528137,
0.04103972762823105,
-0.03889185190200806,
-0.0247197225689888,
-0.06497317552566528,
0.039812371134757996,
0.04825044423341751,
-0.03680150955915451,
-0.007205924019217491,
-0.026215562596917152,
-0.015102235600352287,
-0.003818708239123225,
-0.01992536149919033,
0.01535154227167368,
0.014268016442656517,
-0.007575089577585459,
-0.05546116083860397,
-0.014239250682294369,
0.022744446992874146,
-0.02084587886929512,
0.010988674126565456,
-0.01208178885281086,
0.059910327196121216,
-0.0044275918044149876,
0.027903178706765175,
-0.008327804505825043,
-0.020730813965201378,
0.035478267818689346,
0.028248371556401253,
-0.04867234826087952,
-0.018563764169812202,
-0.01596521958708763,
0.0067840199917554855,
0.00012562722258735448,
0.01880348101258278,
-0.0739482194185257,
0.07364137470722198,
-0.02074999175965786,
-0.0009744537528604269,
0.08346022665500641,
-0.021632155403494835,
0.015648793429136276,
-0.049477800726890564,
0.007340165786445141,
-0.02535257861018181,
-0.01346256397664547,
-0.0027903178706765175,
0.0065347133204340935,
0.011928369291126728,
-0.001202185871079564,
0.026253918185830116,
-0.05423380434513092,
-0.02176639623939991,
-0.02214994467794895,
0.06386087834835052,
-0.0363796092569828,
0.0688086599111557,
0.025390934199094772,
0.052162643522024155,
-0.045527245849370956,
0.00931064784526825,
-0.007968227379024029,
-0.027979888021945953,
-0.008543550036847591,
-0.03292766958475113,
0.025064917281270027,
0.02167050912976265,
-0.02786482311785221,
-0.05956513434648514,
0.019589757546782494,
-0.04932438209652901,
0.04042604938149452,
0.007340165786445141,
-0.03375229984521866,
0.03946717455983162,
-0.021843107417225838,
0.0009354996145702899,
-0.05089693143963814,
0.03070308454334736,
-0.018563764169812202,
0.0002746269747149199,
0.04242050275206566,
-0.0896737203001976,
-0.04307253658771515,
-0.03992743417620659,
-0.07456189393997192,
-0.0071435971185564995,
-0.006827169563621283,
0.059258297085762024,
-0.0011518450919538736,
0.06746624410152435,
-0.015332364477217197,
-0.007666182238608599,
0.02140202559530735,
-0.020404798910021782,
-0.04031098261475563,
-0.01624329388141632,
0.008231917396187782,
0.03198797255754471,
0.001257321098819375,
0.0999528244137764,
-0.008524373173713684,
-0.014028298668563366,
-0.02886204980313778,
-0.08675874769687653,
0.010816077701747417,
-0.0034831028897315264,
0.007157980464398861,
-0.05208593234419823,
0.025103271007537842,
0.04372456669807434,
-0.004823126830160618,
0.06900043785572052,
-0.03053048811852932,
-0.04268898442387581,
-0.011218803934752941,
0.06290201097726822,
-0.019963717088103294,
0.014402259141206741,
-0.03350299224257469,
-0.0433410182595253,
0.03958224132657051,
0.03668644651770592,
-0.03914115950465202,
-0.0007275441894307733,
-0.06435949355363846,
-0.045987505465745926,
-0.019503459334373474,
-0.0031187315471470356,
0.006640189327299595,
-0.08491771668195724,
-0.005460776854306459,
0.016828205436468124,
0.03237152099609375,
0.0065443022176623344,
-0.02629227377474308,
0.029264776036143303,
-0.017854198813438416,
0.054732419550418854,
0.020251378417015076,
-0.06792649626731873,
0.010202399455010891,
-0.011228391900658607,
-0.01954181306064129,
0.024374529719352722,
0.017576126381754875,
-0.014018709771335125,
-0.011765360832214355,
-0.04410811513662338,
-0.005278591066598892,
-0.02122942917048931,
0.00574364373460412,
0.09742140769958496,
0.04050275683403015,
-0.01411459781229496,
0.010547593235969543
] |
23,152 | flask.app | add_url_rule | null | from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, rule: 'str', endpoint: 'str | None' = None, view_func: 'ft.RouteCallable | None' = None, provide_automatic_options: 'bool | None' = None, **options: 't.Any') -> 'None' | [
0.04552925378084183,
-0.05285535752773285,
-0.05251014977693558,
-0.04491554945707321,
0.04115660488605499,
0.003972302656620741,
-0.003116471692919731,
0.03835657238960266,
-0.0450306162238121,
-0.061562299728393555,
-0.004039426799863577,
0.015265916474163532,
-0.004379841033369303,
0.015217971056699753,
0.025986578315496445,
0.03532640263438225,
0.0637102723121643,
0.027559198439121246,
0.05611566826701164,
-0.08553516119718552,
0.04142509773373604,
0.009895996190607548,
0.0015558385057374835,
-0.005542525090277195,
-0.04633473977446556,
0.0012196191819384694,
-0.030340049415826797,
-0.0012334035709500313,
0.0534307062625885,
-0.03281404823064804,
-0.01070148404687643,
-0.05212658271193504,
0.021690642461180687,
0.010500111617147923,
0.05523346737027168,
-0.024298889562487602,
-0.026235897094011307,
-0.009172015823423862,
0.0003014586982317269,
-0.05672937259078026,
-0.00858707819133997,
-0.0008977835532277822,
-0.03958398476243019,
-0.035748325288295746,
0.034751053899526596,
0.03534558415412903,
-0.038299039006233215,
0.04311278834939003,
0.006213765125721693,
0.017989233136177063,
0.0021335843484848738,
-0.022918052971363068,
0.048712849617004395,
0.04491554945707321,
0.02516191266477108,
0.051934801042079926,
-0.021153651177883148,
0.020233092829585075,
-0.00815077219158411,
-0.03693738207221031,
-0.010576825588941574,
0.07725013792514801,
-0.0018003616714850068,
0.021192006766796112,
0.038183968514204025,
-0.017241280525922775,
-0.05738143250346184,
0.010030243545770645,
0.0011992421932518482,
-0.027405772358179092,
-0.00020766488160006702,
-0.004957586992532015,
-0.02560301311314106,
0.0032627061009407043,
0.051704660058021545,
-0.06206093728542328,
0.0028647566214203835,
-0.08476802706718445,
0.025909865275025368,
-0.026734530925750732,
0.04798407480120659,
-0.04890463128685951,
-0.04518404230475426,
0.003701409325003624,
0.06792949140071869,
0.03488530218601227,
0.01960020884871483,
-0.0017500186804682016,
-0.04334292933344841,
0.03360036015510559,
-0.06482260674238205,
0.004154496360570192,
-0.014354947954416275,
0.03283322602510452,
0.00820351205766201,
-0.03743601590394974,
0.009143248200416565,
-0.010950801894068718,
-0.0005597662529908121,
-0.041079889982938766,
0.03638121113181114,
0.03854835778474808,
-0.010874088853597641,
0.030666081234812737,
0.011996018700301647,
0.012485064566135406,
-0.003046950325369835,
0.017586488276720047,
0.007503504864871502,
-0.026868779212236404,
-0.02803865447640419,
-0.019149519503116608,
-0.019983774051070213,
-0.03703327104449272,
-0.033849675208330154,
0.018689241260290146,
0.002586671384051442,
-0.027309879660606384,
0.0681212767958641,
-0.032085273414850235,
-0.006333629135042429,
-0.021096115931868553,
0.025756439194083214,
-0.04652652516961098,
0.03854835778474808,
0.0829269140958786,
-0.030435942113399506,
0.012053553014993668,
-0.005202110391110182,
0.007513093762099743,
-0.014805637300014496,
0.03826068341732025,
-0.03699491545557976,
0.07540902495384216,
0.015889210626482964,
0.027118097990751266,
-0.05588552728295326,
0.03615107014775276,
-0.03294829651713371,
0.08553516119718552,
-0.0255071222782135,
-0.013530281372368336,
-0.039507269859313965,
-0.019868705421686172,
0.0070336367934942245,
-0.0350579097867012,
-0.004247990436851978,
-0.020635835826396942,
-0.01750018633902073,
0.024855060502886772,
0.058033496141433716,
-0.00986722856760025,
-0.04667995125055313,
0.04131003096699715,
0.00242365594021976,
0.05853212997317314,
-0.03177842125296593,
-0.005134986247867346,
-0.005686362273991108,
-0.0658198818564415,
-0.04802243039011955,
-0.05297042801976204,
-0.012245336547493935,
-0.09412702918052673,
-0.0037757251411676407,
0.021652285009622574,
0.020156379789114,
0.028115369379520416,
0.01507413387298584,
0.07659807801246643,
-0.04499226063489914,
0.016023458912968636,
-0.003754149656742811,
-0.004653132054954767,
0.026907136663794518,
0.042268943041563034,
0.0006322841509245336,
-0.03356200084090233,
-0.013817955739796162,
-0.044071704149246216,
-0.01597551256418228,
-0.0769432857632637,
-0.05676772817969322,
0.007383640389889479,
0.03133732080459595,
0.03858671337366104,
-0.01906321756541729,
0.04069632291793823,
0.034425023943185806,
0.03383049741387367,
-0.0886036828160286,
0.03764697536826134,
0.07671314477920532,
0.016013870015740395,
-0.041962090879678726,
0.0015917978016659617,
-0.041386742144823074,
0.011631631292402744,
0.02681124582886696,
-0.0637102723121643,
-0.050707388669252396,
0.026293430477380753,
0.02638932317495346,
-0.045951176434755325,
0.003713395679369569,
0.007019252981990576,
0.01694401726126671,
0.0014647416537627578,
-0.014441249892115593,
-0.029208531603217125,
-0.050170399248600006,
0.009152837097644806,
0.028115369379520416,
-0.013654939830303192,
0.0025435201823711395,
-0.03720587491989136,
0.03294829651713371,
0.006089106202125549,
0.023339975625276566,
0.020118022337555885,
0.053852628916502,
0.057573217898607254,
0.0011956463567912579,
-0.012839863076806068,
-0.0061849975027143955,
-0.015716606751084328,
0.04698680341243744,
0.011679576709866524,
-0.006165819242596626,
-0.010049422271549702,
-0.024855060502886772,
-0.005317179951816797,
0.057573217898607254,
0.02838386408984661,
0.03908534720540047,
-0.030186623334884644,
0.0350579097867012,
0.02880578674376011,
-0.015045366249978542,
0.0022090990096330643,
0.03335104137659073,
0.018209783360362053,
0.01795087568461895,
-0.018861845135688782,
0.0024835881777107716,
0.026427678763866425,
-0.0013676516246050596,
-0.007258981466293335,
-0.005782253574579954,
-0.020808441564440727,
-0.0024488274939358234,
-0.026887958869338036,
-0.017461830750107765,
-0.029438670724630356,
-0.04940326511859894,
-0.018928969278931618,
-0.008563105016946793,
-0.026235897094011307,
-0.00734048942103982,
0.034635987132787704,
-0.0042168255895376205,
0.00589732313528657,
-0.03954562917351723,
0.057151295244693756,
0.0012789519969373941,
-0.020770084112882614,
0.011401491239666939,
-0.0332743264734745,
-0.021767355501651764,
-0.016886482015252113,
0.05212658271193504,
0.051819730550050735,
-0.008658996783196926,
0.02238105982542038,
-0.06232943385839462,
-0.02961127460002899,
-0.012389173731207848,
0.020424876362085342,
-0.044493626803159714,
-0.03037840686738491,
0.017768682911992073,
-0.02406875044107437,
0.028403041884303093,
0.04069632291793823,
-0.042192231863737106,
-0.004490116611123085,
-0.03480859100818634,
0.05308549851179123,
-0.004164085723459721,
-0.014939885586500168,
0.019264589995145798,
0.024241354316473007,
0.051014244556427,
-0.02381943166255951,
0.007791179232299328,
0.04257579520344734,
-0.10755183547735214,
-0.017893342301249504,
0.04529911279678345,
-0.04391827806830406,
0.030301693826913834,
0.0012885411269962788,
0.02638932317495346,
0.016589218750596046,
0.005811020731925964,
0.025737261399626732,
0.03292911872267723,
0.002073652343824506,
-0.014153575524687767,
0.0046387482434511185,
0.023244082927703857,
-0.022994766011834145,
0.0022534485906362534,
-0.014968653209507465,
0.0005199113511480391,
0.03005237504839897,
-0.018660472705960274,
-0.0649760365486145,
0.01275356113910675,
0.06436233222484589,
-0.05596224218606949,
0.04598953202366829,
0.030838685110211372,
0.004228812176734209,
0.029956484213471413,
0.0011393100721761584,
0.059452690184116364,
-0.008093236945569515,
0.0015678249765187502,
0.011497383005917072,
-0.049479980021715164,
0.0458744615316391,
-0.018564581871032715,
0.0016553258756175637,
-0.036649707704782486,
0.02138379029929638,
-0.04154016822576523,
-0.03538393974304199,
-0.051819730550050735,
-0.0786309763789177,
0.0518580861389637,
0.009181604720652103,
-0.0009978702291846275,
0.016464559361338615,
-0.01796046644449234,
-0.03244966268539429,
0.033696249127388,
0.029764700680971146,
0.041731953620910645,
-0.05285535752773285,
0.051704660058021545,
-0.03500037267804146,
0.01517961360514164,
0.056154023855924606,
0.01919746585190296,
-0.07571587711572647,
0.0012813493376597762,
-0.06052667275071144,
0.0017907725414261222,
-0.0070336367934942245,
0.01651250571012497,
0.025909865275025368,
-0.04568267986178398,
0.018650883808732033,
0.023781076073646545,
-0.041616883128881454,
0.026926314458251,
-0.03722505643963814,
0.02349340170621872,
0.017452241852879524,
0.038625068962574005,
-0.0314907468855381,
0.01319466158747673,
-0.0025794794782996178,
-0.03645792230963707,
-0.03262226656079292,
0.013654939830303192,
-0.03735930100083351,
-0.08622557669878006,
0.09865310788154602,
0.029400313273072243,
0.05837870389223099,
-0.002637014491483569,
0.008491186425089836,
0.00443258136510849,
-0.09190235286951065,
-0.007426791358739138,
-0.014191932044923306,
0.00653500109910965,
0.004859298467636108,
-0.00013567139103543013,
-0.037397660315036774,
0.013300142250955105,
0.052701931446790695,
0.037397660315036774,
-0.049364909529685974,
-0.014891940169036388,
0.04714022949337959,
0.011765878647565842,
0.02660028450191021,
0.08599543571472168,
0.017644023522734642,
0.05876227095723152,
0.014115219004452229,
0.05596224218606949,
-0.012494653463363647,
0.06601165980100632,
0.013606994412839413,
0.019772814586758614,
0.07740356773138046,
-0.010365864261984825,
-0.021230364218354225,
-0.07184186577796936,
-0.0450306162238121,
-0.030455119907855988,
-0.03858671337366104,
0.00065445905784145,
0.04625802859663963,
0.03193184733390808,
0.01983034797012806,
0.04054289683699608,
0.005801431834697723,
0.040389470756053925,
0.03755108639597893,
0.018104303628206253,
0.03047429770231247,
-0.015764551237225533,
0.0319126695394516,
-0.029131818562746048,
-0.005298001691699028,
0.007388434838503599,
-0.00711993919685483,
-0.03875931724905968,
-0.039737410843372345,
0.0031524309888482094,
0.012609723955392838,
-0.018200194463133812,
0.01683853566646576,
0.016982372850179672,
0.04840599745512009,
-0.020655015483498573,
-0.017644023522734642,
0.011219297535717487,
0.01861252821981907,
0.04119496047496796,
-0.005854172166436911,
-0.07126651704311371,
0.027904408052563667,
0.10954637080430984,
-0.00969941820949316,
-0.018104303628206253,
-0.03822232410311699,
0.009589143097400665,
-0.006813086569309235,
-0.05162794888019562,
-0.023781076073646545,
-0.0033418163657188416,
0.034520916640758514,
-0.05864720046520233,
0.009311058558523655,
0.02880578674376011,
-0.01707826368510723,
0.0392579548060894,
-0.02539205178618431,
0.02706056274473667,
0.032200343906879425,
0.027559198439121246,
0.032200343906879425,
-0.058263637125492096,
-0.013338498771190643,
0.005834993906319141,
0.007877481169998646,
-0.004854504019021988,
0.007302132900804281,
0.034079816192388535,
0.028460577130317688,
0.02539205178618431,
-0.031759243458509445,
-0.042844291776418686,
0.013079592026770115,
0.02504684217274189,
-0.03300582990050316,
-0.005523346830159426,
0.06681714951992035,
-0.06486096233129501,
-0.049173127859830856,
0.05120602622628212,
0.01885225623846054,
0.024030392989516258,
0.010241204872727394,
-0.026350965723395348,
0.031183894723653793,
-0.0017332376446574926,
0.022783804684877396,
0.04679501801729202,
0.027885228395462036,
0.016905659809708595,
0.02416464127600193,
0.01641661301255226,
-0.03281404823064804,
-0.007282954640686512,
-0.011909715831279755,
0.01008777879178524,
0.0430360771715641,
0.008668585680425167,
-0.016876893118023872,
-0.04641145467758179,
-0.03893192112445831,
-0.02027144841849804,
-0.015591947361826897,
0.016713876277208328,
0.020118022337555885,
0.038970280438661575,
-0.02836468629539013,
-0.01617688499391079,
0.003174006473273039,
-0.001645736745558679,
-0.027405772358179092,
0.01052887924015522,
-0.01794128678739071,
0.02004130929708481,
0.014153575524687767,
0.05623073875904083,
-0.056154023855924606,
0.01030832901597023,
-0.015505644492805004,
0.08131593465805054,
0.03026333637535572,
0.04299771785736084,
0.08845026046037674,
0.00379490340128541,
0.06731578707695007,
0.04541418328881264,
-0.010059011168777943,
0.0383182168006897,
0.03858671337366104,
-0.04955669492483139,
-0.05864720046520233,
-0.0046483371406793594,
-0.04817585647106171,
0.03647710010409355,
0.04667995125055313,
-0.0518580861389637,
0.010931623168289661,
-0.05362249165773392,
-0.051129311323165894,
0.012264514341950417,
-0.01530427299439907,
-0.006122668273746967,
-0.07544738054275513,
-0.07329941540956497,
0.019887883216142654,
0.051704660058021545,
0.016665931791067123,
-0.09880653023719788,
-0.0359017513692379,
0.06796784698963165,
0.022304346784949303,
0.006477466318756342,
0.03104964643716812,
-0.030531832948327065,
0.010845321230590343,
-0.06470753997564316,
-0.06044996157288551,
0.00013634563947562128,
0.03223869949579239,
0.016119349747896194,
0.013396033085882664,
-0.010941212996840477,
-0.03847164288163185,
-0.014479606412351131,
-0.02936195768415928,
0.05538689345121384,
0.009008999913930893,
-0.04664159193634987,
0.025526300072669983,
0.004240798763930798,
0.009042561985552311,
0.053929343819618225,
-0.023205727338790894,
0.048827920109033585,
-0.008400090038776398,
-0.04223058745265007,
-0.07540902495384216,
-0.04637309908866882,
-0.00753706693649292,
0.08591872453689575,
0.05753486230969429,
-0.026312610134482384,
-0.03757026419043541,
-0.09182563424110413,
0.013156305067241192,
-0.0197344571352005,
-0.044263485819101334,
0.0011063474230468273,
0.01983034797012806,
-0.013443979434669018,
0.04280593618750572,
-0.002473999047651887,
0.03645792230963707,
-0.03764697536826134,
0.03080032952129841,
0.04598953202366829,
-0.02170982025563717,
0.032315414398908615,
-0.0060411603190004826,
-0.028287973254919052,
0.00194539746735245,
-0.029783880338072777,
-0.0035887369886040688,
-0.022994766011834145,
-0.03047429770231247,
0.030781149864196777,
0.041079889982938766,
-0.0388360321521759,
-0.024739990010857582,
-0.06501439213752747,
0.03981412202119827,
0.04825257137417793,
-0.03682231158018112,
-0.0071774739772081375,
-0.026216717436909676,
-0.015112490393221378,
-0.0038596303202211857,
-0.01994541846215725,
0.015428931452333927,
0.014268645085394382,
-0.007585012353956699,
-0.0554252490401268,
-0.014230288565158844,
0.022745449095964432,
-0.02082761935889721,
0.010998747311532497,
-0.012111088261008263,
0.059912968426942825,
-0.004437376279383898,
0.027904408052563667,
-0.008318581618368626,
-0.020674193277955055,
0.0354798324406147,
0.028211260214447975,
-0.048712849617004395,
-0.018574170768260956,
-0.01596592366695404,
0.006741167977452278,
0.00008652703400002792,
0.0188426673412323,
-0.07395147532224655,
0.07364462316036224,
-0.02073172852396965,
-0.0009673048625700176,
0.08354061841964722,
-0.021671464666724205,
0.01564948260784149,
-0.0494416244328022,
0.0073644621297717094,
-0.025334516540169716,
-0.013520692475140095,
-0.0027664678636938334,
0.006563768722116947,
0.011909715831279755,
-0.0012268110876902938,
0.026235897094011307,
-0.05423619598150253,
-0.021767355501651764,
-0.02217010036110878,
0.06386369466781616,
-0.036400388926267624,
0.06885004788637161,
0.02539205178618431,
0.05220329761505127,
-0.04556760936975479,
0.009306264109909534,
-0.007997345179319382,
-0.02805783413350582,
-0.008567899465560913,
-0.03290994092822075,
0.025027664378285408,
0.021690642461180687,
-0.027866050601005554,
-0.05960611626505852,
0.019590619951486588,
-0.04932655394077301,
0.04046618565917015,
0.0073309000581502914,
-0.03377296403050423,
0.039468914270401,
-0.02184406854212284,
0.0009691027808003128,
-0.05089917406439781,
0.0307044368237257,
-0.018593348562717438,
0.00029336786246858537,
0.042384013533592224,
-0.08967766910791397,
-0.04311278834939003,
-0.0398908369243145,
-0.07456517964601517,
-0.007182268425822258,
-0.006813086569309235,
0.05926090478897095,
-0.0011728721437975764,
0.067392498254776,
-0.01534262951463461,
-0.007656930945813656,
0.02138379029929638,
-0.02038651891052723,
-0.040312759578228,
-0.01629195548593998,
0.008237074129283428,
0.03200856223702431,
0.0013017262099310756,
0.09995722770690918,
-0.008577488362789154,
-0.01402891706675291,
-0.028863321989774704,
-0.08668585866689682,
0.010864499025046825,
-0.003478461876511574,
0.007081582210958004,
-0.05208822712302208,
0.025085199624300003,
0.04364978149533272,
-0.004856901243329048,
0.06904183328151703,
-0.030551010742783546,
-0.042729221284389496,
-0.011248065158724785,
0.06286642700433731,
-0.01994541846215725,
0.014393304474651814,
-0.033523645251989365,
-0.04334292933344841,
0.03954562917351723,
0.036726418882608414,
-0.03912370651960373,
-0.0007371653919108212,
-0.06436233222484589,
-0.04598953202366829,
-0.019465960562229156,
-0.0031380471773445606,
0.006669249385595322,
-0.0849214568734169,
-0.005451428238302469,
0.01683853566646576,
0.03237294778227806,
0.006558974273502827,
-0.026293430477380753,
0.029208531603217125,
-0.017864573746919632,
0.05477318540215492,
0.02027144841849804,
-0.06792949140071869,
0.010202848352491856,
-0.011257654055953026,
-0.01960020884871483,
0.024356424808502197,
0.017586488276720047,
-0.014019327238202095,
-0.011775468476116657,
-0.04411005973815918,
-0.0053027961403131485,
-0.021230364218354225,
0.005758280400186777,
0.09742569923400879,
0.040504541248083115,
-0.014143986627459526,
0.01052887924015522
] |
23,153 | flask.scaffold | after_request | Register a function to run after each request to this object.
The function is called with the response object, and must return
a response object. This allows the functions to modify or
replace the response before it is sent.
If a function raises an exception, any remaining
``after_request`` functions will not be called. Therefore, this
should not be used for actions that must execute, such as to
close resources. Use :meth:`teardown_request` for that.
This is available on both app and blueprint objects. When used on an app, this
executes after every request. When used on a blueprint, this executes after
every request that the blueprint handles. To register with a blueprint and
execute after every request, use :meth:`.Blueprint.after_app_request`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_after_request) -> ~T_after_request | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,154 | flask.app | app_context | Create an :class:`~flask.ctx.AppContext`. Use as a ``with``
block to push the context, which will make :data:`current_app`
point at this application.
An application context is automatically pushed by
:meth:`RequestContext.push() <flask.ctx.RequestContext.push>`
when handling a request, and when running a CLI command. Use
this to manually create a context outside of these situations.
::
with app.app_context():
init_db()
See :doc:`/appcontext`.
.. versionadded:: 0.9
| def app_context(self) -> AppContext:
"""Create an :class:`~flask.ctx.AppContext`. Use as a ``with``
block to push the context, which will make :data:`current_app`
point at this application.
An application context is automatically pushed by
:meth:`RequestContext.push() <flask.ctx.RequestContext.push>`
when handling a request, and when running a CLI command. Use
this to manually create a context outside of these situations.
::
with app.app_context():
init_db()
See :doc:`/appcontext`.
.. versionadded:: 0.9
"""
return AppContext(self)
| (self) -> flask.ctx.AppContext | [
0.032043661922216415,
-0.03403611108660698,
0.013380467891693115,
-0.04376071318984032,
0.063941091299057,
-0.03915432095527649,
0.04028763994574547,
0.01350842323154211,
0.056263770908117294,
-0.022044869139790535,
-0.052351996302604675,
-0.05973684415221214,
-0.021112624555826187,
0.040141403675079346,
0.04763592779636383,
0.0003341689589433372,
0.0019695975352078676,
-0.02195347286760807,
0.0499756820499897,
-0.02650502510368824,
0.06723137199878693,
0.016405697911977768,
-0.011972960084676743,
-0.014148199930787086,
0.009925675578415394,
0.010053630918264389,
-0.042737070471048355,
-0.009971373714506626,
0.06620772927999496,
-0.0036604355555027723,
0.04547896981239319,
-0.03622962906956673,
0.060723926872015,
-0.03904464468359947,
0.005716859828680754,
-0.042992979288101196,
-0.013206814415752888,
-0.018654054030776024,
0.018571797758340836,
-0.06595181673765182,
0.02246529422700405,
-0.008792356587946415,
-0.04142095893621445,
0.03692424297332764,
0.02460397593677044,
0.022867439314723015,
-0.003927770536392927,
-0.008426770567893982,
0.05385090038180351,
0.007723016198724508,
0.00838107243180275,
-0.055751949548721313,
0.008221128024160862,
0.04398006200790405,
-0.016030970960855484,
0.018754590302705765,
-0.03454792872071266,
-0.018654054030776024,
0.0019376088166609406,
-0.012548758648335934,
0.011461138725280762,
0.025846969336271286,
0.03270171955227852,
-0.014029384590685368,
0.042737070471048355,
0.058055147528648376,
-0.06792598217725754,
0.038679059594869614,
-0.01696321740746498,
0.013161116279661655,
-0.003994033206254244,
-0.012685853987932205,
0.007128938101232052,
0.022355617955327034,
0.0012487065978348255,
-0.04262739419937134,
-0.02480504848062992,
-0.020381450653076172,
0.00422937935218215,
-0.004444161895662546,
0.006429753731936216,
-0.016177205368876457,
-0.02295883558690548,
0.07377536594867706,
0.04215213283896446,
0.027181360870599747,
-0.04156719148159027,
0.008079462684690952,
-0.052607905119657516,
0.026980288326740265,
-0.006758781615644693,
0.047416578978300095,
0.001032782020047307,
0.021423373371362686,
0.01359982043504715,
-0.0772118791937828,
-0.007668178062886,
0.03524254634976387,
0.0052187480032444,
0.023507216945290565,
-0.02822328358888626,
0.08503543585538864,
0.01619548536837101,
-0.032354410737752914,
-0.014632602222263813,
-0.003505061147734523,
-0.010272982530295849,
-0.019028780981898308,
0.04445532709360123,
-0.026907172054052353,
-0.03878873586654663,
-0.003516485681757331,
-0.015464311465620995,
-0.024512579664587975,
-0.05472831055521965,
0.0011218937579542398,
0.004528703633695841,
0.01381917204707861,
0.04445532709360123,
-0.003477642312645912,
-0.042992979288101196,
-0.015948714688420296,
0.061089515686035156,
-0.04708755016326904,
0.02434806525707245,
0.03378019854426384,
0.009450412355363369,
-0.11252754181623459,
0.006155563984066248,
-0.058164823800325394,
0.06434323638677597,
0.014093361794948578,
0.011790166608989239,
-0.04434565082192421,
0.030270567163825035,
-0.021039506420493126,
0.038934968411922455,
0.03973925858736038,
-0.0064434632658958435,
0.07425063103437424,
-0.02707168459892273,
0.044491883367300034,
-0.029777025803923607,
0.03392643481492996,
0.012576177716255188,
-0.00030218015308491886,
-0.0351145900785923,
0.0196137186139822,
0.05900567024946213,
0.026907172054052353,
0.049317628145217896,
0.014943351037800312,
0.0657690241932869,
0.057982027530670166,
-0.016844401136040688,
0.03403611108660698,
-0.006758781615644693,
-0.04010484740138054,
0.07187432050704956,
-0.06211315840482712,
0.02246529422700405,
0.017237406224012375,
-0.02195347286760807,
-0.014906791970133781,
0.00027847415185533464,
0.016460534185171127,
-0.06141854450106621,
-0.0013835167046636343,
-0.0007614482892677188,
-0.027035126462578773,
-0.021112624555826187,
-0.04167686775326729,
0.02352549508213997,
-0.0069872732274234295,
-0.017877183854579926,
0.0512552373111248,
-0.03145872429013252,
-0.006315507926046848,
0.025591058656573296,
0.014312714338302612,
-0.0012098629958927631,
0.004288787487894297,
-0.03613823279738426,
0.009569228626787663,
0.013965406455099583,
-0.011918121948838234,
0.00432534608989954,
0.10653192549943924,
0.07611512392759323,
0.0008854049374349415,
-0.0461735837161541,
-0.02632223255932331,
0.01758471317589283,
-0.009285898879170418,
-0.0499756820499897,
0.049061715602874756,
-0.07099691033363342,
-0.024878166615962982,
0.006205832120031118,
-0.0009756591753102839,
-0.03270171955227852,
0.0031234801281243563,
0.01796858012676239,
-0.04650261253118515,
0.011351462453603745,
0.00921735167503357,
-0.030599595978856087,
0.020783595740795135,
-0.08042904734611511,
-0.021679284051060677,
0.006023038644343615,
-0.03727155178785324,
0.032555483281612396,
0.027784578502178192,
-0.0005183903267607093,
0.039702702313661575,
0.023562053218483925,
-0.0291006900370121,
0.00289498851634562,
0.06083360314369202,
0.0499756820499897,
0.0063292174600064754,
-0.030837226659059525,
0.022757763043045998,
-0.00015665956016164273,
0.014870233833789825,
0.0284609142690897,
-0.026669539511203766,
-0.018772870302200317,
0.02208142913877964,
-0.023635171353816986,
0.020984668284654617,
0.006681094411760569,
-0.05549604073166847,
-0.0137643339112401,
-0.04635637626051903,
0.02986842207610607,
0.05282725766301155,
-0.05509389564394951,
-0.05472831055521965,
0.05282725766301155,
0.06013898923993111,
0.012585317716002464,
-0.012539619579911232,
0.006543999537825584,
0.005067943595349789,
0.005931641906499863,
-0.0005432387697510421,
0.03864249959588051,
0.013517563231289387,
-0.02252013236284256,
-0.009377295151352882,
-0.003338262438774109,
-0.006905016023665667,
-0.06397765129804611,
-0.002168385311961174,
-0.04445532709360123,
0.029557673260569572,
-0.03981237858533859,
0.033176980912685394,
0.07596889138221741,
0.028168445453047752,
-0.011049853637814522,
0.08562037348747253,
-0.024055596441030502,
0.00781441293656826,
0.008006345480680466,
-0.06123574823141098,
-0.017822345718741417,
0.020344892516732216,
0.11552535742521286,
0.05176705867052078,
0.03396299108862877,
-0.003991748206317425,
-0.026011483743786812,
-0.03043508157134056,
-0.04142095893621445,
0.05246167257428169,
-0.08825259655714035,
-0.007275172509253025,
0.01680784299969673,
-0.012896066531538963,
0.03783820942044258,
0.010400937870144844,
-0.002166100312024355,
-0.03155012056231499,
-0.023123349994421005,
0.01941264607012272,
0.025444824248552322,
-0.04043387249112129,
0.013005741871893406,
0.01717342808842659,
0.015190121717751026,
0.0025728153996169567,
0.015665384009480476,
0.012649294920265675,
-0.03820379450917244,
0.025188913568854332,
-0.004217954818159342,
0.018014278262853622,
0.0626249760389328,
0.011717049404978752,
-0.002182094845920801,
0.08072151243686676,
0.04218868911266327,
0.044894028455019,
0.019083619117736816,
0.0011481703259050846,
0.004528703633695841,
0.0007814412820152938,
0.010739105753600597,
0.016277741640806198,
0.011845004744827747,
-0.007928658276796341,
-0.03721671178936958,
0.014193898066878319,
-0.009761161170899868,
-0.08437737822532654,
-0.035023193806409836,
-0.005895083304494619,
-0.030855506658554077,
0.002005013870075345,
0.05319284647703171,
-0.030965182930231094,
-0.030727550387382507,
0.06375829875469208,
0.07297107577323914,
-0.007672748062759638,
0.0294114388525486,
0.028168445453047752,
-0.028936177492141724,
0.051840174943208694,
-0.002540826564654708,
0.0012292847968637943,
-0.04416285827755928,
0.008449619635939598,
-0.0054655191488564014,
-0.010501474142074585,
-0.022245941683650017,
-0.07757747173309326,
0.02246529422700405,
-0.014203038066625595,
-0.018114814534783363,
0.0034525080118328333,
-0.006119004916399717,
-0.03622962906956673,
-0.015857316553592682,
-0.012941764667630196,
-0.015263238921761513,
-0.023964200168848038,
-0.008636982180178165,
-0.0291006900370121,
-0.021094344556331635,
-0.021350255236029625,
-0.02259325049817562,
-0.04939074441790581,
-0.02246529422700405,
0.0325920432806015,
0.04624669998884201,
-0.0033291226718574762,
0.0007934370660223067,
0.04942730441689491,
-0.013435306027531624,
0.0033908153418451548,
-0.043431684374809265,
0.016268601641058922,
-0.033999551087617874,
0.017602993175387383,
-0.055569157004356384,
0.019759953022003174,
0.043614476919174194,
-0.04131128266453743,
0.053558431565761566,
0.05900567024946213,
0.016405697911977768,
-0.03663177415728569,
-0.0569583885371685,
-0.023616891354322433,
-0.05853040888905525,
0.08649778366088867,
-0.038679059594869614,
0.029941540211439133,
0.04262739419937134,
-0.005351273342967033,
-0.0012064356124028563,
-0.04504026472568512,
-0.03460276871919632,
-0.03981237858533859,
-0.004133413080126047,
0.0211857408285141,
-0.06660987436771393,
-0.011113831773400307,
-0.028515752404928207,
0.030965182930231094,
0.02866198681294918,
-0.010464915074408054,
-0.025920087471604347,
0.013334769755601883,
0.06434323638677597,
0.009532669559121132,
0.05787235498428345,
-0.006489161401987076,
0.10243735462427139,
-0.04990256577730179,
0.03348772972822189,
0.02385452389717102,
-0.015455172397196293,
-0.009157943539321423,
0.004131128080189228,
0.016487954184412956,
-0.06017554923892021,
-0.014769697561860085,
-0.017511596903204918,
-0.010821362026035786,
-0.0025910947006195784,
-0.06295400857925415,
0.04887892305850983,
0.04635637626051903,
0.05407025292515755,
0.012996602803468704,
0.035078030079603195,
0.011972960084676743,
0.057726118713617325,
0.028515752404928207,
-0.034767281264066696,
0.00958750769495964,
-0.0088563347235322,
0.0009356731316074729,
-0.02542654611170292,
-0.008056613616645336,
-0.01084878109395504,
-0.008202848955988884,
0.04036075621843338,
0.00432534608989954,
-0.01730138435959816,
-0.0341823436319828,
0.009080256335437298,
-0.026998568326234818,
-0.04800151661038399,
0.06269809603691101,
-0.019887909293174744,
-0.04445532709360123,
0.08583972603082657,
0.03215333819389343,
-0.013709495775401592,
-0.04705099016427994,
-0.06785286962985992,
0.019979305565357208,
0.03769197314977646,
0.012649294920265675,
0.07450654357671738,
-0.02220938354730606,
-0.010711686685681343,
0.03555329516530037,
-0.021478211507201195,
0.008015485480427742,
-0.08123333752155304,
0.0049308487214148045,
-0.048111192882061005,
0.08949559181928635,
-0.020911552011966705,
0.007489954587072134,
0.00028547170222736895,
-0.04694131389260292,
-0.02372656762599945,
0.0028081617783755064,
0.01796858012676239,
-0.000992796034552157,
-0.05388746038079262,
-0.017347082495689392,
-0.015263238921761513,
0.024402903392910957,
0.02732759527862072,
-0.01515356358140707,
0.01616806536912918,
0.02922864630818367,
0.021990031003952026,
-0.081013984978199,
-0.0019204718992114067,
-0.04123816639184952,
0.01619548536837101,
0.02069219946861267,
-0.035717807710170746,
0.05231543630361557,
-0.058055147528648376,
-0.05699494481086731,
0.017127729952335358,
-0.04372415319085121,
0.018772870302200317,
-0.031787753105163574,
-0.033304937183856964,
0.06273465603590012,
0.003178318263962865,
-0.0367048904299736,
-0.038496267050504684,
0.04244460165500641,
0.03392643481492996,
-0.001805083709768951,
-0.009514390490949154,
-0.0010373519035056233,
0.0020849858410656452,
-0.007425976917147636,
-0.03156840056180954,
0.01727396436035633,
-0.004197390750050545,
-0.02575557306408882,
-0.09476003795862198,
-0.05688526853919029,
-0.0208749920129776,
-0.011799306608736515,
-0.03348772972822189,
-0.025609338656067848,
0.012868647463619709,
-0.04419941455125809,
0.005214178469032049,
-0.01666160859167576,
-0.07231302559375763,
-0.027857696637511253,
0.02447601966559887,
-0.006278949324041605,
-0.0379478856921196,
-0.011488557793200016,
0.06233251094818115,
0.007457965984940529,
0.0016131506999954581,
-0.029338322579860687,
0.10594698786735535,
0.022483574226498604,
0.02904585190117359,
0.033176980912685394,
-0.009815999306738377,
0.011132110841572285,
0.036668334156274796,
0.009157943539321423,
0.007361999247223139,
-0.010346099734306335,
-0.025262031704187393,
-0.07611512392759323,
0.010291261598467827,
-0.05670247599482536,
0.031093137338757515,
0.0033519717399030924,
0.040214523673057556,
0.00974288210272789,
-0.02858886867761612,
-0.043943505734205246,
-0.04357791692018509,
0.001041350536979735,
-0.03553501516580582,
-0.04105537012219429,
-0.021862076595425606,
-0.013334769755601883,
-0.010428356938064098,
0.04518650099635124,
-0.05560571700334549,
-0.0354253388941288,
0.050377827137708664,
0.07991722226142883,
-0.006681094411760569,
-0.015226680785417557,
-0.016469674184918404,
0.03791132569313049,
-0.05176705867052078,
-0.029703907668590546,
0.03675973042845726,
0.02645018883049488,
-0.049317628145217896,
0.007357429713010788,
-0.040397316217422485,
-0.014687440358102322,
0.01622290350496769,
-0.04398006200790405,
0.07940540462732315,
0.0017856619087979198,
-0.059115346521139145,
0.02264808863401413,
-0.025901807472109795,
0.0848160833120346,
0.05586162582039833,
-0.03504147380590439,
-0.029429718852043152,
-0.00620126212015748,
-0.04277362674474716,
0.009934814646840096,
-0.044820912182331085,
-0.04036075621843338,
0.024750210344791412,
0.0847429633140564,
0.02847919426858425,
0.005351273342967033,
-0.01163479220122099,
-0.01848040148615837,
0.0467950813472271,
-0.035772643983364105,
0.0455520860850811,
-0.03345116972923279,
-0.05030471086502075,
-0.004752625245600939,
0.021990031003952026,
-0.005291865672916174,
-0.03431029990315437,
0.08744830638170242,
-0.024220110848546028,
-0.05779923498630524,
-0.0024448600597679615,
-0.022483574226498604,
-0.026742657646536827,
0.02177068032324314,
-0.08832571655511856,
0.030215729027986526,
-0.023945920169353485,
-0.004674938041716814,
0.0026642121374607086,
0.008349083364009857,
0.006941575091332197,
-0.009395575150847435,
-0.061528220772743225,
0.01904706098139286,
0.01518098171800375,
-0.07194743305444717,
-0.016104089096188545,
-0.0011710195103660226,
-0.004688647575676441,
0.01776750758290291,
0.019504042342305183,
-0.008682681247591972,
0.04471123591065407,
-0.030965182930231094,
-0.08437737822532654,
-0.018526099622249603,
0.023671729490160942,
-0.0208749920129776,
-0.02871682494878769,
-0.013270792551338673,
0.09497939050197601,
0.009253909811377525,
0.0268888920545578,
-0.015674524009227753,
0.007032971363514662,
0.03714359551668167,
-0.00281501654535532,
-0.05480142682790756,
-0.02683405391871929,
-0.023744847625494003,
0.050706855952739716,
-0.023068511858582497,
-0.003779251128435135,
-0.02308679185807705,
0.02997809834778309,
-0.039446789771318436,
0.007005552761256695,
-0.023434098809957504,
-0.008874613791704178,
0.015299797989428043,
-0.05849384889006615,
-0.01052889320999384,
-0.007691027596592903,
-0.006603407207876444,
-0.013992825523018837,
0.02175240032374859,
-0.01935780793428421,
0.006224111188203096,
-0.0038889271672815084,
-0.024201830849051476,
0.013014881871640682,
0.04142095893621445,
0.041969336569309235,
-0.0042659384198486805,
0.07648070901632309,
0.05655624344944954,
0.06635396182537079,
0.060723926872015,
-0.03588232025504112,
0.03941023349761963,
0.029886702075600624,
-0.009253909811377525,
-0.04606390744447708,
0.02632223255932331,
0.03478556126356125,
-0.01721912808716297,
-0.042298365384340286,
0.015226680785417557,
0.04295642301440239,
0.012457362376153469,
-0.022063149139285088,
-0.023891082033514977,
0.05293693393468857,
0.005488368216902018,
-0.005927072372287512,
-0.04661228880286217,
-0.043175771832466125,
0.023452378809452057,
0.02442118339240551,
0.02961251139640808,
-0.05472831055521965,
-0.019376087933778763,
-0.05959061160683632,
-0.06284432858228683,
-0.009879976511001587,
0.008586714044213295,
0.009441273286938667,
0.0505971796810627,
0.06602493673563004,
-0.015363775193691254,
-0.00897058006376028,
-0.006553139071911573,
0.031093137338757515,
-0.02257497049868107,
-0.05710462108254433,
0.01030954159796238,
0.006681094411760569,
0.01287778653204441,
0.015089585445821285,
0.01884598657488823,
0.00021149753592908382,
-0.005209608469158411,
-0.011799306608736515,
-0.003363396506756544,
-0.031714633107185364,
-0.04372415319085121,
-0.020015863701701164,
0.004517279099673033,
-0.011397161521017551,
-0.06291744858026505,
0.050195034593343735,
-0.03270171955227852,
-0.01126006618142128,
-0.04917139187455177,
0.006827329285442829,
-0.010227284394204617,
-0.00041614033398218453,
-0.07359257340431213,
0.00974288210272789,
0.08152580261230469,
0.057031504809856415,
-0.008061183616518974,
0.02074703760445118,
-0.02504267916083336,
-0.02789425477385521,
-0.04580799490213394,
0.020143819972872734,
0.023836243897676468,
-0.03948334977030754,
0.027163082733750343,
-0.02188035659492016,
-0.008390211500227451,
0.02498784102499485,
-0.0638679713010788,
-0.026596423238515854,
0.03156840056180954,
0.023817963898181915,
0.04789184033870697,
-0.004512709099799395,
0.012411664240062237,
-0.009971373714506626,
0.03237269073724747,
0.014495506882667542,
-0.03827691450715065,
0.014367552474141121,
-0.0018073685932904482,
0.001965027768164873,
-0.028131885454058647,
0.04408973827958107,
-0.015546568669378757,
0.0651475265622139,
-0.02807704731822014,
0.026102880015969276,
0.08547414094209671
] |
23,155 | flask.app | async_to_sync | Return a sync function that will run the coroutine function.
.. code-block:: python
result = app.async_to_sync(func)(*args, **kwargs)
Override this method to change how the app converts async code
to be synchronously callable.
.. versionadded:: 2.0
| def async_to_sync(
self, func: t.Callable[..., t.Coroutine]
) -> t.Callable[..., t.Any]:
"""Return a sync function that will run the coroutine function.
.. code-block:: python
result = app.async_to_sync(func)(*args, **kwargs)
Override this method to change how the app converts async code
to be synchronously callable.
.. versionadded:: 2.0
"""
try:
from asgiref.sync import async_to_sync as asgiref_async_to_sync
except ImportError:
raise RuntimeError(
"Install Flask with the 'async' extra in order to use async views."
) from None
return asgiref_async_to_sync(func)
| (self, func: Callable[..., Coroutine]) -> Callable[..., Any] | [
0.015033327974379063,
-0.04663032293319702,
-0.04194928705692291,
0.026951966807246208,
0.02961655519902706,
0.01676171086728573,
-0.02931048907339573,
0.020920630544424057,
0.02925647608935833,
-0.06751494854688644,
0.009470095857977867,
-0.04144517332315445,
-0.04252541437745094,
-0.009290056303143501,
0.028806377202272415,
0.022342946380376816,
0.013620015233755112,
-0.03555786982178688,
0.010181253775954247,
-0.03265922889113426,
0.03501775115728378,
0.04738648980855942,
-0.018832169473171234,
-0.013295942917466164,
0.0020119454711675644,
0.0446498841047287,
0.011198478750884533,
-0.02090262621641159,
0.018238037824630737,
0.01449320837855339,
0.09952603280544281,
-0.022649014368653297,
0.047818586230278015,
-0.02054254710674286,
0.0378083698451519,
0.008133300580084324,
0.030714798718690872,
0.045514073222875595,
-0.05152740702033043,
-0.1202666237950325,
-0.002426037099212408,
-0.036007970571517944,
-0.015168357640504837,
0.008439368568360806,
0.05970121547579765,
0.009254048578441143,
-0.02599775418639183,
0.024125339463353157,
0.034009527415037155,
0.007710206788033247,
0.047926608473062515,
-0.004852074198424816,
0.016590671613812447,
0.04738648980855942,
-0.01651865616440773,
0.07871342450380325,
-0.034009527415037155,
0.015096341259777546,
0.02452142722904682,
0.009159527719020844,
0.014439196325838566,
-0.0036413059569895267,
0.013214925304055214,
-0.009452092461287975,
0.01810300722718239,
0.03213711455464363,
-0.04843072220683098,
-0.0034860216546803713,
-0.0009947201469913125,
-0.014430194161832333,
-0.06542648375034332,
0.023927297443151474,
0.021352726966142654,
-0.024485420435667038,
0.03849251940846443,
-0.018003985285758972,
-0.015564445406198502,
0.026177795603871346,
-0.015852509066462517,
0.009407082572579384,
0.0322631411254406,
-0.022973084822297096,
0.03030070662498474,
-0.02437739633023739,
-0.0314529612660408,
-0.05804484710097313,
-0.039680782705545425,
-0.03370346128940582,
-0.07475254684686661,
-0.05242760479450226,
-0.00019579334184527397,
-0.0046022688038647175,
-0.02432338334619999,
0.018922189250588417,
-0.009992212057113647,
-0.019678356125950813,
0.014367179945111275,
-0.04673834517598152,
-0.02331516146659851,
-0.01747286692261696,
0.019084224477410316,
0.03271324187517166,
-0.031831044703722,
-0.03354142606258392,
0.005113131832331419,
-0.0573606975376606,
0.002529559889808297,
-0.017193805426359177,
-0.02164079062640667,
0.0015055832918733358,
0.004257942549884319,
0.014043108560144901,
0.005405696574598551,
0.01739184930920601,
0.005531724542379379,
0.015195363201200962,
-0.022703025490045547,
0.029742583632469177,
0.0773451179265976,
-0.01772492378950119,
-0.015006321482360363,
0.03098485805094242,
-0.012530773878097534,
-0.02191084995865822,
0.012800833210349083,
0.08130599558353424,
0.024017317220568657,
0.034009527415037155,
-0.032803259789943695,
-0.018670132383704185,
0.01769791729748249,
0.006242881994694471,
0.01964234746992588,
0.02920246496796608,
0.04216533526778221,
0.03271324187517166,
-0.0015730982413515449,
0.0014661995228379965,
0.005977323278784752,
0.07849737256765366,
-0.051599420607089996,
0.007255605887621641,
0.041517190635204315,
-0.010379297658801079,
0.07075566053390503,
0.014952309429645538,
-0.07306016981601715,
0.001041980693116784,
-0.023963304236531258,
-0.026987973600625992,
0.06848715990781784,
0.018085002899169922,
0.014214146882295609,
0.04191327840089798,
-0.06560651957988739,
0.07179989665746689,
0.007795725483447313,
-0.028914401307702065,
0.036908168345689774,
-0.04594616964459419,
-0.06935135275125504,
0.025277595967054367,
0.05505618825554848,
-0.0379163920879364,
0.056964609771966934,
-0.006256384775042534,
0.06103350967168808,
-0.026069771498441696,
-0.04925890266895294,
0.03777236118912697,
-0.0285183135420084,
0.01775193028151989,
0.0159425288438797,
-0.00873643346130848,
0.09938199818134308,
0.005635247565805912,
-0.004982602782547474,
0.03197507932782173,
-0.005387692712247372,
0.01854410581290722,
-0.00347927026450634,
0.002855882281437516,
0.012647800147533417,
-0.0007752965902909636,
0.010325285606086254,
0.05836892127990723,
0.0030899338889867067,
-0.005860297009348869,
0.0285183135420084,
-0.05772077664732933,
-0.02684394270181656,
0.02914845198392868,
0.0510593019425869,
-0.004012638237327337,
0.0069540394470095634,
-0.048250678926706314,
-0.034063540399074554,
0.02399931289255619,
0.026987973600625992,
-0.0685591772198677,
0.056928601115942,
-0.07424843311309814,
0.04382169991731644,
0.043785691261291504,
-0.024755479767918587,
-0.005846794229000807,
0.006476933602243662,
0.011072451248764992,
0.01410612277686596,
0.01646464504301548,
-0.022991089150309563,
-0.03507176414132118,
-0.03598996624350548,
-0.024503424763679504,
0.02426937222480774,
-0.0016608675941824913,
0.04875479266047478,
0.0375923216342926,
0.034999746829271317,
0.05059120059013367,
0.03429759293794632,
0.0018836669623851776,
-0.02536761574447155,
-0.03777236118912697,
0.0007685451419092715,
-0.010757381096482277,
-0.03638605400919914,
-0.03478369861841202,
-0.002943651517853141,
-0.030228691175580025,
0.0007916127215139568,
-0.0035782919730991125,
0.03993283957242966,
0.01410612277686596,
-0.0067514944821596146,
0.002855882281437516,
0.02952653542160988,
0.034117553383111954,
0.002858132589608431,
-0.010406303219497204,
0.020308494567871094,
0.0438937172293663,
0.03550386056303978,
0.030840827152132988,
0.0019129234133288264,
0.014214146882295609,
0.040941063314676285,
-0.006220377050340176,
-0.022540990263223648,
0.01449320837855339,
-0.0642022117972374,
0.004089155234396458,
-0.021388733759522438,
-0.00982117373496294,
-0.030840827152132988,
0.01840907521545887,
-0.01750887557864189,
0.013962090946733952,
-0.001782394596375525,
0.07342024892568588,
-0.00347927026450634,
-0.04032892733812332,
-0.021550770848989487,
0.021406738087534904,
-0.023333165794610977,
-0.053327806293964386,
-0.05404796451330185,
0.003483771113678813,
-0.018048996105790138,
0.049186889082193375,
0.046198226511478424,
-0.004401974380016327,
0.03950074315071106,
-0.02657388150691986,
-0.0052976724691689014,
-0.04194928705692291,
-0.05253563076257706,
-0.044361818581819534,
-0.00108361488673836,
-0.03035471960902214,
-0.006215875968337059,
-0.0256376750767231,
-0.013638018630445004,
-0.03265922889113426,
-0.0042106821201741695,
-0.05314776301383972,
-0.0065129417926073074,
-0.047602538019418716,
0.010154247283935547,
-0.009704148396849632,
0.053903933614492416,
-0.022180909290909767,
-0.020038435235619545,
-0.025619670748710632,
0.0033464906737208366,
0.01410612277686596,
-0.02920246496796608,
-0.02005643956363201,
0.03276725485920906,
-0.03103887103497982,
0.022973084822297096,
-0.011396522633731365,
-0.03087683580815792,
0.025493644177913666,
0.0957091897726059,
-0.023495201021432877,
-0.054119981825351715,
0.006467931903898716,
-0.061105526983737946,
0.006071844138205051,
-0.08195414394140244,
-0.05199550837278366,
0.020506538450717926,
-0.02615979127585888,
-0.03309132531285286,
0.0954931378364563,
-0.020920630544424057,
0.018526101484894753,
0.0449739545583725,
0.03413555771112442,
-0.0508432537317276,
-0.01431316789239645,
0.02684394270181656,
0.03559387847781181,
0.009794168174266815,
-0.041517190635204315,
0.018292048946022987,
0.02227092906832695,
-0.031651005148887634,
0.08490679413080215,
-0.0324251763522625,
0.0036570595111697912,
0.02826625667512417,
0.00669748242944479,
-0.0193362794816494,
0.036944177001714706,
0.020182467997074127,
-0.03109288215637207,
0.050411157310009,
-0.02610577829182148,
0.03548585623502731,
0.0187961608171463,
0.03570190444588661,
0.024647455662488937,
-0.052391596138477325,
0.03604397922754288,
0.05793682485818863,
0.00745815085247159,
0.02794218435883522,
-0.0820261538028717,
0.03924868628382683,
-0.01160356868058443,
-0.07554472237825394,
0.031651005148887634,
-0.015879515558481216,
0.076480932533741,
0.03924868628382683,
-0.05152740702033043,
0.019570332020521164,
-0.06715486198663712,
-0.031110886484384537,
-0.0015044580213725567,
0.026717914268374443,
-0.013529995456337929,
0.003852852853015065,
0.0513833723962307,
-0.03523379936814308,
-0.006463430821895599,
0.011090454645454884,
0.0190122090280056,
-0.024647455662488937,
0.027186017483472824,
0.011117461137473583,
0.017796939238905907,
-0.04364166036248207,
0.002063706750050187,
-0.04742249846458435,
-0.026393841952085495,
-0.046774353832006454,
0.027978193014860153,
0.0005437766085378826,
0.01342197135090828,
0.05980923771858215,
-0.0313449390232563,
0.037952400743961334,
-0.006575955543667078,
0.02279304526746273,
-0.029742583632469177,
-0.06114153563976288,
0.00020577992836479098,
-0.018940191715955734,
-0.009299058467149734,
-0.031380947679281235,
-0.012908857315778732,
0.004588765557855368,
-0.04205730929970741,
-0.013827060349285603,
0.045622099190950394,
0.06913530081510544,
-0.051599420607089996,
0.004843072034418583,
-0.004528002347797155,
0.09628531336784363,
0.01399809867143631,
0.01194564439356327,
0.020614562556147575,
0.005414698738604784,
-0.047602538019418716,
0.03734026476740837,
0.04428980499505997,
-0.04090505465865135,
-0.04637826606631279,
-0.0568205788731575,
-0.02967056818306446,
0.026483861729502678,
0.0078902468085289,
-0.0321551188826561,
-0.046666331589221954,
-0.009578119963407516,
0.015393407084047794,
0.0024845500010997057,
0.06845115125179291,
-0.01446620188653469,
0.04216533526778221,
0.0513833723962307,
0.0034252582117915154,
0.07079166918992996,
-0.0041859266348183155,
-0.056172434240579605,
0.02536761574447155,
0.06575055420398712,
0.01305288914591074,
-0.011198478750884533,
0.007008051499724388,
0.005752273369580507,
0.047134432941675186,
0.03528781235218048,
0.006161863915622234,
0.022703025490045547,
0.03244318068027496,
-0.015069335699081421,
0.03741228207945824,
-0.04886281490325928,
-0.03892461583018303,
0.040941063314676285,
-0.04591016098856926,
-0.049078863114118576,
0.02326114848256111,
0.10485520958900452,
0.011297500692307949,
-0.009110016748309135,
0.05145538970828056,
-0.053327806293964386,
0.05505618825554848,
-0.0009513981058262289,
0.025079552084207535,
0.04374968260526657,
-0.02147875539958477,
-0.06927933543920517,
-0.010487321764230728,
-0.01491630170494318,
-0.035161782056093216,
0.009443090297281742,
-0.006895526312291622,
0.020236479118466377,
0.009875185787677765,
0.03352342173457146,
0.009186533279716969,
-0.07576076686382294,
-0.04263343662023544,
0.023297157138586044,
-0.06780301034450531,
0.018994204699993134,
-0.03548585623502731,
0.037952400743961334,
0.031831044703722,
-0.0283022653311491,
0.0031371945515275,
0.010721373371779919,
0.010640355758368969,
-0.05883702263236046,
0.02326114848256111,
-0.041301142424345016,
0.1016865074634552,
-0.00344101176597178,
0.026483861729502678,
0.04864676669239998,
-0.04223734885454178,
0.028086217120289803,
-0.03644006699323654,
-0.03051675483584404,
0.03939272090792656,
0.02594374306499958,
0.008367352187633514,
0.0052391598001122475,
-0.002306760521605611,
-0.028482304885983467,
0.012872849591076374,
-0.003929369617253542,
0.04292150214314461,
0.03827647119760513,
0.007156583946198225,
0.020092448219656944,
0.05566832423210144,
0.00500060711055994,
-0.045730121433734894,
-0.07720109075307846,
-0.04846672713756561,
-0.06783901900053024,
-0.0015821001725271344,
-0.0022730031050741673,
0.0027703633531928062,
-0.02284705825150013,
-0.036944177001714706,
0.011117461137473583,
-0.0053696888498961926,
-0.019984424114227295,
-0.06528244912624359,
0.01677071303129196,
-0.06002528592944145,
-0.018130013719201088,
-0.012107680551707745,
-0.016869734972715378,
0.0313449390232563,
-0.0015753486659377813,
-0.022540990263223648,
0.061429597437381744,
0.0006132607231847942,
-0.0317230224609375,
-0.02252298593521118,
-0.001123561174608767,
0.03665611520409584,
0.03507176414132118,
0.008200814947485924,
0.015123347751796246,
0.0252595916390419,
-0.05372389405965805,
-0.017427857965230942,
-0.012926861643791199,
-0.019948415458202362,
-0.0377003438770771,
0.047566529363393784,
0.004298451356589794,
0.039680782705545425,
-0.02232494205236435,
-0.02967056818306446,
0.014295164495706558,
0.012908857315778732,
-0.036368049681186676,
0.007233100943267345,
-0.07820931077003479,
0.0046270242892205715,
0.05818888172507286,
-0.02158677764236927,
-0.04673834517598152,
-0.05563231557607651,
-0.0023112616036087275,
-0.020290492102503777,
-0.009362072683870792,
-0.04659431427717209,
0.006076345220208168,
0.052391596138477325,
-0.06697482615709305,
-0.0023675239644944668,
-0.023981308564543724,
0.05152740702033043,
0.0824582502245903,
0.034171562641859055,
-0.019876400008797646,
-0.04627024382352829,
0.01255777943879366,
-0.00118826306425035,
0.022306937724351883,
-0.014655244536697865,
-0.005801784340292215,
0.04591016098856926,
0.07010751962661743,
-0.02988661639392376,
-0.0022009871900081635,
-0.06265386939048767,
-0.0380244180560112,
-0.050447165966033936,
0.01580749824643135,
-0.03953675180673599,
-0.02610577829182148,
-0.03323535621166229,
-0.009335066191852093,
0.06603861600160599,
-0.021460751071572304,
-0.022090889513492584,
-0.03067879192531109,
0.021460751071572304,
-0.003197957994416356,
-0.03942872956395149,
0.03723224252462387,
-0.018922189250588417,
-0.03766433894634247,
0.05862097814679146,
0.007368131075054407,
-0.019390292465686798,
-0.006265386939048767,
0.03903264179825783,
-0.0016484898515045643,
0.004507747944444418,
0.03472968935966492,
0.016374625265598297,
-0.04853874444961548,
-0.0884355753660202,
0.021100670099258423,
0.017769932746887207,
-0.024395400658249855,
0.07813729345798492,
0.003888860810548067,
-0.018832169473171234,
0.05336381122469902,
-0.006292392965406179,
-0.09837377816438675,
-0.004996106028556824,
-0.00927205290645361,
0.03440561518073082,
0.020308494567871094,
-0.00924504641443491,
0.007858739234507084,
-0.028194241225719452,
0.013908078894019127,
0.02210889384150505,
-0.003839349839836359,
-0.035953957587480545,
-0.007170087192207575,
-0.0378083698451519,
-0.005531724542379379,
-0.02742007002234459,
0.05498417094349861,
-0.003949624486267567,
0.08209817111492157,
-0.10312683135271072,
-0.07201594114303589,
0.06528244912624359,
-0.029688572511076927,
-0.0254216268658638,
0.009911193512380123,
-0.032479189336299896,
-0.024125339463353157,
-0.02662789449095726,
0.04248940572142601,
-0.028698353096842766,
-0.0003679564397316426,
-0.022703025490045547,
0.026591885834932327,
-0.04652229696512222,
-0.03892461583018303,
0.04227335751056671,
0.012530773878097534,
0.022018874064087868,
-0.059377145022153854,
0.012314725667238235,
-0.012431751936674118,
-0.07446448504924774,
0.05498417094349861,
-0.013989096507430077,
-0.04591016098856926,
-0.002792868297547102,
-0.02000242844223976,
-0.007134079001843929,
0.016842728480696678,
0.027330050244927406,
-0.019408296793699265,
0.0013277939287945628,
0.014547220431268215,
-0.030840827152132988,
0.02567368373274803,
0.04706241935491562,
-0.005392193794250488,
-0.018580112606287003,
-0.004257942549884319,
0.02778014913201332,
0.0032047093845903873,
-0.0009840303100645542,
-0.0021402237471193075,
0.010694366879761219,
-0.028698353096842766,
0.0036097990814596415,
-0.06088947877287865,
-0.005815287120640278,
-0.07525666058063507,
-0.00899749156087637,
0.027005977928638458,
-0.05552428960800171,
0.051491398364305496,
-0.00010296029358869419,
0.041841261088848114,
0.010946422815322876,
-0.03627803176641464,
0.0048790802247822285,
0.004915087949484587,
0.03665611520409584,
-0.006967542227357626,
-0.02594374306499958,
0.00834034662693739,
0.030660787597298622,
0.0572526715695858,
-0.020812606438994408,
-0.021028654649853706,
0.02873435989022255,
0.012584785930812359,
0.015312389470636845,
0.00847987737506628,
0.012503767386078835,
-0.05818888172507286,
0.05566832423210144,
0.005716265179216862,
-0.02216290682554245,
0.02931048907339573,
0.045982178300619125,
0.011252490803599358,
-0.03357743099331856,
0.00373582704924047,
-0.0008062409469857812,
0.0029301485046744347,
-0.005689259152859449,
-0.10132642835378647,
-0.031218910589814186,
0.027978193014860153,
-0.06762296706438065,
0.0815940648317337,
0.0021267207339406013,
-0.004807064309716225,
0.04198529198765755,
-0.03282126411795616,
0.023675240576267242,
0.025169571861624718,
0.0074446480721235275,
0.012611791491508484,
0.037376273423433304,
0.040472958236932755,
0.009443090297281742,
-0.03708821162581444,
0.010856403037905693,
-0.14835284650325775,
-0.041193120181560516,
-0.011801612563431263,
-0.03438761085271835,
0.022757036611437798,
0.02536761574447155,
0.08440268039703369,
-0.04637826606631279,
0.024809490889310837,
-0.00004033314689877443,
0.006067343056201935,
-0.017058776691555977,
0.04274146258831024,
0.07748915255069733,
-0.04353363811969757,
0.02878837287425995,
0.018832169473171234,
-0.008308839052915573,
0.0025205579586327076,
0.014412189833819866,
-0.012638797983527184,
-0.01870614103972912,
-0.038312479853630066,
0.025565659627318382,
-0.0059503172524273396,
-0.021514762192964554,
0.01254877820611,
0.007296115159988403,
-0.003661560593172908,
0.020920630544424057
] |
23,156 | flask.app | auto_find_instance_path | Tries to locate the instance path if it was not provided to the
constructor of the application class. It will basically calculate
the path to a folder named ``instance`` next to your main file or
the package.
.. versionadded:: 0.8
| def auto_find_instance_path(self) -> str:
"""Tries to locate the instance path if it was not provided to the
constructor of the application class. It will basically calculate
the path to a folder named ``instance`` next to your main file or
the package.
.. versionadded:: 0.8
"""
prefix, package_path = find_package(self.import_name)
if prefix is None:
return os.path.join(package_path, "instance")
return os.path.join(prefix, "var", f"{self.name}-instance")
| (self) -> str | [
0.1262606531381607,
-0.018758928403258324,
0.004175274632871151,
0.001297183451242745,
0.02981645055115223,
-0.0318831130862236,
0.06380154937505722,
0.032642655074596405,
-0.012779740616679192,
0.017072036862373352,
-0.018405651673674583,
-0.014660932123661041,
0.004380615893751383,
-0.00139323016628623,
-0.0016151313902810216,
-0.009847554378211498,
0.03350817784667015,
0.013415636494755745,
-0.023528147488832474,
-0.00008659389277454466,
0.03483296185731888,
0.05316796153783798,
-0.01799938641488552,
-0.022432992234826088,
0.010792565532028675,
0.09072114527225494,
0.04758620634675026,
-0.011216496117413044,
0.01842331700026989,
-0.06705168634653091,
0.01997772790491581,
-0.033596497029066086,
0.0384010449051857,
0.03304892033338547,
0.001017875038087368,
-0.03112356923520565,
0.03193610534071922,
0.02623070403933525,
-0.039566852152347565,
-0.027113894000649452,
0.0750357136130333,
0.033543508499860764,
0.05634744092822075,
-0.048434067517519,
0.023386836051940918,
0.0449366420507431,
0.007975193671882153,
-0.05253206565976143,
-0.02236233837902546,
0.02909223549067974,
0.03227171674370766,
-0.04370017722249031,
-0.03322555869817734,
0.002235571388155222,
-0.022044390439987183,
0.09700945019721985,
0.03751785680651665,
0.014669764786958694,
-0.04359419271349907,
0.005965939722955227,
-0.006933031138032675,
-0.03500960022211075,
0.07793257385492325,
-0.008037017658352852,
-0.01654212363064289,
0.03656401112675667,
-0.03917825222015381,
0.011207664385437965,
-0.03200675919651985,
0.017107365652918816,
-0.005709814839065075,
-0.017328161746263504,
-0.0037469281814992428,
-0.04560786485671997,
0.05602949112653732,
-0.012505952268838882,
-0.012594270519912243,
-0.049529220908880234,
0.005740726366639137,
-0.010147837921977043,
0.015023039653897285,
-0.022574303671717644,
-0.04620843380689621,
-0.05860840156674385,
0.045466553419828415,
0.02230934612452984,
-0.016736425459384918,
-0.014802242629230022,
0.04037938639521599,
-0.03366715461015701,
-0.02803240902721882,
0.02449965476989746,
0.007043430116027594,
0.05758390203118324,
0.008354964666068554,
-0.08125335723161697,
0.009918209165334702,
-0.07701405137777328,
-0.011375470086932182,
-0.007939866743981838,
0.002439808798953891,
-0.01248828787356615,
0.0008351653232239187,
0.029427846893668175,
0.003097784472629428,
-0.0010244989534839988,
-0.006959526799619198,
0.003013881389051676,
0.01114584133028984,
0.021867752075195312,
-0.048328086733818054,
0.06373089551925659,
-0.03218339756131172,
0.053627219051122665,
-0.02753782458603382,
-0.032695647329092026,
-0.003769007744267583,
0.04949389398097992,
0.06546194851398468,
-0.02402273193001747,
-0.027696797624230385,
0.06472007185220718,
-0.028597651049494743,
0.011207664385437965,
0.0745411291718483,
-0.03446202352643013,
0.0014859649818390608,
-0.03124721720814705,
-0.015182013623416424,
-0.08019353449344635,
0.10937409102916718,
0.02068427950143814,
-0.07076107710599899,
-0.05415713042020798,
0.005391866900026798,
0.0652499794960022,
0.07270409166812897,
0.07012518495321274,
-0.043311573565006256,
0.10117809474468231,
-0.02743184193968773,
0.033243224024772644,
-0.02038399502635002,
-0.0015676598995923996,
0.018864911049604416,
0.06260041892528534,
-0.03112356923520565,
0.08725904673337936,
-0.012037862092256546,
-0.025117887184023857,
-0.001978342654183507,
-0.02462330088019371,
0.03428538516163826,
0.02545349858701229,
-0.004808962345123291,
-0.07235081493854523,
-0.00515782181173563,
0.011428461410105228,
0.003382612718269229,
-0.06811150908470154,
-0.004038380458950996,
0.004252553451806307,
0.016003379598259926,
-0.07118500769138336,
-0.02419937029480934,
0.029109898954629898,
-0.017434144392609596,
0.04037938639521599,
0.014793410897254944,
0.037058599293231964,
-0.04179248958826065,
-0.04246371239423752,
-0.01920052245259285,
-0.010554105043411255,
-0.04726826027035713,
0.04419476166367531,
-0.01639198325574398,
-0.001538956305012107,
0.09835189580917358,
0.04967053234577179,
-0.015932723879814148,
0.03523923084139824,
-0.0112959835678339,
0.02994009666144848,
-0.016250671818852425,
0.04974118620157242,
-0.0011591851944103837,
0.02921588160097599,
0.05663006007671356,
0.040697336196899414,
-0.0038573266938328743,
0.06881806254386902,
0.01849397085607052,
0.022697949782013893,
0.0007656142115592957,
0.01711619645357132,
0.003526130924001336,
-0.030081408098340034,
-0.07390522956848145,
0.06313032656908035,
-0.005405114963650703,
0.01565893553197384,
-0.020896244794130325,
-0.011799400672316551,
0.0028549074195325375,
0.016656938940286636,
0.022980570793151855,
0.036034099757671356,
-0.043806158006191254,
0.010112510994076729,
-0.04620843380689621,
-0.06411950290203094,
-0.01224982738494873,
0.02868596836924553,
0.05048306658864021,
-0.0624944344162941,
0.01847630739212036,
-0.005519929341971874,
-0.018617616966366768,
0.028350356966257095,
0.04228707402944565,
0.017964057624340057,
-0.03900161385536194,
0.05164887383580208,
-0.057159971445798874,
-0.0027467168401926756,
-0.018317334353923798,
0.0016637067310512066,
0.0016338990535587072,
-0.03255433589220047,
0.007034597918391228,
-0.01962445303797722,
0.010969203896820545,
-0.026195377111434937,
0.04108593985438347,
0.04055602476000786,
-0.0017299458850175142,
0.03421473130583763,
0.03250134363770485,
-0.02909223549067974,
-0.007573343347758055,
-0.01759311929345131,
0.017231011763215065,
-0.046773672103881836,
0.0058202133513987064,
0.005970355588942766,
-0.030505338683724403,
-0.01514668669551611,
0.028897933661937714,
-0.05479302629828453,
0.058573074638843536,
0.010960372164845467,
-0.012567775323987007,
0.03702326864004135,
-0.007449696771800518,
-0.03326088562607765,
-0.03410874679684639,
0.015182013623416424,
-0.005246140994131565,
0.05687735229730606,
-0.01865294575691223,
0.017425313591957092,
0.0026186543982475996,
-0.007608670741319656,
-0.06793487817049026,
0.015906227752566338,
-0.047444898635149,
0.004281257279217243,
-0.01779625192284584,
-0.007330466061830521,
0.060304123908281326,
0.0554642491042614,
-0.012143844738602638,
-0.005943859927356243,
-0.012514784000813961,
-0.06779356300830841,
-0.05843176320195198,
-0.024464327841997147,
-0.04514860734343529,
-0.01308885682374239,
-0.02068427950143814,
-0.017928730696439743,
0.069771908223629,
-0.01749596744775772,
-0.013468627817928791,
-0.0780738815665245,
-0.012576607055962086,
-0.012117348611354828,
0.030664311721920967,
-0.001763065462000668,
0.018794255331158638,
-0.02796175517141819,
-0.014890561811625957,
-0.014652100391685963,
-0.049988482147455215,
0.01812303252518177,
-0.018582290038466454,
0.03559250384569168,
-0.04073266312479973,
-0.03207741305232048,
0.014475462958216667,
0.015358651988208294,
-0.06747561693191528,
0.08549266308546066,
0.008756816387176514,
0.05927962437272072,
-0.01237347349524498,
-0.04430074617266655,
0.05913831666111946,
0.00022493711730930954,
-0.03343752399086952,
0.006725482176989317,
0.029357193037867546,
0.030063742771744728,
0.021832425147294998,
0.006208816543221474,
0.004020716529339552,
-0.014872897416353226,
-0.020189693197607994,
0.03333154320716858,
-0.009114507585763931,
0.11742877215147018,
-0.04596114158630371,
0.0381537526845932,
0.022203363478183746,
0.0504477396607399,
0.00003708702570293099,
0.02963981218636036,
0.003307541599497199,
0.016851240769028664,
-0.047939483076334,
0.012161508202552795,
0.014122187159955502,
0.014475462958216667,
0.06623915582895279,
-0.014254665933549404,
-0.0019154155161231756,
-0.06334229558706284,
-0.017928730696439743,
-0.021903079003095627,
0.0750357136130333,
-0.020719606429338455,
-0.03681130334734917,
-0.007153828628361225,
0.018529299646615982,
0.0137424161657691,
0.011163504794239998,
-0.019218185916543007,
-0.004325416870415211,
-0.051295600831508636,
-0.02326318994164467,
0.06094001978635788,
-0.02153214067220688,
-0.02361646667122841,
0.03569848835468292,
-0.029427846893668175,
-0.02755548804998398,
0.01985408179461956,
-0.009891713038086891,
0.012532447464764118,
-0.04285231605172157,
-0.058997005224227905,
-0.06373089551925659,
-0.044512711465358734,
-0.021267183125019073,
-0.010439290665090084,
-0.030681975185871124,
-0.04362952336668968,
0.008235734887421131,
-0.001106745796278119,
-0.022927578538656235,
-0.051966823637485504,
0.011393134482204914,
-0.041827816516160965,
0.05730128288269043,
0.025718454271554947,
0.009026188403367996,
-0.024305352941155434,
0.012011365965008736,
-0.02658398076891899,
-0.009768066927790642,
0.022203363478183746,
-0.001441805507056415,
-0.006389870308339596,
0.032889947295188904,
0.009591429494321346,
-0.0018050168873742223,
0.0001745677727740258,
0.012982874177396297,
-0.009741571731865406,
0.03184778615832329,
0.01473158784210682,
0.032112739980220795,
-0.030487673357129097,
0.056842025369405746,
-0.047480225563049316,
-0.07397588342428207,
0.009617924690246582,
0.002497215988114476,
0.036281391978263855,
0.052850011736154556,
-0.03126487880945206,
0.016383150592446327,
0.027219876646995544,
0.020136702805757523,
-0.018440980464220047,
-0.0013645265717059374,
-0.035380538552999496,
-0.060304123908281326,
-0.017133859917521477,
-0.045395899564027786,
-0.04324091970920563,
0.032165732234716415,
-0.03833039104938507,
0.022927578538656235,
0.03218339756131172,
0.023634130135178566,
0.0034135242458432913,
0.07439981400966644,
-0.03059365600347519,
-0.023598801344633102,
0.03772982209920883,
0.04073266312479973,
0.014652100391685963,
-0.042251747101545334,
0.047656863927841187,
-0.004941440653055906,
-0.03082328662276268,
0.045819830149412155,
0.04161585122346878,
-0.08888410776853561,
0.008456531912088394,
-0.06920666992664337,
0.013495123013854027,
0.021903079003095627,
-0.03606942668557167,
0.06033945083618164,
-0.03447968512773514,
-0.035027265548706055,
-0.003263382241129875,
-0.042605023831129074,
-0.05486368387937546,
0.0449366420507431,
0.08294907957315445,
-0.01877659186720848,
0.036352045834064484,
-0.04465401917695999,
0.008014937862753868,
0.021125873550772667,
-0.018087703734636307,
-0.013583442196249962,
-0.0677582398056984,
-0.005365371238440275,
0.018829582259058952,
-0.020295675843954086,
-0.07694339752197266,
-0.056665387004613876,
-0.038436371833086014,
0.020313339307904243,
-0.011472621001303196,
-0.0680055320262909,
0.021744105964899063,
0.012806235812604427,
-0.07033714652061462,
-0.01126948744058609,
-0.025859765708446503,
0.04613777622580528,
-0.006244143936783075,
0.01684240810573101,
0.0001476581091992557,
0.03396743908524513,
0.014095691964030266,
0.0029895936604589224,
-0.00767490966245532,
-0.012470624409615993,
0.037235233932733536,
0.018229015171527863,
0.013645265251398087,
-0.03516857326030731,
-0.04550188034772873,
-0.019006220623850822,
0.012585438787937164,
0.0023183703888207674,
0.06394286453723907,
-0.0064870212227106094,
-0.020613623782992363,
-0.022327009588479996,
-0.045289915055036545,
-0.0228392593562603,
-0.027449505403637886,
0.026672298088669777,
0.08139467239379883,
-0.05790185183286667,
0.01439597550779581,
-0.02914522774517536,
-0.009591429494321346,
0.05680669844150543,
0.10004761815071106,
0.014184010215103626,
-0.013141848146915436,
-0.016798248514533043,
0.005639160051941872,
-0.004800130613148212,
0.03522156551480293,
-0.02630135975778103,
-0.017478303983807564,
-0.05931495502591133,
0.010562936775386333,
-0.0014108939794823527,
0.004990016110241413,
0.023863758891820908,
-0.036705322563648224,
0.00782063603401184,
0.005617080256342888,
0.052143462002277374,
0.032766301184892654,
-0.02974579483270645,
0.010536441579461098,
0.018176022917032242,
-0.008787727914750576,
-0.043841488659381866,
-0.06733430922031403,
0.025082558393478394,
-0.033066585659980774,
-0.034444358199834824,
-0.024905921891331673,
0.01854696311056614,
0.044336073100566864,
-0.039672836661338806,
0.10174334049224854,
0.0041929385624825954,
0.009829889982938766,
0.009114507585763931,
0.030787957832217216,
0.03769449517130852,
0.05850242078304291,
-0.020701942965388298,
-0.01749596744775772,
0.007599839009344578,
0.007334882393479347,
-0.025117887184023857,
-0.022079717367887497,
0.032112739980220795,
-0.026672298088669777,
0.03712925314903259,
-0.040344059467315674,
-0.02850933186709881,
0.016754088923335075,
-0.022026726976037025,
0.001490380964241922,
0.10951539874076843,
-0.012196836061775684,
0.016100529581308365,
0.002400065306574106,
-0.01884724758565426,
-0.0008848446886986494,
0.014095691964030266,
0.024358345195651054,
0.012046693824231625,
0.00043110648402944207,
-0.011507948860526085,
-0.01317717507481575,
0.032536670565605164,
0.010086014866828918,
-0.0011315855663269758,
-0.03924890607595444,
-0.07722602039575577,
-0.04309960827231407,
-0.041474539786577225,
0.018458643928170204,
-0.02457031048834324,
-0.00095384381711483,
0.033119577914476395,
-0.0237224493175745,
-0.03981414809823036,
0.10110744088888168,
0.032165732234716415,
0.03220105916261673,
0.025665463879704475,
-0.02361646667122841,
0.005877621006220579,
0.005104830488562584,
0.017964057624340057,
0.030575992539525032,
-0.048504725098609924,
-0.020525304600596428,
0.04108593985438347,
-0.015614775940775871,
-0.016674602404236794,
-0.03712925314903259,
0.023121880367398262,
0.03320789709687233,
0.019218185916543007,
0.0073392982594668865,
0.03077029436826706,
-0.03195376694202423,
0.0012585439253598452,
-0.012276322580873966,
0.1139666736125946,
-0.027891099452972412,
0.015597112476825714,
0.04949389398097992,
-0.004294504877179861,
-0.014917057007551193,
-0.005815797485411167,
-0.00660183560103178,
-0.03939021751284599,
0.005290300119668245,
-0.0005718646571040154,
0.03935488685965538,
-0.02474694699048996,
-0.05037708207964897,
0.013521619141101837,
-0.020966900512576103,
-0.023280853405594826,
0.06358958780765533,
0.027767453342676163,
-0.041403885930776596,
-0.010086014866828918,
-0.036705322563648224,
-0.055605560541152954,
0.04839874058961868,
0.05991552025079727,
-0.04670301824808121,
0.020719606429338455,
0.05274403095245361,
0.006460525561124086,
0.023210199549794197,
0.03398510068655014,
0.014025036245584488,
0.03780047595500946,
0.004340872634202242,
0.023298518732190132,
-0.08146532624959946,
0.010677751153707504,
-0.012002534233033657,
-0.043841488659381866,
-0.04525458812713623,
-0.004786882549524307,
0.022097380831837654,
-0.024605637416243553,
-0.007449696771800518,
-0.03910759463906288,
0.06079871207475662,
-0.03147684410214424,
-0.06828814744949341,
-0.0011602891609072685,
-0.003210390917956829,
-0.04274633154273033,
0.01564127206802368,
0.0008539331029169261,
-0.05316796153783798,
-0.04334690049290657,
0.03868366405367851,
0.008681745268404484,
-0.027272867038846016,
0.022909915074706078,
-0.02552415430545807,
-0.018440980464220047,
-0.03167114779353142,
-0.07139697670936584,
0.012338146567344666,
-0.07545964419841766,
-0.040167421102523804,
0.007794140372425318,
-0.019218185916543007,
0.040273405611515045,
-0.06009215861558914,
0.007745564915239811,
0.03193610534071922,
-0.005639160051941872,
0.01967744342982769,
-0.0033539091236889362,
-0.01774326153099537,
-0.012744412757456303,
-0.014334152452647686,
-0.0242170337587595,
0.04401812329888344,
-0.024640964344143867,
-0.027219876646995544,
-0.00675197783857584,
-0.0046720681712031364,
-0.02457031048834324,
0.005444858223199844,
-0.00020092542399652302,
0.011605099774897099,
0.03516857326030731,
0.05168420448899269,
0.05850242078304291,
-0.036104753613471985,
-0.06941863149404526,
0.027396513149142265,
0.02969280444085598,
0.019235849380493164,
0.009229321964085102,
-0.041933801025152206,
0.03087627701461315,
0.0004283465095795691,
0.007330466061830521,
-0.027749789878726006,
0.010289148427546024,
0.00748502416536212,
-0.0033583249896764755,
0.010086014866828918,
-0.011242992244660854,
0.03124721720814705,
-0.047303587198257446,
0.009988863952457905,
-0.0363873727619648,
0.026619307696819305,
0.03963750973343849,
0.006341294851154089,
0.026266032829880714,
-0.06154058873653412,
-0.002751132706180215,
0.010183165781199932,
-0.036281391978263855,
0.024164043366909027,
-0.027414176613092422,
-0.026460332795977592,
0.005312379915267229,
-0.005700983107089996,
0.04246371239423752,
-0.044088780879974365,
0.03829506039619446,
0.027714461088180542,
-0.04500729590654373,
-0.013159511610865593,
0.023581137880682945,
0.05617080256342888,
-0.03684663400053978,
-0.02695491909980774,
-0.0328722819685936,
0.04444205388426781,
0.07305736839771271,
-0.010819061659276485,
0.017478303983807564,
-0.05602949112653732,
-0.002653982024639845,
0.007118500769138336,
0.027343522757291794,
-0.00156545196659863,
-0.032395362854003906,
0.018140695989131927,
0.02700791135430336,
0.03596344217658043,
0.046173106878995895,
-0.00261644646525383,
-0.011578603647649288,
-0.01049228198826313,
0.009458950720727444,
0.0263543501496315,
0.010695415548980236,
0.022927578538656235,
-0.03804776817560196,
-0.010748406872153282,
0.000707654922734946,
-0.00850952323526144,
0.018917901441454887,
-0.04362952336668968,
-0.01291221845895052,
-0.07750864326953888,
0.03386145457625389,
-0.010501113720238209,
0.05825512856245041,
-0.005449274089187384,
-0.043382227420806885,
-0.03334920480847359
] |
23,157 | flask.scaffold | before_request | Register a function to run before each request.
For example, this can be used to open a database connection, or
to load the logged in user from the session.
.. code-block:: python
@app.before_request
def load_user():
if "user_id" in session:
g.user = db.session.get(session["user_id"])
The function will be called without any arguments. If it returns
a non-``None`` value, the value is handled as if it was the
return value from the view, and further request handling is
stopped.
This is available on both app and blueprint objects. When used on an app, this
executes before every request. When used on a blueprint, this executes before
every request that the blueprint handles. To register with a blueprint and
execute before every request, use :meth:`.Blueprint.before_app_request`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_before_request) -> ~T_before_request | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,158 | slackeventsapi.server | bind_route | null | def bind_route(self, server):
@server.route(self.endpoint, methods=['GET', 'POST'])
def event():
# If a GET request is made, return 404.
if request.method == 'GET':
return make_response("These are not the slackbots you're looking for.", 404)
# Each request comes with request timestamp and request signature
# emit an error if the timestamp is out of range
req_timestamp = request.headers.get('X-Slack-Request-Timestamp')
if req_timestamp is None or abs(time() - int(req_timestamp)) > 60 * 5:
slack_exception = SlackEventAdapterException('Invalid request timestamp')
self.emitter.emit('error', slack_exception)
return make_response("", 403)
# Verify the request signature using the app's signing secret
# emit an error if the signature can't be verified
req_signature = request.headers.get('X-Slack-Signature')
if req_signature is None or not self.verify_signature(req_timestamp, req_signature):
slack_exception = SlackEventAdapterException('Invalid request signature')
self.emitter.emit('error', slack_exception)
return make_response("", 403)
# Parse the request payload into JSON
event_data = json.loads(request.data.decode('utf-8'))
# Echo the URL verification challenge code back to Slack
if "challenge" in event_data:
return make_response(
{"challenge": event_data.get("challenge")}, 200,
{"content_type": "application/json"}
)
# Parse the Event payload and emit the event to the event listener
if "event" in event_data:
event_type = event_data["event"]["type"]
self.emitter.emit(event_type, event_data)
response = make_response("", 200)
response.headers['X-Slack-Powered-By'] = self.package_info
return response
| (self, server) | [
0.029832012951374054,
-0.016655566170811653,
-0.04309495538473129,
-0.006338341627269983,
0.0008067089365795255,
0.024200066924095154,
0.0060307951644063,
0.0468624010682106,
-0.051206495612859726,
0.04736216366291046,
0.023738747462630272,
-0.019077494740486145,
0.046977732330560684,
-0.015098612755537033,
0.03705935552716255,
0.01455079484730959,
0.054820168763399124,
-0.006506531033664942,
0.06443099677562714,
-0.09318659454584122,
0.011532994918525219,
0.011494551785290241,
0.02439228445291519,
0.026756547391414642,
-0.047439053654670715,
0.030543213710188866,
-0.026564331725239754,
0.026372114196419716,
0.08173049241304398,
-0.051552485674619675,
-0.028275059536099434,
-0.07769393920898438,
0.07492602616548538,
-0.012474856339395046,
-0.01594436541199684,
-0.04274896904826164,
-0.03550240397453308,
-0.024219289422035217,
-0.06969773024320602,
0.037674449384212494,
0.011408054269850254,
-0.005574280861765146,
0.024353841319680214,
0.02800595574080944,
0.01759742759168148,
0.0399041622877121,
-0.024296175688505173,
0.05132182687520981,
0.018212521448731422,
-0.014348967932164669,
-0.07707884907722473,
0.006448866333812475,
0.017731979489326477,
0.01624230109155178,
0.0119943143799901,
0.03021644614636898,
-0.02900548279285431,
0.07223498821258545,
0.04021170735359192,
-0.04682395979762077,
-0.017184162512421608,
0.03752067685127258,
0.005622334778308868,
0.03905840963125229,
0.037828221917152405,
0.036828696727752686,
-0.013926091603934765,
0.015675261616706848,
-0.021547477692365646,
-0.040327038615942,
0.030350998044013977,
0.04151878133416176,
-0.017635870724916458,
0.0013094753958284855,
0.00672277482226491,
-0.01985597237944603,
-0.004144669976085424,
0.021931910887360573,
-0.016463350504636765,
-0.00029177876422181726,
0.03842409327626228,
0.030350998044013977,
0.005857800133526325,
0.009956819005310535,
-0.006227817386388779,
-0.017856920138001442,
0.005257123615592718,
-0.010927512310445309,
-0.0421338751912117,
-0.00757813872769475,
-0.02664121799170971,
-0.040288593620061874,
-0.021528257057070732,
0.0026958375237882137,
-0.01855851151049137,
-0.016367241740226746,
-0.004473840817809105,
0.014944839291274548,
0.01961570233106613,
-0.02277766540646553,
-0.031907953321933746,
0.050706733018159866,
-0.03802043944597244,
0.08019275963306427,
0.029293807223439217,
-0.05001475289463997,
0.003000981407240033,
-0.051206495612859726,
-0.05212913826107979,
0.0558965802192688,
-0.04182632640004158,
-0.03886619210243225,
-0.013205278664827347,
-0.012186530977487564,
-0.04801570251584053,
0.07000527530908585,
0.004274416249245405,
-0.0035151606425642967,
-0.011177394539117813,
-0.037924330681562424,
0.021105380728840828,
-0.023604195564985275,
0.02819817140698433,
-0.03815498948097229,
-0.0028207784052938223,
0.05681922286748886,
-0.033561013638973236,
-0.021489813923835754,
0.025353366509079933,
-0.05420507490634918,
-0.00907742790877819,
0.06685292720794678,
-0.002592521021142602,
0.07404182851314545,
-0.06942863017320633,
0.060048460960388184,
-0.03805888444185257,
0.010187478736042976,
0.02321976236999035,
0.05097583681344986,
-0.021989576518535614,
-0.004920744337141514,
-0.002705448307096958,
-0.0705050379037857,
0.07830903679132462,
0.007256175857037306,
-0.012811235152184963,
0.0006012775120325387,
0.055781252682209015,
0.010571911931037903,
0.05343620851635933,
-0.047439053654670715,
0.04040392488241196,
0.009072622284293175,
-0.04071146994829178,
0.0464395247399807,
-0.004790998063981533,
0.005434923805296421,
-0.0004715312970802188,
-0.0018969373777508736,
-0.008640135638415813,
-0.040250152349472046,
-0.05947180837392807,
-0.034714315086603165,
-0.036367375403642654,
0.004053367301821709,
0.031350523233413696,
0.019932858645915985,
0.04086524620652199,
0.058549169450998306,
-0.0639696791768074,
0.045632217079401016,
-0.05927959457039833,
-0.019490761682391167,
0.03844331577420235,
-0.0008829949074424803,
0.04094213247299194,
-0.019567647948861122,
-0.003474314697086811,
-0.040903687477111816,
-0.03261915221810341,
-0.02860182709991932,
-0.0196060910820961,
-0.010927512310445309,
0.0013647377490997314,
0.06350836157798767,
-0.006674720905721188,
0.0023462437093257904,
-0.06662226468324661,
0.026621995493769646,
-0.0324653796851635,
0.013003451749682426,
0.048438578844070435,
0.008356615900993347,
-0.004425786901265383,
0.03771289438009262,
-0.012446023523807526,
0.06366213411092758,
-0.04540155455470085,
-0.08672811836004257,
-0.017760811373591423,
0.016559459269046783,
-0.02694876492023468,
-0.002248934004455805,
-0.0006955837598070502,
0.00013184855924919248,
0.01941387541592121,
0.03525251895189285,
-0.011907816864550114,
-0.06220128387212753,
-0.028082842007279396,
-0.002355854492634535,
-0.018337462097406387,
-0.0234312005341053,
-0.03955817222595215,
-0.019577259197831154,
0.004226361867040396,
-0.022758442908525467,
-0.007035126909613609,
-0.006679526064544916,
0.007520473562180996,
-0.012244196608662605,
-0.042056988924741745,
-0.007409949321299791,
-0.03488731011748314,
0.015098612755537033,
0.05078361928462982,
-0.0028496107552200556,
-0.006107681896537542,
-0.0009430625941604376,
0.03419532999396324,
0.04536311328411102,
0.06481543183326721,
0.028217393904924393,
-0.04636263847351074,
0.008284534327685833,
-0.0033325550612062216,
0.00243874778971076,
-0.02629522792994976,
-0.0030298137571662664,
0.066199392080307,
-0.006991878151893616,
-0.017462875694036484,
-0.024373061954975128,
0.013705042190849781,
-0.0032965142745524645,
-0.022104905918240547,
0.009956819005310535,
-0.011302335187792778,
-0.0074580032378435135,
-0.045632217079401016,
-0.034214552491903305,
0.05124494060873985,
-0.0022969881538301706,
-0.03886619210243225,
-0.05312866345047951,
-0.05043762922286987,
0.01619424670934677,
-0.007059154100716114,
0.0006277072825469077,
0.0035632147919386625,
0.09064933657646179,
-0.06277793645858765,
0.050706733018159866,
0.0036208797246217728,
0.0055502536706626415,
-0.024469170719385147,
0.019288932904601097,
-0.03759756311774254,
-0.015463823452591896,
0.08349888026714325,
0.0342722162604332,
0.02358497492969036,
-0.010668019764125347,
-0.008130761794745922,
-0.018491234630346298,
0.025757022202014923,
0.01462768204510212,
-0.005824162159115076,
-0.03590605780482292,
0.025238037109375,
-0.01040852814912796,
0.022758442908525467,
0.051206495612859726,
-0.003969272598624229,
0.017568595707416534,
0.02714098058640957,
0.06077888235449791,
0.04444047436118126,
-0.08588236570358276,
0.06139397621154785,
-0.03705935552716255,
0.04928433150053024,
0.006352758035063744,
-0.04770815372467041,
0.004906328395009041,
-0.0781552642583847,
0.0421338751912117,
0.06193218380212784,
-0.05412818863987923,
-0.0027150590904057026,
-0.010591133497655392,
0.061317089945077896,
-0.020298071205615997,
0.017001556232571602,
-0.015675261616706848,
0.035117968916893005,
0.0241231806576252,
0.010370084084570408,
-0.04447891563177109,
-0.018933333456516266,
-0.004293637815862894,
-0.004106226842850447,
-0.09603140503168106,
0.010254754684865475,
0.05493550002574921,
0.002494010142982006,
0.06147086247801781,
-0.002069932408630848,
0.044517360627651215,
-0.006299898494035006,
0.04121123626828194,
0.02162436582148075,
0.01460846047848463,
0.09134131669998169,
0.03479120135307312,
0.05059140548110008,
-0.013964534737169743,
-0.0059827412478625774,
-0.027583079412579536,
0.03052399307489395,
-0.009481082670390606,
-0.010139424353837967,
-0.04993786662817001,
0.005074517801403999,
-0.048592351377010345,
-0.035521622747182846,
0.010783350095152855,
-0.017482098191976547,
-0.0493612177670002,
-0.038289543241262436,
-0.018174078315496445,
0.026410557329654694,
0.036924805492162704,
0.044209811836481094,
-0.013551268726587296,
-0.06335458159446716,
-0.03444521129131317,
-0.04309495538473129,
-0.04309495538473129,
0.03584839403629303,
0.0038082909304648638,
0.016261523589491844,
0.002146818907931447,
0.04005793482065201,
-0.03730923682451248,
-0.019375430420041084,
-0.02458450011909008,
-0.020278848707675934,
0.008058680221438408,
-0.03925062716007233,
0.03669414669275284,
-0.09433989971876144,
-0.018472013995051384,
0.00797218270599842,
0.016126971691846848,
0.029370693489909172,
-0.00238108285702765,
0.06416189670562744,
0.021143823862075806,
0.004223959520459175,
-0.020778613165020943,
-0.04770815372467041,
0.07192744314670563,
0.008193232119083405,
-0.029697461053729057,
0.01115817204117775,
-0.01955803669989109,
-0.043517835438251495,
0.010764128528535366,
-0.02056717313826084,
0.03780900314450264,
0.02498815581202507,
-0.01618463546037674,
0.044363588094711304,
-0.07273475080728531,
0.013926091603934765,
-0.008544026874005795,
0.0067468020133674145,
0.018721895292401314,
0.0010127411223948002,
-0.06170152127742767,
-0.0026357697788625956,
0.030293332412838936,
-0.00977421272546053,
-0.035713840276002884,
-0.032849814742803574,
0.015607986599206924,
0.04251830652356148,
-0.007837630808353424,
0.059202708303928375,
-0.004858274012804031,
-0.06950551271438599,
-0.001773197902366519,
0.055627476423978806,
0.048131030052900314,
0.04709306359291077,
0.04801570251584053,
0.01629035547375679,
0.007217732723802328,
-0.01593475416302681,
0.00934653077274561,
-0.0631239265203476,
-0.022412452846765518,
-0.005396480672061443,
-0.015723315998911858,
0.028371166437864304,
0.06992839276790619,
0.046785514801740646,
-0.004790998063981533,
0.03404155746102333,
-0.027621522545814514,
0.06370057165622711,
0.012830456718802452,
-0.0007604568381793797,
0.03367634490132332,
0.008260507136583328,
-0.022143350914120674,
-0.008865989744663239,
0.028236616402864456,
0.016617123037576675,
0.042249202728271484,
-0.08772764354944229,
-0.021701252087950706,
0.006929407827556133,
0.0009929187363013625,
-0.014896784909069538,
0.0034358713310211897,
-0.007746328134089708,
-0.004574754741042852,
-0.03238849341869354,
0.037636008113622665,
-0.0019053468713536859,
-0.035963721573352814,
0.07038971036672592,
0.015271606855094433,
-0.05147559940814972,
-0.01176365464925766,
0.05162937194108963,
-0.08449840545654297,
-0.03494497388601303,
-0.04690084606409073,
0.012388358823955059,
0.003469509305432439,
-0.0051081557758152485,
-0.05385908484458923,
-0.011100507341325283,
-0.012676683254539967,
-0.006448866333812475,
-0.02346964366734028,
-0.030331775546073914,
-0.02735241875052452,
-0.016722843050956726,
-0.010197089985013008,
0.019567647948861122,
-0.02800595574080944,
0.03121597319841385,
-0.028448054566979408,
-0.0026357697788625956,
-0.002358257072046399,
0.012782402336597443,
-0.04840013384819031,
0.013186057098209858,
0.02508426457643509,
0.04317184537649155,
-0.0324653796851635,
0.027563856914639473,
-0.050245415419340134,
-0.04094213247299194,
-0.019077494740486145,
-0.04720839112997055,
0.05178314819931984,
-0.024161623790860176,
0.02172047272324562,
-0.03313813731074333,
0.0072946189902722836,
-0.008183620870113373,
-0.03467587009072304,
-0.02508426457643509,
-0.03021644614636898,
-0.03484886512160301,
0.06170152127742767,
0.039750389754772186,
-0.021086158230900764,
-0.018116412684321404,
0.055627476423978806,
-0.03892385587096214,
0.016175026074051857,
0.03459898382425308,
0.03859708830714226,
0.004774179309606552,
-0.01905827410519123,
0.016011640429496765,
0.014166361652314663,
0.011975092813372612,
-0.00632392568513751,
-0.0558965802192688,
-0.011802097782492638,
-0.023142876103520393,
0.01855851151049137,
0.04693928733468056,
0.019375430420041084,
0.03188873082399368,
0.006761218421161175,
0.00535323191434145,
0.03663647919893265,
-0.0016770896036177874,
0.05820317938923836,
0.0021912690717726946,
0.0024723857641220093,
0.03565617650747299,
0.010350862517952919,
0.06158619374036789,
-0.011273502372205257,
0.02321976236999035,
-0.06066355109214783,
0.03871241956949234,
-0.003075465327128768,
0.01709766499698162,
0.010543079115450382,
0.013022673316299915,
0.04886145517230034,
-0.022143350914120674,
-0.04409448429942131,
0.006900575011968613,
0.01729949191212654,
-0.01061035506427288,
-0.019385041669011116,
-0.03896230086684227,
-0.027160203084349632,
-0.03271526098251343,
-0.00757813872769475,
-0.04086524620652199,
-0.058856718242168427,
-0.08442152291536331,
-0.04966876283288002,
0.025276480242609978,
-0.0326768197119236,
0.004509881604462862,
-0.0786934643983841,
-0.06108642742037773,
0.005848189350217581,
0.0450555682182312,
-0.029447579756379128,
-0.08895783126354218,
-0.05804940685629845,
0.011696378700435162,
0.024565279483795166,
0.008837156929075718,
0.011331167072057724,
-0.07100480794906616,
-0.0002000253734877333,
-0.03613671660423279,
0.01724182814359665,
-0.05712676793336868,
0.03404155746102333,
0.030735431239008904,
0.010312419384717941,
-0.0421338751912117,
0.010783350095152855,
-0.011321556754410267,
0.024872824549674988,
0.030350998044013977,
-0.07088947296142578,
0.02377719059586525,
0.009769408032298088,
0.019721420481801033,
-0.0012277833884581923,
0.011148561723530293,
0.013378273695707321,
0.04693928733468056,
-0.024507613852620125,
-0.022412452846765518,
-0.004360913764685392,
-0.08196114748716354,
0.01377231813967228,
0.05635790154337883,
0.051206495612859726,
-0.05466639623045921,
0.04447891563177109,
-0.01234030444175005,
-0.04359472170472145,
-0.010033705271780491,
0.01855851151049137,
0.019423484802246094,
0.009841488674283028,
-0.026929542422294617,
0.009481082670390606,
-0.005675194319337606,
0.05493550002574921,
-0.001434416277334094,
0.0849597305059433,
0.016376852989196777,
-0.05566592141985893,
0.026026124134659767,
0.0024255330208688974,
-0.006617055740207434,
-0.049245886504650116,
-0.07607932388782501,
-0.046324197202920914,
-0.021643586456775665,
0.03221549838781357,
-0.019471539184451103,
0.012936175800859928,
0.00006524851778522134,
0.027832960709929466,
-0.023796413093805313,
0.04897678643465042,
0.022104905918240547,
-0.02222023718059063,
0.036367375403642654,
0.02256622724235058,
-0.04409448429942131,
0.0017071234760805964,
-0.005944297648966312,
0.008015431463718414,
0.06039445102214813,
-0.006040405947715044,
-0.06162463501095772,
0.012023147195577621,
-0.014320135116577148,
-0.03133130073547363,
-0.005771302618086338,
-0.014493130147457123,
0.0479772575199604,
-0.0051225717179477215,
0.02965901792049408,
-0.04536311328411102,
-0.0055358377285301685,
0.05958713963627815,
-0.003938036970794201,
-0.07492602616548538,
0.01179248746484518,
-0.03409922122955322,
0.053320880979299545,
0.09641584008932114,
0.009038984775543213,
-0.01859695464372635,
0.006674720905721188,
-0.053974416106939316,
0.028736378997564316,
0.0297551266849041,
-0.0013407106744125485,
0.05704988166689873,
-0.01901021972298622,
0.021797360852360725,
0.022547004744410515,
0.008452723734080791,
0.013464771211147308,
-0.01236913725733757,
-0.01729949191212654,
0.02216257154941559,
0.0856517106294632,
-0.06677603721618652,
-0.008712216280400753,
-0.004846260417252779,
0.038174211978912354,
-0.030543213710188866,
-0.0005544247105717659,
0.066737599670887,
0.0428258553147316,
-0.059394922107458115,
0.03750145435333252,
0.04470957815647125,
0.0006823688745498657,
0.013618544675409794,
-0.014262470416724682,
0.02271999977529049,
0.008817935362458229,
0.001932977931573987,
-0.058895159512758255,
0.027813738211989403,
-0.020586395636200905,
0.014195194467902184,
0.022585447877645493,
-0.029735904186964035,
0.05212913826107979,
0.009730963967740536,
0.016501793637871742,
0.005093739368021488,
-0.0007784771732985973,
-0.03713624179363251,
-0.008063485845923424,
0.01875072717666626,
-0.036828696727752686,
-0.04186477139592171,
-0.05289800465106964,
-0.10348940640687943,
-0.005704027134925127,
0.005627140402793884,
0.07727106660604477,
-0.03675181046128273,
0.023661861196160316,
-0.009101455099880695,
-0.004065380897372961,
-0.05124494060873985,
-0.021336039528250694,
-0.018077969551086426,
-0.025199593976140022,
0.004320067819207907,
-0.015223553404211998,
-0.05566592141985893,
0.10064460337162018,
0.0759255513548851,
0.004228764679282904,
-0.024353841319680214,
-0.046977732330560684,
0.007904906757175922,
0.007554111536592245,
0.036828696727752686,
-0.05278267338871956,
-0.07850125432014465,
0.06054822355508804,
-0.012167309410870075,
0.09533942490816116,
-0.0017107275780290365,
0.010418138466775417,
0.02081705629825592,
0.028217393904924393,
-0.0333687998354435,
-0.016405684873461723,
-0.06147086247801781,
-0.022085685282945633,
0.0842677503824234,
0.001827258849516511,
-0.02831350266933441,
-0.036021385341882706,
-0.0032196277752518654,
-0.024853603914380074,
-0.017664704471826553,
0.033907003700733185,
-0.022508561611175537,
0.027967512607574463,
-0.0849597305059433,
0.017414821311831474,
0.0019762266892939806,
-0.020048189908266068,
-0.017828088253736496,
0.026006903499364853,
0.01037969533354044,
0.01352243684232235,
0.044632688164711,
-0.03117753006517887,
-0.010446971282362938,
-0.030543213710188866,
0.024296175688505173,
-0.000042160005250480026,
0.017078442499041557,
-0.01750131882727146,
0.03171573579311371,
0.015281218104064465,
-0.0032244331669062376,
0.0003363790165167302,
0.042056988924741745,
0.04413292557001114,
0.05393597111105919,
0.04067302867770195,
0.017405211925506592
] |
23,159 | flask.scaffold | context_processor | Registers a template context processor function. These functions run before
rendering a template. The keys of the returned dict are added as variables
available in the template.
This is available on both app and blueprint objects. When used on an app, this
is called for every rendered template. When used on a blueprint, this is called
for templates rendered from the blueprint's views. To register with a blueprint
and affect every template, use :meth:`.Blueprint.app_context_processor`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_template_context_processor) -> ~T_template_context_processor | [
0.015937158837914467,
-0.032374307513237,
0.03074934147298336,
0.05171317979693413,
-0.011678321287035942,
0.016124654561281204,
-0.010080141015350819,
0.0009469663491472602,
0.009276587516069412,
0.012437233701348305,
-0.03696349263191223,
0.008727491833269596,
0.040463417768478394,
0.012624729424715042,
0.022963793948292732,
0.043891917914152145,
-0.008986414410173893,
0.05692735314369202,
0.01919601671397686,
0.02696370892226696,
0.05257030203938484,
0.0003456957347225398,
0.005700770765542984,
0.010026571340858936,
0.016829997301101685,
-0.01783890277147293,
-0.020803125575184822,
0.02128525823354721,
0.06578430533409119,
0.0032767155207693577,
-0.0017153650987893343,
0.031195759773254395,
-0.03451711684465408,
0.04878466948866844,
0.05178460478782654,
0.015115748159587383,
-0.026802998036146164,
0.06435576826334,
-0.03148146718740463,
-0.003819114528596401,
-0.026677999645471573,
-0.03262430056929588,
0.0632486492395401,
0.00855338852852583,
0.036463506519794464,
0.011812247335910797,
0.022392377257347107,
0.01213366910815239,
0.03269572928547859,
0.01805318519473076,
0.05057034641504288,
0.007173953577876091,
0.03946344181895256,
0.005754340905696154,
0.035445667803287506,
0.043356213718652725,
0.031731463968753815,
-0.019160304218530655,
0.038284894078969955,
-0.018097827211022377,
-0.022392377257347107,
0.04114197567105293,
0.019428154453635216,
0.016035370528697968,
0.003557959571480751,
-0.012580087408423424,
-0.022945936769247055,
-0.008798918686807156,
0.04007057100534439,
0.04339192807674408,
0.00591505179181695,
0.028552960604429245,
0.016517503187060356,
-0.0037610800936818123,
0.057891618460416794,
0.027731548994779587,
-0.031874317675828934,
-0.04485618323087692,
0.01081226859241724,
-0.036195654422044754,
-0.0227137990295887,
0.03223145380616188,
-0.03344571217894554,
0.03914202004671097,
-0.025088747963309288,
0.0021439273841679096,
0.016758570447564125,
-0.03232073783874512,
0.017437126487493515,
0.0014754148432984948,
-0.03390998765826225,
0.007093598134815693,
-0.016374649479985237,
0.006098083686083555,
-0.008571244776248932,
-0.04789183288812637,
-0.008995342999696732,
-0.010115854442119598,
-0.06778426468372345,
0.005807911511510611,
-0.02217809669673443,
0.03135647252202034,
0.034624259918928146,
0.029445797204971313,
0.08064112812280655,
-0.007892687804996967,
-0.002542356261983514,
-0.026927994564175606,
-0.0016930440906435251,
-0.006089155096560717,
0.002828064374625683,
-0.04182053357362747,
-0.03155289590358734,
0.01926744543015957,
-0.0069686006754636765,
-0.056534502655267715,
0.002361556515097618,
-0.012624729424715042,
-0.003593672998249531,
-0.013705063611268997,
0.024856610223650932,
0.0236602071672678,
-0.038570601493120193,
-0.05096319317817688,
0.007955187000334263,
0.007026635110378265,
0.008731955662369728,
0.03176717832684517,
0.045106176286935806,
-0.0810696929693222,
-0.0005683472263626754,
0.04674899950623512,
-0.019303157925605774,
-0.009660507552325726,
-0.010865839198231697,
0.0028459210880100727,
0.009981929324567318,
0.011571181006729603,
-0.029785076156258583,
0.018767455592751503,
-0.03989200294017792,
0.04149911180138588,
0.027802975848317146,
0.016517503187060356,
0.012865795753896236,
0.03499925136566162,
-0.027356557548046112,
0.024713756516575813,
-0.0053927418775856495,
-0.008290001191198826,
0.008789990097284317,
-0.03224930912256241,
0.0031003800686448812,
0.02242809161543846,
-0.05242744833230972,
-0.005227566696703434,
0.023142362013459206,
0.05317743122577667,
0.04939179867506027,
0.0191245898604393,
-0.009303372353315353,
0.0010697315447032452,
-0.006133797112852335,
-0.032767154276371,
0.009321228601038456,
0.013312214985489845,
-0.029570795595645905,
-0.012089027091860771,
0.006473075598478317,
0.05182031914591789,
-0.01662464439868927,
-0.0057320198975503445,
0.040927693247795105,
0.023070935159921646,
0.06560573726892471,
0.04007057100534439,
0.03874916955828667,
-0.004807932768017054,
0.04928465932607651,
0.033088576048612595,
0.01264258660376072,
-0.026981564238667488,
-0.023981628939509392,
-0.02312450483441353,
0.06296293437480927,
0.09706935286521912,
-0.013428283855319023,
0.013740777038037777,
-0.01226759422570467,
-0.004399459343403578,
0.057141631841659546,
0.0049641793593764305,
0.02062455751001835,
-0.00405348464846611,
-0.040856268256902695,
-0.018963878974318504,
-0.024785183370113373,
0.012794368900358677,
0.056605931371450424,
-0.02373163402080536,
0.015544310212135315,
0.028820810839533806,
0.04174910485744476,
0.040106285363435745,
-0.0386420302093029,
0.05560595169663429,
0.05982014909386635,
0.016285365447402,
-0.0613558292388916,
-0.013972914777696133,
0.05485596880316734,
-0.08642672002315521,
-0.03817775472998619,
0.0034061770420521498,
-0.018910309299826622,
-0.07110562175512314,
0.06549859791994095,
0.007749834097921848,
0.003490996779873967,
0.025660164654254913,
0.0031472539994865656,
0.04682042449712753,
-0.034624259918928146,
-0.015901444479823112,
0.030231496319174767,
0.007513232063502073,
-0.019963858649134636,
-0.08164110779762268,
-0.05521310493350029,
-0.07321272045373917,
-0.005316850263625383,
0.02960650809109211,
0.021749533712863922,
-0.029285086318850517,
0.010419419966638088,
-0.027820833027362823,
0.05182031914591789,
-0.0014419334474951029,
-0.05171317979693413,
-0.034088555723428726,
0.022874509915709496,
-0.005240959115326405,
0.07174846529960632,
0.029481511563062668,
-0.03921344503760338,
0.007843581959605217,
-0.019821004942059517,
0.05057034641504288,
0.015910374000668526,
0.02851724624633789,
-0.03928487375378609,
0.011026549153029919,
-0.024838753044605255,
0.03137432783842087,
-0.005240959115326405,
0.003680724650621414,
0.011053334921598434,
-0.04357049614191055,
0.005446312017738819,
0.045106176286935806,
-0.009129269048571587,
-0.05067748576402664,
0.056677356362342834,
0.03849917650222778,
-0.04189195856451988,
-0.012214024551212788,
-0.06449861824512482,
-0.0054954178631305695,
-0.05003464221954346,
-0.012294379994273186,
0.05096319317817688,
-0.04239194840192795,
0.00006382396531989798,
0.005798982921987772,
-0.016133582219481468,
0.004901680629700422,
-0.058427318930625916,
-0.06810568273067474,
-0.02941008470952511,
-0.014696113765239716,
0.05832017958164215,
-0.06946279853582382,
0.05049891769886017,
0.03332071378827095,
-0.061998672783374786,
0.07260558754205704,
0.0003655055770650506,
0.05989157408475876,
0.020785268396139145,
-0.05839160829782486,
-0.015830017626285553,
0.024142339825630188,
0.040784839540719986,
0.005892730783671141,
0.038820598274469376,
-0.009178374893963337,
-0.08564102649688721,
-0.02087455242872238,
0.05028463900089264,
-0.06821282207965851,
-0.002752173226326704,
-0.04996321722865105,
-0.11014049500226974,
0.05778447538614273,
0.04307050630450249,
-0.016972851008176804,
-0.02337449975311756,
0.002075848402455449,
-0.047213274985551834,
-0.002832528669387102,
-0.002823600312694907,
0.0977121964097023,
-0.0908551961183548,
-0.018392464146018028,
0.05739162862300873,
0.02405305579304695,
-0.052213165909051895,
0.0014519778778776526,
0.007080205716192722,
0.040034856647253036,
-0.011946172453463078,
0.0022019618190824986,
0.0028392248786985874,
0.042213380336761475,
0.011910459026694298,
-0.027802975848317146,
0.009044448845088482,
-0.020910266786813736,
-0.031249331310391426,
0.004843646194785833,
-0.04664186015725136,
-0.0009637070470489562,
0.026999421417713165,
0.011258687824010849,
-0.06299865245819092,
0.05310600623488426,
0.0518917441368103,
0.00316064665094018,
0.048356108367443085,
-0.0044530294835567474,
0.015812162309885025,
0.007464125752449036,
-0.06110583245754242,
0.006941815838217735,
-0.006919494830071926,
0.05192745849490166,
0.0027677977923303843,
0.03001721389591694,
0.10849767923355103,
-0.03582066297531128,
0.03251716122031212,
-0.08314107358455658,
0.00015415406960528344,
-0.005468633025884628,
0.0038414355367422104,
-0.020731698721647263,
-0.058963023126125336,
-0.009910502471029758,
0.011999743059277534,
-0.04489189758896828,
-0.06053441762924194,
-0.04182053357362747,
-0.01994600147008896,
0.008557852357625961,
0.025767305865883827,
0.02623158134520054,
-0.042606230825185776,
-0.002899491460993886,
-0.05521310493350029,
0.03337428346276283,
0.02912437543272972,
-0.03271358460187912,
0.009276587516069412,
-0.025195889174938202,
0.03601708635687828,
0.0075355530716478825,
0.015267530456185341,
0.054105985909700394,
-0.04424905404448509,
0.057748764753341675,
0.03932058811187744,
-0.02155311033129692,
-0.06492718309164047,
-0.029088662937283516,
0.03542781248688698,
-0.029713649302721024,
0.007709656376391649,
0.004553474020212889,
0.008401606231927872,
0.007807868532836437,
-0.004870431497693062,
0.018803168088197708,
-0.018392464146018028,
0.00900427158921957,
0.01980314776301384,
-0.01310686208307743,
-0.06428433954715729,
0.018963878974318504,
0.06510575115680695,
0.016981778666377068,
0.053963128477334976,
-0.05571309104561806,
0.11071191728115082,
0.01837460696697235,
0.04982036352157593,
0.03307072073221207,
-0.025320885702967644,
0.002034554723650217,
0.015937158837914467,
0.008522138930857182,
-0.018553175032138824,
-0.007173953577876091,
-0.023570923134684563,
0.0025378919672220945,
-0.06653428822755814,
0.03232073783874512,
0.02033885009586811,
-0.01043727621436119,
0.003696349449455738,
-0.014312193728983402,
0.030392207205295563,
0.023981628939509392,
-0.046463292092084885,
0.06714142113924026,
0.015713948756456375,
0.03153504058718681,
0.011330114677548409,
0.05739162862300873,
-0.020428134128451347,
0.035659950226545334,
-0.015231817029416561,
0.010365849360823631,
-0.00004715300747193396,
0.013374713249504566,
-0.031052906066179276,
-0.030910052359104156,
-0.03540995717048645,
-0.029285086318850517,
-0.02858867309987545,
0.06603430211544037,
-0.02337449975311756,
0.006526645738631487,
-0.018115684390068054,
-0.029963644221425056,
-0.022053098306059837,
-0.03339214250445366,
0.008522138930857182,
0.03458854556083679,
0.03799918666481972,
0.02026742324233055,
0.003870452754199505,
0.040177710354328156,
-0.03914202004671097,
-0.0027878866530954838,
0.019446011632680893,
-0.017142489552497864,
0.02616015449166298,
-0.06728427112102509,
-0.019499583169817924,
0.03932058811187744,
0.0008666109060868621,
0.01648179069161415,
-0.0473204143345356,
-0.03849917650222778,
-0.0021472754888236523,
-0.006856996100395918,
0.009276587516069412,
-0.0076159085147082806,
-0.05439169332385063,
-0.015865731984376907,
0.04832039400935173,
-0.06689142435789108,
-0.012562231160700321,
0.011419398710131645,
0.059570152312517166,
-0.008709634654223919,
-0.03255287557840347,
0.02385663241147995,
-0.00422982033342123,
-0.0053525641560554504,
0.0036360828671604395,
0.054570261389017105,
0.026392292231321335,
0.01577644795179367,
0.012660442851483822,
-0.03528495877981186,
0.07139132916927338,
-0.03346356749534607,
0.0027566372882574797,
0.01166046503931284,
-0.02242809161543846,
0.031052906066179276,
0.052070312201976776,
-0.02953508123755455,
-0.010401562787592411,
-0.010196209885179996,
0.02466018684208393,
0.03312429040670395,
-0.005209709983319044,
-0.0632486492395401,
0.013678278774023056,
-0.002111561829224229,
-0.02696370892226696,
0.039499152451753616,
-0.017437126487493515,
-0.007455197628587484,
-0.07335557043552399,
-0.0346599705517292,
-0.037677764892578125,
0.0163835771381855,
0.03664207085967064,
0.021517395973205566,
-0.07089133560657501,
-0.024553045630455017,
0.03217788413167,
-0.008160539902746677,
-0.05332028493285179,
-0.04371334984898567,
-0.015785375609993935,
-0.009758719243109226,
-0.05764162167906761,
0.021124547347426414,
0.04649900272488594,
-0.016071084886789322,
-0.018124612048268318,
-0.012222952209413052,
0.07556980848312378,
0.010205138474702835,
0.028624387457966805,
-0.024838753044605255,
-0.03312429040670395,
-0.04553473740816116,
-0.02785654552280903,
0.020017428323626518,
0.03573137894272804,
0.02467804215848446,
-0.10492632538080215,
0.0004771103267557919,
-0.01304436381906271,
-0.058570172637701035,
0.005790054798126221,
0.02805297076702118,
-0.06439147889614105,
0.04174910485744476,
-0.017437126487493515,
-0.06856995820999146,
-0.012071169912815094,
-0.025713734328746796,
-0.017579980194568634,
-0.061677251011133194,
-0.11656893044710159,
-0.037284914404153824,
0.05096319317817688,
0.022749513387680054,
0.014151482842862606,
-0.06257008761167526,
0.006526645738631487,
0.05921301618218422,
0.028624387457966805,
0.015151461586356163,
-0.057891618460416794,
0.05832017958164215,
-0.004120447672903538,
-0.0014118001563474536,
-0.01905316300690174,
0.008267680183053017,
0.06764140725135803,
0.03217788413167,
-0.0757126659154892,
-0.08385534584522247,
0.026713714003562927,
0.06446290761232376,
-0.043963342905044556,
-0.007638229057192802,
-0.037749189883470535,
-0.002874938538298011,
0.03189217299222946,
-0.031731463968753815,
0.001196402939967811,
-0.06603430211544037,
-0.0772840604186058,
-0.020231708884239197,
-0.005544524174183607,
0.005080248229205608,
-0.05703449249267578,
-0.05296315252780914,
0.01138368435204029,
0.050927482545375824,
-0.08542674034833908,
-0.022535230964422226,
-0.06560573726892471,
-0.06460575759410858,
-0.014785397797822952,
-0.048820383846759796,
0.030999336391687393,
-0.04210624098777771,
-0.004033395554870367,
-0.01091048028320074,
0.07985543459653854,
-0.025856589898467064,
-0.02582087554037571,
0.019035305827856064,
-0.07371270656585693,
-0.023606637492775917,
0.03582066297531128,
-0.038963451981544495,
-0.040927693247795105,
-0.031999316066503525,
-0.04974893480539322,
0.022588802501559258,
-0.010142640210688114,
0.005749877076596022,
0.06414148211479187,
-0.023910202085971832,
0.003990985918790102,
0.003968664910644293,
-0.053427428007125854,
-0.01537467073649168,
0.030713627114892006,
-0.020981693640351295,
-0.025588737800717354,
-0.019571010023355484,
-0.009687292389571667,
0.012374735437333584,
0.024088770151138306,
0.004316871985793114,
0.012830082327127457,
-0.022017385810613632,
-0.0004305153270252049,
-0.01871388405561447,
-0.011276544071733952,
-0.02494589425623417,
0.048427533358335495,
-0.02899937890470028,
0.07124847173690796,
-0.04435619339346886,
-0.03205288574099541,
0.05482025444507599,
0.005464168731123209,
-0.021338827908039093,
0.03610637038946152,
0.005892730783671141,
-0.010722984559834003,
-0.00249325018376112,
0.010669413954019547,
-0.0319814570248127,
-0.00537042086943984,
-0.045927587896585464,
0.021535253152251244,
-0.0357670895755291,
-0.043213360011577606,
0.013660421594977379,
-0.06389148533344269,
0.06274865567684174,
0.022928079590201378,
-0.05074891448020935,
-0.01274079829454422,
0.006950743962079287,
0.0477132648229599,
-0.011785461567342281,
-0.04867753013968468,
0.016606787219643593,
0.008075719699263573,
0.030874338001012802,
0.02458875998854637,
0.0053927418775856495,
-0.022017385810613632,
-0.02528517320752144,
-0.01361577957868576,
-0.036124225705862045,
0.07071277499198914,
0.014222909696400166,
-0.028945809230208397,
-0.026981564238667488,
0.004461958073079586,
-0.008410533890128136,
-0.010714055970311165,
0.01365149300545454,
-0.0017142490250989795,
0.04978464916348457,
-0.02703513577580452,
0.03630279377102852,
-0.03448140621185303,
0.05864160135388374,
0.03001721389591694,
-0.015178246423602104,
0.026588715612888336,
-0.010017642751336098,
-0.0357670895755291,
-0.010597987100481987,
-0.02817796729505062,
-0.017553195357322693,
-0.003584744641557336,
0.02655300311744213,
-0.005553452298045158,
0.007035563699901104,
-0.02128525823354721,
-0.06542716920375824,
0.0382491797208786,
-0.02844581939280033,
0.02148168347775936,
0.005218638107180595,
-0.004214195534586906,
-0.00900427158921957,
0.030838625505566597,
-0.022731656208634377,
-0.011910459026694298,
0.0008035541977733374,
-0.026267293840646744,
-0.0031383256427943707,
0.018696028739213943,
0.02310664765536785,
-0.009098019450902939,
-0.0329635813832283,
0.015830017626285553,
-0.012731870636343956,
0.004113750997930765,
-0.0365527868270874,
-0.004977571777999401,
0.03135647252202034,
-0.020803125575184822,
0.0033168932422995567,
-0.0022108901757746935,
-0.059641581028699875,
0.018124612048268318,
0.017267487943172455,
0.007919473573565483,
0.038427747786045074,
-0.0016115725738927722,
0.0018292019376531243,
0.026392292231321335,
-0.018338892608880997,
-0.06667714565992355,
0.04192767292261124,
0.013365785591304302,
-0.032945722341537476,
-0.00431463960558176,
0.08921237289905548,
-0.08014114201068878,
-0.04110626131296158,
-0.01803532801568508,
0.0012879188871011138,
-0.019160304218530655,
0.03262430056929588,
0.12699727714061737,
0.0331600047647953,
0.007410555612295866,
0.010839053429663181,
-0.007062348537147045,
-0.008513210341334343,
-0.004678471013903618,
0.030035071074962616,
0.006290043704211712,
0.007781083229929209,
0.05432026460766792,
-0.018410319462418556,
-0.02249951846897602,
0.0050043570809066296,
-0.027606552466750145,
-0.02696370892226696,
-0.07564123719930649,
-0.032142169773578644,
0.0439276322722435,
-0.009821218438446522,
0.06060584634542465,
0.07599837332963943,
0.03230287879705429,
0.09806932508945465
] |
23,160 | flask.app | create_global_jinja_loader | Creates the loader for the Jinja2 environment. Can be used to
override just the loader and keeping the rest unchanged. It's
discouraged to override this function. Instead one should override
the :meth:`jinja_loader` function instead.
The global loader dispatches between the loaders of the application
and the individual blueprints.
.. versionadded:: 0.7
| def create_global_jinja_loader(self) -> DispatchingJinjaLoader:
"""Creates the loader for the Jinja2 environment. Can be used to
override just the loader and keeping the rest unchanged. It's
discouraged to override this function. Instead one should override
the :meth:`jinja_loader` function instead.
The global loader dispatches between the loaders of the application
and the individual blueprints.
.. versionadded:: 0.7
"""
return DispatchingJinjaLoader(self)
| (self) -> flask.templating.DispatchingJinjaLoader | [
0.05231586843729019,
-0.036857254803180695,
-0.06470455974340439,
-0.014087137766182423,
0.011489509604871273,
0.030354103073477745,
0.030626581981778145,
0.07600332796573639,
-0.05035402253270149,
-0.0006607603281736374,
0.04276095703244209,
-0.038619283586740494,
-0.017511283978819847,
0.009963629767298698,
-0.0010382565669715405,
-0.010326934047043324,
0.033569347113370895,
0.035731010138988495,
-0.002881459891796112,
-0.05998159572482109,
0.029173363000154495,
-0.0002282007335452363,
0.018764683976769447,
0.012334192171692848,
-0.029681989923119545,
-0.008869174867868423,
-0.034368619322776794,
0.032061636447906494,
0.017956331372261047,
-0.032824575901031494,
0.007338753901422024,
-0.036711934953927994,
-0.004831951577216387,
0.005331495776772499,
0.031952641904354095,
0.011307856999337673,
-0.013078967109322548,
0.04363288730382919,
0.022197913378477097,
-0.022288739681243896,
0.028973545879125595,
0.026085272431373596,
-0.012107127346098423,
-0.039600204676389694,
0.05333312228322029,
0.018537620082497597,
0.005567643791437149,
-0.034459445625543594,
-0.004420963581651449,
0.05307880789041519,
-0.016339626163244247,
-0.037129733711481094,
0.018982667475938797,
0.05482267215847969,
-0.04221599921584129,
0.021652957424521446,
0.008937294594943523,
-0.0010479068150743842,
-0.06474088877439499,
0.00012467309716157615,
-0.013142545707523823,
0.026848213747143745,
0.018619362264871597,
0.037057071924209595,
0.012497679330408573,
0.037565700709819794,
-0.04406885430216789,
0.004234769847244024,
-0.019854597747325897,
0.009491333737969398,
-0.021816443651914597,
-0.0031698329839855433,
0.006925494875758886,
-0.017538530752062798,
-0.019963590428233147,
-0.010345099493861198,
0.023850949481129646,
-0.09017220884561539,
0.023106174543499947,
-0.025921786203980446,
0.037347715348005295,
-0.014168880879878998,
-0.031335026025772095,
0.027338674291968346,
0.026648394763469696,
-0.025413159281015396,
-0.005345119629055262,
0.034241463989019394,
0.043378572911024094,
-0.005971820093691349,
-0.04603069648146629,
0.015885494649410248,
0.04239765182137489,
0.014068972319364548,
-0.016830086708068848,
-0.037275057286024094,
-0.013296949677169323,
0.06895522028207779,
0.019745606929063797,
-0.009050826542079449,
0.034622933715581894,
-0.06012691929936409,
-0.030190614983439445,
-0.010808313265442848,
0.015476778149604797,
0.023941775783896446,
0.024668384343385696,
0.036148812621831894,
0.014450442045927048,
-0.020018085837364197,
-0.007216138299554586,
-0.002150309272110462,
-0.07876444607973099,
-0.00022351750521920621,
-0.05173458158969879,
0.03981819003820419,
-0.004041763953864574,
0.0016950431745499372,
0.040072500705718994,
-0.026466744020581245,
-0.07585801184177399,
0.031516678631305695,
0.004940943326801062,
-0.020472217351198196,
0.04472280293703079,
-0.04537675157189369,
0.008542200550436974,
-0.030899059027433395,
0.05594891309738159,
-0.006044480949640274,
0.027901796624064445,
0.06034490093588829,
-0.04635767266154289,
-0.036748263984918594,
0.019109824672341347,
-0.037892673164606094,
-0.05671185627579689,
0.08842834830284119,
0.017266053706407547,
0.07229762524366379,
-0.043560225516557693,
-0.07738389074802399,
-0.04559473320841789,
0.012425018474459648,
0.028682900592684746,
-0.04047213867306709,
-0.007016320712864399,
0.039709195494651794,
-0.016784673556685448,
0.05148026719689369,
0.0007873493013903499,
0.041198745369911194,
0.05551294982433319,
0.028446752578020096,
0.005249752197414637,
0.034659262746572495,
-0.012007218785583973,
0.031080711632966995,
0.05533129721879959,
-0.04250664263963699,
0.04752024635672569,
0.023887280374765396,
-0.04984539747238159,
-0.026721056550741196,
-0.0035422202199697495,
0.06027223914861679,
-0.024704715237021446,
-0.021743783727288246,
0.04047213867306709,
0.007402332033962011,
-0.008519493974745274,
-0.027411336079239845,
0.04087177291512489,
0.015458612702786922,
-0.005267917178571224,
0.06012691929936409,
-0.00019045110093429685,
0.017674770206212997,
0.027538491412997246,
0.008224308490753174,
-0.011625748127698898,
-0.002463659504428506,
-0.015086225233972073,
0.022379565984010696,
-0.003994080238044262,
0.05082631856203079,
0.03934589400887489,
0.019854597747325897,
-0.006203426979482174,
0.06426858901977539,
-0.031643833965063095,
0.008106234483420849,
0.033460356295108795,
-0.008782889693975449,
-0.013306032866239548,
0.019927259534597397,
0.005867369938641787,
-0.014241541735827923,
-0.035531193017959595,
0.041017092764377594,
-0.04791988059878349,
0.022197913378477097,
-0.034186966717243195,
0.036094315350055695,
-0.013242454268038273,
0.04857382923364639,
0.0030290524009615183,
0.04690263047814369,
-0.030081624165177345,
-0.015558521263301373,
-0.038074325770139694,
0.008496787399053574,
-0.04930043965578079,
0.09707500040531158,
-0.038619283586740494,
0.010181612335145473,
-0.04174370318651199,
0.008696604520082474,
-0.024541229009628296,
-0.014187046326696873,
-0.00047683733282610774,
0.019890928640961647,
0.017901835963129997,
-0.025376828387379646,
-0.05122595280408859,
-0.003919148817658424,
0.025631142780184746,
-0.008056280203163624,
-0.0013771516969427466,
0.012470431625843048,
-0.0019289206247776747,
0.0005954790394753218,
0.06477721780538559,
0.0014986316673457623,
0.022288739681243896,
-0.07422313839197159,
0.05780176818370819,
0.0038873597513884306,
-0.017692936584353447,
0.006189802661538124,
0.037892673164606094,
0.014659342356026173,
0.0008407096611335874,
-0.07117138057947159,
0.05692983791232109,
0.018374131992459297,
-0.05573093146085739,
0.002983639482408762,
0.022343235090374947,
-0.017356880009174347,
-0.015395034104585648,
0.027810970321297646,
0.04817419499158859,
-0.012751992791891098,
-0.026157934218645096,
0.036857254803180695,
0.014359615743160248,
0.015340538695454597,
-0.03992718085646629,
0.03952754661440849,
0.002581733511760831,
0.04392353072762489,
-0.036875419318675995,
0.028392257168889046,
-0.013306032866239548,
-0.007356918882578611,
0.015740172937512398,
0.013760163448750973,
-0.028628405183553696,
0.012388688512146473,
0.13246087729930878,
0.039600204676389694,
0.024904532358050346,
-0.006017233245074749,
-0.010136199183762074,
-0.012125292792916298,
-0.031825486570596695,
0.036003489047288895,
0.030699241906404495,
-0.0013533098390325904,
0.05950929969549179,
-0.034041643142700195,
0.04406885430216789,
0.037111569195985794,
-0.05028136074542999,
-0.033224210143089294,
-0.06604878604412079,
0.031135207042098045,
-0.00018633554282132536,
-0.05805608257651329,
-0.020108912140130997,
0.011671161279082298,
-0.020853687077760696,
0.06426858901977539,
-0.028483083471655846,
-0.019200650975108147,
-0.019200650975108147,
0.026648394763469696,
0.0018528536893427372,
-0.0001452509022783488,
0.032315947115421295,
-0.019745606929063797,
0.009573076851665974,
0.040036171674728394,
-0.017529448494315147,
-0.005372367333620787,
0.04257930442690849,
-0.018137983977794647,
-0.0055086067877709866,
0.017275135964155197,
0.021961765363812447,
-0.011307856999337673,
0.06437758356332779,
0.021852774545550346,
-0.035476699471473694,
-0.023269662633538246,
-0.002269518794491887,
-0.018137983977794647,
-0.001311302650719881,
-0.004727501422166824,
-0.021889105439186096,
0.032751914113759995,
0.005644845776259899,
0.020345060154795647,
0.002606710884720087,
0.020672034472227097,
0.08087161183357239,
0.0035876333713531494,
0.033478524535894394,
0.04868282377719879,
-0.028810057789087296,
-0.0019232439808547497,
-0.017157061025500298,
-0.011380517855286598,
0.028791893273591995,
0.012152540497481823,
-0.0031789157073944807,
-0.031080711632966995,
-0.031680162996053696,
-0.12279696762561798,
-0.008728394284844398,
-0.035295046865940094,
-0.040181491523981094,
0.006657557561993599,
-0.07215230166912079,
-0.029863640666007996,
-0.015331455506384373,
-0.0030926307663321495,
0.012933645397424698,
-0.024268750101327896,
-0.002003852277994156,
-0.028610240668058395,
-0.007829215377569199,
0.031643833965063095,
-0.016348708420991898,
-0.05006337910890579,
-0.027465831488370895,
0.030989885330200195,
-0.008360547944903374,
0.029754649847745895,
-0.06245206668972969,
0.05427771434187889,
-0.026939040049910545,
0.018673857674002647,
0.06455923616886139,
-0.000996249495074153,
0.010136199183762074,
-0.016957243904471397,
-0.04294260963797569,
-0.05947297066450119,
0.015812834724783897,
0.022016260772943497,
0.04323325306177139,
0.019164320081472397,
-0.004375550430268049,
-0.005054475739598274,
0.011280609294772148,
-0.036639273166656494,
-0.040726449340581894,
-0.013333280570805073,
0.007965453900396824,
0.020871851593255997,
-0.022797366604208946,
-0.0027929043862968683,
0.014159798622131348,
-0.036657437682151794,
-0.023396819829940796,
-0.020018085837364197,
-0.004650299437344074,
-0.04704795032739639,
0.015667513012886047,
-0.06070820614695549,
0.018265141174197197,
0.08537659049034119,
0.0014282413758337498,
-0.04276095703244209,
-0.04701162129640579,
0.019109824672341347,
0.024141592904925346,
0.029355015605688095,
0.07302423566579819,
-0.007470451761037111,
0.05249752104282379,
-0.031262364238500595,
0.021180661395192146,
-0.015885494649410248,
0.05976361408829689,
0.006780172698199749,
0.004777456168085337,
0.05155292898416519,
-0.007420497480779886,
0.013360528275370598,
-0.07789251208305359,
-0.030354103073477745,
-0.04268829524517059,
-0.008551282808184624,
0.026503073051571846,
0.032097965478897095,
0.028392257168889046,
-0.026593899354338646,
-0.030208781361579895,
0.0030744655523449183,
-0.015413199551403522,
-0.033387698233127594,
0.002595357596874237,
0.029137032106518745,
-0.036839090287685394,
0.039382223039865494,
-0.07295157015323639,
-0.007538571488112211,
-0.05086265131831169,
0.003451394150033593,
-0.009872803464531898,
-0.03981819003820419,
0.039091579616069794,
-0.037184230983257294,
0.04312426224350929,
-0.012179788202047348,
-0.015122556127607822,
0.014659342356026173,
0.030245112255215645,
0.001193228643387556,
0.08268813788890839,
0.07825581729412079,
-0.039709195494651794,
0.037892673164606094,
-0.10085336863994598,
0.06474088877439499,
-0.018573949113488197,
-0.042324990034103394,
0.04534041881561279,
-0.0011586012551560998,
0.031734660267829895,
-0.007456827908754349,
-0.016085313633084297,
-0.042143337428569794,
0.04257930442690849,
-0.038328640162944794,
0.011516757309436798,
0.038546621799468994,
-0.028283266350626945,
-0.004103071987628937,
0.06514052301645279,
-0.012806488201022148,
-0.06063554435968399,
-0.024868203327059746,
0.004257476422935724,
-0.0034763712901622057,
0.006880081724375486,
0.015494942665100098,
0.010090786032378674,
0.013542180880904198,
-0.026394082233309746,
-0.023305993527173996,
-0.05609423667192459,
0.028392257168889046,
0.034314122051000595,
-0.014931820333003998,
0.031207868829369545,
-0.013524015434086323,
-0.034495774656534195,
-0.007665727753192186,
-0.034059811383485794,
0.023596636950969696,
-0.04395986348390579,
-0.04170737415552139,
0.027411336079239845,
-0.0005463761044666171,
-0.012897314503788948,
0.022288739681243896,
-0.06695704907178879,
0.07255193591117859,
0.007261551450937986,
-0.034604765474796295,
-0.04639400169253349,
0.04330591484904289,
0.08741109818220139,
0.014877324923872948,
0.04029048606753349,
-0.025921786203980446,
0.022434061393141747,
-0.005494982935488224,
0.008946376852691174,
0.06554015725851059,
0.033224210143089294,
-0.08871899545192719,
0.009082616306841373,
0.009177983738481998,
-0.04730226472020149,
-0.0025454030837863684,
-0.008501328527927399,
0.014168880879878998,
-0.001998175634071231,
0.022779200226068497,
0.007093523163348436,
-0.023887280374765396,
-0.07447744905948639,
-0.022797366604208946,
-0.000889528717380017,
0.037892673164606094,
0.041961684823036194,
-0.005295165348798037,
0.037420377135276794,
-0.07447744905948639,
-0.05569460242986679,
0.0026521238032728434,
0.06895522028207779,
0.09271534532308578,
-0.026993535459041595,
0.031480345875024796,
-0.035567525774240494,
0.0017291030380874872,
-0.006984531879425049,
-0.041089754551649094,
-0.018801014870405197,
0.08029032498598099,
-0.011008130386471748,
-0.005762919783592224,
0.014722920954227448,
-0.04519509896636009,
0.018855510279536247,
-0.025158846750855446,
0.10128933191299438,
0.04330591484904289,
-0.021434973925352097,
-0.03763836249709129,
-0.04835584759712219,
0.026866378262639046,
0.012624836526811123,
-0.017474953085184097,
0.005731130950152874,
-0.018982667475938797,
-0.041089754551649094,
-0.05231586843729019,
-0.022706540301442146,
-0.04530408978462219,
-0.026357751339673996,
0.04686629772186279,
-0.012788323685526848,
0.029173363000154495,
0.023832784965634346,
0.05990893393754959,
-0.04788355156779289,
-0.00013226560258772224,
0.040145162492990494,
0.004212063271552324,
-0.04105342552065849,
0.010781065560877323,
-0.022179748862981796,
-0.006657557561993599,
-0.012534010224044323,
-0.010399595834314823,
0.007534029893577099,
-0.04446848854422569,
-0.001924379263073206,
0.04944576323032379,
0.033896323293447495,
0.028028953820466995,
-0.013342362828552723,
-0.028192440047860146,
-0.015667513012886047,
0.06630309671163559,
-0.0019720629788935184,
0.006798338145017624,
-0.05144393816590309,
-0.06292436271905899,
0.04490445554256439,
0.037674691528081894,
0.04210700839757919,
0.009445920586585999,
-0.012824653647840023,
0.05224320665001869,
0.04868282377719879,
-0.032297782599925995,
0.004518601577728987,
0.008056280203163624,
-0.029972633346915245,
0.009654820896685123,
-0.04341490566730499,
-0.05616689845919609,
0.020490381866693497,
0.031553007662296295,
-0.024450402706861496,
-0.015631182119250298,
0.017829176038503647,
-0.037384048104286194,
-0.025958117097616196,
0.004359655547887087,
-0.05631221830844879,
-0.0016326002078130841,
-0.026303255930542946,
-0.04548574239015579,
0.022034427151083946,
0.027665648609399796,
-0.0005375773180276155,
-0.017929084599018097,
-0.027229683473706245,
-0.010217943228781223,
0.022234244272112846,
-0.039200570434331894,
-0.08116225898265839,
0.024850036948919296,
0.037602029740810394,
0.024268750101327896,
0.019327806308865547,
-0.06110784038901329,
0.042615633457899094,
-0.06920953094959259,
0.033987149596214294,
0.07920040935277939,
-0.027247847989201546,
0.00009856057295110077,
-0.006185261532664299,
-0.04719327390193939,
0.0063124182634055614,
0.033206045627593994,
0.014168880879878998,
-0.005826498381793499,
0.04552207142114639,
0.06125316396355629,
-0.007502241060137749,
-0.08501328527927399,
-0.05478633940219879,
0.018619362264871597,
-0.014713837765157223,
-0.038619283586740494,
0.030572084710001945,
0.039854519069194794,
0.033896323293447495,
-0.013714750297367573,
-0.015077142976224422,
0.036148812621831894,
-0.035095229744911194,
-0.015158886089920998,
-0.09351461380720139,
0.008119858801364899,
-0.008410502225160599,
-0.034513939172029495,
-0.016494030132889748,
0.029046205803751945,
0.017974497750401497,
-0.011171617545187473,
-0.036530282348394394,
0.025758299976587296,
0.010526752099394798,
-0.018855510279536247,
-0.0024727422278374434,
-0.028101613745093346,
0.011235196143388748,
-0.032533932477235794,
-0.015513108111917973,
-0.05929131805896759,
0.031444016844034195,
-0.11240645498037338,
-0.05060833692550659,
-0.011734739877283573,
-0.035930827260017395,
0.007856463082134724,
0.08138024061918259,
0.039781857281923294,
-0.05805608257651329,
0.026466744020581245,
-0.05889168381690979,
0.04392353072762489,
-0.023451315239071846,
0.001891454798169434,
0.036566611379384995,
-0.009082616306841373,
0.05525863543152809,
-0.0012295591877773404,
0.029137032106518745,
0.06579446792602539,
0.041271407157182693,
0.06593979150056839,
-0.022070756182074547,
-0.05820140242576599,
0.009327846579253674,
-0.07338754087686539,
-0.05049934610724449,
0.04297893866896629,
0.011807400733232498,
-0.04174370318651199,
0.021144330501556396,
-0.028410423547029495,
-0.016403203830122948,
0.021761948242783546,
-0.06681172549724579,
-0.008987248875200748,
-0.041380397975444794,
-0.036766428500413895,
0.04497711360454559,
-0.034713760018348694,
0.10172530263662338,
0.013850989751517773,
0.007366001605987549,
-0.018564866855740547,
-0.04381453990936279,
-0.007020862307399511,
-0.002386457286775112,
-0.0010564217809587717,
0.006226133089512587,
0.011671161279082298,
0.041271407157182693,
-0.0016814193222671747,
0.030844563618302345,
0.032842740416526794,
-0.030899059027433395,
-0.09801959246397018,
0.019037162885069847,
-0.0001982564717764035,
0.010481338948011398,
0.020127076655626297,
-0.08217950910329819,
-0.034949906170368195,
0.031044380739331245,
-0.06241573765873909,
-0.009059909731149673,
-0.036312300711870193,
-0.06593979150056839,
-0.028083449229598045,
0.0004504410026129335,
-0.029155196622014046,
-0.05620322749018669,
0.031861815601587296,
-0.031080711632966995,
0.027919961139559746,
0.005286082625389099,
-0.0019663863349705935,
-0.0033605678472667933,
0.06049022451043129,
-0.004895530175417662,
0.037892673164606094,
-0.024541229009628296,
0.011080791242420673,
0.019854597747325897,
-0.019055329263210297,
0.018746519461274147,
0.008256098255515099,
-0.04813786596059799,
-0.012924562208354473,
-0.024741046130657196,
-0.023923611268401146,
-0.017529448494315147,
-0.035640183836221695,
0.09656637161970139,
0.028283266350626945,
-0.004668464418500662,
-0.001395316910929978
] |
23,161 | flask.app | create_jinja_environment | Create the Jinja environment based on :attr:`jinja_options`
and the various Jinja-related methods of the app. Changing
:attr:`jinja_options` after this will have no effect. Also adds
Flask-related globals and filters to the environment.
.. versionchanged:: 0.11
``Environment.auto_reload`` set in accordance with
``TEMPLATES_AUTO_RELOAD`` configuration option.
.. versionadded:: 0.5
| def create_jinja_environment(self) -> Environment:
"""Create the Jinja environment based on :attr:`jinja_options`
and the various Jinja-related methods of the app. Changing
:attr:`jinja_options` after this will have no effect. Also adds
Flask-related globals and filters to the environment.
.. versionchanged:: 0.11
``Environment.auto_reload`` set in accordance with
``TEMPLATES_AUTO_RELOAD`` configuration option.
.. versionadded:: 0.5
"""
options = dict(self.jinja_options)
if "autoescape" not in options:
options["autoescape"] = self.select_jinja_autoescape
if "auto_reload" not in options:
auto_reload = self.config["TEMPLATES_AUTO_RELOAD"]
if auto_reload is None:
auto_reload = self.debug
options["auto_reload"] = auto_reload
rv = self.jinja_environment(self, **options)
rv.globals.update(
url_for=self.url_for,
get_flashed_messages=get_flashed_messages,
config=self.config,
# request, session and g are normally added with the
# context processor for efficiency reasons but for imported
# templates we also want the proxies in there.
request=request,
session=session,
g=g,
)
rv.policies["json.dumps_function"] = self.json.dumps
return rv
| (self) -> flask.templating.Environment | [
0.0829407274723053,
-0.06829968839883804,
-0.004681453108787537,
-0.04471554607152939,
0.02175401709973812,
0.020527642220258713,
-0.05097949504852295,
0.026904795318841934,
0.004051756579428911,
-0.005499823484569788,
0.02635764330625534,
-0.005594159942120314,
-0.03124427981674671,
0.035017743706703186,
0.01535799726843834,
-0.034961141645908356,
0.06814875453710556,
0.014659905806183815,
0.05913017690181732,
-0.007966725155711174,
0.045923054218292236,
-0.009829873219132423,
-0.006414888426661491,
0.01852770708501339,
-0.016801346093416214,
-0.018942788243293762,
-0.04924369975924492,
0.04188544675707817,
0.05445108190178871,
-0.028734926134347916,
-0.04452687129378319,
-0.051960594952106476,
0.032942336052656174,
-0.0037168615963310003,
0.08226151019334793,
-0.011027947068214417,
-0.017848482355475426,
0.05694156512618065,
0.01728246361017227,
-0.02918774075806141,
0.03428191691637039,
0.02465958520770073,
-0.04290428012609482,
-0.033432889729738235,
0.020791783928871155,
0.002277049468830228,
-0.02492372691631317,
-0.022735118865966797,
0.022867189720273018,
0.020980458706617355,
0.030659392476081848,
-0.0029621690046042204,
0.051847390830516815,
0.051960594952106476,
-0.026923663914203644,
0.00536775216460228,
-0.012207155115902424,
-0.0010323961032554507,
-0.05546991527080536,
-0.02954621985554695,
-0.022886056452989578,
0.04041379690170288,
-0.006216781213879585,
0.015650440007448196,
0.0028796244878321886,
0.05248887836933136,
-0.09063860028982162,
0.02635764330625534,
0.006740349344909191,
-0.04743243753910065,
0.017886217683553696,
-0.020395571365952492,
-0.006424321793019772,
-0.016961719840765,
-0.036376189440488815,
-0.01167886983603239,
-0.03435738757252693,
-0.07833710312843323,
0.00774503406137228,
-0.03920628875494003,
0.017480570822954178,
-0.02928207814693451,
-0.0557340569794178,
0.023980362340807915,
0.0687902420759201,
0.01847110502421856,
-0.015216492116451263,
0.03696107491850853,
0.04513062536716461,
0.006594127509742975,
-0.010226086713373661,
0.016093822196125984,
0.005584726110100746,
0.040791142731904984,
-0.005844151601195335,
-0.0007151892641559243,
0.010254387743771076,
0.03565923124551773,
0.017697544768452644,
0.002457468304783106,
0.04773431643843651,
0.018612610176205635,
-0.04494195058941841,
0.0028442481998354197,
-0.020791783928871155,
0.04279107600450516,
0.009924209676682949,
0.03545169159770012,
0.013518433086574078,
-0.03675353527069092,
-0.03675353527069092,
0.050338003784418106,
-0.052073799073696136,
-0.051696453243494034,
-0.004113075323402882,
0.04486648365855217,
0.005877169780433178,
-0.011650568805634975,
0.025225603953003883,
-0.022810587659478188,
-0.033470623195171356,
-0.008589346893131733,
0.022565312683582306,
-0.004896068945527077,
0.07143166661262512,
-0.014499533921480179,
-0.0021001682616770267,
-0.023735085502266884,
0.028357578441500664,
-0.016150424256920815,
-0.02298039384186268,
0.04290428012609482,
-0.047130562365055084,
0.019772948697209358,
0.0555453859269619,
0.003308855928480625,
-0.0932045504450798,
0.00937705673277378,
0.014480667188763618,
0.10701543092727661,
-0.021999293938279152,
-0.06184706836938858,
-0.036206383258104324,
0.03288573399186134,
-0.01241469569504261,
-0.03450832515954971,
0.008584629744291306,
0.028150038793683052,
-0.0029079255182296038,
0.05075308680534363,
0.04192318022251129,
0.0385836660861969,
0.01692398451268673,
-0.019150327891111374,
0.00937705673277378,
0.03577243536710739,
-0.006631862372159958,
0.06309231370687485,
0.06260176002979279,
-0.033093277364969254,
0.018291864544153214,
0.036357320845127106,
-0.06003580614924431,
-0.000765895179938525,
0.0035965824499726295,
0.0590924397110939,
0.002790004713460803,
0.000614956661593169,
0.02918774075806141,
0.01149963028728962,
0.013773142360150814,
-0.010150616988539696,
0.061092376708984375,
0.022848322987556458,
-0.003167351009324193,
0.07916726917028427,
0.007419572677463293,
0.019640877842903137,
0.01627306267619133,
-0.0030022619757801294,
-0.06848836690187454,
-0.012159986421465874,
-0.06652616709470749,
0.028678324073553085,
0.00785823818296194,
-0.014584437012672424,
-0.0021709208376705647,
0.042451467365026474,
0.03211217746138573,
0.08731795102357864,
-0.05090402439236641,
-0.021980425342917442,
0.025263339281082153,
-0.008721417747437954,
-0.03592337295413017,
-0.005348884500563145,
-0.0013171746395528316,
-0.06871477514505386,
-0.056375548243522644,
0.035017743706703186,
-0.08626137673854828,
-0.008306336589157581,
-0.012952414341270924,
0.028150038793683052,
0.0015577329322695732,
0.061130110174417496,
-0.003006978891789913,
-0.018725812435150146,
0.022320037707686424,
-0.025225603953003883,
-0.05407373234629631,
-0.01474480889737606,
-0.018782414495944977,
0.04614945873618126,
-0.03526301681995392,
-0.014282559975981712,
0.006834685802459717,
0.01716925948858261,
-0.022112496197223663,
0.00893839169293642,
0.03137635067105293,
-0.015839112922549248,
0.005735664628446102,
-0.005735664628446102,
-0.017791880294680595,
0.0008059882675297558,
0.006867703981697559,
-0.0030022619757801294,
-0.028055701404809952,
0.004023455549031496,
-0.01797112077474594,
0.03071599453687668,
0.09078953415155411,
0.0028324562590569258,
0.032998938113451004,
-0.06546959280967712,
0.04935690388083458,
-0.018235262483358383,
-0.010593999177217484,
-0.013433530926704407,
0.019791817292571068,
0.02467845194041729,
0.05230020731687546,
-0.015188191086053848,
0.028753792867064476,
0.006537525914609432,
0.0025588800199329853,
0.02648971416056156,
0.011320390738546848,
-0.05543218180537224,
-0.045432500541210175,
0.0028065135702490807,
0.02915000729262829,
-0.004339483100920916,
-0.03424418345093727,
0.020999325439333916,
0.10807199776172638,
0.04203638434410095,
-0.022320037707686424,
0.027150070294737816,
0.05369638651609421,
0.032942336052656174,
-0.04165903851389885,
0.02318793348968029,
-0.015169323422014713,
-0.018744681030511856,
-0.005179078783839941,
0.022301170974969864,
-0.03722522035241127,
0.017754146829247475,
0.09199704229831696,
0.06946946680545807,
0.017103223130106926,
-0.02475392073392868,
-0.024169035255908966,
0.0015093854162842035,
-0.02028236724436283,
0.02301812916994095,
-0.03230084851384163,
-0.013490132987499237,
-0.008980843238532543,
-0.04656454175710678,
0.03537622094154358,
0.050338003784418106,
-0.041168488562107086,
-0.06380926817655563,
-0.0747523158788681,
0.0736202746629715,
0.04675321280956268,
-0.008353505283594131,
0.006523375399410725,
0.029734892770648003,
0.024112433195114136,
0.04648907110095024,
-0.023508679121732712,
-0.042602404952049255,
0.003804123029112816,
-0.008631798438727856,
0.02924434281885624,
-0.0042758057825267315,
0.04388538375496864,
-0.0020423871465027332,
0.0017369724810123444,
0.051620982587337494,
-0.031470686197280884,
0.011065682396292686,
0.03733842447400093,
-0.020716315135359764,
0.028489651158452034,
0.01156566571444273,
0.008754435926675797,
-0.018150359392166138,
0.04509289190173149,
0.03607431426644325,
-0.04373444244265556,
-0.0385836660861969,
-0.029942434281110764,
-0.06814875453710556,
-0.01642400026321411,
0.009660067036747932,
-0.027206672355532646,
0.016414565965533257,
0.042640138417482376,
-0.02028236724436283,
-0.015442900359630585,
0.005131910555064678,
0.06663937121629715,
-0.010282688774168491,
0.06773367524147034,
0.05456428602337837,
-0.05139457434415817,
-0.003233386669307947,
0.03213104233145714,
0.05086629092693329,
-0.004384293220937252,
0.01310335285961628,
-0.009735535830259323,
-0.022640781477093697,
-0.06165839731693268,
-0.08746888488531113,
-0.009061029180884361,
-0.057847198098897934,
-0.050149332731962204,
-0.008754435926675797,
-0.008221433497965336,
-0.023603014647960663,
0.03211217746138573,
-0.006282817106693983,
0.014480667188763618,
-0.02467845194041729,
0.011716604232788086,
-0.007452590856701136,
0.029734892770648003,
0.028772659599781036,
-0.04637586697936058,
-0.08852545917034149,
-0.028451915830373764,
0.025187870487570763,
-0.02309359796345234,
0.034998875111341476,
-0.06882797926664352,
0.06558279693126678,
-0.03141408413648605,
0.010726070031523705,
0.06512998044490814,
-0.028451915830373764,
0.0307537280023098,
-0.0017440477386116982,
-0.022320037707686424,
-0.02641424536705017,
0.06196027249097824,
-0.0017711694817990065,
0.02033896930515766,
0.012678837403655052,
-0.010650601238012314,
-0.03707427904009819,
0.007462024223059416,
-0.0490172915160656,
-0.04445140063762665,
0.02765948884189129,
-0.0011597505072131753,
-0.016659842804074287,
-0.0037711053155362606,
0.0003962136688642204,
0.009688368067145348,
-0.02779155969619751,
-0.02164081484079361,
-0.028451915830373764,
0.0006090606329962611,
-0.01856544055044651,
-0.03592337295413017,
-0.07486552000045776,
0.01982955075800419,
0.12241116166114807,
-0.0016237685922533274,
-0.029999036341905594,
-0.03371589630842209,
0.025263339281082153,
0.0466022752225399,
0.07056377083063126,
0.06784687936306,
-0.004702678881585598,
0.04501742124557495,
-0.015895714983344078,
0.03198010474443436,
-0.016933418810367584,
0.06682804226875305,
0.008598780259490013,
0.03754596412181854,
0.047206029295921326,
-0.013669371604919434,
-0.006697897799313068,
-0.11260015517473221,
-0.03992324694991112,
-0.03973457217216492,
-0.013716540299355984,
-0.0153768640011549,
0.016952285543084145,
0.02915000729262829,
0.021961558610200882,
-0.006976190954446793,
0.007919556461274624,
0.016499469056725502,
-0.0037168615963310003,
-0.018914487212896347,
0.03699881210923195,
-0.023508679121732712,
0.04588531702756882,
-0.08384636044502258,
0.037979912012815475,
-0.007773335091769695,
-0.03130088001489639,
0.005985656753182411,
-0.03679126873612404,
0.044149525463581085,
-0.004558815620839596,
0.03088580071926117,
-0.04067793861031532,
-0.01982955075800419,
0.031527288258075714,
0.04452687129378319,
-0.006452622823417187,
0.043998587876558304,
0.05513030290603638,
-0.028112303465604782,
0.04777204990386963,
-0.06339418888092041,
-0.016093822196125984,
0.021206865087151527,
-0.014131621457636356,
0.05765852332115173,
0.007532776799052954,
0.022904925048351288,
-0.029961301013827324,
-0.0056649125181138515,
-0.01982955075800419,
0.045394767075777054,
-0.010414759628474712,
0.024169035255908966,
0.05596046522259712,
0.006905438378453255,
-0.04475327953696251,
0.03664033114910126,
-0.025791624560952187,
-0.038055382668972015,
-0.03848933055996895,
-0.017480570822954178,
0.043960850685834885,
-0.031697094440460205,
0.009773271158337593,
0.008395956829190254,
0.02452751435339451,
-0.039168551564216614,
-0.02181061916053295,
-0.02948961779475212,
0.0428665466606617,
0.02332000620663166,
-0.001024141674861312,
0.013518433086574078,
-0.009688368067145348,
-0.05407373234629631,
-0.020584244281053543,
-0.022131364792585373,
0.0428665466606617,
-0.021225733682513237,
-0.06426208466291428,
0.03864026814699173,
-0.036357320845127106,
-0.0007936065667308867,
0.04060246795415878,
-0.056413281708955765,
0.030602790415287018,
-0.001225196523591876,
-0.01079210638999939,
-0.03267819434404373,
0.038055382668972015,
0.06867703795433044,
0.0007576407515443861,
0.007778051774948835,
-0.03435738757252693,
0.039583634585142136,
-0.007947857491672039,
0.01757490634918213,
0.07826163619756699,
0.0023678485304117203,
-0.07671451568603516,
0.020376702770590782,
-0.007334670051932335,
-0.04475327953696251,
-0.016282495111227036,
0.0108581418171525,
0.026716122403740883,
-0.014839145354926586,
-0.014546702615916729,
0.0019905020017176867,
-0.017339065670967102,
-0.06162066012620926,
-0.0402628555893898,
0.0017688111402094364,
0.04294201731681824,
0.0011974851367995143,
-0.004749847576022148,
0.050149332731962204,
-0.02330113761126995,
-0.03190463408827782,
0.02173515036702156,
0.11939238756895065,
0.08512934297323227,
-0.02184835448861122,
0.09531769156455994,
-0.021187998354434967,
-0.04328162968158722,
0.015442900359630585,
0.005754532292485237,
-0.018188094720244408,
0.053545448929071426,
-0.0011621088488027453,
0.0032970637548714876,
-0.0019987565465271473,
-0.02467845194041729,
0.024433176964521408,
-0.0042758057825267315,
0.03254612535238266,
-0.016763612627983093,
-0.050149332731962204,
-0.03679126873612404,
-0.03520641475915909,
-0.02611236833035946,
-0.009046878665685654,
-0.05211153253912926,
-0.00462720962241292,
0.0028914164286106825,
0.01306561753153801,
0.009829873219132423,
-0.026716122403740883,
-0.055168040096759796,
0.029017934575676918,
0.03371589630842209,
0.01243356242775917,
0.020810652524232864,
0.03550829365849495,
0.042451467365026474,
-0.04501742124557495,
-0.007773335091769695,
0.030395248904824257,
0.028263242915272713,
-0.033055540174245834,
0.020508775487542152,
-0.03303667530417442,
-0.03364042937755585,
0.01716925948858261,
0.013744841329753399,
0.022131364792585373,
-0.03754596412181854,
-0.042677875608205795,
-0.010886442847549915,
0.030338646844029427,
0.04233826324343681,
0.012801475822925568,
-0.018348466604948044,
-0.04675321280956268,
0.022131364792585373,
-0.07878991961479187,
-0.0129995821043849,
-0.03279139846563339,
-0.027112336829304695,
0.04626266285777092,
0.04290428012609482,
0.01921636424958706,
-0.03414984419941902,
-0.013197689317166805,
0.03894214332103729,
0.014575003646314144,
-0.0400741845369339,
0.028527384623885155,
0.05577179417014122,
0.005929054692387581,
-0.005787550006061792,
-0.04052700102329254,
-0.04135716333985329,
-0.012159986421465874,
0.01994275487959385,
-0.008249734528362751,
-0.055922731757164,
-0.01080153975635767,
-0.06460169702768326,
-0.027414213865995407,
0.00899499375373125,
-0.016471168026328087,
-0.010480795055627823,
-0.012207155115902424,
-0.04811166226863861,
0.017697544768452644,
0.017527738586068153,
-0.01224488951265812,
-0.00893839169293642,
-0.05109269917011261,
0.030489586293697357,
-0.002390253357589245,
-0.05445108190178871,
-0.033527225255966187,
0.022263435646891594,
0.02790476381778717,
0.018933353945612907,
0.03694221004843712,
-0.06011127680540085,
0.06305457651615143,
-0.0356026291847229,
-0.026904795318841934,
0.02169741690158844,
0.00941479206085205,
-0.01386747881770134,
0.024980328977108,
-0.03575356677174568,
0.034885670989751816,
0.047243766486644745,
-0.00081954913912341,
0.019018257036805153,
0.03109334036707878,
0.03664033114910126,
-0.02931981161236763,
-0.08558215200901031,
-0.03135748207569122,
0.022376639768481255,
-0.00499040586873889,
-0.04316842555999756,
0.04482874646782875,
-0.00010192774061579257,
0.0014869804726913571,
-0.014188223518431187,
-0.013839177787303925,
0.02792363055050373,
-0.03707427904009819,
0.003544697305187583,
-0.08633685111999512,
0.0519983284175396,
-0.015603272244334221,
-0.026848193258047104,
0.0038512912578880787,
0.025357674807310104,
-0.006702614948153496,
-0.02147100865840912,
-0.04460234194993973,
-0.04984745383262634,
0.06622428447008133,
-0.021187998354434967,
-0.010207219049334526,
0.0032168778125196695,
0.04969651624560356,
0.0430552214384079,
0.019018257036805153,
-0.0259991642087698,
0.03396117314696312,
-0.07324293255805969,
-0.04316842555999756,
0.008768586441874504,
-0.03694221004843712,
0.009344039484858513,
0.04528156295418739,
-0.009089330211281776,
-0.03558376058936119,
0.019376736134290695,
-0.028810394927859306,
0.04890408739447594,
-0.02298039384186268,
-0.03464039787650108,
0.04147036373615265,
-0.008178982883691788,
0.03545169159770012,
0.006523375399410725,
-0.01722586154937744,
0.00039061246206983924,
0.017829615622758865,
0.08897827565670013,
-0.04675321280956268,
-0.06471490114927292,
0.011876977048814297,
-0.06229988485574722,
-0.020772917196154594,
-0.011226054280996323,
0.012263757176697254,
0.013603336177766323,
0.040753405541181564,
-0.025357674807310104,
-0.012990148738026619,
0.010263821110129356,
-0.042451467365026474,
-0.013141087256371975,
-0.005443221423774958,
-0.026923663914203644,
0.022150231525301933,
0.03098013624548912,
0.09743083268404007,
-0.02926321141421795,
0.003351307474076748,
-0.005933771375566721,
-0.03271593153476715,
0.014584437012672424,
0.007513909600675106,
0.005613027140498161,
-0.002333651529625058,
0.03086693212389946,
-0.0011090445332229137,
-0.008627081289887428,
0.002931509632617235,
0.02139553800225258,
-0.06780914217233658,
-0.08361995220184326,
0.011839242652058601,
-0.048639945685863495,
-0.030319780111312866,
-0.000970487657468766,
-0.056300077587366104,
-0.04135716333985329,
0.006061126012355089,
-0.07916726917028427,
-0.04279107600450516,
-0.045923054218292236,
-0.06033768504858017,
-0.0039739287458360195,
0.015216492116451263,
-0.0066460128873586655,
-0.04637586697936058,
0.0057969833724200726,
0.025357674807310104,
0.016556071117520332,
0.03526301681995392,
-0.01625419408082962,
-0.020659713074564934,
0.016452301293611526,
0.012924113310873508,
0.04184771329164505,
-0.03247065469622612,
-0.027546284720301628,
0.05697930231690407,
0.028885863721370697,
-0.01084870845079422,
0.006438472308218479,
-0.06384700536727905,
-0.026961397379636765,
-0.06894118338823318,
-0.01684851571917534,
-0.040753405541181564,
-0.019206929951906204,
0.04626266285777092,
0.020414438098669052,
-0.0025211453903466463,
-0.007664848119020462
] |
23,162 | flask.app | create_url_adapter | Creates a URL adapter for the given request. The URL adapter
is created at a point where the request context is not yet set
up so the request is passed explicitly.
.. versionadded:: 0.6
.. versionchanged:: 0.9
This can now also be called without a request object when the
URL adapter is created for the application context.
.. versionchanged:: 1.0
:data:`SERVER_NAME` no longer implicitly enables subdomain
matching. Use :attr:`subdomain_matching` instead.
| def create_url_adapter(self, request: Request | None) -> MapAdapter | None:
"""Creates a URL adapter for the given request. The URL adapter
is created at a point where the request context is not yet set
up so the request is passed explicitly.
.. versionadded:: 0.6
.. versionchanged:: 0.9
This can now also be called without a request object when the
URL adapter is created for the application context.
.. versionchanged:: 1.0
:data:`SERVER_NAME` no longer implicitly enables subdomain
matching. Use :attr:`subdomain_matching` instead.
"""
if request is not None:
# If subdomain matching is disabled (the default), use the
# default subdomain in all cases. This should be the default
# in Werkzeug but it currently does not have that feature.
if not self.subdomain_matching:
subdomain = self.url_map.default_subdomain or None
else:
subdomain = None
return self.url_map.bind_to_environ(
request.environ,
server_name=self.config["SERVER_NAME"],
subdomain=subdomain,
)
# We need at the very least the server name to be set for this
# to work.
if self.config["SERVER_NAME"] is not None:
return self.url_map.bind(
self.config["SERVER_NAME"],
script_name=self.config["APPLICATION_ROOT"],
url_scheme=self.config["PREFERRED_URL_SCHEME"],
)
return None
| (self, request: flask.wrappers.Request | None) -> werkzeug.routing.map.MapAdapter | None | [
0.05566740036010742,
-0.04304995760321617,
-0.01098847296088934,
-0.0011340396013110876,
-0.03512168303132057,
0.034500230103731155,
0.0016230832552537322,
0.03531000390648842,
-0.025611523538827896,
-0.003064908320084214,
0.01573413796722889,
0.049189191311597824,
0.03352096304297447,
0.03448139503598213,
0.03694839030504227,
0.010583585128188133,
0.013351889327168465,
0.021995779126882553,
0.021110674366354942,
-0.04391622915863991,
0.003643992356956005,
0.0009792641503736377,
0.029622739180922508,
0.032767683267593384,
-0.05457514151930809,
0.06613799184560776,
-0.006591200828552246,
0.014801953919231892,
0.04836058244109154,
-0.0076081291772425175,
-0.03783349320292473,
-0.0008780421339906752,
0.049829479306936264,
-0.0035380625631660223,
0.036213941872119904,
0.018709594383835793,
0.011995985172688961,
0.045309796929359436,
-0.004081836435943842,
-0.06436778604984283,
0.01865309849381447,
-0.027099251747131348,
0.02150614745914936,
-0.0014971442287787795,
0.0886610671877861,
0.07182525843381882,
-0.05788957700133324,
0.01612960919737816,
-0.00486336462199688,
0.008968740701675415,
-0.013088242150843143,
-0.012504450045526028,
0.022523075342178345,
0.019886594265699387,
-0.049791812896728516,
0.05660900101065636,
-0.0269109308719635,
0.10071355104446411,
-0.012287881225347519,
0.02971689961850643,
-0.039057571440935135,
0.02506539598107338,
0.010141033679246902,
0.002395195420831442,
-0.013078825548291206,
0.03256053104996681,
-0.05321924015879631,
0.003973552491515875,
-0.0017313671996816993,
0.018474195152521133,
0.06338851898908615,
0.004039464518427849,
-0.061881959438323975,
-0.01171350572258234,
0.030602004379034042,
0.004011216573417187,
0.041468068957328796,
-0.008855748921632767,
-0.02094118669629097,
-0.0315624363720417,
0.04824759066104889,
-0.004952816758304834,
0.010809569619596004,
-0.04753197357058525,
0.032730020582675934,
-0.010640081018209457,
-0.04617606848478317,
-0.019283970817923546,
0.03367162123322487,
0.05660900101065636,
-0.06338851898908615,
-0.027683043852448463,
0.0191333144903183,
-0.014971441589295864,
-0.018445946276187897,
-0.036213941872119904,
-0.031091636046767235,
0.0039099943824112415,
0.015950705856084824,
-0.03380344435572624,
0.05013079196214676,
-0.006256932858377695,
-0.10576052218675613,
0.04323827847838402,
-0.02982989139854908,
-0.024839410558342934,
0.05785191059112549,
-0.007344481069594622,
-0.06493274122476578,
0.000193322281120345,
-0.01669456996023655,
0.05205165594816208,
-0.017108874395489693,
0.05642068013548851,
-0.08549728989601135,
0.05005546286702156,
-0.025234883651137352,
-0.010781321674585342,
0.010235193185508251,
0.013728530146181583,
-0.09860436618328094,
0.07901908457279205,
-0.032617028802633286,
-0.03438723459839821,
0.015724722295999527,
-0.030865652486681938,
0.027927858754992485,
-0.01267393771559,
0.0037828783970326185,
-0.05913248658180237,
0.03992384672164917,
-0.0005202340544201434,
-0.06711725890636444,
0.04192003607749939,
-0.017570259049534798,
0.037174373865127563,
-0.017965730279684067,
0.040865443646907806,
-0.04753197357058525,
0.0954405888915062,
-0.06293655186891556,
-0.004015924409031868,
0.0016654551727697253,
0.0025352584198117256,
0.029453251510858536,
-0.052993256598711014,
0.03466971591114998,
0.019170979037880898,
0.0003154360456392169,
0.026402467861771584,
-0.030940979719161987,
0.025084227323532104,
0.019528785720467567,
0.026892099529504776,
-0.032372213900089264,
-0.020847026258707047,
-0.017711497843265533,
0.01962294615805149,
0.04120442271232605,
-0.03416125103831291,
0.015668226405978203,
0.01301291398704052,
-0.029886387288570404,
-0.03470738232135773,
-0.013587289489805698,
-0.006313428748399019,
-0.003945304546505213,
-0.015009106136858463,
0.03787115588784218,
-0.01921805925667286,
-0.0366659089922905,
0.019754771143198013,
0.025291379541158676,
-0.014331153593957424,
0.03035718761384487,
0.015348082408308983,
0.003789940383285284,
0.0004001800552941859,
0.01802222616970539,
-0.003615744411945343,
0.08082695305347443,
0.01580946519970894,
-0.010282273404300213,
0.03832312673330307,
-0.005828504916280508,
0.02101651392877102,
-0.03214622661471367,
0.021449651569128036,
-0.029490916058421135,
0.0821075290441513,
-0.03127995505928993,
-0.03131762146949768,
0.022636067122220993,
-0.07529034465551376,
-0.039019908756017685,
0.018163466826081276,
0.000024146893338183872,
0.01621435396373272,
-0.039584867656230927,
0.019029738381505013,
-0.06301187723875046,
0.0011852391762658954,
-0.022071106359362602,
0.041430406272411346,
0.011318033561110497,
0.014896114356815815,
-0.006897220853716135,
-0.03167542815208435,
0.003276768373325467,
-0.003469796385616064,
0.0061580645851790905,
0.00814954936504364,
-0.04711766913533211,
-0.036458756774663925,
-0.04395389184355736,
0.00038635029341094196,
-0.054160840809345245,
0.027645379304885864,
-0.0011305086081847548,
-0.007071416825056076,
0.002768304431810975,
0.008667428977787495,
0.06546004116535187,
-0.007005504798144102,
0.009458373300731182,
-0.04203302785754204,
0.034820374101400375,
-0.01830470561981201,
-0.0033309103455394506,
0.040940772742033005,
-0.01641209051012993,
-0.0006479385774582624,
0.06986673176288605,
-0.01733485795557499,
0.07073300331830978,
-0.008154257200658321,
0.02354000322520733,
-0.01025402545928955,
0.025856338441371918,
-0.019359298050403595,
0.02442510798573494,
0.07668391615152359,
0.007834113202989101,
-0.028379827737808228,
-0.01641209051012993,
0.033690452575683594,
-0.06643930822610855,
0.027494722977280617,
-0.01082840096205473,
-0.03608211502432823,
0.029001284390687943,
0.006699484772980213,
-0.0011770001146942377,
-0.02879413217306137,
-0.020470386371016502,
-0.003938242327421904,
-0.021054178476333618,
0.046025414019823074,
-0.03766400367021561,
0.008403780870139599,
0.013596706092357635,
0.0362892672419548,
0.00455499067902565,
-0.03783349320292473,
-0.07073300331830978,
0.013408386148512363,
-0.00014263771299738437,
-0.0024246203247457743,
-0.024575762450695038,
0.04820992797613144,
0.09152352809906006,
0.08060096949338913,
-0.0018066952470690012,
0.03730619698762894,
0.02402963489294052,
0.009340672753751278,
-0.017024129629135132,
-0.0126551054418087,
0.019359298050403595,
-0.029622739180922508,
-0.019359298050403595,
-0.04892554134130478,
0.001381798181682825,
0.029942883178591728,
0.007212657015770674,
-0.06613799184560776,
-0.02915193885564804,
0.07510202378034592,
0.02442510798573494,
-0.03973552584648132,
-0.03218389302492142,
0.0007485721143893898,
-0.025234883651137352,
0.06368983536958694,
-0.07141095399856567,
-0.023897811770439148,
0.00040488806553184986,
0.022654898464679718,
0.03894457966089249,
0.0445188544690609,
-0.048586566001176834,
0.029603907838463783,
0.007744661066681147,
0.08685319870710373,
0.029453251510858536,
-0.0381159745156765,
-0.01217488944530487,
-0.0034674424678087234,
0.004095960408449173,
0.02950974740087986,
0.003352096537128091,
0.021732131019234657,
-0.01729719340801239,
-0.02090352214872837,
-0.002636480377987027,
0.02834216319024563,
0.0016277912072837353,
0.04564877226948738,
-0.013587289489805698,
0.04647738113999367,
-0.04384090006351471,
0.06851082295179367,
-0.06293655186891556,
0.0003445667971391231,
0.02101651392877102,
0.05770125612616539,
0.09754977375268936,
0.015291585586965084,
-0.0015147991944104433,
0.023991970345377922,
-0.013502545654773712,
0.05781424790620804,
-0.05834154412150383,
0.008022433146834373,
-0.05393485352396965,
-0.02342701144516468,
-0.027155747637152672,
0.002409319393336773,
-0.03135528415441513,
-0.02030089870095253,
-0.017466682940721512,
-0.015583481639623642,
-0.10335002839565277,
-0.03224038705229759,
-0.0020091391634196043,
-0.04387856647372246,
-0.039019908756017685,
-0.010461177676916122,
0.004510264378041029,
-0.032089732587337494,
-0.026251811534166336,
-0.05156202241778374,
-0.022654898464679718,
-0.03981085494160652,
0.02723107486963272,
-0.012118393555283546,
-0.02911427617073059,
-0.04628906026482582,
-0.007961229421198368,
0.017278362065553665,
0.009020528756082058,
-0.004022986628115177,
-0.020752865821123123,
-0.027099251747131348,
0.013370721600949764,
-0.01345546543598175,
0.019961923360824585,
-0.023577667772769928,
0.02642129920423031,
-0.0362892672419548,
-0.004976356867700815,
0.005065808538347483,
0.03495219722390175,
0.021374322474002838,
0.026854434981942177,
-0.05272960662841797,
0.028681140393018723,
-0.026327138766646385,
-0.014943193644285202,
0.07336948066949844,
-0.012965833768248558,
0.026402467861771584,
0.033859942108392715,
0.01677931472659111,
-0.021449651569128036,
-0.08142957836389542,
0.0023504693526774645,
0.024255618453025818,
0.02546086721122265,
0.00029425002867355943,
-0.011995985172688961,
-0.003919410519301891,
-0.018427114933729172,
0.0696784108877182,
-0.016355594620108604,
-0.051034726202487946,
-0.07446173578500748,
-0.018106970936059952,
0.016242602840065956,
0.04112909361720085,
0.04169405251741409,
0.0074763051234185696,
0.03312549367547035,
0.02438744343817234,
0.049076199531555176,
0.014378233812749386,
0.051110055297613144,
0.08142957836389542,
0.02734406664967537,
-0.032014403492212296,
-0.007349188905209303,
-0.03367162123322487,
-0.09174951910972595,
-0.049791812896728516,
-0.044594183564186096,
-0.006068612914532423,
0.0039759064093232155,
0.03856794163584709,
0.0015948351938277483,
0.006068612914532423,
0.0411667563021183,
0.0023893103934824467,
-0.011308617889881134,
0.0036934264935553074,
0.029942883178591728,
-0.006045072805136442,
0.010489425621926785,
-0.0010145740816369653,
-0.022805554792284966,
-0.011110881343483925,
-0.005814380943775177,
-0.031091636046767235,
-0.0005470108008012176,
-0.06820951402187347,
0.026327138766646385,
0.012118393555283546,
0.0540478453040123,
0.01443472970277071,
-0.007330357097089291,
-0.03689189255237579,
-0.04519680514931679,
-0.07028103619813919,
0.0221087709069252,
0.0021303703542798758,
0.025442035868763924,
-0.001588950166478753,
-0.04225901514291763,
-0.05747527256608009,
-0.02161913923919201,
-0.054160840809345245,
0.000012855048225901555,
0.00015992489352356642,
0.02090352214872837,
0.02097885124385357,
-0.04267331585288048,
-0.05013079196214676,
0.025517363101243973,
-0.032730020582675934,
-0.03252286836504936,
0.05510243773460388,
0.02915193885564804,
-0.018069306388497353,
0.049226853996515274,
-0.03815363720059395,
-0.0062381005845963955,
0.09129754453897476,
0.0507710799574852,
0.009321841411292553,
0.03387877345085144,
-0.023125698789954185,
-0.035460662096738815,
0.0286246445029974,
0.023050371557474136,
-0.015837714076042175,
-0.014519473537802696,
0.032372213900089264,
0.013050577603280544,
0.01738193817436695,
0.04519680514931679,
0.03860560432076454,
-0.03152477368712425,
0.0028530482668429613,
0.017080625519156456,
0.04395389184355736,
-0.03743802011013031,
-0.027174578979611397,
-0.028530484065413475,
0.006581784691661596,
-0.03289950639009476,
0.05126070976257324,
-0.021807458251714706,
0.08323745429515839,
-0.00794710498303175,
0.021713299676775932,
-0.05269194394350052,
0.05943379923701286,
0.03924589231610298,
-0.001151106203906238,
0.03828546032309532,
-0.026760274544358253,
0.04572410136461258,
0.012476201169192791,
-0.00890753697603941,
-0.002244539326056838,
-0.03167542815208435,
0.028248002752661705,
-0.05340755730867386,
0.036213941872119904,
-0.07811514288187027,
-0.02101651392877102,
-0.04312528669834137,
0.0285116508603096,
-0.006624157074838877,
0.018050475046038628,
-0.00956665724515915,
0.01507501769810915,
-0.06820951402187347,
-0.0362892672419548,
-0.01930280216038227,
-0.025894002988934517,
0.023878978565335274,
0.0537465363740921,
0.07510202378034592,
-0.01677931472659111,
-0.004529096651822329,
-0.0037640465889126062,
0.04233434051275253,
0.05747527256608009,
0.017711497843265533,
0.05265427753329277,
0.011741753667593002,
-0.014378233812749386,
0.02133665792644024,
0.018709594383835793,
0.06210794299840927,
0.04052646830677986,
-0.07016804069280624,
-0.03747568652033806,
-0.014284074306488037,
0.04165638983249664,
0.006449960637837648,
-0.0026482504326850176,
-0.02542320266366005,
-0.04674103111028671,
-0.09159886091947556,
-0.03984851762652397,
0.004642088431864977,
0.02790902741253376,
0.020809363573789597,
-0.0632755309343338,
0.01317298598587513,
0.03879392519593239,
0.06820951402187347,
0.02794669196009636,
-0.01377560943365097,
-0.03734385967254639,
-0.016478002071380615,
0.026402467861771584,
-0.040865443646907806,
-0.01011278573423624,
-0.06564836204051971,
0.009481913410127163,
-0.03192024305462837,
0.04304995760321617,
-0.03691072389483452,
0.03534767031669617,
-0.01922747492790222,
0.016073113307356834,
-0.0036745944526046515,
0.01693938672542572,
0.021958114579319954,
-0.05385952815413475,
-0.01313532143831253,
0.024406274780631065,
-0.05747527256608009,
-0.013643785379827023,
0.011977153830230236,
-0.034971028566360474,
0.04331360384821892,
0.006638281047344208,
-0.039057571440935135,
0.08067629486322403,
-0.04176938161253929,
0.0028789422940462828,
-0.040225155651569366,
-0.07690989971160889,
0.047983940690755844,
0.016638074070215225,
-0.044782500714063644,
-0.045272134244441986,
-0.05819088593125343,
-0.007664625067263842,
-0.037814661860466,
0.014839617535471916,
0.004672690760344267,
-0.04372790828347206,
-0.06918877363204956,
-0.03871859610080719,
-0.0076881651766598225,
-0.0005328868282958865,
-0.008681553415954113,
0.04949050396680832,
-0.01555523369461298,
-0.03310665860772133,
0.03282418102025986,
-0.011995985172688961,
-0.05627002194523811,
-0.014227577485144138,
-0.06384048610925674,
-0.04320061206817627,
0.003036660375073552,
0.017928065732121468,
0.02001841925084591,
0.015150345861911774,
-0.03864327073097229,
-0.056081704795360565,
-0.05122304707765579,
0.053633544594049454,
0.005362412892282009,
-0.022711394354701042,
0.015159761533141136,
0.011195625178515911,
0.04643971845507622,
0.03363395482301712,
-0.03175075724720955,
-0.017598506063222885,
0.04112909361720085,
0.007518677040934563,
-0.02178862690925598,
0.03408592566847801,
0.04071478918194771,
0.0269862599670887,
-0.030376020818948746,
-0.03691072389483452,
0.01966061070561409,
0.03114813193678856,
0.023483507335186005,
-0.004103022627532482,
0.06218327209353447,
0.09325607866048813,
-0.007980060763657093,
-0.039660196751356125,
0.0474943108856678,
-0.032654691487550735,
0.02911427617073059,
-0.005470696836709976,
0.03598795831203461,
-0.016468586400151253,
-0.02950974740087986,
-0.018276458606123924,
0.008851041086018085,
0.027796035632491112,
0.020734034478664398,
0.008347284980118275,
0.03890691697597504,
0.0760812908411026,
-0.04504615068435669,
0.013398969545960426,
-0.013559041544795036,
-0.01565881073474884,
0.010244608856737614,
-0.01235379371792078,
0.016186106950044632,
-0.08557262271642685,
0.02719341218471527,
0.03242870792746544,
0.03231571614742279,
-0.0022751411888748407,
0.016609827056527138,
-0.0025305503513664007,
-0.003643992356956005,
-0.02670377865433693,
-0.0509217344224453,
0.017447849735617638,
-0.012542113661766052,
-0.09679649025201797,
-0.03608211502432823,
-0.005607228726148605,
-0.006435836665332317,
-0.014811369590461254,
-0.020564546808600426,
-0.031336452811956406,
0.007561048958450556,
0.06587434560060501,
0.021374322474002838,
-0.029001284390687943,
0.0347638763487339,
-0.05031910911202431,
0.009152352809906006,
0.0362892672419548,
0.06941476464271545,
0.024688756093382835,
0.0301876999437809,
0.04293696582317352,
0.004804514814168215,
-0.017645586282014847,
-0.040338147431612015,
-0.088736392557621,
-0.014943193644285202,
0.024688756093382835,
0.059885766357183456,
-0.01861543394625187,
0.016148442402482033,
-0.022730227559804916,
0.024255618453025818,
0.00036369304871186614,
-0.028097348287701607,
-0.028135010972619057,
0.011044969782233238,
-0.008196628652513027,
-0.028455154970288277,
-0.027570052072405815,
0.08986631780862808,
-0.0077022891491651535,
-0.012071313336491585,
-0.022993875667452812,
-0.010960225015878677,
0.0024811162147670984,
-0.013728530146181583,
0.02082819491624832,
0.013248314149677753,
-0.05472579970955849,
0.06233392655849457,
-0.017165370285511017,
0.014886697754263878,
-0.00922768097370863,
-0.07416042685508728,
-0.048548903316259384,
-0.03207090124487877,
-0.056157030165195465,
-0.045309796929359436,
0.012636273168027401,
-0.04180704429745674,
0.019434627145528793,
0.0350651890039444,
-0.020564546808600426,
-0.034048259258270264,
-0.0444435253739357,
-0.010649497620761395,
0.008540312759578228,
0.005296500865370035,
-0.029622739180922508,
0.0042607407085597515,
0.046628039330244064,
0.031731925904750824,
0.01477370597422123,
0.01922747492790222,
0.015611729584634304,
-0.007692873012274504,
0.03708021342754364,
0.03864327073097229,
-0.0004399038152769208,
-0.03047017939388752,
0.036778900772333145,
-0.03849261254072189,
-0.08406605571508408,
0.012099561281502247,
0.003516876371577382,
0.015272754244506359,
-0.002730640349909663,
-0.031449444591999054,
0.08097761124372482,
0.03860560432076454,
-0.03724969923496246,
0.013879185542464256,
0.025894002988934517,
0.013822689652442932,
-0.01447239425033331
] |
23,163 | flask.scaffold | delete | Shortcut for :meth:`route` with ``methods=["DELETE"]``.
.. versionadded:: 2.0
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,164 | flask.app | dispatch_request | Does the request dispatching. Matches the URL and returns the
return value of the view or error handler. This does not have to
be a response object. In order to convert the return value to a
proper response object, call :func:`make_response`.
.. versionchanged:: 0.7
This no longer does the exception handling, this code was
moved to the new :meth:`full_dispatch_request`.
| def dispatch_request(self) -> ft.ResponseReturnValue:
"""Does the request dispatching. Matches the URL and returns the
return value of the view or error handler. This does not have to
be a response object. In order to convert the return value to a
proper response object, call :func:`make_response`.
.. versionchanged:: 0.7
This no longer does the exception handling, this code was
moved to the new :meth:`full_dispatch_request`.
"""
req = request_ctx.request
if req.routing_exception is not None:
self.raise_routing_exception(req)
rule: Rule = req.url_rule # type: ignore[assignment]
# if we provide automatic options for this URL and the
# request came with the OPTIONS method, reply automatically
if (
getattr(rule, "provide_automatic_options", False)
and req.method == "OPTIONS"
):
return self.make_default_options_response()
# otherwise dispatch to the handler for that endpoint
view_args: dict[str, t.Any] = req.view_args # type: ignore[assignment]
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
| (self) -> 'ft.ResponseReturnValue' | [
0.011611023917794228,
-0.038046590983867645,
-0.05097432807087898,
0.010745491832494736,
0.007338609080761671,
0.030569864436984062,
-0.04294513538479805,
0.01598472334444523,
-0.01996248960494995,
-0.044013239443302155,
0.07174710184335709,
-0.008733589202165604,
0.05602019652724266,
-0.0010445087682455778,
0.07484091818332672,
0.048285651952028275,
0.011758348904550076,
-0.007835829630494118,
0.06625925749540329,
-0.059445496648550034,
0.04769635573029518,
-0.02554241009056568,
0.017273815348744392,
-0.03053303249180317,
-0.04246633127331734,
0.01855369843542576,
-0.0069012390449643135,
-0.028820384293794632,
0.03467654064297676,
0.0019025596557185054,
-0.02073594368994236,
0.016012348234653473,
-0.019391607493162155,
0.033682096749544144,
0.03620503097772598,
0.0194284375756979,
0.001244202721863985,
0.004228677600622177,
0.0015848908806219697,
-0.019281113520264626,
-0.13170823454856873,
-0.023700851947069168,
-0.013332881033420563,
-0.020938515663146973,
0.025837060064077377,
0.04117723926901817,
-0.07845037430524826,
0.09495073556900024,
0.03852539509534836,
0.010441634804010391,
0.01881151646375656,
-0.0075089531019330025,
-0.03381100669503212,
-0.03042254038155079,
0.009327491745352745,
0.03484227880835533,
-0.029022956266999245,
0.05344201624393463,
0.0014122448628768325,
-0.0008097100653685629,
0.017421139404177666,
0.0760195180773735,
0.03694165498018265,
0.0047374083660542965,
-0.009101901203393936,
0.015294140204787254,
0.001871483400464058,
0.008586264215409756,
-0.02909661829471588,
0.004962998908013105,
-0.005510862451046705,
0.007228115573525429,
-0.005335914436727762,
-0.0072925700806081295,
0.07123146951198578,
-0.018857555463910103,
0.0036900220438838005,
-0.03117757849395275,
0.018949633464217186,
0.01931794360280037,
0.03955666720867157,
-0.033608436584472656,
-0.015174439176917076,
-0.06655391305685043,
-0.01641749031841755,
-0.04846980795264244,
-0.0019163714023306966,
-0.03163796663284302,
-0.05863520875573158,
0.02423490397632122,
-0.010294309817254543,
-0.03508168086409569,
-0.06246564909815788,
-0.0232588779181242,
-0.04854347184300423,
0.0066940635442733765,
-0.003701531793922186,
-0.022614333778619766,
-0.016260957345366478,
-0.02062545157968998,
0.015229685232043266,
0.07148928195238113,
-0.021251579746603966,
0.043902743607759476,
0.04946425184607506,
-0.019723087549209595,
0.03727313503623009,
-0.008084439672529697,
0.00716826505959034,
-0.020883269608020782,
0.017734205350279808,
-0.01206220593303442,
-0.03287181258201599,
0.02795485220849514,
-0.05734612047672272,
0.001081339898519218,
-0.0306435264647007,
-0.01288169901818037,
-0.01685946434736252,
-0.011159841902554035,
-0.061729028820991516,
-0.010994101874530315,
0.016224127262830734,
-0.058009080588817596,
0.009622140787541866,
0.033129628747701645,
-0.0470333956182003,
-0.025689736008644104,
0.024271735921502113,
-0.005009037908166647,
0.010469257831573486,
0.014999490231275558,
-0.03463970869779587,
0.007485933601856232,
-0.022614333778619766,
0.08566927909851074,
-0.04585479572415352,
0.001930183032527566,
0.0072189075872302055,
0.07786107808351517,
-0.013553868047893047,
-0.009935205802321434,
-0.006353375501930714,
-0.008047608658671379,
0.02714456617832184,
-0.008466563187539577,
0.07727177441120148,
0.008415920659899712,
0.029280774295330048,
0.032742902636528015,
0.05322102829813957,
0.029464930295944214,
0.05760393664240837,
0.018176177516579628,
-0.021951371803879738,
0.018526073545217514,
-0.02637111209332943,
-0.01441940013319254,
0.005326706916093826,
-0.03951983526349068,
-0.014870581217110157,
-0.05130580812692642,
0.0020337707828730345,
-0.07027385383844376,
0.04408689960837364,
-0.03430822864174843,
0.04055111110210419,
0.010984893888235092,
0.02176721580326557,
0.02915186434984207,
-0.07042118161916733,
0.0025045189540833235,
-0.046959731727838516,
-0.00518398592248559,
0.024419059976935387,
0.03694165498018265,
0.015266516245901585,
-0.0008217953145503998,
-0.021730385720729828,
-0.05384716019034386,
0.07395697385072708,
-0.07126829773187637,
-0.035910382866859436,
0.013507829047739506,
0.01996248960494995,
0.03187737241387367,
-0.01220032200217247,
-0.006058725994080305,
-0.028470488265156746,
0.07020019739866257,
-0.017771035432815552,
-0.04721754789352417,
0.04589162766933441,
-0.06242882087826729,
-0.04405007138848305,
-0.03537633270025253,
-0.018912801519036293,
0.020478125661611557,
0.07241006195545197,
-0.041987523436546326,
-0.015192854218184948,
-0.028691474348306656,
0.028359994292259216,
0.005966648459434509,
-0.027660202234983444,
0.05649900063872337,
0.05786175653338432,
-0.022393345832824707,
-0.04533915966749191,
0.0037544765509665012,
-0.08507998287677765,
-0.0020924704149365425,
-0.040624771267175674,
0.022577501833438873,
-0.03128807246685028,
0.04202435538172722,
-0.024382229894399643,
-0.013176348060369492,
-0.016730554401874542,
-0.02920711226761341,
0.028580982238054276,
0.05388398841023445,
0.0066940635442733765,
0.020588619634509087,
-0.006132388487458229,
-0.020588619634509087,
0.014133958145976067,
0.0036900220438838005,
-0.007877265103161335,
-0.04769635573029518,
-0.03097500652074814,
-0.03277973458170891,
0.003487450536340475,
0.007702316623181105,
0.01597551628947258,
-0.010294309817254543,
0.050679679960012436,
0.03644443303346634,
-0.0008580510038882494,
0.023664021864533424,
0.04972206801176071,
0.009221602231264114,
0.03020155243575573,
-0.04055111110210419,
-0.05638850852847099,
-0.006657232530415058,
-0.02703407220542431,
0.047622691839933395,
-0.004295434337109327,
-0.024161241948604584,
0.01296456903219223,
-0.029354436323046684,
-0.029115034267306328,
-0.051011160016059875,
-0.014566724188625813,
-0.04405007138848305,
-0.04143505543470383,
0.045044511556625366,
0.006924258545041084,
0.03180370852351189,
-0.0013109592255204916,
0.0744357779622078,
0.037015318870544434,
-0.004525628872215748,
-0.0508638359606266,
-0.0020740549080073833,
-0.01625175029039383,
-0.023664021864533424,
-0.020441295579075813,
0.020864853635430336,
0.07263105362653732,
0.020312385633587837,
-0.011518945917487144,
0.047291211783885956,
-0.030680358409881592,
-0.00723271956667304,
-0.004539440851658583,
0.012890907004475594,
-0.05171095207333565,
-0.005529277957975864,
0.026223788037896156,
-0.04692289978265762,
-0.02204344980418682,
0.0077851866371929646,
-0.03918835520744324,
-0.0033263142686337233,
0.01157419290393591,
0.08994169533252716,
0.015303348191082478,
-0.035044848918914795,
0.03541316092014313,
0.01985199563205242,
0.013470997102558613,
0.008314634673297405,
-0.024382229894399643,
-0.014069504104554653,
-0.1055581122636795,
-0.016537191346287727,
0.06474918127059937,
0.05443645641207695,
-0.03125124052166939,
0.0032066130079329014,
0.010303517803549767,
0.022227605804800987,
0.05152679607272148,
-0.039630331099033356,
0.04655458778142929,
0.01534938719123602,
-0.01496265921741724,
0.007849641144275665,
-0.004995226394385099,
0.032079942524433136,
-0.021730385720729828,
-0.09399312734603882,
-0.04567063972353935,
0.06695905327796936,
-0.008148894645273685,
0.02154622972011566,
0.029078202322125435,
0.026628930121660233,
-0.0727415457367897,
0.07653515785932541,
-0.021675139665603638,
0.03988814726471901,
0.01904171146452427,
0.00022861217439640313,
0.03327695652842522,
0.021085839718580246,
-0.021269995719194412,
-0.002822187729179859,
0.018360333517193794,
0.0021143388003110886,
-0.06320227682590485,
-0.03287181258201599,
-0.042319003492593765,
-0.06316544115543365,
0.037383630871772766,
-0.008323842659592628,
-0.015008698217570782,
0.01096647884696722,
-0.01815776340663433,
0.0399249792098999,
0.006417830009013414,
-0.027604956179857254,
-0.038930539041757584,
0.012467348016798496,
0.04905910789966583,
0.023498281836509705,
0.062060508877038956,
-0.10688403248786926,
-0.047733187675476074,
-0.0892050713300705,
0.01679500937461853,
0.007352420594543219,
-0.014723257161676884,
-0.029833240434527397,
0.0010260931449010968,
-0.04824882373213768,
-0.02276165783405304,
0.009092693217098713,
0.05005354806780815,
0.009502439759671688,
-0.039372511208057404,
0.01838795840740204,
0.010883607901632786,
-0.030293630436062813,
-0.004815674386918545,
-0.03517375886440277,
-0.005381953436881304,
-0.01618729531764984,
-0.03456604480743408,
-0.011472906917333603,
0.038378071039915085,
-0.010984893888235092,
0.03988814726471901,
0.00522542092949152,
-0.03550523892045021,
-0.011012517847120762,
-0.02034921757876873,
0.05532040446996689,
0.05248440429568291,
0.004613102879375219,
-0.040293291211128235,
-0.01618729531764984,
0.0232404638081789,
-0.056756820529699326,
-0.004693671129643917,
0.059445496648550034,
-0.010441634804010391,
0.031324904412031174,
0.03544999286532402,
-0.05568871647119522,
-0.026849916204810143,
0.041766539216041565,
-0.024308566004037857,
-0.02292739786207676,
-0.03191420063376427,
0.01990724354982376,
-0.029722748324275017,
-0.002282381057739258,
0.06611193716526031,
0.03517375886440277,
-0.010579750873148441,
0.036407604813575745,
0.010377179831266403,
0.03754936903715134,
0.05509941652417183,
0.03276131674647331,
0.023498281836509705,
-0.019060125574469566,
-0.011417659930884838,
-0.03508168086409569,
-0.036849576979875565,
-0.010321932844817638,
-0.057640768587589264,
0.007596427109092474,
-0.005137946922332048,
0.059445496648550034,
0.017632918432354927,
0.020699113607406616,
0.05053235590457916,
0.026831502094864845,
0.05782492458820343,
-0.0022651164326816797,
0.024658462032675743,
0.006399414502084255,
-0.01487978920340538,
0.030017396435141563,
-0.013259218074381351,
-0.010902023874223232,
0.013627530075609684,
0.023885007947683334,
-0.06334959715604782,
0.0050873043946921825,
0.015330971218645573,
-0.01439177617430687,
-0.011261127889156342,
0.009603725746273994,
0.005612148437649012,
0.012025373987853527,
-0.020386047661304474,
0.010211439803242683,
-0.028599396347999573,
-0.04618627578020096,
0.06692221760749817,
-0.010275893844664097,
-0.0021062821615487337,
-0.03587355092167854,
-0.043681759387254715,
-0.05520991235971451,
-0.004168827086687088,
0.02784435823559761,
0.009368927218019962,
0.04257682338356972,
-0.09097296744585037,
-0.02259591780602932,
0.000985809019766748,
-0.011960919946432114,
-0.02220918983221054,
0.03134331852197647,
0.041287731379270554,
-0.02515568397939205,
0.009221602231264114,
-0.038709551095962524,
-0.014207621105015278,
0.1082836166024208,
0.027383968234062195,
0.04416056349873543,
-0.04519183561205864,
-0.051784612238407135,
-0.059335000813007355,
-0.036849576979875565,
-0.059887468814849854,
-0.033682096749544144,
-0.007660881616175175,
0.04441837966442108,
-0.022908981889486313,
0.010542919859290123,
0.01279882900416851,
-0.005137946922332048,
-0.0038511583115905523,
-0.019299529492855072,
0.023940255865454674,
0.01547829620540142,
-0.001965863164514303,
-0.015008698217570782,
0.04994305595755577,
0.028212670236825943,
0.024658462032675743,
-0.04622310772538185,
0.033939916640520096,
0.05520991235971451,
-0.03101183846592903,
0.006210654508322477,
-0.01304743904620409,
0.05786175653338432,
-0.027162982150912285,
-0.024032333865761757,
0.021049009636044502,
0.010846776887774467,
0.026684176176786423,
-0.0454128235578537,
0.014585140161216259,
0.032908644527196884,
0.008682946674525738,
0.013691984117031097,
-0.006224466487765312,
0.027383968234062195,
-0.01540463324636221,
-0.028986124321818352,
-0.03714422509074211,
0.011970127932727337,
0.017301438376307487,
0.013443374074995518,
-0.018691815435886383,
0.013498621061444283,
-0.028912462294101715,
0.0070761870592832565,
-0.0007199341198429465,
-0.0028889442328363657,
0.04552331566810608,
0.030625110492110252,
0.03344269469380379,
-0.0001307794009335339,
-0.0012407497270032763,
0.06552263349294662,
0.02434539794921875,
0.04898544400930405,
0.04810149595141411,
-0.0012959964806213975,
-0.003722249297425151,
0.006648024544119835,
-0.011040140874683857,
0.01348941307514906,
0.05119531601667404,
0.05532040446996689,
-0.10128569602966309,
-0.017688166350126266,
-0.03233775869011879,
0.03537633270025253,
0.004141203593462706,
0.05590970441699028,
-0.03933567926287651,
0.04556014761328697,
-0.0607345849275589,
-0.11351364105939865,
0.026941994205117226,
-0.049869392067193985,
0.05671998858451843,
-0.09428777545690536,
-0.06585411727428436,
0.04298196732997894,
0.09480340778827667,
-0.015662452206015587,
-0.03244825452566147,
0.046701911836862564,
0.038709551095962524,
0.026776254177093506,
0.00627971300855279,
-0.04298196732997894,
-0.013581491075456142,
0.01576373726129532,
-0.01963100954890251,
-0.030183136463165283,
-0.04655458778142929,
0.03970399126410484,
0.06655391305685043,
0.01948368549346924,
-0.02440064400434494,
-0.05053235590457916,
0.003931726329028606,
0.015551958233118057,
-0.004062937572598457,
0.01931794360280037,
0.03125124052166939,
0.03254033252596855,
0.048432979732751846,
-0.024492722004652023,
0.049869392067193985,
-0.035044848918914795,
0.012375270016491413,
-0.04585479572415352,
0.00627971300855279,
-0.04777001589536667,
-0.06150804087519646,
-0.07436211407184601,
-0.0011901069665327668,
0.03270607069134712,
-0.008567849174141884,
-0.03276131674647331,
-0.05366300418972969,
-0.011012517847120762,
-0.029833240434527397,
0.0027531294617801905,
-0.0004836967564187944,
0.04754903167486191,
-0.1252259463071823,
0.030017396435141563,
0.015597997233271599,
0.038267578929662704,
-0.018406372517347336,
0.02795485220849514,
-0.002458479953929782,
-0.025045190006494522,
0.012209529988467693,
0.021730385720729828,
-0.009520855732262135,
-0.00778058310970664,
-0.04497084766626358,
-0.06161853298544884,
-0.0005366415134631097,
-0.0012557124719023705,
0.04364492744207382,
0.017771035432815552,
-0.0651174932718277,
-0.05428913235664368,
-0.04044061526656151,
0.06430720537900925,
0.016555607318878174,
-0.0448603555560112,
0.01937319152057171,
-0.010874400846660137,
-0.029685916379094124,
0.04769635573029518,
-0.009129524230957031,
0.0530737042427063,
0.053147368133068085,
0.013342088088393211,
-0.05053235590457916,
0.02767861820757389,
0.014400984160602093,
0.0036900220438838005,
-0.03036729246377945,
-0.0010669527109712362,
0.017605295404791832,
-0.032853394746780396,
0.0032066130079329014,
0.018452411517500877,
-0.042539991438388824,
-0.0023664021864533424,
0.03430822864174843,
0.004903148394078016,
-0.002254757797345519,
-0.018470827490091324,
-0.011684685945510864,
0.020036151632666588,
-0.020828021690249443,
-0.03955666720867157,
0.07528289407491684,
0.0006865558680146933,
-0.008636907674372196,
0.06909526139497757,
0.026334280148148537,
-0.03101183846592903,
-0.0014525289880111814,
0.0004215441585984081,
0.007545784115791321,
-0.03473178669810295,
-0.0056213559582829475,
0.00820414163172245,
-0.022393345832824707,
0.0010485370876267552,
0.07027385383844376,
-0.09848652780056,
0.02379292994737625,
-0.000530886696651578,
-0.0029948337469249964,
-0.03841490298509598,
-0.0030454767402261496,
0.0032020092476159334,
0.005073492415249348,
-0.03287181258201599,
-0.00202341191470623,
0.07020019739866257,
-0.014640387147665024,
-0.03303755074739456,
0.007504349108785391,
-0.015459880232810974,
-0.0003024183679372072,
-0.024989943951368332,
0.005377349443733692,
0.021675139665603638,
-0.06150804087519646,
0.04957474395632744,
-0.008692154660820961,
-0.04552331566810608,
0.006832180544734001,
-0.054510120302438736,
0.018074892461299896,
-0.060808248817920685,
0.04309245944023132,
-0.022393345832824707,
-0.015174439176917076,
0.015957100316882133,
-0.05638850852847099,
0.027918020263314247,
-0.04662825167179108,
-0.07189442962408066,
0.001208522473461926,
0.09760257601737976,
0.0716366097331047,
-0.018894385546445847,
0.04117723926901817,
-0.01162023190408945,
-0.00820414163172245,
0.01728302240371704,
0.002923473482951522,
-0.00940575823187828,
-0.025634488090872765,
-0.00900061521679163,
0.004191846586763859,
-0.0028935482259839773,
0.058672040700912476,
0.04033012315630913,
-0.004228677600622177,
0.004783447366207838,
-0.029170280322432518,
0.023277293890714645,
0.00662040151655674,
0.029796410351991653,
-0.04994305595755577,
0.0025988989509642124,
0.056867312639951706,
0.008139686658978462,
0.03342428058385849,
0.008521810173988342,
-0.022669579833745956,
0.004042219836264849,
0.038267578929662704,
0.002103980164974928,
0.01740272343158722,
0.0426873154938221,
-0.021269995719194412,
-0.027476046234369278,
0.012780413031578064,
-0.03926201909780502,
-0.009184771217405796,
-0.037825603038072586,
0.021896125748753548,
0.02592913806438446,
-0.02373768389225006,
-0.055173080414533615,
-0.006505304016172886,
-0.018305087462067604,
0.04169287532567978,
0.03375576063990593,
0.03351635858416557,
0.019649425521492958,
0.021269995719194412,
0.08441702276468277,
0.02817583829164505,
-0.01348941307514906,
0.004293132107704878,
-0.0015814380021765828,
0.019060125574469566,
-0.00992599781602621,
-0.03058828040957451,
-0.006845992058515549,
0.05285271629691124,
0.0172369834035635,
-0.05351568013429642,
0.026960410177707672,
-0.03637077286839485,
0.024750540032982826,
0.015330971218645573,
0.03277973458170891,
0.04618627578020096,
0.035265836864709854
] |
23,165 | flask.app | do_teardown_appcontext | Called right before the application context is popped.
When handling a request, the application context is popped
after the request context. See :meth:`do_teardown_request`.
This calls all functions decorated with
:meth:`teardown_appcontext`. Then the
:data:`appcontext_tearing_down` signal is sent.
This is called by
:meth:`AppContext.pop() <flask.ctx.AppContext.pop>`.
.. versionadded:: 0.9
| def do_teardown_appcontext(
self, exc: BaseException | None = _sentinel # type: ignore
) -> None:
"""Called right before the application context is popped.
When handling a request, the application context is popped
after the request context. See :meth:`do_teardown_request`.
This calls all functions decorated with
:meth:`teardown_appcontext`. Then the
:data:`appcontext_tearing_down` signal is sent.
This is called by
:meth:`AppContext.pop() <flask.ctx.AppContext.pop>`.
.. versionadded:: 0.9
"""
if exc is _sentinel:
exc = sys.exc_info()[1]
for func in reversed(self.teardown_appcontext_funcs):
self.ensure_sync(func)(exc)
appcontext_tearing_down.send(self, _async_wrapper=self.ensure_sync, exc=exc)
| (self, exc: BaseException | None = <object object at 0x7fcbff8524f0>) -> NoneType | [
0.02653193101286888,
0.00039853021735325456,
0.008374478667974472,
0.026117932051420212,
0.028637925162911415,
-0.04564788192510605,
-0.023129940032958984,
0.024227937683463097,
0.057743851095438004,
0.0030419921968132257,
-0.0027629928663372993,
-0.04694387689232826,
0.022535942494869232,
-0.018296953290700912,
0.016226958483457565,
0.044855885207653046,
-0.010016974061727524,
-0.012734967283904552,
0.08085579425096512,
-0.08870377391576767,
0.012554967775940895,
0.03254391625523567,
-0.013562965206801891,
-0.03227391839027405,
-0.0366659052670002,
-0.02438993752002716,
-0.07423181086778641,
-0.002126244595274329,
0.0695878192782402,
0.0168029572814703,
0.011771969497203827,
-0.020141948014497757,
0.010862971656024456,
-0.03563990816473961,
0.04600788280367851,
-0.03693590313196182,
-0.010799972340464592,
0.0343979112803936,
0.02806192822754383,
-0.05144386738538742,
-0.04899587482213974,
-0.04604388028383255,
-0.0029834923334419727,
0.013733964413404465,
0.05633985251188278,
0.02582993358373642,
-0.025973932817578316,
0.027125930413603783,
0.020879946649074554,
0.0037799901328980923,
-0.0194939486682415,
-0.008887477219104767,
-0.006056984420865774,
0.025991933420300484,
0.02224794216454029,
0.03596390783786774,
-0.023939937353134155,
-0.019223950803279877,
0.00908997654914856,
-0.0385918989777565,
0.0324719175696373,
0.0691918209195137,
-0.04316388815641403,
0.03596390783786774,
0.06663582473993301,
0.027521928772330284,
-0.02777392789721489,
0.04157989099621773,
-0.012581967748701572,
-0.012554967775940895,
-0.042407888919115067,
-0.009836974553763866,
-0.04892387241125107,
0.053531862795352936,
0.03794390335679054,
-0.022517941892147064,
-0.008387978188693523,
-0.05594385415315628,
-0.0027089929208159447,
-0.016748957335948944,
0.026495931670069695,
-0.007073981687426567,
-0.005048986990004778,
0.03797990083694458,
0.06166784092783928,
-0.00735298078507185,
0.015452959574759007,
0.017189955338835716,
-0.033857911825180054,
0.03974389657378197,
-0.0049409870989620686,
0.01868395134806633,
0.02143794484436512,
-0.01842295192182064,
0.022193942219018936,
-0.005561985541135073,
-0.047123879194259644,
0.04208389297127724,
-0.02825992740690708,
-0.05979584529995918,
0.02838592603802681,
0.021419944241642952,
0.048347875475883484,
0.025883933529257774,
0.0005934359505772591,
0.02377793937921524,
0.01999794878065586,
-0.02244594134390354,
-0.04298388957977295,
-0.06717582792043686,
-0.019763948395848274,
-0.050579868257045746,
-0.011555969715118408,
-0.038987897336483,
-0.023849938064813614,
-0.013688964769244194,
-0.01907995156943798,
0.03257991746068001,
0.06775182485580444,
-0.014759961515665054,
-0.025469934567809105,
-0.014633961953222752,
0.0016267457976937294,
-0.018413951620459557,
0.006875982042402029,
0.02613593265414238,
0.018107952550053596,
0.015209960751235485,
-0.063467837870121,
0.018521951511502266,
0.0001752183015923947,
0.010295973159372807,
-0.008086479268968105,
-0.02653193101286888,
0.05821184813976288,
0.03337191417813301,
-0.008135979063808918,
-0.00040949892718344927,
-0.0036494906526058912,
-0.00008697633893461898,
-0.04726787656545639,
0.0028259926475584507,
-0.002330994000658393,
0.007672480307519436,
0.04247989133000374,
0.03398391231894493,
-0.0267479307949543,
0.00366299063898623,
0.054143860936164856,
-0.017360955476760864,
0.04409988597035408,
0.05983184650540352,
0.0058049848303198814,
-0.017576955258846283,
-0.037511903792619705,
0.012581967748701572,
-0.05320786312222481,
0.05198386684060097,
0.04766387492418289,
-0.03765590116381645,
0.01122297067195177,
-0.005116486921906471,
-0.000388405256671831,
-0.03524390980601311,
0.014777962118387222,
0.038231901824474335,
-0.012473967857658863,
0.010439973324537277,
0.040895894169807434,
0.002248869277536869,
-0.04870787262916565,
-0.0009174350998364389,
0.03848389908671379,
-0.0451078824698925,
-0.0029024924151599407,
0.04193989187479019,
-0.012338967993855476,
-0.004657487850636244,
-0.08006379008293152,
-0.0031387419439852238,
0.02041194774210453,
-0.0725398138165474,
-0.03310191258788109,
-0.010880972258746624,
-0.02114994451403618,
0.02500193566083908,
-0.010124973952770233,
0.03653990477323532,
0.013895964249968529,
0.0024614937137812376,
-0.04197589308023453,
-0.015938958153128624,
0.002443493576720357,
0.01326596550643444,
0.03369591385126114,
0.06659983098506927,
-0.024749936535954475,
-0.00018168703536503017,
0.021311944350600243,
-0.05677185207605362,
0.008162979036569595,
-0.009953973814845085,
0.0622798390686512,
-0.05759984999895096,
-0.021995943039655685,
0.0443158857524395,
0.03362391144037247,
0.01575895957648754,
-0.06105584278702736,
-0.02204994298517704,
0.04726787656545639,
0.002047494752332568,
0.026189932599663734,
-0.03841190040111542,
0.04917587339878082,
0.02460593543946743,
0.019223950803279877,
0.0030892419163137674,
0.006907482165843248,
0.06263983994722366,
-0.012932966463267803,
-0.027125930413603783,
-0.038987897336483,
0.024569936096668243,
0.01052097324281931,
0.017774954438209534,
-0.03202191740274429,
-0.0026932430919259787,
0.06260383874177933,
-0.0010046224342659116,
-0.04269589111208916,
0.06836382299661636,
0.01744195446372032,
-0.06076784431934357,
-0.008374478667974472,
-0.0010259973350912333,
0.003908239770680666,
0.00867597758769989,
-0.03277791664004326,
0.008927976712584496,
0.01857595145702362,
0.0219599436968565,
0.029321923851966858,
-0.06649182736873627,
0.01859395205974579,
0.013229966163635254,
0.041903890669345856,
0.014840961433947086,
0.0672118291258812,
-0.019961947575211525,
0.0014838711358606815,
-0.006628483068197966,
0.019097950309515,
-0.04676387831568718,
-0.03265191614627838,
-0.01413896307349205,
0.018386952579021454,
0.03664790466427803,
-0.008882977068424225,
0.048131875693798065,
0.01709095574915409,
0.0128069669008255,
-0.02581193298101425,
0.06757182627916336,
-0.052415862679481506,
0.010043974034488201,
0.06566382944583893,
-0.03463191166520119,
-0.0067859822884202,
0.0007925604586489499,
-0.03625190630555153,
-0.01601995900273323,
0.011870969086885452,
-0.01632595807313919,
0.0011621220037341118,
0.059471845626831055,
-0.03844790160655975,
-0.019007951021194458,
-0.0477718748152256,
0.033443912863731384,
0.09503975510597229,
-0.04931987076997757,
0.05306386202573776,
0.04795187711715698,
-0.02591993287205696,
0.0029789921827614307,
-0.0049094874411821365,
-0.02114994451403618,
0.024641936644911766,
-0.02982592210173607,
0.015353959985077381,
-0.007357480935752392,
0.030581921339035034,
0.056951854377985,
-0.0008746852399781346,
-0.03022192232310772,
-0.011816969141364098,
0.03722390532493591,
0.03270591422915459,
0.04676387831568718,
0.03340791538357735,
0.0007925604586489499,
-0.027845928445458412,
0.056951854377985,
0.07073982059955597,
0.01302296668291092,
0.10101573914289474,
0.0013803713954985142,
-0.02939392440021038,
0.029573922976851463,
-0.010790972039103508,
0.014939961023628712,
-0.01397696416825056,
-0.01979994960129261,
-0.028871925547719002,
0.01979994960129261,
-0.0047879875637590885,
-0.015038961544632912,
-0.058139849454164505,
0.013382965698838234,
-0.05590785667300224,
-0.02867392636835575,
0.041903890669345856,
0.00674098264425993,
0.03072592057287693,
0.05137186869978905,
0.01162797026336193,
0.015632959082722664,
0.00397798977792263,
0.03126591816544533,
-0.031067918986082077,
-0.0047114877961575985,
-0.05288386344909668,
-0.010466973297297955,
-0.01709095574915409,
-0.006853482220321894,
-0.008482477627694607,
-0.02429993636906147,
0.0002697180607356131,
-0.0702718198299408,
-0.08423978090286255,
-0.027413928881287575,
0.03232791647315025,
0.004724987782537937,
-0.015704959630966187,
-0.028637925162911415,
-0.0013184965355321765,
-0.014426962472498417,
-0.021311944350600243,
0.05533185601234436,
0.023453939706087112,
0.0010636847000569105,
-0.006673482712358236,
0.00863097794353962,
-0.032111916691064835,
-0.042227890342473984,
-0.023957937955856323,
0.022355942055583,
0.07523980736732483,
-0.024659935384988785,
0.010079974308609962,
0.034847911447286606,
0.02471393533051014,
-0.0008009979501366615,
-0.003374991239979863,
-0.07088381797075272,
-0.0481678768992424,
-0.04917587339878082,
-0.060083843767642975,
-0.005471985787153244,
-0.011519970372319221,
-0.0024524936452507973,
0.01888195052742958,
0.030095921829342842,
0.035981908440589905,
-0.014417963102459908,
-0.007303480990231037,
-0.005714985076338053,
-0.026081932708621025,
0.08099979162216187,
0.019745949655771255,
-0.00535948621109128,
0.023345939815044403,
-0.006803982425481081,
-0.029573922976851463,
-0.06818382441997528,
-0.025775933638215065,
-0.007748980075120926,
-0.0477718748152256,
0.03277791664004326,
0.0031477417796850204,
-0.005710485391318798,
-0.034037910401821136,
0.004369488917291164,
0.013427965342998505,
-0.005638485308736563,
-0.07811979949474335,
-0.003237741533666849,
0.04622387886047363,
0.02888992615044117,
0.03362391144037247,
0.039455898106098175,
0.018080953508615494,
-0.04982387274503708,
0.0825117900967598,
0.02860192582011223,
-0.07192781567573547,
-0.017972953617572784,
0.026117932051420212,
0.009710974991321564,
-0.0912957638502121,
-0.014633961953222752,
0.05137186869978905,
-0.04042789712548256,
-0.01741495542228222,
-0.04723187908530235,
0.014318962581455708,
0.08207979053258896,
0.10785572230815887,
0.031301919370889664,
0.026603931561112404,
0.05050786957144737,
0.04348788782954216,
-0.0412558950483799,
-0.019655948504805565,
-0.018278952687978745,
-0.03841190040111542,
-0.005759985186159611,
-0.05759984999895096,
-0.008468978106975555,
0.011249970644712448,
0.04359588772058487,
0.0238859374076128,
0.011654970236122608,
-0.01927795074880123,
-0.0018236202886328101,
-0.021977942436933517,
0.026909930631518364,
-0.015605960041284561,
0.01741495542228222,
-0.030545920133590698,
0.03468590974807739,
-0.015362960286438465,
0.01573195867240429,
0.02764792926609516,
-0.03239991515874863,
-0.01260896772146225,
0.018242953345179558,
0.03340791538357735,
0.012095969170331955,
0.001959744840860367,
-0.000029531172913266346,
-0.023561939597129822,
0.042839888483285904,
-0.03797990083694458,
0.01667695678770542,
0.0234899390488863,
-0.0022376191336661577,
-0.0481678768992424,
0.01879195123910904,
-0.009251976385712624,
-0.00407023960724473,
-0.018233953043818474,
-0.07203581184148788,
0.04651188105344772,
0.0920877605676651,
0.03655790537595749,
-0.001617745845578611,
-0.03531590849161148,
-0.017666954547166824,
-0.029429923743009567,
0.0017943703569471836,
0.02921392396092415,
0.005161486566066742,
-0.03263391554355621,
0.019979948177933693,
0.010367972776293755,
-0.01698295585811138,
0.04096789285540581,
-0.022409942001104355,
0.04168789088726044,
0.03112191893160343,
0.012275968678295612,
0.004142239224165678,
-0.05137186869978905,
-0.06832782179117203,
0.011717969551682472,
-0.0745198056101799,
0.014345962554216385,
-0.005368486046791077,
-0.028961924836039543,
0.030185921117663383,
0.009764974936842918,
0.009139476343989372,
0.030599920079112053,
-0.013886963948607445,
-0.03682790324091911,
-0.03290391340851784,
0.0538918599486351,
-0.05565585568547249,
0.03031192161142826,
-0.009080976247787476,
0.008635478094220161,
-0.019565949216485023,
-0.009350975975394249,
-0.008824476972222328,
-0.0351359099149704,
-0.008549978025257587,
-0.017270956188440323,
-0.007505980785936117,
-0.01378796435892582,
0.005683485418558121,
0.052415862679481506,
-0.05831984803080559,
0.021599944680929184,
-0.01541696023195982,
-0.02012394741177559,
-0.052919864654541016,
0.10202373564243317,
0.05914784595370293,
0.013427965342998505,
-0.00847797840833664,
0.06587982922792435,
0.06476382911205292,
0.01291496679186821,
-0.03643190488219261,
0.08287178725004196,
0.07243181020021439,
0.01831495203077793,
0.06627582758665085,
-0.03310191258788109,
-0.0058814845979213715,
0.008275478146970272,
-0.02982592210173607,
0.06263983994722366,
0.009071976877748966,
-0.05821184813976288,
-0.045287881046533585,
0.024641936644911766,
-0.006623982917517424,
0.0033029913902282715,
0.02735992893576622,
0.002893492579460144,
0.021995943039655685,
-0.057527851313352585,
-0.059867843985557556,
-0.01016097329556942,
0.03481191024184227,
-0.04870787262916565,
-0.024353936314582825,
-0.0645478367805481,
0.011456970125436783,
0.07646380364894867,
0.03783590346574783,
-0.04438788443803787,
-0.05032787099480629,
0.005012987181544304,
0.1085757166147232,
0.0011756219901144505,
-0.011096971109509468,
-0.03826789930462837,
0.06559182703495026,
-0.019331950694322586,
-0.04100389406085014,
0.042227890342473984,
0.06861582398414612,
0.0004896550090052187,
0.004666488151997328,
0.017837954685091972,
-0.03371391445398331,
-0.02766592800617218,
-0.07401581108570099,
0.03646790608763695,
-0.017423955723643303,
-0.03722390532493591,
0.048959873616695404,
-0.02624393254518509,
0.010862971656024456,
0.033245913684368134,
-0.0588238462805748,
-0.012887966819107533,
-0.005368486046791077,
0.012086968868970871,
-0.02062794752418995,
-0.008131478913128376,
-0.04622387886047363,
0.061595842242240906,
0.052019864320755005,
-0.026423931121826172,
0.01678495667874813,
-0.08121579140424728,
-0.0014017464127391577,
0.021887943148612976,
-0.023561939597129822,
0.05205586552619934,
-0.0038114902563393116,
-0.035495907068252563,
0.02694592997431755,
-0.03722390532493591,
0.034037910401821136,
0.03743990138173103,
0.06577183306217194,
0.0397798977792263,
-0.03184191882610321,
-0.003950989805161953,
0.0000408514570153784,
-0.05266786366701126,
0.020285947248339653,
-0.06505183130502701,
0.022085942327976227,
-0.04111189395189285,
0.019529949873685837,
0.06253183633089066,
0.007663480006158352,
-0.02550593391060829,
-0.03554990887641907,
-0.10022374242544174,
0.007235981058329344,
0.001396121340803802,
-0.019853949546813965,
0.007033481728285551,
-0.03830390051007271,
-0.001591870910488069,
0.021491944789886475,
-0.01621795818209648,
0.06458383053541183,
0.025703933089971542,
0.0060839843936264515,
-0.11131171137094498,
-0.004882487468421459,
0.003919489681720734,
-0.027323929592967033,
0.01817995309829712,
-0.020771946758031845,
0.035153910517692566,
-0.005714985076338053,
-0.020465947687625885,
0.003908239770680666,
-0.03733190521597862,
-0.007573480252176523,
0.0761038064956665,
-0.05360386148095131,
-0.000030374922062037513,
0.010205973871052265,
-0.004652988165616989,
0.031301919370889664,
0.028223926201462746,
0.0010220598196610808,
0.02624393254518509,
-0.005341486074030399,
-0.022607941180467606,
0.00366299063898623,
-0.031103920191526413,
-0.046079881489276886,
-0.0971277505159378,
-0.017990954220294952,
-0.02797192707657814,
-0.01573195867240429,
-0.013922964222729206,
0.05050786957144737,
-0.01632595807313919,
-0.005656485445797443,
-0.024749936535954475,
-0.027827927842736244,
0.09410375356674194,
0.019673949107527733,
-0.004994987044483423,
-0.0018641201313585043,
0.07999179512262344,
-0.006205483805388212,
0.063467837870121,
0.009764974936842918,
-0.030167922377586365,
0.01265396736562252,
-0.02489393576979637,
-0.0071729812771081924,
-0.02624393254518509,
-0.006808482576161623,
-0.032219916582107544,
-0.012968966737389565,
-0.010943971574306488,
0.03891589865088463,
-0.016793956980109215,
0.002152119530364871,
0.02591993287205696,
-0.0252179354429245,
0.02797192707657814,
-0.012626967392861843,
0.013625964522361755,
-0.03441591188311577,
0.012239968404173851,
0.003521240781992674,
-0.011366970837116241,
-0.004760987590998411,
-0.07732780277729034,
-0.046295881271362305,
-0.040067896246910095,
-0.08740777522325516,
-0.012095969170331955,
0.003658490488305688,
0.022193942219018936,
-0.020771946758031845,
0.089423768222332,
-0.012554967775940895,
0.017711954191327095,
0.018296953290700912,
-0.021005945280194283,
-0.012788967229425907,
-0.029879922047257423,
0.029879922047257423,
-0.014795961789786816,
-0.03855590149760246,
0.013688964769244194,
-0.004535988438874483,
-0.03468590974807739,
0.00201824470423162,
-0.05817585065960884,
-0.0343979112803936,
-0.01412996370345354,
0.005854485090821981,
-0.0718558132648468,
0.034037910401821136,
0.00014470274618361145,
-0.07307980954647064,
0.052019864320755005,
-0.06404383480548859,
0.039671897888183594,
-0.007550980430096388,
0.00026184305897913873,
0.03430791199207306,
-0.018449952825903893,
-0.07631980627775192,
0.006457483395934105,
0.08906377106904984,
0.01981794834136963,
-0.0227519404143095,
-0.04233589023351669,
0.02377793937921524,
-0.04820387437939644,
-0.01113297138363123,
-0.02683793008327484,
-0.043955884873867035,
-0.05086786672472954,
0.03196791559457779,
0.06083984300494194,
-0.01076397206634283,
-0.006088484078645706,
0.029735922813415527,
0.009809974581003189,
-0.02552393451333046,
0.03697190433740616,
0.021365944296121597,
-0.012140968814492226,
-0.026891930028796196,
-0.0038879900239408016,
0.015965959057211876,
0.039563897997140884,
-0.02764792926609516,
0.0005461861146613955,
0.030077923089265823,
0.007195481564849615,
-0.010295973159372807,
-0.024137938395142555,
-0.014489962719380856,
0.11397570371627808,
-0.0046709878370165825,
0.032525915652513504,
0.04492788389325142
] |
23,166 | flask.app | do_teardown_request | Called after the request is dispatched and the response is
returned, right before the request context is popped.
This calls all functions decorated with
:meth:`teardown_request`, and :meth:`Blueprint.teardown_request`
if a blueprint handled the request. Finally, the
:data:`request_tearing_down` signal is sent.
This is called by
:meth:`RequestContext.pop() <flask.ctx.RequestContext.pop>`,
which may be delayed during testing to maintain access to
resources.
:param exc: An unhandled exception raised while dispatching the
request. Detected from the current exception information if
not passed. Passed to each teardown function.
.. versionchanged:: 0.9
Added the ``exc`` argument.
| def do_teardown_request(
self, exc: BaseException | None = _sentinel # type: ignore
) -> None:
"""Called after the request is dispatched and the response is
returned, right before the request context is popped.
This calls all functions decorated with
:meth:`teardown_request`, and :meth:`Blueprint.teardown_request`
if a blueprint handled the request. Finally, the
:data:`request_tearing_down` signal is sent.
This is called by
:meth:`RequestContext.pop() <flask.ctx.RequestContext.pop>`,
which may be delayed during testing to maintain access to
resources.
:param exc: An unhandled exception raised while dispatching the
request. Detected from the current exception information if
not passed. Passed to each teardown function.
.. versionchanged:: 0.9
Added the ``exc`` argument.
"""
if exc is _sentinel:
exc = sys.exc_info()[1]
for name in chain(request.blueprints, (None,)):
if name in self.teardown_request_funcs:
for func in reversed(self.teardown_request_funcs[name]):
self.ensure_sync(func)(exc)
request_tearing_down.send(self, _async_wrapper=self.ensure_sync, exc=exc)
| (self, exc: BaseException | None = <object object at 0x7fcbff8524f0>) -> NoneType | [
0.03125688061118126,
-0.01086715329438448,
-0.03996902331709862,
0.03549322858452797,
-0.009623877704143524,
-0.03560374304652214,
-0.04361596331000328,
0.05429892987012863,
-0.006078238133341074,
0.004471188876777887,
0.020279213786125183,
-0.0221579410135746,
0.04074261710047722,
-0.000007680539056309499,
0.059382546693086624,
0.04652615264058113,
0.00812734104692936,
0.009642296470701694,
0.07861188054084778,
-0.1197228729724884,
0.015167967416346073,
0.04243715479969978,
0.0031749585177749395,
-0.02628377638757229,
-0.07750675082206726,
0.007409004028886557,
-0.08244301378726959,
-0.01549029815942049,
0.06347154080867767,
0.0076208217069506645,
-0.0013065909733995795,
-0.02943340875208378,
-0.0026269962545484304,
0.020168699324131012,
0.06417146325111389,
0.007593193091452122,
-0.0231341440230608,
0.028696652501821518,
-0.011870983988046646,
-0.0353827141225338,
-0.07544383406639099,
-0.03599053993821144,
0.0030529333744198084,
-0.00030333633185364306,
0.08524268865585327,
0.044610586017370224,
-0.05547773838043213,
0.02072126790881157,
0.00923247542232275,
0.022655252367258072,
0.006184147205203772,
0.00747347017750144,
-0.0010291562648490071,
-0.0012501830933615565,
0.0450894758105278,
0.0014919312670826912,
-0.009936998598277569,
0.009448898024857044,
-0.002412876347079873,
-0.02002134919166565,
0.02460765652358532,
0.09165246784687042,
-0.055882953107357025,
0.04416853189468384,
0.018474161624908447,
0.02608116716146469,
-0.032711975276470184,
0.018860958516597748,
-0.0029147914610803127,
-0.014762751758098602,
-0.019266173243522644,
0.01713879033923149,
-0.04269501939415932,
0.02926763892173767,
0.04645247757434845,
-0.03238043189048767,
0.023152561858296394,
-0.08288507163524628,
-0.026578478515148163,
-0.03742721304297447,
0.035861607640981674,
-0.01249722670763731,
-0.02335517108440399,
-0.014606190845370293,
0.050209932029247284,
-0.041847750544548035,
0.032085731625556946,
-0.008072084747254848,
-0.05260438844561577,
0.03136739507317543,
-0.028328273445367813,
-0.03681939095258713,
0.012119638733565807,
-0.02107122540473938,
-0.00886409729719162,
-0.020002929493784904,
-0.042547669261693954,
0.029378151521086693,
-0.011631538160145283,
-0.05857211351394653,
0.031551580876111984,
0.033375054597854614,
0.028622977435588837,
0.0528622530400753,
0.0023230842780321836,
0.02541808784008026,
0.0326567180454731,
-0.017313769087195396,
-0.0555882528424263,
-0.07168637216091156,
-0.027259977534413338,
-0.03173577040433884,
-0.024441884830594063,
-0.022655252367258072,
-0.031312137842178345,
-0.0353827141225338,
-0.023852480575442314,
0.044721100479364395,
0.04737342149019241,
-0.02002134919166565,
-0.0334303118288517,
-0.0024382025003433228,
-0.006244008429348469,
-0.02387090027332306,
0.009881742298603058,
0.02737049199640751,
-0.003467358648777008,
0.04203194007277489,
-0.06332419067621231,
0.046010423451662064,
-0.009918579831719398,
0.019524037837982178,
-0.0314963273704052,
0.028309855610132217,
0.05190446972846985,
0.07713837176561356,
-0.025786465033888817,
0.011032923124730587,
-0.00304142152890563,
-0.009200242348015308,
-0.015582392923533916,
-0.004088996909558773,
-0.00543357664719224,
-0.03506959229707718,
0.017424283549189568,
0.03571425378322601,
-0.011419720947742462,
-0.009246289730072021,
0.02530757337808609,
-0.014108880423009396,
-0.00754254125058651,
0.061629652976989746,
0.020316051319241524,
-0.028162503615021706,
-0.028972936794161797,
0.01590472273528576,
-0.0750017762184143,
0.054519955068826675,
0.03952696919441223,
-0.028715072199702263,
-0.00036290998104959726,
0.020776523277163506,
-0.008334553800523281,
-0.06244008615612984,
0.03256462141871452,
0.02422085963189602,
0.0030368168372660875,
0.02569437026977539,
0.05422525480389595,
-0.009080519899725914,
-0.083179771900177,
0.011438139714300632,
0.012985327281057835,
-0.03455386310815811,
-0.014956150203943253,
0.03564057871699333,
0.009688343852758408,
-0.01072901114821434,
-0.098725326359272,
-0.024349791929125786,
0.05124139040708542,
-0.07338090986013412,
0.0037252232432365417,
-0.0235209409147501,
-0.019818739965558052,
0.014154927805066109,
-0.03715093061327934,
0.007114301901310682,
-0.014237812720239162,
0.03823764622211456,
0.006759737618267536,
0.008712141774594784,
0.0036745714023709297,
-0.007777382154017687,
0.01664147898554802,
0.031072691082954407,
-0.02484710142016411,
0.007924733683466911,
0.05787219479680061,
-0.04689452797174454,
0.0169085543602705,
0.000721215212251991,
0.036985158920288086,
-0.02888084203004837,
-0.024552399292588234,
0.027388909831643105,
0.051646605134010315,
-0.020739685744047165,
-0.04766812175512314,
0.0157481636852026,
0.006907089147716761,
0.03175419196486473,
0.014431211166083813,
-0.06034033000469208,
0.029838625341653824,
0.03923226520419121,
0.00832073949277401,
0.0006705631967633963,
0.010572451166808605,
0.04571571946144104,
-0.0006849530036561191,
0.01594156213104725,
-0.0021296858321875334,
0.03250936418771744,
0.007680682931095362,
0.001755551784299314,
-0.029746530577540398,
0.021126482635736465,
0.056693386286497116,
-0.04136885702610016,
-0.06332419067621231,
0.038311321288347244,
0.018124202266335487,
-0.04914163425564766,
-0.007966175675392151,
0.031312137842178345,
-0.0011903216363862157,
0.009817276149988174,
-0.03599053993821144,
0.008606232702732086,
0.021550117060542107,
0.03564057871699333,
0.026412708684802055,
-0.08185360580682755,
-0.0073859803378582,
0.005778931081295013,
0.03280406817793846,
0.03212256729602814,
0.041258346289396286,
-0.033688176423311234,
0.02002134919166565,
-0.016926972195506096,
0.009149590507149696,
-0.07198107987642288,
-0.020629173144698143,
0.01694539189338684,
-0.002841115929186344,
0.012045963667333126,
-0.003989994991570711,
0.02912028692662716,
0.0028917680028826,
0.014781170524656773,
-0.04409485682845116,
0.03611947223544121,
-0.04840487986803055,
0.026339033618569374,
0.05186763405799866,
-0.04413169249892235,
0.010250120423734188,
-0.027702031657099724,
0.044610586017370224,
0.007588588632643223,
0.0046507734805345535,
-0.03681939095258713,
-0.014900892972946167,
0.049362663179636,
-0.010821105912327766,
-0.02503129094839096,
-0.017755823209881783,
0.037371955811977386,
0.10218808054924011,
-0.04645247757434845,
0.04869958385825157,
0.01471670437604189,
-0.03173577040433884,
-0.004132741596549749,
-0.019524037837982178,
0.02250790037214756,
-0.0009238231577910483,
-0.025197060778737068,
0.03315402567386627,
-0.0038633651565760374,
0.03805345669388771,
0.03199363499879837,
-0.008449671790003777,
-0.03727986291050911,
-0.04269501939415932,
0.0470418818295002,
0.05006258189678192,
0.06553445756435394,
0.015379784628748894,
0.0023012119345366955,
-0.017774242907762527,
0.04015320912003517,
0.03853234648704529,
-0.03716934844851494,
0.10329321026802063,
0.0026615315582603216,
-0.04671034216880798,
0.017986059188842773,
0.0061703328974545,
0.05190446972846985,
-0.024073507636785507,
-0.041037317365407944,
-0.0419951006770134,
0.011152646504342556,
-0.024405047297477722,
0.011125017888844013,
-0.0726809948682785,
0.01512192003428936,
-0.036635201424360275,
-0.0023553173523396254,
0.024755006656050682,
0.029138706624507904,
0.02639428898692131,
0.03549322858452797,
0.007588588632643223,
0.06129811331629753,
-0.016862506046891212,
0.02562069520354271,
-0.010397471487522125,
-0.032472528517246246,
-0.0913577675819397,
-0.02134750969707966,
-0.010922410525381565,
-0.00997383613139391,
-0.009237080812454224,
-0.03711409121751785,
0.007602402474731207,
-0.053783200681209564,
-0.08892647176980972,
-0.042768694460392,
0.03191995993256569,
-0.017663728445768356,
-0.03685622662305832,
-0.01632835902273655,
0.025491762906312943,
-0.0057835360057652,
0.03462753817439079,
0.04420537129044533,
0.027886221185326576,
0.01570211537182331,
0.01675199344754219,
0.017055904492735863,
-0.04475793614983559,
-0.034848567098379135,
-0.021126482635736465,
-0.006437406875193119,
0.030262259766459465,
-0.023410426452755928,
-0.010369842872023582,
0.06822361797094345,
0.012082801200449467,
-0.002415178809314966,
0.0027766497805714607,
-0.08678987622261047,
-0.047557611018419266,
-0.051609769463539124,
-0.039637479931116104,
0.023336751386523247,
-0.017120370641350746,
0.01578500121831894,
-0.011521024629473686,
0.06177700310945511,
0.030777988955378532,
-0.012331455945968628,
-0.02188165858387947,
-0.034424930810928345,
0.008725956082344055,
0.07338090986013412,
0.012156476266682148,
-0.010121188126504421,
-0.02121857739984989,
-0.008154969662427902,
-0.014127299189567566,
-0.07640161365270615,
-0.000526377756614238,
-0.00012627022806555033,
-0.03571425378322601,
0.01963455229997635,
0.03429599851369858,
-0.0380902923643589,
0.00938903633505106,
0.04280553385615349,
-0.00009504442277830094,
-0.028549300506711006,
-0.07537015527486801,
-0.017516378313302994,
0.012985327281057835,
0.04693136736750603,
0.0707285925745964,
0.0816325843334198,
-0.03860602155327797,
0.0005473868222907186,
0.05717227980494499,
0.022397387772798538,
-0.02079494297504425,
-0.010093559511005878,
0.036285240203142166,
0.025325993075966835,
-0.08583208918571472,
-0.022802602499723434,
0.04943633824586868,
-0.024128764867782593,
-0.03451702743768692,
-0.012294618412852287,
0.0029147914610803127,
0.09695710986852646,
0.10285115987062454,
0.024165602400898933,
0.03490382432937622,
0.03746405243873596,
0.03438809514045715,
-0.04866274446249008,
-0.000560913176741451,
-0.029451826587319374,
-0.02923080138862133,
0.01270904392004013,
-0.048920609056949615,
0.00736756157130003,
0.011134227737784386,
0.018649140372872353,
0.03350398689508438,
-0.006718295160681009,
0.014468048699200153,
0.0003050630912184715,
-0.034111808985471725,
0.02643112652003765,
0.0049638948403298855,
-0.002562530105933547,
-0.01104213297367096,
0.01695460081100464,
-0.0231341440230608,
-0.024312952533364296,
0.015554764308035374,
-0.017037486657500267,
0.02670741081237793,
0.011069761589169502,
0.06737635284662247,
-0.017516378313302994,
-0.01799526996910572,
0.0010446972446516156,
-0.024460304528474808,
0.023060467094182968,
-0.036598362028598785,
0.0005997655680403113,
0.05621449649333954,
0.0011972287902608514,
-0.033338215202093124,
-0.0015506414929404855,
0.01127236895263195,
-0.0047889151610434055,
0.004275488201528788,
-0.05046779662370682,
0.03175419196486473,
0.10955563932657242,
0.04634196311235428,
0.0229315347969532,
-0.006672247778624296,
-0.03455386310815811,
-0.05503568425774574,
0.009854113683104515,
-0.012543274089694023,
-0.012064382433891296,
-0.020739685744047165,
-0.005967725068330765,
0.01403520442545414,
-0.008573999628424644,
0.041958265006542206,
0.004388303961604834,
0.057356465607881546,
-0.011926240287721157,
0.041810911148786545,
-0.0029401176143437624,
-0.009278522804379463,
-0.06737635284662247,
-0.0063268933445215225,
-0.03429599851369858,
-0.00997383613139391,
-0.01034221425652504,
0.0016669108299538493,
0.04310023412108421,
0.0015966887585818768,
-0.018299181014299393,
-0.021365929394960403,
0.009854113683104515,
-0.01943194307386875,
-0.03597211837768555,
0.05702492594718933,
-0.041847750544548035,
0.04987839236855507,
-0.031127948313951492,
0.020868618041276932,
-0.002456621266901493,
-0.040521588176488876,
0.004586306866258383,
-0.024386629462242126,
-0.004335349425673485,
-0.010158025659620762,
0.013003746047616005,
-0.007197186816483736,
0.02363145351409912,
0.03424074128270149,
-0.030777988955378532,
-0.0014723611529916525,
-0.02842036820948124,
-0.02576804719865322,
-0.012837976217269897,
0.0835481509566307,
0.05124139040708542,
0.038348156958818436,
0.04085312783718109,
0.07282834500074387,
0.031348973512649536,
-0.01269062515348196,
-0.008656884543597698,
0.08332712203264236,
0.06789208203554153,
0.026136424392461777,
0.04365280270576477,
-0.0078096152283251286,
0.0013560918159782887,
-0.01908198371529579,
-0.046784017235040665,
0.08015906810760498,
0.0485890693962574,
-0.06929191946983337,
-0.0303175151348114,
-0.005300039425492287,
-0.0017371329013258219,
0.02282102219760418,
0.03879021108150482,
-0.019192498177289963,
0.03650626912713051,
-0.0684078112244606,
-0.07006551325321198,
-0.015591601841151714,
0.015250852331519127,
0.0019167171558365226,
-0.04722607135772705,
-0.08502165973186493,
0.02600749209523201,
0.08096950501203537,
-0.00812273658812046,
-0.050430960953235626,
-0.008877911604940891,
0.021752726286649704,
0.06369256973266602,
0.0209975503385067,
0.0035226154141128063,
-0.06188751757144928,
0.052457038313150406,
0.001420557964593172,
-0.01454172469675541,
0.048920609056949615,
0.08259036391973495,
0.054667308926582336,
-0.0036791760940104723,
0.013326076790690422,
-0.04652615264058113,
-0.03346714749932289,
-0.05186763405799866,
0.0063268933445215225,
-0.00582037353888154,
-0.03571425378322601,
0.06372940540313721,
-0.02243422530591488,
-0.03494065999984741,
0.027112627401947975,
-0.05709860101342201,
0.012607740238308907,
-0.029286056756973267,
0.0062762415036559105,
-0.039084915071725845,
-0.04641563817858696,
-0.0408162921667099,
0.03136739507317543,
0.04939949885010719,
-0.04077945277094841,
0.013629988767206669,
-0.069991834461689,
-0.005511857103556395,
-0.02072126790881157,
-0.0349774993956089,
0.01197228766977787,
0.013823387213051319,
-0.031035853549838066,
0.02821776084601879,
-0.027333654463291168,
0.04133202135562897,
0.04247399419546127,
0.04969420284032822,
0.04170040041208267,
-0.0014044414274394512,
-0.02145802229642868,
0.014422002248466015,
-0.009237080812454224,
-0.02958076074719429,
-0.041074156761169434,
-0.02965443581342697,
-0.026339033618569374,
0.02208426594734192,
0.0314963273704052,
0.020426563918590546,
-0.06969713419675827,
-0.06527659296989441,
-0.06675010919570923,
0.019174078479409218,
-0.011244741268455982,
-0.013777339830994606,
0.012101219967007637,
-0.02873349003493786,
0.02530757337808609,
0.042547669261693954,
-0.029359733685851097,
0.053820036351680756,
0.0361563079059124,
0.008044456131756306,
-0.07455972582101822,
-0.008177993819117546,
-0.018317600712180138,
-0.02317098155617714,
-0.0016012934502214193,
-0.002518785186111927,
0.02398141287267208,
-0.02639428898692131,
-0.017792660742998123,
-0.011999916285276413,
-0.05496200919151306,
-0.018013687804341316,
0.07927495986223221,
-0.011843355372548103,
0.028825584799051285,
0.03672729432582855,
-0.05982460081577301,
0.013095840811729431,
0.021163320168852806,
-0.029525503516197205,
0.03860602155327797,
-0.002615484409034252,
-0.0423634797334671,
0.06048768013715744,
-0.011346044950187206,
-0.06954978406429291,
-0.06487137824296951,
-0.043910667300224304,
-0.027352072298526764,
0.011843355372548103,
-0.006423592567443848,
0.042510829865932465,
0.0057743266224861145,
-0.01745191216468811,
0.025528600439429283,
-0.05551457777619362,
0.08089582622051239,
0.014882474206387997,
0.0005488257738761604,
-0.03215940669178963,
0.0540410652756691,
-0.019413525238633156,
0.029636016115546227,
0.004270883277058601,
-0.005677626933902502,
0.0031220042146742344,
-0.015223223716020584,
-0.009577830322086811,
0.003545639105141163,
-0.010158025659620762,
-0.012460388243198395,
-0.014504887163639069,
-0.008518743328750134,
0.030409609898924828,
-0.024202439934015274,
0.008399019949138165,
0.07024969905614853,
-0.014320697635412216,
0.02457081712782383,
-0.043321263045072556,
0.008693723008036613,
-0.013206354342401028,
0.05278857797384262,
-0.03842183202505112,
-0.017019066959619522,
-0.008910144679248333,
-0.08391653001308441,
0.011207902804017067,
-0.006653829012066126,
-0.09157878905534744,
-0.029028192162513733,
0.03066747449338436,
0.046784017235040665,
-0.03845867142081261,
0.08236934244632721,
0.030446447432041168,
-0.0016507942928001285,
0.022065846249461174,
-0.02401825040578842,
-0.013768130913376808,
-0.013206354342401028,
-0.008214831352233887,
0.0005027785082347691,
-0.03823764622211456,
0.004303116351366043,
0.010250120423734188,
-0.021550117060542107,
0.03398287668824196,
-0.07146535068750381,
-0.023723548278212547,
-0.0020583125296980143,
0.011732841841876507,
-0.052346523851156235,
0.005944701377302408,
0.020463401451706886,
-0.04490528628230095,
0.026412708684802055,
-0.07039704918861389,
-0.003669966710731387,
0.00434455880895257,
-0.007970781065523624,
0.0209975503385067,
-0.010986876673996449,
-0.01200912520289421,
-0.007906314916908741,
0.048957448452711105,
-0.008758189156651497,
-0.043910667300224304,
-0.056546036154031754,
0.008877911604940891,
-0.025289155542850494,
-0.0037252232432365417,
-0.04564204439520836,
-0.04512631520628929,
-0.039637479931116104,
0.04295288398861885,
0.043910667300224304,
0.011686794459819794,
-0.013224773108959198,
0.04427904635667801,
0.03611947223544121,
-0.011530233547091484,
0.050283607095479965,
-0.020942293107509613,
-0.010618498548865318,
-0.02639428898692131,
0.004312325734645128,
-0.00832073949277401,
0.03915859013795853,
-0.0032094940543174744,
0.02818092331290245,
0.039784833788871765,
0.0022517109755426645,
-0.019155660644173622,
0.005940096452832222,
-0.01963455229997635,
0.08929484337568283,
0.01900830864906311,
0.03319086506962776,
0.0018879376584663987
] |
23,167 | flask.scaffold | endpoint | Decorate a view function to register it for the given
endpoint. Used if a rule is added without a ``view_func`` with
:meth:`add_url_rule`.
.. code-block:: python
app.add_url_rule("/ex", endpoint="example")
@app.endpoint("example")
def example():
...
:param endpoint: The endpoint name to associate with the view
function.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, endpoint: str) -> Callable[[~F], ~F] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,168 | flask.app | ensure_sync | Ensure that the function is synchronous for WSGI workers.
Plain ``def`` functions are returned as-is. ``async def``
functions are wrapped to run and wait for the response.
Override this method to change how the app runs async views.
.. versionadded:: 2.0
| def ensure_sync(self, func: t.Callable) -> t.Callable:
"""Ensure that the function is synchronous for WSGI workers.
Plain ``def`` functions are returned as-is. ``async def``
functions are wrapped to run and wait for the response.
Override this method to change how the app runs async views.
.. versionadded:: 2.0
"""
if iscoroutinefunction(func):
return self.async_to_sync(func)
return func
| (self, func: Callable) -> Callable | [
0.020022841170430183,
-0.020812522619962692,
-0.0628938302397728,
0.04980264976620674,
0.03104330040514469,
0.025304939597845078,
-0.03249982371926308,
0.031236333772540092,
0.0021902723237872124,
-0.07510758936405182,
0.024796033278107643,
-0.0017000110819935799,
0.003437312785536051,
-0.06528043001890182,
0.020444003865122795,
0.004975000396370888,
0.016855336725711823,
-0.029499031603336334,
0.01928580366075039,
-0.0704747810959816,
0.012792857363820076,
0.029499031603336334,
0.03850141167640686,
-0.0009169091936200857,
-0.009616578929126263,
0.017346693202853203,
0.003189440118148923,
-0.03339479863643646,
0.052434924989938736,
0.03286834433674812,
0.06601746380329132,
0.001996142091229558,
0.04078271985054016,
-0.007124691735953093,
0.0674564391374588,
0.02232169359922409,
0.01787314936518669,
0.0027134371921420097,
-0.05805044248700142,
-0.10739683359861374,
-0.006760560441762209,
-0.023357056081295013,
-0.01104678213596344,
-0.027077337726950645,
0.04783721640706062,
0.015021517872810364,
-0.004847773816436529,
0.04601217061281204,
0.026550883427262306,
0.03271040692925453,
0.025217197835445404,
0.00148723553866148,
0.025410231202840805,
0.024989066645503044,
-0.015021517872810364,
0.04752134159207344,
-0.0007019400945864618,
-0.004966225940734148,
0.02277795597910881,
-0.033324602991342545,
0.03695714473724365,
0.024989066645503044,
0.006330621894448996,
-0.011266138404607773,
0.019233157858252525,
0.041098590940237045,
-0.02686675637960434,
-0.016609657555818558,
0.025217197835445404,
0.01119594369083643,
-0.04376596212387085,
-0.003998864907771349,
0.0015212357975542545,
-0.019233157858252525,
0.03255246952176094,
0.0025818233843892813,
-0.02477848529815674,
0.005646230652928352,
0.0020104001741856337,
-0.006058620288968086,
0.0413091741502285,
-0.012476984411478043,
-0.0002925664302892983,
-0.02000529132783413,
-0.00840134546160698,
-0.04527513310313225,
-0.04095820337533951,
-0.04148465767502785,
-0.05520758777856827,
-0.015618166886270046,
-0.018776897341012955,
0.031324077397584915,
0.003658862551674247,
0.006023523397743702,
0.036781661212444305,
0.0012963955523446202,
-0.007962632924318314,
-0.03290344029664993,
-0.016030555590987206,
-0.02019832469522953,
0.008252182975411415,
0.0689656138420105,
-0.005185582209378481,
-0.020531747490167618,
0.031025750562548637,
-0.06692998856306076,
-0.005646230652928352,
-0.030341358855366707,
-0.06184092164039612,
-0.020303616300225258,
0.010072840377688408,
-0.021479366347193718,
-0.02440996654331684,
0.012757760472595692,
0.006177072413265705,
0.016688624396920204,
-0.04355538263916969,
0.02941128797829151,
0.06570158898830414,
-0.018654057756066322,
-0.024392416700720787,
0.012310273945331573,
-0.025743652135133743,
-0.055418167263269424,
0.02307627908885479,
0.10367655009031296,
0.027937214821577072,
0.0507853627204895,
0.00371370161883533,
0.021777691319584846,
0.011081879027187824,
0.009809612296521664,
0.022181306034326553,
0.010230776853859425,
0.021549560129642487,
0.007352821994572878,
0.012977116741240025,
0.021093299612402916,
0.009563933126628399,
0.048223283141851425,
-0.04285344108939171,
0.0010726521722972393,
0.013117505237460136,
-0.0000929522211663425,
0.08900599926710129,
0.024094093590974808,
-0.059138450771570206,
-0.0016298170667141676,
-0.01091516762971878,
-0.023550089448690414,
0.07812593132257462,
0.02114594541490078,
-0.00578661821782589,
0.01990000158548355,
-0.06777231395244598,
0.06492945551872253,
0.021654851734638214,
-0.020250970497727394,
0.05654127150774002,
-0.04987284168601036,
-0.06689488887786865,
0.011108201928436756,
0.0390278697013855,
-0.05124162510037422,
0.037378307431936264,
0.002535758540034294,
0.02395370416343212,
-0.020022841170430183,
-0.0011702657211571932,
0.052083954215049744,
-0.015934038907289505,
0.02432222291827202,
0.0011669753585010767,
0.015407584607601166,
0.09763986617326736,
0.0036127977073192596,
0.017732761800289154,
0.030569490045309067,
-0.031324077397584915,
0.02990264631807804,
0.005650617647916079,
-0.025813845917582512,
-0.019689418375492096,
0.0033035054802894592,
-0.0015267196577042341,
0.06738624721765518,
0.007738889195024967,
-0.0036018299870193005,
0.012915696948766708,
-0.005878747906535864,
-0.04313421621918678,
0.021725045517086983,
0.057208117097616196,
0.007984568364918232,
0.009151543490588665,
-0.018197795376181602,
-0.007866116240620613,
0.014609127305448055,
0.023479895666241646,
-0.05148730427026749,
0.04804779589176178,
-0.050609879195690155,
0.060156263411045074,
0.01918051205575466,
-0.020531747490167618,
-0.0034066028892993927,
-0.0040822201408445835,
0.005203130654990673,
-0.044889066368341446,
0.02967451699078083,
-0.02084762044250965,
-0.033552736043930054,
-0.059138450771570206,
0.0033846672158688307,
0.05099594593048096,
-0.02304118312895298,
0.054926808923482895,
0.017171209678053856,
0.028446121141314507,
0.017855601385235786,
0.03899277001619339,
0.006146362517029047,
-0.011590785346925259,
-0.03853651136159897,
-0.0011647817445918918,
-0.009432319551706314,
-0.042116403579711914,
-0.0507853627204895,
-0.0012009756173938513,
-0.01209091767668724,
-0.007905599661171436,
0.0306923296302557,
0.042151499539613724,
-0.009748192504048347,
0.016232363879680634,
-0.040221165865659714,
0.021812787279486656,
0.042116403579711914,
0.04267795756459236,
-0.0187593474984169,
0.022216403856873512,
0.013371958397328854,
0.045310232788324356,
0.027375662699341774,
-0.003531635971739888,
-0.005255776457488537,
0.01216111145913601,
0.004707385785877705,
-0.014275706373155117,
0.009081349708139896,
-0.05046949163079262,
-0.00483022490516305,
-0.020812522619962692,
-0.052961379289627075,
-0.025971783325076103,
0.028779542073607445,
0.011134523898363113,
0.008673346601426601,
-0.004659126978367567,
0.049592066556215286,
-0.01607442833483219,
-0.019829807803034782,
-0.02337460406124592,
0.03432486951351166,
-0.02039135992527008,
-0.047731924802064896,
-0.025585714727640152,
0.025515520945191383,
-0.03218395262956619,
0.0761604979634285,
-0.026656175032258034,
0.012538404203951359,
0.046784304082393646,
-0.03815044090151787,
-0.012117240577936172,
-0.05601481720805168,
-0.03095555678009987,
-0.04717037081718445,
-0.010713360272347927,
-0.010590520687401295,
-0.01354744378477335,
-0.019601676613092422,
-0.015275971032679081,
-0.017206305637955666,
-0.020444003865122795,
-0.0594894215464592,
-0.0010594908380880952,
-0.0291831586509943,
-0.003487764624878764,
-0.048679545521736145,
-0.0031477625016123056,
-0.0021255621686577797,
-0.01768011599779129,
-0.05857690051198006,
-0.005404938478022814,
0.0040317680686712265,
-0.03386860713362694,
-0.023392152041196823,
0.046784304082393646,
-0.03218395262956619,
0.011555688455700874,
-0.015144356526434422,
-0.05103104189038277,
0.04408183693885803,
0.10788819193840027,
-0.01833818480372429,
-0.05513739213347435,
0.0068307542242109776,
-0.06506984680891037,
0.008734766393899918,
-0.09160318225622177,
-0.02846366912126541,
0.022953439503908157,
0.003536023199558258,
0.033447444438934326,
0.1121700257062912,
-0.011134523898363113,
0.06345538049936295,
-0.006747398991137743,
0.056751854717731476,
-0.04032645747065544,
0.005211905110627413,
0.025533070787787437,
0.034202028065919876,
0.007800308987498283,
-0.03178033605217934,
0.025515520945191383,
-0.013029762543737888,
-0.02084762044250965,
0.09300705790519714,
-0.030744975432753563,
0.009835935197770596,
0.032341890037059784,
0.005207518115639687,
-0.0454857163131237,
0.030183423310518265,
0.039203353226184845,
-0.020812522619962692,
0.03892257809638977,
-0.025971783325076103,
0.0341142863035202,
0.008993607014417648,
0.025340037420392036,
0.012494533322751522,
-0.06036684662103653,
0.0010265873279422522,
0.04717037081718445,
-0.011932981200516224,
0.033061377704143524,
-0.10816896706819534,
0.017864374443888664,
-0.006199008319526911,
-0.06900070607662201,
0.05478642135858536,
-0.006475396919995546,
0.03481622785329819,
0.043028924614191055,
-0.024269577115774155,
0.012082143686711788,
-0.07812593132257462,
-0.0038189927581697702,
0.0033320218790322542,
0.0023887897841632366,
0.03650088235735893,
0.0008845541742630303,
0.022076014429330826,
0.017697663977742195,
-0.006642107851803303,
-0.012512081302702427,
0.0029174385126680136,
-0.024392416700720787,
0.001128587988205254,
0.0007918761693872511,
-0.02391860820353031,
-0.002945954678580165,
-0.003965961281210184,
-0.04797760397195816,
-0.03622010722756386,
-0.04903051257133484,
0.02830573357641697,
0.012134788557887077,
0.023444797843694687,
0.02811270020902157,
-0.0632798969745636,
0.013766800053417683,
-0.02337460406124592,
0.02193562686443329,
-0.014337126165628433,
-0.0753883644938469,
-0.012494533322751522,
0.016030555590987206,
-0.0026629851199686527,
-0.05924374237656593,
0.011696076020598412,
0.007405467797070742,
-0.002093755640089512,
0.0006421654834412038,
0.0466088205575943,
0.07763457298278809,
-0.036325398832559586,
-0.0031609239522367716,
-0.0088093476369977,
0.07573933154344559,
0.015828749164938927,
0.005084678530693054,
0.00598842604085803,
-0.0178117286413908,
-0.03293853625655174,
0.0413091741502285,
0.04499435797333717,
-0.04180053249001503,
-0.05552345886826515,
-0.03035890869796276,
-0.042607761919498444,
0.006080555729568005,
-0.003259634133428335,
-0.01997019536793232,
-0.013845767825841904,
-0.0023185957688838243,
-0.0030885362066328526,
0.01168730203062296,
0.028253087773919106,
0.043976545333862305,
0.055383071303367615,
0.017004497349262238,
-0.024094093590974808,
0.05289118364453316,
-0.004939903039485216,
-0.03650088235735893,
0.003994477912783623,
0.07974039018154144,
0.02046155370771885,
-0.033219315111637115,
0.012775309383869171,
0.004279640968888998,
0.024585450068116188,
0.02114594541490078,
0.034237127751111984,
0.03258756920695305,
0.040150970220565796,
0.017197532579302788,
0.010678263381123543,
-0.052540212869644165,
-0.019426191225647926,
0.044924166053533554,
-0.016548236832022667,
-0.03720282390713692,
0.0301307775080204,
0.07510758936405182,
0.004729321226477623,
-0.013819444924592972,
0.04516984522342682,
-0.05275079607963562,
0.05597972124814987,
-0.03039400465786457,
0.02156710810959339,
0.037273015826940536,
-0.06384144723415375,
-0.06924638897180557,
0.008559281937777996,
-0.010143034160137177,
-0.014135317876935005,
-0.005067130085080862,
-0.026199912652373314,
-0.006466622930020094,
0.026164816692471504,
0.007642372511327267,
0.007852954789996147,
-0.01617971807718277,
-0.04088800773024559,
0.02451525628566742,
-0.044959262013435364,
0.009923677891492844,
-0.06022645905613899,
0.04271305352449417,
0.009713095612823963,
-0.042502470314502716,
0.020601941272616386,
0.04478377476334572,
0.015161905437707901,
-0.04376596212387085,
0.06619294732809067,
-0.014714418910443783,
0.07833651453256607,
-0.019584128633141518,
-0.022076014429330826,
0.050609879195690155,
-0.039764903485774994,
0.04674920812249184,
-0.03846631571650505,
-0.021760141476988792,
0.006729850545525551,
0.04804779589176178,
0.019759612157940865,
-0.03467584028840065,
-0.010011420585215092,
-0.024199383333325386,
0.0003051794192288071,
0.009809612296521664,
0.026743916794657707,
0.03906296566128731,
0.00018028343038167804,
-0.014705643989145756,
0.08746173232793808,
0.01305608544498682,
-0.04566119983792305,
-0.09342822432518005,
-0.04692469537258148,
-0.03383351117372513,
-0.0379047654569149,
-0.012713889591395855,
0.010318518616259098,
-0.043941449373960495,
-0.011345106177031994,
0.020549295470118523,
-0.012003174982964993,
-0.03571120277047157,
-0.059664905071258545,
0.0061068786308169365,
-0.04239717870950699,
0.013679057359695435,
-0.020022841170430183,
-0.013828218914568424,
0.037308115512132645,
0.0013600088423117995,
-0.04797760397195816,
0.03141181915998459,
-0.031236333772540092,
-0.017241403460502625,
0.002128852531313896,
-0.02091781422495842,
0.0053259702399373055,
0.007870502769947052,
-0.013012213632464409,
0.03104330040514469,
0.02725282311439514,
-0.07707302272319794,
-0.030902910977602005,
-0.009809612296521664,
-0.01951393485069275,
-0.03699224069714546,
0.006922883912920952,
0.045310232788324356,
0.04071252420544624,
-0.000049080965254688635,
-0.0394139364361763,
0.018741799518465996,
0.014582805335521698,
-0.0583663173019886,
-0.011073105037212372,
-0.10037743300199509,
0.008493474684655666,
0.07384409755468369,
-0.016399074345827103,
-0.017557276412844658,
-0.04980264976620674,
0.002772663254290819,
0.0015804619761183858,
-0.016688624396920204,
-0.010002645663917065,
0.015776103362441063,
0.0150653887540102,
-0.051066141575574875,
0.02330441027879715,
-0.033061377704143524,
0.030551942065358162,
0.09216473251581192,
0.0367465615272522,
0.0031038911547511816,
-0.05127672106027603,
0.008331150747835636,
0.011669754050672054,
0.03137671947479248,
-0.012134788557887077,
-0.0023449184373021126,
0.04127407446503639,
0.0681934803724289,
-0.035342682152986526,
-0.028621606528759003,
-0.08872522413730621,
-0.024883775040507317,
-0.04608236625790596,
0.013257892802357674,
-0.03793986141681671,
-0.03386860713362694,
-0.04127407446503639,
0.021882981061935425,
0.08093369007110596,
-0.029200706630945206,
-0.017478307709097862,
-0.03278060257434845,
0.04190582036972046,
0.009309479966759682,
-0.028604058548808098,
0.06612275540828705,
-0.014688096009194851,
-0.05145220831036568,
0.04334479942917824,
0.004216027446091175,
-0.0015168485697358847,
-0.017039595171809196,
0.06475397199392319,
0.011318783275783062,
-0.0048697092570364475,
0.04667901620268822,
0.027867021039128304,
-0.05029400438070297,
-0.07475661486387253,
0.018022311851382256,
-0.016425397247076035,
-0.010625617578625679,
0.041063494980335236,
0.015407584607601166,
-0.029604323208332062,
0.05654127150774002,
0.005834877025336027,
-0.12747231125831604,
-0.030306262895464897,
0.011678528040647507,
-0.013187699019908905,
0.061489950865507126,
-0.02451525628566742,
0.016302557662129402,
-0.03269285708665848,
0.006563139613717794,
0.04144956171512604,
0.055418167263269424,
-0.027831923216581345,
-0.006492945831269026,
-0.0647890716791153,
-0.011599559336900711,
-0.015741005539894104,
0.061138980090618134,
0.021584657952189445,
0.08479435741901398,
-0.06384144723415375,
-0.05454074218869209,
0.06141975522041321,
0.005207518115639687,
-0.03474603220820427,
0.05369841679930687,
-0.00821708608418703,
0.019619224593043327,
-0.04499435797333717,
0.03509700298309326,
-0.027673987671732903,
0.017048370093107224,
-0.02630520425736904,
0.04141446575522423,
-0.05232963338494301,
-0.07447583973407745,
0.03386860713362694,
-0.0012810406042262912,
-0.014512610621750355,
-0.03944903239607811,
0.00977451540529728,
-0.030148325487971306,
-0.10851993411779404,
0.02630520425736904,
-0.01830308698117733,
-0.021356526762247086,
0.0013983962126076221,
-0.02258492261171341,
-0.008326764218509197,
0.03765908628702164,
0.04271305352449417,
-0.013573765754699707,
-0.0004995838971808553,
-0.019005026668310165,
-0.05376860871911049,
0.051171429455280304,
0.022760406136512756,
0.0023887897841632366,
-0.02872689813375473,
-0.01928580366075039,
0.04846896231174469,
-0.008195150643587112,
-0.0016166557325050235,
-0.042923636734485626,
0.032078661024570465,
-0.02349744364619255,
0.0066377208568155766,
-0.05664656311273575,
0.0036654432769864798,
-0.05018871650099754,
-0.027428308501839638,
-0.021812787279486656,
-0.08051252365112305,
0.05099594593048096,
0.015925265848636627,
0.015635715797543526,
-0.011608334258198738,
-0.01803985983133316,
0.0075370813719928265,
-0.002254982478916645,
-0.0025598877109587193,
-0.0005420841625891626,
-0.011599559336900711,
0.03127143159508705,
0.05043439567089081,
0.024199383333325386,
-0.02333950810134411,
-0.02137407474219799,
0.03399144858121872,
0.01597791165113449,
-0.01055542379617691,
-0.01853121817111969,
-0.004628417547792196,
-0.008045988157391548,
0.03214885666966438,
-0.0032069887965917587,
-0.029341094195842743,
0.05454074218869209,
0.037834569811820984,
-0.0013951058499515057,
-0.05552345886826515,
0.015705909579992294,
-0.010388713330030441,
0.05173298344016075,
-0.01718875765800476,
-0.0807231068611145,
-0.021988272666931152,
0.022339243441820145,
-0.07029929757118225,
0.06840405613183975,
0.0047819665633141994,
-0.008993607014417648,
0.02941128797829151,
-0.04264285787940025,
0.05566384643316269,
0.03318421542644501,
-0.0019423997728154063,
-0.011546914465725422,
0.053979191929101944,
0.06408713012933731,
0.019426191225647926,
-0.009993871673941612,
0.030902910977602005,
-0.13028007745742798,
-0.05415467545390129,
0.005479519721120596,
-0.055874429643154144,
0.023550089448690414,
-0.028674252331256866,
0.07531817257404327,
-0.033447444438934326,
0.02963941916823387,
0.03127143159508705,
0.01634642854332924,
0.017987214028835297,
0.05180317535996437,
0.0424322783946991,
-0.017934568226337433,
0.017250176519155502,
0.0011061039986088872,
-0.0013731702929362655,
-0.017952118068933487,
0.02193562686443329,
-0.010511552914977074,
0.012599823996424675,
-0.020531747490167618,
0.02391860820353031,
-0.03836102411150932,
0.020040389150381088,
0.0348513238132,
0.006326234899461269,
0.03720282390713692,
0.06184092164039612
] |
23,169 | flask.scaffold | errorhandler | Register a function to handle errors by code or exception class.
A decorator that is used to register a function given an
error code. Example::
@app.errorhandler(404)
def page_not_found(error):
return 'This page does not exist', 404
You can also register handlers for arbitrary exceptions::
@app.errorhandler(DatabaseError)
def special_exception_handler(error):
return 'Database connection failed', 500
This is available on both app and blueprint objects. When used on an app, this
can handle errors from every request. When used on a blueprint, this can handle
errors from requests that the blueprint handles. To register with a blueprint
and affect every request, use :meth:`.Blueprint.app_errorhandler`.
.. versionadded:: 0.7
Use :meth:`register_error_handler` instead of modifying
:attr:`error_handler_spec` directly, for application wide error
handlers.
.. versionadded:: 0.7
One can now additionally also register custom exception types
that do not necessarily have to be a subclass of the
:class:`~werkzeug.exceptions.HTTPException` class.
:param code_or_exception: the code as integer for the handler, or
an arbitrary exception
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, code_or_exception: type[Exception] | int) -> Callable[[~T_error_handler], ~T_error_handler] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,170 | flask.app | finalize_request | Given the return value from a view function this finalizes
the request by converting it into a response and invoking the
postprocessing functions. This is invoked for both normal
request dispatching as well as error handlers.
Because this means that it might be called as a result of a
failure a special safe mode is available which can be enabled
with the `from_error_handler` flag. If enabled, failures in
response processing will be logged and otherwise ignored.
:internal:
| def finalize_request(
self,
rv: ft.ResponseReturnValue | HTTPException,
from_error_handler: bool = False,
) -> Response:
"""Given the return value from a view function this finalizes
the request by converting it into a response and invoking the
postprocessing functions. This is invoked for both normal
request dispatching as well as error handlers.
Because this means that it might be called as a result of a
failure a special safe mode is available which can be enabled
with the `from_error_handler` flag. If enabled, failures in
response processing will be logged and otherwise ignored.
:internal:
"""
response = self.make_response(rv)
try:
response = self.process_response(response)
request_finished.send(
self, _async_wrapper=self.ensure_sync, response=response
)
except Exception:
if not from_error_handler:
raise
self.logger.exception(
"Request finalizing failed with an error while handling an error"
)
return response
| (self, rv: 'ft.ResponseReturnValue | HTTPException', from_error_handler: 'bool' = False) -> 'Response' | [
-0.043603647500276566,
-0.029831187799572945,
-0.07081934809684753,
0.017064683139324188,
-0.01074544619768858,
-0.014412615448236465,
-0.05768704041838646,
0.027599792927503586,
0.028934970498085022,
-0.04031142592430115,
0.06379593908786774,
0.033672112971544266,
0.07301416248083115,
-0.012281816452741623,
0.043493907898664474,
0.07564794272184372,
0.04298178479075432,
-0.014879013411700726,
0.025478137657046318,
-0.06723448634147644,
0.016836056485772133,
0.05055389553308487,
-0.005363577976822853,
0.0038615018129348755,
-0.02988605760037899,
-0.01160508207976818,
0.012034899555146694,
-0.013269483111798763,
0.02240539900958538,
0.005651647225022316,
0.014741837047040462,
0.027142539620399475,
0.033324599266052246,
0.027014508843421936,
0.035446252673864365,
0.012510443106293678,
-0.0014403470559045672,
-0.008820410817861557,
0.03224548324942589,
0.035793766379356384,
-0.08837786316871643,
0.005528189241886139,
-0.04813959822058678,
-0.011193553917109966,
0.06130848452448845,
0.03936034068465233,
-0.04411577060818672,
0.07908648252487183,
0.03954324126243591,
0.04239650070667267,
0.019991101697087288,
0.03301366791129112,
0.008619219064712524,
-0.03348921239376068,
0.048505399376153946,
0.02556958980858326,
-0.019222917035222054,
0.027618082240223885,
-0.023740576580166817,
-0.04707876965403557,
-0.0356474444270134,
0.068880595266819,
-0.028221655637025833,
-0.011824563145637512,
0.006808497477322817,
0.052346326410770416,
-0.027819273993372917,
0.02264316938817501,
-0.015199090354144573,
0.009931535460054874,
-0.0385189950466156,
-0.0037677648942917585,
-0.0274351816624403,
0.0054047307930886745,
0.04755431413650513,
-0.018985144793987274,
-0.00732062105089426,
-0.03059937246143818,
-0.006611878518015146,
-0.007256605662405491,
0.02858745865523815,
-0.0028669764287769794,
0.021271411329507828,
-0.06946587562561035,
0.012190365232527256,
-0.03498900309205055,
-0.025624459609389305,
-0.04276230186223984,
-0.03608641028404236,
0.027051089331507683,
-0.0067124743945896626,
-0.00843631848692894,
-0.02149089239537716,
-0.026209743693470955,
-0.026429224759340286,
-0.006227786187082529,
-0.015226525254547596,
-0.013114016503095627,
-0.011952593922615051,
-0.04539607837796211,
0.027691243216395378,
0.03010553866624832,
0.0019398959120735526,
0.022862650454044342,
0.06518599390983582,
0.05512642487883568,
0.02695963904261589,
-0.04715193063020706,
0.03526335209608078,
-0.04053090885281563,
0.033452630043029785,
-0.004046689253300428,
-0.055638547986745834,
0.010288192890584469,
-0.06174744665622711,
-0.026758447289466858,
-0.02288094162940979,
0.006460985168814659,
-0.061125583946704865,
-0.017311599105596542,
-0.011019797995686531,
-0.034495167434215546,
0.004389629233628511,
-0.0408967100083828,
-0.030727403238415718,
0.011376455426216125,
-0.0013477533357217908,
0.026648705825209618,
-0.03138584643602371,
-0.00577510567381978,
-0.02531352825462818,
0.05589460954070091,
0.008271707221865654,
-0.046895869076251984,
-0.02405150979757309,
0.05124891921877861,
-0.034257397055625916,
-0.015958130359649658,
-0.028459427878260612,
0.050261251628398895,
0.01114782877266407,
0.013278627768158913,
-0.012272670865058899,
-0.044298671185970306,
0.07202649861574173,
-0.03420252725481987,
0.0350438728928566,
0.01219951082020998,
-0.03895795717835426,
-0.04696903005242348,
-0.005560196936130524,
0.01938752830028534,
0.08764626085758209,
0.06368619948625565,
-0.026904767379164696,
-0.00316647719591856,
0.004865172319114208,
-0.018582763150334358,
-0.020521515980362892,
-0.026429224759340286,
0.03315998986363411,
-0.0017890024464577436,
0.021161669865250587,
-0.06346672028303146,
0.03749474883079529,
-0.0367814339697361,
0.0747334361076355,
0.004897180013358593,
0.01179712824523449,
0.001799290650524199,
-0.04634716734290123,
0.019241206347942352,
-0.0018038632115349174,
-0.019094886258244514,
-0.019552139565348625,
0.04374996945261955,
0.06566153466701508,
-0.00784188974648714,
-0.042103856801986694,
-0.033105120062828064,
0.05348031222820282,
-0.06756370514631271,
0.020119132474064827,
0.001600385527126491,
-0.007864751853048801,
0.0022416829597204924,
-0.03599495813250542,
-0.014001087285578251,
-0.005990014411509037,
-0.009126770310103893,
0.01459551602602005,
0.03202600032091141,
0.048505399376153946,
-0.05593118816614151,
0.0023011257871985435,
-0.0003800915728788823,
-0.02650238573551178,
0.03445858880877495,
0.06792950630187988,
-0.010178452357649803,
-0.028313107788562775,
-0.010846042074263096,
-0.005816258490085602,
-0.002679502824321389,
-0.042103856801986694,
0.060430560261011124,
-0.02535010688006878,
0.01214464008808136,
-0.056004349142313004,
0.029099581763148308,
-0.013360933400690556,
0.020686127245426178,
-0.03524506464600563,
0.016671445220708847,
-0.019113175570964813,
0.0020176288671791553,
-0.0038935095071792603,
0.01593984104692936,
0.026758447289466858,
0.013342643156647682,
-0.038482412695884705,
-0.013269483111798763,
0.028331397101283073,
0.02884352020919323,
0.010992363095283508,
0.010068711824715137,
-0.06094268336892128,
0.005148669239133596,
0.04590820521116257,
-0.05146839842200279,
-0.07253862172365189,
0.054797202348709106,
0.025606168434023857,
-0.0015478014247491956,
-0.008546059019863605,
-0.017448775470256805,
-0.009428557008504868,
0.012181220576167107,
-0.0898410752415657,
0.018271829932928085,
-0.010644850321114063,
-0.03264786675572395,
0.0030795990023761988,
-0.04257940128445625,
-0.06350330263376236,
0.04510343819856644,
-0.006744482088834047,
0.046859290450811386,
0.02359425649046898,
0.00865122675895691,
-0.03420252725481987,
-0.04835908114910126,
-0.012025754898786545,
-0.06474702805280685,
0.0054824636317789555,
0.0367448516190052,
0.023374775424599648,
-0.0005404159310273826,
0.016909217461943626,
0.03957981988787651,
0.09167008846998215,
0.022112756967544556,
-0.02310042269527912,
0.007768728770315647,
-0.028075335547327995,
-0.021564053371548653,
0.04590820521116257,
-0.05040757358074188,
0.00858721137046814,
-0.0045153736136853695,
0.05417533963918686,
0.03224548324942589,
-0.021289700642228127,
-0.0344037190079689,
-0.03808003291487694,
0.04927358403801918,
-0.011248424649238586,
0.007101139519363642,
-0.04971254989504814,
-0.0016838342417031527,
0.06225956976413727,
-0.029831187799572945,
0.03550112619996071,
-0.012062334455549717,
-0.02767295204102993,
0.024545341730117798,
0.017860302701592445,
0.029593415558338165,
0.0011036944342777133,
-0.01856447197496891,
-0.016269061714410782,
-0.017659110948443413,
0.030562791973352432,
0.03411107510328293,
-0.000858492567203939,
-0.053187672048807144,
-0.0852319598197937,
-0.05637015402317047,
-0.004158716183155775,
0.04294520244002342,
-0.03725697472691536,
0.022277366369962692,
0.019899651408195496,
0.011943449266254902,
0.035190191119909286,
-0.018445586785674095,
0.07264836132526398,
0.0011877147480845451,
-0.024307571351528168,
0.02101534977555275,
-0.005834548734128475,
0.022954102605581284,
-0.0037060356698930264,
-0.10052250325679779,
-0.005761388223618269,
0.014110827818512917,
0.05885760858654976,
-0.0067902072332799435,
0.010416223667562008,
0.013479819521307945,
-0.06800267100334167,
-0.003630588995292783,
0.023137003183364868,
0.01173311285674572,
0.009940681047737598,
-0.04228676110506058,
-0.012949405238032341,
0.03764106705784798,
-0.00931424368172884,
-0.03010553866624832,
-0.03925060108304024,
-0.011358165182173252,
-0.07747694849967957,
-0.005679082591086626,
-0.02953854575753212,
-0.056918855756521225,
0.0572480782866478,
-0.016753749921917915,
-0.01133073028177023,
-0.03873847424983978,
-0.03394646570086479,
0.009986406192183495,
0.00925022829324007,
0.039762724190950394,
-0.05915025249123573,
-0.015665488317608833,
-0.0009613744914531708,
-0.023905187845230103,
0.07886700332164764,
-0.05816258490085602,
-0.06741738319396973,
-0.014979609288275242,
0.0026452087331563234,
0.022624880075454712,
-0.006767344661056995,
-0.016515979543328285,
0.007690995931625366,
-0.011184409260749817,
-0.014659532345831394,
0.031221237033605576,
0.05896734818816185,
0.07806223630905151,
-0.023886898532509804,
-0.0010048134718090296,
0.015903260558843613,
-0.054102178663015366,
-0.000041545725252944976,
-0.034165944904088974,
0.01732989028096199,
0.028075335547327995,
-0.04148199409246445,
-0.001588954241015017,
0.0018495884723961353,
0.08150077611207962,
0.04415235295891762,
0.03524506464600563,
-0.04634716734290123,
0.0019810486119240522,
-0.04777379706501961,
0.07206307351589203,
0.008765540085732937,
-0.0043073236010968685,
-0.03502558171749115,
-0.084061399102211,
0.04334758594632149,
-0.03626931086182594,
0.037421587854623795,
0.00012531591346487403,
-0.08303714543581009,
0.011477051302790642,
0.0013774747494608164,
-0.009849229827523232,
0.013461529277265072,
0.014202279038727283,
0.02114338055253029,
0.011824563145637512,
-0.07894016057252884,
-0.004476507194340229,
-0.005244692321866751,
-0.03517190366983414,
0.03070911206305027,
0.03465978056192398,
0.01436689030379057,
0.014760127291083336,
-0.003747188486158848,
-0.02558787912130356,
0.025075756013393402,
-0.02006426267325878,
0.0677831843495369,
-0.007224597968161106,
0.016086161136627197,
-0.03782397136092186,
0.0002293409634148702,
0.0030430189799517393,
-0.04422551393508911,
0.021106800064444542,
0.03550112619996071,
-0.0018713079625740647,
0.06913665682077408,
0.012592747807502747,
0.02321016415953636,
0.10125411301851273,
0.0332331508398056,
-0.01641538366675377,
0.0014963605208322406,
-0.026319483295083046,
-0.011787982657551765,
0.008075088262557983,
-0.032867345958948135,
0.0030818853992968798,
-0.00216052052564919,
-0.014796707779169083,
-0.05029783397912979,
0.04265256226062775,
-0.03559257462620735,
0.05618724972009659,
-0.008299142122268677,
0.027837563306093216,
0.030032377690076828,
0.028221655637025833,
-0.016433672979474068,
0.02847771905362606,
-0.033562373369932175,
-0.01828097552061081,
0.05205368250608444,
0.020283743739128113,
0.011394745670258999,
-0.026209743693470955,
-0.014074248261749744,
-0.03394646570086479,
0.016954941675066948,
0.025368398055434227,
-0.027526631951332092,
-0.016013000160455704,
-0.02942880429327488,
0.025606168434023857,
0.016598284244537354,
-0.07806223630905151,
-0.10359524190425873,
0.011239279061555862,
0.04166489467024803,
-0.0009379402617923915,
0.07195333391427994,
0.010855186730623245,
-0.005395585671067238,
0.06401542574167252,
0.016077015548944473,
0.016406238079071045,
-0.02955683507025242,
-0.022094465792179108,
-0.03749474883079529,
-0.023447934538125992,
-0.010992363095283508,
-0.020576385781168938,
0.036470502614974976,
0.00633295439183712,
0.016534268856048584,
0.005208111833781004,
0.005793395917862654,
0.008948441594839096,
0.018838824704289436,
0.027581501752138138,
0.06024765968322754,
0.0038157764356583357,
0.02825823612511158,
0.01904001645743847,
0.01687263697385788,
-0.00857806671410799,
0.03133097663521767,
0.013488964177668095,
0.04503027722239494,
-0.0021948146168142557,
0.017668256536126137,
-0.04159173369407654,
-0.021289700642228127,
0.0017432771855965257,
-0.030032377690076828,
-0.0022268223110586405,
0.039762724190950394,
-0.06002817675471306,
0.02672186680138111,
-0.08332978934049606,
0.012857954949140549,
0.012053189799189568,
0.0029744307976216078,
-0.001971903722733259,
-0.0045359497889876366,
0.008248844183981419,
-0.03420252725481987,
0.010608269833028316,
-0.033452630043029785,
0.00930509902536869,
-0.02299068123102188,
-0.02196643501520157,
0.006753627210855484,
0.043823130428791046,
-0.06851479411125183,
-0.005724807735532522,
-0.008504906669259071,
0.009039891883730888,
0.004405633080750704,
0.09715712070465088,
0.049090683460235596,
0.0014003374380990863,
-0.06899033486843109,
0.060320816934108734,
0.034860968589782715,
0.0332331508398056,
0.04294520244002342,
-0.0019364665495231748,
0.0012471575755625963,
-0.034495167434215546,
0.0062643662095069885,
-0.046274006366729736,
0.07645270228385925,
0.016543414443731308,
-0.1039610505104065,
-0.012483007274568081,
-0.008802120573818684,
0.00041695759864524007,
0.029629996046423912,
0.04601794481277466,
-0.02931906469166279,
0.01044365856796503,
-0.0747334361076355,
-0.002828110009431839,
0.05754072219133377,
-0.02368570677936077,
-0.002992721041664481,
-0.07418473064899445,
-0.06599075347185135,
0.0009950968669727445,
0.12568971514701843,
0.027362020686268806,
-0.02593539096415043,
0.020631255581974983,
-0.0006698757060803473,
0.00877468567341566,
-0.0031230382155627012,
-0.05124891921877861,
0.0033013669308274984,
0.05677253380417824,
-0.023155292496085167,
0.006145480554550886,
-0.05647989362478256,
0.07894016057252884,
-0.0010522535303607583,
0.032172322273254395,
-0.023612545803189278,
-0.027179120108485222,
0.010846042074263096,
0.023557676002383232,
-0.01951555907726288,
-0.02346622571349144,
-0.016360513865947723,
0.01272077951580286,
0.02427099086344242,
-0.03723868727684021,
0.03572060540318489,
0.009739489294588566,
0.030379891395568848,
-0.0642349049448967,
-0.020832447335124016,
-0.05929657071828842,
-0.05944289267063141,
-0.03793371096253395,
0.011120393872261047,
0.06595417857170105,
0.022441977635025978,
0.03255641460418701,
-0.008006500080227852,
0.03650708124041557,
-0.02321016415953636,
-0.08011072874069214,
0.04945648834109306,
0.026685286313295364,
-0.054943524301052094,
0.020759286358952522,
-0.004597679246217012,
0.02849600836634636,
0.01476927287876606,
0.0513952411711216,
-0.05611409246921539,
0.04400603100657463,
0.007599545177072287,
-0.0002662070037331432,
-0.031916260719299316,
0.004003250040113926,
-0.025752490386366844,
-0.011687387712299824,
-0.012912825681269169,
-0.014037667773663998,
0.09774240851402283,
0.02088731713593006,
-0.06452754884958267,
-0.04228676110506058,
-0.03583034500479698,
0.001768426038324833,
-0.005189821589738131,
0.03155045956373215,
-0.003562001045793295,
-0.02765466272830963,
-0.007220025174319744,
0.05571170896291733,
-0.03138584643602371,
0.024655083194375038,
0.0466763898730278,
0.00759040005505085,
-0.07290442287921906,
0.0014106255257502198,
-0.07798907905817032,
0.0332331508398056,
0.03808003291487694,
0.005208111833781004,
0.05055389553308487,
0.03910427913069725,
-0.043493907898664474,
0.019222917035222054,
-0.01044365856796503,
-0.04129909351468086,
0.06434464454650879,
-0.016360513865947723,
-0.008898143656551838,
-0.015711214393377304,
-0.031148076057434082,
-0.0074486518278717995,
0.025295237079262733,
-0.0064747026190161705,
0.026264613494277,
-0.033342890441417694,
0.002233681036159396,
0.07901332527399063,
0.013699300587177277,
-0.061820607632398605,
-0.03144071623682976,
-0.002942423103377223,
0.03058108128607273,
0.0011059807147830725,
0.03491584211587906,
0.03200771287083626,
-0.0031138930935412645,
-0.055053263902664185,
0.0886705070734024,
-0.06723448634147644,
0.035903505980968475,
-0.010635705664753914,
-0.0502246730029583,
-0.0033928174525499344,
0.003493413096293807,
-0.03873847424983978,
0.011458761058747768,
-0.0192594975233078,
-0.016077015548944473,
0.017576806247234344,
-0.03244667500257492,
-0.009090189822018147,
-0.0013477533357217908,
-0.04415235295891762,
0.024837983772158623,
-0.006012877449393272,
0.0002154804824385792,
0.06675893813371658,
-0.054467979818582535,
0.013946217484772205,
0.03409278392791748,
-0.03632418066263199,
-0.006319236941635609,
0.010782026685774326,
-0.022917522117495537,
-0.04027484729886055,
0.04484737664461136,
-0.03873847424983978,
-0.018491312861442566,
-0.009295954369008541,
-0.054797202348709106,
0.105058453977108,
-0.033214859664440155,
-0.0583454854786396,
0.0020427778363227844,
0.07484317570924759,
0.0443718321621418,
-0.04762747511267662,
0.01208062469959259,
-0.019643589854240417,
-0.036946043372154236,
0.02814849652349949,
0.02348451502621174,
-0.017448775470256805,
-0.0026017697528004646,
0.03464148938655853,
0.00910848006606102,
-0.009140487760305405,
0.016232483088970184,
-0.029044711962342262,
-0.006415260024368763,
0.028550878167152405,
-0.061820607632398605,
-0.0031230382155627012,
0.06994142383337021,
-0.02439902164041996,
-0.04982228949666023,
-0.020923897624015808,
0.051431819796562195,
-0.027691243216395378,
0.009675473906099796,
-0.025971971452236176,
-0.004330186173319817,
0.003107034368440509,
0.027179120108485222,
-0.007951630279421806,
-0.01517165545374155,
0.00975777953863144,
-0.06339355558156967,
-0.036342471837997437,
-0.035903505980968475,
-0.02990434691309929,
-0.024673372507095337,
0.025478137657046318,
-0.02823994681239128,
0.02158234268426895,
-0.018061494454741478,
-0.0004123850667383522,
0.03178822994232178,
-0.0024165823124349117,
0.10293679684400558,
-0.011943449266254902,
0.0009150776313617826,
-0.0010888337856158614,
-0.03623272851109505,
0.03431226685643196,
0.06328381597995758,
-0.004026113077998161,
0.019168047234416008,
0.016881780698895454,
0.04543266072869301,
-0.010050421580672264,
-0.003770051058381796,
0.005756815429776907,
0.015125930309295654,
0.029392223805189133,
-0.0209970586001873,
0.0029149879701435566,
0.0006561580812558532,
0.019789909943938255,
0.03341605141758919,
0.05289502814412117,
0.034714650362730026,
0.017256729304790497
] |
23,171 | flask.app | full_dispatch_request | Dispatches the request and on top of that performs request
pre and postprocessing as well as HTTP exception catching and
error handling.
.. versionadded:: 0.7
| def full_dispatch_request(self) -> Response:
"""Dispatches the request and on top of that performs request
pre and postprocessing as well as HTTP exception catching and
error handling.
.. versionadded:: 0.7
"""
self._got_first_request = True
try:
request_started.send(self, _async_wrapper=self.ensure_sync)
rv = self.preprocess_request()
if rv is None:
rv = self.dispatch_request()
except Exception as e:
rv = self.handle_user_exception(e)
return self.finalize_request(rv)
| (self) -> flask.wrappers.Response | [
-0.00981169007718563,
-0.004584039561450481,
-0.10434597730636597,
0.07575704902410507,
-0.009100567549467087,
-0.018084116280078888,
-0.042883388698101044,
0.018903257325291634,
-0.0023921621032059193,
-0.05030066519975662,
0.0797177329659462,
0.013079253025352955,
0.04806828126311302,
-0.007691825274378061,
0.044575680047273636,
0.0046402993611991405,
0.01699492707848549,
-0.01806611195206642,
0.0008067640010267496,
-0.062326736748218536,
0.0398588664829731,
0.022143814712762833,
0.010900878347456455,
0.034529950469732285,
-0.01868722029030323,
0.028354885056614876,
-0.027418723329901695,
-0.05141685903072357,
0.04594391584396362,
-0.006971701048314571,
0.024286184459924698,
0.035700149834156036,
-0.04407159239053726,
-0.004570537246763706,
0.05977029725909233,
0.0027364713605493307,
-0.016670871526002884,
-0.03613222390413284,
-0.017066940665245056,
0.012971234507858753,
-0.07352466881275177,
-0.03633026033639908,
-0.02315198816359043,
-0.013925398699939251,
-0.012836211360991001,
0.022539883852005005,
-0.020181477069854736,
0.09015953540802002,
0.06275881081819534,
0.05530552938580513,
-0.0033755814656615257,
-0.0041047073900699615,
-0.026482561603188515,
-0.025312360376119614,
0.03020920418202877,
0.020721569657325745,
-0.016265802085399628,
-0.0032473094761371613,
-0.0334317609667778,
-0.029957160353660583,
0.040831033140420914,
0.06967200338840485,
0.02203579619526863,
0.011332952417433262,
-0.017616035416722298,
-0.01998344250023365,
0.03924676030874252,
0.01718396134674549,
-0.04367552325129509,
0.009505637921392918,
-0.05019264668226242,
0.010846869088709354,
-0.02491629309952259,
-0.010180753655731678,
0.02714867703616619,
-0.005576460622251034,
0.02115364372730255,
-0.0245022214949131,
-0.010216760449111462,
0.013565337285399437,
0.04435964301228523,
-0.010774856433272362,
-0.02615850605070591,
-0.04119109734892845,
0.002720718737691641,
-0.05660175159573555,
0.024052143096923828,
-0.01431246567517519,
-0.09282398968935013,
-0.011242937296628952,
0.007786341477185488,
0.03971484303474426,
-0.000531935365870595,
0.023079976439476013,
0.021837761625647545,
0.014924570918083191,
-0.03809456154704094,
-0.01284521259367466,
-0.06311887502670288,
-0.026014482602477074,
-0.041515152901411057,
0.06999605894088745,
-0.01624779962003231,
-0.015707707032561302,
0.047816239297389984,
0.027130674570798874,
0.08209414035081863,
-0.044467661529779434,
-0.01016275119036436,
-0.017300980165600777,
0.021297669038176537,
-0.06085048243403435,
-0.07248048484325409,
0.04713211953639984,
-0.04738416522741318,
-0.01595974899828434,
-0.008555973879992962,
0.03416988626122475,
0.013952403329312801,
0.0254563856869936,
-0.06779967993497849,
-0.04965255409479141,
0.02174774743616581,
-0.03418789058923721,
-0.044575680047273636,
0.03701437637209892,
-0.0039606825448572636,
0.01380837894976139,
0.028840968385338783,
-0.031883493065834045,
-0.00844795536249876,
0.01922731287777424,
-0.02938106097280979,
-0.013421311974525452,
-0.028354885056614876,
0.056097663938999176,
-0.005472942721098661,
0.0020197229459881783,
-0.015293634496629238,
0.040578991174697876,
0.05577360838651657,
-0.04126310721039772,
0.0009710423182696104,
-0.0065711322240531445,
0.023782096803188324,
0.019713396206498146,
0.03150542825460434,
0.013826382346451283,
-0.010657835751771927,
-0.014600515365600586,
0.02569042518734932,
-0.00686368253082037,
0.056277696043252945,
0.028894977644085884,
-0.008123899810016155,
-0.0002227883815066889,
-0.03679833933711052,
0.0019623381085693836,
-0.0035353591665625572,
0.003326073056086898,
-0.028786959126591682,
-0.0353400893509388,
0.019677389413118362,
-0.057753950357437134,
0.028786959126591682,
-0.01987542398273945,
-0.03687035292387009,
0.013979407958686352,
0.03137940540909767,
0.016337813809514046,
-0.008582978509366512,
0.06509921699762344,
-0.04349549487233162,
-0.02473626099526882,
0.005378426518291235,
0.03398985415697098,
0.03085731528699398,
0.0020669810473918915,
-0.053217168897390366,
-0.019317328929901123,
0.030929328873753548,
-0.03613222390413284,
0.04144313931465149,
-0.06236274540424347,
-0.014681529253721237,
0.03660030663013458,
0.01821913942694664,
-0.031073354184627533,
0.023764094337821007,
0.058978158980607986,
0.029363058507442474,
0.019911430776119232,
0.021729743108153343,
-0.007097722962498665,
0.016769889742136,
-0.021765749901533127,
-0.0019364586332812905,
0.012800205498933792,
0.0931120440363884,
-0.041119083762168884,
-0.03924676030874252,
0.013799377717077732,
0.061102528125047684,
0.010153749026358128,
-0.05732187628746033,
0.08922336995601654,
0.02091960422694683,
0.01790408417582512,
-0.06394701451063156,
0.04119109734892845,
-0.06671949476003647,
0.01658085733652115,
-0.007736832834780216,
0.018777234479784966,
-0.01718396134674549,
0.008709000423550606,
0.055701594799757004,
-0.025366369634866714,
0.014456490986049175,
-0.01572570949792862,
0.0332157239317894,
0.01704893633723259,
0.002763475989922881,
0.012089082971215248,
-0.05242503061890602,
-0.01178302988409996,
-0.021999789401888847,
0.012224106118083,
-0.005945524200797081,
-0.04648400843143463,
-0.003893170738592744,
-0.012962233275175095,
-0.00861448422074318,
-0.011593997478485107,
-0.010846869088709354,
0.023404031991958618,
0.03137940540909767,
0.028408894315361977,
-0.011035901494324207,
-0.017688047140836716,
0.027724776417016983,
-0.011684012599289417,
0.006382099352777004,
-0.10153749585151672,
-0.1018255427479744,
-0.01875923201441765,
-0.002599197905510664,
0.01845317892730236,
0.02610449679195881,
-0.01081086229532957,
0.008659492246806622,
0.020847592502832413,
-0.02615850605070591,
-0.07140029966831207,
-0.024412205442786217,
-0.0006745537393726408,
0.0014166190521791577,
0.01537464838474989,
0.027670767158269882,
0.02898499369621277,
0.003407086944207549,
0.06358695775270462,
0.010090738534927368,
0.007768338546156883,
-0.04860837385058403,
0.02363807149231434,
-0.0026059490628540516,
-0.006409103982150555,
0.010738849639892578,
0.009505637921392918,
0.09195984154939651,
0.012359129264950752,
0.03656429797410965,
0.017652040347456932,
-0.05372125655412674,
-0.02380010113120079,
-0.012935228645801544,
0.019587375223636627,
-0.023296013474464417,
0.0033845831640064716,
0.07957370579242706,
-0.04277537018060684,
-0.027670767158269882,
0.0007741333683952689,
-0.031001340597867966,
-0.020883597433567047,
0.029651109129190445,
0.08778312057256699,
-0.006301085464656353,
-0.04126310721039772,
-0.004712312016636133,
0.04572787880897522,
0.028714947402477264,
-0.029417067766189575,
-0.053397201001644135,
-0.053109150379896164,
-0.08202213048934937,
0.008650490082800388,
0.044935740530490875,
0.06059844046831131,
-0.0017496764194220304,
0.0016202791593968868,
-0.0277427788823843,
-0.01886725053191185,
0.04853636026382446,
-0.051344845443964005,
0.045871902257204056,
0.026770612224936485,
-0.049508530646562576,
-0.03109135664999485,
-0.03557412698864937,
0.029345056042075157,
-0.019119294360280037,
-0.08281426876783371,
-0.041587166488170624,
0.03303569182753563,
0.024412205442786217,
0.05508949235081673,
0.020955611020326614,
0.009658664464950562,
-0.05062472075223923,
0.08382244408130646,
-0.010423796251416206,
0.08000577986240387,
-0.02122565731406212,
0.03613222390413284,
0.04871639236807823,
0.023908119648694992,
-0.059626273810863495,
-0.01475354190915823,
-0.009100567549467087,
-0.007219243794679642,
-0.09174380451440811,
-0.03233357146382332,
-0.05829404294490814,
-0.04871639236807823,
0.007552301045507193,
-0.0331077054142952,
0.014420484192669392,
-0.04126310721039772,
-0.03514205291867256,
0.027058660984039307,
0.039534810930490494,
-0.005490946117788553,
-0.04630397632718086,
-0.009793687611818314,
0.042163264006376266,
0.004685307387262583,
0.06095850095152855,
-0.1286141574382782,
-0.04331546276807785,
-0.09152776747941971,
0.016733882948756218,
0.024790270254015923,
0.005009362939745188,
-0.042163264006376266,
-0.008790014311671257,
-0.03384583070874214,
-0.0017789314733818173,
0.011630003340542316,
0.034998029470443726,
0.05714184418320656,
-0.04767221212387085,
0.03719440847635269,
-0.0034520947374403477,
-0.050876766443252563,
-0.0033913343213498592,
0.017580028623342514,
-0.05552156642079353,
0.025726431980729103,
-0.03472798317670822,
0.0022650151513516903,
-0.03254960849881172,
0.044467661529779434,
0.0018723225221037865,
0.04720413312315941,
-0.036240242421627045,
-0.016652869060635567,
-0.03355778008699417,
0.030119188129901886,
0.038994718343019485,
-0.0030065178871154785,
-0.08144602924585342,
-0.05818602442741394,
-0.00788985937833786,
-0.03708638995885849,
0.03285565972328186,
-0.008519968017935753,
0.0022413861006498337,
0.008844023570418358,
0.06383899599313736,
-0.06002233922481537,
-0.025186339393258095,
0.012071079574525356,
-0.02497030235826969,
0.022881941869854927,
0.011512983590364456,
0.0063595958054065704,
-0.017553023993968964,
-0.027310704812407494,
0.03262161836028099,
0.026752609759569168,
-0.010846869088709354,
0.021837761625647545,
0.030695287510752678,
-0.01837216503918171,
0.06088649109005928,
-0.01951536163687706,
0.04086704179644585,
0.04554784670472145,
-0.024358196184039116,
-0.01875923201441765,
-0.024304186925292015,
0.023115983232855797,
-0.07147231698036194,
-0.004354500211775303,
-0.007385772652924061,
0.014006412588059902,
0.027292702347040176,
0.028894977644085884,
-0.003305819584056735,
0.08115798234939575,
0.016490841284394264,
0.006134557072073221,
-0.011305947788059711,
-0.030533259734511375,
-0.007741333916783333,
-0.013736366294324398,
-0.012548161670565605,
0.015005584806203842,
-0.013448316603899002,
0.06153460219502449,
-0.061030514538288116,
0.04936450347304344,
0.011305947788059711,
-0.011512983590364456,
-0.02921903319656849,
0.059698283672332764,
0.041515152901411057,
0.0008523343130946159,
-0.03145141899585724,
0.02997516468167305,
-0.015275632031261921,
-0.05937422811985016,
0.06974401324987411,
0.028174854815006256,
-0.014348471537232399,
0.005675477907061577,
-0.02756274864077568,
-0.02387211285531521,
-0.02603248506784439,
-0.021063629537820816,
0.022467870265245438,
0.008272425271570683,
-0.06466714292764664,
-0.017634037882089615,
0.024664249271154404,
0.01951536163687706,
-0.0028669938910752535,
0.002090610098093748,
-0.020127467811107635,
-0.006521623581647873,
0.009721674956381321,
-0.001030114945024252,
0.0037986545357853174,
0.055161502212285995,
0.012152093462646008,
0.08274225145578384,
-0.04356750473380089,
-0.027130674570798874,
-0.0121700968593359,
-0.021549712866544724,
-0.010072735138237476,
-0.04450366646051407,
0.03627625107765198,
0.002306647365912795,
-0.02398013137280941,
-0.010423796251416206,
0.05188493803143501,
-0.03038923628628254,
0.035232070833444595,
-0.011612000875175,
0.04342348128557205,
0.007313759997487068,
0.02362006902694702,
-0.05184893310070038,
0.03098333813250065,
-0.0072732530534267426,
0.02597847580909729,
-0.03197350725531578,
0.045763883739709854,
0.03856264427304268,
0.000010777247553050984,
0.023530052974820137,
-0.026230519637465477,
0.02592446655035019,
-0.011747024022042751,
-0.012044074945151806,
0.052929118275642395,
0.019551368430256844,
0.05073273926973343,
-0.06733159720897675,
0.037698496133089066,
0.05462140962481499,
-0.010648834519088268,
0.055701594799757004,
-0.03589818626642227,
-0.0012332124169915915,
0.011305947788059711,
0.017814068123698235,
-0.025024311617016792,
-0.03490801528096199,
0.0019960938952863216,
-0.013412310741841793,
-0.0023966629523783922,
0.009838694706559181,
-0.006035539787262678,
0.021963784471154213,
0.01261117309331894,
0.01163900550454855,
0.04907645657658577,
0.04774422571063042,
0.009069062769412994,
0.006323589477688074,
-0.01821913942694664,
0.028552919626235962,
0.022935951128602028,
0.008411949500441551,
0.01522162277251482,
0.0075613027438521385,
0.010918880812823772,
-0.016418829560279846,
0.0039291768334805965,
-0.014555507339537144,
0.05195695161819458,
0.03809456154704094,
-0.0398588664829731,
-0.03409787267446518,
-0.03609621897339821,
0.002170498948544264,
0.04191122204065323,
0.02045152336359024,
-0.0004084453685209155,
0.010954887606203556,
-0.05368524789810181,
-0.0913117304444313,
0.03409787267446518,
0.0027139675803482533,
0.0028129846323281527,
-0.10650634765625,
-0.08209414035081863,
0.029309049248695374,
0.031469423323869705,
0.03398985415697098,
-0.04727614298462868,
-0.022953955456614494,
0.03719440847635269,
0.028660938143730164,
-0.01061282865703106,
0.0011195678962394595,
-0.014087427407503128,
0.01419544592499733,
-0.03633026033639908,
0.020937606692314148,
-0.0398588664829731,
0.02068556286394596,
0.04403558745980263,
0.0910956934094429,
-0.04212725907564163,
-0.021441694349050522,
-0.018543194979429245,
0.056565746665000916,
-0.03845462575554848,
0.020181477069854736,
0.011846041306853294,
0.025726431980729103,
0.008983547799289227,
0.02021748386323452,
-0.01678789220750332,
-0.018795238807797432,
0.03546610847115517,
-0.05951825529336929,
-0.0036793837789446115,
-0.053253173828125,
-0.05977029725909233,
-0.025600410997867584,
0.0011915803188458085,
0.0353940986096859,
-0.008267924189567566,
-0.0287509523332119,
-0.0530371367931366,
-0.022899944335222244,
0.021549712866544724,
-0.013907396234571934,
0.013187271542847157,
0.05084075778722763,
-0.0399668850004673,
0.03134340047836304,
-0.018255144357681274,
0.030227208510041237,
-0.0023539054673165083,
0.05465741828083992,
0.014717535115778446,
0.012962233275175095,
0.022089805454015732,
-0.009712673723697662,
-0.029957160353660583,
0.04039895907044411,
-0.014951575547456741,
-0.04237930104136467,
-0.003758147358894348,
-0.00433424673974514,
0.0398588664829731,
0.06254277378320694,
-0.07114825397729874,
-0.055629584938287735,
-0.0334857702255249,
0.03755446895956993,
0.04943651705980301,
-0.00022292902576737106,
0.018048109486699104,
-0.021405687555670738,
-0.05174091458320618,
0.05941023677587509,
-0.003627625061199069,
0.05030066519975662,
0.059446241706609726,
-0.02569042518734932,
-0.022197823971509933,
0.0014458741061389446,
-0.008065389469265938,
0.022791925817728043,
-0.01266518235206604,
-0.003355327993631363,
0.04673605039715767,
-0.0029255039989948273,
-0.02891298197209835,
0.03674433007836342,
-0.06466714292764664,
-0.029002996161580086,
0.030119188129901886,
-0.0038031551521271467,
-0.004946351982653141,
-0.041407134383916855,
-0.008650490082800388,
-0.004304991569370031,
-0.02210780791938305,
-0.05919419974088669,
0.0861988514661789,
0.043531499803066254,
-0.028138848021626472,
0.045763883739709854,
0.014672528021037579,
0.009955715388059616,
-0.026716602966189384,
-0.014717535115778446,
-0.013511328026652336,
-0.06560330092906952,
-0.021837761625647545,
-0.010927882976830006,
0.0067826686426997185,
-0.0012883469462394714,
0.09419222921133041,
-0.05184893310070038,
0.002896249061450362,
0.013880391605198383,
-0.02610449679195881,
-0.03708638995885849,
-0.006292084231972694,
-0.015266629867255688,
-0.009865699335932732,
-0.0379505380988121,
0.012224106118083,
0.022305842489004135,
-0.01017175242304802,
0.016022760421037674,
0.0399668850004673,
-0.04201924055814743,
-0.0000023382933704851894,
0.0042172265239059925,
-0.002065856009721756,
0.005324417259544134,
-0.05152487754821777,
0.014537504874169827,
0.028066836297512054,
-0.08742306381464005,
0.01821913942694664,
-0.07510893791913986,
-0.002898499369621277,
-0.03236957639455795,
0.05300113186240196,
-0.018651213496923447,
0.01181003451347351,
0.016616862267255783,
-0.06574732810258865,
0.025024311617016792,
-0.0054279351606965065,
-0.05379326641559601,
-0.00045542221050709486,
0.05883413553237915,
0.07510893791913986,
-0.022197823971509933,
0.010027728043496609,
-0.010513811372220516,
-0.024880286306142807,
0.0774853527545929,
-0.0446476936340332,
0.021261662244796753,
0.0067061553709208965,
0.00511288084089756,
0.036474283784627914,
-0.028552919626235962,
0.011684012599289417,
0.052281007170677185,
-0.0121700968593359,
0.0378425195813179,
-0.030317222699522972,
0.009298602119088173,
0.009802688844501972,
0.04032694920897484,
-0.07154432684183121,
0.0007561302627436817,
0.022197823971509933,
-0.004075452219694853,
0.042883388698101044,
-0.009424624033272266,
-0.014591514132916927,
-0.032711636275053024,
0.02198178693652153,
0.0376264825463295,
-0.02626652456820011,
-0.007804344408214092,
-0.05843806639313698,
-0.006481116637587547,
0.021297669038176537,
-0.06488317996263504,
0.015005584806203842,
-0.009478633292019367,
-0.004088954534381628,
-0.028462903574109077,
-0.03236957639455795,
-0.12508554756641388,
-0.007750335149466991,
-0.005742989480495453,
-0.01569870486855507,
0.022881941869854927,
0.03755446895956993,
-0.016940917819738388,
-0.020721569657325745,
0.061750639230012894,
0.0276347603648901,
-0.009397619403898716,
0.007498291786760092,
-0.002632953692227602,
0.001197206205688417,
0.014123433269560337,
-0.03813057020306587,
0.02974112331867218,
0.04108307883143425,
0.0007741333683952689,
0.0030155195854604244,
-0.04954453557729721,
0.0243401937186718,
0.01892125979065895,
0.028120845556259155,
0.006269580218940973,
0.07352466881275177,
0.050516702234745026
] |
23,172 | flask.scaffold | get | Shortcut for :meth:`route` with ``methods=["GET"]``.
.. versionadded:: 2.0
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,173 | slackeventsapi.server | get_package_info | null | def get_package_info(self):
client_name = __name__.split('.')[0]
client_version = __version__ # Version is returned from version.py
# Collect the package info, Python version and OS version.
package_info = {
"client": "{0}/{1}".format(client_name, client_version),
"python": "Python/{v.major}.{v.minor}.{v.micro}".format(v=sys.version_info),
"system": "{0}/{1}".format(platform.system(), platform.release())
}
# Concatenate and format the user-agent string to be passed into request headers
ua_string = []
for key, val in package_info.items():
ua_string.append(val)
return " ".join(ua_string)
| (self) | [
0.0468016117811203,
-0.012625335715711117,
-0.002007104689255357,
-0.04299088567495346,
0.08390992134809494,
-0.06633619219064713,
0.02848793752491474,
-0.0017099699471145868,
0.007885053753852844,
-0.0289504025131464,
-0.01838766783475876,
-0.0015561997424811125,
-0.04861447960138321,
-0.013097051531076431,
0.017028016969561577,
-0.018063941970467567,
0.011996380984783173,
0.002945911604911089,
0.022790350019931793,
-0.02236488088965416,
-0.02554664947092533,
0.026934050023555756,
-0.0056189680472016335,
-0.029042895883321762,
0.02774799056351185,
0.06722413003444672,
0.042953889816999435,
-0.014345711097121239,
0.07565952092409134,
-0.04273190349340439,
-0.041547991335392,
-0.03102225251495838,
0.021125469356775284,
-0.002612935844808817,
-0.02547265589237213,
0.010303753428161144,
0.04535871371626854,
-0.051352281123399734,
-0.04565469175577164,
-0.0172130037099123,
0.003299698466435075,
-0.01706501469016075,
0.026231100782752037,
-0.06426434218883514,
0.009452815167605877,
0.013420778326690197,
0.0022903652861714363,
-0.021698929369449615,
0.0019666387233883142,
0.013568767346441746,
0.022475872188806534,
-0.00025782507145777345,
-0.009850536473095417,
-0.04831850156188011,
-0.02839544415473938,
0.06422735005617142,
0.021439947187900543,
-0.013781501911580563,
-0.03744128718972206,
0.0887935683131218,
-0.019479088485240936,
0.04162198677659035,
-0.0012590651167556643,
-0.05383110046386719,
-0.04728257656097412,
0.010285255499184132,
0.005840952042490244,
-0.025676140561699867,
-0.014086729846894741,
0.007829558104276657,
0.04062305763363838,
-0.0053414879366755486,
-0.017786461859941483,
-0.00024987643701024354,
0.03364906460046768,
-0.05593995004892349,
-0.028358446434140205,
-0.05997265502810478,
0.020773995667696,
-0.06655818223953247,
-0.020163539797067642,
-0.03888418525457382,
0.0019169236766174436,
-0.061600539833307266,
0.10137265920639038,
-0.017231501638889313,
-0.026453083381056786,
0.015538875013589859,
0.00948056299239397,
0.05464504286646843,
-0.04783753678202629,
0.020126542076468468,
0.00420613307505846,
0.1219431683421135,
-0.045802682638168335,
-0.015955094248056412,
0.008833110332489014,
-0.011330429464578629,
-0.007750938646495342,
0.05679088830947876,
0.010747721418738365,
0.009776541963219643,
-0.056198928505182266,
0.018998123705387115,
-0.052388206124305725,
-0.008837735280394554,
-0.01680603250861168,
0.042065951973199844,
0.03174370154738426,
0.010220509953796864,
-0.028598928824067116,
-0.09175335615873337,
0.008074665442109108,
-0.03364906460046768,
0.045173726975917816,
-0.016935523599386215,
-0.04765255004167557,
-0.012819571420550346,
0.05083431676030159,
0.04798552393913269,
-0.0554959811270237,
0.05926970764994621,
0.027396515011787415,
0.010211260057985783,
-0.023049330338835716,
0.0005332817090675235,
-0.03498096764087677,
-0.032631635665893555,
0.001481048995628953,
-0.03546193242073059,
0.04258391633629799,
-0.014077480882406235,
0.03257614001631737,
0.02719303034245968,
0.011293431743979454,
-0.015048660337924957,
-0.024714211001992226,
-0.02132895588874817,
0.03444450721144676,
0.058899734169244766,
-0.06382037699222565,
-0.01082171592861414,
-0.003935589920729399,
-0.04225093871355057,
-0.022105898708105087,
-0.030504290014505386,
0.027322521433234215,
-0.04854048416018486,
-0.028987400233745575,
-0.09034745395183563,
0.05771581828594208,
-0.04336085915565491,
0.02356729283928871,
-0.03459249436855316,
-0.034389007836580276,
-0.02188391424715519,
-0.012542091310024261,
-0.04243592545390129,
-0.023511797189712524,
-0.012283110059797764,
-0.022938339039683342,
-0.037385791540145874,
0.02885790914297104,
-0.022068900987505913,
0.008712869137525558,
-0.003639611415565014,
0.04783753678202629,
-0.06433834135532379,
0.03229866176843643,
-0.015048660337924957,
-0.04339785873889923,
-0.004210757557302713,
-0.03988311067223549,
-0.023918768391013145,
-0.0045252349227666855,
0.002874229336157441,
0.0006497654248960316,
-0.009207707829773426,
0.037552282214164734,
0.02086648903787136,
0.027008043602108955,
-0.03411152958869934,
-0.08857158571481705,
0.06955496221780777,
-0.025990618392825127,
-0.003526307176798582,
0.04768954589962959,
-0.030337803065776825,
0.021717427298426628,
0.010914209298789501,
-0.027969975024461746,
0.019719572737812996,
0.00983203761279583,
0.03377855196595192,
0.013920241966843605,
-0.01551112625747919,
0.0038037870544940233,
-0.024695711210370064,
-0.04887346178293228,
-0.02545415610074997,
0.00820415560156107,
0.03242815285921097,
-0.01587185077369213,
0.0778423622250557,
0.009850536473095417,
0.008421515114605427,
0.026305094361305237,
-0.048022523522377014,
-0.026434585452079773,
0.01783270761370659,
0.031854692846536636,
0.03560991957783699,
-0.025028686970472336,
-0.01388324424624443,
-0.014845174737274647,
-0.020256033167243004,
0.019719572737812996,
0.0077879359014332294,
-0.022975336760282516,
-0.01523364707827568,
-0.018674397841095924,
0.0013307473855093122,
0.07281072437763214,
0.0019134551985189319,
-0.024233244359493256,
-0.0048096515238285065,
0.01137667614966631,
0.034555498510599136,
0.0208479892462492,
-0.03488847240805626,
0.007140482775866985,
-0.026231100782752037,
0.025491153821349144,
0.06485630571842194,
-0.09463914483785629,
-0.0331496000289917,
-0.026527078822255135,
0.011783646419644356,
0.0409560352563858,
-0.03109624795615673,
0.009184584952890873,
0.009869035333395004,
0.023900268599390984,
0.029560858383774757,
-0.007820308208465576,
-0.032705631107091904,
-0.04273190349340439,
-0.019312601536512375,
0.04617265611886978,
-0.01340227946639061,
-0.00016518725897185504,
-0.03353806957602501,
0.023271314799785614,
0.002749363426119089,
-0.005595844704657793,
-0.02062600664794445,
-0.0038361595943570137,
-0.009466689079999924,
-0.00028831895906478167,
-0.0013145609991624951,
-0.01990455761551857,
0.01934959925711155,
-0.05486702546477318,
0.007103485520929098,
0.01043324451893568,
0.010063271038234234,
0.05409008264541626,
0.007575201336294413,
-0.07340268045663834,
0.02745201252400875,
0.07880429178476334,
0.0739576444029808,
-0.025602145120501518,
-0.04077104851603508,
-0.016769034788012505,
-0.0499463826417923,
-0.01611233316361904,
0.02547265589237213,
-0.04284289851784706,
-0.01910911686718464,
-0.011829893104732037,
0.011071448214352131,
-0.0008359082276001573,
0.01975656859576702,
0.007390214595943689,
-0.03995710611343384,
-0.013781501911580563,
-0.010183512233197689,
-0.020367024466395378,
0.022660858929157257,
-0.016352815553545952,
-0.02996782958507538,
0.00014314783038571477,
-0.0235487949103117,
-0.03768176957964897,
0.022105898708105087,
0.04480375349521637,
0.03773726522922516,
0.0468016117811203,
-0.03925415873527527,
0.0009677111520431936,
0.040253084152936935,
-0.04550670459866524,
-0.04051206633448601,
0.017980698496103287,
0.03666434437036514,
0.04609866067767143,
-0.0374227911233902,
-0.054460056126117706,
0.012125872075557709,
-0.019405094906687737,
-0.014493700116872787,
0.03235415741801262,
0.0057530831545591354,
-0.09523110091686249,
0.006419035140424967,
-0.0382552295923233,
0.04069705307483673,
0.001094889477826655,
0.024529224261641502,
-0.021994907408952713,
0.05712386220693588,
0.0442487969994545,
0.009924530982971191,
0.03222466632723808,
0.058011800050735474,
0.006395911797881126,
0.015104155987501144,
-0.005988941062241793,
0.030892763286828995,
-0.027174532413482666,
0.03773726522922516,
-0.021069973707199097,
0.025121180340647697,
0.0604536235332489,
0.04757855460047722,
-0.0034708110615611076,
-0.0738096535205841,
-0.033260591328144073,
-0.03425952047109604,
-0.0019261729903519154,
-0.03235415741801262,
-0.05656890198588371,
0.035017963498830795,
-0.07225576788187027,
-0.02593512088060379,
0.04987238720059395,
-0.02371528185904026,
-0.02086648903787136,
-0.02856193110346794,
-0.026286596432328224,
0.0018290550215169787,
-0.010525737889111042,
-0.03988311067223549,
0.039217159152030945,
-0.03932815045118332,
-0.057456839829683304,
-0.01459544338285923,
0.027618499472737312,
0.08087614178657532,
-0.0355544239282608,
-0.007454960141330957,
0.05697587504982948,
0.02195790968835354,
-0.08990348875522614,
-0.06641019135713577,
0.03847721219062805,
0.06504128873348236,
0.08013619482517242,
-0.021125469356775284,
-0.005022386088967323,
-0.015659116208553314,
0.005840952042490244,
-0.014206971041858196,
-0.0386991985142231,
0.00003873157038469799,
-0.006044437177479267,
-0.04043807089328766,
-0.10115067660808563,
-0.05298016220331192,
-0.019867561757564545,
0.028746917843818665,
-0.00040899383020587265,
-0.024214746430516243,
0.010285255499184132,
-0.029079893603920937,
0.018933378159999847,
-0.027710992842912674,
-0.06019464135169983,
0.017471984028816223,
-0.02856193110346794,
-0.022660858929157257,
-0.019386595115065575,
0.06097158417105675,
0.00011525532318046317,
-0.03257614001631737,
-0.008916353806853294,
-0.04484075307846069,
-0.024473726749420166,
-0.009924530982971191,
0.0179991964250803,
-0.07392064481973648,
-0.011737399734556675,
-0.043508850038051605,
-0.013467025011777878,
-0.027378017082810402,
0.03379705175757408,
-0.04498874023556709,
0.025990618392825127,
-0.013910993002355099,
-0.007057238835841417,
-0.005655965302139521,
-0.015400134958326817,
-0.06526327133178711,
0.0318731926381588,
0.04550670459866524,
-0.046912603080272675,
0.048725470900535583,
0.09308525919914246,
0.0001888886617962271,
0.009711796417832375,
0.03710831329226494,
-0.014132976531982422,
0.02641608752310276,
-0.013152547180652618,
-0.005244370084255934,
-0.026046114042401314,
-0.019608579576015472,
0.032705631107091904,
0.03622037544846535,
0.050723325461149216,
0.0018244304228574038,
-0.03999410197138786,
-0.005387734621763229,
-0.00579008087515831,
0.004370308481156826,
0.007445710711181164,
0.015603619627654552,
-0.03126273676753044,
-0.03146621957421303,
-0.06711313873529434,
0.00221058982424438,
0.023696783930063248,
0.04180697351694107,
0.025565149262547493,
0.03892118111252785,
-0.032483648508787155,
-0.03462949022650719,
0.001767778187058866,
-0.06407935917377472,
-0.047060590237379074,
-0.008546381257474422,
-0.008463136851787567,
-0.026453083381056786,
-0.041437000036239624,
0.00943431630730629,
-0.0067288875579833984,
-0.0003286402497906238,
-0.032946113497018814,
0.006946247071027756,
-0.009110590443015099,
-0.012828821316361427,
0.05608793720602989,
0.025084182620048523,
0.03218767046928406,
-0.057456839829683304,
0.036053888499736786,
-0.0027262400835752487,
-0.04506273567676544,
0.041991960257291794,
0.02996782958507538,
-0.01784195750951767,
0.021606435999274254,
0.046357642859220505,
-0.021550938487052917,
0.046986598521471024,
-0.03775576502084732,
0.04051206633448601,
-0.046283647418022156,
-0.04147399589419365,
-0.030892763286828995,
0.043656837195158005,
0.023437801748514175,
0.014021984301507473,
0.014012735337018967,
-0.009869035333395004,
0.019960055127739906,
-0.036849331110715866,
-0.0032002681400626898,
-0.002075318479910493,
0.0015966655919328332,
0.06888901442289352,
-0.011903887614607811,
-0.03364906460046768,
0.04791152849793434,
0.0688520148396492,
-0.006349665112793446,
0.009859786368906498,
-0.03734879568219185,
0.05053833872079849,
-0.0007480395724996924,
-0.0205520112067461,
0.05878874287009239,
-0.04384182393550873,
0.020108044147491455,
-0.056346919387578964,
0.02007104642689228,
0.001925016869790852,
0.07510456442832947,
0.03222466632723808,
-0.015668366104364395,
-0.018979625776410103,
-0.0009440097492188215,
-0.01102520152926445,
0.023585792630910873,
0.0004965733969584107,
-0.0835399478673935,
0.04040107503533363,
-0.005313740111887455,
0.00622479896992445,
0.0044096182100474834,
0.037626273930072784,
0.03773726522922516,
-0.033260591328144073,
-0.019164612516760826,
0.01054423674941063,
0.028413942083716393,
0.044211797416210175,
-0.013957238756120205,
0.05593995004892349,
-0.01896112598478794,
0.05827077850699425,
-0.012116622179746628,
0.03903217241168022,
0.031521718949079514,
-0.03862520307302475,
-0.027784988284111023,
0.04014209285378456,
-0.05094531178474426,
-0.004458176903426647,
0.06444933265447617,
-0.005244370084255934,
-0.04084504023194313,
-0.06093458831310272,
0.004282440058887005,
-0.00320258061401546,
0.03973512351512909,
-0.028358446434140205,
-0.021680429577827454,
-0.08679571747779846,
-0.007575201336294413,
-0.016056837514042854,
0.03387104719877243,
-0.012079625390470028,
-0.016991019248962402,
0.027230028063058853,
0.010285255499184132,
-0.008671247400343418,
0.004705596715211868,
-0.017740216106176376,
-0.0001494344905950129,
-0.006391287315636873,
-0.048725470900535583,
0.04291689023375511,
-0.023178821429610252,
0.04195496067404747,
-0.023419303819537163,
0.07462359219789505,
-0.013957238756120205,
-0.0038939679507166147,
0.014539946801960468,
-0.024066757410764694,
0.07099785655736923,
-0.00763532193377614,
-0.018905630335211754,
0.0019354223040863872,
0.022253887727856636,
0.05823378264904022,
0.07880429178476334,
0.03575791046023369,
0.02846943773329258,
-0.0008590315119363368,
0.026675067842006683,
0.004673223942518234,
-0.017425738275051117,
0.02101447805762291,
0.05797480046749115,
-0.023900268599390984,
0.06955496221780777,
0.015797855332493782,
-0.04624665156006813,
-0.07521555572748184,
0.044544775038957596,
-0.014780429191887379,
-0.017083512619137764,
-0.01990455761551857,
0.005064008291810751,
0.015955094248056412,
0.012070375494658947,
-0.016056837514042854,
0.027951475232839584,
0.034463003277778625,
0.011330429464578629,
-0.019534585997462273,
0.017749464139342308,
0.03030080534517765,
-0.039698123931884766,
-0.022401876747608185,
-0.011931635439395905,
0.008625000715255737,
-0.03274262696504593,
-0.014169973321259022,
-0.0665951743721962,
-0.017943700775504112,
-0.009018097072839737,
0.06552225351333618,
0.03030080534517765,
-0.041547991335392,
0.01864665001630783,
-0.07998820394277573,
0.052314210683107376,
0.029005900025367737,
0.033519573509693146,
0.007168231066316366,
0.03877319023013115,
0.06744611263275146,
-0.022864343598484993,
0.004483612719923258,
0.0035031838342547417,
0.008222654461860657,
0.07399464398622513,
0.0019007372902706265,
0.04291689023375511,
0.01478967908769846,
0.0016452246345579624,
0.03651635721325874,
0.0015134216519072652,
-0.009184584952890873,
-0.0179991964250803,
0.03925415873527527,
0.045580700039863586,
0.028099464252591133,
-0.02523217350244522,
-0.029690349474549294,
-0.011358177289366722,
-0.007103485520929098,
-0.024621717631816864,
-0.01838766783475876,
0.03403753414750099,
-0.062377482652664185,
-0.030892763286828995,
0.012292359955608845,
0.022938339039683342,
0.026231100782752037,
-0.0092447055503726,
0.02451072447001934,
-0.030374800786376,
0.02197640761733055,
-0.05050134286284447,
-0.01737949065864086,
-0.006136930547654629,
0.008088539354503155,
0.10721823573112488,
-0.07643646746873856,
0.02513968013226986,
-0.011006702668964863,
0.007496581878513098,
-0.04099303111433983,
0.07924825698137283,
-0.03892118111252785,
0.1052943766117096,
0.07477158308029175,
0.05305415764451027,
-0.02989383414387703,
-0.01249584462493658,
0.00679825758561492,
0.017028016969561577,
0.012754825875163078,
0.00211231573484838,
-0.016084585338830948,
0.07643646746873856,
-0.0061508044600486755,
-0.034389007836580276,
-0.008514008484780788,
-0.005082506686449051,
-0.05372010916471481,
0.014086729846894741,
0.08664772659540176,
-0.07147882133722305,
-0.009952278807759285,
-0.011080697178840637,
-0.04258391633629799,
0.03657185286283493,
0.047874532639980316,
0.08635174483060837,
0.0011636813869699836,
0.060231637209653854,
0.007108110003173351,
0.033593568950891495,
-0.02443673089146614,
0.027581501752138138,
-0.038514211773872375,
0.019608579576015472,
0.04299088567495346,
-0.03211367502808571,
0.05209222808480263,
-0.00521662225946784,
-0.0072607239708304405,
-0.04213994741439819,
0.004636226687580347,
0.04654262959957123,
-0.009582306258380413,
0.04066005349159241,
-0.01934959925711155,
0.07717641443014145,
-0.014697185717523098,
-0.0371268093585968,
0.04387882351875305,
-0.0020834116730839014,
0.018544906750321388,
-0.07451260089874268,
0.028099464252591133,
0.01602908968925476,
0.02116246707737446,
0.06992493569850922,
0.06193351373076439,
-0.00031158680212683976,
-0.02861742675304413,
-0.012320107780396938,
0.05372010916471481,
-0.03782976046204567,
-0.034315016120672226,
-0.02521367371082306,
-0.025898125022649765,
0.03464799001812935,
0.050575338304042816,
-0.01823967881500721,
0.00622479896992445,
0.04258391633629799,
0.021032975986599922,
0.007330093998461962,
0.0409560352563858,
-0.017342494800686836,
0.04846648871898651,
-0.014761931262910366,
-0.01220911554992199,
-0.02029303088784218,
-0.03179919719696045,
-0.008615750819444656,
-0.015205898322165012,
0.02521367371082306,
0.012468096800148487,
-0.03222466632723808,
-0.06515228003263474,
0.005859450437128544,
-0.06123056635260582,
0.007982172071933746,
-0.0236227884888649,
0.0721447765827179,
0.005332238972187042,
0.026027614250779152,
-0.021550938487052917,
0.00018816605734173208,
-0.01423471886664629,
0.015168901532888412,
-0.006058311089873314,
-0.03940214589238167,
-0.01768471859395504
] |
23,174 | flask.scaffold | get_send_file_max_age | Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
.. versionchanged:: 2.0
The default configuration is ``None`` instead of 12 hours.
.. versionadded:: 0.9
| def get_send_file_max_age(self, filename: str | None) -> int | None:
"""Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
.. versionchanged:: 2.0
The default configuration is ``None`` instead of 12 hours.
.. versionadded:: 0.9
"""
value = current_app.config["SEND_FILE_MAX_AGE_DEFAULT"]
if value is None:
return None
if isinstance(value, timedelta):
return int(value.total_seconds())
return value
| (self, filename: str | None) -> int | None | [
0.06466531753540039,
-0.008288027718663216,
-0.02362154610455036,
0.016148515045642853,
0.03958301246166229,
0.013725792989134789,
-0.018090255558490753,
-0.004037128761410713,
-0.010403456166386604,
-0.039191100746393204,
-0.010608318261802197,
-0.0113921407610178,
-0.05714775249361992,
-0.009993731044232845,
0.06195756793022156,
0.02641836553812027,
0.034559424966573715,
-0.04428594559431076,
0.03765908628702164,
-0.05365617945790291,
0.058751024305820465,
-0.05554448068141937,
-0.058751024305820465,
-0.04820505529642105,
-0.005896479357033968,
0.022659583017230034,
0.02447662502527237,
0.012256125919520855,
0.016914524137973785,
0.019346153363585472,
-0.0180100928992033,
-0.0245478805154562,
0.01746676117181778,
0.0026364922523498535,
-0.004010407719761133,
0.020432814955711365,
-0.06402400881052017,
-0.020183417946100235,
-0.12028105556964874,
-0.029286442324519157,
0.016362285241484642,
0.050592150539159775,
0.038300395011901855,
0.00864430982619524,
-0.043003328144550323,
0.013529837131500244,
-0.043181467801332474,
0.010180779732763767,
-0.019310524687170982,
-0.010403456166386604,
0.03968989849090576,
0.012594594620168209,
-0.03755220025777817,
0.009209908545017242,
-0.00853742565959692,
0.038229137659072876,
-0.034025002270936966,
0.054582517594099045,
-0.020112160593271255,
-0.0020864808466285467,
-0.0022824362386018038,
-0.06053243950009346,
0.020717840641736984,
-0.08664796501398087,
0.01547157857567072,
0.054760657250881195,
0.005816315766423941,
0.011997821740806103,
-0.0015398095129057765,
0.011009137146174908,
0.05376306548714638,
-0.02105630934238434,
-0.014313659630715847,
0.03947612643241882,
0.0015865715686231852,
-0.032582055777311325,
-0.028092894703149796,
0.02606208249926567,
-0.0378015972673893,
0.04033120721578598,
0.054689399898052216,
-0.046744294464588165,
0.04093688726425171,
-0.04036683589220047,
0.031067855656147003,
0.0015787779120728374,
0.04036683589220047,
-0.04090125858783722,
-0.059107307344675064,
0.03295615315437317,
0.0009430358768440783,
0.03701777756214142,
0.03683963418006897,
0.02167980559170246,
0.02214297279715538,
-0.06612607836723328,
-0.030497802421450615,
0.037765972316265106,
0.03648335114121437,
-0.032546427100896835,
0.012015635147690773,
0.022802095860242844,
0.04510539397597313,
-0.05230230838060379,
0.03181605041027069,
0.0033713255543261766,
-0.006502159871160984,
-0.03733843192458153,
0.051162201911211014,
-0.016148515045642853,
-0.016112886369228363,
-0.018491074442863464,
-0.0007481937645934522,
0.024779465049505234,
0.02094942517578602,
0.06256324797868729,
-0.04460659995675087,
0.012256125919520855,
0.062135711312294006,
-0.018811728805303574,
-0.023550288751721382,
0.016478076577186584,
-0.013654536567628384,
-0.028235407546162605,
0.007775871083140373,
0.023853128775954247,
0.004057169891893864,
-0.09398739039897919,
0.06338270008563995,
0.04542604833841324,
0.02440536767244339,
0.0017235177801921964,
0.06562728434801102,
0.005553557071834803,
-0.017057036980986595,
-0.002972734160721302,
0.054511260241270065,
0.11393921822309494,
-0.013512022793293,
0.02616896666586399,
-0.010020452551543713,
0.0340784452855587,
0.050663407891988754,
-0.046138614416122437,
0.03363309055566788,
-0.007201364729553461,
0.03676838055253029,
0.02196483127772808,
-0.038122255355119705,
-0.01861577294766903,
0.03605581447482109,
-0.01840200461447239,
-0.05169662460684776,
0.0185445174574852,
0.06010489910840988,
0.019488666206598282,
-0.03605581447482109,
0.07118529081344604,
-0.07040146738290787,
-0.05600764602422714,
-0.023496847599744797,
0.03687526285648346,
-0.010813181288540363,
-0.08500906080007553,
0.038371652364730835,
-0.05643518641591072,
-0.021840132772922516,
0.10503215342760086,
0.02027248777449131,
0.09355984628200531,
-0.032902710139751434,
0.0013405138161033392,
0.012327383272349834,
0.0005438879015855491,
0.009771054610610008,
0.024423182010650635,
0.037944111973047256,
-0.009432585909962654,
0.05312175676226616,
0.09719393402338028,
-0.00826575979590416,
-0.0678006038069725,
-0.031620092689991,
0.05248044803738594,
0.06373897939920425,
0.027362514287233353,
-0.0090941172093153,
0.013707978650927544,
-0.015792232006788254,
0.03630521148443222,
0.044855996966362,
0.0020764602813869715,
0.021519478410482407,
-0.046708669513463974,
-0.008194503374397755,
0.0241915974766016,
-0.01216705609112978,
-0.013431859202682972,
0.013556558638811111,
0.034416913986206055,
-0.009281165897846222,
0.023104935884475708,
-0.007579915225505829,
-0.07396429777145386,
0.013039948418736458,
-0.04531916603446007,
0.024779465049505234,
-0.036073628813028336,
-0.02602645382285118,
0.054190605878829956,
-0.0720403715968132,
-0.021305708214640617,
-0.020397186279296875,
-0.012496617622673512,
-0.027665354311466217,
-0.003740968881174922,
-0.04100814461708069,
0.046138614416122437,
-0.04147130995988846,
0.03270675614476204,
0.05547322332859039,
-0.009708704426884651,
-0.06530662626028061,
0.011187277734279633,
0.0611024908721447,
-0.017805229872465134,
0.03047998808324337,
0.01295978482812643,
-0.015685347840189934,
0.04140005633234978,
-0.02889453060925007,
0.045960474759340286,
0.04749248921871185,
0.006386368069797754,
0.08964073657989502,
0.017992278560996056,
0.01966680772602558,
0.01574769802391529,
-0.01861577294766903,
0.001978482585400343,
0.03926235809922218,
0.04125754162669182,
0.01416223868727684,
0.05750403553247452,
0.013173554092645645,
-0.05700523778796196,
-0.0004542605020105839,
0.05957047641277313,
-0.047100577503442764,
-0.004560418892651796,
0.08394021540880203,
-0.001252556568942964,
-0.05725463852286339,
0.02843136340379715,
-0.016887802630662918,
0.06705240905284882,
-0.04827631264925003,
-0.01728861965239048,
-0.029464581981301308,
0.04364463686943054,
0.06833502650260925,
-0.043003328144550323,
-0.03128162398934364,
-0.029375512152910233,
0.001524222083389759,
0.021216636523604393,
-0.008368191309273243,
-0.023924386128783226,
-0.06095997616648674,
-0.0013494208687916398,
0.03311648219823837,
-0.02253488264977932,
-0.02447662502527237,
-0.07396429777145386,
-0.03283145651221275,
-0.06060369312763214,
0.023532474413514137,
-0.008479529060423374,
-0.04018869251012802,
-0.009080756455659866,
-0.058252230286598206,
-0.02091379649937153,
0.05365617945790291,
-0.038656678050756454,
-0.06267013400793076,
0.0557938776910305,
-0.03414970263838768,
0.018847357481718063,
-0.03422095626592636,
0.03331243619322777,
-0.01299541350454092,
-0.03005244955420494,
-0.01585458219051361,
-0.04563982039690018,
-0.006796093191951513,
-0.046209871768951416,
-0.0004751364467665553,
-0.02846699208021164,
0.06943950802087784,
0.038834817707538605,
-0.03055124543607235,
0.0010977962519973516,
0.01746676117181778,
-0.006324018817394972,
-0.010456898249685764,
0.023853128775954247,
-0.03723154589533806,
-0.042362019419670105,
0.04977269843220711,
0.029589282348752022,
0.028627319261431694,
-0.016095072031021118,
-0.009797775186598301,
-0.023496847599744797,
0.05597201734781265,
0.03562827408313751,
0.020717840641736984,
0.01502622477710247,
-0.019257081672549248,
-0.0025741427671164274,
0.02422722615301609,
0.04749248921871185,
-0.00012121963663958013,
-0.01292415615171194,
0.05632830038666725,
-0.020824726670980453,
0.032582055777311325,
0.057931575924158096,
0.02602645382285118,
0.011169464327394962,
-0.03525417670607567,
0.0351472944021225,
0.02020123228430748,
-0.02832447737455368,
-0.0031976376194506884,
0.021038496866822243,
0.002442763652652502,
-0.007522019557654858,
0.029535839334130287,
0.003892388893291354,
-0.02705967426300049,
-0.08187377452850342,
0.00814106035977602,
0.0355035737156868,
0.0068940711207687855,
-0.015516113489866257,
0.07403555512428284,
0.014616499654948711,
0.01668293960392475,
-0.058537255972623825,
-0.023211820051074028,
-0.001146785099990666,
-0.035752974450588226,
0.015355786308646202,
-0.0145719638094306,
-0.050378378480672836,
0.011490118689835072,
0.023265263065695763,
-0.005682709626853466,
0.0358598567545414,
-0.07809717953205109,
0.004453534260392189,
-0.009370235726237297,
-0.00129820522852242,
0.004667303990572691,
0.027451585978269577,
0.039191100746393204,
-0.0160683523863554,
-0.00587866548448801,
-0.032225772738456726,
-0.05586513504385948,
-0.007784777786582708,
0.04189885035157204,
-0.022374555468559265,
0.026578692719340324,
-0.02429848350584507,
-0.041934479027986526,
0.011276348493993282,
0.02221422828733921,
0.037979740649461746,
-0.006635766010731459,
0.009913567453622818,
0.019898390397429466,
0.004391185007989407,
0.0015320157399401069,
0.019150197505950928,
-0.014322565868496895,
-0.0734655037522316,
0.007486391346901655,
-0.001969575649127364,
0.028662946075201035,
0.020985053852200508,
0.001529789064079523,
0.0070143165066838264,
-0.020985053852200508,
0.009548377245664597,
-0.02994556538760662,
0.05622141808271408,
0.05290798842906952,
-0.005941014736890793,
-0.011516839265823364,
0.05201727896928787,
-0.02094942517578602,
0.018206048756837845,
-0.010269850492477417,
0.024672580882906914,
0.03302741050720215,
0.015729883685708046,
-0.03169135004281998,
-0.011801865883171558,
-0.009388050064444542,
-0.03648335114121437,
-0.019595550373196602,
0.002274642698466778,
0.021287893876433372,
0.030105892568826675,
-0.01754692569375038,
-0.03730280324816704,
0.021038496866822243,
-0.04186322167515755,
-0.0034871173556894064,
-0.019453037530183792,
-0.020985053852200508,
-0.03698214888572693,
-0.02465476654469967,
0.027469400316476822,
0.00032343794009648263,
0.004391185007989407,
-0.07930853962898254,
0.03562827408313751,
0.005856397561728954,
0.011686073616147041,
-0.04863259568810463,
0.00022044994693715125,
0.09412989765405655,
-0.022160787135362625,
0.006506613455712795,
-0.05201727896928787,
-0.04770625755190849,
-0.01628212071955204,
0.011454490013420582,
-0.023407775908708572,
0.008697752840816975,
0.01419786736369133,
0.021038496866822243,
-0.04389403387904167,
-0.04058060422539711,
0.003981459885835648,
0.016041630879044533,
-0.03158446401357651,
-0.010492526926100254,
-0.017386598512530327,
0.007985186763107777,
-0.01540032122284174,
0.0026275853160768747,
0.034060630947351456,
-0.06897634267807007,
-0.0008784596575424075,
-0.012843992561101913,
-0.019363967701792717,
-0.0480269156396389,
0.04987958446145058,
0.0865054503083229,
-0.06541351228952408,
-0.05390558019280434,
0.03591329976916313,
0.0064175426959991455,
-0.027736611664295197,
-0.03751657158136368,
0.007535379845649004,
0.0039035228546708822,
-0.030711572617292404,
-0.06227822229266167,
-0.03128162398934364,
-0.05750403553247452,
-0.03591329976916313,
0.02422722615301609,
0.02461913786828518,
0.01407316792756319,
-0.008844719268381596,
0.04083000123500824,
0.06495034694671631,
0.00696532754227519,
0.01301322691142559,
0.0010070553980767727,
-0.02864513173699379,
-0.04852570965886116,
-0.008907068520784378,
-0.02994556538760662,
-0.023194005712866783,
-0.05696960911154747,
-0.00546448677778244,
-0.019096754491329193,
0.0015787779120728374,
-0.01502622477710247,
0.03740968927741051,
0.08985450863838196,
0.030818456783890724,
0.023140564560890198,
0.017030315473675728,
-0.062456365674734116,
-0.024494439363479614,
0.009797775186598301,
0.05365617945790291,
-0.03331243619322777,
0.020646585151553154,
-0.032546427100896835,
-0.02037937380373478,
0.0035071582533419132,
0.0023202914744615555,
0.033739976584911346,
0.012033449485898018,
-0.01746676117181778,
0.038442909717559814,
-0.014732290990650654,
0.013948469422757626,
0.038050998002290726,
-0.036465540528297424,
0.008043083362281322,
-0.03065812960267067,
0.0012948650401085615,
-0.03400718793272972,
0.018232770264148712,
-0.021020682528614998,
0.0000630801368970424,
-0.018125884234905243,
0.038763564079999924,
-0.015275622718036175,
0.021466035395860672,
0.04011743515729904,
0.010136243887245655,
-0.008978324942290783,
0.01776069402694702,
0.02390657179057598,
0.03432784229516983,
0.012238312512636185,
-0.05205290764570236,
-0.02232111431658268,
-0.11173027008771896,
-0.03005244955420494,
-0.042041365057229996,
-0.04371589422225952,
0.027024045586586,
0.029268627986311913,
-0.03422095626592636,
-0.055081311613321304,
-0.011409955099225044,
0.03461286798119545,
0.09562628716230392,
-0.03345495089888573,
-0.004582686815410852,
0.023603731766343117,
0.034096259623765945,
-0.0815887451171875,
0.026828089728951454,
0.0122739402577281,
0.042967699468135834,
-0.027113117277622223,
0.0017357650212943554,
-0.046601783484220505,
0.005010226275771856,
-0.0103321997448802,
0.014634313993155956,
-0.008782370015978813,
-0.0480269156396389,
-0.011053672060370445,
0.04353775084018707,
0.019150197505950928,
-0.04339523985981941,
-0.00613697012886405,
-0.0026676671113818884,
0.06598356366157532,
0.04350212216377258,
-0.04421468824148178,
0.046744294464588165,
0.006974234711378813,
-0.017306433990597725,
0.05778906121850014,
0.042183876037597656,
0.04125754162669182,
0.03327680751681328,
-0.016807638108730316,
0.037944111973047256,
0.023389961570501328,
-0.06933262199163437,
-0.038763564079999924,
0.01840200461447239,
0.0037521026097238064,
-0.017155013978481293,
0.03331243619322777,
-0.034345656633377075,
0.015908025205135345,
-0.008973871357738972,
0.013235904276371002,
-0.008221223950386047,
0.03683963418006897,
-0.022944608703255653,
0.0011924337595701218,
-0.0160683523863554,
0.06306204199790955,
0.030889714136719704,
-0.0026275853160768747,
-0.020504072308540344,
0.08686172962188721,
-0.02426285482943058,
-0.014117703773081303,
-0.010234221816062927,
0.02062877081334591,
0.003257760312408209,
0.01126744132488966,
-0.03361527621746063,
-0.027362514287233353,
-0.007655625231564045,
0.025866126641631126,
-0.005326427053660154,
0.04799128696322441,
-0.021412592381238937,
0.03008807823061943,
-0.037944111973047256,
-0.06747995316982269,
-0.059036049991846085,
0.018348561599850655,
0.03926235809922218,
-0.004279846325516701,
0.04866822436451912,
-0.016086166724562645,
0.005277438089251518,
0.03186948969960213,
-0.06459406018257141,
0.026258038356900215,
-0.019898390397429466,
-0.0437871478497982,
0.05654207244515419,
-0.018562331795692444,
-0.017840858548879623,
0.01038564182817936,
-0.006880710367113352,
0.034488171339035034,
-0.013574372977018356,
-0.0014841402880847454,
0.03263549879193306,
-0.04535479471087456,
-0.023924386128783226,
-0.021661991253495216,
-0.0044624414294958115,
-0.004208589904010296,
0.009913567453622818,
0.04916701838374138,
0.02705967426300049,
-0.01656714826822281,
-0.014946061186492443,
-0.08693298697471619,
0.050556521862745285,
0.00702767726033926,
-0.07122091948986053,
-0.04036683589220047,
0.01018968690186739,
0.025973012670874596,
0.021466035395860672,
-0.06259887665510178,
-0.013645629398524761,
-0.05711212381720543,
-0.01181077305227518,
-0.038977332413196564,
-0.029019229114055634,
-0.09070958942174911,
-0.010314385406672955,
-0.05764654651284218,
-0.008207864128053188,
0.013396231457591057,
0.012630223296582699,
-0.010830995626747608,
0.02210734412074089,
0.011151649989187717,
0.04474911093711853,
0.008835812099277973,
-0.024173785001039505,
0.07396429777145386,
-0.009076302871108055,
0.003458169288933277,
0.024815093725919724,
0.023015866056084633,
-0.032332658767700195,
0.003502704668790102,
0.022303299978375435,
0.00608352804556489,
0.027736611664295197,
0.014331473037600517,
0.007967372424900532,
0.04784877225756645,
-0.01442945096641779,
-0.03634084016084671,
-0.033989373594522476,
0.0029437860939651728,
-0.05344241112470627,
-0.051411598920822144,
0.010813181288540363,
0.10788241773843765,
-0.02800382301211357,
-0.0227842815220356,
-0.0628839060664177,
0.03683963418006897,
0.029589282348752022,
-0.0199518334120512,
-0.04011743515729904,
-0.0646296888589859,
-0.04816942662000656,
0.011507933028042316,
-0.04368026554584503,
-0.02962491102516651,
-0.036429911851882935,
-0.0036697122268378735,
0.06829940527677536,
0.050520893186330795,
-0.03525417670607567,
0.03691089153289795,
-0.015480484813451767,
0.025456402450799942,
-0.0029994554352015257,
0.003758782986551523,
-0.03630521148443222,
0.06751558184623718,
0.01292415615171194,
0.010216407477855682,
-0.055081311613321304,
-0.01410879660397768,
0.03493352234363556,
-0.012585687451064587,
0.011196184903383255,
0.027576284483075142,
0.017733974382281303,
-0.018348561599850655,
0.05258733406662941,
-0.06277702003717422,
-0.02281991019845009,
0.03701777756214142,
-0.010688481852412224,
-0.029339883476495743,
-0.02574142813682556,
0.06737306714057922,
0.005183913744986057,
0.03422095626592636,
-0.06470094621181488,
0.0045114303939044476,
0.01574769802391529,
-0.054831914603710175,
-0.025652358308434486,
0.03537887707352638,
0.028627319261431694,
-0.0036630318500101566,
-0.002587503520771861,
-0.04118628427386284,
0.02426285482943058,
0.020575327798724174,
0.008314748294651508,
0.02818196453154087,
-0.05675584077835083,
-0.007308249827474356,
0.034167513251304626,
0.05290798842906952,
0.008599774911999702,
0.05244481936097145,
-0.007637811359018087,
0.010768646374344826,
0.014393823221325874,
-0.01678982377052307,
-0.0007442969363182783,
0.02695279009640217
] |
23,175 | flask.app | handle_exception | Handle an exception that did not have an error handler
associated with it, or that was raised from an error handler.
This always causes a 500 ``InternalServerError``.
Always sends the :data:`got_request_exception` signal.
If :data:`PROPAGATE_EXCEPTIONS` is ``True``, such as in debug
mode, the error will be re-raised so that the debugger can
display it. Otherwise, the original exception is logged, and
an :exc:`~werkzeug.exceptions.InternalServerError` is returned.
If an error handler is registered for ``InternalServerError`` or
``500``, it will be used. For consistency, the handler will
always receive the ``InternalServerError``. The original
unhandled exception is available as ``e.original_exception``.
.. versionchanged:: 1.1.0
Always passes the ``InternalServerError`` instance to the
handler, setting ``original_exception`` to the unhandled
error.
.. versionchanged:: 1.1.0
``after_request`` functions and other finalization is done
even for the default 500 response when there is no handler.
.. versionadded:: 0.3
| def handle_exception(self, e: Exception) -> Response:
"""Handle an exception that did not have an error handler
associated with it, or that was raised from an error handler.
This always causes a 500 ``InternalServerError``.
Always sends the :data:`got_request_exception` signal.
If :data:`PROPAGATE_EXCEPTIONS` is ``True``, such as in debug
mode, the error will be re-raised so that the debugger can
display it. Otherwise, the original exception is logged, and
an :exc:`~werkzeug.exceptions.InternalServerError` is returned.
If an error handler is registered for ``InternalServerError`` or
``500``, it will be used. For consistency, the handler will
always receive the ``InternalServerError``. The original
unhandled exception is available as ``e.original_exception``.
.. versionchanged:: 1.1.0
Always passes the ``InternalServerError`` instance to the
handler, setting ``original_exception`` to the unhandled
error.
.. versionchanged:: 1.1.0
``after_request`` functions and other finalization is done
even for the default 500 response when there is no handler.
.. versionadded:: 0.3
"""
exc_info = sys.exc_info()
got_request_exception.send(self, _async_wrapper=self.ensure_sync, exception=e)
propagate = self.config["PROPAGATE_EXCEPTIONS"]
if propagate is None:
propagate = self.testing or self.debug
if propagate:
# Re-raise if called with an active exception, otherwise
# raise the passed in exception.
if exc_info[1] is e:
raise
raise e
self.log_exception(exc_info)
server_error: InternalServerError | ft.ResponseReturnValue
server_error = InternalServerError(original_exception=e)
handler = self._find_error_handler(server_error)
if handler is not None:
server_error = self.ensure_sync(handler)(server_error)
return self.finalize_request(server_error, from_error_handler=True)
| (self, e: Exception) -> flask.wrappers.Response | [
0.013037513941526413,
-0.03424583002924919,
-0.04943900555372238,
0.04755633324384689,
0.013319915160536766,
-0.04281199723482132,
-0.04303791746497154,
0.07598470151424408,
0.023966433480381966,
-0.03546956926584244,
0.062128227204084396,
0.011616095900535583,
0.07146628946065903,
-0.009695768356323242,
0.030367523431777954,
0.027298767119646072,
0.004600783344358206,
-0.0018697301857173443,
0.06980953365564346,
-0.07636123895645142,
0.007008252199739218,
-0.0019262103596702218,
0.006476397160440683,
0.008712071925401688,
-0.04876124486327171,
0.030480485409498215,
-0.014816640876233578,
0.012566845864057541,
0.08871157467365265,
-0.029087306931614876,
-0.03021690994501114,
-0.046765610575675964,
0.00848615076392889,
0.01796070486307144,
0.01733000949025154,
-0.04172004759311676,
-0.051698215305805206,
0.026846924796700478,
-0.06830339878797531,
0.014713093638420105,
-0.08178333938121796,
0.00036829800228588283,
-0.02948266826570034,
-0.007516574114561081,
0.047970522195100784,
0.037051014602184296,
-0.023175710812211037,
0.038444194942712784,
-0.013348155654966831,
0.04390394687652588,
-0.02099180966615677,
0.006175169255584478,
0.013479942455887794,
-0.04360271990299225,
0.025529053062200546,
0.058588799089193344,
0.01335756853222847,
-0.00834965705871582,
-0.02822127565741539,
-0.04333914443850517,
-0.023175710812211037,
0.0993298590183258,
-0.0007224759901873767,
0.0023968787863850594,
-0.0029958041850477457,
0.03673096001148224,
-0.007008252199739218,
0.0027722367085516453,
-0.02647038921713829,
-0.010411184281110764,
0.02200845442712307,
-0.017640650272369385,
-0.019692765548825264,
0.013837650418281555,
0.020577622577548027,
-0.042849648743867874,
-0.03418935090303421,
-0.00680115818977356,
0.006316369865089655,
0.02038935385644436,
0.047179799526929855,
0.007177692838013172,
-0.009949930012226105,
-0.0245500635355711,
0.05282782018184662,
-0.06687256693840027,
-0.008302590809762478,
-0.0065752374939620495,
-0.06035851314663887,
0.0040006814524531364,
-0.019203269854187965,
-0.06762563437223434,
-0.010091130621731281,
0.009352181106805801,
-0.04465701803565025,
-0.008504977449774742,
-0.00312053132802248,
-0.06386028975248337,
0.033135052770376205,
-0.03900899738073349,
0.024587716907262802,
0.0716545581817627,
0.029557975009083748,
0.013018687255680561,
0.037352241575717926,
-0.01839372143149376,
0.03661800175905228,
-0.05086984112858772,
0.03631677106022835,
-0.038011178374290466,
0.005873941350728273,
-0.023552246391773224,
-0.03893369063735008,
-0.017800677567720413,
-0.06525346636772156,
0.011569028720259666,
0.013668210245668888,
0.045259471982717514,
-0.00509263202548027,
-0.018073666840791702,
-0.0025369026698172092,
-0.04883655160665512,
-0.032532598823308945,
-0.009789902716875076,
0.027637647464871407,
0.013272848911583424,
-0.0010313520906493068,
-0.0015861524734646082,
-0.028014183044433594,
-0.000004968676876160316,
-0.04100463166832924,
0.02695988491177559,
-0.025001903995871544,
0.006217529531568289,
-0.023288670927286148,
0.08494623005390167,
-0.056178979575634,
0.030424004420638084,
0.018544334918260574,
0.01474133413285017,
0.0006506990175694227,
0.0059821950271725655,
-0.0023156884126365185,
0.009008592925965786,
0.028051836416125298,
-0.032532598823308945,
-0.004779637325555086,
0.0051820590160787106,
-0.007370667066425085,
-0.01965511217713356,
0.02515251934528351,
0.03213723748922348,
0.0666089877486229,
0.052074749022722244,
-0.0841931626200676,
0.028051836416125298,
0.019391536712646484,
0.015588536858558655,
0.0070035457611083984,
-0.001740296371281147,
0.008048429153859615,
-0.014571893028914928,
0.04300026223063469,
-0.049777887761592865,
-0.031139420345425606,
0.00032682035816833377,
-0.014280078932642937,
-0.0037535803858190775,
0.041456472128629684,
-0.012981033883988857,
-0.06664664298295975,
0.03437761962413788,
-0.07338661700487137,
-0.003026397665962577,
-0.005346792750060558,
0.10716177523136139,
0.04725510627031326,
0.009465141221880913,
-0.021933147683739662,
0.004252488724887371,
0.09594104439020157,
-0.07557051628828049,
-0.0333421491086483,
0.027449380606412888,
-0.004092461429536343,
0.022083761170506477,
-0.01954215206205845,
0.0055021136067807674,
0.013150474987924099,
0.04992850124835968,
0.058099307119846344,
-0.00075777608435601,
0.026187989860773087,
0.009516914375126362,
0.045071203261613846,
0.05241363123059273,
0.013545836322009563,
-0.009107433259487152,
0.09759780019521713,
-0.0021121243480592966,
-0.013743516989052296,
0.008862685412168503,
0.010081716813147068,
0.02080354280769825,
-0.006838811561465263,
0.01976807229220867,
0.03251377120614052,
-0.053279660642147064,
-0.05384446308016777,
0.02362755313515663,
-0.057195622473955154,
-0.008377897553145885,
-0.01151254866272211,
0.029463840648531914,
0.05523764342069626,
0.042962610721588135,
-0.013461115770041943,
-0.013065754435956478,
0.03311622887849808,
0.014345972798764706,
-0.02061527594923973,
0.03351159021258354,
-0.018139559775590897,
0.019824553281068802,
0.043979253619909286,
0.0033935189712792635,
-0.018158385530114174,
-0.012943380512297153,
0.02978389523923397,
0.00034652958856895566,
-0.04830940440297127,
0.0686422809958458,
-0.04251077026128769,
-0.03667448088526726,
0.0571579672396183,
-0.016190992668271065,
0.05648020654916763,
-0.026978712528944016,
0.011898497119545937,
0.0005221477476879954,
0.04721745103597641,
0.004612550139427185,
0.007224759552627802,
-0.020596448332071304,
-0.02364637888967991,
-0.04345210641622543,
-0.03682509437203407,
0.0781686082482338,
-0.038444194942712784,
-0.010994813404977322,
0.013385809026658535,
-0.012585672549903393,
0.011117187328636646,
-0.04017625376582146,
-0.007568347733467817,
-0.015117868781089783,
0.02743055298924446,
0.024625370278954506,
-0.009083899669349194,
0.05305374041199684,
0.042360153049230576,
0.01052414532750845,
-0.012133831158280373,
-0.0007342426688410342,
-0.016106272116303444,
-0.03767229616641998,
0.013743516989052296,
0.018440786749124527,
0.07075086981058121,
0.027599994093179703,
0.04691622406244278,
0.06687256693840027,
-0.01921268366277218,
0.035130687057971954,
-0.04962727427482605,
0.047142144292593,
-0.014345972798764706,
0.01869494840502739,
-0.08765728026628494,
0.029746241867542267,
-0.03243846446275711,
-0.0162851270288229,
0.04002564027905464,
0.004923191387206316,
-0.03567666560411453,
-0.0031181781087070704,
0.007361253723502159,
0.02652687020599842,
0.025133691728115082,
-0.015720324590802193,
0.033436283469200134,
0.022347334772348404,
-0.005662140902131796,
-0.015701496973633766,
-0.053995076566934586,
-0.024813637137413025,
-0.08103027194738388,
-0.007959002628922462,
0.041870661079883575,
-0.0015084921615198255,
0.027185805141925812,
0.03243846446275711,
0.05071922391653061,
0.02786356769502163,
0.03151595592498779,
-0.04996615648269653,
0.0882597342133522,
0.0058645280078053474,
0.005516233388334513,
0.002128597814589739,
-0.016379259526729584,
0.022234374657273293,
-0.04172004759311676,
-0.030725233256816864,
-0.01781950518488884,
0.04141881689429283,
0.03703218698501587,
0.02810831554234028,
-0.01845020055770874,
0.03776643052697182,
-0.02364637888967991,
0.031158247962594032,
0.006485810503363609,
0.032833825796842575,
-0.0007624828140251338,
0.01830900087952614,
0.005323259625583887,
0.021801359951496124,
-0.019749244675040245,
-0.00680115818977356,
0.017367662861943245,
-0.06133750453591347,
-0.07338661700487137,
-0.02381581999361515,
0.014280078932642937,
-0.05994432419538498,
0.05817461386322975,
-0.02255442924797535,
-0.019335057586431503,
-0.026809271425008774,
-0.03080054000020027,
0.01809249259531498,
-0.0012007927289232612,
0.02400408685207367,
-0.0441298671066761,
-0.014402452856302261,
0.03019808419048786,
-0.017753612250089645,
-0.01787598617374897,
0.041079938411712646,
-0.0371263213455677,
-0.038444194942712784,
-0.04149412363767624,
0.027938876301050186,
-0.0031840717419981956,
-0.07538224756717682,
-0.03797352686524391,
-0.01710408926010132,
-0.03767229616641998,
0.01283983327448368,
-0.014778987504541874,
0.013894130475819111,
-0.024587716907262802,
0.0016190992901101708,
-0.01634160615503788,
-0.0035817865282297134,
-0.02942618727684021,
0.006099862512201071,
-0.06235414743423462,
0.015588536858558655,
-0.010853612795472145,
-0.010571211576461792,
-0.03490476682782173,
0.03386929631233215,
0.03473532572388649,
0.0040030344389379025,
-0.0872054398059845,
-0.0004850825935136527,
-0.04740571975708008,
0.08404254913330078,
0.0716545581817627,
-0.03243846446275711,
-0.029821548610925674,
-0.06792686134576797,
0.03364337608218193,
-0.038632459938526154,
0.06980953365564346,
-0.029878029599785805,
-0.044468749314546585,
-0.015324962325394154,
-0.00974283553659916,
-0.060509126633405685,
-0.041155245155096054,
0.05892768129706383,
-0.008975646458566189,
-0.04691622406244278,
-0.044958245009183884,
0.0021391878835856915,
-0.005393859930336475,
0.03300326690077782,
0.0053091393783688545,
0.05757215619087219,
0.0036217933520674706,
0.02249794825911522,
0.03437761962413788,
0.021180076524615288,
0.00592571496963501,
0.05090749263763428,
0.05132168158888817,
0.014929600991308689,
-0.03867011517286301,
-0.0002218024746980518,
-0.016708727926015854,
-0.042473115026950836,
-0.02417352795600891,
0.03424583002924919,
0.028353063389658928,
0.03093232586979866,
-0.006490516941994429,
0.0012555079301819205,
0.028560157865285873,
0.02871077135205269,
0.019617458805441856,
-0.02189549244940281,
-0.009987583383917809,
-0.028371891006827354,
-0.041268203407526016,
0.02846602350473404,
-0.03706984221935272,
0.035846102982759476,
0.02362755313515663,
-0.013225781731307507,
-0.04428048059344292,
-0.019127963110804558,
0.024926597252488136,
-0.03767229616641998,
-0.03953614458441734,
-0.005944541655480862,
-0.0053185527212917805,
0.010091130621731281,
0.01954215206205845,
0.0017979532713070512,
-0.02086002379655838,
-0.045673660933971405,
0.08404254913330078,
-0.015117868781089783,
0.026733964681625366,
-0.016143925487995148,
0.02833423763513565,
-0.02611268125474453,
-0.021236557513475418,
-0.029275573790073395,
0.0126609792932868,
-0.02682809717953205,
-0.019993992522358894,
-0.03642973303794861,
-0.03309740126132965,
-0.04815879091620445,
0.006128102540969849,
0.03388812392950058,
-0.0022898016031831503,
-0.01034529134631157,
0.02803300879895687,
-0.06502754241228104,
0.005036151967942715,
0.058287572115659714,
0.07331130653619766,
0.00459843035787344,
0.000457724992884323,
-0.0023862887173891068,
0.009366300888359547,
-0.024757158011198044,
0.005709207616746426,
-0.009884036146104336,
0.007525987457484007,
-0.03471650183200836,
-0.01368703693151474,
-0.017085261642932892,
0.033248014748096466,
-0.0023298084270209074,
0.030461657792329788,
0.001542615587823093,
0.048083484172821045,
-0.014703680761158466,
0.025529053062200546,
-0.07101444900035858,
0.05245128646492958,
-0.041456472128629684,
-0.004092461429536343,
-0.0250772126019001,
0.025773800909519196,
0.008316710591316223,
0.004629023373126984,
0.009799315594136715,
-0.02846602350473404,
-0.012293858453631401,
-0.036090850830078125,
-0.025830281898379326,
0.0030546379275619984,
-0.021688399836421013,
0.02839071676135063,
-0.08200926333665848,
0.016388673335313797,
-0.011051293462514877,
0.02567966654896736,
-0.012981033883988857,
-0.028899038210511208,
0.009295701049268246,
0.0298403762280941,
-0.028654292225837708,
-0.02526547946035862,
0.026696311309933662,
-0.026846924796700478,
0.0031487715896219015,
-0.022987443953752518,
0.0022203780245035887,
-0.02592441439628601,
0.005205592140555382,
0.03953614458441734,
0.037295762449502945,
0.07252058386802673,
-0.0026710431557148695,
0.042360153049230576,
0.04043982923030853,
-0.018299587070941925,
0.004751397296786308,
0.10573094338178635,
-0.001262567937374115,
0.05738389119505882,
0.046765610575675964,
-0.03829358145594597,
0.016238059848546982,
0.01664283499121666,
-0.022441469132900238,
0.03748403117060661,
0.008970939554274082,
-0.06495223939418793,
-0.016953475773334503,
-0.031327687203884125,
0.02539726532995701,
0.002154484624043107,
0.061111584305763245,
-0.03326684236526489,
-0.015306135639548302,
-0.09044364094734192,
-0.09699533879756927,
-0.034339964389801025,
-0.01299986056983471,
0.009865209460258484,
-0.0782439112663269,
-0.01661459356546402,
-0.00030622861231677234,
0.11009874939918518,
-0.002428648993372917,
-0.021970801055431366,
-0.01316930167376995,
0.030499311164021492,
0.04277434200048447,
0.008260230533778667,
-0.014844881370663643,
-0.03466001898050308,
0.009356887079775333,
0.0005333261215128005,
-0.020483488216996193,
-0.009323940612375736,
0.07297242432832718,
0.03755933791399002,
0.05282782018184662,
-0.055312950164079666,
-0.04352741315960884,
-0.04303791746497154,
0.07398907095193863,
0.024135874584317207,
-0.025133691728115082,
-0.016219232231378555,
0.05738389119505882,
0.03272086754441261,
-0.02599972113966942,
0.029990989714860916,
-0.026922231540083885,
-0.028183622285723686,
-0.054108038544654846,
-0.03912195563316345,
0.013997677713632584,
-0.047782253473997116,
-0.026300949975848198,
0.004796111024916172,
0.051698215305805206,
-0.0411175899207592,
0.011117187328636646,
-0.030292216688394547,
-0.07387611269950867,
-0.0018567867809906602,
-0.08863627165555954,
0.05361854285001755,
0.09579043090343475,
-0.06107392907142639,
-0.03462236747145653,
0.024267662316560745,
0.02394760772585869,
0.006716438103467226,
0.038500674068927765,
-0.0024498288985341787,
-0.030292216688394547,
0.043376799672842026,
-0.026395082473754883,
0.05132168158888817,
-0.023251017555594444,
-0.018789082765579224,
-0.03520599380135536,
-0.03213723748922348,
-0.016661660745739937,
0.029501494020223618,
-0.011258387938141823,
-0.08381662517786026,
-0.012595086358487606,
-0.013385809026658535,
0.04318853095173836,
0.03366220369935036,
-0.026319775730371475,
0.01883614808320999,
-0.015607363544404507,
-0.041079938411712646,
0.017772438004612923,
0.012576259672641754,
0.018243106082081795,
0.042171888053417206,
-0.006627011112868786,
-0.0822351798415184,
0.00785545539110899,
-0.02140599861741066,
0.03545074164867401,
-0.007380080409348011,
-0.065705306828022,
0.049062471836805344,
0.024399450048804283,
0.012576259672641754,
0.01875142939388752,
-0.011145427823066711,
0.025660840794444084,
0.08193395286798477,
-0.0378229133784771,
-0.04522182047367096,
0.005657433997839689,
-0.0011554908705875278,
0.02214024029672146,
0.058287572115659714,
-0.06916942447423935,
0.042360153049230576,
-0.02436179481446743,
-0.02586793527007103,
0.04533477872610092,
-0.06242945417761803,
-0.027242286130785942,
-0.06434978544712067,
0.018497267737984657,
0.00898035243153572,
-0.030612271279096603,
-0.015597950667142868,
0.04691622406244278,
-0.0073565468192100525,
-0.003146418137475848,
0.017141742631793022,
-0.05712031573057175,
0.08381662517786026,
0.003548839595168829,
0.00482435105368495,
-0.011569028720259666,
0.0781686082482338,
0.0029228506609797478,
0.035111863166093826,
-0.022460294887423515,
-0.016605181619524956,
-0.0032334919087588787,
0.017320597544312477,
0.014393039047718048,
-0.0338316448032856,
-0.006001021713018417,
-0.013912957161664963,
-0.008655591867864132,
0.02351459302008152,
0.03851950168609619,
-0.08434377610683441,
0.04348975792527199,
0.02249794825911522,
-0.060810357332229614,
0.00587864825502038,
0.0157956313341856,
-0.004706684034317732,
-0.020954156294465065,
-0.02219672128558159,
-0.058212265372276306,
-0.04431813582777977,
0.03081936575472355,
-0.09300407022237778,
0.00974283553659916,
0.011258387938141823,
-0.11544553935527802,
0.010392357595264912,
0.061827000230550766,
0.03816179186105728,
-0.019975166767835617,
-0.0005812754388898611,
0.0018967936048284173,
0.05745919793844223,
-0.021010637283325195,
0.017744198441505432,
-0.01650163345038891,
0.006033968646079302,
0.009036833420395851,
-0.0021533078979700804,
0.0037606405094265938,
0.059793710708618164,
-0.017941879108548164,
-0.010863026604056358,
0.01537202950567007,
-0.008975646458566189,
-0.01989986002445221,
0.020238740369677544,
0.035544876009225845,
-0.07929821312427521,
-0.03358689695596695,
0.016190992668271065,
-0.010712412185966969,
-0.0169158224016428,
-0.0047819907777011395,
-0.020332874730229378,
-0.0024192354176193476,
0.028202449902892113,
0.03386929631233215,
-0.0024733624886721373,
-0.01055238489061594,
-0.03889603540301323,
0.024192355573177338,
0.023495765402913094,
-0.03164774179458618,
-0.010298224166035652,
0.0015896825352683663,
0.0008007246069610119,
0.016793448477983475,
0.015560297295451164,
-0.04153177887201309,
-0.028748424723744392,
-0.03526247665286064,
0.07093913853168488,
0.01052414532750845,
-0.002466302365064621,
0.08261171728372574,
0.008933286182582378,
0.05090749263763428,
0.03821827471256256,
-0.011239561252295971,
-0.0090886065736413,
0.01088185328990221,
-0.0018638467881828547,
-0.029407361522316933,
0.025547880679368973,
-0.04292495548725128,
0.015814457088708878,
0.028955519199371338,
0.0028687238227576017,
0.020276393741369247,
-0.009008592925965786,
0.006584650836884975,
0.0018944402690976858,
0.055312950164079666,
0.02351459302008152,
0.03196779638528824
] |
23,176 | flask.app | handle_http_exception | Handles an HTTP exception. By default this will invoke the
registered error handlers and fall back to returning the
exception as response.
.. versionchanged:: 1.0.3
``RoutingException``, used internally for actions such as
slash redirects during routing, is not passed to error
handlers.
.. versionchanged:: 1.0
Exceptions are looked up by code *and* by MRO, so
``HTTPException`` subclasses can be handled with a catch-all
handler for the base ``HTTPException``.
.. versionadded:: 0.3
| def handle_http_exception(
self, e: HTTPException
) -> HTTPException | ft.ResponseReturnValue:
"""Handles an HTTP exception. By default this will invoke the
registered error handlers and fall back to returning the
exception as response.
.. versionchanged:: 1.0.3
``RoutingException``, used internally for actions such as
slash redirects during routing, is not passed to error
handlers.
.. versionchanged:: 1.0
Exceptions are looked up by code *and* by MRO, so
``HTTPException`` subclasses can be handled with a catch-all
handler for the base ``HTTPException``.
.. versionadded:: 0.3
"""
# Proxy exceptions don't have error codes. We want to always return
# those unchanged as errors
if e.code is None:
return e
# RoutingExceptions are used internally to trigger routing
# actions, such as slash redirects raising RequestRedirect. They
# are not raised or handled in user code.
if isinstance(e, RoutingException):
return e
handler = self._find_error_handler(e)
if handler is None:
return e
return self.ensure_sync(handler)(e)
| (self, e: 'HTTPException') -> 'HTTPException | ft.ResponseReturnValue' | [
-0.03408093750476837,
-0.029614020138978958,
-0.05415450036525726,
0.02970593050122261,
-0.029411813244223595,
-0.04316183552145958,
-0.06213245540857315,
0.05871333181858063,
0.015422819182276726,
-0.04360301420092583,
0.07470600306987762,
0.034761086106300354,
0.04650742933154106,
-0.007647071499377489,
0.014053331688046455,
0.04841919615864754,
0.006783099379390478,
0.05077214166522026,
0.04378683865070343,
-0.10433840751647949,
-0.01482539251446724,
-0.006181076169013977,
0.008088248781859875,
-0.01775738224387169,
-0.02972431294620037,
-0.009177404455840588,
0.042353011667728424,
-0.020772093906998634,
0.019283119589090347,
-0.028253722935914993,
-0.013685684651136398,
-0.05187508463859558,
0.010496340692043304,
0.000587661808822304,
-0.029430195689201355,
-0.017895249649882317,
-0.06411775201559067,
0.03165446221828461,
-0.07441188395023346,
0.022408125922083855,
-0.07169129699468613,
0.007660858333110809,
-0.04794125631451607,
-0.014972451142966747,
0.04875008016824722,
0.01625002734363079,
-0.05566185712814331,
0.012729800306260586,
-0.02867651730775833,
-0.003083644900470972,
-0.06628687679767609,
0.008915456011891365,
0.0423162467777729,
-0.055257443338632584,
0.039632417261600494,
0.08522073179483414,
0.01571693830192089,
-0.0025229821912944317,
-0.020091945305466652,
0.0015912250382825732,
-0.012380534783005714,
0.05073537677526474,
-0.02257356606423855,
-0.010193031281232834,
0.009301485493779182,
0.025239013135433197,
0.026084601879119873,
-0.011240827850997448,
-0.0453309565782547,
0.025073571130633354,
0.02694857306778431,
0.02538607083261013,
0.011130533181130886,
-0.015432010404765606,
0.06312510371208191,
0.027867693454027176,
-0.009540457278490067,
-0.01589157059788704,
0.01619488000869751,
0.034926529973745346,
0.04099271446466446,
0.04209565743803978,
0.017077233642339706,
-0.025698572397232056,
0.03148902207612991,
-0.08558837324380875,
-0.033731672912836075,
-0.009200382977724075,
-0.014200391247868538,
-0.005510119255632162,
-0.03187505155801773,
-0.08485308289527893,
-0.05411773547530174,
-0.03207726031541824,
-0.024503717198967934,
-0.005542288534343243,
0.033805202692747116,
-0.03136034682393074,
0.005225192289799452,
-0.06334569305181503,
0.0360846184194088,
0.09588251262903214,
0.010919135995209217,
0.012555168010294437,
0.04169124364852905,
-0.07404424250125885,
0.034356676042079926,
-0.040808890014886856,
0.025588277727365494,
-0.010404429398477077,
0.004466919228434563,
-0.01511951070278883,
0.009880530647933483,
0.011286783032119274,
-0.02430151030421257,
0.015579069964587688,
0.0419485978782177,
0.026599308475852013,
-0.03351108357310295,
0.005096515640616417,
0.012536785565316677,
-0.035974323749542236,
0.008065270259976387,
-0.002435665810480714,
-0.0029618614353239536,
-0.011507372371852398,
-0.01830885373055935,
-0.05349273607134819,
-0.036893442273139954,
-0.002027806593105197,
-0.028713282197713852,
-0.015413627959787846,
-0.03727947175502777,
-0.00037741329288110137,
-0.012288623489439487,
0.07551483064889908,
-0.05665450543165207,
0.04055153578519821,
0.025055188685655594,
-0.018033118918538094,
-0.013823552057147026,
0.03073534555733204,
0.012205902487039566,
-0.03073534555733204,
0.0032375971786677837,
-0.026360338553786278,
0.01722429320216179,
-0.02527577616274357,
-0.0027734420727938414,
-0.041875068098306656,
0.01954047381877899,
0.020257387310266495,
0.03830888494849205,
0.03562505915760994,
-0.07801483571529388,
0.03562505915760994,
0.02150738798081875,
-0.005422803107649088,
-0.02330886200070381,
0.06838246434926987,
0.0442647784948349,
-0.025018423795700073,
0.047205958515405655,
-0.05040449649095535,
-0.011985314078629017,
-0.02803313545882702,
0.039632417261600494,
-0.027132397517561913,
0.0035409065894782543,
-0.03174637630581856,
-0.07463247328996658,
-0.007449460681527853,
-0.03886035829782486,
-0.031617701053619385,
0.024430187419056892,
0.04716919735074043,
0.04683831334114075,
0.006116738077253103,
-0.018639735877513885,
0.028511077165603638,
0.09132368117570877,
-0.07617659866809845,
-0.04625007510185242,
0.026636073365807533,
0.005721516907215118,
0.016378702595829964,
-0.018547825515270233,
0.030000049620866776,
0.017500028014183044,
0.047279488295316696,
0.026819897815585136,
-0.041323598474264145,
0.006217841058969498,
-0.018391573801636696,
0.06033098325133324,
0.06444863229990005,
0.0014522082637995481,
-0.00828585959970951,
0.12470608949661255,
0.010294134728610516,
-0.02215077169239521,
0.02316180244088173,
0.014264729805290699,
0.07250011712312698,
-0.054889798164367676,
0.00039522122824564576,
0.033805202692747116,
-0.02053312212228775,
-0.026875045150518417,
-0.029852990061044693,
-0.06419128179550171,
-0.006052399519830942,
-0.057058919221162796,
0.04922802373766899,
0.04536772146821022,
0.04316183552145958,
-0.061728041619062424,
-0.028713282197713852,
0.05040449649095535,
0.03027578443288803,
-0.03393387794494629,
0.030606668442487717,
-0.03178314119577408,
-0.010183840058743954,
0.09963251650333405,
0.019779443740844727,
-0.016636056825518608,
-0.025735337287187576,
0.009613986127078533,
0.05055155232548714,
0.0038603004068136215,
0.025165483355522156,
-0.0334191732108593,
-0.006971518974751234,
0.1324266940355301,
-0.0017968779429793358,
-0.005294126458466053,
-0.022261066362261772,
-0.046139780431985855,
0.005942105315625668,
0.019264737144112587,
0.0041268449276685715,
-0.03080887533724308,
0.06011039391160011,
-0.018336426466703415,
-0.034338291734457016,
-0.04573537036776543,
0.06106627732515335,
-0.03720594197511673,
-0.04253683611750603,
0.024632394313812256,
0.020110327750444412,
0.007500012405216694,
-0.040220655500888824,
-0.013152595609426498,
-0.02261033095419407,
-0.011314356699585915,
-0.033253733068704605,
0.005891554057598114,
0.03248167037963867,
0.0721692368388176,
0.01511951070278883,
0.0487133152782917,
0.01891547255218029,
-0.043970659375190735,
-0.04790449142456055,
0.03132358193397522,
0.03031254932284355,
0.06261039525270462,
0.042353011667728424,
0.05125008523464203,
0.05900745093822479,
-0.02373165637254715,
0.023437539115548134,
0.004517470486462116,
0.012031270191073418,
0.045551545917987823,
0.05014714226126671,
-0.05761038884520531,
0.008814352564513683,
-0.012527594342827797,
0.031544171273708344,
-0.011718769557774067,
-0.01665443927049637,
-0.020091945305466652,
0.036525797098875046,
0.013014727272093296,
0.02060665190219879,
-0.03284931927919388,
-0.010101119987666607,
0.04643389955163002,
-0.024172833189368248,
-0.007987145334482193,
0.018474295735359192,
-0.012812521308660507,
-0.003492652904242277,
-0.09132368117570877,
-0.012987153604626656,
0.026727985590696335,
-0.002442559227347374,
-0.014053331688046455,
0.049889788031578064,
0.09132368117570877,
-0.0072058942168951035,
-0.022003712132573128,
-0.030036814510822296,
0.06102951243519783,
-0.032114025205373764,
0.02593754231929779,
-0.015634216368198395,
0.030386079102754593,
0.027720633894205093,
-0.06319863349199295,
-0.0024678348563611507,
-0.0029319901950657368,
0.04955890402197838,
0.0519118495285511,
0.006700378842651844,
0.008028506301343441,
0.011057003401219845,
-0.039742711931467056,
0.022996362298727036,
-0.00032456396729685366,
-0.007665453944355249,
0.025165483355522156,
-0.0034558880142867565,
-0.010514723137021065,
-0.008097440004348755,
0.007339166477322578,
-0.02424636296927929,
0.045698605477809906,
-0.03797800466418266,
-0.019099297001957893,
-0.025128718465566635,
0.011645239777863026,
-0.07955895364284515,
0.05610303208231926,
-0.011727960780262947,
-0.0014993131626397371,
-0.005257361568510532,
-0.032132405787706375,
0.03772065043449402,
0.058125097304582596,
0.043970659375190735,
0.004437047988176346,
-0.003164067631587386,
0.005850193556398153,
-0.020349297672510147,
-0.02705886773765087,
-0.023492686450481415,
-0.04632360488176346,
-0.02705886773765087,
-0.04970596358180046,
0.006452216766774654,
0.006167289800941944,
-0.017481647431850433,
-0.012738991528749466,
-0.03575373440980911,
-0.02476106956601143,
-0.0014694418059661984,
0.019227972254157066,
-0.008074461482465267,
-0.07514718174934387,
0.020698564127087593,
-0.04220595210790634,
-0.012941197492182255,
-0.0013327228371053934,
-0.016663629561662674,
-0.0474633127450943,
0.009071705862879753,
0.003883278463035822,
0.0029641592409461737,
0.023455921560525894,
-0.0024655370507389307,
0.032720644026994705,
-0.02060665190219879,
-0.03189343586564064,
-0.01619488000869751,
0.027224309742450714,
0.05573538690805435,
0.07139717787504196,
-0.023860333487391472,
-0.048897139728069305,
-0.05496332421898842,
0.05558832734823227,
-0.051544204354286194,
0.08610308170318604,
-0.0011626856867223978,
-0.043455954641103745,
0.006291370838880539,
-0.01737135276198387,
-0.004742654971778393,
0.013878699392080307,
0.0006554468418471515,
0.015303334221243858,
-0.04154418781399727,
-0.06540451943874359,
0.0014142945874482393,
-0.03569858893752098,
-0.006374091375619173,
-0.013970611616969109,
0.04643389955163002,
0.013023918494582176,
0.036966972053050995,
0.0070174746215343475,
0.04860302060842514,
0.004156716633588076,
-0.001217832905240357,
0.007458651904016733,
-0.022996362298727036,
-0.06893393397331238,
0.011213254183530807,
-0.01483458373695612,
-0.035386089235544205,
0.02477945201098919,
0.041801538318395615,
0.01602024771273136,
0.008281263522803783,
-0.04477948695421219,
-0.04386036470532417,
-0.002605702728033066,
0.03362137824296951,
0.00741269625723362,
-0.04084565490484238,
-0.010229796171188354,
-0.008777587674558163,
0.011525753885507584,
0.006548724137246609,
-0.03468755632638931,
0.002185205928981304,
0.026360338553786278,
-0.031231669709086418,
-0.03025740198791027,
-0.02213238924741745,
0.04419124871492386,
-0.0400000661611557,
-0.057500094175338745,
-0.006305157672613859,
-0.0027780376840382814,
-0.011792299337685108,
0.02382356859743595,
-0.023069890215992928,
-0.03222431614995003,
0.0035478000063449144,
0.04522066190838814,
-0.025128718465566635,
0.038161829113960266,
-0.015000024810433388,
-0.038676533848047256,
-0.044632427394390106,
-0.031525786966085434,
0.019595621153712273,
0.04165447875857353,
-0.03347431868314743,
0.014972451142966747,
-0.021341947838664055,
-0.062389809638261795,
-0.026672838255763054,
-0.011470607481896877,
0.01790444180369377,
0.019761061295866966,
-0.00396370142698288,
0.04985302314162254,
-0.08448543399572372,
-0.03238976001739502,
0.006277584005147219,
0.09007367491722107,
-0.03834564983844757,
0.03224270045757294,
0.003396145300939679,
-0.0010535403853282332,
-0.04661772400140762,
0.013814360834658146,
-0.010542296804487705,
-0.014917303808033466,
-0.025735337287187576,
0.010772076435387135,
-0.044007424265146255,
0.04525742679834366,
0.0002658265002537519,
0.04827214032411575,
-0.03450373187661171,
0.04654419422149658,
-0.005147067364305258,
0.007725196424871683,
-0.012003696523606777,
0.026139749214053154,
-0.026727985590696335,
0.027261074632406235,
-0.03073534555733204,
0.06297804415225983,
0.007348357699811459,
-0.01626840978860855,
0.02705886773765087,
-0.04466919228434563,
0.006011039484292269,
-0.040330950170755386,
-0.027408134192228317,
-0.014136052690446377,
-0.03615814819931984,
0.013676493428647518,
-0.05444861948490143,
0.03352946788072586,
-0.030000049620866776,
0.06397069245576859,
-0.03512873500585556,
-0.021397093310952187,
0.005114898085594177,
0.028915489092469215,
-0.032739024609327316,
-0.040220655500888824,
-0.0037752820644527674,
0.05566185712814331,
0.02854784205555916,
-0.030386079102754593,
-0.0007082961965352297,
-0.023345626890659332,
0.021286800503730774,
0.01941179670393467,
0.06838246434926987,
0.07948542386293411,
-0.02869489975273609,
0.016884218901395798,
0.047720666974782944,
-0.02327209711074829,
0.030625050887465477,
0.029246371239423752,
0.02268386073410511,
0.05514714866876602,
0.012058843858540058,
-0.011599283665418625,
0.05036773160099983,
0.0169761311262846,
-0.033786822110414505,
0.018731648102402687,
0.006043208297342062,
-0.08139719069004059,
-0.0007387420046143234,
-0.041801538318395615,
0.021930182352662086,
0.022003712132573128,
0.05242655798792839,
-0.033069908618927,
-0.007858469150960445,
-0.05389714613556862,
-0.07091923803091049,
-0.011792299337685108,
-0.0433824248611927,
0.017784954980015755,
-0.002174865687265992,
0.0024678348563611507,
-0.028713282197713852,
0.054779503494501114,
-0.018694883212447166,
-0.020128710195422173,
0.023989010602235794,
0.002359838457778096,
0.06503687053918839,
-0.000769187870901078,
-0.031562551856040955,
0.01722429320216179,
-0.004908096510916948,
-0.005422803107649088,
-0.0080009326338768,
-0.06058833375573158,
0.04378683865070343,
0.02801475301384926,
0.016645248979330063,
-0.03187505155801773,
-0.020239004865288734,
-0.021470623090863228,
0.025165483355522156,
0.021948564797639847,
-0.04150742292404175,
0.03941183164715767,
0.0485294908285141,
0.03193020075559616,
-0.010579061694443226,
0.013602963648736477,
0.009678324684500694,
-0.021286800503730774,
-0.05305155739188194,
-0.045661840587854385,
0.03071696311235428,
-0.014715097844600677,
-0.0465809591114521,
0.032665494829416275,
0.03764712065458298,
-0.031176522374153137,
-0.0019048744579777122,
-0.011534945107996464,
-0.03992653638124466,
0.012297814711928368,
-0.05772068351507187,
0.03446696698665619,
0.07224276661872864,
-0.10485311597585678,
-0.0045358529314398766,
-0.006760121323168278,
0.02540445327758789,
0.017729809507727623,
0.02748166210949421,
-0.0015085043851286173,
-0.023455921560525894,
0.028345635160803795,
0.0036741788499057293,
0.03658094257116318,
-0.04698537290096283,
-0.03955888748168945,
-0.057463329285383224,
0.032683879137039185,
-0.024080922827124596,
0.02919122390449047,
-0.03031254932284355,
-0.07397071272134781,
0.003894767491146922,
-0.03667285293340683,
0.012968771159648895,
-0.02862136997282505,
-0.05948539078235626,
0.011029429733753204,
-0.03941183164715767,
-0.05283096805214882,
0.04588242992758751,
0.010294134728610516,
0.026194896548986435,
0.04084565490484238,
0.030937550589442253,
-0.07882366329431534,
0.02156253531575203,
-0.006966923363506794,
0.022444890812039375,
-0.01891547255218029,
-0.05139714479446411,
0.02430151030421257,
0.028308870270848274,
0.03882359340786934,
0.0012132372939959168,
0.009246339090168476,
0.0026355742011219263,
0.05033096671104431,
0.028768429532647133,
-0.038603004068136215,
0.03610299900174141,
0.04161771759390831,
0.02582724764943123,
-0.0018807476153597236,
-0.0037729842588305473,
0.043455954641103745,
-0.05058831721544266,
-0.01693936623632908,
0.031102992594242096,
-0.025661807507276535,
-0.02007356286048889,
-0.053272146731615067,
0.002474728273227811,
0.02867651730775833,
-0.038603004068136215,
0.006181076169013977,
0.03908094763755798,
-0.028768429532647133,
-0.0031939391046762466,
0.027224309742450714,
-0.04095594957470894,
0.041838303208351135,
-0.022003712132573128,
-0.004761037416756153,
-0.015882378444075584,
0.07882366329431534,
-0.013750022277235985,
0.004742654971778393,
-0.013437522575259209,
0.005781259387731552,
0.044522132724523544,
0.007513799238950014,
0.013005536049604416,
0.009687515906989574,
-0.040772125124931335,
0.00041360361501574516,
-0.005886958446353674,
0.009131449274718761,
0.05301479250192642,
-0.09095603227615356,
0.03150740638375282,
-0.0023345625959336758,
-0.012959579937160015,
-0.014154435135424137,
0.05944862589240074,
-0.014889730140566826,
-0.02759195677936077,
-0.022261066362261772,
0.0007869958062656224,
-0.050955966114997864,
0.043897129595279694,
-0.03571696951985359,
0.049889788031578064,
-0.002805611351504922,
-0.0936766266822815,
0.011801489628851414,
0.09308838844299316,
0.0030974315013736486,
-0.0368015319108963,
-0.03079049289226532,
-0.005193023476749659,
0.04485301673412323,
-0.07919130474328995,
0.02419121563434601,
0.007853873074054718,
-0.005684752017259598,
-0.010937518440186977,
-0.04257360100746155,
-0.0389338880777359,
0.04827214032411575,
0.025220630690455437,
-0.010238987393677235,
0.006484385579824448,
0.012720609083771706,
0.014935686253011227,
0.015588261187076569,
0.015579069964587688,
-0.06356628239154816,
-0.002164525678381324,
0.07676482945680618,
0.011838254518806934,
0.0001599841780262068,
-0.011957740411162376,
-0.05018390715122223,
-0.01695774868130684,
0.007279423996806145,
0.041286833584308624,
0.021838271990418434,
0.006989901419728994,
-0.013860316947102547,
-0.01895223744213581,
-0.008290454745292664,
-0.007504608016461134,
0.04602948948740959,
0.04172800853848457,
-0.017141573131084442,
0.038161829113960266,
0.007619497831910849,
-0.01941179670393467,
0.012582741677761078,
-0.075367771089077,
0.07011041045188904,
-0.02435665763914585,
-0.0344853512942791,
0.06268392503261566,
0.02909931354224682,
0.06764717400074005,
0.036525797098875046,
-0.027941223233938217,
0.07816189527511597,
0.025477983057498932,
0.02163606509566307,
0.01939341425895691,
0.002316180383786559,
-0.021305182948708534,
0.0431986004114151,
-0.00398667948320508,
-0.011295974254608154,
0.03498167544603348,
-0.021893419325351715,
-0.012058843858540058,
-0.008704058825969696,
0.026709603145718575,
-0.008138800039887428,
0.033750057220458984
] |
23,177 | flask.app | handle_url_build_error | Called by :meth:`.url_for` if a
:exc:`~werkzeug.routing.BuildError` was raised. If this returns
a value, it will be returned by ``url_for``, otherwise the error
will be re-raised.
Each function in :attr:`url_build_error_handlers` is called with
``error``, ``endpoint`` and ``values``. If a function returns
``None`` or raises a ``BuildError``, it is skipped. Otherwise,
its return value is returned by ``url_for``.
:param error: The active ``BuildError`` being handled.
:param endpoint: The endpoint being built.
:param values: The keyword arguments passed to ``url_for``.
| def handle_url_build_error(
self, error: BuildError, endpoint: str, values: dict[str, t.Any]
) -> str:
"""Called by :meth:`.url_for` if a
:exc:`~werkzeug.routing.BuildError` was raised. If this returns
a value, it will be returned by ``url_for``, otherwise the error
will be re-raised.
Each function in :attr:`url_build_error_handlers` is called with
``error``, ``endpoint`` and ``values``. If a function returns
``None`` or raises a ``BuildError``, it is skipped. Otherwise,
its return value is returned by ``url_for``.
:param error: The active ``BuildError`` being handled.
:param endpoint: The endpoint being built.
:param values: The keyword arguments passed to ``url_for``.
"""
for handler in self.url_build_error_handlers:
try:
rv = handler(error, endpoint, values)
except BuildError as e:
# make error available outside except block
error = e
else:
if rv is not None:
return rv
# Re-raise if called with an active exception, otherwise raise
# the passed in exception.
if error is sys.exc_info()[1]:
raise
raise error
| (self, error: werkzeug.routing.exceptions.BuildError, endpoint: str, values: dict[str, typing.Any]) -> str | [
-0.00789354182779789,
-0.010449330322444439,
-0.043823856860399246,
0.0376356840133667,
-0.02690589427947998,
0.027068741619586945,
-0.0007752181845717132,
0.011399269104003906,
-0.0016386449569836259,
-0.036875732243061066,
0.031700827181339264,
0.055693574249744415,
0.07563325017690659,
-0.0444752462208271,
0.02223762311041355,
0.054535552859306335,
0.036043405532836914,
0.04136306419968605,
0.0868515744805336,
-0.008273517712950706,
-0.02028346247971058,
-0.01345294713973999,
-0.013688170351088047,
-0.030814215540885925,
-0.01319058332592249,
0.03908320888876915,
0.018211690708994865,
0.05641733855009079,
0.04856450855731964,
-0.08243662118911743,
-0.01943304017186165,
-0.027611564844846725,
0.04364291578531265,
0.03617006167769432,
0.023938465863466263,
-0.030289487913250923,
-0.0036595272831618786,
0.04599514603614807,
-0.07302770018577576,
-0.013063924387097359,
-0.06593482196331024,
0.005043724551796913,
-0.005943904630839825,
-0.04548851400613785,
0.05855243653059006,
-0.0016465611988678575,
-0.06155605614185333,
0.07045834511518478,
-0.08113384991884232,
-0.006070563569664955,
-0.028407704085111618,
0.020355839282274246,
0.011752104386687279,
-0.02136910706758499,
0.009318450465798378,
0.0777321606874466,
-0.011878762394189835,
0.033094070851802826,
0.039155587553977966,
0.0018275019247084856,
-0.009951743297278881,
0.0065545798279345036,
-0.008210187777876854,
0.022418564185500145,
0.029891418293118477,
0.046429406851530075,
0.013443900272250175,
0.025820249691605568,
-0.04277440160512924,
0.017225563526153564,
0.06778042018413544,
0.058878131210803986,
-0.03564533591270447,
-0.031067533418536186,
0.017741244286298752,
-0.009879366494715214,
0.01330819446593523,
-0.013091065920889378,
0.044077176600694656,
-0.023811807855963707,
0.01025934237986803,
0.0038223741576075554,
-0.003625601064413786,
-0.025114580988883972,
0.010657412000000477,
-0.02981904149055481,
0.01199637446552515,
0.005464411806315184,
-0.011987326666712761,
0.060940857976675034,
-0.04881782457232475,
-0.031936049461364746,
-0.03378164395689964,
-0.05475268140435219,
-0.020102521404623985,
0.04259346053004265,
0.046429406851530075,
-0.003039805218577385,
0.054535552859306335,
-0.04867307096719742,
0.10038594901561737,
-0.05721347779035568,
-0.029692383483052254,
0.007056690752506256,
0.026507824659347534,
-0.04335341230034828,
0.03560914844274521,
-0.01999395713210106,
-0.0021113527473062277,
-0.011761151254177094,
0.00805638823658228,
-0.021821457892656326,
0.018727371469140053,
-0.012059703469276428,
-0.05724966526031494,
-0.012955360114574432,
0.010087449103593826,
0.0013389617670327425,
-0.044439058750867844,
-0.004419478587806225,
-0.005333229899406433,
-0.04161638021469116,
-0.0585162490606308,
-0.022382374852895737,
0.05381178855895996,
0.03376355022192001,
-0.09698425978422165,
-0.019885392859578133,
0.05326896905899048,
-0.0667671486735344,
-0.01835644245147705,
0.043823856860399246,
-0.014701439067721367,
-0.027919163927435875,
-0.039481278508901596,
0.0315379798412323,
-0.0827261283993721,
0.007527136709541082,
0.0010313624516129494,
0.05160431191325188,
-0.028425797820091248,
0.007043119985610247,
-0.010051260702311993,
-0.025603121146559715,
0.05174906551837921,
-0.04689985141158104,
0.06922794133424759,
0.03738236799836159,
0.02259950339794159,
0.02983713522553444,
0.04650178179144859,
0.04726173356175423,
0.08677919954061508,
0.008739439770579338,
-0.04252108559012413,
-0.02775631658732891,
0.0527261458337307,
0.023956559598445892,
0.006455062422901392,
-0.024662228301167488,
0.05732204020023346,
-0.015325685031712055,
0.0030375435017049313,
-0.0585162490606308,
-0.0043109143152832985,
0.0019236267544329166,
0.07592275738716125,
0.022183340042829514,
-0.00830065831542015,
0.03872132673859596,
-0.044981878250837326,
0.05724966526031494,
0.015171884559094906,
0.016709880903363228,
-0.060615163296461105,
0.01343485340476036,
0.01565137878060341,
-0.04422192648053169,
-0.0068847970105707645,
-0.019903486594557762,
-0.008988233283162117,
-0.0239927489310503,
-0.011752104386687279,
0.02370324358344078,
0.03904702141880989,
0.029022902250289917,
-0.07440285384654999,
-0.023359455168247223,
-0.03696620091795921,
0.009960790164768696,
-0.029004808515310287,
-0.03164654225111008,
0.05583832785487175,
-0.01604040153324604,
0.0062198396772146225,
0.017614586278796196,
-0.013914346694946289,
-0.00386760919354856,
0.04071167856454849,
0.006378162652254105,
-0.012276832014322281,
0.005269900429993868,
-0.025946909561753273,
-0.010313624516129494,
0.003123490372672677,
0.039770785719156265,
0.030814215540885925,
-0.026996364817023277,
0.03568152338266373,
0.04317247122526169,
-0.05663446709513664,
0.04454762116074562,
-0.03615196794271469,
0.04172494634985924,
-0.015153790824115276,
0.01943304017186165,
-0.03624244034290314,
0.015117602422833443,
-0.017207467928528786,
0.00982508435845375,
-0.00760403648018837,
-0.03521107882261276,
0.10950536280870438,
-0.03237030655145645,
0.03247887268662453,
0.027376340702176094,
0.046320840716362,
-0.020319649949669838,
-0.000494477222673595,
0.026435449719429016,
0.023938465863466263,
-0.028498174622654915,
0.03854038566350937,
0.03441493585705757,
0.050771985203027725,
-0.047949306666851044,
-0.01288298424333334,
-0.00918726809322834,
0.07700839638710022,
0.03287694230675697,
0.03150179237127304,
-0.014113381505012512,
-0.02835342101752758,
0.012104938738048077,
0.029294313862919807,
-0.0038834416773170233,
-0.03770805895328522,
0.0475512370467186,
-0.07490948587656021,
-0.06908319145441055,
0.002260628854855895,
0.045560888946056366,
-0.018021702766418457,
-0.02111578918993473,
0.006047945935279131,
-0.07136304676532745,
0.011408316902816296,
-0.07078403234481812,
0.0350482314825058,
-0.011833527125418186,
0.013443900272250175,
0.048492129892110825,
0.055150751024484634,
0.040964994579553604,
-0.059420954436063766,
-0.05431842431426048,
0.018709277734160423,
0.02082628384232521,
0.034233998507261276,
0.0810614749789238,
-0.012702043168246746,
0.0508805476129055,
-0.029113372787833214,
0.041544005274772644,
0.036296721547842026,
0.048998765647411346,
0.023594679310917854,
0.06401684880256653,
-0.018419772386550903,
-0.0031506314408034086,
-0.012828702107071877,
-0.01827501878142357,
-0.01812122017145157,
0.03933652862906456,
-0.011896857060492039,
0.04599514603614807,
0.017614586278796196,
0.039227962493896484,
0.018618807196617126,
0.0009052693494595587,
0.05786486342549324,
-0.016239436343312263,
-0.018944500014185905,
0.041869696229696274,
-0.07310007512569427,
-0.0707116574048996,
-0.0027095882687717676,
-0.02893243171274662,
0.05352228507399559,
-0.035735804587602615,
-0.030235204845666885,
0.02310613915324211,
0.007477378007024527,
-0.019270192831754684,
-0.0006276383646763861,
-0.023558489978313446,
0.04827500134706497,
-0.05620021000504494,
-0.0176779143512249,
-0.012258738279342651,
0.019595887511968613,
0.016004212200641632,
-0.03962603211402893,
-0.02956572361290455,
0.029583819210529327,
-0.017035575583577156,
0.011426410637795925,
-0.03450540825724602,
-0.013507229276001453,
0.03436065465211868,
-0.02983713522553444,
0.03510251268744469,
-0.017804574221372604,
-0.007839259691536427,
0.006188174709677696,
-0.014565733261406422,
0.018293114379048347,
0.01417671050876379,
-0.03247887268662453,
0.00904251541942358,
0.018437866121530533,
-0.02079009637236595,
0.007540707476437092,
-0.017071763053536415,
0.02833532728254795,
-0.01491856761276722,
0.024209877476096153,
0.008716822601854801,
-0.02281663380563259,
-0.020699625834822655,
-0.00208647339604795,
0.0069481260143220425,
-0.047913119196891785,
0.054390799254179,
-0.024209877476096153,
-0.0033157397992908955,
0.04168875887989998,
-0.03188176825642586,
-0.0020706411451101303,
-0.09901079535484314,
-0.041254498064517975,
-0.012023515067994595,
-0.056272584944963455,
-0.0024562710896134377,
0.047334108501672745,
-0.03244268149137497,
-0.04378766939043999,
-0.03897464647889137,
0.018247878178954124,
0.043823856860399246,
0.027539188042283058,
-0.03466825559735298,
-0.04494569078087807,
-0.014330510050058365,
0.016547035425901413,
0.014981897547841072,
0.0011376652400940657,
-0.0003972215636167675,
-0.025114580988883972,
-0.02491554617881775,
0.03589865192770958,
0.014846191741526127,
0.07375146448612213,
-0.005722252186387777,
0.01011458970606327,
0.031411319971084595,
-0.0009544626227580011,
0.00433805538341403,
-0.015931835398077965,
0.058299120515584946,
0.00600723410025239,
0.011498786509037018,
0.044077176600694656,
-0.013588652946054935,
0.08062721788883209,
-0.08344989269971848,
0.01615801267325878,
-0.0021260541398078203,
-0.013443900272250175,
0.020464403554797173,
-0.019903486594557762,
-0.03555486351251602,
-0.01602230593562126,
0.0469360388815403,
0.06376353651285172,
-0.025530744343996048,
0.012077797204256058,
-0.020446307957172394,
0.005613687913864851,
0.013570559211075306,
-0.0006751352921128273,
0.01878165267407894,
-0.015488531440496445,
0.03846801072359085,
0.042991530150175095,
-0.026254508644342422,
0.01794932596385479,
0.055078376084566116,
0.009779849089682102,
-0.0353558287024498,
-0.00607961043715477,
-0.010729788802564144,
-0.10552466660737991,
-0.044077176600694656,
-0.02028346247971058,
-0.017668867483735085,
-0.021821457892656326,
0.0411459356546402,
-0.0527261458337307,
-0.018908312544226646,
0.029620006680488586,
-0.004894448444247246,
0.034577783197164536,
0.0007865270017646253,
-0.03010854683816433,
0.017587443813681602,
-0.002110221888870001,
0.020971037447452545,
0.005012059584259987,
0.028498174622654915,
0.0092551214620471,
-0.030488522723317146,
-0.06021709367632866,
0.018184548243880272,
-0.005477982107549906,
-0.05117005482316017,
-0.044692374765872955,
0.05464411899447441,
0.005278947297483683,
-0.03796137869358063,
-0.035428207367658615,
-0.009291308932006359,
-0.04085642844438553,
0.008359463885426521,
0.03390830382704735,
-0.021206259727478027,
0.06756328791379929,
-0.04389623552560806,
-0.013353429734706879,
-0.044692374765872955,
-0.039734598249197006,
-0.020138708874583244,
0.04223157837986946,
-0.015705659985542297,
0.0006129369139671326,
-0.01575089618563652,
-0.09459584206342697,
0.03188176825642586,
0.021043414250016212,
0.026833519339561462,
0.025983097031712532,
0.012204456143081188,
-0.03034376911818981,
-0.015588048845529556,
-0.031375132501125336,
0.022219529375433922,
0.06075991690158844,
-0.021260542795062065,
-0.018012655898928642,
-0.018890218809247017,
0.010177919641137123,
-0.05641733855009079,
0.031954143196344376,
0.04621227830648422,
-0.015298543497920036,
-0.004611728247255087,
0.0036052451469004154,
0.0013253912329673767,
0.019215911626815796,
-0.02665257826447487,
-0.012919171713292599,
-0.029366688802838326,
-0.019252099096775055,
0.020971037447452545,
-0.010847399942576885,
-0.006278645247220993,
0.0011772459838539362,
0.02457175962626934,
0.035735804587602615,
0.027937257662415504,
-0.001395505852997303,
-0.03521107882261276,
-0.007346196100115776,
-0.0034785866737365723,
-0.012674901634454727,
0.016049448400735855,
-0.023667054250836372,
0.010304577648639679,
-0.012023515067994595,
-0.010494565591216087,
0.027376340702176094,
-0.053341343998909,
0.038359448313713074,
0.015524719841778278,
0.026399260386824608,
-0.034867290407419205,
0.06227981671690941,
0.05931238830089569,
0.011625445447862148,
-0.05489743500947952,
-0.02373943105340004,
0.03291312977671623,
0.06470442563295364,
0.02808200940489769,
0.009291308932006359,
-0.03470444306731224,
-0.023847995325922966,
-0.03247887268662453,
-0.03385402262210846,
0.07165255397558212,
0.06463205069303513,
0.011462599039077759,
0.02051868475973606,
0.05008440837264061,
-0.013253912329673767,
0.004745172336697578,
0.07266581803560257,
0.024517476558685303,
0.0055548823438584805,
0.027973445132374763,
-0.013036783784627914,
0.03727380186319351,
0.04288296774029732,
0.031049439683556557,
0.001861428376287222,
-0.015289496630430222,
-0.03204461187124252,
-0.0013321765000000596,
-0.08041008561849594,
0.04541613906621933,
-0.017035575583577156,
0.06130274012684822,
-0.04273821413516998,
-0.05732204020023346,
-0.06778042018413544,
-0.09568148851394653,
0.002241404028609395,
-0.016954151913523674,
0.035735804587602615,
-0.07310007512569427,
0.000500131631270051,
0.053124215453863144,
0.09401683509349823,
0.018582617864012718,
0.0003692322934512049,
0.014846191741526127,
0.0068124206736683846,
0.054028917104005814,
-0.011363081634044647,
-0.001794706447981298,
-0.03492157161235809,
0.00007477943290723488,
-0.03211699053645134,
-0.007110972888767719,
-0.05113386735320091,
0.05287089943885803,
-0.03521107882261276,
-0.012240644544363022,
-0.03598912060260773,
-0.023612773045897484,
-0.03674907237291336,
-0.019197817891836166,
-0.006911938078701496,
-0.05576594918966293,
0.029131466522812843,
-0.002381633035838604,
0.0017257228028029203,
-0.034270185977220535,
0.0728105753660202,
0.007536183577030897,
0.015226166695356369,
-0.02918574959039688,
-0.031411319971084595,
0.01992158032953739,
-0.01617610640823841,
-0.05203856900334358,
-0.024083219468593597,
0.007124543655663729,
-0.024119406938552856,
-0.04490950331091881,
-0.01833834871649742,
-0.03441493585705757,
-0.05659827962517738,
-0.03501204028725624,
0.0015809701289981604,
0.08468028903007507,
-0.04310009628534317,
-0.03557295724749565,
0.02051868475973606,
0.04784074425697327,
-0.04429430514574051,
0.0034491836559027433,
0.012222549878060818,
-0.02690589427947998,
0.002349968533962965,
-0.017650773748755455,
0.05145955830812454,
-0.017668867483735085,
-0.04027741774916649,
-0.014104334637522697,
0.0537756010890007,
-0.0034062103368341923,
0.022346187382936478,
0.058335307985544205,
-0.08554880321025848,
-0.025693591684103012,
0.003281813580542803,
0.024101313203573227,
0.0153528256341815,
-0.011670680716633797,
0.024246064946055412,
-0.028154386207461357,
-0.006459585856646299,
0.03530154749751091,
-0.015642330050468445,
0.016972245648503304,
0.007291913498193026,
-0.007549754343926907,
-0.07103735208511353,
0.06086847931146622,
0.0024246065877377987,
0.04071167856454849,
0.026127848774194717,
-0.04689985141158104,
-0.03211699053645134,
-0.014475262723863125,
0.10110971331596375,
0.012376349419355392,
0.030162829905748367,
0.009006327949464321,
0.004580063745379448,
-0.03785281255841255,
-0.06756328791379929,
0.027376340702176094,
0.02028346247971058,
0.07411334663629532,
-0.00018207167158834636,
-0.05634495988488197,
0.017035575583577156,
-0.04089261591434479,
0.044077176600694656,
0.04056692495942116,
-0.016375141218304634,
-0.0020412381272763014,
0.009381779469549656,
-0.013181536458432674,
0.03095896914601326,
-0.020174898207187653,
-0.0196501687169075,
0.04621227830648422,
0.004326746333390474,
-0.018763558939099312,
0.01141736377030611,
-0.06897462904453278,
-0.06564531475305557,
-0.008454457856714725,
0.055440258234739304,
-0.00876205787062645,
0.004498640075325966,
-0.014837144874036312,
0.005550358444452286,
-0.07186967879533768,
0.025820249691605568,
-0.029167653992772102,
0.04223157837986946,
-0.0007034072768874466,
-0.035482488572597504,
0.01667369343340397,
-0.01733412779867649,
-0.013199630193412304,
0.02464413456618786,
0.06289501488208771,
-0.061773184686899185,
0.04310009628534317,
0.03987934812903404,
-0.003998791333287954,
0.0038540386594831944,
0.016420375555753708,
0.03007235936820507,
0.012104938738048077,
0.016782257705926895,
-0.039191775023937225,
-0.036930013447999954,
-0.016818445175886154,
-0.08670682460069656,
0.04320865869522095,
-0.04928826913237572,
-0.06358259171247482,
0.004980395082384348,
0.06524724513292313,
0.04139925166964531,
0.012765372171998024,
0.003492157207801938,
-0.02086247317492962,
0.04595895856618881,
-0.02744871750473976,
0.024806981906294823,
0.01333533599972725,
-0.06615195423364639,
-0.0123039735481143,
-0.004568754695355892,
-0.05182144045829773,
0.004358411300927401,
-0.04396861046552658,
-0.054390799254179,
-0.07686364650726318,
-0.038612764328718185,
0.00803829450160265,
-0.02169479988515377,
0.03222555294632912,
0.0040621208027005196,
-0.00019140142831020057,
0.04139925166964531,
-0.03173701465129852,
0.005274423863738775,
0.010006025433540344,
-0.003256934229284525,
-0.023196609690785408,
0.04870925843715668,
-0.003578104078769684,
-0.022726163268089294,
0.027141118422150612,
-0.01936066336929798,
0.02227381058037281,
0.016357047483325005,
-0.04689985141158104,
-0.03984316065907478,
0.022183340042829514,
-0.007310007698833942,
0.01101024728268385,
0.004371981602162123,
-0.010395048186182976,
0.0069164615124464035,
-0.060325659811496735,
0.045560888946056366,
0.00859016366302967,
-0.005731299519538879,
0.03094087354838848,
-0.035138700157403946,
0.022509032860398293,
-0.00795234739780426,
0.017288891598582268,
-0.016818445175886154,
-0.0042046112939715385,
0.032569341361522675,
-0.051893819123506546,
-0.030741838738322258,
-0.01825692504644394,
0.002029929542914033,
-0.011978279799222946,
-0.009472250007092953,
0.019161628559231758,
-0.03177320212125778,
0.006378162652254105,
0.029330501332879066,
0.09872129559516907,
-0.019306382164359093,
-0.01731603406369686
] |
23,178 | flask.app | handle_user_exception | This method is called whenever an exception occurs that
should be handled. A special case is :class:`~werkzeug
.exceptions.HTTPException` which is forwarded to the
:meth:`handle_http_exception` method. This function will either
return a response value or reraise the exception with the same
traceback.
.. versionchanged:: 1.0
Key errors raised from request data like ``form`` show the
bad key in debug mode rather than a generic bad request
message.
.. versionadded:: 0.7
| def handle_user_exception(
self, e: Exception
) -> HTTPException | ft.ResponseReturnValue:
"""This method is called whenever an exception occurs that
should be handled. A special case is :class:`~werkzeug
.exceptions.HTTPException` which is forwarded to the
:meth:`handle_http_exception` method. This function will either
return a response value or reraise the exception with the same
traceback.
.. versionchanged:: 1.0
Key errors raised from request data like ``form`` show the
bad key in debug mode rather than a generic bad request
message.
.. versionadded:: 0.7
"""
if isinstance(e, BadRequestKeyError) and (
self.debug or self.config["TRAP_BAD_REQUEST_ERRORS"]
):
e.show_exception = True
if isinstance(e, HTTPException) and not self.trap_http_exception(e):
return self.handle_http_exception(e)
handler = self._find_error_handler(e)
if handler is None:
raise
return self.ensure_sync(handler)(e)
| (self, e: 'Exception') -> 'HTTPException | ft.ResponseReturnValue' | [
-0.015434634871780872,
-0.025484666228294373,
-0.04138031229376793,
0.05303465947508812,
0.012880636379122734,
-0.0464329868555069,
-0.033432487398386,
0.00954291969537735,
0.012659351341426373,
-0.04945721849799156,
0.06491029262542725,
0.010621684603393078,
0.03256578743457794,
-0.010594023391604424,
-0.010898291133344173,
0.063619464635849,
-0.008989706635475159,
0.05557943880558014,
0.054288607090711594,
-0.03994195908308029,
-0.029191192239522934,
-0.05207575857639313,
0.01747230254113674,
0.014475733041763306,
-0.05174383148550987,
-0.004877492319792509,
0.028213849291205406,
-0.005361553281545639,
0.06369322538375854,
-0.038761772215366364,
0.004278178326785564,
-0.04337187856435776,
0.0003840794670395553,
0.006315845064818859,
-0.026074759662151337,
-0.035848185420036316,
-0.0541410855948925,
0.06454148143529892,
-0.05491558462381363,
0.014909083023667336,
-0.1306319683790207,
0.02677549608051777,
-0.008367342874407768,
-0.03606947138905525,
0.02839825302362442,
0.028176968917250633,
-0.006560180801898241,
0.02701522223651409,
-0.015102707780897617,
0.034170106053352356,
0.0012585589429363608,
-0.0203029066324234,
0.012521048076450825,
-0.0377659872174263,
0.03251046687364578,
0.036309193819761276,
-0.00411451980471611,
-0.033155880868434906,
-0.05628017336130142,
-0.021944105625152588,
-0.037083692848682404,
0.0508955717086792,
0.0091372299939394,
0.002607014961540699,
0.016328996047377586,
0.029689082875847816,
0.027291826903820038,
-0.023419339209794998,
-0.053772278130054474,
0.009819526225328445,
0.016559500247240067,
-0.010796868242323399,
-0.006537130568176508,
0.040089480578899384,
0.047096844762563705,
-0.011414622887969017,
-0.00919716153293848,
0.00011186710617039353,
-0.004886712413281202,
0.045584727078676224,
0.04565849155187607,
0.04163847863674164,
-0.024359799921512604,
-0.019417766481637955,
0.005462975706905127,
-0.059415046125650406,
-0.008219819515943527,
-0.0009197161416523159,
-0.014162246137857437,
0.03787663206458092,
-0.010031591169536114,
-0.10400399565696716,
-0.020118502900004387,
0.005960867274552584,
-0.024452002719044685,
0.015683580189943314,
0.05557943880558014,
-0.015803443267941475,
0.01051104161888361,
-0.056722745299339294,
0.0496785044670105,
0.07899877429008484,
0.0682295709848404,
0.025152739137411118,
0.025005215778946877,
-0.025318702682852745,
0.053514111787080765,
-0.04274490475654602,
0.060595232993364334,
0.002613930031657219,
-0.012087698094546795,
-0.04418325796723366,
-0.04093774035573006,
0.013406188227236271,
-0.06162789836525917,
0.0017990939086303115,
0.027660636231303215,
0.04812950640916824,
-0.010612464509904385,
0.017831889912486076,
-0.030445139855146408,
-0.03771066665649414,
0.006283574737608433,
-0.03177285194396973,
0.005403044167906046,
-0.0175276231020689,
-0.06502093374729156,
-0.02356686256825924,
-0.023419339209794998,
0.04540032520890236,
-0.037175893783569336,
-0.025429345667362213,
-0.018403543159365654,
-0.028785502538084984,
-0.034022580832242966,
0.06229175254702568,
-0.039573151618242264,
0.040089480578899384,
0.07195453345775604,
0.008058465085923672,
0.01654106006026268,
0.058050453662872314,
-0.01645807921886444,
-0.03136716037988663,
0.016872989013791084,
-0.028011003509163857,
0.04451518505811691,
0.019104279577732086,
0.007625115569680929,
-0.03606947138905525,
0.039978839457035065,
0.0533297061920166,
0.0553581528365612,
0.047059960663318634,
-0.05594824627041817,
0.01717725582420826,
0.032805513590574265,
-0.04930969327688217,
-0.048166386783123016,
0.044552065432071686,
0.04484711214900017,
-0.04945721849799156,
0.04864583909511566,
-0.024802369996905327,
-0.02365906350314617,
0.009681222960352898,
0.03308212012052536,
0.007795689161866903,
0.038909293711185455,
0.01185719296336174,
-0.07818739861249924,
-0.0002793435996863991,
-0.07387234270572662,
0.009994709864258766,
-0.021298689767718315,
0.03404102474451065,
0.036161672323942184,
-0.04488399252295494,
0.006200592499226332,
-0.0026438958011567593,
0.07803987711668015,
-0.07247086614370346,
-0.009791865013539791,
0.019104279577732086,
0.01099049299955368,
-0.01645807921886444,
0.002623150357976556,
0.012013936415314674,
-0.004955864045768976,
0.03964691236615181,
0.0007064987439662218,
0.007671216502785683,
0.02238667570054531,
0.007371559739112854,
0.04731812700629234,
0.05384603887796402,
-0.004918983206152916,
0.011396181769669056,
0.05340346693992615,
-0.04680179804563522,
-0.03256578743457794,
0.03022385574877262,
-0.01706661283969879,
0.01645807921886444,
-0.03466799855232239,
0.016467299312353134,
0.028011003509163857,
0.002530948258936405,
-0.03363533318042755,
-0.038761772215366364,
-0.07339289039373398,
-0.007076512556523085,
-0.033063679933547974,
0.06162789836525917,
0.042154811322689056,
0.025410903617739677,
-0.030500462278723717,
-0.014236007817089558,
0.024617966264486313,
0.053514111787080765,
-0.017509182915091515,
0.022220710292458534,
-0.03516588732600212,
-0.003780286991968751,
0.07084810733795166,
0.0047484091483056545,
-0.01798863336443901,
-0.02590879611670971,
0.048940885812044144,
-0.006343505810946226,
-0.020266026258468628,
0.025355583056807518,
-0.037434060126543045,
-0.011774211190640926,
0.07752354443073273,
0.0264620091766119,
0.023124292492866516,
-0.026037879288196564,
-0.03308212012052536,
0.0192886833101511,
0.04599041864275932,
-0.006924379151314497,
-0.009003536775708199,
0.02340089902281761,
-0.039167460054159164,
-0.024083193391561508,
0.027254946529865265,
0.07195453345775604,
-0.06535286456346512,
-0.05380915850400925,
0.057681646198034286,
0.02128024958074093,
0.03831920027732849,
-0.0057718525640666485,
-0.029449356719851494,
-0.006836787331849337,
0.013369307853281498,
0.006661603227257729,
0.025429345667362213,
0.015517616644501686,
0.06575855612754822,
0.0005575346876867115,
0.03531341254711151,
0.06015266478061676,
-0.04942033812403679,
-0.027420910075306892,
0.004363465588539839,
0.0254477858543396,
0.06420955806970596,
0.0244335625320673,
-0.012604029849171638,
0.06660681217908859,
-0.013277105055749416,
0.007791079115122557,
-0.029633762314915657,
0.002220918657258153,
0.0341147854924202,
0.06856149435043335,
-0.05543191358447075,
0.032860834151506424,
-0.03559001907706261,
0.010612464509904385,
0.024341359734535217,
0.015748122707009315,
-0.010750766843557358,
-0.009077298454940319,
0.017490742728114128,
0.03293459862470627,
0.0018002464203163981,
-0.005029625725001097,
0.04086397960782051,
-0.03927810490131378,
-0.0397944338619709,
-0.0017633655807003379,
-0.049235932528972626,
-0.00045294291339814663,
-0.07995767891407013,
-0.06218111142516136,
0.03499992564320564,
0.00318788830190897,
-0.03142248094081879,
0.03756314516067505,
0.03027917630970478,
-0.011248658411204815,
0.005970087368041277,
-0.05060052499175072,
0.09013679623603821,
-0.041343431919813156,
-0.018256019800901413,
-0.004070723429322243,
-0.0031417873688042164,
0.015766562893986702,
-0.04871959984302521,
-0.02432291954755783,
-0.048940885812044144,
-0.004504073411226273,
0.0829819068312645,
-0.005647379904985428,
0.00858862791210413,
0.0061913724057376385,
-0.02854577638208866,
-0.016181472688913345,
0.00038753703120164573,
-0.028527336195111275,
0.025355583056807518,
0.03715745359659195,
-0.010796868242323399,
0.0062190331518650055,
-0.02305052988231182,
-0.002111428650096059,
0.03780287131667137,
-0.04717060551047325,
-0.04056893289089203,
-0.0025240329559892416,
-0.007325458340346813,
-0.07287655770778656,
0.06708626449108124,
0.038097918033599854,
0.018385102972388268,
-0.005536737386137247,
-0.0393887460231781,
0.014494173228740692,
0.034833960235118866,
0.01763826608657837,
0.00115137395914644,
-0.03594038635492325,
-0.010428059846162796,
-0.009847186505794525,
0.015148808248341084,
0.035553138703107834,
-0.01729711703956127,
0.015914086252450943,
-0.037083692848682404,
-0.0049927448853850365,
0.008076906204223633,
-0.047760698944330215,
-0.03184661269187927,
-0.021446213126182556,
-0.0037411011289805174,
-0.002945857821032405,
0.030260736122727394,
-0.04315059259533882,
-0.037526264786720276,
-0.005301621742546558,
-0.04436765983700752,
0.0017080443212762475,
-0.03195725381374359,
-0.006384996697306633,
-0.0071502747014164925,
0.015075046569108963,
-0.0051679289899766445,
0.005868664942681789,
0.03913057968020439,
0.020985202863812447,
0.041048385202884674,
0.03171753138303757,
-0.027052102610468864,
-0.020985202863812447,
-0.03553469851613045,
0.07534757256507874,
0.10105352103710175,
-0.018025513738393784,
-0.0414171926677227,
-0.08172795921564102,
0.0902843177318573,
-0.05226016044616699,
0.030260736122727394,
0.00019232786144129932,
-0.04728124663233757,
-0.006873668171465397,
-0.011589806526899338,
-0.03771066665649414,
0.017951752990484238,
0.025152739137411118,
0.0004002148343715817,
-0.027291826903820038,
-0.024470442906022072,
0.015554497949779034,
-0.03109055571258068,
0.012585589662194252,
-0.035350292921066284,
0.03745250031352043,
0.010981272906064987,
0.004766849800944328,
0.010981272906064987,
0.03238138556480408,
-0.006546350661665201,
0.011847972869873047,
0.014577155001461506,
0.013728896155953407,
-0.03894617408514023,
-0.0017529928591102362,
-0.013443069532513618,
-0.026793936267495155,
-0.0005941273993812501,
0.03088770993053913,
0.0026116250082850456,
0.030647985637187958,
-0.04259737953543663,
-0.02906210906803608,
0.01415302511304617,
0.015277891419827938,
-0.029836606234312057,
-0.014208346605300903,
-0.023751266300678253,
-0.014816881157457829,
-0.0009721561218611896,
0.005462975706905127,
0.022331353276968002,
0.02061639353632927,
0.012133799493312836,
-0.04156471788883209,
-0.01265013124793768,
-0.03164376690983772,
-0.01287141628563404,
-0.057128433138132095,
-0.04728124663233757,
-0.008192158304154873,
0.0005367892445065081,
0.02738402970135212,
0.016836106777191162,
0.009579800069332123,
-0.010418839752674103,
0.005960867274552584,
0.07154884934425354,
-0.04717060551047325,
-0.003582052420824766,
0.044920872896909714,
-0.011128796264529228,
-0.043740686029195786,
-0.009487598203122616,
-0.021003643050789833,
0.038134798407554626,
-0.03684396669268608,
-0.008874454535543919,
0.014374311082065105,
-0.07833492010831833,
-0.0422285720705986,
0.05447301268577576,
0.04082709923386574,
0.007551353890448809,
-0.016577940434217453,
-0.0004860780609305948,
-0.05838238447904587,
-0.02024758607149124,
0.05469429865479469,
0.06660681217908859,
-0.05384603887796402,
0.011479164473712444,
0.00412143487483263,
-0.02024758607149124,
-0.05882495269179344,
0.0014602510491386056,
-0.01728789694607258,
-0.01065856497734785,
-0.02590879611670971,
0.006320455577224493,
0.006938209757208824,
0.012852976098656654,
-0.010824529454112053,
0.01415302511304617,
-0.04462582617998123,
0.022331353276968002,
-0.014180686324834824,
0.007602064870297909,
-0.02524494007229805,
0.03680708631873131,
-0.030666425824165344,
0.028361372649669647,
-0.029486238956451416,
0.02976284548640251,
-0.019012076780200005,
-0.033358726650476456,
0.05023171380162239,
-0.05303465947508812,
-0.0301869735121727,
0.015609819442033768,
-0.018265239894390106,
0.003920895047485828,
0.0006753805209882557,
0.02255263924598694,
-0.03278707340359688,
0.04056893289089203,
-0.02402787283062935,
0.07177013158798218,
-0.04115902632474899,
0.026480449363589287,
0.014106924645602703,
0.040642693638801575,
-0.04447830468416214,
-0.050563644617795944,
0.023788146674633026,
0.06030018627643585,
0.01613537035882473,
-0.038761772215366364,
-0.015867985785007477,
-0.004303534049540758,
0.01470623817294836,
0.02050575241446495,
0.039462506771087646,
0.05546879768371582,
-0.027199625968933105,
0.042265452444553375,
0.06070587784051895,
0.011488384567201138,
0.032399825751781464,
0.042117927223443985,
0.02218382991850376,
0.05192823335528374,
0.009745764546096325,
-0.042523618787527084,
0.04152783378958702,
0.01188485324382782,
-0.025761272758245468,
0.008952826261520386,
-0.001242423546500504,
-0.0537353977560997,
0.006684653926640749,
-0.0686352550983429,
0.02070859633386135,
0.027605315670371056,
0.06933599710464478,
-0.017997853457927704,
-0.03820855915546417,
-0.021464653313159943,
-0.08932541310787201,
-0.014798440039157867,
-0.012041596695780754,
-0.03831920027732849,
-0.05856678634881973,
-0.012327423319220543,
-0.026959899812936783,
0.09699662774801254,
0.007957043126225471,
-0.005310842301696539,
-0.0006794143700972199,
0.032086338847875595,
0.1066594123840332,
-0.019860336557030678,
-0.03322964534163475,
-0.005845614243298769,
-0.02854577638208866,
0.005403044167906046,
-0.019270243123173714,
-0.06756571680307388,
0.02839825302362442,
-0.012336643412709236,
0.04978914558887482,
-0.05462053790688515,
-0.03675176575779915,
-0.042265452444553375,
0.019417766481637955,
0.01816381700336933,
-0.03861424699425697,
0.026185402646660805,
0.046543631702661514,
0.023087410256266594,
-0.018670929595828056,
0.0010862562339752913,
-0.0025586087722331285,
-0.017509182915091515,
-0.05889871343970299,
-0.025374023243784904,
-0.0033331066370010376,
-0.032953038811683655,
-0.03145936504006386,
0.0254477858543396,
0.045732252299785614,
-0.04930969327688217,
0.03487084060907364,
0.009450717829167843,
-0.08534228056669235,
-0.03142248094081879,
-0.049088407307863235,
0.04772381857037544,
0.09116945415735245,
-0.06369322538375854,
-0.03728653863072395,
0.02701522223651409,
0.035036806017160416,
-0.017416980117559433,
0.009372345171868801,
0.01221678126603365,
-0.025871915742754936,
0.015831103548407555,
-0.0034183936659246683,
0.021556856110692024,
-0.011119576171040535,
-0.03212321922183037,
-0.052960898727178574,
0.018993636593222618,
-0.014033162966370583,
0.017914872616529465,
0.041048385202884674,
-0.07929382473230362,
0.02452576346695423,
0.009031197987496853,
-0.02218382991850376,
0.004195196554064751,
-0.017214136198163033,
-0.017601385712623596,
-0.005776463076472282,
-0.020044740289449692,
0.038503605872392654,
0.02061639353632927,
-0.01677156612277031,
0.030961472541093826,
0.06096404418349266,
-0.06439395993947983,
0.009681222960352898,
-0.052850253880023956,
0.056870266795158386,
-0.013369307853281498,
-0.03291615843772888,
0.04248673841357231,
0.04731812700629234,
0.031533125787973404,
0.006343505810946226,
-0.017048172652721405,
0.008219819515943527,
0.05690714716911316,
0.0030380599200725555,
-0.038134798407554626,
0.016587162390351295,
0.032953038811683655,
0.07298719882965088,
0.02793724276125431,
-0.005513686686754227,
0.06055835261940956,
0.0012239831266924739,
-0.007519083097577095,
0.03724965825676918,
-0.031994134187698364,
-0.04912529140710831,
-0.05115373805165291,
0.017712026834487915,
0.039978839457035065,
-0.004395735915750265,
-0.01513958815485239,
0.054989345371723175,
-0.053514111787080765,
-0.00542148482054472,
0.01000392995774746,
-0.07007361203432083,
0.03359845280647278,
0.006504859775304794,
-0.03653047978878021,
0.009335464797914028,
0.0870388001203537,
-0.005702701397240162,
0.019325563684105873,
-0.005721141584217548,
0.009289363399147987,
0.0422285720705986,
0.03398570045828819,
0.006108390633016825,
-0.020321346819400787,
-0.03536873310804367,
-0.015342433005571365,
-0.029338715597987175,
-0.0001288668718189001,
0.07575326412916183,
-0.08792394399642944,
0.020266026258468628,
-0.018615609034895897,
-0.05410420522093773,
-0.0000723210396245122,
0.04772381857037544,
-0.013599812984466553,
-0.02992880903184414,
-0.03217853978276253,
-0.054067324846982956,
-0.0488671250641346,
0.027623755857348442,
-0.06804516166448593,
0.01984189637005329,
0.003727270755916834,
-0.02657265216112137,
0.0023430862929672003,
0.12812407314777374,
-0.010889070108532906,
-0.0027798940427601337,
0.017822669818997383,
-0.001464861212298274,
0.03730497881770134,
-0.026037879288196564,
-0.028066325932741165,
-0.023751266300678253,
-0.011267099529504776,
-0.04672803357243538,
-0.013747336342930794,
-0.04366692528128624,
0.03518432751297951,
0.0015040470752865076,
-0.022829245775938034,
0.01842198334634304,
-0.02957843989133835,
0.007966263219714165,
0.02758687548339367,
0.02305052988231182,
-0.08128538727760315,
0.002876706188544631,
0.03854048624634743,
-0.0038655740208923817,
-0.014595596119761467,
-0.01663326285779476,
-0.06380386650562286,
-0.04849831387400627,
0.03129339963197708,
0.05827173963189125,
0.01330476626753807,
0.0013231004122644663,
-0.018062395974993706,
0.027549993246793747,
-0.0003800456179305911,
-0.0338381789624691,
0.00789711158722639,
0.026074759662151337,
0.01417146623134613,
0.025410903617739677,
0.020192263647913933,
-0.035239651799201965,
-0.029025226831436157,
-0.05358787253499031,
0.043334998190402985,
0.0019270243356004357,
-0.03142248094081879,
0.06428331881761551,
0.03074018657207489,
0.08194924145936966,
0.03780287131667137,
-0.04126966744661331,
0.020929882302880287,
0.0322154201567173,
0.05100621283054352,
0.021796582266688347,
-0.0069981408305466175,
-0.03142248094081879,
0.051227498799562454,
0.008293581195175648,
0.012281322851777077,
0.031127436086535454,
-0.04219169169664383,
0.02299520932137966,
0.008726931177079678,
0.027088982984423637,
-0.04156471788883209,
0.050416119396686554
] |
23,179 | flask.app | inject_url_defaults | Injects the URL defaults for the given endpoint directly into
the values dictionary passed. This is used internally and
automatically called on URL building.
.. versionadded:: 0.7
| def inject_url_defaults(self, endpoint: str, values: dict) -> None:
"""Injects the URL defaults for the given endpoint directly into
the values dictionary passed. This is used internally and
automatically called on URL building.
.. versionadded:: 0.7
"""
names: t.Iterable[str | None] = (None,)
# url_for may be called outside a request context, parse the
# passed endpoint instead of using request.blueprints.
if "." in endpoint:
names = chain(
names, reversed(_split_blueprint_path(endpoint.rpartition(".")[0]))
)
for name in names:
if name in self.url_default_functions:
for func in self.url_default_functions[name]:
func(endpoint, values)
| (self, endpoint: str, values: dict) -> NoneType | [
-0.002147069899365306,
-0.05069376528263092,
-0.009060163050889969,
-0.04508509486913681,
-0.04569629579782486,
0.07273297011852264,
-0.001010055304504931,
0.029283739626407623,
-0.005882814060896635,
0.024250315502285957,
-0.010902754962444305,
0.02922981046140194,
-0.015612601302564144,
-0.0064176153391599655,
0.01593617908656597,
0.037714723497629166,
0.04594796895980835,
0.04066287353634834,
0.04939945787191391,
-0.04886016249656677,
0.0382540188729763,
-0.028690515086054802,
-0.024016622453927994,
-0.013716079294681549,
-0.03821806609630585,
0.035485636442899704,
-0.01914498582482338,
-0.00553676625713706,
0.07506991922855377,
-0.020457271486520767,
0.017005780711770058,
-0.03122520260512829,
0.001469579990953207,
0.022111110389232635,
0.07737091183662415,
-0.05303071439266205,
0.01903712749481201,
0.1381315290927887,
-0.08060668408870697,
-0.0075950766913592815,
0.025149142369627953,
0.013006007298827171,
0.00517274159938097,
-0.046846792101860046,
0.06040108576416969,
0.10570189356803894,
-0.03320261836051941,
0.07248130440711975,
0.02216504141688347,
-0.031944263726472855,
-0.005006459075957537,
-0.00045278342440724373,
0.02293802984058857,
0.019756188616156578,
-0.018425926566123962,
0.03456883504986763,
0.000013842266525898594,
0.029463505372405052,
-0.029787082225084305,
0.0638166218996048,
0.025454742833971977,
-0.04253242909908295,
-0.0022650407627224922,
-0.044437941163778305,
0.007806300651282072,
0.046163685619831085,
0.004334586672484875,
-0.0041975160129368305,
0.009428680874407291,
0.012952078133821487,
0.027108581736683846,
-0.047026559710502625,
-0.057273171842098236,
-0.030416259542107582,
-0.005334530491381884,
-0.0014841859228909016,
0.09692935645580292,
-0.045121047645807266,
0.023998644202947617,
-0.056949593126773834,
-0.03665411099791527,
-0.03514408320188522,
-0.04113026335835457,
-0.03446097671985626,
0.01742822863161564,
0.0013257678365334868,
-0.02112240344285965,
-0.009239927865564823,
0.06716025620698929,
0.04238861799240112,
-0.03850569203495979,
0.004705352243036032,
0.0101747065782547,
-0.03922475129365921,
0.018839385360479355,
-0.012610523961484432,
-0.008588279597461224,
0.006368179805576801,
0.035647425800561905,
-0.02800740674138069,
0.013832926750183105,
-0.08441770821809769,
0.03828997164964676,
-0.019594399258494377,
-0.017805736511945724,
-0.1122453510761261,
0.052814994007349014,
-0.013311607763171196,
-0.05346215143799782,
-0.0009471375378780067,
0.0009583728387951851,
-0.028942186385393143,
0.04282005503773689,
-0.024879494681954384,
-0.022021228447556496,
0.04077073186635971,
-0.007406323216855526,
0.031854379922151566,
0.05669792369008064,
-0.00031290369224734604,
-0.06751978397369385,
-0.02087073214352131,
-0.047386087477207184,
-0.002766135847195983,
0.04990280047059059,
-0.026623215526342392,
-0.03491038829088211,
0.04163360595703125,
0.05612267553806305,
-0.04605582728981972,
0.03153080493211746,
0.0508735328912735,
-0.06327732652425766,
0.0004864893853664398,
0.02094263769686222,
-0.015073305927217007,
-0.020924661308526993,
0.063169464468956,
0.009145551361143589,
0.043071724474430084,
-0.04886016249656677,
-0.017985502257943153,
0.007460252847522497,
-0.01792258396744728,
-0.001708892290480435,
0.01914498582482338,
0.05939440056681633,
0.0285287257283926,
0.026012014597654343,
0.04105835780501366,
0.02509521320462227,
0.10347280651330948,
0.012934100814163685,
0.0012403794098645449,
-0.017176559194922447,
-0.02811526693403721,
0.011109485290944576,
0.03811020776629448,
0.0024425587616860867,
-0.023135771974921227,
0.05044209584593773,
-0.0015504742041230202,
0.0360608845949173,
-0.04213694855570793,
0.011540921404957771,
0.03593504801392555,
0.06521879136562347,
-0.003157125087454915,
0.06730406731367111,
0.04569629579782486,
-0.0006791751366108656,
-0.007100722752511501,
0.025724390521645546,
0.017455194145441055,
0.10289756208658218,
-0.0042581865563988686,
0.027899548411369324,
-0.07988762110471725,
0.004278410226106644,
-0.020798826590180397,
-0.002453794004395604,
0.012790288776159286,
-0.01409358624368906,
0.007622041739523411,
0.03652827441692352,
0.01820121891796589,
-0.029894940555095673,
0.011972357518970966,
-0.06762764602899551,
0.0032537488732486963,
-0.03286106511950493,
-0.0021493169479072094,
0.013976738788187504,
0.027611924335360527,
0.021859439089894295,
-0.018407950177788734,
0.04084263741970062,
-0.012988030910491943,
0.026209756731987,
0.02541879005730152,
-0.014525022357702255,
-0.05475645884871483,
-0.008529855869710445,
-0.037283286452293396,
0.04731418192386627,
0.019109033048152924,
0.02975112944841385,
-0.01871355064213276,
-0.05500813201069832,
-0.0323936752974987,
-0.07111508399248123,
0.008039995096623898,
-0.07320035994052887,
-0.03514408320188522,
-0.06996458768844604,
0.03474859893321991,
0.0008252342813648283,
0.007042299024760723,
-0.05508003756403923,
0.05292285606265068,
0.05256332457065582,
-0.0071501582860946655,
0.06421210616827011,
-0.04051906242966652,
0.055115990340709686,
0.029499458149075508,
0.03611481562256813,
-0.08772538602352142,
-0.038397833704948425,
0.01314981933683157,
-0.05188021808862686,
-0.014156504534184933,
-0.01034548319876194,
0.02940957620739937,
0.08118193596601486,
-0.02975112944841385,
0.004264927934855223,
-0.02171562798321247,
0.05335428938269615,
0.06428401172161102,
0.054864317178726196,
0.011909440159797668,
-0.046235591173172,
-0.01844390295445919,
-0.005914272740483284,
0.06076061353087425,
-0.04260433465242386,
0.002914442215114832,
-0.018821408972144127,
-0.04864444583654404,
0.042029086500406265,
-0.0012493676040321589,
-0.029445528984069824,
0.011181390844285488,
-0.01826413720846176,
0.001248244079761207,
0.021967299282550812,
0.026533333584666252,
0.012358852662146091,
-0.029445528984069824,
-0.01547777745872736,
-0.022380758076906204,
0.032195933163166046,
0.01905510388314724,
0.0004272230726201087,
0.01593617908656597,
0.0029301715549081564,
-0.05213188752532005,
-0.008529855869710445,
0.03215998038649559,
0.04835681989789009,
0.02241671271622181,
-0.020744895562529564,
0.001449356321245432,
0.054864317178726196,
0.03958428278565407,
0.014183469116687775,
0.018057407811284065,
-0.015127236023545265,
-0.05180831253528595,
0.0758608877658844,
-0.052958808839321136,
0.021158356219530106,
0.003846973879262805,
0.03994381055235863,
0.014983423985540867,
-0.022794218733906746,
0.024519963189959526,
0.014183469116687775,
-0.053749773651361465,
0.08218862116336823,
0.03526991978287697,
-0.018911290913820267,
0.03688780590891838,
-0.0758608877658844,
-0.022776242345571518,
0.054972175508737564,
-0.03525194153189659,
0.03260939568281174,
0.009042185731232166,
-0.034676693379879,
-0.0536419153213501,
0.0024268291890621185,
0.046846792101860046,
0.012862195260822773,
-0.06856241822242737,
0.04231671243906021,
-0.02234480530023575,
0.024609846994280815,
-0.020115718245506287,
0.018425926566123962,
0.02602999098598957,
-0.05188021808862686,
-0.024789610877633095,
0.03399358689785004,
-0.030326377600431442,
0.0021762815304100513,
-0.037031617015600204,
0.0037054086569696665,
0.014983423985540867,
-0.030200542882084846,
0.06687262654304504,
-0.08427389711141586,
-0.007073757704347372,
0.0061030262149870396,
0.03811020776629448,
0.03433514013886452,
0.03429918736219406,
-0.01800347864627838,
0.010579178109765053,
-0.016053026542067528,
-0.0033593608532100916,
0.013599231839179993,
0.006529968231916428,
0.006332226563245058,
-0.02345934882760048,
-0.04282005503773689,
-0.0005859219818376005,
-0.00896129198372364,
-0.009114092215895653,
-0.029032068327069283,
0.00019605635316111147,
-0.026677144691348076,
0.00940171629190445,
-0.006727709900587797,
-0.010453342460095882,
0.05249141901731491,
-0.0376068651676178,
0.0217336043715477,
-0.08269196003675461,
-0.03525194153189659,
-0.001231391099281609,
0.0011218467261642218,
0.005846860818564892,
0.035198014229536057,
-0.0068490514531731606,
-0.014408174902200699,
-0.046846792101860046,
0.010201671160757542,
-0.017050722613930702,
0.009788211435079575,
-0.03474859893321991,
-0.037463054060935974,
0.014731752686202526,
0.06694453209638596,
0.020798826590180397,
0.039368562400341034,
0.002134711015969515,
-0.01168473344296217,
-0.03278915956616402,
0.03232176974415779,
0.014057633467018604,
0.07593279331922531,
-0.014722764492034912,
-0.016430532559752464,
-0.03093757852911949,
-0.02042131870985031,
0.03291499614715576,
0.018929269164800644,
0.016430532559752464,
0.0034357609692960978,
0.0018560750177130103,
0.026533333584666252,
0.08046287298202515,
0.02834896184504032,
-0.057632699608802795,
0.01912700943648815,
0.035557541996240616,
-0.008170325309038162,
0.009680352173745632,
0.020583108067512512,
-0.043395303189754486,
-0.05173640325665474,
0.011307226493954659,
-0.014749729074537754,
-0.069353386759758,
-0.008682656101882458,
0.0005067129386588931,
-0.024717705324292183,
-0.0039885388687253,
0.05777651444077492,
-0.04066287353634834,
0.04386269301176071,
0.038829267024993896,
0.036600179970264435,
-0.0422448068857193,
0.020978590473532677,
0.0598258338868618,
0.027378229424357414,
0.04080668464303017,
-0.043323397636413574,
-0.04947136342525482,
-0.050657812505960464,
-0.006786133628338575,
0.020493224263191223,
-0.034532882273197174,
0.010246612131595612,
0.03595302626490593,
-0.019612375646829605,
-0.034784551709890366,
0.018569737672805786,
-0.0601494126021862,
0.04407840967178345,
0.04195718094706535,
-0.010291554033756256,
0.02087073214352131,
-0.024088528007268906,
-0.05094543844461441,
-0.02284814789891243,
-0.01216111145913601,
-0.010012918151915073,
0.0001797651348169893,
-0.048141103237867355,
-0.0004918261547572911,
0.07801806926727295,
0.0023257113061845303,
0.06255826354026794,
0.0019448340171948075,
-0.02845682017505169,
-0.04853658378124237,
-0.04343125596642494,
-0.037534959614276886,
-0.009958988055586815,
0.007941124960780144,
-0.02507723495364189,
0.019001174718141556,
-0.009788211435079575,
-0.03821806609630585,
0.0046559167094528675,
-0.01827312633395195,
-0.019684281200170517,
-0.04929159954190254,
0.04673893377184868,
0.021428003907203674,
-0.02414245717227459,
-0.0285287257283926,
-0.023854833096265793,
0.040555015206336975,
0.022812195122241974,
0.04174146428704262,
0.058927010744810104,
-0.04717037081718445,
-0.02309981919825077,
-0.012835230678319931,
-0.03278915956616402,
0.04001571983098984,
0.037031617015600204,
0.009671363979578018,
-0.04080668464303017,
0.0014291327679529786,
0.006534462329000235,
-0.021697651594877243,
-0.03171056881546974,
-0.02854670211672783,
-0.058064136654138565,
0.03027244843542576,
0.04914778843522072,
0.017482159659266472,
-0.005725519265979528,
-0.0012033028760924935,
-0.027306323871016502,
0.00944665726274252,
-0.03422728180885315,
0.028996115550398827,
0.005482836626470089,
0.0011797086335718632,
-0.016529403626918793,
0.0232795849442482,
0.045121047645807266,
0.028133243322372437,
-0.0018414690857753158,
-0.02398066781461239,
0.00618841452524066,
-0.01146002672612667,
-0.032627370208501816,
0.03266332298517227,
0.0801752507686615,
-0.028133243322372437,
0.07118698954582214,
-0.0011999323032796383,
0.03113532066345215,
-0.034676693379879,
0.014471093192696571,
0.001338126719929278,
-0.027953477576375008,
-0.04299981892108917,
-0.05835176259279251,
0.06191110983490944,
-0.05468455329537392,
0.001913375104777515,
0.032897017896175385,
0.02791752479970455,
0.024286270141601562,
0.020205600187182426,
0.022794218733906746,
-0.02820514887571335,
0.021410027518868446,
-0.004496375564485788,
0.01584629714488983,
-0.030883649364113808,
0.025580577552318573,
0.012790288776159286,
-0.02248861826956272,
0.024717705324292183,
-0.019019151106476784,
0.02292005345225334,
0.017266441136598587,
-0.0020684225019067526,
-0.020403342321515083,
-0.0006814221851527691,
0.0015493506798520684,
0.0499747060239315,
0.01335654966533184,
0.007347899954766035,
0.019630352035164833,
0.07406323403120041,
0.009127574972808361,
-0.0764361321926117,
-0.0481051504611969,
0.043682925403118134,
0.009599458426237106,
0.03983595222234726,
-0.035665400326251984,
-0.03122520260512829,
-0.03510813042521477,
-0.0758608877658844,
-0.050729721784591675,
0.004316610284149647,
0.06212683022022247,
-0.06094038113951683,
0.04415031522512436,
0.010480307042598724,
0.01955844648182392,
-0.004781752359122038,
-0.04594796895980835,
-0.04774561896920204,
-0.025742366909980774,
0.03318464383482933,
-0.015540695749223232,
0.039260704070329666,
0.00346047873608768,
0.007518676575273275,
-0.019432609900832176,
0.02561653032898903,
0.020223576575517654,
0.01185551006346941,
-0.011091508902609348,
-0.02439412847161293,
-0.057381030172109604,
-0.01189146377146244,
-0.04540867358446121,
-0.005424412898719311,
-0.012233017012476921,
-0.023675067350268364,
0.016502439975738525,
0.01292511261999607,
0.026443451642990112,
-0.06751978397369385,
0.029894940555095673,
-0.010210659354925156,
-0.05148473381996155,
0.02552664838731289,
-0.004042468499392271,
-0.05126901715993881,
0.047386087477207184,
0.021589791402220726,
-0.010417389683425426,
0.04972303658723831,
0.008799503557384014,
-0.003539126133546233,
-0.07794616371393204,
0.008471432141959667,
-0.051089249551296234,
-0.010678049176931381,
-0.06352899968624115,
0.04673893377184868,
-0.03972809389233589,
-0.03976404666900635,
0.024412104859948158,
0.02432222291827202,
-0.05249141901731491,
0.04558843746781349,
0.0042851511389017105,
0.016484461724758148,
-0.018551761284470558,
-0.02836693823337555,
-0.0016549627762287855,
-0.022794218733906746,
-0.008687149733304977,
-0.028133243322372437,
0.02164372242987156,
0.02750406600534916,
0.017005780711770058,
0.05382167920470238,
-0.045372720807790756,
-0.028133243322372437,
-0.013545302674174309,
0.02069096639752388,
-0.0004999717930331826,
-0.022632429376244545,
-0.0360608845949173,
0.009707316756248474,
-0.04609178006649017,
0.0570574514567852,
-0.001811133697628975,
-0.036690063774585724,
-0.029607316479086876,
-0.009626423008739948,
-0.029032068327069283,
0.047278229147195816,
0.009190492331981659,
0.005186223890632391,
-0.006494015455245972,
-0.006813098676502705,
-0.00957249291241169,
-0.020816802978515625,
0.058927010744810104,
-0.029966847971081734,
-0.017607994377613068,
-0.01495645847171545,
0.0064490740187466145,
-0.05432502180337906,
0.05669792369008064,
0.017392275854945183,
0.030560072511434555,
0.04213694855570793,
-0.04415031522512436,
-0.047386087477207184,
0.006368179805576801,
-0.005846860818564892,
0.024376152083277702,
0.013176783919334412,
0.017913594841957092,
0.011927416548132896,
-0.004575022496283054,
0.013716079294681549,
-0.038397833704948425,
-0.02552664838731289,
0.05123306065797806,
-0.025221047922968864,
-0.024501986801624298,
-0.05637434497475624,
0.0002252681733807549,
-0.0032312781549990177,
-0.06777145713567734,
-0.0037256323266774416,
0.0071726287715137005,
-0.019504517316818237,
-0.019702257588505745,
-0.006237850058823824,
-0.018120326101779938,
-0.01245772372931242,
-0.001295432448387146,
-0.010417389683425426,
0.029103973880410194,
-0.04044715315103531,
-0.016430532559752464,
0.0367080383002758,
0.02078084833920002,
0.007302958518266678,
0.023225655779242516,
-0.024843541905283928,
0.010534237138926983,
0.04465365782380104,
-0.03257344290614128,
0.00965338759124279,
0.0010173582704737782,
-0.037463054060935974,
-0.0036402440164238214,
0.043323397636413574,
0.07550135254859924,
-0.05205998197197914,
-0.0031458898447453976,
-0.00590528454631567,
-0.05939440056681633,
0.016826016828417778,
-0.0477815717458725,
-0.11684733629226685,
0.03242962807416916,
0.026425473392009735,
0.01465984620153904,
0.06734001636505127,
-0.007554629817605019,
0.010327506810426712,
0.029463505372405052,
-0.007505194284021854,
0.032735228538513184,
0.005361495073884726,
-0.04328744485974312,
-0.01647547446191311,
-0.007545641157776117,
0.020583108067512512,
-0.0017145099118351936,
-0.08103812485933304,
-0.03602493181824684,
0.003038030816242099,
-0.02284814789891243,
-0.006242344155907631,
-0.09203974902629852,
0.033777866512537,
0.004592998884618282,
-0.024681752547621727,
0.028816349804401398,
-0.0875815749168396,
0.019899999722838402,
-0.025562601163983345,
-0.03251951187849045,
-0.003775067860260606,
0.02543676644563675,
-0.0061075203120708466,
-0.03248355910181999,
0.04213694855570793,
0.016763098537921906,
0.05058590695261955,
-0.01732037030160427,
-0.06511092931032181,
0.018821408972144127,
-0.013482384383678436,
-0.008884891867637634,
-0.039620235562324524,
-0.017688889056444168,
-0.03458680957555771,
0.00777933606877923,
0.03861355036497116,
0.039368562400341034,
0.017724841833114624,
0.01619683764874935,
-0.014929493889212608,
-0.011873487383127213,
0.08837253600358963,
-0.01478568185120821,
0.05310261994600296,
-0.03636648505926132,
0.003608785104006529,
0.01670916937291622,
-0.05299476161599159,
0.0075815944001078606,
-0.0033346430864185095,
-0.019774165004491806,
0.013913821429014206,
-0.08226052671670914,
0.020547155290842056,
0.030829720199108124,
-0.00883994996547699,
0.07938428223133087,
0.07974380999803543,
0.020547155290842056,
-0.006817592773586512
] |
23,180 | flask.app | iter_blueprints | Iterates over all blueprints by the order they were registered.
.. versionadded:: 0.11
| def iter_blueprints(self) -> t.ValuesView[Blueprint]:
"""Iterates over all blueprints by the order they were registered.
.. versionadded:: 0.11
"""
return self.blueprints.values()
| (self) -> 't.ValuesView[Blueprint]' | [
0.014942028559744358,
-0.09381236135959625,
-0.13444358110427856,
-0.07814230024814606,
-0.010937841609120369,
0.0266425721347332,
-0.018876878544688225,
0.0007930368883535266,
0.024631811305880547,
0.012385242618620396,
-0.025117168202996254,
-0.022257035598158836,
-0.003950017038732767,
0.029814720153808594,
0.023314418271183968,
-0.018720870837569237,
0.018443524837493896,
0.05155172944068909,
0.020419616252183914,
-0.016649441793560982,
-0.013494627550244331,
0.019812921062111855,
0.017888830974698067,
-0.07301139831542969,
-0.04042321443557739,
0.037996433675289154,
0.006868652533739805,
0.0014343999791890383,
0.0310627780854702,
0.04222596436738968,
-0.03626301884651184,
-0.05702931806445122,
0.021702341735363007,
-0.02111298218369484,
0.007419011555612087,
-0.010287811979651451,
-0.0015080701559782028,
0.027595950290560722,
0.041324589401483536,
0.04915961995720863,
0.09360435605049133,
-0.007661689538508654,
-0.01863420009613037,
-0.03823911026120186,
0.010582491755485535,
0.028271980583667755,
0.005559924989938736,
0.020800966769456863,
0.03045608289539814,
-0.0023292750120162964,
0.0337149016559124,
-0.05023433640599251,
0.01979558728635311,
0.03959117457270622,
0.03834311664104462,
-0.01775015890598297,
-0.019604912027716637,
-0.004519877023994923,
0.033142875880002975,
0.05824270844459534,
0.005152572877705097,
-0.08389723300933838,
0.005503589287400246,
-0.04056188464164734,
0.052973128855228424,
-0.02619188465178013,
-0.005039901006966829,
-0.044132720679044724,
-0.004140692763030529,
-0.01520203985273838,
-0.005828604567795992,
0.01315661147236824,
0.01406665425747633,
-0.0013293118681758642,
-0.08237183094024658,
-0.023747770115733147,
0.06462167203426361,
0.01984759047627449,
0.034633610397577286,
-0.09381236135959625,
0.0008618317660875618,
-0.02315841056406498,
-0.04614347964525223,
-0.009958462789654732,
0.019136890769004822,
-0.030889436602592468,
0.017368808388710022,
-0.023453090339899063,
-0.04593547061085701,
0.0532851442694664,
-0.0505116805434227,
-0.02681591361761093,
0.0009149175602942705,
0.04149793088436127,
-0.012688590213656425,
-0.03394024446606636,
-0.061986882239580154,
0.018391521647572517,
0.009585779160261154,
-0.010183806531131268,
0.008580398745834827,
-0.03260551765561104,
0.006244623567909002,
0.04926362261176109,
-0.019310230389237404,
-0.026399893686175346,
-0.06857385486364365,
-0.013217281550168991,
-0.02050628699362278,
-0.012281238101422787,
-0.060773491859436035,
0.07266471534967422,
0.10317279398441315,
-0.02553318813443184,
-0.002593620680272579,
-0.04382070526480675,
0.03577766194939613,
0.034460268914699554,
0.05033833906054497,
-0.002530784346163273,
-0.038273781538009644,
0.03962584212422371,
0.08202514797449112,
0.02835865132510662,
-0.006339961662888527,
0.06753380596637726,
-0.04427139088511467,
0.025914538651704788,
-0.027214597910642624,
0.027457276359200478,
0.026347892358899117,
0.019102221354842186,
-0.03139212727546692,
-0.021268989890813828,
0.039487168192863464,
-0.0337149016559124,
0.04659416526556015,
-0.034130919724702835,
0.005967277567833662,
0.05449853464961052,
-0.008454726077616215,
-0.022673053666949272,
-0.01901555061340332,
0.029208024963736534,
-0.02217036485671997,
0.01635476015508175,
0.023921111598610878,
0.058346714824438095,
-0.013988650403916836,
-0.022690389305353165,
0.01934489980340004,
0.05720265954732895,
0.057792019098997116,
0.029936058446764946,
-0.023799773305654526,
0.02237837389111519,
-0.03879380226135254,
0.019604912027716637,
-0.03444293513894081,
-0.04177527502179146,
-0.033853575587272644,
0.0515170618891716,
-0.028653332963585854,
-0.012168565765023232,
-0.02061029151082039,
0.03090677037835121,
0.012749259360134602,
-0.018894212320446968,
0.005655263084918261,
0.00732367392629385,
-0.008446059189736843,
-0.03381890431046486,
-0.03570832684636116,
0.011917220428586006,
0.02492649294435978,
0.058832067996263504,
0.013780640438199043,
-0.013693969696760178,
0.06826183944940567,
0.018599530681967735,
-0.00834638811647892,
-0.052591778337955475,
-0.04870893061161041,
-0.06604307144880295,
0.01522804144769907,
0.001387814525514841,
-0.015418716706335545,
-0.0011045096907764673,
0.039660509675741196,
-0.013745972886681557,
0.03959117457270622,
0.05800003185868263,
0.05311180278658867,
0.012315905652940273,
-0.014196660369634628,
-0.008619400672614574,
-0.06444832682609558,
0.0050269002094864845,
-0.02012493647634983,
-0.015730731189250946,
0.015540055930614471,
-0.03775375708937645,
-0.03165213763713837,
0.016328759491443634,
0.025325177237391472,
0.016944121569395065,
-0.008892413228750229,
-0.07717158645391464,
0.015436051413416862,
-0.045519448816776276,
-0.035136301070451736,
0.013520629145205021,
0.011700544506311417,
-0.06694444268941879,
-0.02593187242746353,
-0.018339520320296288,
0.03879380226135254,
-0.06125884875655174,
-0.004086523316800594,
-0.012619253247976303,
0.029208024963736534,
0.0060972836799919605,
0.020870303735136986,
-0.02626122161746025,
-0.0532851442694664,
-0.0178021602332592,
-0.007319340482354164,
-0.04603947326540947,
-0.05030367150902748,
-0.03354156017303467,
-0.012211901135742664,
-0.009195760823786259,
-0.031253453344106674,
0.03851645812392235,
0.04215662553906441,
0.013355954550206661,
-0.03293486312031746,
0.06285358965396881,
-0.02477048523724079,
0.06004545837640762,
0.017542149871587753,
0.027387939393520355,
-0.010469820350408554,
0.015262709930539131,
-0.037719085812568665,
0.005182907450944185,
0.011778547428548336,
-0.04704485461115837,
-0.004701885394752026,
-0.00319164851680398,
-0.016164084896445274,
-0.059109415858983994,
0.014309331774711609,
-0.008493728004395962,
-0.06157086417078972,
-0.11190920323133469,
-0.02626122161746025,
-0.002240437548607588,
0.029814720153808594,
-0.004970564506947994,
-0.0003911015228368342,
0.005923942197114229,
-0.019258229061961174,
0.08569998294115067,
0.018114175647497177,
0.03903648257255554,
0.031981486827135086,
-0.029208024963736534,
0.007700691465288401,
-0.0008206631755456328,
0.07034193724393845,
0.0013108942657709122,
-0.05987211689352989,
0.006391963921487331,
0.02194502018392086,
0.015349380671977997,
0.014092654921114445,
0.03425225988030434,
-0.04593547061085701,
-0.047391537576913834,
0.05338915064930916,
-0.037892427295446396,
-0.032865528017282486,
-0.0031894815620034933,
0.03243217617273331,
-0.00024159456370398402,
-0.040215201675891876,
-0.016935454681515694,
0.004318367689847946,
-0.018166178837418556,
0.10067667812108994,
-0.02028094232082367,
0.018755538389086723,
-0.031756144016981125,
0.03945250064134598,
0.014794687740504742,
-0.021095648407936096,
0.0011505534639582038,
-0.017455479130148888,
-0.008112377487123013,
0.04305800050497055,
-0.03504962846636772,
0.04704485461115837,
0.07113930583000183,
-0.025619858875870705,
0.017394809052348137,
0.07342741638422012,
0.027509279549121857,
-0.052210427820682526,
-0.009577112272381783,
-0.009013752453029156,
-0.012038559652864933,
0.009854458272457123,
0.010478487238287926,
-0.04912495240569115,
-0.11426664888858795,
-0.07280338555574417,
0.004541544709354639,
-0.018547529354691505,
0.022361040115356445,
-0.06746447086334229,
0.06833117455244064,
-0.008407057262957096,
0.010331147350370884,
0.0021873516961932182,
0.0707232877612114,
0.01362463366240263,
0.037337735295295715,
-0.03439093381166458,
-0.024753151461482048,
-0.027595950290560722,
-0.04330068081617355,
0.03416558727622032,
0.08854278177022934,
0.03508429974317551,
0.01785416342318058,
0.02293306589126587,
0.01608608104288578,
-0.014396002516150475,
-0.049887653440237045,
0.002641289494931698,
-0.005421251989901066,
-0.0011045096907764673,
-0.0030226404778659344,
-0.05033833906054497,
0.026677239686250687,
0.0012350574834272265,
0.023695768788456917,
0.003603334305807948,
-0.010149138979613781,
0.04936762899160385,
-0.00967244990170002,
-0.004279365763068199,
0.0540478453040123,
-0.014552010223269463,
0.00025757448747754097,
-0.030976107344031334,
-0.012827263213694096,
0.006981324404478073,
0.06333894282579422,
0.02249971218407154,
0.04333534836769104,
-0.04409804940223694,
0.0004504167882259935,
0.046455495059490204,
-0.026573235169053078,
-0.03394024446606636,
0.003057308727875352,
0.014907360076904297,
-0.023626431822776794,
-0.006738646887242794,
0.0712086409330368,
0.0383777841925621,
0.005373583175241947,
-0.030750762671232224,
-0.06399764120578766,
0.061154842376708984,
0.015999410301446915,
0.05269578471779823,
0.03598567470908165,
0.02028094232082367,
0.0023856109473854303,
0.036505699157714844,
0.004580546170473099,
-0.00983712449669838,
-0.04746087267994881,
0.0029684712644666433,
-0.033420220017433167,
-0.03073342889547348,
-0.03510163351893425,
-0.0424339734017849,
-0.034130919724702835,
-0.04472208023071289,
0.038724467158317566,
-0.018114175647497177,
-0.06202154979109764,
0.03785775974392891,
-0.0009804622968658805,
0.025827867910265923,
-0.04749554023146629,
0.03674837574362755,
-0.023314418271183968,
0.004166693892329931,
-0.03605500981211662,
-0.015011364594101906,
-0.06704845279455185,
0.02553318813443184,
0.05643995851278305,
0.0024506140034645796,
-0.0021136815194040537,
-0.00048183489707298577,
-0.009568445384502411,
-0.035569652915000916,
-0.03563899174332619,
0.025013163685798645,
-0.039001815021038055,
0.021737011149525642,
0.03350689262151718,
0.042711321264505386,
0.05990678444504738,
0.04659416526556015,
-0.016207421198487282,
0.032744187861680984,
0.018010171130299568,
0.02431979775428772,
-0.020038265734910965,
-0.0011386362602934241,
0.06028813496232033,
0.017498813569545746,
0.0014831522712484002,
0.015670061111450195,
-0.03023073822259903,
-0.010617160238325596,
-0.02055829018354416,
0.026607904583215714,
-0.047114189714193344,
0.015306045301258564,
-0.01522804144769907,
0.0199515949934721,
0.04111658036708832,
0.03189481794834137,
0.005191574804484844,
0.023123741149902344,
-0.03581233322620392,
0.008719071745872498,
0.036783043295145035,
0.015401382930576801,
0.010660495609045029,
0.1156533807516098,
0.011076514609158039,
-0.05942143127322197,
-0.07793428748846054,
0.0353616438806057,
-0.03515363484621048,
-0.013745972886681557,
0.014664681628346443,
-0.0034061584156006575,
-0.04056188464164734,
-0.032189495861530304,
0.013000604696571827,
0.049714311957359314,
-0.026347892358899117,
0.00009560861508361995,
-0.03101077489554882,
-0.040492549538612366,
-0.028757337480783463,
-0.0008390806615352631,
-0.0041840276680886745,
-0.018252849578857422,
0.05224509537220001,
0.045346107333898544,
0.022950399667024612,
0.011761213652789593,
-0.09311899542808533,
-0.0532851442694664,
0.015288710594177246,
0.017013458535075188,
0.012593252584338188,
-0.03581233322620392,
-0.027838628739118576,
-0.014855357818305492,
-0.009325766935944557,
-0.009915127418935299,
-0.013355954550206661,
0.0013769806828349829,
0.02353976108133793,
0.012367908842861652,
0.02156366966664791,
0.0072326697409152985,
-0.028323983773589134,
0.022621052339673042,
-0.0770329162478447,
-0.01879020780324936,
0.008303052745759487,
0.033628229051828384,
-0.0014224827755242586,
0.06382430344820023,
0.002985805505886674,
0.024129122495651245,
0.04101257398724556,
0.00006669580761808902,
0.03151346370577812,
0.04555412009358406,
-0.009889126755297184,
-0.04603947326540947,
-0.06625108420848846,
0.02503049746155739,
-0.05467187613248825,
-0.007566351909190416,
-0.004279365763068199,
0.05130905285477638,
-0.01417932566255331,
-0.024579809978604317,
-0.025463851168751717,
-0.01934489980340004,
-0.0515170618891716,
-0.023834440857172012,
-0.0383777841925621,
-0.010842503979802132,
0.04929829388856888,
0.009412437677383423,
-0.011908553540706635,
0.0038611795753240585,
0.02780395932495594,
-0.02017693780362606,
0.006868652533739805,
0.012757926248013973,
-0.03293486312031746,
-0.011449199169874191,
-0.03201615437865257,
0.06552304327487946,
0.0025329510681331158,
0.0009810039773583412,
0.01807950809597969,
-0.06004545837640762,
-0.04631682112812996,
0.023574428632855415,
-0.01213389728218317,
-0.04503409564495087,
0.043023332953453064,
0.05824270844459534,
0.045727457851171494,
0.0029511372558772564,
0.007921701297163963,
-0.003969518002122641,
-0.04219129681587219,
-0.015557389706373215,
-0.09582312405109406,
0.00006869329808978364,
-0.03423492610454559,
-0.018495526164770126,
0.017481479793787003,
-0.015834735706448555,
-0.02288106456398964,
-0.027127929031848907,
0.029260028153657913,
-0.023869110271334648,
0.006374629680067301,
-0.02366109937429428,
-0.00923042930662632,
0.03775375708937645,
0.044306058436632156,
-0.041255250573158264,
-0.011977890506386757,
0.0626455768942833,
0.04399404674768448,
0.014881358481943607,
0.024718482047319412,
-0.015652727335691452,
0.029866721481084824,
-0.0026716243010014296,
-0.06091216579079628,
0.020523620769381523,
-0.01591273956000805,
0.06056548282504082,
-0.02503049746155739,
-0.010149138979613781,
-0.011076514609158039,
0.011310526169836521,
-0.09194027632474899,
-0.004268531687557697,
-0.01702212542295456,
0.030265407636761665,
-0.053597159683704376,
0.005889273714274168,
-0.0001287195336772129,
-0.032744187861680984,
0.07037660479545593,
0.03834311664104462,
-0.019136890769004822,
-0.017594151198863983,
-0.014638680964708328,
-0.04964497685432434,
-0.08445192873477936,
-0.029884057119488716,
-0.02040228247642517,
-0.05924808979034424,
-0.0015503220492973924,
-0.06448300182819366,
0.03931382670998573,
0.039556507021188736,
0.06781115382909775,
0.05394384264945984,
-0.005169907119125128,
0.008285718970000744,
-0.014820689335465431,
0.06268024444580078,
-0.051829077303409576,
0.028930678963661194,
0.020107600837945938,
-0.033905576914548874,
0.012333240360021591,
-0.012281238101422787,
-0.032414842396974564,
-0.026001209393143654,
-0.05058101937174797,
0.010105803608894348,
0.057063985615968704,
-0.003837345167994499,
0.03397491201758385,
0.015262709930539131,
0.013139277696609497,
-0.0002648873196449131,
0.053597159683704376,
-0.008862079121172428,
0.011145851574838161,
-0.017316805198788643,
-0.026295889168977737,
0.04818890616297722,
0.025290509685873985,
0.02542918175458908,
-0.010071135126054287,
0.023037070408463478,
-0.023141076788306236,
-0.03868979960680008,
-0.04603947326540947,
0.004870892968028784,
-0.026573235169053078,
-0.04884760454297066,
-0.014708016999065876,
-0.02409445308148861,
-0.0009067921782843769,
0.017507480457425117,
0.044687412679195404,
0.010374482721090317,
0.02371310256421566,
-0.03373223543167114,
-0.03740707412362099,
0.07432878762483597,
-0.032830860465765,
0.014500007964670658,
0.02697192132472992,
-0.037233732640743256,
-0.006695311516523361,
-0.05134372040629387,
0.011934555135667324,
0.03868979960680008,
0.011085182428359985,
0.010036466643214226,
0.0052869124338030815,
0.020852969959378242,
0.019570242613554,
0.017923500388860703,
-0.037233732640743256,
-0.009360435418784618,
0.037337735295295715,
0.051378387957811356,
0.01736014150083065,
-0.03674837574362755,
0.02007293328642845,
0.016372093930840492,
0.03952183946967125,
0.0027257935144007206,
-0.03633235767483711,
-0.04527677223086357,
0.04506876319646835,
-0.0631309375166893,
0.09478307515382767,
0.08902814239263535,
-0.042711321264505386,
-0.03083743341267109,
-0.011891219764947891,
-0.033628229051828384,
0.07585419714450836,
-0.010218475013971329,
-0.013303952291607857,
-0.04392470791935921,
-0.0010665912413969636,
0.030820099636912346,
-0.039383165538311005,
0.007908700965344906,
-0.0689552053809166,
0.06261090934276581,
-0.004376870114356279,
-0.020419616252183914,
0.09256430715322495,
0.050546351820230484,
-0.055469244718551636,
-0.0034646610729396343,
-0.0009929211810231209,
0.016181418672204018,
0.0039933524094522,
0.0199515949934721,
0.030577421188354492,
0.022187698632478714,
0.040596555918455124,
0.05654396116733551,
0.005932609084993601,
0.01707412675023079,
0.032917529344558716,
0.01735147275030613,
0.029000015929341316,
-0.029450703412294388,
-0.03782309219241142,
-0.012809929437935352,
-0.03862046077847481,
-0.011891219764947891,
-0.01712612994015217,
-0.028774671256542206,
0.03139212727546692,
0.0053259143605828285,
0.014985363930463791,
-0.004322701133787632,
0.020714296028017998,
0.0424339734017849,
0.042537979781627655,
-0.001387814525514841,
0.08341187983751297,
-0.04555412009358406,
0.02366109937429428,
0.022690389305353165,
-0.0399031899869442,
-0.02608788013458252,
0.022517047822475433,
-0.013919314369559288,
-0.019604912027716637,
0.01813150942325592,
0.02050628699362278,
0.007934702560305595,
-0.028098639100790024,
0.030196070671081543,
-0.0026044545229524374,
-0.0033931578509509563,
0.013815308921039104,
0.05307713523507118,
0.02565452642738819,
-0.0025762864388525486,
-0.0452074371278286,
0.01202122587710619,
0.004649882670491934,
0.016094747930765152,
0.043647363781929016,
-0.014474006369709969,
0.006448299624025822,
-0.020575623959302902,
-0.0008461226825602353,
0.04669817164540291,
-0.03378423675894737,
-0.044583406299352646,
-0.051655735820531845,
-0.03751107677817345,
0.015947408974170685,
-0.026209218427538872,
0.02631322294473648,
0.07523016631603241,
0.05591993406414986,
0.020211607217788696,
-0.042641982436180115
] |
23,181 | flask.app | log_exception | Logs an exception. This is called by :meth:`handle_exception`
if debugging is disabled and right before the handler is called.
The default implementation logs the exception as error on the
:attr:`logger`.
.. versionadded:: 0.8
| def log_exception(
self,
exc_info: (tuple[type, BaseException, TracebackType] | tuple[None, None, None]),
) -> None:
"""Logs an exception. This is called by :meth:`handle_exception`
if debugging is disabled and right before the handler is called.
The default implementation logs the exception as error on the
:attr:`logger`.
.. versionadded:: 0.8
"""
self.logger.error(
f"Exception on {request.path} [{request.method}]", exc_info=exc_info
)
| (self, exc_info: tuple[type, BaseException, traceback] | tuple[None, None, None]) -> NoneType | [
-0.0004556043422780931,
-0.0073603056371212006,
0.00817026849836111,
0.06901640444993973,
0.008273868821561337,
-0.07059865444898605,
-0.017517810687422752,
0.012855811975896358,
-0.05507750064134598,
0.007525123655796051,
0.05892011895775795,
-0.026427404955029488,
0.04660114273428917,
-0.022829661145806313,
0.047354597598314285,
0.024317733943462372,
-0.03887823596596718,
-0.01581311970949173,
0.06133117154240608,
-0.0155211566016078,
0.008518741466104984,
0.014381556771695614,
-0.017404790967702866,
-0.006814051419496536,
-0.005354234017431736,
0.043210599571466446,
0.016039155423641205,
0.011913994327187538,
0.051310230046510696,
-0.01587904617190361,
-0.021661808714270592,
-0.043587323278188705,
-0.03181460499763489,
0.013684611767530441,
-0.006329015363007784,
-0.032059475779533386,
-0.012102358043193817,
0.00017144026060122997,
-0.0364295095205307,
-0.011217049323022366,
-0.038275472819805145,
-0.009992686100304127,
0.004558397922664881,
-0.04419008642435074,
0.0305902399122715,
0.0015328084118664265,
-0.015935556963086128,
0.00023442432575393468,
-0.042871542274951935,
0.0143909752368927,
-0.049878668040037155,
0.03735249117016792,
0.0006374928634613752,
-0.05993727967143059,
-0.006051179021596909,
0.06302644312381744,
0.02081417292356491,
-0.04091256111860275,
0.005867524538189173,
-0.07496869564056396,
0.011782139539718628,
0.01756490021944046,
-0.034508202224969864,
0.026860641315579414,
0.021341590210795403,
0.021605299785733223,
-0.03324616700410843,
0.031720422208309174,
-0.011490176431834698,
-0.016453556716442108,
0.027651768177747726,
-0.005278888624161482,
-0.00106543127913028,
0.03571372851729393,
-0.01906239055097103,
-0.036015111953020096,
-0.013816466554999352,
0.006992996670305729,
0.04837175831198692,
-0.011753885075449944,
-0.017903955653309822,
-0.04712855815887451,
-0.04057350754737854,
-0.009385214187204838,
0.012921739369630814,
-0.06072840839624405,
-0.05876942723989487,
-0.0072237420827150345,
-0.000048121000872924924,
0.03663671016693115,
-0.07707836478948593,
-0.04354965314269066,
-0.07123909145593643,
0.023827988654375076,
-0.04558397829532623,
-0.0036377711221575737,
0.049351248890161514,
-0.050142377614974976,
0.03426332771778107,
0.026860641315579414,
0.028894968330860138,
0.006922360509634018,
0.030496058985590935,
-0.02158646285533905,
-0.011141703464090824,
-0.059146154671907425,
-0.008725941181182861,
-0.018582064658403397,
-0.0024322443641722202,
-0.027840131893754005,
0.024807479232549667,
-0.010482431389391422,
-0.02533489651978016,
-0.008740068413317204,
-0.04072419926524162,
0.028273368254303932,
0.022905007004737854,
0.04690252244472504,
-0.029704932123422623,
-0.003133898600935936,
0.047015540301799774,
-0.07372549176216125,
-0.04426543414592743,
0.022829661145806313,
-0.021341590210795403,
-0.01925075426697731,
-0.005740378983318806,
-0.011132285930216312,
-0.08438687026500702,
0.002686535008251667,
-0.04452914372086525,
0.022584788501262665,
0.006870560348033905,
0.009333414025604725,
-0.01932610012590885,
0.049162887036800385,
-0.07530774921178818,
0.017451882362365723,
-0.04373801499605179,
-0.007115432992577553,
-0.0908665731549263,
-0.027595259249210358,
0.01854439079761505,
0.007251996546983719,
0.002721853321418166,
0.00832566898316145,
0.0047349887900054455,
0.012356649152934551,
0.012215375900268555,
-0.03286943957209587,
0.050971176475286484,
0.05782761052250862,
0.021605299785733223,
0.0009365199948661029,
-0.048635467886924744,
-0.03563838452100754,
0.014325047843158245,
0.04257016256451607,
0.027783622965216637,
-0.004996343050152063,
-0.038802891969680786,
-0.008127886801958084,
0.031852275133132935,
-0.05360826477408409,
-0.02256595343351364,
-0.0692424401640892,
0.00032463279785588384,
0.01775326393544674,
0.039254963397979736,
-0.005212961230427027,
-0.006969451438635588,
0.0010295244865119457,
-0.05790295451879501,
-0.014099011197686195,
0.00750157842412591,
0.031720422208309174,
0.018308937549591064,
-0.023809151723980904,
-0.0025358442217111588,
0.0064985426142811775,
0.08627050369977951,
-0.07941406965255737,
0.003475307486951351,
0.0481080487370491,
0.01691504567861557,
-0.007784123532474041,
-0.00667748786509037,
0.022076208144426346,
0.024487260729074478,
0.08762672543525696,
0.026239043101668358,
-0.03876521810889244,
-0.04690252244472504,
-0.07753043621778488,
0.001895408146083355,
0.04230645298957825,
-0.02625787816941738,
-0.043323617428541183,
0.08800344914197922,
-0.01854439079761505,
0.04471750557422638,
0.06679371744394302,
-0.0076098875142633915,
0.015398720279335976,
0.025391405448317528,
-0.022113880142569542,
0.0670197531580925,
-0.021548788994550705,
-0.04758063331246376,
0.020946025848388672,
0.0692424401640892,
0.01932610012590885,
0.0015186810633167624,
-0.00015245674876496196,
0.01892111822962761,
0.052214376628398895,
-0.02825453132390976,
-0.03590209037065506,
0.024524934589862823,
0.045998379588127136,
0.02703016996383667,
0.015069084241986275,
-0.013213702477514744,
0.020795335993170738,
0.040799543261528015,
0.006602142471820116,
0.012526175938546658,
0.011650285683572292,
-0.029460059478878975,
-0.07248229533433914,
-0.03595860302448273,
0.004892743192613125,
-0.05496448278427124,
0.005622651893645525,
-0.024807479232549667,
0.017225846648216248,
0.02028675377368927,
-0.043775688856840134,
-0.010642540641129017,
-0.05632070079445839,
0.01387297548353672,
0.05794062837958336,
-0.00982315931469202,
0.0038991253823041916,
-0.01581311970949173,
-0.059409864246845245,
-0.02501467987895012,
0.12356648594141006,
-0.039254963397979736,
-0.04162834584712982,
0.03857685625553131,
0.0342068187892437,
-0.07120142132043839,
-0.056245356798172,
0.015125593170523643,
0.0011019267840310931,
-0.008919013664126396,
0.040799543261528015,
-0.0236019529402256,
0.013562175445258617,
0.005443706642836332,
-0.005340106785297394,
0.025447914376854897,
-0.04912521317601204,
0.020682318136096,
-0.035412345081567764,
-0.032888274639844894,
0.0008770677959546447,
0.07572214305400848,
0.02825453132390976,
0.01218712143599987,
0.05541655421257019,
0.040611181408166885,
0.06280040740966797,
-0.036712054163217545,
-0.002943180501461029,
-0.013176030479371548,
0.0427585244178772,
-0.027444569393992424,
0.09342832118272781,
0.03985772654414177,
-0.01951446384191513,
0.02347009815275669,
0.0024228261318057775,
-0.01951446384191513,
-0.017197592183947563,
0.03966936469078064,
0.056019317358732224,
0.019100064411759377,
0.04343663528561592,
0.017743846401572227,
0.09071588516235352,
-0.024016352370381355,
0.024035189300775528,
-0.04362499713897705,
-0.02949773147702217,
-0.004598425235599279,
0.0187892634421587,
0.04626208543777466,
0.04257016256451607,
0.020983699709177017,
0.034903764724731445,
0.02729387767612934,
-0.010699049569666386,
-0.004518370609730482,
-0.03045838512480259,
0.0017706173239275813,
0.04155299812555313,
-0.02605067938566208,
0.019344937056303024,
0.028424059972167015,
0.009728977456688881,
-0.050782810896635056,
0.021944353356957436,
-0.0005283008795231581,
0.008702395483851433,
0.014956065453588963,
0.03921728953719139,
-0.060238663107156754,
0.08212650567293167,
-0.00659272400662303,
0.05198834091424942,
-0.044303108006715775,
-0.013712866231799126,
0.012064685113728046,
0.0017918082885444164,
-0.015850791707634926,
-0.015897883102297783,
-0.019344937056303024,
0.06366688013076782,
-0.015266865491867065,
0.024336570873856544,
-0.0634031668305397,
0.022283406928181648,
0.044077068567276,
-0.03731481730937958,
-0.028480568900704384,
-0.05556724593043327,
0.02177482657134533,
-0.007543960120528936,
-0.11203863471746445,
0.01457933895289898,
0.01050126738846302,
0.032436203211545944,
-0.01601090095937252,
0.006931778509169817,
0.025071188807487488,
-0.05748855322599411,
-0.017677918076515198,
0.07583516091108322,
-0.0015869628405198455,
-0.0458853617310524,
-0.0675094947218895,
-0.05684811994433403,
-0.047015540301799774,
-0.05560491979122162,
-0.033547546714544296,
-0.028292205184698105,
0.018770428374409676,
0.026276715099811554,
0.0044265431351959705,
0.00538248848170042,
-0.0035765529610216618,
-0.0058533973060548306,
-0.007101305760443211,
-0.02631438709795475,
-0.011753885075449944,
-0.008433978073298931,
0.008857795968651772,
-0.0014480447862297297,
0.0010312903905287385,
-0.019853517413139343,
0.0395563468337059,
0.07451661676168442,
-0.029403550550341606,
0.06852665543556213,
0.021699480712413788,
-0.0386522002518177,
-0.03307664021849632,
0.048899177461862564,
0.07395152747631073,
0.02461911551654339,
0.043775688856840134,
-0.05315619334578514,
-0.017602574080228806,
-0.011038104072213173,
0.004492470528930426,
0.013289048336446285,
0.012874648906290531,
0.006385524291545153,
0.004367679823189974,
-0.044227760285139084,
0.0007410928374156356,
-0.002444016980007291,
0.0029549531172960997,
-0.04750528559088707,
0.010972176678478718,
0.00495867058634758,
-0.07353712618350983,
0.03448936715722084,
-0.0355253666639328,
0.020588135346770287,
-0.0016599537339061499,
-0.009032032452523708,
0.07067400217056274,
0.006847015116363764,
-0.011000431142747402,
0.02859358675777912,
0.02910216897726059,
-0.03725830838084221,
0.003604807425290346,
0.02222689799964428,
0.041439980268478394,
-0.023281734436750412,
-0.03383009135723114,
-0.00424524350091815,
0.027199696749448776,
0.05164928361773491,
-0.01757431961596012,
0.0129311578348279,
0.039631690829992294,
-0.002966725965961814,
-0.006969451438635588,
-0.0004238179826643318,
-0.01063312217593193,
-0.01853497326374054,
-0.006927069276571274,
0.038011763244867325,
0.020964862778782845,
-0.014758284203708172,
-0.0180923193693161,
0.031193003058433533,
0.013618684373795986,
0.011885739862918854,
0.04381336271762848,
0.007925395853817463,
-0.03454587608575821,
0.000623365631327033,
-0.007948941551148891,
0.010388249531388283,
0.030043985694646835,
-0.05368361249566078,
-0.0023851534351706505,
-0.03659903630614281,
-0.010972176678478718,
-0.02612602338194847,
0.05481379106640816,
0.003720180131494999,
-0.012140030972659588,
-0.007963068783283234,
0.04750528559088707,
0.014306211844086647,
0.025937659665942192,
-0.021341590210795403,
0.00419815257191658,
-0.03902892768383026,
-0.04162834584712982,
-0.018817517906427383,
0.04208041727542877,
-0.006799924187362194,
-0.016736101359128952,
0.03232318535447121,
0.06799924373626709,
-0.08197581768035889,
0.0310423132032156,
0.013477412052452564,
0.082729272544384,
-0.008443395607173443,
0.029930967837572098,
-0.07602352648973465,
0.05417335778474808,
0.02708667889237404,
-0.01964631862938404,
-0.0258623156696558,
0.0009741927497088909,
0.03143787756562233,
0.020833007991313934,
-0.010322322137653828,
0.06084142625331879,
0.0016952719306573272,
0.04788201302289963,
-0.019872354343533516,
0.026220206171274185,
-0.03524281829595566,
0.027519913390278816,
-0.042419470846652985,
0.004982215818017721,
-0.010359995067119598,
-0.0155211566016078,
0.05289248377084732,
0.008405723609030247,
-0.001947208191268146,
-0.025372570380568504,
-0.014786538667976856,
-0.004362970590591431,
0.010199885815382004,
-0.038011763244867325,
-0.05462542921304703,
0.010454176925122738,
0.051423247903585434,
-0.01769675500690937,
-0.08589377999305725,
0.03959401696920395,
-0.032304346561431885,
-0.004892743192613125,
-0.005952287930995226,
0.032568056136369705,
0.07715371251106262,
-0.03480958193540573,
-0.0017046901630237699,
0.0030326531268656254,
0.006710451561957598,
0.002185017103329301,
-0.005613233894109726,
0.021360427141189575,
-0.04969030246138573,
-0.06415662169456482,
-0.0495019406080246,
0.02230224385857582,
0.01938260905444622,
0.05880710110068321,
0.024863988161087036,
0.06136884540319443,
-0.016500646248459816,
0.04012143611907959,
-0.02976144105195999,
0.08114701509475708,
0.029591912403702736,
-0.011584358289837837,
0.05763924494385719,
-0.06901640444993973,
0.013204284943640232,
0.02060697227716446,
-0.018713917583227158,
0.04434077814221382,
0.06106746196746826,
-0.0132607938721776,
-0.015191520564258099,
0.05048143118619919,
-0.02281082607805729,
-0.0481080487370491,
0.0575639009475708,
0.007562796585261822,
-0.03722063824534416,
-0.056283026933670044,
-0.09727093577384949,
-0.038802891969680786,
0.007073051296174526,
-0.024411914870142937,
0.03686274588108063,
0.039254963397979736,
-0.004172252491116524,
0.061481863260269165,
0.0504060834646225,
0.019853517413139343,
0.02870660461485386,
0.04336128756403923,
0.058242008090019226,
0.0070306695997715,
-0.0020460989326238632,
0.004565461538732052,
0.0015127947553992271,
0.01938260905444622,
-0.009196850471198559,
-0.007228451315313578,
-0.005387197248637676,
0.03786107152700424,
0.017329446971416473,
0.0039626979269087315,
-0.003993307240307331,
-0.04437845200300217,
0.04697787016630173,
-0.0025829351507127285,
-0.0005539065459743142,
-0.009493522346019745,
0.03000631369650364,
0.023827988654375076,
0.012582684867084026,
-0.009700722992420197,
0.005066979210823774,
-0.04818339645862579,
-0.040083762258291245,
0.013976574875414371,
-0.01529511995613575,
-0.024524934589862823,
-0.03307664021849632,
0.025391405448317528,
-0.024581443518400192,
-0.029177512973546982,
0.06958149373531342,
-0.03744667395949364,
-0.088154137134552,
0.03676856309175491,
0.00310328952036798,
-0.020173735916614532,
0.04441612586379051,
-0.02657809667289257,
-0.08167443424463272,
0.04633743315935135,
0.02799082361161709,
-0.023357080295681953,
-0.005933451931923628,
0.005707415286451578,
-0.041515324264764786,
0.014617010951042175,
-0.01861031912267208,
0.04147765412926674,
0.021416936069726944,
-0.049803320318460464,
-0.03933030739426613,
0.028292205184698105,
0.004817397799342871,
-0.01588846556842327,
0.04803270474076271,
-0.04814572259783745,
0.009309868328273296,
0.013420903123915195,
0.08287996053695679,
0.09681886434555054,
0.026276715099811554,
0.007073051296174526,
-0.010454176925122738,
-0.016227519139647484,
0.018177082762122154,
0.022189226001501083,
0.033208493143320084,
0.024732133373618126,
-0.044077068567276,
-0.09146934002637863,
-0.007746451068669558,
0.003089162288233638,
0.02230224385857582,
-0.04336128756403923,
-0.05157393962144852,
-0.018553810194134712,
0.026276715099811554,
0.05997495353221893,
-0.009060286916792393,
-0.05688579007983208,
-0.04671416059136391,
0.04739226773381233,
0.016971556469798088,
-0.04965263232588768,
0.01205526664853096,
0.028800785541534424,
0.03448936715722084,
0.04166601598262787,
-0.10231907665729523,
0.029460059478878975,
-0.01925075426697731,
-0.04776899516582489,
-0.007317923940718174,
-0.04219343513250351,
-0.0015280992956832051,
-0.05963589996099472,
-0.004530143458396196,
-0.043323617428541183,
-0.013976574875414371,
-0.040874890983104706,
0.03876521810889244,
0.017734428867697716,
0.022283406928181648,
0.0047467611730098724,
-0.039179619401693344,
0.060690734535455704,
-0.03168274834752083,
0.007251996546983719,
-0.05074514076113701,
0.062461353838443756,
0.0025005261413753033,
0.007944232784211636,
-0.02198202535510063,
-0.02857474982738495,
0.010717885568737984,
0.11731281876564026,
0.04091256111860275,
-0.025504425168037415,
0.00946526788175106,
-0.015992065891623497,
-0.03812478110194206,
0.041138600558042526,
0.007765287067741156,
-0.008132596500217915,
-0.006795214954763651,
0.013015921227633953,
-0.0010936858598142862,
-0.013289048336446285,
0.0242988970130682,
0.031061148270964622,
0.04765597730875015,
-0.039179619401693344,
-0.004332361742854118,
-0.10277114808559418,
-0.018167663365602493,
-0.017725009471178055,
-0.0348660908639431,
0.022848498076200485,
-0.053495246917009354,
0.06072840839624405,
0.022660134360194206,
-0.05515284836292267,
0.01964631862938404,
-0.005255342926830053,
-0.011141703464090824,
0.005373070016503334,
-0.061142805963754654,
0.007586341816931963,
-0.021869007498025894,
0.025711623951792717,
-0.03045838512480259,
0.020889516919851303,
-0.02857474982738495,
0.021925516426563263,
-0.003795525524765253,
-0.048070378601551056,
0.03539351001381874,
0.02618253231048584,
-0.019213082268834114,
-0.018713917583227158,
-0.0005621474701911211,
-0.040347471833229065,
-0.024016352370381355,
0.005424870178103447,
-0.06332782655954361,
0.0007146042189560831,
-0.01176330354064703,
-0.032888274639844894,
-0.060314007103443146,
0.04969030246138573,
-0.00136916758492589,
-0.0042970431968569756,
0.028179187327623367,
-0.0016375855775550008,
0.03720179945230484,
0.006352560594677925,
-0.024035189300775528,
-0.05055677518248558,
-0.03659903630614281,
-0.001452753902412951,
0.020795335993170738,
-0.0016470038099214435,
-0.004765597637742758,
-0.0481080487370491,
-0.009234522469341755,
0.054286375641822815,
0.0404604896903038,
-0.014268538914620876,
0.033735912293195724,
-0.023696133866906166,
0.024807479232549667,
0.032907113432884216,
0.0006416133255697787,
0.02198202535510063,
0.0036189346574246883,
-0.005928742699325085,
-0.046751830726861954,
0.0800921767950058,
-0.03177693113684654,
0.0265215877443552,
-0.0005453713238239288,
0.015153847634792328,
-0.003143316600471735,
-0.0014727674424648285,
-0.0015492901438847184,
0.015361047349870205,
0.07346178591251373,
0.0035718437284231186,
0.026465078815817833
] |
23,182 | flask.app | make_aborter | Create the object to assign to :attr:`aborter`. That object
is called by :func:`flask.abort` to raise HTTP errors, and can
be called directly as well.
By default, this creates an instance of :attr:`aborter_class`,
which defaults to :class:`werkzeug.exceptions.Aborter`.
.. versionadded:: 2.2
| def make_aborter(self) -> Aborter:
"""Create the object to assign to :attr:`aborter`. That object
is called by :func:`flask.abort` to raise HTTP errors, and can
be called directly as well.
By default, this creates an instance of :attr:`aborter_class`,
which defaults to :class:`werkzeug.exceptions.Aborter`.
.. versionadded:: 2.2
"""
return self.aborter_class()
| (self) -> werkzeug.exceptions.Aborter | [
0.03429219871759415,
-0.020784765481948853,
-0.030387289822101593,
-0.04547443985939026,
-0.03533942624926567,
-0.05087031051516533,
0.008564175106585026,
0.06318852305412292,
-0.02239997684955597,
-0.020145779475569725,
0.01899205707013607,
-0.04494195058941841,
-0.021388251334428787,
-0.025026915594935417,
-0.025790147483348846,
0.033049728721380234,
-0.024032939225435257,
0.029872551560401917,
0.028647830709815025,
-0.06986236572265625,
0.03730962797999382,
0.012815200723707676,
-0.04295399785041809,
-0.01534451637417078,
-0.0058396137319505215,
0.061520062386989594,
-0.04437396302819252,
0.002473848406225443,
0.04071754962205887,
-0.05530770868062973,
0.002895401092246175,
-0.00376734952442348,
0.006780341733247042,
0.029002822935581207,
0.0340082049369812,
-0.009056726470589638,
-0.04043355584144592,
0.01920505240559578,
0.000214520376175642,
-0.00805831141769886,
-0.037380628287792206,
-0.021618995815515518,
-0.04767538607120514,
-0.02990805171430111,
0.060987576842308044,
0.03001454845070839,
-0.0012546738144010305,
-0.026553379371762276,
0.030192045494914055,
0.03642214834690094,
-0.03446969389915466,
-0.030085546895861626,
0.04423196613788605,
-0.007516949437558651,
-0.004164496436715126,
0.08129309862852097,
0.007494762539863586,
-0.006940087769180536,
-0.07362528145313263,
-0.018370820209383965,
-0.034611690789461136,
0.04135653376579285,
0.06286903470754623,
-0.004024718422442675,
0.036919139325618744,
0.016844356432557106,
-0.027884598821401596,
0.04085954651236534,
-0.002260853536427021,
0.0189743060618639,
0.018903309479355812,
-0.001013390370644629,
-0.030280793085694313,
0.01727922074496746,
0.033830709755420685,
-0.02903832122683525,
-0.042670004069805145,
-0.044657956808805466,
-0.005236127879470587,
-0.01152835600078106,
0.0368836373090744,
-0.022914715111255646,
-0.018708063289523125,
0.053497251123189926,
0.06262053549289703,
-0.06570896506309509,
-0.03409695252776146,
-0.0520772822201252,
-0.039688073098659515,
-0.000932407914660871,
-0.07646521180868149,
-0.021601244807243347,
-0.019116302952170372,
-0.03612040728330612,
0.02275496907532215,
-0.04054005444049835,
0.010090639814734459,
-0.004401897080242634,
-0.007698882836848497,
-0.09016789495944977,
-0.004437396302819252,
0.04249250888824463,
0.00342123256996274,
-0.0115816043689847,
0.02816859260201454,
-0.01103136781603098,
0.03301423043012619,
-0.06325951963663101,
0.009638024494051933,
-0.04103704169392586,
0.017607588320970535,
-0.02305671200156212,
-0.07405126839876175,
0.04362848028540611,
-0.031949255615472794,
-0.019063055515289307,
-0.013116943649947643,
0.02261297218501568,
0.0381971076130867,
-0.015042773447930813,
-0.00472138961777091,
-0.006478598807007074,
-0.03276573494076729,
-0.029854802414774895,
0.046539414674043655,
0.03606715798377991,
0.007135333493351936,
-0.031079525128006935,
0.04192452132701874,
0.012140716426074505,
-0.014803154394030571,
0.03572991490364075,
-0.05985160171985626,
-0.011191113851964474,
0.024228183552622795,
0.04231501370668411,
-0.010028515942394733,
0.09172985702753067,
0.022470975294709206,
0.02011028118431568,
-0.009371780790388584,
0.036493148654699326,
-0.0006217901827767491,
0.0013722648145630956,
0.048172373324632645,
0.0069755869917571545,
-0.0001776345307007432,
-0.001456575351767242,
0.023021211847662926,
0.022009486332535744,
0.018406320363283157,
0.028647830709815025,
0.03510868176817894,
0.027068117633461952,
0.024458928033709526,
0.011670352891087532,
-0.06546047329902649,
-0.02815084345638752,
0.055130213499069214,
-0.05434923246502876,
-0.007778755854815245,
0.010170512832701206,
-0.012548957020044327,
-0.06073908135294914,
0.01396004855632782,
0.015788257122039795,
0.0051163178868591785,
0.06609945744276047,
0.006238979287445545,
0.03777111694216728,
-0.06244304031133652,
-0.03812611103057861,
-0.02582564763724804,
0.03079553134739399,
-0.057224664837121964,
0.08349405229091644,
0.019169552251696587,
0.04135653376579285,
-0.03919108584523201,
0.0381971076130867,
0.061307068914175034,
-0.032641489058732986,
-0.05431373044848442,
-0.04114354029297829,
0.04174702614545822,
0.004339773673564196,
0.02978380396962166,
0.047959379851818085,
0.019240550696849823,
-0.00885260570794344,
-0.0027844661381095648,
-0.027778102084994316,
0.09222684800624847,
0.0353216752409935,
-0.027458608150482178,
0.009753397665917873,
-0.022240230813622475,
-0.031416766345500946,
0.07188582420349121,
0.0019047523383051157,
-0.029446562752127647,
0.10777547955513,
0.052929263561964035,
-0.04689440503716469,
0.021689994260668755,
0.05786364898085594,
-0.001839300850406289,
-0.03972357138991356,
-0.03203800320625305,
-0.025914395228028297,
-0.046645909547805786,
-0.02364244870841503,
-0.05417173355817795,
0.03496668487787247,
0.013321063481271267,
0.001529792440123856,
0.053497251123189926,
-0.01435941457748413,
0.032392993569374084,
0.03865859657526016,
0.022825967520475388,
0.0510123074054718,
-0.04164052754640579,
-0.03837460279464722,
-0.008413303643465042,
0.016302993521094322,
-0.03297872841358185,
-0.004302055574953556,
0.012824075296521187,
-0.029837053269147873,
-0.027440859004855156,
-0.010800622403621674,
-0.013649431057274342,
-0.011235487647354603,
-0.016427241265773773,
0.02792009711265564,
-0.006820278242230415,
-0.011049116961658001,
-0.010010765865445137,
0.007303954567760229,
0.08463002741336823,
0.0005311009008437395,
0.05541420727968216,
0.01573500782251358,
0.07341228425502777,
0.033262722194194794,
-0.013436436653137207,
0.05640818178653717,
-0.014909652061760426,
-0.04217301681637764,
-0.014829779043793678,
-0.029872551560401917,
-0.030742282047867775,
-0.07838217169046402,
0.03773561865091324,
0.0260386411100626,
0.008111560717225075,
-0.02051852084696293,
-0.0075391363352537155,
0.07696220278739929,
0.02925131656229496,
0.02053626999258995,
0.023003462702035904,
0.019719788804650307,
-0.05175779014825821,
0.008666235022246838,
-0.010135013610124588,
-0.02231122925877571,
0.03565891832113266,
0.01296607218682766,
0.03997206687927246,
0.006913463585078716,
-0.0031993628945201635,
-0.004528363235294819,
-0.031949255615472794,
-0.02506241388618946,
-0.04362848028540611,
0.01749221608042717,
-0.047320395708084106,
-0.03159426152706146,
-0.001993500394746661,
-0.04543893784284592,
0.04930834844708443,
-0.004186683334410191,
-0.07149533182382584,
0.007250705733895302,
-0.03961707651615143,
0.03036954067647457,
-0.0005724241491407156,
-0.016311869025230408,
0.02374894544482231,
0.0028221840038895607,
0.01886780932545662,
0.0067448425106704235,
0.007490325253456831,
-0.043450985103845596,
-0.03111502341926098,
-0.03111502341926098,
0.03223324567079544,
-0.01584150455892086,
0.05594669282436371,
-0.008315680548548698,
-0.03553466871380806,
0.02284371666610241,
-0.0455099381506443,
-0.03484243527054787,
0.05594669282436371,
0.04004306346178055,
0.004299837164580822,
-0.02703261934220791,
0.0231632087379694,
0.00494325952604413,
-0.014758780598640442,
-0.04227951169013977,
0.011501731351017952,
0.025541653856635094,
0.034150201827287674,
-0.06773241609334946,
-0.03727412968873978,
0.05307126045227051,
-0.003135020611807704,
0.033067476004362106,
0.011838973499834538,
-0.003328047227114439,
-0.0337597131729126,
-0.009318532422184944,
0.0677679181098938,
0.004071311093866825,
-0.015681758522987366,
0.007614572066813707,
-0.02030552551150322,
-0.014457037672400475,
0.021281752735376358,
-0.06819390505552292,
-0.031150521710515022,
0.0019302674336358905,
0.07873716205358505,
0.012841825373470783,
-0.047639887779951096,
-0.0421375147998333,
0.015522012487053871,
-0.03961707651615143,
0.010135013610124588,
0.054136235266923904,
-0.09172985702753067,
-0.01963104121387005,
-0.006212355103343725,
-0.02625163644552231,
0.08832193911075592,
-0.0008331211865879595,
-0.003567666746675968,
0.028896324336528778,
-0.00028593471506610513,
0.04668141156435013,
0.009567026980221272,
-0.06943637877702713,
-0.0058662379160523415,
-0.004166715312749147,
0.009700148366391659,
-0.04164052754640579,
-0.023926440626382828,
0.0010217105736956,
-0.038232605904340744,
0.010534378699958324,
-0.012664329260587692,
0.01126211229711771,
0.0184418186545372,
-0.05264526978135109,
-0.0753292441368103,
0.028949573636054993,
-0.008200308308005333,
-0.036706142127513885,
-0.007787630427628756,
0.009096662513911724,
0.04547443985939026,
0.024689674377441406,
-0.010143888182938099,
-0.014315040782094002,
0.01749221608042717,
0.08292606472969055,
0.04085954651236534,
0.0041844649240374565,
0.0017250378150492907,
-0.012806326150894165,
-0.027778102084994316,
-0.030085546895861626,
-0.007477012928575277,
0.012193964794278145,
0.036706142127513885,
0.03961707651615143,
0.013170192018151283,
-0.07398027181625366,
-0.0068380278535187244,
0.027334362268447876,
0.015025024302303791,
-0.022577472031116486,
-0.061555564403533936,
0.011714726686477661,
0.05726016312837601,
0.03287223353981972,
0.05268076807260513,
0.07582622766494751,
0.02176099270582199,
0.0197552889585495,
0.02529316022992134,
0.0439479723572731,
0.018370820209383965,
-0.018832311034202576,
0.04426746442914009,
-0.06979136914014816,
-0.008888104930520058,
-0.005657680332660675,
-0.01668461039662361,
0.009797771461308002,
0.0007582401158288121,
0.028949573636054993,
-0.015681758522987366,
-0.021441498771309853,
0.05562720075249672,
-0.039510577917099,
0.01181234885007143,
0.05118980631232262,
0.06503447890281677,
-0.011945471167564392,
-0.03159426152706146,
0.025648150593042374,
-0.0326947383582592,
-0.010632001794874668,
-0.04469345510005951,
-0.0024450053460896015,
-0.002429474610835314,
0.0031372392550110817,
0.024707423523068428,
-0.022488724440336227,
-0.018299821764230728,
0.02857683226466179,
-0.01654261350631714,
0.008604111149907112,
0.01408429630100727,
0.05108330771327019,
0.0253819078207016,
-0.05158029496669769,
0.02838158793747425,
0.04604242369532585,
0.024334682151675224,
-0.04061105102300644,
-0.009531527757644653,
0.0038627535104751587,
0.029766054823994637,
-0.03580091521143913,
0.0774591937661171,
-0.07788518071174622,
0.02582564763724804,
0.01131536066532135,
-0.024973666295409203,
-0.0026934996712952852,
-0.024245934560894966,
-0.023997439071536064,
-0.0134098120033741,
0.013596182689070702,
0.0067714666947722435,
0.04458696022629738,
-0.007845317013561726,
-0.047639887779951096,
-0.03677714243531227,
0.05860913172364235,
0.014874152839183807,
0.005067506805062294,
0.013560683466494083,
0.0005571705987676978,
0.0007238502730615437,
0.012433584779500961,
-0.010072889737784863,
0.013063695281744003,
-0.03610265627503395,
0.0889609232544899,
0.03452294319868088,
0.009149910882115364,
0.014217417687177658,
-0.03047603741288185,
0.01292169839143753,
-0.017021851614117622,
0.014474786818027496,
0.01104024238884449,
-0.01594800315797329,
-0.03136351704597473,
-0.02062501758337021,
0.00024863285943865776,
0.03997206687927246,
0.003352453000843525,
-0.03407920524477959,
0.053248755633831024,
0.004898885730654001,
0.029091570526361465,
0.06002909690141678,
0.0463264174759388,
-0.03855209797620773,
0.011297611519694328,
-0.03347571939229965,
-0.023784443736076355,
0.04710739850997925,
-0.04327348992228508,
-0.043202489614486694,
-0.00008112115028779954,
-0.0038627535104751587,
-0.0878959447145462,
-0.039013590663671494,
0.012167341075837612,
-0.008062749169766903,
-0.010312508791685104,
0.015761632472276688,
0.01135973446071148,
-0.013516309671103954,
0.03601390868425369,
-0.010942619293928146,
-0.031949255615472794,
-0.0827130675315857,
-0.044444963335990906,
0.0523257777094841,
0.04788838326931,
0.004148965701460838,
0.05747315660119057,
0.03013879619538784,
-0.025133412331342697,
-0.03067128360271454,
-0.022346727550029755,
0.08917392045259476,
0.009753397665917873,
0.05928361415863037,
0.0638275071978569,
-0.02516891248524189,
-0.004876698832958937,
0.04196001961827278,
0.02373119629919529,
0.0234117042273283,
0.01617874763906002,
-0.09442779421806335,
-0.03773561865091324,
-0.0016251964261755347,
-0.043202489614486694,
-0.022914715111255646,
0.059106118977069855,
-0.010303634218871593,
-0.0018049109494313598,
-0.02229348011314869,
-0.06922338157892227,
-0.05229027941823006,
0.024920418858528137,
-0.04870486259460449,
-0.030955277383327484,
-0.026322634890675545,
-0.004783513490110636,
0.036493148654699326,
-0.012903948314487934,
-0.0993976816534996,
0.00007432638813043013,
0.06052608788013458,
0.05033782497048378,
0.05456222593784332,
0.017181599512696266,
-0.02859458141028881,
0.04220851510763168,
0.033386971801519394,
-0.039901066571474075,
0.011546105146408081,
0.04799487814307213,
0.0552012100815773,
0.01640949212014675,
-0.016160998493433,
-0.06361451745033264,
-0.0423860102891922,
-0.04561643302440643,
0.03045828826725483,
0.03157651424407959,
-0.00402915570884943,
0.07348328083753586,
0.033049728721380234,
0.006221229676157236,
0.002842152491211891,
-0.04621991887688637,
0.00827130675315857,
-0.029535310342907906,
-0.12751302123069763,
-0.09882969409227371,
-0.06553146988153458,
-0.02582564763724804,
0.0014798716874793172,
0.03484243527054787,
-0.036706142127513885,
-0.012389210984110832,
-0.05704716965556145,
0.020358774811029434,
-0.005262752063572407,
-0.04866936430335045,
0.021122006699442863,
0.026091890409588814,
-0.013942299410700798,
-0.016356242820620537,
-0.026571130380034447,
0.05935461446642876,
0.014190793968737125,
0.022825967520475388,
-0.012850699946284294,
0.020181279629468918,
0.04934384673833847,
0.0009756725048646331,
-0.050160329788923264,
-0.021885238587856293,
-0.05509471520781517,
-0.04192452132701874,
-0.023127710446715355,
-0.03597841039299965,
0.023234207183122635,
0.03445194661617279,
-0.0677679181098938,
0.0016307431505993009,
-0.04064654931426048,
0.002038983628153801,
0.0054047489538788795,
0.019364798441529274,
-0.0313812680542469,
-0.045864928513765335,
0.03816160932183266,
0.036049406975507736,
0.010853871703147888,
0.006119169760495424,
0.06262053549289703,
-0.0017560996348038316,
-0.05527221038937569,
-0.015637384727597237,
-0.021352751180529594,
0.025754649192094803,
0.030387289822101593,
-0.01662248745560646,
-0.021459249779582024,
0.05225478112697601,
0.010472255758941174,
0.012815200723707676,
0.022240230813622475,
-0.002422818448394537,
-0.01816670037806034,
-0.021441498771309853,
0.002316321013495326,
0.044444963335990906,
0.0009684617398306727,
-0.060561586171388626,
0.004566080868244171,
-0.042670004069805145,
-0.010995868593454361,
-0.044870954006910324,
-0.005604431498795748,
0.08484301716089249,
-0.07018186151981354,
-0.02717461623251438,
-0.10876946151256561,
0.015078272670507431,
0.0029908050782978535,
-0.005231690127402544,
0.017190473154187202,
0.01594800315797329,
-0.004681453108787537,
0.0030218670144677162,
-0.0015031680231913924,
-0.0087993573397398,
0.050621818751096725,
0.06297552585601807,
-0.022683970630168915,
-0.032392993569374084,
0.009922018274664879,
-0.04043355584144592,
0.01297494675964117,
0.01931154914200306,
0.004907760303467512,
-0.01729697175323963,
0.005981610156595707,
0.025630401447415352,
-0.013267815113067627,
-0.013844676315784454,
0.010170512832701206,
0.0011010289890691638,
-0.04341548681259155,
0.055804695934057236,
-0.03512642905116081,
0.017989205196499825,
0.0354459211230278,
0.007459263317286968,
-0.004503957461565733,
0.010285885073244572,
0.008528675884008408,
-0.0523257777094841,
-0.0013156880158931017,
0.023092210292816162,
-0.0163473691791296,
0.05928361415863037,
-0.050266824662685394,
-0.02882532775402069,
-0.031061774119734764,
-0.0659574568271637,
-0.015575260855257511,
0.03070678375661373,
0.06553146988153458,
-0.06091657653450966,
0.02062501758337021,
-0.021352751180529594,
0.0072906422428786755,
0.014252916909754276,
0.010516629554331303,
-0.03367096558213234,
-0.010703000240027905,
-0.005085256416350603,
0.05200628563761711,
0.025310909375548363,
0.08597899228334427,
0.00960252620279789,
0.02151249721646309,
0.04291849955916405,
0.01368493027985096,
-0.04728489741683006,
-0.0067182183265686035,
-0.014607909135520458,
0.015495387837290764,
0.003024085657671094,
0.0009790005860850215,
-0.004592705052345991,
0.03365321457386017,
-0.03684813901782036,
-0.02429918199777603,
0.005733116064220667,
-0.04142753407359123,
0.017962580546736717,
0.06283353269100189,
-0.030440539121627808,
-0.08377804607152939,
0.017802834510803223,
0.04196001961827278,
-0.03784211724996567,
0.015814879909157753,
0.01637399196624756,
-0.0048057003878057,
0.05321325734257698,
-0.01729697175323963,
-0.07185032218694687,
-0.06567346304655075,
0.015300142578780651,
0.04767538607120514,
-0.01005514059215784,
0.048172373324632645,
0.0019358141580596566,
0.030547035858035088,
0.01534451637417078,
0.011448482982814312,
-0.013676055707037449,
0.006585096009075642,
0.03379521146416664,
0.025790147483348846,
-0.03766462206840515,
-0.0033724212553352118,
0.008923604153096676,
-0.006753717083483934,
0.02098000980913639,
-0.02967730723321438,
-0.021920738741755486,
-0.04547443985939026,
0.005205065943300724,
0.02011028118431568,
0.03079553134739399,
0.05253877490758896,
0.03070678375661373
] |
23,183 | flask.app | make_config | Used to create the config attribute by the Flask constructor.
The `instance_relative` parameter is passed in from the constructor
of Flask (there named `instance_relative_config`) and indicates if
the config should be relative to the instance path or the root path
of the application.
.. versionadded:: 0.8
| def make_config(self, instance_relative: bool = False) -> Config:
"""Used to create the config attribute by the Flask constructor.
The `instance_relative` parameter is passed in from the constructor
of Flask (there named `instance_relative_config`) and indicates if
the config should be relative to the instance path or the root path
of the application.
.. versionadded:: 0.8
"""
root_path = self.root_path
if instance_relative:
root_path = self.instance_path
defaults = dict(self.default_config)
defaults["DEBUG"] = get_debug_flag()
return self.config_class(root_path, defaults)
| (self, instance_relative: bool = False) -> flask.config.Config | [
0.05166896432638168,
-0.02132953703403473,
0.02820647321641445,
-0.048984382301568985,
-0.03252754360437393,
-0.02296602725982666,
-0.013468866236507893,
0.04085709527134895,
-0.03418242186307907,
-0.018405918031930923,
-0.02182599902153015,
-0.0012239200295880437,
-0.007322834338992834,
0.022432787343859673,
0.05266188830137253,
0.025908032432198524,
0.0012848287587985396,
-0.03488114848732948,
-0.0014847931452095509,
-0.03572697192430496,
0.04883728176355362,
0.007451546844094992,
-0.07138039916753769,
0.04438750073313713,
0.042401645332574844,
0.032398831099271774,
-0.021145660430192947,
0.038356389850378036,
0.0028018001466989517,
-0.02440025471150875,
-0.008039947599172592,
-0.02164212428033352,
0.007419368717819452,
0.01092219352722168,
0.06630543619394302,
-0.03276658058166504,
-0.029089074581861496,
0.06505508720874786,
-0.05255156382918358,
0.00006195018067955971,
0.05891365185379982,
0.004072837997227907,
-0.044130075722932816,
-0.05027151107788086,
0.046299804002046585,
0.06950487196445465,
0.008375520817935467,
0.02945682592689991,
-0.018268011510372162,
-0.014029686339199543,
0.04221777245402336,
-0.01345047913491726,
-0.007846878841519356,
0.06016400083899498,
-0.0017732474952936172,
-0.0008090513874776661,
-0.009469578973948956,
0.017183147370815277,
0.0032522946130484343,
-0.03451339527964592,
-0.07575663179159164,
-0.01895754411816597,
0.05420644208788872,
-0.027838721871376038,
0.014608893543481827,
-0.0015560447936877608,
-0.10936903953552246,
-0.0010268286569043994,
0.03204946592450142,
-0.027967434376478195,
0.006941292900592089,
-0.027783559635281563,
-0.010857837274670601,
-0.04078354313969612,
0.0008464010315947235,
-0.03798864036798477,
0.006628705188632011,
-0.02048370987176895,
0.031865593045949936,
-0.008637542836368084,
-0.07649213075637817,
0.03030265122652054,
-0.04479202628135681,
-0.014241143129765987,
0.06420926004648209,
0.03412725776433945,
-0.08575944602489471,
-0.021145660430192947,
0.06700416654348373,
0.02473122999072075,
-0.03328143060207367,
0.013818229548633099,
0.015031807124614716,
0.021384699270129204,
0.013432092033326626,
-0.04449782520532608,
0.022487951442599297,
0.03638892620801926,
0.025926418602466583,
-0.043615225702524185,
0.004125702194869518,
-0.01380903646349907,
-0.032913681119680405,
-0.018268011510372162,
-0.01458131242543459,
-0.040121592581272125,
-0.0012296661734580994,
0.002516793319955468,
-0.014176786877214909,
-0.016033926978707314,
-0.0440932996571064,
-0.018589794635772705,
-0.03539599850773811,
0.022101812064647675,
-0.0078055071644485,
0.022285688668489456,
0.02739742211997509,
0.03364918380975723,
0.05291931331157684,
-0.04059967026114464,
-0.00935465656220913,
0.00912021566182375,
-0.0049600363709032536,
-0.02307635173201561,
0.02285570092499256,
0.02771000936627388,
0.020649198442697525,
-0.060825955122709274,
0.01886560767889023,
-0.018451888114213943,
0.057736847549676895,
0.029309725388884544,
-0.07891928404569626,
-0.03195752948522568,
0.021035335958003998,
-0.0024501385632902384,
0.01734863594174385,
0.06119370460510254,
-0.019417233765125275,
0.06784999370574951,
0.006021916400641203,
0.03611311316490173,
0.003948722500354052,
0.010526861995458603,
0.012218514457345009,
0.00672523956745863,
-0.04479202628135681,
0.06571703404188156,
-0.01591440849006176,
0.02164212428033352,
0.0042360275983810425,
0.00962587259709835,
-0.0017399201169610023,
0.06751901656389236,
0.0057690879330039024,
-0.00215708720497787,
-0.011896733194589615,
0.04328424856066704,
0.033520471304655075,
0.007644616067409515,
-0.0273054838180542,
0.008131885901093483,
0.037234749644994736,
-0.055383242666721344,
-0.037142813205718994,
-0.02298441343009472,
-0.030045226216316223,
-0.019104644656181335,
0.03158978000283241,
0.02267182618379593,
-0.035267286002635956,
-0.07641857862472534,
-0.015932796522974968,
0.01302756555378437,
-0.028261635452508926,
0.023425715044140816,
0.004461274947971106,
-0.015656983479857445,
0.05497871711850166,
0.015041000209748745,
0.000502496724948287,
0.024896716699004173,
0.015987958759069443,
-0.01600634679198265,
0.03478920832276344,
0.1096632331609726,
0.011519788764417171,
0.08355294167995453,
0.017697999253869057,
0.007911235094070435,
-0.010710736736655235,
0.012485133484005928,
-0.004495751578360796,
0.022304074838757515,
0.011961089447140694,
0.015491494908928871,
-0.017183147370815277,
0.009616678580641747,
0.009451190941035748,
0.05792072415351868,
-0.028059372678399086,
0.03488114848732948,
-0.02399572916328907,
-0.029015524312853813,
0.0326746441423893,
0.03596601262688637,
-0.03030265122652054,
0.04133516922593117,
-0.014654862694442272,
0.03624182567000389,
-0.04214422032237053,
-0.04530687630176544,
-0.009966041892766953,
-0.008545605465769768,
-0.016576359048485756,
-0.06413570791482925,
0.010765899904072285,
0.021053723990917206,
-0.02307635173201561,
0.05450064316391945,
0.05251478776335716,
0.0018307085847482085,
0.021035335958003998,
-0.012236902490258217,
-0.01431469339877367,
0.00798938237130642,
-0.03912866488099098,
-0.051963161677122116,
-0.03234366700053215,
-0.039091892540454865,
-0.03686700016260147,
-0.03791508823633194,
0.02224891260266304,
0.004484259057790041,
0.10304372757673264,
-0.007607840932905674,
0.0385034903883934,
0.02686418406665325,
-0.015675369650125504,
0.025926418602466583,
0.024124441668391228,
0.01945400796830654,
0.022193750366568565,
-0.023113125935196877,
0.024694453924894333,
-0.03144267946481705,
-0.030927827581763268,
0.02587125636637211,
0.012797721661627293,
-0.038981568068265915,
0.011032518930733204,
0.02173406258225441,
-0.01401129923760891,
0.025595443323254585,
-0.0416293703019619,
0.07288817316293716,
-0.03282174468040466,
-0.03618666157126427,
0.026239007711410522,
0.01819446310400963,
0.08421489596366882,
-0.03695893660187721,
0.03028426319360733,
0.02256150171160698,
0.01739460416138172,
0.01721072942018509,
-0.006904518231749535,
-0.04740305617451668,
-0.0016100582433864474,
0.015004225075244904,
0.0776689350605011,
0.05119088664650917,
0.02820647321641445,
-0.020465321838855743,
0.0006452874513342977,
-0.0644666850566864,
0.004265907220542431,
-0.057736847549676895,
0.004826726857572794,
-0.019509170204401016,
-0.039091892540454865,
-0.036094725131988525,
0.07152749598026276,
0.008839805610477924,
0.03953319415450096,
-0.027452584356069565,
-0.03451339527964592,
0.0494624599814415,
0.024124441668391228,
0.012080607935786247,
-0.0009532785625196993,
-0.032380443066358566,
-0.01744057424366474,
0.007993979379534721,
0.026606757193803787,
-0.04560107737779617,
0.002833978272974491,
0.003415483981370926,
-0.03705087676644325,
-0.04541720077395439,
-0.0034522591158747673,
0.0016158042708411813,
-0.04666755348443985,
0.09098150581121445,
0.005704731680452824,
0.03627859801054001,
-0.017155567184090614,
-0.024639291688799858,
0.03831961378455162,
0.0286477729678154,
-0.012843690812587738,
-0.009561516344547272,
0.038577042520046234,
0.06203953176736832,
-0.006403457839041948,
0.02307635173201561,
0.032711416482925415,
-0.041886795312166214,
0.025264468044042587,
0.032380443066358566,
-0.020851461216807365,
0.055971644818782806,
-0.015408751554787159,
0.004383127670735121,
0.03451339527964592,
-0.0006579288747161627,
0.014654862694442272,
-0.015463913790881634,
0.024951880797743797,
0.0886278972029686,
-0.05365481600165367,
0.021347923204302788,
0.030817503109574318,
0.0033143525943160057,
0.021568574011325836,
-0.011050906032323837,
0.004155582282692194,
-0.020446935668587685,
-0.01205302681773901,
-0.09664486348628998,
0.05586132034659386,
0.02307635173201561,
-0.0391654409468174,
-0.017127985134720802,
0.009745392017066479,
-0.018212849274277687,
-0.014645668677985668,
0.018074942752718925,
-0.035598259419202805,
-0.030431363731622696,
-0.04232809692621231,
-0.015436332672834396,
-0.01179560087621212,
0.05777362361550331,
-0.007598647382110357,
-0.012512714602053165,
-0.031479451805353165,
-0.004470468498766422,
0.0234992653131485,
0.0012928732903674245,
-0.03324465826153755,
-0.006081676110625267,
-0.02524608001112938,
0.045490752905607224,
0.010572830215096474,
0.03274819254875183,
-0.07134362310171127,
-0.013763067312538624,
0.010830256156623363,
-0.0007395235006697476,
-0.012641428038477898,
-0.03883446753025055,
0.06413570791482925,
-0.04232809692621231,
0.11613564938306808,
-0.000629198329988867,
-0.05317674204707146,
-0.03252754360437393,
0.025356406345963478,
0.04082031920552254,
-0.029585538432002068,
0.04799145832657814,
-0.016778621822595596,
0.011832376010715961,
0.030927827581763268,
-0.011832376010715961,
0.03265625610947609,
-0.02967747487127781,
0.0013491851277649403,
-0.0028638578951358795,
-0.07928703725337982,
0.019031094387173653,
-0.045490752905607224,
0.018920769914984703,
-0.025613831356167793,
-0.027728397399187088,
-0.03543277457356453,
0.07211589813232422,
0.04530687630176544,
0.00028730518533848226,
0.057405874133110046,
-0.059281401336193085,
0.03409048169851303,
-0.008600767701864243,
0.027526134625077248,
0.0355798713862896,
-0.009212153032422066,
0.02482316642999649,
0.011152037419378757,
0.008674317970871925,
-0.02256150171160698,
-0.01458131242543459,
-0.027011282742023468,
0.004265907220542431,
-0.024859942495822906,
0.026827408000826836,
0.03473404794931412,
0.02410605363547802,
0.04225454851984978,
-0.054132893681526184,
0.012770140543580055,
-0.03265625610947609,
0.04284294694662094,
-0.029751025140285492,
0.02399572916328907,
0.06854871660470963,
0.009901685640215874,
0.003001764416694641,
-0.03534083440899849,
0.009616678580641747,
-0.03927576541900635,
0.0488005094230175,
-0.007777925580739975,
0.0017042943509295583,
0.04144549369812012,
-0.06950487196445465,
0.056302621960639954,
-0.06685706228017807,
-0.024050891399383545,
0.036205049604177475,
-0.019012708216905594,
-0.04832243174314499,
0.041850022971630096,
0.05792072415351868,
-0.05644972249865532,
0.052183814346790314,
-0.09142280369997025,
-0.01605231501162052,
0.06946809589862823,
-0.04148226976394653,
0.012190933339297771,
-0.0819348394870758,
-0.030468139797449112,
0.02143986150622368,
0.013340153731405735,
-0.043210700154304504,
-0.031681716442108154,
-0.047954682260751724,
-0.02800421044230461,
0.05935494974255562,
0.009754585102200508,
-0.0467778779566288,
0.006201195064932108,
-0.04791790619492531,
-0.08553879708051682,
-0.005700134672224522,
0.08568589389324188,
0.03747379034757614,
-0.009202959015965462,
-0.004785355180501938,
0.0564129464328289,
-0.03614988550543785,
-0.02896036207675934,
0.031773652881383896,
0.01138188224285841,
0.0075250971131026745,
0.059060752391815186,
-0.004886486567556858,
-0.03442145884037018,
-0.0387241393327713,
-0.04964633285999298,
0.006371279712766409,
-0.0884072482585907,
0.014287112280726433,
-0.03614988550543785,
-0.08200839161872864,
0.02007918432354927,
-0.007405578158795834,
-0.002707564039155841,
0.004461274947971106,
0.006559751927852631,
0.035690199583768845,
-0.008366326801478863,
0.024050891399383545,
-0.03635215014219284,
0.041776470839977264,
0.08164063841104507,
0.004291190300136805,
0.059612374752759933,
-0.03346530720591545,
-0.03265625610947609,
-0.01602473296225071,
-0.024878330528736115,
0.02462090365588665,
-0.002009986899793148,
-0.0038498893845826387,
-0.13099277019500732,
0.01842430606484413,
-0.0514850877225399,
-0.021182436496019363,
0.02357281558215618,
-0.013395316898822784,
-0.005387546494603157,
0.040526118129491806,
0.028040984645485878,
-0.025172529742121696,
-0.03762089088559151,
-0.01978498324751854,
0.023444103077054024,
-0.03890801593661308,
0.006463217083364725,
0.035156961530447006,
0.006481604650616646,
0.02997167594730854,
-0.01914142072200775,
-0.028151310980319977,
0.08590654283761978,
-0.007368803024291992,
-0.047439832240343094,
0.05770007148385048,
0.005120927467942238,
0.002978780074045062,
0.007538887672126293,
0.028721323236823082,
0.02607351914048195,
0.01956433244049549,
-0.028794873505830765,
0.009589097462594509,
-0.027949048206210136,
-0.0001171486874227412,
0.06968874484300613,
-0.07399142533540726,
0.05405934154987335,
0.01699007861316204,
-0.07553597539663315,
-0.053287066519260406,
0.016686685383319855,
-0.00697806803509593,
-0.01783590577542782,
-0.05387546494603157,
0.04306359961628914,
0.012227708473801613,
0.029383275657892227,
0.048065006732940674,
0.04703530669212341,
-0.013643547892570496,
0.04740305617451668,
0.001699697459116578,
-0.020980173721909523,
0.011777213774621487,
-0.008320357650518417,
0.036205049604177475,
-0.018663344904780388,
-0.003397096414119005,
-0.03432952240109444,
0.012733365409076214,
-0.046520452946424484,
0.01721072942018509,
-0.055346470326185226,
-0.022524725645780563,
-0.030339427292346954,
0.05152186378836632,
0.028721323236823082,
-0.001042917836457491,
-0.019895309582352638,
0.06748224049806595,
0.03204946592450142,
0.06450346112251282,
0.009717809967696667,
-0.02679063379764557,
0.02348087728023529,
-0.018028974533081055,
-0.04839598387479782,
0.010526861995458603,
-0.04210744798183441,
-0.02903391234576702,
0.05225736275315285,
0.017247503623366356,
-0.024896716699004173,
-0.018516244366765022,
0.005718522239476442,
0.014176786877214909,
-0.005111733917146921,
-0.0044084107503294945,
-0.0065091862343251705,
0.003367216559126973,
-0.040526118129491806,
-0.013275797478854656,
0.04512300342321396,
0.055456794798374176,
-0.0566335953772068,
0.03791508823633194,
0.05622906982898712,
0.0182404313236475,
-0.01288046594709158,
-0.021090498194098473,
-0.011731244623661041,
-0.03736346215009689,
-0.03028426319360733,
0.004311875905841589,
0.01967465877532959,
0.00541053107008338,
0.006748224142938852,
-0.0017514124047011137,
0.018166881054639816,
-0.006398860830813646,
-0.05615552142262459,
-0.003491332521662116,
0.008775449357926846,
-0.06347376108169556,
-0.025963194668293,
-0.006385070271790028,
0.004049853887408972,
0.027526134625077248,
-0.02256150171160698,
0.032803356647491455,
0.03975384309887886,
-0.017652029171586037,
-0.03534083440899849,
-0.02565060555934906,
0.061745330691337585,
0.007828491739928722,
-0.01653958484530449,
-0.02761807292699814,
-0.014949062839150429,
0.006380473263561726,
0.04637335240840912,
0.00023559023975394666,
0.04861663281917572,
0.0698358416557312,
0.011161231435835361,
-0.07222622632980347,
-0.007423965726047754,
-0.009460384957492352,
0.019325295463204384,
-0.038356389850378036,
0.04751338064670563,
-0.046189479529857635,
-0.03328143060207367,
-0.011198006570339203,
-0.02554028108716011,
-0.008081319741904736,
-0.04508622735738754,
0.011896733194589615,
-0.024124441668391228,
-0.017891068011522293,
-0.032711416482925415,
0.022414401173591614,
0.004261310212314129,
-0.03399854525923729,
-0.05792072415351868,
-0.02750774659216404,
-0.037841539829969406,
-0.06965196877717972,
-0.018387531861662865,
0.046520452946424484,
0.007469934411346912,
0.007777925580739975,
0.02956715039908886,
-0.0030132567044347525,
0.03234366700053215,
-0.017376217991113663,
-0.04997731000185013,
-0.0025742542929947376,
0.020869847387075424,
0.007157346699386835,
-0.05405934154987335,
0.008669720962643623,
-0.00962587259709835,
-0.009938460774719715,
-0.005097942892462015,
0.1034114733338356,
-0.032398831099271774,
0.030541690066456795,
0.022910863161087036,
-0.03773121535778046,
0.04891083389520645,
0.006270148325711489,
0.03968029096722603,
0.03214140608906746,
-0.02710322104394436,
0.044056523591279984,
0.01987692154943943,
0.037032488733530045,
-0.02029983513057232,
-0.06851194053888321,
0.013827423565089703,
-0.029585538432002068,
-0.020226284861564636,
0.0021800717804580927,
0.013459673151373863,
-0.02511736750602722,
-0.03550632297992706,
0.03158978000283241,
0.01338612288236618,
-0.0411880686879158,
-0.012944822199642658,
-0.0192517451941967,
-0.0007711271173320711,
0.0037924284115433693,
-0.005493274889886379,
0.055383242666721344,
0.07980188727378845,
-0.056302621960639954,
-0.027783559635281563,
0.022910863161087036,
0.02802259847521782,
-0.012200127355754375,
-0.04648368060588837,
-0.02524608001112938,
-0.023756690323352814,
0.03585568442940712,
0.0669306144118309,
-0.08539169281721115,
0.030891053378582,
-0.03576374799013138,
-0.01716476120054722,
-0.0590975247323513,
-0.08016963303089142,
-0.033943381160497665,
0.00017338867473881692,
-0.06946809589862823,
-0.05085991322994232,
0.02173406258225441,
0.037841539829969406,
0.016576359048485756,
0.022745376452803612,
0.0006108108209446073,
-0.06987261772155762,
-0.003638432826846838,
0.017183147370815277,
0.016962498426437378,
-0.03418242186307907,
0.022487951442599297,
0.03030265122652054,
-0.009681034833192825,
0.0018893188098445535,
-0.0055990032851696014,
-0.0012032340746372938,
-0.02853744849562645,
-0.02605513110756874,
0.014590506441891193,
0.017587672919034958,
0.05016118660569191,
-0.019288521260023117,
-0.021495023742318153,
-0.056927796453237534,
-0.03521212190389633,
-0.01642925851047039,
-0.05056571215391159,
0.025963194668293,
-0.02699289657175541,
0.02802259847521782,
0.038172513246536255,
0.048984382301568985,
0.031865593045949936,
0.007741150446236134,
0.06192920356988907
] |
23,184 | flask.app | make_default_options_response | This method is called to create the default ``OPTIONS`` response.
This can be changed through subclassing to change the default
behavior of ``OPTIONS`` responses.
.. versionadded:: 0.7
| def make_default_options_response(self) -> Response:
"""This method is called to create the default ``OPTIONS`` response.
This can be changed through subclassing to change the default
behavior of ``OPTIONS`` responses.
.. versionadded:: 0.7
"""
adapter = request_ctx.url_adapter
methods = adapter.allowed_methods() # type: ignore[union-attr]
rv = self.response_class()
rv.allow.update(methods)
return rv
| (self) -> flask.wrappers.Response | [
0.015199526213109493,
-0.05972139537334442,
0.05358416214585304,
-0.05993673950433731,
-0.02817385643720627,
0.003936713095754385,
-0.016778698191046715,
-0.002498859539628029,
0.05315347760915756,
0.01576479710638523,
0.043750230222940445,
-0.023203054443001747,
-0.026199892163276672,
-0.009968520142138004,
0.013234534300863743,
0.019631972536444664,
0.0017193679232150316,
-0.028658375144004822,
0.026271671056747437,
-0.00957372784614563,
0.06542795151472092,
-0.013351177796721458,
-0.022341689094901085,
0.006105830892920494,
0.010991392657160759,
0.053045809268951416,
-0.05250745266675949,
-0.03596204146742821,
0.03969462960958481,
0.016204454004764557,
-0.028927551582455635,
-0.012328305281698704,
-0.026666464284062386,
0.04565241187810898,
0.016007056459784508,
-0.0015713205793872476,
-0.00033563002943992615,
0.06453069299459457,
-0.034687940031290054,
0.03414958342909813,
-0.03599793463945389,
-0.03007603995501995,
-0.010596600361168385,
-0.03431108966469765,
0.015298224054276943,
0.018985949456691742,
-0.028317416086792946,
0.08419855684041977,
0.029914533719420433,
-0.07795365154743195,
0.04834418371319771,
0.023777298629283905,
-0.012687208130955696,
0.0028106560930609703,
-0.0511077344417572,
-0.016976093873381615,
0.01916540041565895,
0.0894385352730751,
-0.031027130782604218,
0.04615487530827522,
-0.03644656017422676,
0.010354341007769108,
0.004053356591612101,
-0.06811971962451935,
-0.028712209314107895,
-0.0399099700152874,
-0.017981020733714104,
0.01122467964887619,
0.03228329122066498,
0.045401182025671005,
0.015558429062366486,
0.0000032157533951249206,
-0.02616400085389614,
0.0234901774674654,
0.02632550708949566,
-0.022987712174654007,
-0.03163726627826691,
-0.011987347155809402,
0.004387584514915943,
-0.0036899675615131855,
-0.026253726333379745,
0.012453921139240265,
-0.023597847670316696,
-0.012741043232381344,
-0.02944795973598957,
-0.04626254737377167,
-0.016635136678814888,
-0.06158769130706787,
0.050748832523822784,
-0.0004141399695072323,
-0.03606971353292465,
-0.016204454004764557,
-0.027904678136110306,
0.0012662532972171903,
-0.051574308425188065,
0.004620871040970087,
-0.003452194621786475,
0.005379052832722664,
0.029107002541422844,
-0.026810025796294212,
-0.050964172929525375,
0.048487745225429535,
0.009439138695597649,
0.03174493834376335,
0.04985157400369644,
-0.001779932645149529,
0.022539084777235985,
-0.030506722629070282,
0.026881806552410126,
-0.010255642235279083,
0.02244935929775238,
0.03822312876582146,
0.02637934312224388,
-0.012516728602349758,
-0.0035957556683570147,
0.020295944064855576,
-0.033665064722299576,
-0.04163270443677902,
0.008241301402449608,
-0.023310724645853043,
-0.05049759894609451,
0.023831134662032127,
0.011063173413276672,
-0.02718687430024147,
-0.014535556547343731,
0.01798999309539795,
-0.024548938497900963,
-0.03404191508889198,
0.0023844593670219183,
0.07630269974470139,
0.05480442941188812,
0.031996168196201324,
-0.03843846917152405,
-0.00905331876128912,
0.017649035900831223,
-0.018250199034810066,
-0.026020439341664314,
0.037756554782390594,
0.01828608848154545,
0.07152929157018661,
-0.016697945073246956,
-0.03474177420139313,
0.03589026257395744,
0.035298071801662445,
-0.018985949456691742,
0.011287487111985683,
0.07303668558597565,
-0.034490540623664856,
0.004840699024498463,
0.011700225062668324,
0.028048239648342133,
0.035782590508461,
0.04421680420637131,
-0.028963441029191017,
0.029950423166155815,
-0.014472748152911663,
-0.038617923855781555,
-0.0395151786506176,
-0.011054201051592827,
-0.0707755982875824,
-0.013198643922805786,
-0.03768477588891983,
0.004710596986114979,
-0.051969099789857864,
0.0276175569742918,
-0.04629843682050705,
0.012606455013155937,
-0.04576008394360542,
0.03854614123702049,
0.03596204146742821,
-0.016697945073246956,
-0.014777815900743008,
0.013790832832455635,
0.011206733994185925,
0.05889591947197914,
0.059829067438840866,
0.04820062220096588,
0.0052399784326553345,
-0.009815986268222332,
-0.054445527493953705,
0.06912464648485184,
-0.030147820711135864,
-0.021516211330890656,
0.03626710921525955,
0.025679482147097588,
-0.02103169448673725,
0.05929071456193924,
0.027922624722123146,
-0.0564194917678833,
0.04037654399871826,
0.000032367828680435196,
0.0024741848465055227,
0.02426181733608246,
-0.03671573847532272,
-0.039658740162849426,
-0.02881988137960434,
0.0039770896546542645,
-0.04278119280934334,
0.01401514746248722,
-0.0050022052600979805,
-0.05437374860048294,
-0.015172608196735382,
0.013153781183063984,
-0.019183345139026642,
0.05010280758142471,
0.052004989236593246,
0.030165765434503555,
-0.02325689047574997,
-0.027097148820757866,
-0.011269542388617992,
-0.013656244613230228,
0.001104186289012432,
-0.062054261565208435,
-0.012516728602349758,
-0.05003102496266365,
0.031403981149196625,
0.05947016552090645,
-0.002218466717749834,
-0.027689337730407715,
0.009932629764080048,
0.03659012168645859,
0.007074867840856314,
0.00026721422909758985,
0.020475395023822784,
-0.02018827199935913,
0.024405378848314285,
0.03533396124839783,
-0.02553592063486576,
-0.034059859812259674,
-0.013144808821380138,
-0.060008518397808075,
-0.04450392350554466,
-0.06402822583913803,
-0.007963151670992374,
-0.02323894388973713,
0.03815134987235069,
0.05868057906627655,
-0.00864058081060648,
-0.015423839911818504,
-0.018061773851513863,
0.055450454354286194,
0.04242229089140892,
0.02243141457438469,
0.02819180116057396,
-0.07881501317024231,
-0.002492130035534501,
-0.041273802518844604,
0.003934470005333424,
0.04425269365310669,
-0.03772066533565521,
0.01822328008711338,
-0.05595291778445244,
-0.03829491138458252,
0.009457084350287914,
0.03807956725358963,
-0.04059188812971115,
-0.05947016552090645,
-0.011027283035218716,
-0.010426120832562447,
0.006500623654574156,
-0.004925938323140144,
0.022969767451286316,
-0.03807956725358963,
-0.011502829380333424,
-0.008066336624324322,
0.0353877991437912,
0.014840623363852501,
-0.018985949456691742,
-0.03436492756009102,
0.04741103574633598,
0.11858142912387848,
-0.03980230167508125,
-0.06169535964727402,
0.008331026881933212,
0.016213426366448402,
0.07917391508817673,
0.004201403819024563,
0.0035935125779360533,
-0.03414958342909813,
-0.023938804864883423,
0.0007093934691511095,
-0.000918566423933953,
0.012821796350181103,
0.01246289350092411,
-0.0424581803381443,
0.012839741073548794,
-0.026271671056747437,
0.05161019787192345,
-0.027940569445490837,
-0.03414958342909813,
0.030165765434503555,
0.04550885409116745,
-0.000460965558886528,
0.010560709983110428,
0.004647789057344198,
-0.019219234585762024,
0.024800172075629234,
-0.0234901774674654,
0.019291015341877937,
0.009062291122972965,
-0.056921955198049545,
-0.04037654399871826,
0.019237181171774864,
0.028084130957722664,
-0.00004055178942508064,
-0.03768477588891983,
0.02490784227848053,
-0.01934485137462616,
0.052579235285520554,
0.04059188812971115,
-0.020959913730621338,
0.04773404821753502,
-0.007886884734034538,
-0.05742441862821579,
-0.00822784285992384,
0.024405378848314285,
0.03450848534703255,
-0.012821796350181103,
0.022323742508888245,
0.03535190969705582,
-0.11075735092163086,
0.023597847670316696,
-0.060403309762477875,
-0.05789099261164665,
0.05606058984994888,
0.017936158925294876,
0.04884664714336395,
0.007797159254550934,
0.023310724645853043,
-0.002134348964318633,
-0.029591521248221397,
-0.014804732985794544,
-0.04967212304472923,
-0.00911164004355669,
-0.03217561915516853,
-0.018662936985492706,
0.058788251131772995,
-0.017756707966327667,
-0.058178115636110306,
0.004158784169703722,
-0.027671393007040024,
-0.0010621274122968316,
-0.0027747659478336573,
-0.029178783297538757,
-0.02221607230603695,
0.003059644950553775,
0.06733012944459915,
0.024656610563397408,
-0.0021870627533644438,
-0.05315347760915756,
-0.021354705095291138,
-0.015450757928192616,
0.03933572769165039,
0.029770972207188606,
0.06711479276418686,
-0.08161445707082748,
-0.01195145770907402,
0.016949176788330078,
-0.033467669039964676,
0.019183345139026642,
0.018842387944459915,
-0.02078046090900898,
-0.036733683198690414,
0.0320500023663044,
0.04174037650227547,
-0.048487745225429535,
0.0355851948261261,
-0.07224709540605545,
-0.00876619666814804,
-0.06740191578865051,
0.018465539440512657,
-0.041883934289216995,
0.03890504315495491,
-0.09245331585407257,
0.07407750189304352,
0.041668593883514404,
-0.07895857840776443,
0.0027747659478336573,
0.006352576427161694,
0.01275001559406519,
0.03624916449189186,
-0.0018102150643244386,
-0.011655362322926521,
0.03779244422912598,
0.003030484076589346,
-0.028694264590740204,
0.01871677115559578,
0.0255538672208786,
0.04446803405880928,
0.0018876034300774336,
-0.029089057818055153,
-0.07364682108163834,
-0.05860879644751549,
0.024351542815566063,
-0.05742441862821579,
-0.014571445994079113,
-0.0613364577293396,
0.027133038267493248,
-0.019219234585762024,
-0.010551736690104008,
0.06359754502773285,
0.04123791307210922,
0.06313097476959229,
-0.000025375537006766535,
-0.033647119998931885,
-0.017029929906129837,
0.05738852918148041,
-0.008609176613390446,
0.034723829478025436,
-0.031170692294836044,
-0.020439503714442253,
-0.017110683023929596,
0.015773769468069077,
0.03253452107310295,
0.02594866044819355,
0.06219782307744026,
0.01235522236675024,
0.052794575691223145,
-0.014167681336402893,
-0.007465174421668053,
0.05964961647987366,
0.009744206443428993,
0.04425269365310669,
0.021785389631986618,
0.06456658244132996,
0.02408236637711525,
-0.011206733994185925,
0.010408176109194756,
-0.015594318509101868,
-0.054050736129283905,
0.04676501080393791,
0.04877486452460289,
-0.04486282914876938,
-0.027545776218175888,
0.026235781610012054,
0.017783625051379204,
-0.0014423398533836007,
-0.07271367311477661,
-0.050784721970558167,
0.022305797785520554,
0.011161871254444122,
-0.02594866044819355,
-0.036966968327760696,
0.020744571462273598,
0.050712939351797104,
-0.03432903438806534,
-0.04651378095149994,
-0.010686325840651989,
0.022126346826553345,
-0.08226048201322556,
0.057137295603752136,
0.02756372094154358,
0.051574308425188065,
0.005298300180584192,
-0.04593953490257263,
0.013728025369346142,
0.026002494618296623,
-0.026056330651044846,
-0.05171786621212959,
-0.023813188076019287,
0.05164608731865883,
-0.05365594103932381,
0.02158799208700657,
0.0019683565478771925,
-0.016437740996479988,
0.10070807486772537,
0.0010677352547645569,
0.053620051592588425,
-0.040053531527519226,
0.0008249152451753616,
-0.03576464578509331,
-0.045185841619968414,
-0.08003528416156769,
-0.04217105731368065,
-0.010506873950362206,
0.03865381330251694,
0.0061955563724040985,
0.013763915747404099,
-0.04130969196557999,
-0.020959913730621338,
-0.014661172404885292,
0.012498783878982067,
0.021695664152503014,
-0.035710811614990234,
0.022503193467855453,
-0.04576008394360542,
-0.011422076262533665,
0.024172091856598854,
-0.029950423166155815,
0.0038178267423063517,
0.06844273209571838,
0.014912404119968414,
-0.07673338055610657,
0.007698461413383484,
0.008716847747564316,
0.06359754502773285,
0.03454437851905823,
-0.03703875094652176,
0.0308656245470047,
-0.020457450300455093,
0.03143987059593201,
-0.07522598654031754,
-0.021928949281573296,
-0.044970497488975525,
0.028927551582455635,
-0.03274986520409584,
-0.060259751975536346,
-0.006563431583344936,
-0.031996168196201324,
0.011099063791334629,
-0.03601587936282158,
0.0403047651052475,
-0.008761710487306118,
0.012382140383124352,
0.036751627922058105,
0.07045258581638336,
-0.027133038267493248,
0.01686842367053032,
0.0444321446120739,
-0.031242473050951958,
-0.013763915747404099,
0.023185109719634056,
0.0022173451725393534,
0.026271671056747437,
0.0033467670436948538,
0.05211266130208969,
-0.05311758816242218,
-0.015298224054276943,
0.04568830505013466,
0.005302786361426115,
0.03474177420139313,
-0.0041991607286036015,
-0.008550855331122875,
0.059613727033138275,
0.002427079016342759,
0.05376361310482025,
-0.04536529257893562,
0.05860879644751549,
-0.006720451638102531,
0.0028353307861834764,
0.027832897379994392,
0.045580632984638214,
-0.008398321457207203,
0.0058366539888083935,
-0.04385789856314659,
-0.0477699376642704,
0.019901150837540627,
0.018079720437526703,
0.07199586927890778,
-0.05125129595398903,
0.012660290114581585,
0.04486282914876938,
0.010210779495537281,
-0.006406411994248629,
-0.038582030683755875,
-0.010479956865310669,
0.028353307396173477,
-0.013979257084429264,
0.009896739386022091,
-0.027348380535840988,
-0.01409590058028698,
-0.01357549149543047,
-0.01422151643782854,
-0.058178115636110306,
-0.013413985259830952,
0.057926882058382034,
0.030973296612501144,
0.059398382902145386,
-0.002299219835549593,
-0.038761481642723083,
0.014984184876084328,
-0.046011317521333694,
-0.02962741069495678,
-0.025410305708646774,
0.042924754321575165,
0.05089239031076431,
0.0668276697397232,
-0.0019223721465095878,
0.0044212318025529385,
0.039407506585121155,
-0.001318967086263001,
-0.013485766015946865,
-0.010758105665445328,
-0.0564194917678833,
-0.04091490060091019,
-0.054266076534986496,
0.013710079714655876,
-0.024800172075629234,
0.06090577319264412,
0.001036892062984407,
-0.06008029729127884,
0.028676319867372513,
-0.011682280339300632,
-0.0621260441839695,
-0.005441861227154732,
0.055881138890981674,
-0.07967638224363327,
-0.029394125565886497,
0.022090455517172813,
0.047877609729766846,
0.02268264628946781,
0.026684409007430077,
-0.01771184429526329,
0.06069043278694153,
0.016383904963731766,
0.019380740821361542,
-0.04138147085905075,
-0.012292414903640747,
-0.0365721769630909,
-0.017137600108981133,
-0.03294726088643074,
-0.026074275374412537,
0.022987712174654007,
-0.04532939940690994,
-0.03660806640982628,
-0.04073544591665268,
-0.024620719254016876,
-0.009412221610546112,
0.011655362322926521,
-0.06478192657232285,
-0.012041183188557625,
-0.016527466475963593,
-0.020941967144608498,
0.026397287845611572,
-0.07357503473758698,
-0.008936675265431404,
0.026038385927677155,
0.084126777946949,
-0.059829067438840866,
0.03230123594403267,
0.04242229089140892,
-0.010488929226994514,
-0.028371252119541168,
-0.0019201290560886264,
-0.041704483330249786,
-0.008909757249057293,
-0.01243597548455,
0.00022193080803845078,
0.06008029729127884,
0.043140094727277756,
0.08053775131702423,
-0.02309538424015045,
0.03070412017405033,
0.012758987955749035,
-0.07339558750391006,
0.035908207297325134,
-0.025356469675898552,
0.037146423012018204,
0.018627045676112175,
-0.04593953490257263,
-0.011045227758586407,
-0.0021713608875870705,
-0.014356104657053947,
-0.0477699376642704,
-0.025248799473047256,
-0.021785389631986618,
0.009663453325629234,
0.014741925522685051,
0.03458026796579361,
-0.028155909851193428,
-0.049923352897167206,
0.002770279534161091,
0.08549060672521591,
-0.0318526066839695,
0.0234901774674654,
-0.002963189734145999,
-0.05311758816242218,
-0.032211508601903915,
0.033844515681266785,
0.01973964460194111,
0.028712209314107895,
-0.014418913051486015,
-0.055881138890981674,
0.06618164479732513,
-0.03135014325380325,
0.03190644457936287,
-0.028299471363425255,
-0.02390291541814804,
0.05537867546081543,
0.005109875928610563,
0.011475911363959312,
-0.001873023109510541,
-0.03743354231119156,
0.04672912135720253,
-0.016051920130848885,
-0.04676501080393791,
0.031601376831531525,
0.006648670881986618,
0.023310724645853043,
-0.040484216064214706,
-0.012292414903640747,
-0.06420768052339554,
-0.01830403320491314,
0.039228055626153946,
-0.0009953939588740468,
0.006922334432601929,
-0.03583642840385437,
-0.06654054671525955,
-0.004517686553299427,
0.07393393665552139,
0.06614575535058975,
-0.045185841619968414,
-0.008115685544908047,
0.012803850695490837,
-0.001828160253353417,
-0.0119424844160676,
0.002972162328660488,
-0.04400146007537842,
0.04924143850803375,
0.0013481279602274299,
0.008824517950415611,
0.10293327271938324,
0.04389379173517227,
0.004997719079256058,
-0.012785905972123146,
0.019308961927890778,
-0.025015512481331825,
0.02185717038810253,
0.023131273686885834,
0.010112081654369831,
-0.01660821959376335,
0.01544178556650877,
0.0015679558273404837,
0.05049759894609451,
0.012480838224291801,
0.013090972788631916,
-0.0238849688321352,
-0.00876619666814804,
-0.04156092181801796,
-0.012741043232381344,
-0.0008136995602399111,
-0.01460733637213707,
-0.008896298706531525,
-0.03255246952176094,
-0.02637934312224388,
-0.010417148470878601,
-0.0074203116819262505,
0.04920554906129837,
0.015199526213109493,
0.05336881801486015,
-0.0025549379643052816,
0.0028106560930609703,
0.028873715549707413,
0.02038566954433918,
-0.02347223088145256,
-0.00036899675615131855,
0.038007788360118866,
0.03847436234354973,
0.030165765434503555,
0.04421680420637131,
-0.01442788541316986,
-0.06119289621710777,
0.037182312458753586,
0.048667196184396744,
-0.014804732985794544,
-0.005554018076509237,
-0.05846523866057396,
0.04576008394360542,
0.03481355309486389,
0.022377578541636467,
-0.040484216064214706,
0.015549455769360065,
0.00957372784614563,
0.017720816656947136,
-0.011655362322926521,
0.021300870925188065,
0.05329703912138939,
-0.0098787946626544
] |
23,185 | flask.app | make_response | Convert the return value from a view function to an instance of
:attr:`response_class`.
:param rv: the return value from the view function. The view function
must return a response. Returning ``None``, or the view ending
without returning, is not allowed. The following types are allowed
for ``view_rv``:
``str``
A response object is created with the string encoded to UTF-8
as the body.
``bytes``
A response object is created with the bytes as the body.
``dict``
A dictionary that will be jsonify'd before being returned.
``list``
A list that will be jsonify'd before being returned.
``generator`` or ``iterator``
A generator that returns ``str`` or ``bytes`` to be
streamed as the response.
``tuple``
Either ``(body, status, headers)``, ``(body, status)``, or
``(body, headers)``, where ``body`` is any of the other types
allowed here, ``status`` is a string or an integer, and
``headers`` is a dictionary or a list of ``(key, value)``
tuples. If ``body`` is a :attr:`response_class` instance,
``status`` overwrites the exiting value and ``headers`` are
extended.
:attr:`response_class`
The object is returned unchanged.
other :class:`~werkzeug.wrappers.Response` class
The object is coerced to :attr:`response_class`.
:func:`callable`
The function is called as a WSGI application. The result is
used to create a response object.
.. versionchanged:: 2.2
A generator will be converted to a streaming response.
A list will be converted to a JSON response.
.. versionchanged:: 1.1
A dict will be converted to a JSON response.
.. versionchanged:: 0.9
Previously a tuple was interpreted as the arguments for the
response object.
| def make_response(self, rv: ft.ResponseReturnValue) -> Response:
"""Convert the return value from a view function to an instance of
:attr:`response_class`.
:param rv: the return value from the view function. The view function
must return a response. Returning ``None``, or the view ending
without returning, is not allowed. The following types are allowed
for ``view_rv``:
``str``
A response object is created with the string encoded to UTF-8
as the body.
``bytes``
A response object is created with the bytes as the body.
``dict``
A dictionary that will be jsonify'd before being returned.
``list``
A list that will be jsonify'd before being returned.
``generator`` or ``iterator``
A generator that returns ``str`` or ``bytes`` to be
streamed as the response.
``tuple``
Either ``(body, status, headers)``, ``(body, status)``, or
``(body, headers)``, where ``body`` is any of the other types
allowed here, ``status`` is a string or an integer, and
``headers`` is a dictionary or a list of ``(key, value)``
tuples. If ``body`` is a :attr:`response_class` instance,
``status`` overwrites the exiting value and ``headers`` are
extended.
:attr:`response_class`
The object is returned unchanged.
other :class:`~werkzeug.wrappers.Response` class
The object is coerced to :attr:`response_class`.
:func:`callable`
The function is called as a WSGI application. The result is
used to create a response object.
.. versionchanged:: 2.2
A generator will be converted to a streaming response.
A list will be converted to a JSON response.
.. versionchanged:: 1.1
A dict will be converted to a JSON response.
.. versionchanged:: 0.9
Previously a tuple was interpreted as the arguments for the
response object.
"""
status = headers = None
# unpack tuple returns
if isinstance(rv, tuple):
len_rv = len(rv)
# a 3-tuple is unpacked directly
if len_rv == 3:
rv, status, headers = rv # type: ignore[misc]
# decide if a 2-tuple has status or headers
elif len_rv == 2:
if isinstance(rv[1], (Headers, dict, tuple, list)):
rv, headers = rv
else:
rv, status = rv # type: ignore[assignment,misc]
# other sized tuples are not allowed
else:
raise TypeError(
"The view function did not return a valid response tuple."
" The tuple must have the form (body, status, headers),"
" (body, status), or (body, headers)."
)
# the body must not be None
if rv is None:
raise TypeError(
f"The view function for {request.endpoint!r} did not"
" return a valid response. The function either returned"
" None or ended without a return statement."
)
# make sure the body is an instance of the response class
if not isinstance(rv, self.response_class):
if isinstance(rv, (str, bytes, bytearray)) or isinstance(rv, _abc_Iterator):
# let the response class set the status and headers instead of
# waiting to do it manually, so that the class can handle any
# special logic
rv = self.response_class(
rv,
status=status,
headers=headers, # type: ignore[arg-type]
)
status = headers = None
elif isinstance(rv, (dict, list)):
rv = self.json.response(rv)
elif isinstance(rv, BaseResponse) or callable(rv):
# evaluate a WSGI callable, or coerce a different response
# class to the correct type
try:
rv = self.response_class.force_type(
rv, request.environ # type: ignore[arg-type]
)
except TypeError as e:
raise TypeError(
f"{e}\nThe view function did not return a valid"
" response. The return type must be a string,"
" dict, list, tuple with headers or status,"
" Response instance, or WSGI callable, but it"
f" was a {type(rv).__name__}."
).with_traceback(sys.exc_info()[2]) from None
else:
raise TypeError(
"The view function did not return a valid"
" response. The return type must be a string,"
" dict, list, tuple with headers or status,"
" Response instance, or WSGI callable, but it was a"
f" {type(rv).__name__}."
)
rv = t.cast(Response, rv)
# prefer the status if it was provided
if status is not None:
if isinstance(status, (str, bytes, bytearray)):
rv.status = status
else:
rv.status_code = status
# extend existing headers with provided headers
if headers:
rv.headers.update(headers) # type: ignore[arg-type]
return rv
| (self, rv: 'ft.ResponseReturnValue') -> 'Response' | [
0.016884054988622665,
-0.07362128049135208,
-0.02343951165676117,
-0.052243489772081375,
0.024540428072214127,
0.015883222222328186,
-0.038371942937374115,
0.08847364783287048,
-0.005009169690310955,
-0.010979139246046543,
0.09023511409759521,
0.038592126220464706,
0.06797658652067184,
0.022138427942991257,
0.03466885909438133,
0.035509560257196426,
0.03925267606973648,
-0.005009169690310955,
0.02710256166756153,
-0.04731938987970352,
0.04820012301206589,
-0.0020204319152981043,
0.012980805709958076,
0.04791988804936409,
-0.02756294421851635,
-0.025901561602950096,
0.005404498893767595,
-0.021017495542764664,
0.0506821908056736,
0.012890730984508991,
-0.010959122329950333,
-0.054285187274217606,
0.017024170607328415,
0.033347759395837784,
0.01627354696393013,
0.06157125160098076,
-0.030565442517399788,
0.01523268036544323,
-0.03518929332494736,
0.004266051109880209,
-0.04599829018115997,
-0.013431180268526077,
-0.034208476543426514,
-0.0002725706435739994,
0.011689730919897556,
0.013501239009201527,
-0.019025838002562523,
0.0349891260266304,
-0.04007335752248764,
0.009753118269145489,
0.03434859216213226,
-0.009487898088991642,
0.0025821493472903967,
-0.014802321791648865,
0.007571302354335785,
0.016653863713145256,
-0.035969942808151245,
0.08967464417219162,
-0.04031355679035187,
-0.006150119472295046,
-0.035609643906354904,
0.07286065071821213,
-0.002934943186119199,
-0.020597144961357117,
0.03294742479920387,
0.0699782520532608,
-0.022478710860013962,
-0.005484565626829863,
0.0006618009065277874,
0.00013777092681266367,
-0.001582567347213626,
0.035609643906354904,
-0.022839011624455452,
0.02057712897658348,
0.0826287791132927,
0.004743949044495821,
-0.03064551018178463,
-0.026502061635255814,
0.02225852757692337,
-0.007696406450122595,
0.047839824110269547,
-0.008266881108283997,
0.004065884742885828,
-0.04864048957824707,
0.031165942549705505,
-0.003775642951950431,
-0.02742282673716545,
-0.04053374007344246,
-0.04547785595059395,
0.06037025526165962,
-0.06105082109570503,
-0.035569608211517334,
-0.03332774341106415,
-0.019846521317958832,
-0.044356923550367355,
-0.04755958914756775,
0.007396156899631023,
-0.03394825756549835,
0.04171472415328026,
-0.007246031891554594,
-0.0026997472159564495,
0.056647155433893204,
-0.055686354637145996,
0.0504019558429718,
0.004698911681771278,
0.0015250194119289517,
-0.018425337970256805,
-0.011769797652959824,
0.04203499108552933,
0.0016351110534742475,
-0.046438656747341156,
0.006430352572351694,
-0.020797312259674072,
0.04057377576828003,
-0.036510393023490906,
0.006545448675751686,
0.00589490681886673,
-0.007896573282778263,
-0.05964965373277664,
-0.005354457069188356,
0.04219512268900871,
-0.02239864505827427,
-0.0005570261855609715,
0.004553790669888258,
0.013541271910071373,
0.02498079463839531,
0.004278561566025019,
-0.024180127307772636,
0.029024159535765648,
0.04115425795316696,
-0.00288490136153996,
0.018465371802449226,
-0.0373510904610157,
0.016583804041147232,
0.007941611111164093,
0.059369418770074844,
-0.09319757670164108,
0.027002478018403053,
-0.02738279476761818,
0.028683876618742943,
-0.0015087559586390853,
0.051162589341402054,
0.01867554523050785,
-0.006680561229586601,
-0.013771464116871357,
-0.03598995879292488,
0.003923265729099512,
-0.007591319270431995,
-0.019916579127311707,
0.03558962419629097,
-0.028623826801776886,
-0.034788958728313446,
0.056006621569395065,
0.029704727232456207,
-0.06725598871707916,
0.0014186808839440346,
0.021277712658047676,
-0.028043344616889954,
0.039512891322374344,
-0.034208476543426514,
0.0006711836904287338,
-0.053604621440172195,
0.034168440848588943,
-0.036970775574445724,
0.045397788286209106,
-0.015623005107045174,
0.04039362445473671,
0.004018344916403294,
0.01858547143638134,
-0.007431185804307461,
-0.03240697458386421,
0.0034078366588801146,
-0.025601310655474663,
-0.03490905836224556,
-0.007801494095474482,
0.038732241839170456,
0.0681767538189888,
-0.008802327327430248,
-0.017934929579496384,
-0.0042610471136868,
0.06837692111730576,
-0.06849701702594757,
-0.060130052268505096,
0.042275190353393555,
0.015703070908784866,
0.06349284946918488,
0.007040861062705517,
0.042595457285642624,
0.015132596716284752,
0.05264382064342499,
0.0001247131876880303,
-0.0007256040116772056,
0.060090020298957825,
-0.036150090396404266,
-0.03114592656493187,
0.010298572480678558,
-0.00924769788980484,
0.003537944983690977,
0.06209168583154678,
-0.04936109110713005,
-0.04115425795316696,
-0.020336929708719254,
0.023599645122885704,
0.024820661172270775,
-0.02502082847058773,
0.036330241709947586,
0.010458705946803093,
-0.024860695004463196,
-0.02420014515519142,
-0.061491187661886215,
-0.027723077684640884,
-0.014852363616228104,
-0.042675524950027466,
0.011079222895205021,
-0.005184315610677004,
-0.02634192816913128,
0.006075057201087475,
-0.03562965989112854,
0.013040855526924133,
-0.029024159535765648,
0.03749120980501175,
0.007666381541639566,
-0.05824848636984825,
-0.0011246862122789025,
0.03789154067635536,
0.0010108414571732283,
-0.0441567562520504,
-0.0001115772538469173,
-0.0000096564754130668,
-0.0014449527952820063,
-0.042675524950027466,
0.011049197986721992,
0.045077525079250336,
-0.02121766284108162,
-0.002513342071324587,
-0.037110891193151474,
0.0467989556491375,
0.015222671441733837,
-0.034108392894268036,
0.0013261039275676012,
0.062131721526384354,
0.01723434589803219,
0.027142593637108803,
0.0509624220430851,
-0.03272724151611328,
0.002849872224032879,
-0.03366802632808685,
0.04936109110713005,
-0.06417342275381088,
-0.021878212690353394,
-0.034388624131679535,
-0.036510393023490906,
0.03789154067635536,
-0.05056208744645119,
0.04659878835082054,
0.009893235750496387,
0.0012178887845948339,
-0.0554061196744442,
0.004098411649465561,
0.01258047204464674,
0.07878558337688446,
0.026001645252108574,
0.02071724459528923,
0.0042685531079769135,
-0.028743926435709,
-0.023719744756817818,
0.0010045862291008234,
-0.019205987453460693,
-0.021978294476866722,
0.03522932529449463,
0.09031517803668976,
0.03168637678027153,
-0.025140928104519844,
0.0008238107548095286,
-0.045397788286209106,
-0.0076563735492527485,
0.023519577458500862,
-0.04631855711340904,
-0.03767135739326477,
0.0035779783502221107,
-0.031666360795497894,
-0.08246865123510361,
0.028003310784697533,
0.019926587119698524,
0.05144282057881355,
-0.009738106280565262,
0.010438689030706882,
0.05064215511083603,
0.02452041208744049,
-0.039052508771419525,
0.07598324865102768,
-0.026642177253961563,
0.01886570453643799,
-0.0014324423391371965,
-0.011449530720710754,
0.021057529374957085,
-0.11089231073856354,
-0.0073461150750517845,
0.022598812356591225,
-0.046438656747341156,
-0.013661372475326061,
0.003963299095630646,
0.06565465033054352,
0.026962444186210632,
0.026982460170984268,
-0.01387154683470726,
0.01989656314253807,
-0.0012504159240052104,
0.0034628824796527624,
0.02484067715704441,
0.011129263788461685,
0.019025838002562523,
-0.017354445531964302,
-0.041994959115982056,
-0.012710580602288246,
0.041914891451597214,
0.035289376974105835,
0.006130103021860123,
0.03544950857758522,
0.03809170797467232,
-0.031986627727746964,
-0.016563788056373596,
0.02552124485373497,
0.03250705823302269,
0.050882354378700256,
0.005239361431449652,
-0.00041941163362935185,
0.004899078048765659,
0.03350789099931717,
0.017924921587109566,
-0.03450872749090195,
-0.03789154067635536,
-0.03713090717792511,
-0.012780639342963696,
0.015332763083279133,
-0.02239864505827427,
0.029584627598524094,
0.008907414972782135,
0.012660538777709007,
-0.010718923062086105,
0.004641363397240639,
-0.02964467741549015,
-0.02021682821214199,
0.036290209740400314,
0.0004810254031326622,
0.0063853152096271515,
0.006855706684291363,
-0.011569630354642868,
0.06605498492717743,
-0.04731938987970352,
-0.06853704899549484,
-0.03759129345417023,
0.031025826930999756,
0.04275558888912201,
-0.017204321920871735,
-0.04735942184925079,
-0.03773140907287598,
-0.03558962419629097,
-0.007491236086934805,
0.016753945499658585,
-0.017564620822668076,
0.03925267606973648,
-0.03482899069786072,
0.014702238142490387,
-0.030445342883467674,
-0.025601310655474663,
-0.026181794703006744,
-0.03989320620894432,
0.004996659234166145,
0.007721427362412214,
0.0011153033701702952,
-0.010488730855286121,
-0.052603788673877716,
-0.006125098560005426,
0.019786471500992775,
0.00476146349683404,
-0.04763965681195259,
0.0231192447245121,
-0.06453371793031693,
0.03382815793156624,
0.029884876683354378,
-0.028323577716946602,
-0.01741449534893036,
-0.01187988929450512,
0.07394155114889145,
-0.02742282673716545,
0.036110058426856995,
-0.010819005779922009,
-0.059409454464912415,
0.021838178858160973,
0.006740611046552658,
-0.012430347502231598,
-0.015843188390135765,
0.0069607943296432495,
0.008767298422753811,
-0.04171472415328026,
-0.056366920471191406,
0.04111422598361969,
0.013321088626980782,
-0.017424505203962326,
0.06593488901853561,
0.035649675875902176,
0.0220783781260252,
0.04175475612282753,
-0.03743115812540054,
0.03468887507915497,
0.04715925455093384,
0.01613342948257923,
-0.033247675746679306,
0.008151785470545292,
0.025401145219802856,
-0.03713090717792511,
-0.05228352174162865,
-0.04719929024577141,
-0.0018928255885839462,
0.11105244606733322,
0.014762288890779018,
0.05992988869547844,
0.010668881237506866,
-0.01613342948257923,
0.04411672428250313,
0.028763944283127785,
0.08002661913633347,
0.030585460364818573,
0.012440355494618416,
0.04057377576828003,
-0.00720599852502346,
0.008316922932863235,
0.005634690634906292,
0.0041659679263830185,
0.07278058677911758,
-0.07930601388216019,
-0.0681767538189888,
-0.05932938680052757,
0.05544615536928177,
-0.002103000646457076,
-0.0210375115275383,
-0.03777144104242325,
-0.00668556522578001,
0.034208476543426514,
0.011979972012341022,
0.05624682083725929,
0.015933264046907425,
-0.0021117578726261854,
0.05516592040657997,
-0.018605487421154976,
-0.06937775015830994,
-0.04751955717802048,
0.02796327695250511,
-0.07434188574552536,
0.04255542531609535,
0.038512058556079865,
0.022098395973443985,
0.036290209740400314,
0.001281066332012415,
-0.035609643906354904,
-0.035429492592811584,
-0.021517911925911903,
-0.04904082417488098,
0.024460362270474434,
0.03294742479920387,
-0.039512891322374344,
0.012860705144703388,
-0.024280210956931114,
-0.038592126220464706,
0.051242657005786896,
0.026822326704859734,
-0.02383984439074993,
-0.0444369912147522,
-0.02293909527361393,
-0.00956796482205391,
-0.04183482378721237,
-0.007521260995417833,
-0.0021880713757127523,
0.005904915276914835,
0.04619845747947693,
0.018105071038007736,
-0.03486902639269829,
-0.04103415831923485,
-0.008712252601981163,
0.0027547930367290974,
0.07181978225708008,
0.024060027673840523,
0.0004328603099565953,
-0.018195146694779396,
-0.011939939111471176,
0.0420750230550766,
0.01587321236729622,
-0.020697228610515594,
-0.0027447848115116358,
0.009602993726730347,
0.04243532568216324,
-0.023499561473727226,
-0.031666360795497894,
-0.0812276154756546,
0.0054145073518157005,
-0.008557123132050037,
-0.04343615844845772,
-0.03609004244208336,
-0.061090853065252304,
0.039552923291921616,
-0.09591984748840332,
0.04992155730724335,
0.005021680146455765,
0.03520930930972099,
-0.044997457414865494,
-0.026442011818289757,
0.006930769421160221,
-0.054965753108263016,
-0.025461195036768913,
-0.06269218772649765,
0.04351622238755226,
-0.02143784612417221,
-0.015352779999375343,
-0.026862360537052155,
0.04787985607981682,
-0.027322744950652122,
0.004606334492564201,
-0.019115911796689034,
-0.01777479611337185,
0.01809506304562092,
0.05144282057881355,
0.042955756187438965,
0.031806476414203644,
-0.017644688487052917,
0.019846521317958832,
0.03190656006336212,
-0.006055040284991264,
0.06573472172021866,
-0.00658548204228282,
-0.025901561602950096,
-0.023519577458500862,
-0.0243002288043499,
-0.03653040900826454,
0.0435962900519371,
-0.006790652871131897,
-0.11545611172914505,
-0.005564631894230843,
0.02365969493985176,
0.022959111258387566,
0.0272827111184597,
0.052603788673877716,
-0.07105915248394012,
-0.006285232026129961,
-0.07210002094507217,
-0.055326055735349655,
0.003235192969441414,
-0.020957445725798607,
0.003587986808270216,
-0.021557945758104324,
-0.08423011749982834,
-0.06153121963143349,
0.07662378251552582,
0.027723077684640884,
-0.06313255429267883,
0.04824015498161316,
0.006900744512677193,
0.02315927855670452,
0.030945759266614914,
-0.03693074360489845,
-0.0024557942524552345,
0.0329073928296566,
-0.05764798820018768,
-0.01726437173783779,
-0.030125075951218605,
0.08687231689691544,
0.07181978225708008,
0.02049706131219864,
-0.007996656931936741,
-0.05336442217230797,
0.014862371608614922,
0.04183482378721237,
-0.021237678825855255,
0.023059194907546043,
0.049441155046224594,
0.025100894272327423,
0.0663752555847168,
-0.005009169690310955,
0.06853704899549484,
0.020737262442708015,
-0.0027472868096083403,
-0.01985652931034565,
-0.01804502122104168,
-0.05284398794174194,
-0.0317264087498188,
-0.032026659697294235,
-0.014732263050973415,
0.030545426532626152,
0.018395312130451202,
-0.007216006983071566,
-0.02638196013867855,
0.00929273571819067,
-0.018425337970256805,
-0.04115425795316696,
0.03296744450926781,
0.036650508642196655,
-0.04723932221531868,
0.008932435885071754,
-0.027082543820142746,
0.005049203056842089,
0.016653863713145256,
0.051883187144994736,
-0.01731441356241703,
-0.03895242512226105,
0.03176644444465637,
-0.025641344487667084,
-0.01931607909500599,
0.026502061635255814,
-0.03294742479920387,
-0.004743949044495821,
0.005559627898037434,
-0.00683569023385644,
0.0390925407409668,
-0.02932441048324108,
-0.018285220488905907,
-0.050882354378700256,
-0.04940112307667732,
0.0660950168967247,
-0.04383648931980133,
-0.007165965158492327,
0.018215162679553032,
-0.028944093734025955,
-0.017934929579496384,
0.07181978225708008,
-0.029744761064648628,
0.018195146694779396,
0.06953788548707962,
0.007811502553522587,
-0.01283068023622036,
-0.06281228363513947,
0.011869880370795727,
0.03773140907287598,
0.023719744756817818,
-0.05300412327051163,
0.031306058168411255,
0.003120097331702709,
0.006470385938882828,
0.018065037205815315,
0.04659878835082054,
0.014832346700131893,
0.03032524324953556,
-0.04071389138698578,
-0.010738939046859741,
0.01727437973022461,
-0.006015006918460131,
-0.000017280010069953278,
0.008562127128243446,
0.008937439881265163,
0.04928102344274521,
-0.02634192816913128,
-0.017204321920871735,
0.06225182116031647,
-0.03849204257130623,
-0.028163444250822067,
-0.07378141582012177,
0.05952955409884453,
0.013711413368582726,
-0.03344784304499626,
0.009778139181435108,
0.04896075651049614,
-0.015052529983222485,
-0.045357756316661835,
0.04527768865227699,
-0.06697575002908707,
0.0590091198682785,
0.021237678825855255,
-0.00797664001584053,
-0.001570057007484138,
0.01640365459024906,
-0.040453676134347916,
0.03490905836224556,
0.025140928104519844,
-0.0022443681955337524,
0.0014887392753735185,
-0.0459582582116127,
-0.036650508642196655,
-0.025140928104519844,
0.00654044421389699,
0.02982482686638832,
0.0031326075550168753,
-0.026121744886040688,
0.06053038686513901,
-0.0741417184472084,
0.0174945630133152,
-0.02383984439074993,
-0.06725598871707916,
-0.011989980936050415,
0.00693577341735363,
-0.0005792321753688157,
-0.09896238148212433,
0.023679710924625397,
-0.05488568916916847,
-0.03236694261431694,
0.010188480839133263,
-0.07702411711215973,
0.01265053078532219,
-0.05408501997590065,
-0.08551117777824402,
-0.011799822561442852,
0.07958625257015228,
0.029684709385037422,
-0.06133105233311653,
-0.009913251735270023,
0.03831189125776291,
-0.0011034185299649835,
-0.01677396334707737,
-0.00952292699366808,
-0.04017344117164612,
-0.009167631156742573,
-0.035929907113313675,
-0.012220172211527824,
0.02466052770614624,
0.07314088195562363,
-0.03731105849146843,
-0.019386136904358864,
-0.02339947782456875,
0.024740595370531082,
0.057688020169734955,
0.034248508512973785,
0.00461133848875761,
-0.0272827111184597,
-0.009602993726730347,
0.059689685702323914,
0.039512891322374344,
0.013541271910071373,
-0.016073379665613174,
0.020737262442708015,
0.022238511592149734,
-0.018395312130451202,
-0.005679727997630835,
0.017074212431907654,
0.017034180462360382,
-0.06105082109570503,
-0.038652174174785614,
-0.029804810881614685,
-0.05216342210769653,
-0.006815673317760229,
0.007130935788154602,
-0.019846521317958832,
0.013611330650746822,
0.015663038939237595,
-0.01672392152249813,
-0.009888230822980404,
-0.05004165694117546,
0.004048369824886322,
-0.0174945630133152,
0.06649535149335861,
-0.0032902387902140617,
-0.0013048361288383603,
0.03530939295887947,
0.05476558953523636,
-0.0044862343929708,
-0.002817345317453146,
0.0390925407409668,
0.04619845747947693,
0.007836523465812206,
0.02031691186130047,
0.008316922932863235,
0.001969139091670513,
0.0004969761939719319,
-0.015582971274852753,
0.05416508764028549,
-0.002193075604736805,
-0.004403665661811829,
0.031486209481954575,
0.04908085614442825,
0.011029181070625782,
0.029164277017116547
] |
23,186 | flask.app | make_shell_context | Returns the shell context for an interactive shell for this
application. This runs all the registered shell context
processors.
.. versionadded:: 0.11
| def make_shell_context(self) -> dict:
"""Returns the shell context for an interactive shell for this
application. This runs all the registered shell context
processors.
.. versionadded:: 0.11
"""
rv = {"app": self, "g": g}
for processor in self.shell_context_processors:
rv.update(processor())
return rv
| (self) -> dict | [
0.021461231634020805,
-0.07989319413900375,
-0.0021093625109642744,
-0.06347343325614929,
0.08997612446546555,
0.04757881537079811,
0.03662063181400299,
0.011413313448429108,
0.030773935839533806,
-0.006826982367783785,
0.014205374754965305,
-0.008708778768777847,
-0.011273273266851902,
0.03613049164414406,
-0.020901069045066833,
-0.057871803641319275,
0.007807266898453236,
-0.019290601834654808,
0.04558323696255684,
-0.06056758761405945,
0.05612129345536232,
-0.026747766882181168,
0.033574748784303665,
-0.069530189037323,
-0.006993280723690987,
0.033854831010103226,
0.0035185215529054403,
0.019798249006271362,
0.023491820320487022,
-0.01950066164135933,
-0.019693218171596527,
-0.033714789897203445,
0.004721995908766985,
-0.03481760993599892,
0.0020787285175174475,
-0.019728228449821472,
-0.06294827908277512,
0.02485721744596958,
-0.013478913344442844,
-0.02293165773153305,
-0.011868446134030819,
-0.004870789125561714,
-0.03620051220059395,
0.0052296435460448265,
-0.013697727583348751,
-0.02034090645611286,
0.01806524582207203,
-0.016192201524972916,
0.08164370805025101,
0.020901069045066833,
-0.003735146950930357,
-0.08549482375383377,
-0.016069665551185608,
0.050134558230638504,
-0.05440579727292061,
0.009846609085798264,
-0.01468676421791315,
-0.01118574757128954,
-0.03366227447986603,
0.03142162412405014,
-0.03676067292690277,
0.03086146153509617,
0.016787374392151833,
0.015045618638396263,
0.025014763697981834,
-0.011360798962414265,
-0.025032268837094307,
0.03290955349802971,
-0.023421799764037132,
-0.016034655272960663,
-0.03107152134180069,
-0.051569972187280655,
0.009505259804427624,
-0.015430730767548084,
-0.002717663999646902,
-0.02093607932329178,
-0.03994659706950188,
-0.008507470600306988,
0.04537317529320717,
0.008489965461194515,
0.004367518238723278,
0.009592785499989986,
-0.04341260343790054,
0.06967023015022278,
0.012743700295686722,
0.06291326880455017,
0.012647422030568123,
0.030353812500834465,
-0.010039164684712887,
-0.01012669038027525,
0.01283997856080532,
0.06935513764619827,
-0.0022253335919231176,
0.06357845664024353,
0.0063893552869558334,
-0.016095923259854317,
-0.027202898636460304,
0.06263318657875061,
0.008030456490814686,
-0.002426641993224621,
-0.015404473058879375,
0.0516049824655056,
-0.01512439176440239,
-0.024279549717903137,
0.005137741565704346,
0.00851622223854065,
0.028918396681547165,
0.03345221281051636,
0.018730439245700836,
-0.011675890535116196,
-0.01599089242517948,
0.018170276656746864,
-0.015386967919766903,
-0.011579612269997597,
-0.0061836703680455685,
-0.007076429668813944,
-0.0074134026654064655,
0.03613049164414406,
0.07117566466331482,
-0.015273184515535831,
-0.10699106752872467,
0.02928600274026394,
0.054790910333395004,
-0.012349835596978664,
0.008761294186115265,
0.09291698038578033,
-0.006568782031536102,
-0.03334718197584152,
0.013400141149759293,
-0.0027636149898171425,
0.03126407787203789,
-0.004260299261659384,
-0.00010906487295869738,
-0.06427866220474243,
0.018782952800393105,
-0.048559099435806274,
-0.002371938666328788,
0.021933868527412415,
0.04498806223273277,
0.0888558030128479,
-0.03935142606496811,
-0.02251153625547886,
-0.06918008625507355,
0.044322870671749115,
-0.045478206127882004,
-0.048629119992256165,
0.03581539914011955,
0.07520183175802231,
0.03252444416284561,
0.030651399865746498,
0.052060116082429886,
0.08626504987478256,
0.08122358471155167,
0.02860330417752266,
0.006940765306353569,
0.062318094074726105,
-0.00845495518296957,
-0.01667359098792076,
0.015019360929727554,
-0.015894614160060883,
0.015430730767548084,
-0.03066890500485897,
-0.01693616807460785,
-0.011745910160243511,
-0.008424321189522743,
0.016734858974814415,
0.028970912098884583,
-0.02389443852007389,
0.02853328548371792,
0.01276995800435543,
0.01071311067789793,
-0.06021748483181,
-0.024104498326778412,
-0.038231100887060165,
0.013522676192224026,
0.05262027680873871,
-0.01164088025689125,
0.002295353915542364,
0.013671469874680042,
0.0422922782599926,
-0.02053346112370491,
-0.024734681472182274,
-0.06256316602230072,
0.02627512812614441,
0.013881530612707138,
-0.02170630171895027,
0.07541189342737198,
0.022756608203053474,
0.04292246326804161,
0.010380513966083527,
-0.06739456951618195,
-0.002936477540060878,
0.019465651363134384,
-0.012201042845845222,
-0.050274595618247986,
0.017268763855099678,
-0.0691450759768486,
-0.011474581435322762,
-0.06946016848087311,
0.013321368023753166,
-0.07254106551408768,
0.007956059649586678,
0.019518166780471802,
-0.01311130728572607,
0.021671291440725327,
0.011632127687335014,
-0.042607370764017105,
0.004054614808410406,
0.00006195158493937925,
-0.04033171012997627,
-0.03520272299647331,
-0.04414781928062439,
0.00006513121479656547,
0.029723631218075752,
0.03935142606496811,
-0.00029840695788152516,
0.04400777816772461,
-0.008341171778738499,
-0.025417380034923553,
-0.03571036830544472,
-0.03697073459625244,
-0.005360931623727083,
-0.015815842896699905,
-0.028218192979693413,
-0.022161435335874557,
-0.03739085793495178,
0.011457076296210289,
-0.05675147846341133,
-0.034677568823099136,
-0.0029583589639514685,
0.0254523903131485,
-0.042817432433366776,
0.013636459596455097,
0.011238262988626957,
-0.05244522914290428,
-0.02764052525162697,
0.016568560153245926,
0.018467862159013748,
-0.006323711015284061,
0.0134439030662179,
0.02464715577661991,
0.04785889759659767,
0.05538608133792877,
-0.005986738484352827,
0.0022800369188189507,
0.012498629279434681,
0.02321173995733261,
-0.007435283623635769,
0.02170630171895027,
-0.0010951617732644081,
0.01799522526562214,
-0.04778887704014778,
-0.0015874921809881926,
-0.016927415505051613,
-0.07219096273183823,
0.01317257434129715,
-0.038336131721735,
0.03984156623482704,
-0.01718999072909355,
-0.03520272299647331,
0.02396445721387863,
0.07758252322673798,
-0.05069471895694733,
0.058957118541002274,
-0.00845495518296957,
0.0007685825112275779,
-0.00026421734946779907,
0.009260188788175583,
-0.04978445544838905,
-0.009277693927288055,
0.046983640640974045,
0.09158658981323242,
-0.029933691024780273,
-0.0009288634755648673,
-0.03609548136591911,
0.003260321682319045,
-0.024909732863307,
0.024892227724194527,
-0.059167180210351944,
-0.06343842297792435,
0.03290955349802971,
0.008144239895045757,
-0.011833435855805874,
0.004577578976750374,
-0.004328131675720215,
-0.02730792947113514,
0.009951639920473099,
-0.02196887880563736,
0.012866235338151455,
-0.04617840796709061,
-0.01010043267160654,
0.03914136439561844,
-0.001937593799084425,
0.010336751118302345,
0.0491192601621151,
0.05146494135260582,
-0.08997612446546555,
-0.014021570794284344,
-0.020620986819267273,
0.0004893217701464891,
0.06235310435295105,
0.023386789485812187,
-0.04463795945048332,
0.05482592061161995,
-0.045338165014982224,
0.0512198731303215,
0.028043141588568687,
0.0009075291454792023,
-0.042397309094667435,
-0.031054016202688217,
0.01700618863105774,
0.0022997302003204823,
0.07569197565317154,
0.006883873604238033,
-0.10797134786844254,
-0.012201042845845222,
0.024104498326778412,
-0.01992078311741352,
0.01471302192658186,
0.057241618633270264,
-0.047053661197423935,
0.017181238159537315,
0.01488807238638401,
0.019588187336921692,
0.05878206714987755,
0.045408185571432114,
0.03133409842848778,
-0.029601095244288445,
0.02538236975669861,
0.018117761239409447,
-0.056296344846487045,
0.06172292307019234,
-0.004822650458663702,
0.016761116683483124,
-0.01010043267160654,
0.015325699932873249,
0.01159711740911007,
0.040891874581575394,
-0.05202510580420494,
-0.0995689108967781,
0.02573247067630291,
0.014993103221058846,
-0.02827070839703083,
-0.02020086534321308,
-0.02469967119395733,
-0.03304959461092949,
0.009706567972898483,
-0.009881619364023209,
-0.024384580552577972,
-0.16006647050380707,
-0.011859693564474583,
-0.0012275439221411943,
0.003978029824793339,
-0.003634492866694927,
0.014966845512390137,
-0.030721420422196388,
-0.04068181291222572,
0.01606091298162937,
-0.006428741384297609,
0.014940587803721428,
0.0533905029296875,
0.04047175124287605,
-0.010625584982335567,
0.02539987489581108,
-0.048909202218055725,
-0.004700114484876394,
0.03956148773431778,
0.019798249006271362,
0.0038686231710016727,
-0.04061179235577583,
0.02860330417752266,
0.020008308812975883,
0.03478259965777397,
0.02394695393741131,
-0.016428520902991295,
-0.01269993744790554,
-0.034520022571086884,
-0.040961895138025284,
-0.05594624578952789,
0.08262398838996887,
0.04558323696255684,
0.052270177751779556,
0.058151885867118835,
-0.02566245198249817,
-0.023771902546286583,
-0.04866413027048111,
-0.04435788094997406,
0.024962248280644417,
0.0055884975008666515,
-0.019063035026192665,
-0.07828272879123688,
-0.015203163959085941,
-0.032401908189058304,
0.06833983957767487,
0.04530315473675728,
-0.05776677280664444,
-0.01324259489774704,
0.02018336020410061,
-0.02394695393741131,
0.005203385837376118,
0.06536398082971573,
-0.007050171960145235,
0.08577490597963333,
-0.08479461818933487,
0.04057678207755089,
-0.0516049824655056,
0.011763415299355984,
0.013907788321375847,
0.028935901820659637,
-0.026712756603956223,
-0.041311994194984436,
-0.03273450583219528,
-0.0304588433355093,
-0.023491820320487022,
-0.029601095244288445,
-0.07075554132461548,
0.016498539596796036,
0.057941824197769165,
0.0098553616553545,
0.017181238159537315,
-0.004164021462202072,
0.013723984360694885,
-0.0017559785628691316,
0.02963610552251339,
-0.011343293823301792,
0.053635574877262115,
-0.03481760993599892,
-0.004905799403786659,
-0.005641012918204069,
-0.026992836967110634,
-0.026310138404369354,
-0.007037043105810881,
0.0006504232296720147,
0.0017122159479185939,
-0.020410927012562752,
-0.04351763427257538,
0.03704075515270233,
-0.020638491958379745,
-0.001659700646996498,
0.06714949756860733,
-0.010739368386566639,
-0.02422703430056572,
0.047263722866773605,
0.04792891442775726,
0.018975509330630302,
0.01855538785457611,
-0.029531074687838554,
0.01782892644405365,
-0.017540093511343002,
0.014187869615852833,
0.05797683447599411,
-0.006953894160687923,
0.03879126161336899,
-0.007400273811072111,
0.020568471401929855,
0.015203163959085941,
-0.03464255854487419,
0.015632038936018944,
-0.04960940405726433,
0.053495533764362335,
0.016428520902991295,
-0.016621075570583344,
-0.021986383944749832,
0.01444169320166111,
-0.01509813405573368,
-0.010047917254269123,
-0.007851029746234417,
0.027693040668964386,
-0.06424365192651749,
0.016901157796382904,
-0.009120147675275803,
0.0584319643676281,
0.00416839774698019,
-0.036865703761577606,
-0.02422703430056572,
0.04330757260322571,
0.010625584982335567,
-0.036795683205127716,
-0.022634072229266167,
-0.02669525146484375,
-0.03380231559276581,
-0.006323711015284061,
-0.036305543035268784,
0.045618243515491486,
-0.06476880609989166,
0.00899761263281107,
0.05405569449067116,
-0.03718079626560211,
0.028988417237997055,
-0.009942887350916862,
0.004028357099741697,
0.020410927012562752,
-0.042187247425317764,
0.007282114587724209,
0.015763327479362488,
0.019465651363134384,
0.05906214937567711,
-0.004638846963644028,
0.03949146717786789,
-0.015842100605368614,
-0.02053346112370491,
0.03126407787203789,
0.009846609085798264,
0.05619131401181221,
0.02963610552251339,
0.0014791794819757342,
-0.035482801496982574,
-0.003940831869840622,
-0.04040173068642616,
0.020971089601516724,
-0.0024550878442823887,
-0.03861621394753456,
0.03921138495206833,
-0.07583201676607132,
-0.01909804530441761,
-0.05549111217260361,
-0.028148172423243523,
0.00958403293043375,
0.0030502607114613056,
0.0338723361492157,
0.009479002095758915,
-0.008284280076622963,
0.010853150859475136,
-0.016524797305464745,
-0.006818229798227549,
0.03690071403980255,
0.038511183112859726,
0.027745556086301804,
-0.004107130225747824,
0.04183714836835861,
-0.009505259804427624,
-0.005680399481207132,
-0.012752452865242958,
0.033714789897203445,
-0.02758800983428955,
0.01348766591399908,
-0.020691007375717163,
-0.03422243520617485,
0.026677746325731277,
-0.0047745113261044025,
0.022266464307904243,
-0.004010851960629225,
0.011273273266851902,
0.05864202603697777,
0.005102731753140688,
-0.014406682923436165,
0.04040173068642616,
-0.03623552247881889,
-0.0458633154630661,
-0.04750879481434822,
-0.013680222444236279,
-0.034537527710199356,
-0.03662063181400299,
0.04498806223273277,
-0.0681297779083252,
-0.03704075515270233,
0.05682149901986122,
0.03478259965777397,
-0.013478913344442844,
0.00542219914495945,
0.054440807551145554,
0.031159047037363052,
-0.07653222233057022,
-0.062038011848926544,
0.0429924838244915,
0.002776743844151497,
-0.047683846205472946,
0.0738014280796051,
-0.07268110662698746,
0.003910197876393795,
0.007991069927811623,
-0.03513270244002342,
0.07331128418445587,
0.025749975815415382,
-0.008940720930695534,
0.01211351715028286,
0.04957439377903938,
0.07247104495763779,
0.02020086534321308,
-0.026590220630168915,
-0.013120059855282307,
-0.005483467131853104,
-0.046913620084524155,
-0.019675713032484055,
-0.04001661762595177,
-0.021653786301612854,
0.028305718675255775,
0.026047563180327415,
0.02921598218381405,
-0.022424010559916496,
-0.003218746976926923,
0.0802432969212532,
0.05037962645292282,
-0.004695738200098276,
0.026922816410660744,
-0.06571408361196518,
-0.0103017408400774,
0.018852973356842995,
-0.03669065237045288,
0.010555564425885677,
-0.03374980017542839,
0.020410927012562752,
0.004949562251567841,
-0.015702059492468834,
0.02827070839703083,
-0.05776677280664444,
-0.0013686786405742168,
-0.00458633154630661,
-0.0895560011267662,
-0.013566439040005207,
-0.021251169964671135,
-0.05325046181678772,
0.029793649911880493,
0.026047563180327415,
-0.020305896177887917,
0.05083476006984711,
-0.005037087481468916,
-0.021163644269108772,
0.04939934238791466,
-0.01992078311741352,
0.004538192879408598,
0.012804968282580376,
-0.04015665873885155,
0.009697815403342247,
0.03662063181400299,
0.001657512504607439,
0.030896469950675964,
0.02335178107023239,
-0.06007744371891022,
0.009085138328373432,
0.03285704180598259,
-0.023106709122657776,
0.05633135512471199,
-0.022879142314195633,
0.0852847620844841,
0.007028290536254644,
0.02156626246869564,
0.01566704921424389,
-0.0254523903131485,
0.011982228606939316,
-0.023771902546286583,
-0.05100981146097183,
0.0022089225240051746,
-0.037740956991910934,
0.023561840876936913,
-0.03998160734772682,
0.019045529887080193,
0.03609548136591911,
0.027342939749360085,
-0.01262991689145565,
0.024892227724194527,
0.014940587803721428,
-0.023841923102736473,
0.0315091498196125,
-0.07695234566926956,
0.01331261545419693,
-0.04026168957352638,
-0.04498806223273277,
-0.01997329853475094,
-0.01017045322805643,
-0.011106975376605988,
0.046563521027565,
-0.039246395230293274,
0.0016137497732415795,
0.002376314951106906,
-0.012682432308793068,
-0.006411236710846424,
-0.01672610640525818,
0.06445371359586716,
0.03136910870671272,
0.06312333047389984,
-0.02963610552251339,
-0.013303862884640694,
-0.00008362779772141948,
-0.06616920977830887,
-0.0202533807605505,
0.0035316504072397947,
0.0310015007853508,
0.05248023942112923,
-0.03488763049244881,
-0.08479461818933487,
-0.0007171613397076726,
-0.009321456775069237,
-0.012174785137176514,
-0.02210891991853714,
-0.05248023942112923,
0.007851029746234417,
0.001643289579078555,
-0.004936433397233486,
-0.0540907047688961,
-0.02443709596991539,
0.03331217169761658,
0.03711077570915222,
-0.001387277850881219,
-0.03812607005238533,
-0.011133232153952122,
-0.03024878352880478,
-0.08521474152803421,
0.017163733020424843,
-0.012393598444759846,
0.001088597346097231,
0.0072733620181679726,
0.04799893498420715,
-0.04470798000693321,
0.001659700646996498,
-0.013697727583348751,
0.0031377861741930246,
0.004726372193545103,
-0.015448234975337982,
0.008284280076622963,
-0.0014737091260030866,
-0.020165855064988136,
0.03928140550851822,
0.021268675103783607,
0.02567995712161064,
-0.05107983201742172,
-0.02655521035194397,
0.054790910333395004,
0.024314559996128082,
-0.022879142314195633,
0.0037220180965960026,
0.052130136638879776,
0.0691450759768486,
0.03791600838303566,
0.07303120195865631,
0.02107611857354641,
-0.025855006650090218,
-0.05202510580420494,
0.031789228320121765,
-0.011535849422216415,
-0.03339969739317894,
-0.04572327435016632,
-0.050134558230638504,
0.0505196675658226,
0.04313252493739128,
-0.013120059855282307,
0.01827530562877655,
-0.051710013300180435,
-0.04708867147564888,
-0.023929448798298836,
0.051569972187280655,
-0.01834532618522644,
-0.019465651363134384,
0.00399772310629487,
0.030721420422196388,
0.000437627051724121,
0.04810396581888199,
-0.05384563282132149,
0.0015831158962100744,
0.0540907047688961,
0.01766262762248516,
0.03707576543092728,
-0.020848553627729416,
-0.005168375559151173,
-0.010546811856329441,
0.037250816822052,
0.012192290276288986,
0.0009376159869134426,
0.012945008464157581,
0.044392891228199005,
-0.03136910870671272,
-0.053285472095012665,
-0.02620510943233967,
-0.001259271870367229,
0.08143364638090134,
-0.013907788321375847,
0.04187215864658356,
-0.016962425783276558
] |
23,187 | flask.app | open_instance_resource | Opens a resource from the application's instance folder
(:attr:`instance_path`). Otherwise works like
:meth:`open_resource`. Instance resources can also be opened for
writing.
:param resource: the name of the resource. To access resources within
subfolders use forward slashes as separator.
:param mode: resource file opening mode, default is 'rb'.
| def open_instance_resource(self, resource: str, mode: str = "rb") -> t.IO[t.AnyStr]:
"""Opens a resource from the application's instance folder
(:attr:`instance_path`). Otherwise works like
:meth:`open_resource`. Instance resources can also be opened for
writing.
:param resource: the name of the resource. To access resources within
subfolders use forward slashes as separator.
:param mode: resource file opening mode, default is 'rb'.
"""
return open(os.path.join(self.instance_path, resource), mode)
| (self, resource: str, mode: str = 'rb') -> IO[~AnyStr] | [
0.12719380855560303,
-0.03711557015776634,
0.001127281109802425,
-0.009869683533906937,
0.05403999239206314,
-0.05032148212194443,
0.08966120332479477,
0.06366641074419022,
0.02463945560157299,
0.00004008065661764704,
0.0069591691717505455,
0.005577761214226484,
0.017271945253014565,
0.0033796713687479496,
0.001959166955202818,
0.020521296188235283,
-0.08695051819086075,
-0.0474717877805233,
-0.07972201704978943,
0.06804521381855011,
0.015525637194514275,
0.059113841503858566,
-0.027037370949983597,
-0.021946143358945847,
0.04177239164710045,
0.12816686928272247,
-0.021546492353081703,
0.014039971865713596,
-0.03099914640188217,
-0.06328412890434265,
0.04086882993578911,
-0.01675065979361534,
0.03589923679828644,
0.01433536782860756,
-0.00788879580795765,
0.011051264591515064,
-0.006020854227244854,
0.044413574039936066,
-0.06863600015640259,
-0.05327543616294861,
-0.026220690459012985,
0.015430068597197533,
-0.007441359106451273,
-0.031277164816856384,
-0.005486535839736462,
0.0032189416233450174,
0.03867942839860916,
-0.04764554649591446,
-0.011781065724790096,
-0.040347542613744736,
0.050529997795820236,
-0.012771508656442165,
-0.022241540253162384,
0.028323210775852203,
-0.047541290521621704,
0.04198090732097626,
-0.039652496576309204,
0.03777586668729782,
-0.04451783001422882,
-0.05059950426220894,
-0.03756735101342201,
-0.06390967220067978,
0.04583842307329178,
-0.02776717208325863,
-0.00018570816610008478,
0.0025390975642949343,
-0.041007839143276215,
-0.021824510768055916,
0.005039098672568798,
0.0144135607406497,
0.04243268817663193,
0.018714170902967453,
-0.010947007685899734,
-0.008905303664505482,
0.005747179035097361,
0.00891399197280407,
-0.06356214731931686,
0.003277586307376623,
0.01147698238492012,
-0.006946137174963951,
0.004678542725741863,
-0.0304778590798378,
-0.02349262684583664,
-0.004904433153569698,
0.01230235118418932,
-0.05807127058506012,
-0.00783232320100069,
-0.04698525369167328,
-0.028774991631507874,
-0.012076460756361485,
0.00025141192600131035,
0.02086881920695305,
-0.023006092756986618,
-0.03167681768536568,
0.046672482043504715,
-0.053205933421850204,
-0.012728068977594376,
0.0004479802446439862,
0.04653347283601761,
-0.005812339950352907,
-0.035586465150117874,
-0.031398799270391464,
-0.008414425887167454,
-0.005438751541078091,
0.016663778573274612,
-0.009443966671824455,
0.033814091235399246,
0.01635100692510605,
0.005994789768010378,
-0.0022306700702756643,
-0.042119916528463364,
0.06251958012580872,
-0.05310167744755745,
0.06880976259708405,
-0.01623806171119213,
0.012823637574911118,
0.004085579887032509,
0.016072988510131836,
0.005634233821183443,
-0.06533452123403549,
-0.06710689514875412,
0.022988716140389442,
-0.021198967471718788,
-0.008722853846848011,
0.08667249977588654,
0.04771505296230316,
-0.033779338002204895,
-0.076872318983078,
-0.03308429196476936,
0.010086885653436184,
0.03840140998363495,
0.03461339697241783,
-0.04920940473675728,
-0.026724599301815033,
-0.04698525369167328,
-0.022728072479367256,
0.03193746134638786,
0.08403131365776062,
-0.011737625114619732,
0.0631103664636612,
0.03635101765394211,
0.032302360981702805,
-0.03645527362823486,
0.022328421473503113,
-0.02168550156056881,
0.00840573851019144,
0.01106864120811224,
0.052754152566194534,
0.005178108345717192,
0.02086881920695305,
0.06053869053721428,
-0.03532582148909569,
0.04927891120314598,
0.058662060648202896,
0.0022350139915943146,
-0.022154659032821655,
-0.013909650035202503,
0.002515205414965749,
0.019652485847473145,
-0.03572547435760498,
-0.013649007305502892,
0.019617732614278793,
-0.020712433382868767,
0.021789757534861565,
-0.0035642937291413546,
0.02081669121980667,
-0.03791487589478493,
-0.017914865165948868,
0.0575847364962101,
-0.0076802815310657024,
-0.03200696408748627,
-0.04580366984009743,
-0.03322330117225647,
-0.012154653668403625,
-0.01548219658434391,
0.07944399863481522,
0.012788885273039341,
-0.03153780847787857,
0.09369248896837234,
-0.0033145106863230467,
-0.019478723406791687,
-0.01090356707572937,
-0.007723722141236067,
0.018349269405007362,
-0.03975675255060196,
0.05803651735186577,
0.02024327591061592,
0.0090182488784194,
0.026828857138752937,
-0.03039097972214222,
-0.008896616287529469,
0.02099045366048813,
-0.04052130505442619,
0.02957429736852646,
-0.047610796988010406,
-0.05337969586253166,
-0.044413574039936066,
-0.06481323391199112,
0.013284106738865376,
0.10356216877698898,
-0.04573416709899902,
0.07805390655994415,
-0.0005432778270915151,
0.028479596599936485,
-0.018210260197520256,
0.018783675506711006,
0.005473503842949867,
0.05018247291445732,
-0.020747186616063118,
0.04163338243961334,
-0.056820183992385864,
-0.04896613955497742,
-0.021042581647634506,
0.03350131958723068,
0.08006954193115234,
0.029452664777636528,
-0.07610777020454407,
0.025438761338591576,
-0.015108608640730381,
0.02111208625137806,
0.034891415387392044,
0.0032927903812378645,
-0.07117293030023575,
-0.016159867867827415,
-0.01735013909637928,
-0.017723726108670235,
0.016733283177018166,
0.004137708339840174,
-0.03421374410390854,
0.042119916528463364,
-0.04476109892129898,
0.002345787361264229,
0.06505650281906128,
-0.02210252918303013,
0.020278029143810272,
0.02969592995941639,
0.008292792364954948,
0.054769791662693024,
0.0024826249573379755,
-0.019895752891898155,
0.03801913186907768,
-0.044170308858156204,
-0.02698524296283722,
-0.05032148212194443,
-0.018123378977179527,
-0.013666383922100067,
-0.030981769785284996,
0.01546482089906931,
0.01133797224611044,
-0.12003480643033981,
0.06206779554486275,
0.022658567875623703,
-0.039200711995363235,
-0.018575161695480347,
-0.019252832978963852,
0.010417033918201923,
-0.007237188518047333,
-0.04851435869932175,
0.0037119912449270487,
0.026272818446159363,
-0.015204177238047123,
0.006268464960157871,
0.022814953699707985,
0.01819288358092308,
0.0072198123671114445,
-0.029296278953552246,
-0.08083409816026688,
0.010130326263606548,
0.07548222690820694,
-0.017697662115097046,
-0.010686364956200123,
0.05803651735186577,
-0.003499132813885808,
0.0011750657577067614,
0.003501304890960455,
-0.06985233724117279,
-0.01308428030461073,
-0.01686360500752926,
0.01641182415187359,
-0.03428324684500694,
-0.09202437102794647,
0.0049000889994204044,
0.04250219091773033,
-0.020955700427293777,
0.01225891150534153,
-0.08771507441997528,
0.025525642558932304,
0.04653347283601761,
0.03690705448389053,
-0.008983496576547623,
0.01710687205195427,
0.022363172844052315,
-0.059774138033390045,
-0.011867946945130825,
0.017159000039100647,
0.08882714807987213,
-0.031642064452171326,
-0.040312789380550385,
0.00738054234534502,
-0.03975675255060196,
0.01876629889011383,
-0.04952217638492584,
-0.01735013909637928,
0.03466552495956421,
-0.01966986246407032,
0.019600355997681618,
0.0014107304159551859,
-0.013814081437885761,
-0.02590791881084442,
0.029678555205464363,
0.031033897772431374,
-0.026377076283097267,
0.022762825712561607,
0.011972203850746155,
-0.0014541710261255503,
0.049383167177438736,
0.022450054064393044,
0.03092964179813862,
0.015125984326004982,
0.013701136223971844,
-0.030338849872350693,
0.08034756034612656,
0.004982626065611839,
0.011033888906240463,
-0.006685493979603052,
-0.0038966136053204536,
0.007519552018493414,
0.03304953873157501,
0.014074724167585373,
0.07847093045711517,
-0.00433753477409482,
0.021980896592140198,
0.022641193121671677,
0.006941793020814657,
-0.03565596789121628,
0.019895752891898155,
-0.0013021292397752404,
-0.037602104246616364,
0.002786708530038595,
-0.000437391601735726,
0.049834948033094406,
0.04820158705115318,
-0.002945266431197524,
-0.02361425943672657,
-0.022119905799627304,
-0.006646397523581982,
0.007080802693963051,
-0.006264121271669865,
-0.01593397743999958,
-0.0632493793964386,
-0.047089509665966034,
0.013883586041629314,
-0.031311918050050735,
-0.061581261456012726,
-0.06505650281906128,
-0.031155532225966454,
-0.030529988929629326,
0.028757615014910698,
-0.010278023779392242,
-0.007406606338918209,
-0.07617727667093277,
-0.010443097911775112,
-0.05417900159955025,
-0.015890536829829216,
-0.035829730331897736,
0.008010429330170155,
0.014778460375964642,
0.028514349833130836,
-0.03860992193222046,
0.032180726528167725,
-0.009287580847740173,
-0.030981769785284996,
-0.0014986974420025945,
0.009626416489481926,
0.028774991631507874,
0.039200711995363235,
0.009470030665397644,
-0.06349264830350876,
-0.007780194748193026,
-0.016941796988248825,
0.010599483735859394,
0.04000001773238182,
0.037810616195201874,
0.004317986313253641,
0.007428326644003391,
-0.04340575635433197,
-0.07152044773101807,
-0.03544745221734047,
0.03322330117225647,
0.0104517862200737,
-0.019391842186450958,
0.033362310379743576,
0.032632507383823395,
0.009991317056119442,
-0.004978281911462545,
-0.005451783537864685,
-0.011885322630405426,
0.009296268224716187,
0.034769780933856964,
0.0531364269554615,
-0.0008829283178783953,
0.021824510768055916,
-0.032841023057699203,
0.028879249468445778,
-0.0003209167334716767,
0.041042592376470566,
0.02081669121980667,
-0.012623811140656471,
-0.004107299726456404,
-0.030529988929629326,
-0.007667249534279108,
0.00012658834748435766,
-0.04858386144042015,
-0.009070377796888351,
0.029417911544442177,
0.005308430176228285,
0.06029542535543442,
0.037185072898864746,
-0.005160732194781303,
-0.014674203470349312,
0.015803655609488487,
0.010139014571905136,
0.06130324304103851,
-0.03211122378706932,
-0.019617732614278793,
-0.032302360981702805,
0.030703751370310783,
-0.014578633941709995,
0.09084279090166092,
0.009522159583866596,
-0.06953956186771393,
0.041042592376470566,
-0.013292795047163963,
-0.0024847970344126225,
0.020973077043890953,
-0.06071245297789574,
-0.013509998098015785,
0.02674197591841221,
0.01435274351388216,
-0.00040616875048726797,
0.033918347209692,
-0.04020853340625763,
0.04139011353254318,
0.05713295564055443,
-0.046637728810310364,
0.016672465950250626,
-0.017610780894756317,
0.021668124943971634,
0.06154651194810867,
0.009730673395097256,
0.027906181290745735,
-0.06126848980784416,
0.0008335147285833955,
0.023475250229239464,
-0.020973077043890953,
-0.0644657090306282,
0.027002619579434395,
-0.020191147923469543,
-0.0005449068848975003,
-0.015638582408428192,
-0.045490898191928864,
0.028357964009046555,
0.03732408210635185,
-0.10905304551124573,
-0.06297136098146439,
-0.021198967471718788,
0.03424849733710289,
0.02701999619603157,
0.08458735793828964,
-0.005356214474886656,
0.022154659032821655,
0.049174655228853226,
-0.0020699400920420885,
0.0033709832932800055,
0.040799323469400406,
0.040312789380550385,
0.016585584729909897,
0.015325810760259628,
-0.021459611132740974,
-0.008583844639360905,
-0.031016523018479347,
0.0021589931566268206,
0.022519558668136597,
0.009383149445056915,
-0.058835823088884354,
-0.04545614495873451,
0.01575152762234211,
0.020834067836403847,
0.021546492353081703,
0.02656821347773075,
0.06085146218538284,
0.10759344696998596,
-0.05925285071134567,
0.0044396198354661465,
-0.0372893325984478,
0.0338488444685936,
0.0019287585746496916,
0.03193746134638786,
-0.03927021846175194,
0.015638582408428192,
-0.016681155189871788,
-0.0237011406570673,
-0.03909645602107048,
0.027054747566580772,
-0.014396184124052525,
0.054074741899967194,
-0.044656842947006226,
-0.018575161695480347,
0.0745786651968956,
-0.007758474443107843,
-0.0036837549414485693,
-0.014491753652691841,
0.03437012806534767,
0.02328411117196083,
0.0017843188252300024,
0.005851436406373978,
0.0071894037537276745,
0.03975675255060196,
-0.02060817740857601,
0.003735883627086878,
0.029070386663079262,
-0.050495244562625885,
-0.004656822420656681,
-0.00573849119246006,
0.0037228513974696398,
-0.04952217638492584,
-0.005803651642054319,
-0.03470027819275856,
-0.009826242923736572,
0.06477848440408707,
0.0030060831923037767,
-0.020521296188235283,
0.03372721001505852,
-0.03087751194834709,
0.0014921814436092973,
0.059357110410928726,
-0.03645527362823486,
0.010981759987771511,
0.029470039531588554,
0.02566465176641941,
-0.027384895831346512,
-0.03774111345410347,
-0.028236329555511475,
-0.0101824551820755,
0.05240662768483162,
-0.07520420849323273,
0.02846221998333931,
-0.024813218042254448,
0.05056475102901459,
0.0011229370720684528,
0.06245007365942001,
-0.043475259095430374,
-0.017723726108670235,
0.059774138033390045,
-0.014986975118517876,
0.07624677568674088,
0.015325810760259628,
-0.004874025005847216,
-0.03035622648894787,
-0.02759340964257717,
0.020625552162528038,
-0.020521296188235283,
0.0090182488784194,
0.03543007746338844,
-0.008766294457018375,
-0.02000000886619091,
0.020799314603209496,
-0.007059082388877869,
-0.04163338243961334,
0.028357964009046555,
0.01632494293153286,
0.0723545104265213,
0.06105997785925865,
-0.011555175296962261,
0.011094705201685429,
0.028514349833130836,
0.01720244064927101,
0.032719388604164124,
0.0575847364962101,
0.02382277324795723,
-0.018140755593776703,
-0.0282189529389143,
-0.029087763279676437,
-0.032423995435237885,
-0.018053874373435974,
0.04267595335841179,
-0.019270209595561028,
0.026064304634928703,
-0.02349262684583664,
-0.02020852454006672,
0.04816683381795883,
-0.038992200046777725,
0.00993918813765049,
-0.00600782223045826,
0.028896626085042953,
-0.034960921853780746,
0.019252832978963852,
-0.034109484404325485,
0.06811471283435822,
-0.008288448676466942,
-0.034926168620586395,
0.012050396762788296,
-0.0395134836435318,
-0.019930504262447357,
0.03457864373922348,
0.04118160158395767,
-0.03454389050602913,
-0.030408354476094246,
-0.041911400854587555,
0.04941792041063309,
-0.008019117638468742,
-0.054144248366355896,
-0.02210252918303013,
-0.008848831057548523,
0.0293657835572958,
0.07416163384914398,
-0.01906169392168522,
-0.0304778590798378,
0.018331894651055336,
-0.017367513850331306,
-0.0001523132814327255,
0.022971339523792267,
0.05518681928515434,
0.00012652047735173255,
-0.00796698871999979,
0.0486186146736145,
-0.023579508066177368,
0.03407473489642143,
-0.022780202329158783,
-0.0060556065291166306,
-0.011259779334068298,
0.004391835071146488,
0.03516943380236626,
0.0181060042232275,
-0.03146830201148987,
-0.008570811711251736,
0.005499568302184343,
0.038088638335466385,
0.00864466093480587,
0.028184201568365097,
-0.04545614495873451,
-0.037636853754520416,
-0.022067777812480927,
-0.03635101765394211,
-0.03518681228160858,
-0.02250218205153942,
0.04225892573595047,
0.0016941797221079469,
-0.05261514335870743,
-0.02894875407218933,
0.03117290884256363,
-0.021615996956825256,
-0.027072124183177948,
0.010834062471985817,
0.040104277431964874,
-0.05473503842949867,
0.05174633115530014,
-0.0655430406332016,
0.0018701138906180859,
0.021407481282949448,
-0.0016062126960605383,
-0.004587317351251841,
-0.04722851887345314,
-0.009174634702503681,
0.003186361165717244,
-0.01201564446091652,
0.002519549336284399,
-0.03638576716184616,
-0.04542139545083046,
0.05699394643306732,
-0.01596004143357277,
0.05331018939614296,
-0.006403130944818258,
0.011980892159044743,
-0.005395310930907726,
0.058662060648202896,
-0.01141616515815258,
0.016429198905825615,
-0.00786273181438446,
0.040799323469400406,
-0.020764563232660294,
-0.014778460375964642,
0.015638582408428192,
-0.037636853754520416,
-0.013649007305502892,
0.029887069016695023,
-0.010304088704288006,
0.03961774334311485,
-0.004552565049380064,
-0.0395134836435318,
-0.014326679520308971,
0.008766294457018375,
-0.01764553412795067,
-0.044830601662397385,
-0.04702000319957733,
-0.02590791881084442,
0.0062206806614995,
0.018575161695480347,
0.02533450350165367,
0.019774118438363075,
0.010243271477520466,
0.021755006164312363,
0.04566466063261032,
-0.07478717714548111,
-0.003182017244398594,
-0.051155541092157364,
-0.0575847364962101,
-0.016663778573274612,
0.009643792174756527,
0.001555170165374875,
0.01885318011045456,
0.02759340964257717,
0.01827976480126381,
-0.031520433723926544,
0.0333101823925972,
0.007345789577811956,
-0.036246757954359055,
0.020069513469934464,
-0.04670723155140877,
-0.05675067752599716,
-0.020173771306872368,
-0.05150306597352028,
0.030738502740859985,
-0.04337100312113762,
0.013006087392568588,
0.014396184124052525,
-0.06696788221597672,
0.05494355410337448,
0.03350131958723068,
0.03454389050602913,
-0.029661178588867188,
-0.0017756307497620583,
-0.07596875727176666,
-0.02616856060922146,
0.029921822249889374,
-0.003108168253675103,
0.04243268817663193,
-0.025317126885056496,
0.03927021846175194,
0.0316246896982193,
-0.015638582408428192,
0.06960906833410263,
-0.03857516869902611,
-0.014291927218437195,
0.06627283990383148,
-0.002278454601764679,
0.019704613834619522,
-0.004839272703975439,
-0.026394452899694443,
0.025004355236887932,
0.007115554995834827,
-0.027836676687002182,
0.05188534036278725,
0.09515208750963211,
0.04253694415092468,
-0.012415297329425812,
-0.015881849452853203,
0.00824066437780857,
-0.004383147228509188,
-0.008514339104294777,
-0.06279759854078293,
0.010338841006159782,
0.005390966776758432,
0.048688121140003204,
-0.022554311901330948,
0.033987853676080704,
-0.029869692400097847,
-0.027124252170324326
] |
23,188 | flask.scaffold | open_resource | Open a resource file relative to :attr:`root_path` for
reading.
For example, if the file ``schema.sql`` is next to the file
``app.py`` where the ``Flask`` app is defined, it can be opened
with:
.. code-block:: python
with app.open_resource("schema.sql") as f:
conn.executescript(f.read())
:param resource: Path to the resource relative to
:attr:`root_path`.
:param mode: Open the file in this mode. Only reading is
supported, valid values are "r" (or "rt") and "rb".
| def open_resource(self, resource: str, mode: str = "rb") -> t.IO[t.AnyStr]:
"""Open a resource file relative to :attr:`root_path` for
reading.
For example, if the file ``schema.sql`` is next to the file
``app.py`` where the ``Flask`` app is defined, it can be opened
with:
.. code-block:: python
with app.open_resource("schema.sql") as f:
conn.executescript(f.read())
:param resource: Path to the resource relative to
:attr:`root_path`.
:param mode: Open the file in this mode. Only reading is
supported, valid values are "r" (or "rt") and "rb".
"""
if mode not in {"r", "rt", "rb"}:
raise ValueError("Resources can only be opened for reading.")
return open(os.path.join(self.root_path, resource), mode)
| (self, resource: str, mode: str = 'rb') -> IO[~AnyStr] | [
0.06309344619512558,
-0.03291909396648407,
0.022260935977101326,
-0.024150174111127853,
0.051864951848983765,
-0.04904891550540924,
0.07271786779165268,
0.06972360610961914,
0.008301065303385258,
-0.03721443936228752,
0.008194128051400185,
0.01695859059691429,
0.00767726032063365,
-0.017127910628914833,
-0.008229773491621017,
0.028962386772036552,
-0.048015180975198746,
-0.017965590581297874,
-0.06983054429292679,
0.05949319899082184,
0.014089087024331093,
0.027393963187932968,
-0.009112012572586536,
-0.0077841985039412975,
0.011183937080204487,
0.08861599117517471,
-0.03860463574528694,
-0.0003447638009674847,
-0.00042023308924399316,
-0.07414370775222778,
0.016887299716472626,
-0.0014893350889906287,
0.05154413729906082,
0.01323358342051506,
-0.038248173892498016,
0.004007948562502861,
0.02894456312060356,
0.05735443904995918,
-0.03541431576013565,
-0.0890437439084053,
-0.046482402831315994,
0.04220488294959068,
-0.04327426105737686,
-0.016593219712376595,
0.005124114453792572,
0.006808388978242874,
-0.018571574240922928,
-0.045127853751182556,
0.008006986230611801,
-0.042490050196647644,
0.06252311170101166,
0.004237419925630093,
-0.026787979528307915,
0.01638825610280037,
-0.03115461766719818,
0.015924857929348946,
-0.06323602795600891,
0.015648599714040756,
-0.028766334056854248,
-0.05332643911242485,
-0.00020691397367045283,
-0.028213821351528168,
0.02081727236509323,
-0.02561166137456894,
-0.015541662462055683,
-0.0042574708350002766,
-0.02534431591629982,
-0.05981401354074478,
0.010248228907585144,
0.003528955392539501,
0.0008855806663632393,
0.04092162474989891,
-0.011469105258584023,
-0.001142900320701301,
0.04505656287074089,
-0.01246719341725111,
-0.043595075607299805,
-0.01693185791373253,
0.011870122514665127,
-0.035343024879693985,
-0.004170583561062813,
-0.0612042061984539,
-0.039210617542266846,
0.010176937095820904,
0.019213201478123665,
-0.07008006423711777,
-0.0006377294776029885,
-0.011870122514665127,
-0.023490723222494125,
-0.0004890187410637736,
-0.019248848780989647,
0.027643484994769096,
-0.03331119939684868,
-0.029407961294054985,
0.047195322811603546,
-0.04619723558425903,
-0.003640349255874753,
0.029265377670526505,
0.05093815550208092,
0.0029541633557528257,
-0.03881850838661194,
0.017038794234395027,
0.011264140717685223,
0.011085910722613335,
0.0159694142639637,
-0.0009028466884046793,
0.06576690077781677,
0.032027944922447205,
0.015185202471911907,
-0.037392668426036835,
-0.04035129025578499,
-0.0037717940285801888,
0.007570322602987289,
0.04391589015722275,
-0.016192201524972916,
-0.007147025782614946,
0.014962414279580116,
0.007289609871804714,
0.0034064222127199173,
-0.055999889969825745,
-0.04013741388916969,
0.0018224024679511786,
0.0026244379114359617,
-0.017118997871875763,
0.09945238381624222,
0.030281290411949158,
-0.0399235375225544,
-0.06822647154331207,
0.00730297714471817,
0.013563308864831924,
0.027376139536499977,
0.011522574350237846,
-0.017047706991434097,
-0.01107699889689684,
-0.025789892300963402,
-0.04958360642194748,
0.0270196795463562,
0.08391071856021881,
0.00964224711060524,
0.03653716668486595,
0.08448105305433273,
0.012921680696308613,
-0.07385854423046112,
0.010016529820859432,
-0.058316878974437714,
-0.003517816076055169,
0.038497697561979294,
-0.013090998865664005,
-0.032170526683330536,
0.026413697749376297,
0.0526135191321373,
-0.0581386499106884,
-0.021191556006669998,
0.03466574847698212,
0.011023529805243015,
0.006888592150062323,
-0.020211290568113327,
-0.020318228751420975,
0.0020407342817634344,
-0.02685927227139473,
-0.0013835110003128648,
0.03279433399438858,
-0.04473574832081795,
0.052292704582214355,
0.002550917910411954,
0.006229141261428595,
-0.05439581722021103,
-0.06238052621483803,
0.030352581292390823,
-0.06651546061038971,
-0.030138704925775528,
-0.030103059485554695,
0.012966237962245941,
0.03571730852127075,
0.007757463958114386,
0.03774913027882576,
0.027465254068374634,
-0.02192229963839054,
0.047302260994911194,
-0.0042151412926614285,
0.024328405037522316,
-0.04862116277217865,
0.005404827184975147,
0.01721702516078949,
-0.02976442314684391,
0.023668954148888588,
-0.008563955314457417,
-0.004059189930558205,
0.045127853751182556,
-0.018767626956105232,
-0.046339817345142365,
-0.003845313796773553,
-0.044022828340530396,
0.0057924771681427956,
-0.039068032056093216,
-0.06868986785411835,
-0.020211290568113327,
-0.024310581386089325,
0.030299112200737,
0.05963578447699547,
-0.05528696998953819,
0.06890374422073364,
0.03404194489121437,
0.04430799558758736,
-0.008862490765750408,
0.013741538859903812,
0.002729147905483842,
0.02493438683450222,
-0.016299139708280563,
0.018892386928200722,
-0.021191556006669998,
-0.05803171172738075,
-0.026146352291107178,
0.0361272357404232,
0.05860204994678497,
0.06494703888893127,
-0.07827864587306976,
0.027322670444846153,
-0.011959237977862358,
0.023490723222494125,
0.051437199115753174,
0.005204318091273308,
-0.035075679421424866,
-0.011959237977862358,
0.03607376664876938,
-0.03377459943294525,
0.021797537803649902,
-0.006238052621483803,
-0.0246670413762331,
0.05967142805457115,
-0.04405847564339638,
-0.02202923782169819,
0.07699539512395859,
-0.028481164947152138,
0.033703308552503586,
0.0059083267115056515,
0.008541676215827465,
0.047587428241968155,
-0.006402915343642235,
-0.024025414139032364,
0.024007590487599373,
-0.007877768948674202,
-0.02990700677037239,
-0.0503678172826767,
-0.04409411922097206,
-0.023490723222494125,
-0.018571574240922928,
0.0013534346362575889,
-0.01096114981919527,
-0.08854470402002335,
0.030548634007573128,
0.023205555975437164,
-0.03728573024272919,
-0.027090970426797867,
-0.025985945016145706,
0.016227848827838898,
-0.0045448667369782925,
-0.04199100658297539,
0.0025798804126679897,
0.010720538906753063,
0.0058325789868831635,
-0.020300405099987984,
0.01818837970495224,
0.061525020748376846,
0.021120263263583183,
-0.07792218774557114,
-0.07050781697034836,
-0.007490118965506554,
0.05689103901386261,
-0.0335785448551178,
-0.010782919824123383,
0.08198583126068115,
-0.011344344355165958,
-0.007182672154158354,
0.00750794168561697,
-0.042632631957530975,
0.0015595131553709507,
0.014499016106128693,
0.0626300498843193,
-0.03001394495368004,
-0.0796331986784935,
0.012707804329693317,
0.020835096016526222,
0.014989148825407028,
0.001403561793267727,
-0.05685539171099663,
-0.024435343220829964,
-0.009013986214995384,
-0.0171992015093565,
0.013554397039115429,
0.04191971197724342,
0.03004959039390087,
-0.06441234797239304,
0.010774007998406887,
0.04780130460858345,
0.0691889151930809,
0.028855448588728905,
-0.049227144569158554,
0.05108074098825455,
-0.05318385362625122,
0.028712864965200424,
-0.042632631957530975,
0.04177713021636009,
-0.005079557187855244,
-0.06676498800516129,
-0.027465254068374634,
0.004950340371578932,
-0.05824558809399605,
-0.056285057216882706,
0.020763803273439407,
0.043309908360242844,
-0.015051529742777348,
0.027465254068374634,
-0.0002535601379349828,
-0.000016273937944788486,
0.05307691544294357,
0.01652192696928978,
0.026271112263202667,
0.011959237977862358,
0.005404827184975147,
-0.04295344650745392,
0.04177713021636009,
0.04808647558093071,
-0.03516479209065437,
-0.0044134221971035,
0.002595475409179926,
0.026146352291107178,
0.00848375167697668,
0.011584954336285591,
0.04562689736485481,
0.016869476065039635,
0.03295474126935005,
0.023633306846022606,
-0.007971339859068394,
-0.04555560648441315,
0.054217588156461716,
0.011656247079372406,
-0.026663219556212425,
-0.005859313532710075,
-0.005302344914525747,
0.07278916239738464,
0.01971224695444107,
0.05100944638252258,
-0.02110244147479534,
-0.03653716668486595,
-0.033667661249637604,
0.02231440506875515,
-0.029710954055190086,
0.004039139021188021,
-0.03350725397467613,
-0.028570281341671944,
-0.01803688332438469,
-0.03389935940504074,
-0.07934802770614624,
-0.07457146048545837,
-0.04541302099823952,
-0.030299112200737,
0.04837164282798767,
0.017956679686903954,
0.003477714257314801,
-0.031172439455986023,
0.004700818099081516,
-0.034933093935251236,
-0.0030677851755172014,
-0.03234875947237015,
0.020050883293151855,
0.02849898859858513,
0.06063387170433998,
-0.055322613567113876,
0.026538457721471786,
0.015889210626482964,
-0.018375521525740623,
0.0030187717638909817,
0.018001237884163857,
-0.01763586513698101,
-0.00798470713198185,
0.01983700692653656,
-0.05870898813009262,
-0.014071264304220676,
-0.007044543512165546,
0.017315052449703217,
0.04701709374785423,
0.0355212539434433,
-0.0028204908594489098,
-0.056962329894304276,
-0.07400112599134445,
-0.0761398896574974,
-0.06270133703947067,
-0.024292759597301483,
0.014579219743609428,
0.010453193448483944,
0.004032455384731293,
0.04491397738456726,
0.03475486487150192,
-0.01862504333257675,
-0.017003148794174194,
0.015309963375329971,
-0.0099808843806386,
0.02161930873990059,
0.057924773544073105,
-0.023615485057234764,
0.008091645315289497,
0.0028539090417325497,
0.0025286392774432898,
-0.002591019729152322,
0.022938210517168045,
0.056712809950113297,
0.012725627049803734,
-0.024061059579253197,
0.0063449908047914505,
-0.0008900364045985043,
0.010150202549993992,
-0.04847858101129532,
0.02176189236342907,
0.03516479209065437,
-0.03017435222864151,
0.04765872284770012,
0.018357697874307632,
-0.00978483073413372,
-0.0031078869942575693,
0.029710954055190086,
-0.010292787104845047,
0.03682233393192291,
0.0004592209297697991,
-0.02880197949707508,
-0.030477343127131462,
0.02587900683283806,
0.0274296086281538,
0.019480546936392784,
0.024970034137368202,
-0.03953143209218979,
0.017466546967625618,
0.02534431591629982,
-0.033952828496694565,
0.0021020008716732264,
-0.03400629758834839,
-0.01981918327510357,
0.02284909598529339,
0.026538457721471786,
-0.02534431591629982,
0.06968796253204346,
-0.025843361392617226,
0.047337908297777176,
0.03345378488302231,
-0.08747532218694687,
-0.0021053426899015903,
-0.002517499728128314,
0.04341684654355049,
-0.008042631670832634,
0.01597832702100277,
0.005346902180463076,
-0.029693130403757095,
0.017591308802366257,
0.010889857076108456,
-0.043737661093473434,
-0.050082650035619736,
0.03332902491092682,
-0.00003707324867718853,
-0.031172439455986023,
0.018535926938056946,
-0.022759979590773582,
0.022528281435370445,
0.09146767109632492,
-0.10700933635234833,
-0.030958563089370728,
-0.08334038406610489,
-0.010978972539305687,
0.018411166965961456,
0.07335949689149857,
-0.006202406715601683,
0.0031747231259942055,
0.05236399546265602,
-0.0380699448287487,
0.00733416760340333,
0.050617340952157974,
0.018241848796606064,
0.022510457783937454,
0.019872652366757393,
-0.0057167294435203075,
0.011273052543401718,
-0.006282609887421131,
-0.01969442330300808,
0.026930565014481544,
-0.002722464269027114,
-0.00991850346326828,
-0.055857304483652115,
0.021868830546736717,
-0.016700157895684242,
-0.008385725319385529,
0.03058428131043911,
0.05952884629368782,
0.09717103838920593,
0.012992972508072853,
-0.023259025067090988,
-0.027643484994769096,
0.034772686660289764,
0.017591308802366257,
0.025451254099607468,
-0.033257730305194855,
0.011727538891136646,
-0.0007758577703498304,
-0.04894197732210159,
-0.04149196296930313,
0.043737661093473434,
-0.040030475705862045,
0.07321691513061523,
-0.0032081413082778454,
-0.03197447583079338,
0.08490880578756332,
-0.04142066836357117,
-0.01192359160631895,
-0.020015237852931023,
0.03637675940990448,
0.04398718103766441,
-0.009811565279960632,
-0.012030529789626598,
0.02562948502600193,
0.07392983138561249,
-0.02135196328163147,
0.0064341058023273945,
0.024577926844358444,
-0.050759926438331604,
-0.03373895213007927,
0.0041327099315822124,
0.00016138175851665437,
-0.030833803117275238,
0.02726920135319233,
-0.042632631957530975,
0.012930591590702534,
0.04224052652716637,
0.01940925419330597,
0.0005781337968073785,
0.04352378472685814,
-0.020211290568113327,
-0.0009312521433457732,
0.08355426043272018,
-0.04398718103766441,
-0.0005747919785790145,
-0.021048972383141518,
0.029247555881738663,
-0.0028182631358504295,
0.02149454690515995,
-0.028338581323623657,
-0.004972619004547596,
0.048157766461372375,
-0.06794130057096481,
0.011121556162834167,
-0.0290693249553442,
0.07749443501234055,
-0.01999741420149803,
0.03195665404200554,
-0.03099421039223671,
-0.03265174850821495,
0.05760395899415016,
-0.003613614710047841,
0.023740245029330254,
0.03817688301205635,
0.009588778018951416,
-0.0341845266520977,
-0.009668981656432152,
0.00271800858899951,
-0.002332586096599698,
-0.017965590581297874,
0.0581386499106884,
-0.01501588337123394,
0.00930360984057188,
0.04641111195087433,
0.002288028597831726,
-0.0155594851821661,
0.02753654681146145,
0.016495192423462868,
0.049369730055332184,
0.06252311170101166,
-0.023615485057234764,
0.031618013978004456,
-0.018286405131220818,
-0.009294698014855385,
0.021245025098323822,
0.062344878911972046,
0.03792735934257507,
0.0017199201975017786,
-0.040422581136226654,
-0.05803171172738075,
-0.007819844409823418,
-0.01321575976908207,
0.05535826086997986,
-0.012689981609582901,
0.09453322738409042,
-0.007873313501477242,
-0.029283201321959496,
-0.006126658990979195,
-0.06352119892835617,
0.00998979527503252,
-0.03860463574528694,
0.042632631957530975,
-0.0032482431270182133,
0.0006043113535270095,
0.001216420205309987,
0.037677839398384094,
-0.026128528639674187,
-0.09389160573482513,
0.003863136749714613,
-0.062202297151088715,
0.008831299841403961,
0.023615485057234764,
0.0380699448287487,
-0.01682491973042488,
-0.025522546842694283,
-0.05607118085026741,
0.07621117681264877,
-0.008938238024711609,
-0.05293433368206024,
-0.016218936070799828,
0.0029831258580088615,
0.01830422878265381,
0.024577926844358444,
-0.028160352259874344,
-0.032580457627773285,
0.03600247576832771,
-0.029140617698431015,
-0.003274977672845125,
0.041812773793935776,
0.05774654448032379,
0.015898123383522034,
-0.028195997700095177,
0.09588778018951416,
-0.034505341202020645,
-0.0054894862696528435,
-0.051437199115753174,
-0.010560131631791592,
-0.02933667041361332,
-0.03315079212188721,
0.03942449390888214,
0.03364983946084976,
-0.021316315978765488,
-0.02243916690349579,
0.041527606546878815,
0.035343024879693985,
0.04035129025578499,
-0.0019661004189401865,
-0.0207816269248724,
-0.024043237790465355,
0.012823653407394886,
-0.04145631566643715,
-0.00013875489821657538,
0.005213229451328516,
0.023615485057234764,
-0.018125997856259346,
-0.014614866115152836,
-0.07250399142503738,
0.012698892503976822,
-0.0010014302097260952,
-0.023062972351908684,
-0.000053190538892522454,
0.055322613567113876,
-0.041242439299821854,
0.0509738028049469,
-0.08041740953922272,
0.040315642952919006,
0.047302260994911194,
0.033560723066329956,
-0.022260935977101326,
-0.0066123357973992825,
0.013411813415586948,
-0.02464921958744526,
-0.03528955578804016,
-0.0009345939615741372,
-0.049369730055332184,
-0.024613572284579277,
0.033257730305194855,
0.009900680743157864,
0.061382438987493515,
0.04177713021636009,
-0.010934415273368359,
0.04377330467104912,
0.04063645750284195,
0.0011312039569020271,
-0.0019694422371685505,
0.03074468858540058,
0.00234149768948555,
0.02480962686240673,
-0.001359004294499755,
0.02687709592282772,
-0.020353874191641808,
-0.023365963250398636,
0.041670192033052444,
-0.009241228923201561,
0.036180704832077026,
-0.0058325789868831635,
-0.0153545206412673,
0.007931238040328026,
-0.0028962385840713978,
-0.02188665233552456,
-0.011210671626031399,
-0.0429890938103199,
-0.01792103424668312,
-0.030085235834121704,
0.032705217599868774,
0.04024435207247734,
0.04220488294959068,
0.048407286405563354,
0.03329337760806084,
0.050902508199214935,
-0.07282480597496033,
-0.02081727236509323,
-0.05728314444422722,
-0.030103059485554695,
-0.026342405006289482,
-0.005431561265140772,
0.0077841985039412975,
0.007343078963458538,
0.003704957664012909,
-0.010292787104845047,
-0.06127550080418587,
0.04673192650079727,
-0.01830422878265381,
-0.05564342811703682,
0.022278759628534317,
-0.020888565108180046,
-0.07849252223968506,
-0.014917857013642788,
-0.06512527167797089,
0.00998979527503252,
-0.04384459927678108,
0.010818565264344215,
0.011362167075276375,
-0.05286303907632828,
0.06170324981212616,
0.06744226068258286,
0.024970034137368202,
-0.024720510467886925,
-0.013242494314908981,
-0.04658934101462364,
-0.017555661499500275,
0.03015652857720852,
0.016976414248347282,
0.0341845266520977,
-0.023169908672571182,
0.043202970176935196,
0.022367874160408974,
-0.013001884333789349,
0.08804565668106079,
-0.05553648993372917,
-0.007730729412287474,
0.06901068240404129,
-0.008987251669168472,
0.023633306846022606,
-0.0009462903253734112,
-0.046910155564546585,
0.06252311170101166,
0.00499489763751626,
0.00482112355530262,
0.04352378472685814,
0.062059711664915085,
0.015924857929348946,
-0.014311875216662884,
-0.0043465858325362206,
0.01358113158494234,
-0.008105012588202953,
-0.012992972508072853,
-0.062059711664915085,
0.03605594485998154,
-0.016709068790078163,
0.01903497241437435,
-0.014490105211734772,
0.027590015903115273,
-0.018642865121364594,
0.0005171456723473966
] |
23,189 | flask.scaffold | patch | Shortcut for :meth:`route` with ``methods=["PATCH"]``.
.. versionadded:: 2.0
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,190 | flask.scaffold | post | Shortcut for :meth:`route` with ``methods=["POST"]``.
.. versionadded:: 2.0
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,191 | flask.app | preprocess_request | Called before the request is dispatched. Calls
:attr:`url_value_preprocessors` registered with the app and the
current blueprint (if any). Then calls :attr:`before_request_funcs`
registered with the app and the blueprint.
If any :meth:`before_request` handler returns a non-None value, the
value is handled as if it was the return value from the view, and
further request handling is stopped.
| def preprocess_request(self) -> ft.ResponseReturnValue | None:
"""Called before the request is dispatched. Calls
:attr:`url_value_preprocessors` registered with the app and the
current blueprint (if any). Then calls :attr:`before_request_funcs`
registered with the app and the blueprint.
If any :meth:`before_request` handler returns a non-None value, the
value is handled as if it was the return value from the view, and
further request handling is stopped.
"""
names = (None, *reversed(request.blueprints))
for name in names:
if name in self.url_value_preprocessors:
for url_func in self.url_value_preprocessors[name]:
url_func(request.endpoint, request.view_args)
for name in names:
if name in self.before_request_funcs:
for before_func in self.before_request_funcs[name]:
rv = self.ensure_sync(before_func)()
if rv is not None:
return rv
return None
| (self) -> 'ft.ResponseReturnValue | None' | [
0.006650478113442659,
-0.05563895031809807,
-0.07785025984048843,
0.011981929652392864,
-0.0035558382514864206,
0.03855616971850395,
-0.0113639235496521,
0.0025066123344004154,
0.0014723752392455935,
-0.027727236971259117,
0.04519742354750633,
-0.001340933726169169,
0.037965837866067886,
-0.01021092850714922,
0.07124590128660202,
0.013669914565980434,
0.05360968038439751,
0.013835946097970009,
0.0682942271232605,
-0.12109220027923584,
0.007226976100355387,
0.004187679849565029,
-0.002910160692408681,
-0.01449084747582674,
-0.0345345214009285,
0.03565984591841698,
-0.001554237911477685,
-0.0281330905854702,
0.07449273765087128,
0.020846158266067505,
0.06416189670562744,
0.026325194165110588,
-0.009666714817285538,
-0.018881455063819885,
0.04416434094309807,
-0.004658102057874203,
-0.015736082568764687,
0.02031116932630539,
-0.029239965602755547,
-0.028852559626102448,
-0.04733738303184509,
-0.05423690751194954,
-0.03929408639669418,
-0.028317570686340332,
0.022820087149739265,
0.04630430042743683,
-0.07703854888677597,
0.06549014896154404,
0.06143160164356232,
0.055122409015893936,
0.018549391999840736,
-0.007923385128378868,
0.029922539368271828,
0.016335640102624893,
0.011659090407192707,
0.003020848147571087,
-0.0008364982204511762,
0.032781969755887985,
-0.0030969460494816303,
0.01648322306573391,
0.04169231653213501,
0.07873576134443283,
-0.005170031916350126,
-0.012636831030249596,
0.014426279813051224,
-0.00638759508728981,
0.011954257264733315,
-0.013088804669678211,
-0.04176611080765724,
-0.007448351010680199,
-0.045935340225696564,
-0.03106631152331829,
-0.026970870792865753,
0.010386183857917786,
0.032615937292575836,
-0.023705588653683662,
0.06150539219379425,
-0.06036162003874779,
0.00602324865758419,
-0.017470188438892365,
0.08633630722761154,
-0.010616783052682877,
-0.026583464816212654,
-0.07770267128944397,
0.03676672279834747,
-0.0771123394370079,
0.008292343467473984,
0.0006750788888894022,
-0.00885961763560772,
0.06988075375556946,
-0.041212670505046844,
-0.024572640657424927,
-0.014343264512717724,
0.022709399461746216,
0.002126123756170273,
0.034294698387384415,
-0.0029747283551841974,
0.0035074122715741396,
0.00378413125872612,
-0.04250402748584747,
0.05372036620974541,
0.10257048159837723,
-0.02200837805867195,
-0.004669631831347942,
0.031601302325725555,
0.000213880673982203,
0.025292109698057175,
-0.0014769872650504112,
0.006406043190509081,
0.0013432397972792387,
0.005289943423122168,
-0.05999266356229782,
-0.04608292505145073,
0.037726014852523804,
-0.024222129955887794,
-0.011631418950855732,
-0.026362089440226555,
0.012526143342256546,
0.01521954033523798,
0.03625017777085304,
-0.0670766681432724,
-0.006950256880372763,
0.037965837866067886,
-0.051285240799188614,
0.0003712645557243377,
0.048075299710035324,
0.031047863885760307,
0.02431437000632286,
0.021196668967604637,
-0.03781825304031372,
-0.00720391608774662,
0.002195303561165929,
-0.062317103147506714,
-0.013550003059208393,
-0.03292955085635185,
0.03458986431360245,
0.007918773218989372,
0.028336018323898315,
0.014269472099840641,
0.012987341731786728,
-0.014961269684135914,
0.002815615152940154,
-0.01794983446598053,
-0.04361090064048767,
-0.007037884555757046,
-0.011271684430539608,
0.08449151366949081,
0.05305624008178711,
0.029276862740516663,
0.005326839163899422,
0.06235399842262268,
0.014998165890574455,
0.06667081266641617,
-0.0067842258140444756,
-0.015689963474869728,
0.04169231653213501,
-0.02711845375597477,
-0.025218317285180092,
0.005603558383882046,
-0.06084126606583595,
0.010155584663152695,
-0.016695374622941017,
0.00015032179362606257,
-0.09032105654478073,
0.026362089440226555,
-0.0044874586164951324,
0.04866563528776169,
-0.010284719988703728,
0.017765354365110397,
0.0218976903706789,
0.005054732318967581,
0.027505861595273018,
-0.010192479938268661,
0.028889454901218414,
0.05187557265162468,
0.04132336005568504,
0.014869030565023422,
-0.0554913692176342,
-0.03999510779976845,
0.008928797207772732,
0.05187557265162468,
-0.0006623959052376449,
-0.025015391409397125,
0.016473999246954918,
0.008310792036354542,
0.014453952200710773,
-0.014481623657047749,
-0.03372281417250633,
-0.010432303883135319,
0.07674337923526764,
-0.0005488258902914822,
0.007070168387144804,
0.05600791051983833,
-0.004136947914958,
-0.047853924334049225,
0.00600480055436492,
-0.01483213435858488,
0.03870375454425812,
0.02228509820997715,
-0.0658591017127037,
-0.001461998326703906,
-0.01664925552904606,
-0.0029032425954937935,
0.03250524774193764,
-0.05486413836479187,
0.04541879892349243,
0.02261715941131115,
0.011548402719199657,
-0.0777764618396759,
-0.013633019290864468,
-0.042393337935209274,
-0.0024420444387942553,
0.003535084193572402,
-0.00807096902281046,
-0.05099007487297058,
0.005349899176508188,
0.04353711009025574,
0.006502894684672356,
-0.019499460235238075,
-0.035198647528886795,
0.03800273314118385,
0.04113887995481491,
0.04154473543167114,
-0.021694764494895935,
0.00793260894715786,
-0.011188668198883533,
-0.007060944568365812,
-0.01159452274441719,
-0.011935809627175331,
-0.04265160858631134,
-0.03460831195116043,
-0.0013351688394322991,
0.005446750670671463,
-0.0006133936112746596,
0.027985507622361183,
0.011041085235774517,
0.04132336005568504,
0.013946633785963058,
-0.023152150213718414,
0.0017421762458980083,
0.03106631152331829,
0.02492315135896206,
0.04331573471426964,
-0.05150661617517471,
-0.03704344108700752,
0.007831145077943802,
0.011668314225971699,
0.0031545956153422594,
-0.02582709863781929,
-0.01372525840997696,
0.0006727728759869933,
0.007360723335295916,
0.002303685061633587,
-0.03844548389315605,
-0.04726359248161316,
0.02903703972697258,
0.004457480739802122,
0.06408810615539551,
0.0030439081601798534,
0.028483601287007332,
0.008587510325014591,
0.006525954697281122,
0.05132213607430458,
-0.008255448192358017,
-0.03340919688344002,
0.013051909394562244,
0.028280673548579216,
0.009851193986833096,
-0.007854205556213856,
-0.0016845264472067356,
0.044939152896404266,
0.025956235826015472,
0.007951057516038418,
0.00303237815387547,
0.007522142957895994,
-0.03512485697865486,
-0.025642620399594307,
0.043979860842227936,
-0.010561439208686352,
-0.001694903359748423,
0.08168742805719376,
-0.06744562834501266,
-0.028741871938109398,
-0.022746294736862183,
-0.0023578759282827377,
-0.038962025195360184,
0.00012221751967445016,
0.07032350450754166,
0.0008295802981592715,
-0.0451236329972744,
0.023650243878364563,
-0.0348665826022625,
0.004967104643583298,
-0.012037273496389389,
-0.028114642947912216,
-0.014564638957381248,
-0.07541512697935104,
-0.022820087149739265,
0.028538944199681282,
0.025292109698057175,
0.0021007577888667583,
-0.009413055144250393,
0.0038971249014139175,
0.028723424300551414,
0.04394296556711197,
-0.001925502554513514,
0.05859062075614929,
0.013651466928422451,
-0.08618871867656708,
-0.005949456710368395,
-0.02626984938979149,
0.05110076069831848,
-0.020735470578074455,
-0.10677661001682281,
-0.04929286241531372,
-0.0343131460249424,
0.020384959876537323,
0.06493670493364334,
-0.017516307532787323,
0.038187213242053986,
-0.02728448621928692,
0.06515808403491974,
-0.028391361236572266,
0.05124834552407265,
0.017645442858338356,
0.04652567580342293,
0.040253378450870514,
0.0065075065940618515,
-0.04929286241531372,
0.0014008895959705114,
-0.0283544659614563,
0.01125323586165905,
-0.06320260465145111,
0.030143914744257927,
-0.028723424300551414,
-0.035936564207077026,
-0.00671043386682868,
-0.01342086773365736,
-0.01664925552904606,
-0.04128646478056908,
-0.021971482783555984,
-0.028040850535035133,
-0.008504495024681091,
-0.007254647556692362,
-0.06799906492233276,
-0.015846770256757736,
0.037504639476537704,
0.012028048746287823,
0.05958680808544159,
-0.08360601216554642,
0.014859805814921856,
-0.05907026678323746,
-0.0057511418126523495,
0.01659391075372696,
0.014426279813051224,
-0.052576594054698944,
-0.04136025533080101,
-0.09408443421125412,
0.019370324909687042,
0.0277456846088171,
0.08862384408712387,
0.02733982913196087,
-0.02154717966914177,
0.003159207757562399,
0.02846515364944935,
-0.043463319540023804,
-0.02983029931783676,
-0.008287731558084488,
-0.01574530638754368,
0.004962492734193802,
-0.018263448029756546,
0.0444595068693161,
0.00482413312420249,
-0.030697353184223175,
0.0019301144639030099,
-0.032265424728393555,
0.014546191319823265,
0.006350699346512556,
-0.03372281417250633,
0.11157307028770447,
0.01440783217549324,
0.020016001537442207,
-0.055011723190546036,
-0.03669292852282524,
-0.008582898415625095,
-0.042799193412065506,
-0.007480634842067957,
0.03101096674799919,
-0.04305746406316757,
-0.010358511470258236,
-0.00189206562936306,
-0.06445705890655518,
-0.03578897938132286,
0.03534623235464096,
0.01716579683125019,
-0.021288909018039703,
-0.027505861595273018,
0.013826722279191017,
0.012978117913007736,
-0.009740506298840046,
0.08397497236728668,
-0.010450751520693302,
-0.006341475527733564,
0.01575453020632267,
0.04626740515232086,
-0.03436848893761635,
0.04844425991177559,
0.07917850464582443,
0.03010701946914196,
0.03785514831542969,
-0.03754153475165367,
-0.029682716354727745,
0.0035281663294881582,
-0.0788833424448967,
-0.05420001223683357,
-0.017691563814878464,
-0.018503272905945778,
0.06770389527082443,
0.014472399838268757,
0.019222741946578026,
0.028612736612558365,
0.015044285915791988,
0.0333169586956501,
0.02722914144396782,
0.017599323764443398,
0.007572874426841736,
0.04331573471426964,
0.0041277240961790085,
-0.0023682527244091034,
0.047853924334049225,
0.024960046634078026,
0.007065556477755308,
-0.03770756348967552,
-0.01840180903673172,
0.005087016150355339,
0.006101652048528194,
0.015736082568764687,
0.03573363646864891,
0.016335640102624893,
0.025845548138022423,
-0.0024927763734012842,
0.03296644613146782,
0.0014366323594003916,
-0.022746294736862183,
0.03800273314118385,
0.02390851452946663,
-0.02508918195962906,
-0.005732693709433079,
-0.0026288297958672047,
-0.061025746166706085,
-0.035936564207077026,
-0.023816274479031563,
0.00004633600838133134,
0.010109464637935162,
-0.0344238355755806,
0.012166408821940422,
-0.027044663205742836,
-0.0011795144528150558,
-0.045160528272390366,
0.03337230160832405,
0.05870130658149719,
0.001945103402249515,
-0.012655278667807579,
-0.040437858551740646,
0.014112665317952633,
0.10537456721067429,
-0.01852172054350376,
0.040032003074884415,
-0.06132091209292412,
-0.027505861595273018,
-0.03281886503100395,
-0.039921317249536514,
-0.01833724044263363,
-0.03250524774193764,
-0.02245112881064415,
0.030918728560209274,
-0.004699609708040953,
-0.016557015478610992,
0.06010334938764572,
0.035752084106206894,
0.009768177755177021,
-0.0014908232260495424,
0.02401920221745968,
0.025568827986717224,
0.016557015478610992,
-0.021252013742923737,
-0.011769778095185757,
0.02042185701429844,
0.03560450300574303,
-0.022930774837732315,
-0.0010204010177403688,
0.04017958790063858,
0.01901981420814991,
0.015182645060122013,
-0.03318782150745392,
0.012784413993358612,
0.07179933786392212,
-0.040769919753074646,
0.07593167573213577,
0.046968426555395126,
0.012599934823811054,
-0.008601346984505653,
0.030309945344924927,
0.01350388303399086,
-0.018032850697636604,
-0.016907526180148125,
-0.02053254470229149,
0.00239131273701787,
-0.06320260465145111,
0.026878630742430687,
-0.010994965210556984,
0.024554193019866943,
0.04021648317575455,
-0.0028294508811086416,
-0.05360968038439751,
-0.004644265864044428,
-0.013402420096099377,
0.019093606621026993,
-0.01535790041089058,
0.013688363134860992,
0.026933975517749786,
0.0030093183740973473,
0.07515686005353928,
-0.027764132246375084,
-0.014583087526261806,
0.039699941873550415,
0.02453574538230896,
0.01074591837823391,
-0.010736694559454918,
-0.025144526734948158,
-0.01063523069024086,
-0.02953513339161873,
0.0041254181414842606,
0.019001366570591927,
0.028557393699884415,
0.03180423006415367,
-0.06726114451885223,
-0.04449640214443207,
-0.03292955085635185,
0.06397741287946701,
0.04102819412946701,
0.051063865423202515,
-0.03246835246682167,
0.06759320944547653,
-0.02324439026415348,
-0.08109709620475769,
-0.005299167241901159,
0.01986841857433319,
-0.05324072018265724,
-0.09629818797111511,
-0.10375114530324936,
0.005183867644518614,
0.049440447241067886,
-0.03348299115896225,
0.0021076758857816458,
-0.021860795095562935,
0.05988197401165962,
0.05763132870197296,
-0.0005027060396969318,
0.004722669720649719,
-0.006014024373143911,
-0.011345475912094116,
-0.05113765597343445,
-0.023059910163283348,
-0.05390484631061554,
0.025697963312268257,
-0.008333851583302021,
0.0343131460249424,
-0.037781357765197754,
-0.053314514458179474,
0.05135903134942055,
-0.011096429079771042,
0.004231493454426527,
0.0055620502680540085,
-0.011539178900420666,
0.009145560674369335,
0.003302179044112563,
-0.00756826251745224,
-0.004911760799586773,
-0.048481155186891556,
0.018208105117082596,
-0.05401553213596344,
0.013679138384759426,
-0.07873576134443283,
-0.04497604817152023,
-0.053203824907541275,
-0.0073238275945186615,
0.08950934559106827,
0.0007044802769087255,
0.004063155967742205,
-0.07630062848329544,
0.027782579883933067,
-0.03999510779976845,
0.0021180526819080114,
0.012092617340385914,
0.01170521043241024,
-0.04575086385011673,
0.016224952414631844,
-0.043241944164037704,
0.04818598926067352,
-0.024443505331873894,
0.030475977808237076,
0.02031116932630539,
-0.017424067482352257,
-0.0023521108087152243,
-0.03647155314683914,
-0.03414711356163025,
-0.03163819760084152,
-0.006313803605735302,
-0.056967202574014664,
0.024037649855017662,
0.020790815353393555,
0.027524309232831,
0.047116007655858994,
-0.033095583319664,
-0.030918728560209274,
-0.03449762612581253,
-0.0003620405914261937,
0.025679515674710274,
-0.03066045604646206,
0.011299355886876583,
-0.011299355886876583,
0.01694442145526409,
0.03678517043590546,
0.019499460235238075,
-0.013383971527218819,
0.042688507586717606,
-0.056745827198028564,
-0.009869641624391079,
-0.012931997887790203,
0.04671015590429306,
-0.01521954033523798,
0.005137748084962368,
-0.027432069182395935,
0.02780102752149105,
-0.01299656555056572,
-0.001516189076937735,
-0.011142549104988575,
-0.0795474648475647,
-0.05124834552407265,
0.0016902914503589272,
-0.017248813062906265,
-0.004810297396034002,
-0.010533766821026802,
0.01844792813062668,
0.00034416915150359273,
-0.019425667822360992,
-0.06150539219379425,
0.11791915446519852,
0.011428491212427616,
-0.019683940336108208,
0.04778013378381729,
0.016114264726638794,
0.007927997037768364,
-0.05058421939611435,
0.013808274641633034,
-0.01125323586165905,
0.025679515674710274,
0.003230693517252803,
-0.05099007487297058,
-0.014426279813051224,
0.0017767660319805145,
0.050621114671230316,
-0.07209450006484985,
0.03372281417250633,
0.029387550428509712,
0.016557015478610992,
-0.007586710620671511,
0.011779001913964748,
-0.02099374309182167,
-0.030697353184223175,
-0.003915572538971901,
-0.001391665544360876,
0.00542830303311348,
0.017239589244127274,
-0.03458986431360245,
-0.026362089440226555,
0.002840980887413025,
0.018355688080191612,
-0.02824377827346325,
-0.05099007487297058,
0.007812697440385818,
-0.02634364180266857,
0.05279796943068504,
-0.011797450482845306,
-0.06611737608909607,
-0.01907515712082386,
-0.06246468424797058,
0.031656645238399506,
0.036323972046375275,
0.04737427830696106,
-0.01962859556078911,
0.03239456191658974,
0.027136903256177902,
-0.07681716978549957,
0.027727236971259117,
-0.03732015937566757,
-0.06154228746891022,
-0.004750341642647982,
0.07792405039072037,
0.05316692963242531,
-0.018530944362282753,
0.014536967501044273,
-0.023318180814385414,
-0.044828467071056366,
0.022746294736862183,
0.009440727531909943,
-0.0451236329972744,
-0.05209694802761078,
0.016741495579481125,
-0.01010024081915617,
-0.0336490198969841,
0.05135903134942055,
-0.05859062075614929,
-0.006092428229749203,
0.03735705465078354,
-0.0551593042910099,
-0.002213751431554556,
0.029332205653190613,
0.03746774047613144,
-0.030365290120244026,
0.01212951261550188,
0.015321004204452038,
0.026417432352900505,
0.00011825410183519125,
-0.014094216749072075,
-0.011373147368431091,
-0.05313003435730934,
0.0033875007648020983,
0.012166408821940422,
0.02104908600449562,
0.04106508940458298,
-0.052650388330221176,
-0.018217328935861588,
0.05316692963242531,
-0.0664125382900238,
-0.051801782101392746,
-0.01637253724038601,
-0.015413244254887104,
-0.0443488210439682,
0.012074168771505356,
-0.04748496785759926,
-0.0039017368108034134,
0.013946633785963058,
0.06810975074768066,
0.044533297419548035,
0.04855494573712349,
-0.003993976395577192,
0.03748619183897972,
0.04840736463665962,
0.02621450647711754,
0.015855994075536728,
-0.01592056266963482,
-0.06168987229466438,
-0.007079392671585083,
0.006834957282990217,
0.0008047908777371049,
0.03984752669930458,
0.026970870792865753,
0.02149183675646782,
-0.06287053972482681,
0.013208716176450253,
-0.015551603399217129,
0.025181422010064125,
0.1105399876832962,
0.0007863429491408169,
0.042282652109861374,
0.002566568087786436
] |
23,192 | flask.app | process_response | Can be overridden in order to modify the response object
before it's sent to the WSGI server. By default this will
call all the :meth:`after_request` decorated functions.
.. versionchanged:: 0.5
As of Flask 0.5 the functions registered for after request
execution are called in reverse order of registration.
:param response: a :attr:`response_class` object.
:return: a new response object or the same, has to be an
instance of :attr:`response_class`.
| def process_response(self, response: Response) -> Response:
"""Can be overridden in order to modify the response object
before it's sent to the WSGI server. By default this will
call all the :meth:`after_request` decorated functions.
.. versionchanged:: 0.5
As of Flask 0.5 the functions registered for after request
execution are called in reverse order of registration.
:param response: a :attr:`response_class` object.
:return: a new response object or the same, has to be an
instance of :attr:`response_class`.
"""
ctx = request_ctx._get_current_object() # type: ignore[attr-defined]
for func in ctx._after_request_functions:
response = self.ensure_sync(func)(response)
for name in chain(request.blueprints, (None,)):
if name in self.after_request_funcs:
for func in reversed(self.after_request_funcs[name]):
response = self.ensure_sync(func)(response)
if not self.session_interface.is_null_session(ctx.session):
self.session_interface.save_session(self, ctx.session, response)
return response
| (self, response: flask.wrappers.Response) -> flask.wrappers.Response | [
0.03722183033823967,
0.004988540429621935,
-0.0909331738948822,
0.004826424643397331,
0.0499873049557209,
-0.004435030277818441,
-0.04320622608065605,
0.08730177581310272,
0.023770835250616074,
0.005868598818778992,
0.062400758266448975,
-0.03857434168457985,
0.053803980350494385,
-0.02536420337855816,
0.05117306858301163,
0.0036499255802482367,
0.05321109667420387,
-0.02538273110985756,
0.012635783292353153,
-0.11205457150936127,
0.06606920808553696,
0.03144123777747154,
-0.0002281203487655148,
0.010727446526288986,
-0.056953661143779755,
-0.02364114299416542,
-0.030033143237233162,
0.008550460450351238,
0.036128703504800797,
0.02271476574242115,
0.042020462453365326,
-0.04135347157716751,
0.0500984713435173,
-0.006818135268986225,
0.05261821672320366,
0.022047773003578186,
-0.042872730642557144,
0.020602624863386154,
-0.04780105501413345,
0.015229638665914536,
-0.031144795939326286,
0.0022325688041746616,
-0.0407605916261673,
0.01114431582391262,
0.049283258616924286,
0.05758359655737877,
-0.037018027156591415,
0.06884834170341492,
0.03351632133126259,
0.047912221401929855,
0.03216380998492241,
-0.033405154943466187,
0.0010161198442801833,
-0.012339342385530472,
0.015803992748260498,
-0.0021758282091468573,
-0.0011023887200281024,
0.005928813014179468,
-0.044688429683446884,
-0.05087662860751152,
0.02771720103919506,
0.0453183650970459,
-0.012506090104579926,
-0.0090784952044487,
0.02541978657245636,
0.029329096898436546,
0.007790830917656422,
0.0027721833903342485,
0.0073091150261461735,
-0.024271078407764435,
-0.03551729768514633,
-0.011626032181084156,
0.014062403701245785,
0.0454295314848423,
-0.012811794877052307,
-0.0053127724677324295,
0.017406625673174858,
-0.04806044325232506,
0.02176986075937748,
-0.011477811262011528,
0.014293997548520565,
-0.007406384684145451,
0.0055119432508945465,
-0.018527541309595108,
0.02449340932071209,
-0.037536799907684326,
0.030107254162430763,
-0.028921492397785187,
-0.10345778614282608,
0.07110869884490967,
-0.01651730202138424,
-0.0019199164817109704,
0.0408717542886734,
0.04680056869983673,
0.0027698674239218235,
-0.02360408753156662,
-0.0026795456651598215,
0.004854215774685144,
0.024919543415308,
-0.04179813340306282,
-0.030551915988326073,
0.07329495251178741,
0.008328129537403584,
0.03801851347088814,
0.039760101586580276,
-0.0020947700832039118,
0.025123344734311104,
-0.06618037819862366,
0.02593855746090412,
-0.015164792537689209,
0.005845439154654741,
-0.019731830805540085,
-0.024289606139063835,
-0.0007862625061534345,
-0.02819891832768917,
-0.01908336766064167,
-0.04039004072546959,
0.02636469155550003,
-0.004956117365509272,
-0.01989857852458954,
-0.021992191672325134,
-0.041094087064266205,
0.040686480700969696,
-0.01452559232711792,
-0.015526079572737217,
0.03510969132184982,
0.025327147915959358,
0.006114088464528322,
0.012172594666481018,
0.014062403701245785,
-0.022548018023371696,
0.01717502996325493,
-0.009893706999719143,
0.004932957701385021,
-0.00792978797107935,
0.037407103925943375,
-0.04324328154325485,
-0.027828367426991463,
-0.02175133302807808,
0.012320814654231071,
0.028828853741288185,
0.002994513837620616,
0.02358555980026722,
-0.008175277151167393,
0.030199892818927765,
-0.0019928687252104282,
0.0032840066123753786,
0.018138462677598,
-0.002899560146033764,
-0.040093597024679184,
0.0024618469178676605,
-0.005627740640193224,
0.06907067447900772,
0.014331053011119366,
-0.08329982310533524,
0.04939442500472069,
-0.027494870126247406,
0.017573373392224312,
0.0361657589673996,
-0.0864124521613121,
0.006262308917939663,
-0.0341092012822628,
-0.019842997193336487,
-0.059695735573768616,
0.042909786105155945,
-0.006215990055352449,
0.00008713734132470563,
0.0064197927713394165,
0.027050210162997246,
0.010959040373563766,
-0.02629058063030243,
0.012561672367155552,
0.0271799024194479,
-0.028773270547389984,
-0.021640168502926826,
0.0865606740117073,
0.07225740700960159,
-0.060140397399663925,
-0.005762065295130014,
0.029625538736581802,
0.06436467915773392,
-0.06899656355381012,
-0.01956508308649063,
0.027383705601096153,
-0.011616768315434456,
0.03842611983418465,
-0.0007214161450974643,
0.03661042079329491,
0.0015586294466629624,
0.07418427616357803,
0.011653823778033257,
0.016137488186359406,
0.04172402247786522,
-0.024419298395514488,
-0.0006264624535106122,
0.02312237210571766,
-0.02399316616356373,
-0.004337760619819164,
0.008578251115977764,
-0.06688442081212997,
-0.040130652487277985,
-0.009884443134069443,
-0.009407359175384045,
-0.009092390537261963,
-0.014006821438670158,
0.07103459537029266,
0.012367133982479572,
0.017471471801400185,
-0.06933005899190903,
-0.02814333513379097,
-0.047393448650836945,
0.0009663270902819932,
0.0272910688072443,
-0.04413260146975517,
-0.005201607011258602,
-0.007772303652018309,
0.027142846956849098,
-0.034665029495954514,
0.025975612923502922,
-0.006202094256877899,
0.001946549746207893,
0.010727446526288986,
-0.05487857758998871,
0.019787413999438286,
-0.03950071707367897,
-0.0204729326069355,
-0.02315942570567131,
-0.011588976718485355,
0.013728908263146877,
-0.016906380653381348,
-0.05758359655737877,
0.07173863798379898,
0.017082393169403076,
-0.03964893892407417,
0.0362028144299984,
0.016776688396930695,
0.01945391856133938,
0.02541978657245636,
-0.039760101586580276,
0.03798145800828934,
0.036573365330696106,
0.003263163147494197,
0.018481222912669182,
-0.028754742816090584,
-0.06488344818353653,
0.04353972151875496,
0.006067769601941109,
0.047022897750139236,
0.013126762583851814,
-0.0027050210628658533,
-0.02221452258527279,
-0.043317392468452454,
0.016433928161859512,
-0.042428068816661835,
0.0057852244935929775,
0.012598727829754353,
-0.03583226352930069,
0.05613844841718674,
-0.00622525392100215,
0.04869037866592407,
0.04394732788205147,
0.04806044325232506,
-0.018342265859246254,
-0.011487075127661228,
-0.015887366607785225,
0.036036066710948944,
0.011737197637557983,
-0.00032712690881453454,
-0.03681422397494316,
0.011959527619183064,
0.09382347017526627,
0.023807890713214874,
-0.0020276077557355165,
-0.01178351603448391,
0.004675887990742922,
-0.005474888253957033,
0.027939531952142715,
-0.008541196584701538,
-0.08908041566610336,
0.020157964900135994,
0.07133103162050247,
-0.05254410579800606,
0.025771809741854668,
0.000040999420889420435,
0.00025808284408412874,
0.011931736022233963,
-0.008666257373988628,
0.13888244330883026,
0.04227984696626663,
-0.03718477487564087,
0.03864844888448715,
-0.008703312836587429,
0.013515841215848923,
0.014025348238646984,
-0.05132129043340683,
0.00843003112822771,
-0.10975715517997742,
0.010273521766066551,
0.010153092443943024,
-0.003814357565715909,
0.025530951097607613,
0.020658208057284355,
0.011097997426986694,
0.0452442541718483,
0.046133577823638916,
-0.0071423668414354324,
0.09026618301868439,
0.04487370327115059,
-0.03757385164499283,
0.03255289047956467,
0.0033048500772565603,
0.057842984795570374,
-0.026994626969099045,
-0.03809262439608574,
-0.06025156378746033,
0.01854606904089451,
0.021658696234226227,
0.01450706459581852,
-0.028717689216136932,
0.03994537889957428,
-0.05076546221971512,
0.021584585309028625,
0.03583226352930069,
0.03503558039665222,
0.04342855513095856,
0.04665234684944153,
0.041057031601667404,
0.03145976364612579,
0.0045855664648115635,
0.008814477361738682,
-0.023400284349918365,
-0.008638465777039528,
-0.09597266465425491,
0.006095561198890209,
-0.032404668629169464,
-0.02586444653570652,
-0.026661131531000137,
-0.037018027156591415,
0.019639194011688232,
-0.054211586713790894,
-0.06751435995101929,
-0.03142270818352699,
0.003788882168009877,
0.006137248128652573,
-0.05662016570568085,
0.019620666280388832,
-0.021510474383831024,
0.021028758957982063,
0.002422475954517722,
-0.044206712394952774,
-0.012126275338232517,
-0.03681422397494316,
0.00945367757230997,
0.03086688369512558,
-0.016758160665631294,
-0.07877910137176514,
-0.004580934531986713,
-0.0005682744085788727,
-0.02866210602223873,
-0.014192096889019012,
-0.006095561198890209,
0.058769360184669495,
-0.018935147672891617,
0.00206466275267303,
-0.007406384684145451,
-0.021510474383831024,
-0.059288132935762405,
-0.01064407266676426,
-0.03412773087620735,
-0.01297854259610176,
-0.00919429212808609,
0.002693441230803728,
0.009110918268561363,
0.0272540133446455,
0.041168197989463806,
0.005141392815858126,
-0.023252064362168312,
0.005544366780668497,
-0.060177452862262726,
0.04809749498963356,
0.022381270304322243,
-0.004627253394573927,
-0.060548003762960434,
-0.01268210168927908,
0.014664548449218273,
-0.0249380711466074,
0.014970253221690655,
-0.026920517906546593,
-0.02808775193989277,
0.016813743859529495,
0.011199899017810822,
-0.03733299672603607,
-0.05621255934238434,
0.01796245016157627,
-0.02686493471264839,
-0.01991710625588894,
-0.05387808755040169,
0.015850311145186424,
0.04172402247786522,
-0.0035179168917238712,
0.07411016523838043,
0.006215990055352449,
-0.005799120292067528,
-0.018221836537122726,
0.014080931432545185,
-0.005201607011258602,
0.032515835016965866,
0.034683555364608765,
0.010940512642264366,
0.013200872577726841,
-0.014025348238646984,
-0.01999121718108654,
0.011060941964387894,
-0.07351728528738022,
-0.04172402247786522,
0.025178927928209305,
0.01726766861975193,
0.06758847087621689,
0.041168197989463806,
0.011209161952137947,
0.058732304722070694,
0.057917091995477676,
0.0032006327528506517,
0.019194532185792923,
-0.008059480227530003,
-0.01771232858300209,
0.0026193310040980577,
0.025086291134357452,
-0.030718663707375526,
0.021992191672325134,
0.037370048463344574,
-0.030718663707375526,
-0.04628179594874382,
-0.013728908263146877,
0.04935736954212189,
-0.04505898058414459,
0.01087566651403904,
-0.002364577492699027,
-0.04902387410402298,
0.051543619483709335,
0.002066978719085455,
0.03762943670153618,
0.017842022702097893,
-0.008967329747974873,
0.06933005899190903,
0.0037471952382475138,
-0.05276643857359886,
-0.033423684537410736,
0.03842611983418465,
-0.05947340652346611,
-0.004895902704447508,
-0.03412773087620735,
-0.009689903818070889,
0.026642603799700737,
-0.023344701156020164,
-0.032515835016965866,
0.01176498830318451,
-0.05143245309591293,
-0.015766937285661697,
0.04265039786696434,
-0.03210822865366936,
-0.008656993508338928,
0.031070686876773834,
-0.010745974257588387,
0.008888587355613708,
0.046059466898441315,
0.014803505502641201,
0.02308531664311886,
-0.033331047743558884,
-0.014479272998869419,
-0.014933197759091854,
-0.05032080039381981,
-0.01063480880111456,
-0.05550851300358772,
-0.016971226781606674,
-0.01295075099915266,
0.00543783325701952,
-0.033405154943466187,
-0.015850311145186424,
0.029125293716788292,
-0.008619938045740128,
0.07525887340307236,
-0.015257430262863636,
-0.007948314771056175,
0.006651387084275484,
-0.06618037819862366,
0.0726650133728981,
-0.01655435748398304,
0.0024942702148109674,
-0.01269136555492878,
0.0063317869789898396,
0.015081418678164482,
-0.015072154812514782,
-0.014395899139344692,
-0.05802825838327408,
0.022381270304322243,
0.026568494737148285,
-0.045577749609947205,
0.03586931899189949,
-0.048801541328430176,
-0.013321301899850368,
-0.02905118465423584,
0.01989857852458954,
0.024641629308462143,
-0.023956110700964928,
-0.03994537889957428,
-0.03909311071038246,
0.005414674058556557,
-0.020269129425287247,
0.0453183650970459,
-0.03857434168457985,
0.007980738766491413,
-0.013098971918225288,
-0.03640661761164665,
-0.02769867330789566,
0.036573365330696106,
-0.04050120338797569,
-0.006169671192765236,
0.03447975218296051,
0.0339980386197567,
0.011598240584135056,
-0.022510962560772896,
0.08478202670812607,
0.01908336766064167,
-0.011450020596385002,
-0.021139923483133316,
0.06073328107595444,
-0.007800094783306122,
0.025975612923502922,
-0.038759615272283554,
-0.02862505055963993,
-0.010588489472866058,
-0.010801556520164013,
-0.018972201272845268,
0.05632372573018074,
0.014877615496516228,
-0.06177082285284996,
-0.061066776514053345,
-0.023492921143770218,
-0.0015783149283379316,
0.02443782612681389,
0.04780105501413345,
-0.00532666826620698,
0.022881513461470604,
-0.0634383037686348,
-0.09271181374788284,
0.0014810452703386545,
-0.06403118371963501,
-0.0026540702674537897,
-0.05506385117769241,
-0.12198533117771149,
-0.008907115086913109,
0.05943635106086731,
0.0012077640276402235,
-0.03207117319107056,
-0.015600189566612244,
0.026920517906546593,
0.03987126797437668,
-0.005896389950066805,
-0.007735248189419508,
-0.04035298526287079,
0.007355433888733387,
-0.02671671472489834,
-0.03725888580083847,
0.023844946175813675,
0.04857921227812767,
0.03998243436217308,
0.03260847181081772,
-0.01543344184756279,
-0.01426620688289404,
0.047838110476732254,
0.032867856323719025,
-0.008865428157150745,
-0.00839297566562891,
-0.0025822760071605444,
0.04302094876766205,
0.06132616102695465,
0.011264745146036148,
0.023881999775767326,
-0.0076704020611941814,
0.003147365991026163,
-0.022381270304322243,
-0.013562159612774849,
-0.027346650138497353,
-0.0681442990899086,
-0.00826791487634182,
0.0020310815889388323,
0.09300825744867325,
-0.002260359935462475,
0.0008001581882126629,
-0.06514283269643784,
-0.012126275338232517,
0.04350266605615616,
-0.051506564021110535,
0.03446122631430626,
0.0181569904088974,
-0.036036066710948944,
0.0013999873772263527,
-0.06273425370454788,
0.004011212848126888,
0.028865909203886986,
0.06454995274543762,
0.006850558333098888,
-0.020658208057284355,
0.0499502494931221,
-0.037370048463344574,
-0.03950071707367897,
-0.019602138549089432,
-0.05224766582250595,
-0.012839585542678833,
-0.056953661143779755,
0.013413939625024796,
0.03486883267760277,
0.0012147119268774986,
-0.020157964900135994,
-0.030292529612779617,
-0.06773669272661209,
0.015322276391088963,
0.0013779858127236366,
-0.011264745146036148,
0.03633250668644905,
-0.021251089870929718,
-0.0181569904088974,
0.05317404121160507,
-0.011626032181084156,
0.013969765976071358,
0.062400758266448975,
0.005484152119606733,
-0.023881999775767326,
0.0039695254527032375,
-0.032460253685712814,
0.014923933893442154,
-0.008244755677878857,
-0.03145976364612579,
0.06480933725833893,
-0.022955622524023056,
-0.044799596071243286,
-0.02408580295741558,
-0.008652362041175365,
-0.027883948758244514,
0.07555530965328217,
-0.0632900819182396,
0.014145777560770512,
-0.04691173508763313,
-0.0034090676344931126,
0.007725984789431095,
0.04961675405502319,
-0.019361279904842377,
0.07892732322216034,
-0.035146746784448624,
-0.021139923483133316,
0.05554556846618652,
-0.04031592980027199,
0.0020171860232949257,
-0.03405361995100975,
-0.034313004463911057,
-0.007605555467307568,
0.033757179975509644,
-0.026012668386101723,
0.04176107794046402,
0.006248413119465113,
-0.02275182120501995,
0.01662846840918064,
-0.0728132352232933,
0.06002923473715782,
0.017842022702097893,
0.004052899777889252,
0.0295514278113842,
0.03762943670153618,
0.009384199976921082,
0.01024573016911745,
0.012997070327401161,
0.005757433362305164,
0.01295075099915266,
-0.028384193778038025,
-0.013747435063123703,
-0.03344221040606499,
0.01361774280667305,
0.051098957657814026,
0.025067763403058052,
-0.048838596791028976,
0.028810326009988785,
-0.04454020783305168,
0.011996583081781864,
0.02671671472489834,
-0.056990716606378555,
0.05413747578859329,
-0.049209147691726685,
-0.012274496257305145,
-0.05184005945920944,
0.03762943670153618,
-0.044688429683446884,
0.016952700912952423,
0.00737859308719635,
-0.06621742993593216,
0.025568006560206413,
-0.00897196214646101,
-0.06647681444883347,
-0.0043169171549379826,
0.05684249475598335,
0.04142758250236511,
-0.015655772760510445,
0.015035099349915981,
0.011505602858960629,
-0.021251089870929718,
0.016656259074807167,
-0.04261334612965584,
-0.04435493424534798,
0.004356287885457277,
0.029866395518183708,
-0.043799106031656265,
0.023770835250616074,
0.06892245262861252,
-0.006438320502638817,
-0.043762050569057465,
0.057398322969675064,
-0.027402233332395554,
-0.016433928161859512,
0.038796670734882355,
0.011922473087906837,
-0.11605651676654816,
-0.005743537563830614,
0.04454020783305168,
-0.0066004362888634205,
-0.000003256794343542424,
-0.033405154943466187,
0.022585071623325348,
-0.015211110934615135,
0.01020867470651865,
0.01794392429292202,
-0.03964893892407417,
-0.01798097789287567,
-0.10338368266820908,
0.02906971238553524,
0.0023101528640836477,
-0.04761578142642975,
-0.03575815260410309,
-0.009416623041033745,
-0.04302094876766205,
-0.02995903417468071,
0.011598240584135056,
-0.051543619483709335,
0.0204729326069355,
-0.002351839793846011,
0.04142758250236511,
-0.007837150245904922,
-0.0020831904839724302,
-0.002297415165230632,
0.007948314771056175,
0.058732304722070694,
0.07433249801397324,
0.008624570444226265,
-0.028828853741288185,
0.04687467962503433,
0.025623589754104614,
0.04961675405502319,
-0.0005042965058237314,
0.037055082619190216,
0.05580495297908783,
0.04594830051064491,
-0.04935736954212189,
0.030940992757678032,
-0.013284247368574142,
0.0018052773084491491,
0.06458700448274612,
0.03034811280667782,
0.03238614276051521,
0.00820770114660263
] |
23,193 | flask.scaffold | put | Shortcut for :meth:`route` with ``methods=["PUT"]``.
.. versionadded:: 2.0
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015973517671227455,
-0.03237561509013176,
0.030750585719943047,
0.051715269684791565,
-0.011643079109489918,
0.016071734949946404,
-0.010026976466178894,
0.0009665362886153162,
0.009303748607635498,
0.012473451904952526,
-0.03696499019861221,
0.008683200925588608,
0.04042934253811836,
0.012669883668422699,
0.0229647234082222,
0.04385797679424286,
-0.008924277499318123,
0.057001084089279175,
0.01919679343700409,
0.026982657611370087,
0.052572429180145264,
0.00036133499816060066,
0.005745645146816969,
0.00999126210808754,
0.01682174950838089,
-0.0178842693567276,
-0.020786110311746597,
0.0212504044175148,
0.06578696519136429,
0.0033080987632274628,
-0.0017846322152763605,
0.031197022646665573,
-0.034464940428733826,
0.048858072608709335,
0.05178670212626457,
0.015107430517673492,
-0.026750508695840836,
0.06435836851596832,
-0.03150060027837753,
-0.0037523035425692797,
-0.02673265151679516,
-0.03262562304735184,
0.06325120478868484,
0.008509090170264244,
0.036464981734752655,
0.011893083341419697,
0.022321853786706924,
0.012259162031114101,
0.032572049647569656,
0.01803605817258358,
0.050500962883234024,
0.007138528861105442,
0.0394650362432003,
0.005772431381046772,
0.035429246723651886,
0.0433579683303833,
0.031732745468616486,
-0.01919679343700409,
0.038286443799734116,
-0.018098559230566025,
-0.022375425323843956,
0.041143640875816345,
0.01950037106871605,
0.01608959212899208,
0.0035469424910843372,
-0.01254488155245781,
-0.023000437766313553,
-0.008781417272984982,
0.04003647714853287,
0.043393682688474655,
0.005951005965471268,
0.028571972623467445,
0.016536029055714607,
-0.003723285160958767,
0.05789395794272423,
0.027679098770022392,
-0.0318756066262722,
-0.044857997447252274,
0.010848420672118664,
-0.03614354506134987,
-0.022732576355338097,
0.03212561085820198,
-0.033393494784832,
0.03907217085361481,
-0.025107620283961296,
0.002169684274122119,
0.01676817610859871,
-0.032339900732040405,
0.017491403967142105,
0.0014453399926424026,
-0.03396493196487427,
0.0070179905742406845,
-0.01633959636092186,
0.006071544252336025,
-0.008607306517660618,
-0.04796519875526428,
-0.008964456617832184,
-0.010160908102989197,
-0.06771557778120041,
0.005812610499560833,
-0.022178994491696358,
0.03128631040453911,
0.03467923030257225,
0.02933984436094761,
0.08057296276092529,
-0.007942115887999535,
-0.0026094247587025166,
-0.02691122703254223,
-0.001666326425038278,
-0.006067079957574606,
0.0028058569878339767,
-0.041822224855422974,
-0.03148274123668671,
0.01925036683678627,
-0.007004597689956427,
-0.05650107562541962,
0.002372812945395708,
-0.012625240720808506,
-0.0035714965779334307,
-0.013714547269046307,
0.024857616052031517,
0.02362545020878315,
-0.03857216238975525,
-0.051036685705184937,
0.007973366416990757,
0.006968882866203785,
0.00866534374654293,
0.03176846355199814,
0.04510800167918205,
-0.08100154250860214,
-0.0005354454624466598,
0.04675089195370674,
-0.019393226131796837,
-0.009723399765789509,
-0.010857349261641502,
0.00283264322206378,
0.009910902939736843,
0.011518076062202454,
-0.029786281287670135,
0.018857501447200775,
-0.0398579016327858,
0.041500791907310486,
0.02782195806503296,
0.01657174341380596,
0.01284845918416977,
0.03505424037575722,
-0.027357663959264755,
0.024625468999147415,
-0.005419746041297913,
-0.00828587170690298,
0.008826061151921749,
-0.03214346989989281,
0.0031272917985916138,
0.022393284365534782,
-0.05235813930630684,
-0.005294743459671736,
0.023161156103014946,
0.05317958444356918,
0.04935808107256889,
0.0190717913210392,
-0.009232318960130215,
0.0010541495867073536,
-0.006093866191804409,
-0.032697051763534546,
0.009330534376204014,
0.01339311245828867,
-0.029607705771923065,
-0.012080587446689606,
0.006477802060544491,
0.051893845200538635,
-0.016696747392416,
-0.005763502791523933,
0.04085792228579521,
0.0229647234082222,
0.06564410775899887,
0.040107905864715576,
0.038715023547410965,
-0.004781341180205345,
0.049393799155950546,
0.033072058111429214,
0.012625240720808506,
-0.02708980068564415,
-0.024018313735723495,
-0.023161156103014946,
0.06296548247337341,
0.0970732793211937,
-0.013428826816380024,
0.013750261627137661,
-0.012259162031114101,
-0.00439517293125391,
0.05714394524693489,
0.00496438005939126,
0.020625391975045204,
-0.004042487591505051,
-0.04085792228579521,
-0.01900036260485649,
-0.02478618547320366,
0.012830601073801517,
0.05667965114116669,
-0.02375045232474804,
0.015562796033918858,
0.028750548139214516,
0.041750796139240265,
0.04003647714853287,
-0.038643594831228256,
0.055608201771974564,
0.059786852449178696,
0.016286024823784828,
-0.06132259592413902,
-0.013973480090498924,
0.054858189076185226,
-0.08643021434545517,
-0.0381435826420784,
0.0033973860554397106,
-0.018911074846982956,
-0.07110849767923355,
0.06553696095943451,
0.007683182135224342,
0.0034308689646422863,
0.025714775547385216,
0.0031563101802021265,
0.046858035027980804,
-0.03462566062808037,
-0.015777086839079857,
0.030214861035346985,
0.007473356556147337,
-0.0199289508163929,
-0.08157297968864441,
-0.05514390766620636,
-0.07321567833423615,
-0.005370637867599726,
0.029589848592877388,
0.02175041474401951,
-0.029250556603074074,
0.010482342913746834,
-0.027857672423124313,
0.051893845200538635,
-0.0014453399926424026,
-0.051715269684791565,
-0.0340542197227478,
0.0229647234082222,
-0.005187598988413811,
0.07164422422647476,
0.02944698929786682,
-0.03921503201127052,
0.007808184251189232,
-0.01980394870042801,
0.050500962883234024,
0.015946732833981514,
0.028500542044639587,
-0.03921503201127052,
0.011000209487974644,
-0.024804044514894485,
0.03135773912072182,
-0.00526795769110322,
0.0036808736622333527,
0.011018066667020321,
-0.04353654384613037,
0.005473318509757519,
0.04510800167918205,
-0.00909392349421978,
-0.05060810595750809,
0.05660822242498398,
0.03857216238975525,
-0.041929371654987335,
-0.012160945683717728,
-0.06450122594833374,
-0.005558141507208347,
-0.04992952197790146,
-0.01229487732052803,
0.05107240006327629,
-0.04246509447693825,
0.00003503484549582936,
0.005843861494213343,
-0.01618780754506588,
0.004906343296170235,
-0.05842968448996544,
-0.0681084394454956,
-0.02944698929786682,
-0.014660993590950966,
0.058393970131874084,
-0.06957275420427322,
0.050500962883234024,
0.033322062343358994,
-0.0619654655456543,
0.07260852307081223,
0.00036328815622255206,
0.05992971360683441,
0.020803967490792274,
-0.05832253769040108,
-0.015741370618343353,
0.02410760149359703,
0.04075077548623085,
0.005942077375948429,
0.03882216662168503,
-0.009129637852311134,
-0.08557305485010147,
-0.020875398069620132,
0.050250958651304245,
-0.06828701496124268,
-0.0027679097838699818,
-0.04996523633599281,
-0.1101449579000473,
0.05775110051035881,
0.04307224974036217,
-0.016991395503282547,
-0.023339729756116867,
0.0020636552944779396,
-0.047215186059474945,
-0.0027857674285769463,
-0.0028281789273023605,
0.09771614521741867,
-0.09085887670516968,
-0.01839320734143257,
0.05728680640459061,
0.024018313735723495,
-0.05228671059012413,
0.0014029284939169884,
0.007084956392645836,
0.039929330348968506,
-0.011946655809879303,
0.002274596830829978,
0.0028125536628067493,
0.042179375886917114,
0.011866297572851181,
-0.02782195806503296,
0.00901802908629179,
-0.020911112427711487,
-0.031250596046447754,
0.004892950411885977,
-0.04664374515414238,
-0.0009124057833105326,
0.027036229148507118,
0.011268071830272675,
-0.06300120055675507,
0.05307243764400482,
0.051822416484355927,
0.003165238769724965,
0.04835806414484978,
-0.00439517293125391,
0.01583065837621689,
0.007442106027156115,
-0.06117973476648331,
0.0069376323372125626,
-0.006884059868752956,
0.05192955955862999,
0.002794696018099785,
0.030036285519599915,
0.10864492505788803,
-0.035732824355363846,
0.03255419060587883,
-0.08307301253080368,
0.00014216230192687362,
-0.005459925625473261,
0.0038081081584095955,
-0.02071467973291874,
-0.05903683975338936,
-0.00995554681867361,
0.012035943567752838,
-0.04492942616343498,
-0.06053686887025833,
-0.041822224855422974,
-0.01998252421617508,
0.008584984578192234,
0.025768347084522247,
0.026268357411026955,
-0.04257223755121231,
-0.0028393398970365524,
-0.05525105074048042,
0.03341135010123253,
0.029125554487109184,
-0.03275062516331673,
0.009312677197158337,
-0.02519690804183483,
0.036054257303476334,
0.007553715258836746,
0.015339577570557594,
0.05410817265510559,
-0.044215127825737,
0.05775110051035881,
0.03925074636936188,
-0.021571839228272438,
-0.0650012344121933,
-0.029125554487109184,
0.03548282012343407,
-0.029732709750533104,
0.007669788785278797,
0.004562587011605501,
0.008442125283181667,
0.00777246942743659,
-0.004875092767179012,
0.018839644268155098,
-0.01841106452047825,
0.009000170975923538,
0.01980394870042801,
-0.01308953482657671,
-0.06425122171640396,
0.018928932026028633,
0.06510838121175766,
0.0170271098613739,
0.05396531522274017,
-0.05571534484624863,
0.11071639508008957,
0.01833963580429554,
0.04975094646215439,
0.033072058111429214,
-0.025250481441617012,
0.002079280558973551,
0.015875302255153656,
0.008544805459678173,
-0.018500352278351784,
-0.007174243684858084,
-0.023607593029737473,
0.00255808443762362,
-0.06650126725435257,
0.03232204541563988,
0.020303957164287567,
-0.010419840924441814,
0.0036920346319675446,
-0.014250271022319794,
0.030411293730139732,
0.02398259937763214,
-0.04646516963839531,
0.06721556931734085,
0.015777086839079857,
0.031554173678159714,
0.01129485759884119,
0.057429663836956024,
-0.02033967338502407,
0.03566139191389084,
-0.015214575454592705,
0.01038412656635046,
-0.0000688140862621367,
0.013375254347920418,
-0.031107734888792038,
-0.03091130219399929,
-0.035447102040052414,
-0.029375558719038963,
-0.028571972623467445,
0.06600125879049301,
-0.023464731872081757,
0.006486730650067329,
-0.01813427358865738,
-0.02994699962437153,
-0.02205399051308632,
-0.03346492350101471,
0.00858944933861494,
0.03455422818660736,
0.03800072520971298,
0.02023252844810486,
0.0038281979504972696,
0.04014362022280693,
-0.03921503201127052,
-0.0027478202246129513,
0.01942894048988819,
-0.01717889867722988,
0.0262326430529356,
-0.0671798512339592,
-0.019446799531579018,
0.039322178810834885,
0.0008677620789967477,
0.016473527997732162,
-0.04739375784993172,
-0.03850073367357254,
-0.0021362013649195433,
-0.006852808874100447,
0.009330534376204014,
-0.00762068061158061,
-0.054393891245126724,
-0.015902088955044746,
0.048250917345285416,
-0.06682270020246506,
-0.012598454020917416,
0.011419860646128654,
0.05957256257534027,
-0.008701058104634285,
-0.03250061720609665,
0.02385759726166725,
-0.004292492289096117,
-0.005366173572838306,
0.003580425400286913,
0.054501038044691086,
0.02635764516890049,
0.015803871676325798,
0.012643097899854183,
-0.03541138768196106,
0.07139421999454498,
-0.03348277881741524,
0.002783535048365593,
0.011589506641030312,
-0.02241114154458046,
0.03103630617260933,
0.05203670635819435,
-0.02957199141383171,
-0.010437699034810066,
-0.010169836692512035,
0.02458975464105606,
0.03308991715312004,
-0.005241171456873417,
-0.06321548670530319,
0.013741333037614822,
-0.002079280558973551,
-0.02691122703254223,
0.039500750601291656,
-0.01752712018787861,
-0.007540322374552488,
-0.07335854321718216,
-0.03466137498617172,
-0.037679288536310196,
0.016437813639640808,
0.03664355352520943,
0.021482551470398903,
-0.07085849344730377,
-0.024518324062228203,
0.03219704329967499,
-0.008178726769983768,
-0.0533224456012249,
-0.04371511936187744,
-0.01578601449728012,
-0.009759114123880863,
-0.0576796680688858,
0.021036114543676376,
0.046500883996486664,
-0.016098521649837494,
-0.01808962970972061,
-0.012259162031114101,
0.07557287067174911,
0.010196622461080551,
0.028643403202295303,
-0.02483975887298584,
-0.033125631511211395,
-0.0455365814268589,
-0.027857672423124313,
0.020000381395220757,
0.03566139191389084,
0.024696899577975273,
-0.1049305722117424,
0.0005220523453317583,
-0.0131163215264678,
-0.058572545647621155,
0.005834932439029217,
0.02800053358078003,
-0.06450122594833374,
0.041750796139240265,
-0.017393188551068306,
-0.06860844790935516,
-0.012044872157275677,
-0.025857634842395782,
-0.017464619129896164,
-0.06171546131372452,
-0.11657364666461945,
-0.03725070878863335,
0.05096525698900223,
0.022821862250566483,
0.01421455666422844,
-0.06260833144187927,
0.006571553647518158,
0.059179697185754776,
0.028625546023249626,
0.015107430517673492,
-0.05792967602610588,
0.058393970131874084,
-0.004140703938901424,
-0.0014832871966063976,
-0.018964646384119987,
0.008312658406794071,
0.0676441416144371,
0.03217918425798416,
-0.07571572810411453,
-0.08385874330997467,
0.02671479433774948,
0.06446551531553268,
-0.04396512359380722,
-0.00765193160623312,
-0.037750717252492905,
-0.0028192501049488783,
0.0318756066262722,
-0.031732745468616486,
0.0012120766332373023,
-0.06607268750667572,
-0.07728718966245651,
-0.020250385627150536,
-0.005459925625473261,
0.0050715249963104725,
-0.057108230888843536,
-0.052929580211639404,
0.011375216767191887,
0.05092954263091087,
-0.08543019741773605,
-0.022500429302453995,
-0.06553696095943451,
-0.06475123018026352,
-0.014768138527870178,
-0.048858072608709335,
0.03098273277282715,
-0.04207222908735275,
-0.004013469442725182,
-0.010919851250946522,
0.07993009686470032,
-0.025893351063132286,
-0.025786206126213074,
0.019036076962947845,
-0.0737156867980957,
-0.02357187680900097,
0.035804253071546555,
-0.03882216662168503,
-0.040893636643886566,
-0.03198275342583656,
-0.04978666082024574,
0.02258971519768238,
-0.01010733563452959,
0.005727787502110004,
0.06410836428403854,
-0.024018313735723495,
0.003968825563788414,
0.004042487591505051,
-0.053358159959316254,
-0.0153931500390172,
0.030714871361851692,
-0.020964685827493668,
-0.025589773431420326,
-0.019589658826589584,
-0.009705541655421257,
0.01239309273660183,
0.02405402995646,
0.004341600462794304,
0.012705598957836628,
-0.022000418975949287,
-0.0004988934379070997,
-0.018803929910063744,
-0.01129485759884119,
-0.02496476098895073,
0.04835806414484978,
-0.028946978971362114,
0.07121564447879791,
-0.04432227090001106,
-0.03205418214201927,
0.054751042276620865,
0.005428674630820751,
-0.021268261596560478,
0.03607211634516716,
0.0058572543784976006,
-0.010768062435090542,
-0.00245986832305789,
0.010651988908648491,
-0.03200060874223709,
-0.005455460865050554,
-0.0459294468164444,
0.021571839228272438,
-0.0357685387134552,
-0.043215107172727585,
0.013714547269046307,
-0.06389407068490982,
0.06271547824144363,
0.022911150008440018,
-0.05082239583134651,
-0.012732385657727718,
0.00702691962942481,
0.0477151945233345,
-0.011777009814977646,
-0.048679497092962265,
0.016687817871570587,
0.008098368532955647,
0.030875587835907936,
0.02458975464105606,
0.005424210336059332,
-0.02198256179690361,
-0.025304052978754044,
-0.013518114574253559,
-0.036054257303476334,
0.07071563601493835,
0.014277057722210884,
-0.028875550255179405,
-0.026875512674450874,
0.004500085487961769,
-0.008401946164667606,
-0.010723418556153774,
0.013705617748200893,
-0.001635075779631734,
0.049822378903627396,
-0.02696479856967926,
0.03625069186091423,
-0.03453637287020683,
0.058643974363803864,
0.030036285519599915,
-0.015178860165178776,
0.026679079979658127,
-0.009982332587242126,
-0.035804253071546555,
-0.0106252022087574,
-0.02823268063366413,
-0.017598548904061317,
-0.0035648001357913017,
0.02648264728486538,
-0.005517962388694286,
0.007080492097884417,
-0.021286118775606155,
-0.06550125032663345,
0.03821501508355141,
-0.028500542044639587,
0.02144683711230755,
0.005259028635919094,
-0.004183115437626839,
-0.009004635736346245,
0.03083987347781658,
-0.022696860134601593,
-0.011902011930942535,
0.0007466659881174564,
-0.026286214590072632,
-0.0031741675920784473,
0.018678927794098854,
0.0231968704611063,
-0.00914303120225668,
-0.03296491503715515,
0.015803871676325798,
-0.012634169310331345,
0.004156329203397036,
-0.03660783916711807,
-0.00499563105404377,
0.031304165720939636,
-0.020875398069620132,
0.0033080987632274628,
-0.002256739418953657,
-0.05964399129152298,
0.018152130767703056,
0.017241399735212326,
0.007870685309171677,
0.03850073367357254,
-0.0016038251342251897,
0.001798025332391262,
0.02635764516890049,
-0.01833963580429554,
-0.06667984277009964,
0.041929371654987335,
0.01335739716887474,
-0.03296491503715515,
-0.004212133586406708,
0.08921598643064499,
-0.08007295429706573,
-0.04110792651772499,
-0.018116416409611702,
0.001323685864917934,
-0.01919679343700409,
0.032643478363752365,
0.12700241804122925,
0.03316134586930275,
0.007401926442980766,
0.010848420672118664,
-0.007080492097884417,
-0.008535876870155334,
-0.004696518182754517,
0.030036285519599915,
0.006317084655165672,
0.007812649011611938,
0.05425103381276131,
-0.018357492983341217,
-0.022554000839591026,
0.005062596406787634,
-0.027607668191194534,
-0.026982657611370087,
-0.07564429938793182,
-0.03214346989989281,
0.044000837951898575,
-0.009794829413294792,
0.06067972630262375,
0.07607287913560867,
0.03230418637394905,
0.09807329624891281
] |
23,194 | flask.app | raise_routing_exception | Intercept routing exceptions and possibly do something else.
In debug mode, intercept a routing redirect and replace it with
an error if the body will be discarded.
With modern Werkzeug this shouldn't occur, since it now uses a
308 status which tells the browser to resend the method and
body.
.. versionchanged:: 2.1
Don't intercept 307 and 308 redirects.
:meta private:
:internal:
| def raise_routing_exception(self, request: Request) -> t.NoReturn:
"""Intercept routing exceptions and possibly do something else.
In debug mode, intercept a routing redirect and replace it with
an error if the body will be discarded.
With modern Werkzeug this shouldn't occur, since it now uses a
308 status which tells the browser to resend the method and
body.
.. versionchanged:: 2.1
Don't intercept 307 and 308 redirects.
:meta private:
:internal:
"""
if (
not self.debug
or not isinstance(request.routing_exception, RequestRedirect)
or request.routing_exception.code in {307, 308}
or request.method in {"GET", "HEAD", "OPTIONS"}
):
raise request.routing_exception # type: ignore
from .debughelpers import FormDataRoutingRedirect
raise FormDataRoutingRedirect(request)
| (self, request: flask.wrappers.Request) -> NoReturn | [
0.01012460794299841,
0.017109012231230736,
-0.02187952771782875,
0.0735122486948967,
-0.042462218552827835,
-0.05191061645746231,
-0.037441596388816833,
0.07188193500041962,
-0.0007300509023480117,
-0.05702386796474457,
0.04349968954920769,
0.0024431522469967604,
0.03266181796789169,
-0.04053548350930214,
0.003295360831543803,
0.011569657362997532,
-0.021231109276413918,
0.05242935195565224,
0.042239900678396225,
-0.08181201666593552,
-0.0040757800452411175,
-0.046612102538347244,
-0.00045186738134361804,
-0.029345616698265076,
-0.06021038442850113,
0.03042013943195343,
-0.04290684685111046,
0.012005024589598179,
0.07077036052942276,
-0.016599539667367935,
-0.033310238271951675,
-0.0835164338350296,
0.017544379457831383,
0.004997462034225464,
0.03823822736740112,
-0.010328397154808044,
-0.04468537122011185,
-0.027103936299681664,
-0.038682855665683746,
-0.01638648845255375,
-0.08032991737127304,
0.01490438636392355,
-0.07399393618106842,
-0.026937199756503105,
0.05643102526664734,
0.016562487930059433,
-0.04531526193022728,
0.07714340090751648,
-0.0029479931108653545,
0.04157295450568199,
-0.031939294189214706,
-0.013450074009597301,
0.027270672842860222,
-0.035255495458841324,
0.04557463154196739,
0.03853464871644974,
-0.01896164007484913,
0.01591406762599945,
0.0064703007228672504,
-0.06499016284942627,
0.02943824790418148,
0.053170401602983475,
-0.0033926237374544144,
0.0005528934416361153,
0.04746431112289429,
0.021379318088293076,
-0.011671551503241062,
-0.02958645671606064,
-0.00886482186615467,
-0.006831563077867031,
-0.0037863070610910654,
-0.006159985437989235,
-0.012088392861187458,
0.02562183514237404,
0.032309819012880325,
0.03994264453649521,
0.020786477252840996,
-0.04079485312104225,
0.06098848953843117,
-0.014737649820744991,
0.04557463154196739,
-0.007141877897083759,
0.006775984074920416,
-0.0011162079172208905,
-0.010643343441188335,
-0.018313219770789146,
-0.013329653069376945,
-0.005154935177415609,
-0.005858933553099632,
0.010513659566640854,
-0.02645551785826683,
-0.05650513246655464,
-0.0615813285112381,
-0.057135023176670074,
0.0052244090475142,
0.04135064035654068,
0.05520829185843468,
-0.015552805736660957,
0.01232923474162817,
-0.04590810462832451,
0.07899602502584457,
0.06473079323768616,
-0.02449173294007778,
0.04201758652925491,
0.04412958025932312,
-0.044833578169345856,
0.05283692851662636,
-0.056356921792030334,
-0.012190287001430988,
-0.0031332557555288076,
0.015256385318934917,
-0.023417208343744278,
-0.02265763096511364,
0.0029410456772893667,
-0.0815156027674675,
0.012079129926860332,
0.018970903009176254,
0.005923775490373373,
0.021749844774603844,
-0.011606710031628609,
0.057542603462934494,
-0.014061440713703632,
-0.031531717628240585,
-0.04249927029013634,
0.018720798194408417,
0.0013825230998918414,
-0.05305924639105797,
-0.026918673887848854,
-0.02047153189778328,
0.0018468378111720085,
-0.032680343836545944,
0.004701041616499424,
-0.051391880959272385,
0.012671970762312412,
-0.05591228976845741,
0.08166380971670151,
-0.013681652024388313,
0.010263554751873016,
0.01231997087597847,
0.0037098859902471304,
-0.021823948249220848,
-0.0017403117381036282,
0.0004877620085608214,
-0.014154071919620037,
0.0476866252720356,
-0.01154186762869358,
0.010485870763659477,
0.032328344881534576,
0.02347278781235218,
-0.024584364145994186,
0.051799457520246506,
0.06065501645207405,
0.0035130444448441267,
0.017933432012796402,
-0.02904919534921646,
0.015988172963261604,
-0.010198713280260563,
0.037700966000556946,
0.008985241875052452,
0.018581852316856384,
0.030160771682858467,
-0.023509839549660683,
0.05313334986567497,
-0.04935399070382118,
0.028474880382418633,
0.011903130449354649,
0.03060540184378624,
0.01689596101641655,
0.02886393293738365,
-0.04457421228289604,
-0.09907850623130798,
0.003047571750357747,
-0.04646389186382294,
-0.01479322835803032,
0.042869795113801956,
0.04131358861923218,
-0.003387992037460208,
0.021749844774603844,
-0.04627862945199013,
-0.009874503128230572,
0.06024743989109993,
-0.06799142062664032,
-0.024121206253767014,
0.009286293759942055,
0.028363723307847977,
0.024732574820518494,
-0.04898346588015556,
-0.052614614367485046,
-0.010189450345933437,
0.05154009163379669,
0.024176785722374916,
0.010356185957789421,
0.022194474935531616,
-0.010597027838230133,
-0.012671970762312412,
0.028771301731467247,
-0.0048029362224042416,
-0.031902242451906204,
0.08233075588941574,
0.019582269713282585,
-0.003202729392796755,
0.004552831407636404,
-0.00019394692208152264,
0.03555191680788994,
-0.013524179346859455,
0.02662225440144539,
0.058320704847574234,
-0.043240319937467575,
0.012421865947544575,
0.03734896704554558,
-0.03319907933473587,
0.013941019773483276,
0.04935399070382118,
-0.022027738392353058,
-0.01509891264140606,
0.037682440131902695,
-0.07110383361577988,
-0.028104355558753014,
0.027919093146920204,
0.01859111525118351,
-0.01950816437602043,
0.03857170045375824,
-0.03655233606696129,
-0.04598220810294151,
0.022416789084672928,
-0.011930919252336025,
0.01887827180325985,
-0.035255495458841324,
-0.04913167655467987,
-0.024751100689172745,
-0.005455987062305212,
-0.005502303130924702,
-0.045833997428417206,
-0.014144808985292912,
0.1232367679476738,
-0.010106082074344158,
0.009443767368793488,
-0.04194348305463791,
-0.010763764381408691,
0.0008139981073327363,
0.030160771682858467,
0.019434060901403427,
-0.03266181796789169,
-0.009541030041873455,
-0.002915572142228484,
-0.018248379230499268,
-0.05346682295203209,
0.037682440131902695,
0.006706510670483112,
-0.05883944034576416,
0.013551968149840832,
0.021953633055090904,
-0.03305086866021156,
-0.050206199288368225,
-0.0011150500504299998,
-0.005284619051963091,
0.0005459461244754493,
0.03458854928612709,
0.019452586770057678,
0.02586267702281475,
-0.03418097272515297,
0.03757128119468689,
0.04627862945199013,
0.004696410149335861,
-0.0035338865127414465,
-0.0023157841060310602,
-0.03734896704554558,
0.02862309105694294,
0.030549824237823486,
0.015163754113018513,
0.045426420867443085,
0.005696828942745924,
-0.018785640597343445,
0.05076198652386665,
0.03718223050236702,
-0.010059766471385956,
0.020916162058711052,
0.08440569788217545,
-0.00541430339217186,
0.05880238860845566,
0.042054638266563416,
0.0298458244651556,
-0.013551968149840832,
0.022750262171030045,
-0.07025162875652313,
0.02762267179787159,
-0.02840077504515648,
0.055578816682100296,
-0.022898472845554352,
-0.044796526432037354,
0.05487481877207756,
-0.0021594685968011618,
0.00507156690582633,
0.013246284797787666,
-0.015191543847322464,
-0.01055071223527193,
-0.05746849626302719,
-0.026751937344670296,
0.04201758652925491,
0.046612102538347244,
0.04653799533843994,
0.04520410671830177,
0.024732574820518494,
-0.01253302302211523,
0.021749844774603844,
-0.032476555556058884,
0.04098011553287506,
0.032309819012880325,
-0.03227276727557182,
0.01042102836072445,
-0.011495552025735378,
0.01509891264140606,
-0.015173017047345638,
-0.0637674331665039,
-0.002191889565438032,
0.024176785722374916,
0.026010887697339058,
0.02682604268193245,
-0.03721928223967552,
0.028882458806037903,
-0.024510258808732033,
0.07514256238937378,
-0.01855406165122986,
0.007114088628441095,
0.01452459767460823,
-0.0268445685505867,
0.06584237515926361,
-0.04357379302382469,
-0.006507353391498327,
-0.0018341010436415672,
0.05461545288562775,
-0.03519991785287857,
-0.07314172387123108,
-0.029345616698265076,
-0.010874922387301922,
-0.026677832007408142,
0.010624817572534084,
-0.08477622270584106,
-0.0317540317773819,
-0.014024388045072556,
-0.026937199756503105,
0.04650094360113144,
0.0368487574160099,
0.019637849181890488,
-0.035088758915662766,
-0.0029178878758102655,
-0.018831955268979073,
0.000725419376976788,
-0.007086299359798431,
-0.026381412521004677,
-0.034866444766521454,
-0.04846473038196564,
-0.03136498108506203,
-0.01659027673304081,
-0.020545637235045433,
-0.011829025112092495,
-0.00944839883595705,
-0.03731191158294678,
0.00507156690582633,
0.047612521797418594,
-0.0030174667481333017,
0.00207146885804832,
-0.026918673887848854,
0.008183981291949749,
-0.001706732902675867,
-0.04190642759203911,
-0.0029618877451866865,
-0.012403339147567749,
-0.0347367599606514,
0.021342266350984573,
-0.03019782528281212,
-0.007739350199699402,
0.027196567505598068,
-0.002350520808249712,
0.0636562705039978,
-0.003980832640081644,
0.022546473890542984,
-0.03538518026471138,
0.03834938257932663,
0.06335984915494919,
0.03223571553826332,
0.020434478297829628,
-0.0028808354400098324,
-0.02821551263332367,
0.025603309273719788,
-0.08255307376384735,
0.03464413061738014,
0.03762685880064964,
0.011532604694366455,
0.0004805251955986023,
-0.01881342940032482,
-0.10033829510211945,
0.03534812852740288,
0.03860875219106674,
-0.0007607350707985461,
-0.03842348977923393,
-0.04149885103106499,
0.0021062055602669716,
-0.013839125633239746,
0.05313334986567497,
0.006748194806277752,
0.05587523803114891,
-0.12775717675685883,
0.008799979463219643,
0.061914801597595215,
-0.005242935381829739,
0.01818353682756424,
0.011967971920967102,
0.053170401602983475,
-0.0715484619140625,
-0.03197634592652321,
0.006275774911046028,
0.005817249417304993,
-0.011662288568913937,
0.024510258808732033,
-0.008086717687547207,
0.0556529238820076,
0.04950220137834549,
-0.05124367028474808,
-0.007220614701509476,
0.058135442435741425,
0.013941019773483276,
0.05468955636024475,
-0.045796945691108704,
0.039090435951948166,
-0.035125814378261566,
-0.02882687933743,
0.011588183231651783,
-0.02223152667284012,
0.007767139934003353,
-0.031494662165641785,
-0.014839543960988522,
-0.03740454465150833,
-0.007850508205592632,
0.029308563098311424,
-0.020397426560521126,
-0.051799457520246506,
0.027400357648730278,
0.016719961538910866,
-0.01716459169983864,
0.04427779093384743,
-0.028789827600121498,
-0.015969647094607353,
-0.04231400787830353,
0.06347101181745529,
-0.015163754113018513,
0.04909462109208107,
-0.005488408263772726,
0.03003108873963356,
-0.05846891552209854,
0.017146065831184387,
-0.04201758652925491,
0.0016882065683603287,
-0.006493458524346352,
-0.06650932133197784,
-0.020730899646878242,
-0.00905008427798748,
-0.005502303130924702,
-0.017498064786195755,
0.03145761042833328,
-0.00893892627209425,
0.01785932667553425,
-0.048575885593891144,
-0.07632824033498764,
0.02543657273054123,
0.03545928746461868,
0.004698725882917643,
0.022750262171030045,
0.011338078416883945,
-0.04098011553287506,
0.028919512405991554,
-0.04098011553287506,
-0.02184247598052025,
-0.030549824237823486,
0.03058687597513199,
0.02210184372961521,
0.0029340984765440226,
0.03671907261013985,
0.06610173732042313,
0.06021038442850113,
0.01836879923939705,
-0.05242935195565224,
-0.0015643121441826224,
-0.007831981405615807,
-0.0327729769051075,
-0.044796526432037354,
-0.023324577137827873,
0.00868418999016285,
0.03471823409199715,
0.012384813278913498,
0.04705673083662987,
0.00012497996794991195,
-0.04594515636563301,
0.08210843801498413,
0.00760966632515192,
0.08121918141841888,
-0.05224408954381943,
-0.013357442803680897,
0.019823111593723297,
0.004453253000974655,
-0.021898053586483,
-0.03938685730099678,
0.01014313381165266,
0.023769207298755646,
0.008563769981265068,
-0.02165721356868744,
-0.0035477811470627785,
0.029660562053322792,
0.04698262736201286,
-0.005066935438662767,
-0.0248622577637434,
0.007716192398220301,
0.10100524127483368,
0.02899361588060856,
-0.034477394074201584,
-0.03518139198422432,
-0.04038727283477783,
-0.013496389612555504,
-0.008480401709675789,
0.034495919942855835,
0.06069206818938255,
0.003515360178425908,
0.06384153664112091,
-0.026288781315088272,
0.029975509271025658,
0.00841555930674076,
0.04098011553287506,
0.010698922909796238,
0.05231819301843643,
0.058580074459314346,
-0.016738487407565117,
0.06280406564474106,
0.05513418838381767,
-0.02423236519098282,
0.05909880995750427,
0.04676031321287155,
-0.030179297551512718,
-0.035088758915662766,
-0.04068369418382645,
0.015571332536637783,
-0.02704835869371891,
-0.010430291295051575,
-0.0328470803797245,
0.011421446688473225,
-0.023954469710588455,
-0.06417500972747803,
-0.016905223950743675,
-0.045648735016584396,
-0.021138476207852364,
-0.07099267840385437,
-0.007567982189357281,
0.04309210926294327,
0.04090600833296776,
0.0013628388987854123,
0.011903130449354649,
-0.0169144868850708,
0.022435316815972328,
0.04112832620739937,
-0.002646941225975752,
-0.007711560931056738,
-0.004288832191377878,
0.0228799469769001,
0.006335985381156206,
-0.021138476207852364,
-0.06836194545030594,
0.008813873864710331,
0.03214308246970177,
-0.009846714325249195,
-0.04935399070382118,
0.006377669516950846,
-0.015163754113018513,
-0.04835357144474983,
0.03225424140691757,
-0.007155772764235735,
0.024306470528244972,
0.036904335021972656,
0.0018746271962299943,
0.0025890464894473553,
-0.01779448427259922,
-0.053615033626556396,
0.039090435951948166,
-0.036904335021972656,
-0.042462218552827835,
-0.02982729859650135,
-0.02864161692559719,
-0.056171659380197525,
0.02326899766921997,
0.01859111525118351,
-0.033921606838703156,
-0.029567930847406387,
-0.04116537794470787,
-0.01522859651595354,
0.01581217348575592,
-0.07284530252218246,
0.0018202062929049134,
0.08322001993656158,
-0.06347101181745529,
-0.0007717350381426513,
0.01740543358027935,
0.07736571133136749,
-0.019174691289663315,
0.01420038752257824,
0.03953506425023079,
-0.013014706782996655,
0.03319907933473587,
0.0019070481648668647,
0.016655119135975838,
-0.04272158443927765,
-0.04060959070920944,
-0.027530040591955185,
0.018498484045267105,
0.02323194593191147,
0.004293463658541441,
0.013227758929133415,
-0.0676208958029747,
-0.0228799469769001,
-0.06502721458673477,
0.027530040591955185,
0.02725214697420597,
-0.004592199809849262,
0.02167573943734169,
-0.0794406607747078,
-0.02402857504785061,
-0.0026284148916602135,
0.024565838277339935,
0.05154009163379669,
0.0476495735347271,
-0.0012597865425050259,
-0.06876952201128006,
0.023009629920125008,
-0.01828543096780777,
-0.000698787858709693,
-0.04075780138373375,
-0.025325413793325424,
-0.04098011553287506,
0.01471912395209074,
0.01591406762599945,
-0.007952402345836163,
-0.025899728760123253,
0.04201758652925491,
0.007567982189357281,
0.0030799927189946175,
-0.0674726814031601,
0.016460593789815903,
-0.013227758929133415,
0.03282855451107025,
0.03421802446246147,
-0.07088151574134827,
0.03336581587791443,
-0.03960917145013809,
-0.00621556444093585,
0.103376604616642,
-0.05242935195565224,
-0.03258771449327469,
-0.030383087694644928,
0.008295138366520405,
-0.022435316815972328,
-0.011310289613902569,
-0.0476495735347271,
0.01859111525118351,
0.022824367508292198,
-0.01042102836072445,
0.00784587673842907,
-0.10048650205135345,
0.07088151574134827,
0.030383087694644928,
0.03931275010108948,
-0.016154909506440163,
0.06006217747926712,
-0.025899728760123253,
-0.03532960265874863,
-0.07384572178125381,
0.024769626557826996,
0.02402857504785061,
0.050020936876535416,
-0.011004606261849403,
0.0014369440032169223,
-0.04298095405101776,
0.004372200462967157,
-0.03475528582930565,
-0.037441596388816833,
0.022175949066877365,
-0.02982729859650135,
-0.002498731017112732,
0.003781675361096859,
0.024176785722374916,
0.006081249099224806,
-0.0037793596275150776,
0.02067532017827034,
0.04613041877746582,
0.021953633055090904,
-0.0318281352519989,
0.0023655735421925783,
0.056356921792030334,
-0.004844620358198881,
0.026140570640563965,
-0.014876596629619598,
-0.05502302944660187,
-0.015608384273946285,
0.07380867004394531,
0.03842348977923393,
0.003746938658878207,
0.02506604604423046,
0.0188967976719141,
0.019526692107319832,
-0.04672325775027275,
0.028363723307847977,
-0.035903915762901306,
-0.04190642759203911,
-0.02904919534921646,
-0.03403276205062866,
-0.026788990944623947,
0.059728704392910004,
0.022787315770983696,
-0.053615033626556396,
-0.004562094807624817,
-0.010328397154808044,
-0.008063560351729393,
0.008716611191630363,
-0.03610770404338837,
-0.05350387468934059,
0.018341010436415672,
0.015941858291625977,
-0.00035778863821178675,
0.01232923474162817,
-0.01669217087328434,
-0.037700966000556946,
-0.055356502532958984,
-0.011671551503241062,
-0.006280406378209591,
0.02011953294277191,
0.019434060901403427,
-0.008975978940725327,
0.019434060901403427,
0.03942390903830528,
0.009244609624147415,
-0.04727904871106148,
0.017887115478515625,
-0.03334729000926018,
0.035292550921440125,
0.008749032393097878,
-0.011606710031628609,
-0.038868121802806854,
-0.04023906588554382,
0.044611264020204544,
0.047575466334819794,
-0.014645018614828587,
0.04468537122011185,
0.016293857246637344,
0.07921834290027618,
0.04153590276837349,
-0.016655119135975838,
0.04075780138373375,
-0.030753612518310547,
-0.030531296506524086,
0.007980192080140114,
0.021935107186436653,
-0.008531348779797554,
0.04546347260475159,
0.007873665541410446,
-0.025881202891469002,
0.029382668435573578,
-0.04098011553287506,
0.04498178884387016,
0.03636707365512848,
0.04987272620201111,
0.025510678067803383,
0.03633002191781998
] |
23,195 | flask.app | redirect | Create a redirect response object.
This is called by :func:`flask.redirect`, and can be called
directly as well.
:param location: The URL to redirect to.
:param code: The status code for the redirect.
.. versionadded:: 2.2
Moved from ``flask.redirect``, which calls this method.
| def redirect(self, location: str, code: int = 302) -> BaseResponse:
"""Create a redirect response object.
This is called by :func:`flask.redirect`, and can be called
directly as well.
:param location: The URL to redirect to.
:param code: The status code for the redirect.
.. versionadded:: 2.2
Moved from ``flask.redirect``, which calls this method.
"""
return _wz_redirect(location, code=code, Response=self.response_class)
| (self, location: str, code: int = 302) -> werkzeug.wrappers.response.Response | [
0.005808145739138126,
-0.033085525035858154,
-0.03752116858959198,
0.005230966955423355,
0.007262454833835363,
-0.04352018982172012,
-0.04937378317117691,
0.1052919551730156,
-0.001444083172827959,
-0.03254016116261482,
-0.0038857313338667154,
-0.010352861136198044,
0.025559477508068085,
0.02441420964896679,
0.049519214779138565,
-0.0174335278570652,
0.0015724714612588286,
-0.018651511520147324,
-0.011907153762876987,
-0.06064467877149582,
0.05860864371061325,
-0.007485145702958107,
0.01669728383421898,
-0.017415348440408707,
-0.049264710396528244,
0.05108259618282318,
-0.05479108542203903,
0.0355214923620224,
-0.013843202032148838,
-0.009943836368620396,
-0.013506893068552017,
-0.03930269554257393,
0.057917848229408264,
0.0011435638880357146,
0.03501248359680176,
0.009130332618951797,
-0.07882353663444519,
-0.0413387268781662,
-0.02017853409051895,
0.009825673885643482,
-0.04152051731944084,
0.006748901680111885,
-0.05479108542203903,
-0.00892582070082426,
0.061880841851234436,
0.07191557437181473,
-0.059372156858444214,
-0.02832266502082348,
0.02912253327667713,
0.0205057542771101,
-0.016779087483882904,
-0.024632355198264122,
0.014279494993388653,
-0.05108259618282318,
0.033921752125024796,
-0.006430771667510271,
0.0008765619131736457,
0.025632193312048912,
-0.027777299284934998,
-0.010389219038188457,
0.032594695687294006,
-0.004365198779851198,
-0.04242945834994316,
-0.007007950451225042,
0.056754402816295624,
-0.0005382646922953427,
0.009625706821680069,
-0.012897901237010956,
0.05366399511694908,
0.027977265417575836,
-0.009707511402666569,
-0.01647004671394825,
-0.009012170135974884,
0.017069950699806213,
0.08289559930562973,
-0.012952437624335289,
0.022487249225378036,
-0.012834275141358376,
0.08129586279392242,
-0.024977754801511765,
0.010689170099794865,
-0.04421098902821541,
0.035048842430114746,
-0.004790129605680704,
-0.031085850670933723,
0.03464890643954277,
-0.023159867152571678,
-0.047810401767492294,
-0.03788474574685097,
0.032958272844552994,
-0.02528679370880127,
0.01204349473118782,
-0.010689170099794865,
-0.02088751085102558,
0.05635446682572365,
-0.020033104345202446,
-0.013834112323820591,
0.028922567144036293,
0.05173703655600548,
0.030376875773072243,
0.0316493958234787,
0.06937053054571152,
-0.017615316435694695,
-0.006398958619683981,
0.04010256752371788,
-0.016360973939299583,
0.003485796507447958,
-0.03048594854772091,
-0.004771950654685497,
0.006344422232359648,
0.014761234633624554,
-0.04301118478178978,
0.02832266502082348,
0.005558186676353216,
-0.06449859589338303,
0.01766076311469078,
0.02625027485191822,
-0.031140387058258057,
0.004694690462201834,
-0.00567634915933013,
-0.02234181948006153,
-0.053882140666246414,
-0.0006629602867178619,
-0.005221877712756395,
-0.0072669992223382,
0.06151726469397545,
0.017678940668702126,
-0.044283702969551086,
0.007589674089103937,
-0.014570356346666813,
0.017388079315423965,
0.019324127584695816,
-0.00013414010754786432,
0.004662877880036831,
-0.007639666087925434,
0.06693456321954727,
-0.020614827051758766,
0.05562731251120567,
-0.03586689010262489,
0.06511667370796204,
-0.0004345883789937943,
0.03157668188214302,
0.04999186471104622,
0.04282939434051514,
0.02008764073252678,
0.05435479059815407,
-0.004308389965444803,
0.036993980407714844,
0.004685601219534874,
0.012397983111441135,
0.059008579701185226,
-0.007566950749605894,
0.1436857134103775,
0.01639733277261257,
-0.04239310324192047,
-0.0034812516532838345,
-0.02025124989449978,
-0.08478620648384094,
-0.000652166607324034,
-0.011716275475919247,
0.019269591197371483,
-0.09154874086380005,
0.05344584956765175,
-0.007844178006052971,
0.03372178599238396,
-0.02275993302464485,
0.0016315527027472854,
0.04853755608201027,
0.018397007137537003,
-0.03254016116261482,
0.029213428497314453,
-0.009262129664421082,
0.07289723306894302,
-0.004894657991826534,
0.006826161872595549,
0.0287407785654068,
0.04879206046462059,
-0.062208060175180435,
-0.02915889210999012,
0.004821942653506994,
0.08144129067659378,
-0.007953251712024212,
-0.03328549489378929,
0.008153218775987625,
0.00376529642380774,
-0.02121472917497158,
-0.043701980262994766,
0.03544877842068672,
0.04442913457751274,
0.04850120097398758,
-0.0071851946413517,
0.014324941672384739,
0.046501524746418,
0.01705177128314972,
-0.03268558904528618,
0.0076033081859350204,
0.029595185071229935,
-0.029631542041897774,
0.07504233717918396,
0.026068486273288727,
-0.026486599817872047,
0.02883167192339897,
0.03643043711781502,
0.0017179022543132305,
0.015215706080198288,
0.05050087347626686,
-0.011161820031702518,
-0.006903422065079212,
-0.05108259618282318,
-0.019269591197371483,
-0.02063300646841526,
0.0014509003376588225,
-0.052355118095874786,
-0.056463539600372314,
-0.01147995050996542,
-0.06293521076440811,
0.0068443408235907555,
-0.05570002645254135,
0.010452844202518463,
-0.00011319181066937745,
0.04966464638710022,
-0.047192320227622986,
-0.004726503510028124,
-0.03806653246283531,
0.015333868563175201,
-0.006698910146951675,
-0.0028563535306602716,
-0.09722054749727249,
-0.012470697984099388,
0.022105494514107704,
-0.06064467877149582,
-0.021578306332230568,
0.04290211200714111,
-0.009334844537079334,
0.06268071383237839,
-0.06791622191667557,
-0.02170555852353573,
0.002271221252158284,
-0.06468038260936737,
0.01569744572043419,
-0.0148521289229393,
-0.009316666051745415,
0.0018076604465022683,
0.07373345643281937,
0.00983476359397173,
0.0071715605445206165,
-0.023887021467089653,
0.024777786806225777,
0.012570681981742382,
-0.03904819115996361,
-0.038502827286720276,
-0.018869657069444656,
-0.007157926447689533,
0.00998019427061081,
0.0332673154771328,
0.07635121047496796,
-0.016251901164650917,
-0.02292354218661785,
-0.033958110958337784,
0.0691160261631012,
0.01746988482773304,
0.023850664496421814,
0.035085201263427734,
-0.046101588755846024,
-0.035339705646038055,
-0.060462888330221176,
-0.026650208979845047,
0.025850338861346245,
0.015179348178207874,
0.059881165623664856,
0.15139354765415192,
0.015552015043795109,
-0.05464565381407738,
0.014488551765680313,
0.01605193316936493,
-0.02183281071484089,
0.041447799652814865,
-0.05537280812859535,
0.029304321855306625,
-0.07278815656900406,
0.01127089373767376,
-0.014988469891250134,
-0.036248646676540375,
0.00873494241386652,
-0.02741372212767601,
0.027977265417575836,
-0.037666600197553635,
0.08151400834321976,
0.001373640145175159,
-0.06373508274555206,
0.010752796195447445,
-0.01451581995934248,
0.010961852967739105,
-0.0055718207731842995,
0.013543250970542431,
0.00737152760848403,
-0.06606198102235794,
-0.009053071960806847,
-0.0016076929168775678,
-0.03948448598384857,
-0.005662715062499046,
-0.023650696501135826,
0.09940201044082642,
0.06035381555557251,
-0.02275993302464485,
-0.020832974463701248,
0.01339782029390335,
-0.007994153536856174,
-0.0348852314054966,
-0.013579608872532845,
-0.016515495255589485,
0.03890275955200195,
-0.042284030467271805,
-0.008984901942312717,
-0.021123835816979408,
-0.04184773564338684,
-0.017224470153450966,
-0.002672292524948716,
-0.006080828607082367,
0.026686565950512886,
0.005685438401997089,
-0.04046614468097687,
0.012479787692427635,
0.038502827286720276,
0.03513973578810692,
-0.05202789977192879,
0.060790110379457474,
0.0024086988996714354,
0.04079336300492287,
0.0019849042873829603,
-0.02774094045162201,
0.02246907167136669,
0.027650047093629837,
-0.021887347102165222,
0.008598600514233112,
-0.0716610699892044,
-0.00009018419223139063,
-0.05257326364517212,
0.0024382395204156637,
-0.022450892254710197,
-0.05344584956765175,
-0.014124974608421326,
0.048064906150102615,
0.029304321855306625,
-0.000022546048057847656,
0.026977429166436195,
-0.045483507215976715,
-0.03886640444397926,
0.0149339335039258,
-0.0804232805967331,
-0.031594857573509216,
-0.029049819335341454,
-0.0564998984336853,
-0.01707903854548931,
-0.03166757524013519,
0.0064125931821763515,
0.04162959009408951,
0.015624729916453362,
-0.030467769131064415,
-0.023523444309830666,
-0.007703292183578014,
0.002642751904204488,
-0.028304485604166985,
-0.008453169837594032,
-0.00042947556357830763,
0.002092841314151883,
-0.008512251079082489,
-0.043483834713697433,
-0.05046451464295387,
0.06548025459051132,
0.02454146184027195,
-0.004903747700154781,
0.012897901237010956,
0.00902580376714468,
0.026759281754493713,
-0.020723899826407433,
0.009212137199938297,
-0.0028927111998200417,
0.009662063792347908,
0.02528679370880127,
-0.004949194844812155,
0.004985552281141281,
-0.00612627575173974,
0.009343934245407581,
0.031467605382204056,
-0.02754097245633602,
0.03988441824913025,
-0.011043657548725605,
-0.07358802855014801,
0.009471186436712742,
-0.03103131428360939,
-0.06737085431814194,
-0.009771137498319149,
-0.008553153835237026,
0.00929848663508892,
-0.05660897120833397,
-0.06900695711374283,
0.016351884230971336,
0.027650047093629837,
-0.0024041542783379555,
0.024650534614920616,
0.011234535835683346,
-0.02237817645072937,
0.004203861579298973,
0.030376875773072243,
-0.029340680688619614,
0.017751656472682953,
-0.02150559239089489,
0.0008862194372341037,
-0.041665948927402496,
0.0030926784966140985,
0.02221456728875637,
-0.016588209196925163,
0.04221131280064583,
0.040284354239702225,
0.03570328280329704,
-0.004290211014449596,
0.039738986641168594,
-0.0004337362479418516,
0.0010259693954139948,
0.01322512049227953,
-0.00886219460517168,
0.08485891669988632,
-0.005862682592123747,
-0.04042978584766388,
0.022105494514107704,
0.029886046424508095,
-0.004392466973513365,
-0.045229002833366394,
-0.0144521938636899,
0.03937540948390961,
-0.07315173000097275,
-0.07376981526613235,
0.031249459832906723,
0.04995550960302353,
0.04075700417160988,
0.020614827051758766,
0.025341331958770752,
-0.010371039621531963,
0.022232746705412865,
0.06875245273113251,
-0.0674799308180809,
-0.006194446701556444,
0.04708324745297432,
0.026341168209910393,
-0.024305136874318123,
-0.04504721611738205,
-0.10165618360042572,
-0.0009470049990341067,
0.0033653615973889828,
0.0829683169722557,
-0.025723086670041084,
0.010498291812837124,
0.021978242322802544,
-0.060753751546144485,
0.03355817496776581,
-0.06740721315145493,
-0.0516643226146698,
-0.015206616371870041,
-0.004871934652328491,
0.026432063430547714,
-0.020323965698480606,
0.0067716254852712154,
-0.03752116858959198,
-0.012288909405469894,
0.03630318492650986,
-0.025850338861346245,
-0.011361788026988506,
-0.014752144925296307,
-0.03206751123070717,
0.005903584882616997,
-0.004235674627125263,
-0.016869982704520226,
0.00881674699485302,
0.010389219038188457,
0.04657423868775368,
-0.016606388613581657,
-0.014570356346666813,
-0.0026359346229583025,
0.032176584005355835,
-0.04955557361245155,
0.025232257321476936,
0.008357730694115162,
-0.014670340344309807,
-0.00795779563486576,
0.018424274399876595,
0.05809963867068291,
0.018060697242617607,
0.06453495472669601,
0.07209736108779907,
0.035212453454732895,
0.05631810799241066,
0.0028086339589208364,
-0.013597787357866764,
-0.03099495731294155,
0.06624376773834229,
-0.024486925452947617,
-0.08231388032436371,
-0.04021164029836655,
-0.03610321506857872,
0.04282939434051514,
-0.04282939434051514,
-0.04235674440860748,
0.015470210462808609,
0.008325917646288872,
-0.05079173669219017,
-0.01634279452264309,
-0.02076025865972042,
-0.03303099051117897,
0.022432712838053703,
0.009916568174958229,
0.05195518210530281,
0.04017528146505356,
-0.0519915409386158,
-0.04537443444132805,
0.001602012082003057,
-0.005312772002071142,
0.028268126770853996,
-0.003135853447020054,
-0.00010374732664786279,
-0.023450730368494987,
0.011734453961253166,
0.02854081057012081,
0.004949194844812155,
0.005458202678710222,
-0.008039601147174835,
0.05453658103942871,
-0.0026745647192001343,
0.05402757227420807,
-0.0015997396549209952,
-0.0813685804605484,
0.03948448598384857,
0.0025291340425610542,
0.01017107255756855,
0.06609833240509033,
0.02395973727107048,
-0.05984480679035187,
-0.012807006947696209,
-0.011861706152558327,
-0.015052095986902714,
0.007844178006052971,
-0.015442941337823868,
-0.033885397017002106,
0.04930106922984123,
-0.04471999779343605,
-0.053300417959690094,
-0.03399446979165077,
-0.06907966732978821,
-0.07082483917474747,
0.00584450364112854,
-0.0017701665638014674,
-0.03061320073902607,
0.019742242991924286,
0.016579121351242065,
-0.046828743070364,
0.05664533004164696,
0.044065557420253754,
-0.0038789142854511738,
0.006076284218579531,
-0.006976137403398752,
-0.046065233647823334,
0.022614501416683197,
0.007176104933023453,
-0.01963316835463047,
0.0002248213713755831,
0.03384903818368912,
0.06093553826212883,
-0.050137296319007874,
-0.05224604532122612,
-0.015152079984545708,
0.06053560599684715,
0.01892419345676899,
-0.01976042054593563,
0.005612723063677549,
0.014561266638338566,
0.031594857573509216,
0.045738011598587036,
-0.02125108800828457,
0.027886372059583664,
0.013197852298617363,
-0.022887185215950012,
0.05188246816396713,
-0.02703196555376053,
-0.06809800863265991,
-0.028849851340055466,
-0.020814795047044754,
-0.034212615340948105,
0.016670014709234238,
-0.012697934173047543,
-0.0694068893790245,
-0.030086014419794083,
0.035412419587373734,
-0.023396193981170654,
-0.07496961951255798,
0.017360812053084373,
-0.031231282278895378,
-0.027795476838946342,
-0.044283702969551086,
-0.008898552507162094,
0.08165944367647171,
0.02312351018190384,
0.026359347626566887,
-0.002783637959510088,
0.026886533945798874,
0.03733937814831734,
-0.005149162374436855,
-0.03224929794669151,
-0.027977265417575836,
-0.07475147396326065,
-0.018869657069444656,
-0.022650860249996185,
-0.02021489292383194,
0.005880861077457666,
0.03290373831987381,
-0.044574566185474396,
-0.018515169620513916,
-0.06318971514701843,
0.0179243553429842,
-0.025195900350809097,
0.03214022517204285,
0.03314006328582764,
-0.08798568695783615,
-0.018415184691548347,
0.08565878868103027,
0.012125300243496895,
0.016388243064284325,
0.040866076946258545,
0.04090243577957153,
0.02059664949774742,
0.038284678012132645,
-0.029631542041897774,
0.041447799652814865,
0.05351856350898743,
-0.05744519829750061,
-0.0243778508156538,
-0.004028889816254377,
-0.04021164029836655,
0.013306926004588604,
0.04097514972090721,
-0.005462747532874346,
0.011025479063391685,
0.01605193316936493,
-0.012343445792794228,
0.015342958271503448,
-0.010816422291100025,
0.016833623871207237,
0.03464890643954277,
-0.016506405547261238,
0.019524095579981804,
-0.06693456321954727,
-0.017251739278435707,
0.0665346309542656,
0.019578631967306137,
0.023614339530467987,
-0.021014763042330742,
-0.009652975015342236,
-0.03141307085752487,
0.021069299429655075,
0.005412755534052849,
0.028359021991491318,
0.05711797997355461,
-0.0267956405878067,
0.07882353663444519,
-0.03630318492650986,
-0.009416650049388409,
0.009257584810256958,
0.04410191625356674,
-0.0012702478561550379,
0.02366887591779232,
-0.03586689010262489,
0.018287932500243187,
-0.04177502170205116,
0.009789315983653069,
0.0377756729722023,
-0.01058918610215187,
-0.029886046424508095,
-0.0069670481607317924,
-0.026486599817872047,
0.001955363666638732,
-0.01301606371998787,
-0.04504721611738205,
0.00451290188357234,
-0.043192971497774124,
0.019614990800619125,
0.024686891585588455,
0.06242620572447777,
0.009416650049388409,
-0.027268290519714355,
-0.036830369383096695,
-0.01620645448565483,
0.08013241738080978,
-0.029631542041897774,
-0.0007373800035566092,
0.008875828236341476,
-0.04697417467832565,
0.06431680917739868,
-0.0013111502630636096,
-0.06718906760215759,
-0.00011972483480349183,
0.02499593235552311,
0.03623046725988388,
0.0027768209110945463,
-0.0013452356215566397,
0.013806844130158424,
0.004299300257116556,
-0.054754726588726044,
0.03919362276792526,
-0.024359673261642456,
-0.013706861063838005,
0.007548771798610687,
-0.003433532314375043,
0.030231444165110588,
0.05453658103942871,
0.018124323338270187,
-0.001636097440496087,
-0.019233234226703644,
-0.014288583770394325,
-0.003610776038840413,
-0.014552177861332893,
-0.04784676060080528,
-0.040538858622312546,
-0.035666923969984055,
0.04530172049999237,
-0.007212462835013866,
0.04268396273255348,
-0.022523608058691025,
-0.0041266013868153095,
-0.045701656490564346,
-0.05162796378135681,
-0.01320694200694561,
-0.0258321613073349,
-0.012425251305103302,
-0.033539995551109314,
-0.0035857802722603083,
0.02350526675581932,
0.008921275846660137,
-0.03361271321773529,
0.03166757524013519,
-0.03335820883512497,
-0.003912999760359526,
0.04301118478178978,
0.044647280126810074,
-0.04104786738753319,
-0.060426533222198486,
0.007825999520719051,
-0.008644048124551773,
0.01686089299619198,
-0.040284354239702225,
0.000608423724770546,
0.045774370431900024,
0.07140656560659409,
-0.018069786950945854,
0.010243787430226803,
0.013734129257500172,
-0.00048742067883722484,
-0.013788665644824505,
-0.019869493320584297,
0.04471999779343605,
0.032049331814050674,
0.030395055189728737,
-0.010016552172601223,
0.016488226130604744,
0.008939454331994057,
0.020832974463701248,
0.012961527332663536,
0.08660408854484558,
-0.012061674147844315,
0.0174335278570652
] |
23,196 | flask.app | register_blueprint | Register a :class:`~flask.Blueprint` on the application. Keyword
arguments passed to this method will override the defaults set on the
blueprint.
Calls the blueprint's :meth:`~flask.Blueprint.register` method after
recording the blueprint in the application's :attr:`blueprints`.
:param blueprint: The blueprint to register.
:param url_prefix: Blueprint routes will be prefixed with this.
:param subdomain: Blueprint routes will match on this subdomain.
:param url_defaults: Blueprint routes will use these default values for
view arguments.
:param options: Additional keyword arguments are passed to
:class:`~flask.blueprints.BlueprintSetupState`. They can be
accessed in :meth:`~flask.Blueprint.record` callbacks.
.. versionchanged:: 2.0.1
The ``name`` option can be used to change the (pre-dotted)
name the blueprint is registered with. This allows the same
blueprint to be registered multiple times with unique names
for ``url_for``.
.. versionadded:: 0.7
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, blueprint: 'Blueprint', **options: 't.Any') -> 'None' | [
0.0455244779586792,
-0.05292652174830437,
-0.05258134752511978,
-0.04491083696484566,
0.04119063913822174,
0.0040102386847138405,
-0.003116144798696041,
0.03835255280137062,
-0.04502589628100395,
-0.06155584380030632,
-0.00404619425535202,
0.015178021974861622,
-0.0043626027181744576,
0.015235550701618195,
0.02598385326564312,
0.03532269969582558,
0.06370358914136887,
0.02755630761384964,
0.05614813417196274,
-0.08552619069814682,
0.041382402181625366,
0.009866193868219852,
0.001550881308503449,
-0.005565913859754801,
-0.04636823385953903,
0.0012440609280019999,
-0.03033686801791191,
-0.001217094250023365,
0.053425103425979614,
-0.032829783856868744,
-0.010700361803174019,
-0.0521211177110672,
0.02172672003507614,
0.010479834862053394,
0.05526602640748024,
-0.024315517395734787,
-0.026233144104480743,
-0.009175848215818405,
0.000292737822746858,
-0.056723423302173615,
-0.008614941500127316,
-0.0008569398196414113,
-0.039656538516283035,
-0.03578292950987816,
0.03472823649644852,
0.03539940342307091,
-0.038371726870536804,
0.04314662143588066,
0.006285024341195822,
0.01795858144760132,
0.0021381548140197992,
-0.022954002022743225,
0.048707738518714905,
0.04494918882846832,
0.025178449228405952,
0.05185265094041824,
-0.02118978463113308,
0.02015426568686962,
-0.0081642996519804,
-0.036895155906677246,
-0.0105277756229043,
0.07728038728237152,
-0.0017330559203401208,
0.02118978463113308,
0.038218315690755844,
-0.017191531136631966,
-0.05737541615962982,
0.010057956911623478,
0.001217094250023365,
-0.02740289829671383,
-0.00022382309543900192,
-0.005005008075386286,
-0.02560032717883587,
0.003303113393485546,
0.05169923976063728,
-0.06209278106689453,
0.00282850069925189,
-0.08475913852453232,
0.025887971743941307,
-0.026750903576612473,
0.04801739379763603,
-0.04889950156211853,
-0.04525601118803024,
0.003701021196320653,
0.06792236864566803,
0.03488164395093918,
0.019655682146549225,
-0.0016767255729064345,
-0.04337673634290695,
0.033596836030483246,
-0.06481581181287766,
0.004209192469716072,
-0.014353442005813122,
0.03281060606241226,
0.008212240412831306,
-0.03743208944797516,
0.009118319489061832,
-0.010892124846577644,
-0.0005135646206326783,
-0.04111393541097641,
0.036358218640089035,
0.038601841777563095,
-0.010872947983443737,
0.030682040378451347,
0.011985172517597675,
0.012426226399838924,
-0.003075395245105028,
0.01758464425802231,
0.007536276243627071,
-0.026865962892770767,
-0.028054891154170036,
-0.019224217161536217,
-0.019962502643465996,
-0.03697185963392258,
-0.03382695093750954,
0.01865851692855358,
0.0026055765338242054,
-0.027307016775012016,
0.06811413168907166,
-0.03210108354687691,
-0.006337759084999561,
-0.021093903109431267,
0.025734562426805496,
-0.04655999690294266,
0.038601841777563095,
0.08291821926832199,
-0.030375219881534576,
0.01206187717616558,
-0.0051823887042701244,
0.007464365102350712,
-0.014842437580227852,
0.03825667127966881,
-0.03699103742837906,
0.07540111243724823,
0.01587795652449131,
0.027134429663419724,
-0.05591801926493645,
0.036204807460308075,
-0.03292566537857056,
0.08544948697090149,
-0.025523623451590538,
-0.013557626865804195,
-0.03954147920012474,
-0.01992415077984333,
0.007052075117826462,
-0.03505423292517662,
-0.004278706386685371,
-0.020614495500922203,
-0.017498351633548737,
0.024890806525945663,
0.05802740901708603,
-0.00984701793640852,
-0.04667505621910095,
0.041305698454380035,
0.002392240334302187,
0.058525994420051575,
-0.031794264912605286,
-0.005110477562993765,
-0.005666589364409447,
-0.06581297516822815,
-0.04797904193401337,
-0.05296487361192703,
-0.012282404117286205,
-0.09411715716123581,
-0.003775329329073429,
0.02163083851337433,
0.02015426568686962,
0.02807406708598137,
0.015101317316293716,
0.07659004628658295,
-0.04502589628100395,
0.015973838046193123,
-0.0037681381218135357,
-0.004611894488334656,
0.026904314756393433,
0.042264509946107864,
0.0006019552820362151,
-0.033577658236026764,
-0.013826094567775726,
-0.04410543292760849,
-0.01602177880704403,
-0.07689686864614487,
-0.056800127029418945,
0.007397248409688473,
0.03135320916771889,
0.03862101957201958,
-0.019070805981755257,
0.040692057460546494,
0.03440224006772041,
0.03384612500667572,
-0.08859439194202423,
0.037623852491378784,
0.07674345374107361,
0.015964249148964882,
-0.04195769131183624,
0.0016144027467817068,
-0.0413440503180027,
0.011630411259829998,
0.02673172764480114,
-0.0636652335524559,
-0.050740424543619156,
0.026252321898937225,
0.026348203420639038,
-0.04598470777273178,
0.003684242023155093,
0.006999340374022722,
0.016942240297794342,
0.001468183589167893,
-0.014449323527514935,
-0.02920546755194664,
-0.05020349100232124,
0.009156671352684498,
0.028112420812249184,
-0.013615155592560768,
0.002581606153398752,
-0.03720197454094887,
0.032906487584114075,
0.006059702951461077,
0.023337528109550476,
0.020173441618680954,
0.05384698137640953,
0.05756717920303345,
0.0011835357872769237,
-0.01288645714521408,
-0.006227495614439249,
-0.015705369412899017,
0.046981874853372574,
0.011639999225735664,
-0.00612202612683177,
-0.010134661570191383,
-0.024890806525945663,
-0.005307034123688936,
0.05756717920303345,
0.028438417240977287,
0.039119601249694824,
-0.030145104974508286,
0.035073406994342804,
0.02882194146513939,
-0.015043788589537144,
0.0022412273101508617,
0.03334754332900047,
0.018236638978123665,
0.017987346276640892,
-0.018898218870162964,
0.0024809306487441063,
0.026386555284261703,
-0.0013243615394458175,
-0.007253426127135754,
-0.0057816472835838795,
-0.020844612270593643,
-0.0024305928964167833,
-0.02696184255182743,
-0.01744082197546959,
-0.02943558245897293,
-0.04935973510146141,
-0.01894615963101387,
-0.00850467849522829,
-0.026175616309046745,
-0.007344513665884733,
0.03457482531666756,
-0.004228368867188692,
0.005891910754144192,
-0.03946477547287941,
0.05714530125260353,
0.0012392668286338449,
-0.020767906680703163,
0.01141947228461504,
-0.03327083960175514,
-0.021765071898698807,
-0.01692306250333786,
0.052082765847444534,
0.05185265094041824,
-0.008686852641403675,
0.02237871289253235,
-0.06232289597392082,
-0.02964652143418789,
-0.012426226399838924,
0.02044191025197506,
-0.044450607150793076,
-0.030356043949723244,
0.017766818404197693,
-0.024085402488708496,
0.028400063514709473,
0.04065370559692383,
-0.042187806218862534,
-0.004535189364105463,
-0.03490082174539566,
0.05311828479170799,
-0.004122899379581213,
-0.01497667096555233,
0.01923380419611931,
0.02420045994222164,
0.05093218758702278,
-0.023778581991791725,
0.007799949962645769,
0.04260968416929245,
-0.1075405552983284,
-0.01783393695950508,
0.045332714915275574,
-0.0438753180205822,
0.030298516154289246,
0.0012776193907484412,
0.02642490714788437,
0.01661624200642109,
0.005796029232442379,
0.02567703276872635,
0.03294484317302704,
0.00204826588742435,
-0.014180855825543404,
0.004647849593311548,
0.023241646587848663,
-0.022954002022743225,
0.0022951604332774878,
-0.015005435794591904,
0.0005048753810115159,
0.030087577179074287,
-0.01865851692855358,
-0.06489251554012299,
0.012733046896755695,
0.06439393013715744,
-0.05599472299218178,
0.04598470777273178,
0.030797097831964493,
0.004245148040354252,
0.029972517862915993,
0.0011062313569709659,
0.05952315777540207,
-0.008145122788846493,
0.001550881308503449,
0.011477001011371613,
-0.04951314255595207,
0.045869652181863785,
-0.018524281680583954,
0.001665938994847238,
-0.03664586320519447,
0.021362371742725372,
-0.04157416522502899,
-0.03534187749028206,
-0.05181429535150528,
-0.0786227285861969,
0.05181429535150528,
0.009199818596243858,
-0.0009857803815975785,
0.016434067860245705,
-0.018025698140263557,
-0.03248460963368416,
0.03367353975772858,
0.02979993261396885,
0.04176592826843262,
-0.05284981429576874,
0.051775943487882614,
-0.03499670326709747,
0.015178021974861622,
0.05614813417196274,
0.019195452332496643,
-0.07570793479681015,
0.001262038596905768,
-0.06052032485604286,
0.0018013713415712118,
-0.006999340374022722,
0.01654912531375885,
0.02590714767575264,
-0.045716241002082825,
0.01865851692855358,
0.023836109787225723,
-0.04161251708865166,
0.026904314756393433,
-0.03724032640457153,
0.02345258556306362,
0.017412059009075165,
0.03858266770839691,
-0.031487446278333664,
0.013164512813091278,
-0.002567223971709609,
-0.03645410016179085,
-0.03259966894984245,
0.013624743558466434,
-0.03729785606265068,
-0.0862165316939354,
0.09871947020292282,
0.029454758390784264,
0.05841093510389328,
-0.0026655022520571947,
0.008480708114802837,
0.004415337461978197,
-0.09189271181821823,
-0.007488335482776165,
-0.014161679893732071,
0.00653431611135602,
0.004913920536637306,
-0.00012157459423178807,
-0.03739373758435249,
0.013250806368887424,
0.052696406841278076,
0.03743208944797516,
-0.04935973510146141,
-0.014899966306984425,
0.047135286033153534,
0.011764644645154476,
0.026559142395853996,
0.0859864205121994,
0.017613409087061882,
0.058756109327077866,
0.014113739132881165,
0.05595637112855911,
-0.012445403262972832,
0.06604309380054474,
0.013615155592560768,
0.01977073960006237,
0.07739544659852982,
-0.010326424613595009,
-0.021247312426567078,
-0.07183432579040527,
-0.04506424814462662,
-0.03047110140323639,
-0.03862101957201958,
0.0006897466373629868,
0.04621482267975807,
0.03198602795600891,
0.019828269258141518,
0.040615350008010864,
0.005800823215395212,
0.04042359068989754,
0.03754714876413345,
0.018025698140263557,
0.030451925471425056,
-0.01580125093460083,
0.031928498297929764,
-0.02912876196205616,
-0.005311828106641769,
0.007378072012215853,
-0.007133574690669775,
-0.038678549230098724,
-0.03977159410715103,
0.0031688795424997807,
0.012589224614202976,
-0.01819828525185585,
0.01684635877609253,
0.016961416229605675,
0.04840091988444328,
-0.02059531956911087,
-0.017622997984290123,
0.011246885173022747,
0.018600987270474434,
0.041228991001844406,
-0.0058295875787734985,
-0.07129739224910736,
0.02793983370065689,
0.10953488945960999,
-0.00966004841029644,
-0.01811199262738228,
-0.038218315690755844,
0.009554578922688961,
-0.0067931958474218845,
-0.05166088789701462,
-0.02374022826552391,
-0.003322289790958166,
0.03451729565858841,
-0.05864105001091957,
0.00932446401566267,
0.028860295191407204,
-0.017086060717701912,
0.0392538346350193,
-0.02538938820362091,
0.027057724073529243,
0.03219696506857872,
0.02755630761384964,
0.03219696506857872,
-0.05825752392411232,
-0.01329874712973833,
0.0058679403737187386,
0.007934183813631535,
-0.004827627446502447,
0.007234250195324421,
0.03407623991370201,
0.028495945036411285,
0.02538938820362091,
-0.03173673525452614,
-0.042801447212696075,
0.013049455359578133,
0.02502503991127014,
-0.03307907655835152,
-0.005527561530470848,
0.06677179038524628,
-0.06485416740179062,
-0.049167972058057785,
0.05120065435767174,
0.018811926245689392,
0.02404704876244068,
0.010230543091893196,
-0.026405731216073036,
0.03116144798696041,
-0.0017330559203401208,
0.022800590842962265,
0.04675175994634628,
0.027901481837034225,
0.016961416229605675,
0.024142930284142494,
0.016414891928434372,
-0.032829783856868744,
-0.007296572905033827,
-0.011879703029990196,
0.010096308775246143,
0.043031562119722366,
0.008677264675498009,
-0.016951827332377434,
-0.04632988199591637,
-0.0389278382062912,
-0.020307675004005432,
-0.015590311959385872,
0.016712123528122902,
0.020115913823246956,
0.03900454565882683,
-0.02838088758289814,
-0.016203952953219414,
0.0031616883352398872,
-0.001623990829102695,
-0.027383722364902496,
0.010566127486526966,
-0.01795858144760132,
0.020020032301545143,
0.014104150235652924,
0.05614813417196274,
-0.05622484162449837,
0.010259306989610195,
-0.015475254505872726,
0.08130741119384766,
0.030298516154289246,
0.04291650652885437,
0.08844098448753357,
0.003751358948647976,
0.06727037578821182,
0.045332714915275574,
-0.010086720809340477,
0.03831419721245766,
0.03864019364118576,
-0.04955149441957474,
-0.058756109327077866,
-0.004643055610358715,
-0.04813245311379433,
0.03645410016179085,
0.04671340808272362,
-0.05185265094041824,
0.01093047671020031,
-0.05361686646938324,
-0.05116230249404907,
0.012263228185474873,
-0.015302668325603008,
-0.006145996507257223,
-0.07551617175340652,
-0.07325337082147598,
0.019943326711654663,
0.051775943487882614,
0.01662583090364933,
-0.09871947020292282,
-0.03591716289520264,
0.06799907237291336,
0.02232118509709835,
0.00648158136755228,
0.03100803680717945,
-0.03054780699312687,
0.010834596119821072,
-0.06473910808563232,
-0.06052032485604286,
0.00016090093413367867,
0.032235320657491684,
0.01609848253428936,
0.013413804583251476,
-0.010949653573334217,
-0.038525138050317764,
-0.014478088356554508,
-0.029320525005459785,
0.055381085723638535,
0.009012849070131779,
-0.04659834876656532,
0.025504445657134056,
0.004240354057401419,
0.009070378728210926,
0.05392368510365486,
-0.023241646587848663,
0.0488227978348732,
-0.008360856212675571,
-0.042187806218862534,
-0.07540111243724823,
-0.04632988199591637,
-0.007550658658146858,
0.08590971678495407,
0.05756717920303345,
-0.02629067376255989,
-0.03756632283329964,
-0.0918160080909729,
0.013164512813091278,
-0.01977073960006237,
-0.04425884410738945,
0.001093646977096796,
0.01984744518995285,
-0.013432981446385384,
0.04276309534907341,
-0.002483327640220523,
0.03649245202541351,
-0.037623852491378784,
0.03077792190015316,
0.04598470777273178,
-0.021765071898698807,
0.03227367252111435,
-0.006088467314839363,
-0.028285006061196327,
0.002000325359404087,
-0.029761578887701035,
-0.003569184336811304,
-0.022973177954554558,
-0.03047110140323639,
0.03077792190015316,
0.04103722795844078,
-0.03885113447904587,
-0.024756571277976036,
-0.06500757485628128,
0.039809949696063995,
0.04824750870466232,
-0.03681844845414162,
-0.007234250195324421,
-0.026175616309046745,
-0.015110905282199383,
-0.0038496372289955616,
-0.019866621121764183,
0.01542731374502182,
0.014247972518205643,
-0.007627363782376051,
-0.055457789450883865,
-0.01422879658639431,
0.022743063047528267,
-0.02082543447613716,
0.01100718230009079,
-0.01210022997111082,
0.05990668386220932,
-0.00440095504745841,
0.027959009632468224,
-0.008332091383635998,
-0.020691201090812683,
0.03547611087560654,
0.028208300471305847,
-0.048707738518714905,
-0.01857222244143486,
-0.01595466211438179,
0.006764431018382311,
0.00015565742796752602,
0.018850278109312057,
-0.07390536367893219,
0.07363689690828323,
-0.020729554817080498,
-0.0009995633736252785,
0.08353185653686523,
-0.02165001444518566,
0.01564784161746502,
-0.04943643882870674,
0.007349307648837566,
-0.025351036339998245,
-0.013519274070858955,
-0.0027661777567118406,
0.006577462423592806,
0.011908466927707195,
-0.0012368697207421064,
0.026233144104480743,
-0.05423050746321678,
-0.02170754410326481,
-0.02216777391731739,
0.06389535218477249,
-0.036358218640089035,
0.0688428282737732,
0.02538938820362091,
0.052159469574689865,
-0.045562829822301865,
0.009300493635237217,
-0.008030065335333347,
-0.02799736149609089,
-0.008586177602410316,
-0.032906487584114075,
0.02510174550116062,
0.02170754410326481,
-0.027901481837034225,
-0.05956151336431503,
0.019655682146549225,
-0.04935973510146141,
0.04050029441714287,
0.00732054328545928,
-0.03369271755218506,
0.039503127336502075,
-0.02186095342040062,
0.0009875781834125519,
-0.05085548385977745,
0.030720394104719162,
-0.018591398373246193,
0.00027131434762850404,
0.04245627298951149,
-0.08966826647520065,
-0.0431082658469677,
-0.03992500528693199,
-0.0745573565363884,
-0.007191103417426348,
-0.006850724574178457,
0.05925469100475311,
-0.0011266061337664723,
0.06738543510437012,
-0.01535060815513134,
-0.007608187384903431,
0.021400723606348038,
-0.020403556525707245,
-0.04027017951011658,
-0.016299834474921227,
0.00823141634464264,
0.03200520575046539,
0.0013159719528630376,
0.10002345591783524,
-0.00856700073927641,
-0.014017857611179352,
-0.028860295191407204,
-0.08667676895856857,
0.010844184085726738,
-0.003499670187011361,
0.007152750622481108,
-0.052006058394908905,
0.025120921432971954,
0.043683554977178574,
-0.0048372154124081135,
0.06903459131717682,
-0.030528631061315536,
-0.04268638789653778,
-0.011227709241211414,
0.06285983324050903,
-0.019962502643465996,
0.014430147595703602,
-0.03352012857794762,
-0.04341508820652962,
0.039579831063747406,
0.03670339286327362,
-0.03917713090777397,
-0.0007508710259571671,
-0.06431722640991211,
-0.046023059636354446,
-0.019511859863996506,
-0.003116144798696041,
0.006601432804018259,
-0.08491254597902298,
-0.005446062423288822,
0.016827180981636047,
0.03240790590643883,
0.006577462423592806,
-0.026309849694371223,
0.02920546755194664,
-0.017795583233237267,
0.05476744472980499,
0.0202884990721941,
-0.0678456649184227,
0.01022095512598753,
-0.01123729720711708,
-0.019559800624847412,
0.024373047053813934,
0.017565468326210976,
-0.014094562269747257,
-0.011774233542382717,
-0.04410543292760849,
-0.005302240140736103,
-0.021228136494755745,
0.005786441266536713,
0.09749218821525574,
0.04053864628076553,
-0.014142503030598164,
0.01051818672567606
] |
23,197 | flask.scaffold | register_error_handler | Alternative error attach function to the :meth:`errorhandler`
decorator that is more straightforward to use for non decorator
usage.
.. versionadded:: 0.7
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, code_or_exception: 'type[Exception] | int', f: 'ft.ErrorHandlerCallable') -> 'None' | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,198 | flask.app | request_context | Create a :class:`~flask.ctx.RequestContext` representing a
WSGI environment. Use a ``with`` block to push the context,
which will make :data:`request` point at this request.
See :doc:`/reqcontext`.
Typically you should not call this from your own code. A request
context is automatically pushed by the :meth:`wsgi_app` when
handling a request. Use :meth:`test_request_context` to create
an environment and context instead of this method.
:param environ: a WSGI environment
| def request_context(self, environ: dict) -> RequestContext:
"""Create a :class:`~flask.ctx.RequestContext` representing a
WSGI environment. Use a ``with`` block to push the context,
which will make :data:`request` point at this request.
See :doc:`/reqcontext`.
Typically you should not call this from your own code. A request
context is automatically pushed by the :meth:`wsgi_app` when
handling a request. Use :meth:`test_request_context` to create
an environment and context instead of this method.
:param environ: a WSGI environment
"""
return RequestContext(self, environ)
| (self, environ: dict) -> flask.ctx.RequestContext | [
0.03070816770195961,
-0.04312136024236679,
-0.0028509083203971386,
-0.02026142179965973,
0.002552429912611842,
-0.028776835650205612,
0.0032635109964758158,
0.03623879700899124,
0.015836916863918304,
-0.013352522626519203,
-0.030550150200724602,
-0.01568767800927162,
0.013817797414958477,
0.05151387304067612,
0.05744832754135132,
-0.017610229551792145,
0.02596762776374817,
-0.04368320107460022,
0.03918846696615219,
-0.04305113106966019,
0.03609833866357803,
-0.003171333810314536,
0.0027170320972800255,
0.0015264101093634963,
-0.03364028036594391,
0.05031995847821236,
-0.03918846696615219,
-0.02537067048251629,
0.08820916712284088,
-0.02501951903104782,
0.038099899888038635,
-0.02087593637406826,
0.02122708596289158,
-0.02221030928194523,
0.04975811764597893,
-0.0019466941012069583,
-0.02145533449947834,
-0.016205625608563423,
-0.01476590521633625,
-0.033938758075237274,
-0.05446354299783707,
0.021701140329241753,
-0.052286405116319656,
0.0016240740660578012,
0.04252440482378006,
0.02263169176876545,
-0.025844724848866463,
0.020419439300894737,
0.07648071646690369,
0.01908506453037262,
0.030637936666607857,
-0.03880220279097557,
0.028794392943382263,
-0.015002932399511337,
-0.03525557368993759,
0.0028706605080515146,
0.005394559353590012,
0.0324639230966568,
-0.020120959728956223,
0.026301220059394836,
0.02326376363635063,
0.06060868874192238,
0.03774874657392502,
0.011201721616089344,
-0.019734693691134453,
0.04944208264350891,
-0.06513853371143341,
0.019980499520897865,
-0.024966847151517868,
-0.03873196989297867,
-0.01219372358173132,
-0.043226707726716995,
-0.03072572499513626,
-0.014168948866426945,
0.00006944151391508058,
-0.03795943781733513,
-0.05871247127652168,
-0.00001628874997550156,
-0.016223182901740074,
-0.029198218137025833,
0.05467423424124718,
-0.037467826157808304,
-0.05200548470020294,
0.02124464511871338,
0.062118638306856155,
-0.011833793483674526,
-0.055587224662303925,
-0.013773903250694275,
0.005157532636076212,
0.04034726694226265,
-0.04108468443155289,
0.03479907661676407,
-0.0021211723797023296,
0.006755270063877106,
0.07051114737987518,
-0.030989088118076324,
-0.021613353863358498,
0.009718107990920544,
-0.007330280262976885,
-0.004894169047474861,
0.02201717719435692,
0.11637149006128311,
-0.04737028852105141,
-0.01847054995596409,
-0.026494354009628296,
0.02221030928194523,
0.013220841065049171,
-0.003968007862567902,
0.04217325150966644,
-0.01250975951552391,
-0.034342583268880844,
-0.019330870360136032,
-0.05193525552749634,
-0.0018940215231850743,
-0.06341789662837982,
-0.00850224681198597,
0.04744052141904831,
0.04842374101281166,
-0.004556186031550169,
-0.011456306092441082,
-0.0452984981238842,
-0.0035027326084673405,
0.051303181797266006,
-0.028671491891145706,
0.03111199103295803,
0.04175187274813652,
0.02621343359351158,
-0.06159191206097603,
0.007260049693286419,
-0.04659775644540787,
0.02149045094847679,
0.012000590562820435,
0.0003023191820830107,
-0.020173633471131325,
0.018452992662787437,
0.020577456802129745,
0.008383733220398426,
0.045790109783411026,
-0.009963913820683956,
0.09396804869174957,
-0.03764340281486511,
0.03244636580348015,
-0.04933673515915871,
-0.010271171107888222,
-0.012904804199934006,
-0.008348618634045124,
-0.021753814071416855,
0.010157046839594841,
0.01906750723719597,
0.034518156200647354,
0.03799455240368843,
0.028689049184322357,
0.07500588148832321,
0.008370565250515938,
-0.02970738708972931,
0.01191280223429203,
-0.01269411388784647,
-0.05723763629794121,
0.08083499222993851,
-0.056781139224767685,
0.024896616116166115,
0.05214594677090645,
-0.05042530596256256,
-0.033394474536180496,
0.023667586967349052,
0.005640365183353424,
-0.030778398737311363,
0.016416316851973534,
-0.00035691220546141267,
-0.018821701407432556,
-0.026617256924510002,
0.010745225474238396,
0.036695294082164764,
0.0127819012850523,
-0.006017852574586868,
0.04055795818567276,
-0.010780340060591698,
-0.001410091295838356,
-0.0275302492082119,
0.005548187997192144,
0.03715179115533829,
-0.00787456426769495,
-0.036309029906988144,
0.03191963955760002,
0.02523021027445793,
-0.007940405048429966,
-0.024545464664697647,
0.054604001343250275,
0.05140852928161621,
0.0216484684497118,
0.0011994006345048547,
-0.0177155751734972,
0.005082912743091583,
-0.049723003059625626,
-0.06471715867519379,
0.07219667732715607,
-0.006518243346363306,
-0.07110811024904251,
-0.02577449381351471,
0.03351737558841705,
-0.029988307505846024,
0.006636756472289562,
0.020173633471131325,
-0.009595205076038837,
0.013747567310929298,
0.04287555441260338,
-0.0021804291754961014,
-0.004538628738373518,
-0.07360128313302994,
0.018259858712553978,
-0.015854474157094955,
-0.029777616262435913,
0.007023022975772619,
0.017302973195910454,
-0.02498440444469452,
0.05161921679973602,
-0.037116676568984985,
-0.027986746281385422,
-0.00564914382994175,
-0.021788928657770157,
0.09305505454540253,
0.015643782913684845,
0.017978938296437263,
-0.01713617518544197,
0.011394854635000229,
0.0020509420428425074,
0.05685137212276459,
0.005183868575841188,
-0.03890754655003548,
-0.02050722762942314,
-0.0011895245406776667,
0.01032384391874075,
0.03323645517230034,
-0.039083123207092285,
0.013220841065049171,
-0.049898575991392136,
0.011552873067557812,
0.06928212195634842,
-0.020156076177954674,
-0.04364808648824692,
0.04701913893222809,
0.04020680487155914,
0.045754995197057724,
-0.04171675443649292,
-0.0020717917941510677,
-0.04178698733448982,
0.00805891864001751,
0.032990649342536926,
0.030444804579019547,
-0.02224542573094368,
-0.02343933843076229,
0.008001856505870819,
-0.059555232524871826,
-0.030444804579019547,
-0.03485175222158432,
0.03722202032804489,
0.010560871101915836,
0.05449865758419037,
-0.012351741082966328,
-0.010982251726090908,
0.03627391159534454,
0.03999611362814903,
-0.011675775982439518,
0.062329329550266266,
-0.017013272270560265,
0.048142820596694946,
0.03402654454112053,
-0.016003713011741638,
-0.05253221094608307,
0.0021771371830254793,
0.07943038642406464,
0.09326574206352234,
0.033148668706417084,
-0.003948255907744169,
0.012948698364198208,
-0.02995319291949272,
-0.038661740720272064,
0.0471947155892849,
-0.054217737168073654,
0.03328912705183029,
0.028285223990678787,
-0.00014183214807417244,
0.003954839892685413,
0.01476590521633625,
-0.017610229551792145,
-0.06566526740789413,
-0.037467826157808304,
0.042594633996486664,
0.020314093679189682,
-0.05046042054891586,
0.000355814874637872,
0.05390170216560364,
0.028390569612383842,
-0.022719478234648705,
-0.028987526893615723,
-0.034921981394290924,
-0.06513853371143341,
0.04210302233695984,
0.025317996740341187,
0.06008196249604225,
0.029795175418257713,
0.029075315222144127,
-0.044982463121414185,
0.06629733741283417,
0.05727275088429451,
0.024563021957874298,
0.06780728697776794,
0.00422259233891964,
-0.03978542611002922,
0.014414754696190357,
0.009612762369215488,
0.05576280131936073,
-0.03522045910358429,
-0.0246156957000494,
-0.04101445525884628,
0.016512881964445114,
-0.0031866966746747494,
-0.031041761860251427,
-0.06910654157400131,
0.03430746868252754,
-0.008146706968545914,
-0.006619199179112911,
0.03421967849135399,
0.0007138244109228253,
-0.06966838985681534,
0.04624660685658455,
0.08223959803581238,
-0.001105577452108264,
0.01969957910478115,
0.06373393535614014,
-0.04010146111249924,
0.04645729809999466,
-0.015406756661832333,
0.007202988024801016,
-0.053445205092430115,
-0.0033556881826370955,
0.037502940744161606,
0.005311161279678345,
-0.04287555441260338,
-0.08631294965744019,
-0.0256164763122797,
-0.04884512349963188,
-0.058185745030641556,
-0.00704058026894927,
-0.03595787659287453,
-0.028232552111148834,
0.012070820666849613,
0.01689036935567856,
0.04452596604824066,
-0.04403435438871384,
-0.007075695786625147,
-0.012281510978937149,
0.01632852852344513,
-0.004981956910341978,
-0.04649241268634796,
-0.012623883783817291,
-0.008906071074306965,
0.016389979049563408,
0.034957095980644226,
0.04849397391080856,
-0.0008509928593412042,
0.06475227326154709,
-0.01748732663691044,
-0.039680078625679016,
-0.011754784733057022,
-0.033148668706417084,
-0.010947137139737606,
0.0005442842957563698,
-0.014730790629982948,
0.06039799749851227,
0.042805325239896774,
0.007211766671389341,
-0.010850570164620876,
0.04291066899895668,
0.0033095995895564556,
-0.03627391159534454,
-0.03587009012699127,
-0.07556772977113724,
-0.026669928804039955,
0.09228251874446869,
-0.025546245276927948,
0.016530439257621765,
0.00767265260219574,
0.006079304032027721,
-0.03204254060983658,
-0.05358566343784332,
-0.008936796337366104,
-0.01632852852344513,
-0.011728447861969471,
0.03381585702300072,
-0.0433671660721302,
-0.05253221094608307,
0.015406756661832333,
0.05074134096503258,
0.016372421756386757,
-0.03806478530168533,
-0.024264544248580933,
-0.029795175418257713,
0.01536286249756813,
0.036309029906988144,
0.07409289479255676,
0.0019774199463427067,
-0.021613353863358498,
-0.02103395387530327,
0.042243484407663345,
0.05232151970267296,
-0.019365984946489334,
0.0027280054055154324,
0.04073353111743927,
0.017768247053027153,
-0.04807259142398834,
-0.007220545317977667,
0.009226496331393719,
-0.03421967849135399,
-0.02537067048251629,
-0.04512292146682739,
-0.004180893301963806,
0.02733711712062359,
0.049898575991392136,
0.030602822080254555,
0.04800236225128174,
-0.035712070763111115,
0.02991807833313942,
-0.006592862773686647,
-0.005249709822237492,
0.019717136397957802,
-0.006189038977026939,
-0.009323063306510448,
0.013940700329840183,
0.012983813881874084,
0.003250342793762684,
0.021156856790184975,
0.01563500426709652,
-0.015406756661832333,
0.03204254060983658,
-0.04512292146682739,
-0.006663092877715826,
0.021982060745358467,
-0.013563212938606739,
0.043788548558950424,
-0.00963909924030304,
-0.043226707726716995,
0.026617256924510002,
-0.017917487770318985,
0.0017557557439431548,
-0.028214994817972183,
-0.06390950828790665,
-0.015714013949036598,
0.009129929356276989,
-0.03028678707778454,
0.05751855671405792,
-0.03290286287665367,
-0.04786190018057823,
0.016986936330795288,
-0.040452610701322556,
-0.028056977316737175,
-0.050074152648448944,
-0.008690990507602692,
-0.024106526747345924,
0.01339641585946083,
0.014283073134720325,
-0.014054824598133564,
0.012263953685760498,
-0.045790109783411026,
-0.022491231560707092,
0.05249709635972977,
0.006715765688568354,
-0.0077165463007986546,
-0.010508198291063309,
-0.05997661501169205,
-0.017856035381555557,
0.0265821423381567,
-0.03232346102595329,
-0.03290286287665367,
0.02635389380156994,
0.052251290529966354,
-0.048880238085985184,
-0.05625441297888756,
0.038661740720272064,
0.009086036123335361,
-0.005930065177381039,
-0.003116466337814927,
0.045754995197057724,
0.07233713567256927,
-0.02793407440185547,
-0.10766293853521347,
0.007260049693286419,
-0.026652371510863304,
0.009138708934187889,
-0.009788338094949722,
-0.010297507047653198,
0.11152560263872147,
-0.0005980543210171163,
-0.011140270158648491,
-0.036309029906988144,
0.0687905102968216,
-0.005807162262499332,
-0.031831853091716766,
0.018628567457199097,
0.005596471484750509,
-0.01568767800927162,
-0.0070581380277872086,
0.009823453612625599,
0.0118250148370862,
-0.004850275348871946,
0.04273509606719017,
-0.0275302492082119,
-0.03567695617675781,
-0.04631683602929115,
0.010446746833622456,
-0.009437186643481255,
0.013923143036663532,
0.017856035381555557,
-0.04670310392975807,
-0.007009854540228844,
-0.06615687906742096,
-0.09179090708494186,
0.0049512311816215515,
-0.01660067029297352,
-0.036344144493341446,
-0.0014616666594520211,
0.03497465327382088,
0.11517757177352905,
-0.0006381074781529605,
0.009182602167129517,
-0.028689049184322357,
0.07339058816432953,
0.04501757770776749,
0.02284238114953041,
0.06612175703048706,
0.017548779025673866,
-0.002888218266889453,
-0.02521265298128128,
0.032569266855716705,
0.07325012981891632,
0.02263169176876545,
-0.018172072246670723,
-0.09783070534467697,
0.06910654157400131,
-0.009314283728599548,
0.031586047261953354,
-0.03191963955760002,
-0.006728933658450842,
0.055973492562770844,
-0.07198598235845566,
-0.059063620865345,
-0.0015900562284514308,
-0.026634814217686653,
-0.02911042980849743,
-0.0648927316069603,
-0.05667579546570778,
-0.03876708820462227,
-0.007347837556153536,
0.005456010811030865,
-0.03537847846746445,
-0.025317996740341187,
0.05298870801925659,
0.018979718908667564,
-0.029444023966789246,
-0.011702111922204494,
0.009050920605659485,
0.023175975307822227,
-0.02875927835702896,
0.020998839288949966,
0.0013179141096770763,
0.009788338094949722,
-0.025353113189339638,
0.03381585702300072,
-0.006219764705747366,
-0.018821701407432556,
0.031989868730306625,
-0.020138518884778023,
0.06513853371143341,
0.031796734780073166,
-0.06921189278364182,
0.05604372173547745,
0.002015826990827918,
0.03467617556452751,
0.03506244346499443,
-0.0472298301756382,
-0.04413969814777374,
-0.04343739524483681,
-0.04354274272918701,
-0.031059319153428078,
-0.0590285062789917,
-0.03876708820462227,
0.0314982570707798,
0.07900900393724442,
-0.027688268572092056,
0.01102614589035511,
-0.012571210972964764,
-0.03344714641571045,
0.028039418160915375,
-0.004406946711242199,
-0.0007187625160440803,
-0.0629965141415596,
-0.05762390419840813,
-0.01132462453097105,
0.006316331215202808,
0.00847152154892683,
-0.03904800862073898,
0.05214594677090645,
-0.03627391159534454,
-0.004960009828209877,
-0.03824035823345184,
-0.043226707726716995,
-0.017917487770318985,
-0.011587987653911114,
-0.052848245948553085,
-0.019559118896722794,
0.013387637212872505,
0.005324329249560833,
-0.005842277314513922,
0.016161730512976646,
-0.004154556896537542,
-0.02991807833313942,
-0.06285605579614639,
0.04305113106966019,
0.0034017767757177353,
-0.0887007787823677,
0.027126425877213478,
-0.011737227439880371,
-0.013571991585195065,
0.06366370618343353,
0.010674994438886642,
-0.01850566454231739,
0.09003515541553497,
-0.017180070281028748,
-0.05337497219443321,
-0.005131196230649948,
0.025353113189339638,
-0.00708008510991931,
-0.056184183806180954,
-0.05242686718702316,
0.09958646446466446,
0.022965284064412117,
0.012913583777844906,
-0.019998056814074516,
-0.005930065177381039,
0.03293797746300697,
0.006676261313259602,
-0.04410458356142044,
0.018646126613020897,
-0.0064172870479524136,
0.017276635393500328,
-0.007949183695018291,
0.024931730702519417,
-0.05046042054891586,
0.05274290218949318,
-0.04821305349469185,
0.013870470225811005,
0.01910262182354927,
0.0002828412689268589,
0.0028969969134777784,
-0.04501757770776749,
-0.013273512944579124,
-0.026880620047450066,
0.0028772447258234024,
-0.014046045951545238,
0.004828328266739845,
0.03320134058594704,
0.009832232259213924,
0.06945769488811493,
-0.01811939850449562,
0.08518926799297333,
0.0344654843211174,
0.03460594639182091,
0.005666701588779688,
0.06829889863729477,
0.03960984945297241,
0.01417772751301527,
0.04645729809999466,
-0.00915626622736454,
0.017856035381555557,
0.002247367287054658,
-0.0075278026051819324,
-0.029233332723379135,
0.005894949659705162,
-0.002646801760420203,
0.006803553551435471,
-0.03901289403438568,
0.02084081992506981,
0.043612971901893616,
0.00826960988342762,
0.012904804199934006,
-0.034957095980644226,
0.014493763446807861,
-0.046913791447877884,
0.005372612737119198,
0.003897777758538723,
0.007123978808522224,
-0.02596762776374817,
0.039258696138858795,
0.04147094860672951,
-0.05765901878476143,
-0.00398556562140584,
-0.03820524364709854,
-0.06022242084145546,
0.00995513517409563,
0.031586047261953354,
-0.004889779724180698,
0.03281507268548012,
0.06836912781000137,
-0.025458458811044693,
-0.012957477010786533,
-0.007303943857550621,
0.012931141071021557,
-0.0206828024238348,
-0.004442061763256788,
-0.011851350776851177,
0.032586827874183655,
-0.04034726694226265,
0.038310591131448746,
0.013958257623016834,
0.05635976046323776,
0.060924723744392395,
-0.005772046744823456,
0.01132462453097105,
0.029777616262435913,
-0.017750689759850502,
-0.010192162357270718,
-0.0027828728780150414,
0.002128853928297758,
-0.05477957800030708,
0.011798678897321224,
-0.009366956539452076,
-0.01715373434126377,
-0.034149449318647385,
-0.03225323185324669,
-0.026230990886688232,
0.0075102453120052814,
-0.020120959728956223,
-0.05808039754629135,
0.021701140329241753,
0.052461981773376465,
-0.03599299117922783,
-0.02047211118042469,
-0.025844724848866463,
-0.04631683602929115,
-0.015775464475154877,
0.01597737707197666,
0.0010693649528548121,
-0.056605566293001175,
0.016100279986858368,
-0.0007780192536301911,
0.003245953470468521,
0.036519717425107956,
-0.043964121490716934,
0.00023373498697765172,
0.055797915905714035,
0.05593837797641754,
0.013115495443344116,
-0.01890948973596096,
-0.059941500425338745,
0.0017338087782263756,
-0.029777616262435913,
0.002697279676795006,
-0.02417675592005253,
0.033394474536180496,
0.010279949754476547,
-0.016864033415913582,
-0.050284843891859055,
0.011561651714146137,
0.0036805029958486557,
0.07367151230573654,
-0.022912612184882164,
0.02185915969312191,
0.045193150639534
] |
23,199 | flask.scaffold | route | Decorate a view function to register it with the given URL
rule and options. Calls :meth:`add_url_rule`, which has more
details about the implementation.
.. code-block:: python
@app.route("/")
def index():
return "Hello, World!"
See :ref:`url-route-registrations`.
The endpoint name for the route defaults to the name of the view
function if the ``endpoint`` parameter isn't passed.
The ``methods`` parameter defaults to ``["GET"]``. ``HEAD`` and
``OPTIONS`` are added automatically.
:param rule: The URL rule string.
:param options: Extra options passed to the
:class:`~werkzeug.routing.Rule` object.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, rule: str, **options: Any) -> Callable[[~T_route], ~T_route] | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,200 | flask.app | run | Runs the application on a local development server.
Do not use ``run()`` in a production setting. It is not intended to
meet security and performance requirements for a production server.
Instead, see :doc:`/deploying/index` for WSGI server recommendations.
If the :attr:`debug` flag is set the server will automatically reload
for code changes and show a debugger in case an exception happened.
If you want to run the application in debug mode, but disable the
code execution on the interactive debugger, you can pass
``use_evalex=False`` as parameter. This will keep the debugger's
traceback screen active, but disable code execution.
It is not recommended to use this function for development with
automatic reloading as this is badly supported. Instead you should
be using the :command:`flask` command line script's ``run`` support.
.. admonition:: Keep in Mind
Flask will suppress any server error with a generic error page
unless it is in debug mode. As such to enable just the
interactive debugger without the code reloading, you have to
invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``.
Setting ``use_debugger`` to ``True`` without being in debug mode
won't catch any exceptions because there won't be any to
catch.
:param host: the hostname to listen on. Set this to ``'0.0.0.0'`` to
have the server available externally as well. Defaults to
``'127.0.0.1'`` or the host in the ``SERVER_NAME`` config variable
if present.
:param port: the port of the webserver. Defaults to ``5000`` or the
port defined in the ``SERVER_NAME`` config variable if present.
:param debug: if given, enable or disable debug mode. See
:attr:`debug`.
:param load_dotenv: Load the nearest :file:`.env` and :file:`.flaskenv`
files to set environment variables. Will also change the working
directory to the directory containing the first file found.
:param options: the options to be forwarded to the underlying Werkzeug
server. See :func:`werkzeug.serving.run_simple` for more
information.
.. versionchanged:: 1.0
If installed, python-dotenv will be used to load environment
variables from :file:`.env` and :file:`.flaskenv` files.
The :envvar:`FLASK_DEBUG` environment variable will override :attr:`debug`.
Threaded mode is enabled by default.
.. versionchanged:: 0.10
The default port is now picked from the ``SERVER_NAME``
variable.
| def run(
self,
host: str | None = None,
port: int | None = None,
debug: bool | None = None,
load_dotenv: bool = True,
**options: t.Any,
) -> None:
"""Runs the application on a local development server.
Do not use ``run()`` in a production setting. It is not intended to
meet security and performance requirements for a production server.
Instead, see :doc:`/deploying/index` for WSGI server recommendations.
If the :attr:`debug` flag is set the server will automatically reload
for code changes and show a debugger in case an exception happened.
If you want to run the application in debug mode, but disable the
code execution on the interactive debugger, you can pass
``use_evalex=False`` as parameter. This will keep the debugger's
traceback screen active, but disable code execution.
It is not recommended to use this function for development with
automatic reloading as this is badly supported. Instead you should
be using the :command:`flask` command line script's ``run`` support.
.. admonition:: Keep in Mind
Flask will suppress any server error with a generic error page
unless it is in debug mode. As such to enable just the
interactive debugger without the code reloading, you have to
invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``.
Setting ``use_debugger`` to ``True`` without being in debug mode
won't catch any exceptions because there won't be any to
catch.
:param host: the hostname to listen on. Set this to ``'0.0.0.0'`` to
have the server available externally as well. Defaults to
``'127.0.0.1'`` or the host in the ``SERVER_NAME`` config variable
if present.
:param port: the port of the webserver. Defaults to ``5000`` or the
port defined in the ``SERVER_NAME`` config variable if present.
:param debug: if given, enable or disable debug mode. See
:attr:`debug`.
:param load_dotenv: Load the nearest :file:`.env` and :file:`.flaskenv`
files to set environment variables. Will also change the working
directory to the directory containing the first file found.
:param options: the options to be forwarded to the underlying Werkzeug
server. See :func:`werkzeug.serving.run_simple` for more
information.
.. versionchanged:: 1.0
If installed, python-dotenv will be used to load environment
variables from :file:`.env` and :file:`.flaskenv` files.
The :envvar:`FLASK_DEBUG` environment variable will override :attr:`debug`.
Threaded mode is enabled by default.
.. versionchanged:: 0.10
The default port is now picked from the ``SERVER_NAME``
variable.
"""
# Ignore this call so that it doesn't start another server if
# the 'flask run' command is used.
if os.environ.get("FLASK_RUN_FROM_CLI") == "true":
if not is_running_from_reloader():
click.secho(
" * Ignoring a call to 'app.run()' that would block"
" the current 'flask' CLI command.\n"
" Only call 'app.run()' in an 'if __name__ =="
' "__main__"\' guard.',
fg="red",
)
return
if get_load_dotenv(load_dotenv):
cli.load_dotenv()
# if set, env var overrides existing value
if "FLASK_DEBUG" in os.environ:
self.debug = get_debug_flag()
# debug passed to method overrides all other sources
if debug is not None:
self.debug = bool(debug)
server_name = self.config.get("SERVER_NAME")
sn_host = sn_port = None
if server_name:
sn_host, _, sn_port = server_name.partition(":")
if not host:
if sn_host:
host = sn_host
else:
host = "127.0.0.1"
if port or port == 0:
port = int(port)
elif sn_port:
port = int(sn_port)
else:
port = 5000
options.setdefault("use_reloader", self.debug)
options.setdefault("use_debugger", self.debug)
options.setdefault("threaded", True)
cli.show_server_banner(self.debug, self.name)
from werkzeug.serving import run_simple
try:
run_simple(t.cast(str, host), port, self, **options)
finally:
# reset the first request information if the development server
# reset normally. This makes it possible to restart the server
# without reloader and that stuff from an interactive shell.
self._got_first_request = False
| (self, host: Optional[str] = None, port: Optional[int] = None, debug: Optional[bool] = None, load_dotenv: bool = True, **options: Any) -> NoneType | [
0.09818228334188461,
-0.04292035847902298,
-0.02155843935906887,
-0.0026579571422189474,
0.018915221095085144,
-0.0598212294280529,
0.029930267482995987,
0.02686452679336071,
-0.02252139523625374,
0.019436003640294075,
-0.03747670352458954,
-0.01126069761812687,
0.0022673700004816055,
0.01906261220574379,
0.07884453982114792,
-0.022482091560959816,
0.0010360382730141282,
-0.01573156751692295,
-0.03311391919851303,
-0.0684288814663887,
0.03240644186735153,
0.005871088244020939,
0.026392875239253044,
0.025390613824129105,
-0.014100437983870506,
0.0019406526116654277,
0.001667978591285646,
0.017038438469171524,
0.026785919442772865,
-0.015869133174419403,
0.042998965829610825,
-0.029537223279476166,
-0.00009165898518403992,
-0.013225915841758251,
0.028947658836841583,
-0.023484352976083755,
-0.04146609455347061,
-0.02110643871128559,
0.006234653294086456,
-0.03790904954075813,
0.005276609677821398,
-0.01601652428507805,
0.01756904646754265,
0.014129916206002235,
0.015368003398180008,
0.02350400574505329,
0.04527861624956131,
0.007742958143353462,
-0.01815861277282238,
0.0048860227689146996,
-0.043549224734306335,
-0.0005643859622068703,
0.006372218485921621,
0.034941572695970535,
0.0052225664258003235,
-0.015397481620311737,
0.006038131657987833,
0.019278787076473236,
-0.010818524286150932,
-0.057856012135744095,
-0.01013069786131382,
0.0046575660817325115,
-0.03046087548136711,
0.047597575932741165,
0.007320436183363199,
0.012872176244854927,
-0.05353253334760666,
0.044649749994277954,
0.005551740061491728,
-0.046104010194540024,
0.025174440816044807,
0.020497221499681473,
-0.055812183767557144,
0.001972587313503027,
-0.00020987911557313055,
-0.008823827840387821,
0.006671914365142584,
-0.03006783314049244,
-0.03616000711917877,
-0.05321809649467468,
0.07884453982114792,
0.036494094878435135,
-0.006470479536801577,
0.00622974056750536,
0.019475309178233147,
-0.008185132406651974,
-0.0004007201932836324,
-0.02796504832804203,
-0.029890961945056915,
0.011771654710173607,
-0.006539262365549803,
0.04964140057563782,
0.004792674910277128,
0.02035965584218502,
0.002310359152033925,
-0.020772352814674377,
-0.012901654466986656,
-0.015594002790749073,
0.0029945005662739277,
-0.02531200461089611,
-0.001254054601304233,
0.06155062094330788,
0.015643132850527763,
0.01558417733758688,
0.02721826732158661,
0.032740529626607895,
-0.005379783920943737,
-0.004492979031056166,
-0.03606174513697624,
0.012665828689932823,
-0.056952010840177536,
0.03826279193162918,
-0.014955307357013226,
-0.0653238371014595,
-0.054318618029356,
-0.00018746335990726948,
0.00015061552403494716,
0.04968070611357689,
0.030932528898119926,
-0.010278088971972466,
-0.0519210547208786,
-0.0004173017223365605,
0.008872957900166512,
-0.005266783758997917,
-0.009590262547135353,
0.07059062272310257,
0.014346090145409107,
-0.003402283415198326,
0.024702787399291992,
-0.06937218457460403,
0.09047862887382507,
0.008646958507597446,
0.03991357237100601,
0.0853690579533577,
0.006480305455625057,
0.007762610446661711,
-0.015191133134067059,
0.038046617060899734,
0.017598524689674377,
0.052942968904972076,
-0.017038438469171524,
0.0033408701419830322,
-0.028534961864352226,
0.05852418765425682,
0.0143559155985713,
-0.029478266835212708,
-0.031227311119437218,
-0.015426959842443466,
0.025999831035733223,
0.06414470821619034,
0.013579654507339,
0.023484352976083755,
0.03967774659395218,
-0.005846522748470306,
-0.03728018328547478,
0.011899393983185291,
0.019563743844628334,
-0.008951567113399506,
0.017303742468357086,
-0.00023490494641009718,
-0.04920905455946922,
-0.028141919523477554,
0.01243000291287899,
-0.03397861495614052,
-0.002167880767956376,
-0.002618652768433094,
-0.039893921464681625,
0.05726644769310951,
0.028593918308615685,
0.08474019169807434,
0.03482365980744362,
0.06351584196090698,
0.01433626376092434,
0.028888702392578125,
0.0653238371014595,
0.035845573991537094,
-0.0045249140821397305,
-0.030991485342383385,
-0.003756022546440363,
-0.04003148525953293,
-0.017117047682404518,
-0.009511654265224934,
-0.027729222550988197,
0.005699131637811661,
-0.0006816849345341325,
0.03307461366057396,
-0.053100183606147766,
-0.00823917519301176,
0.05864210054278374,
0.05129218474030495,
-0.010032436810433865,
0.0192591343075037,
-0.0007308153435587883,
0.0010329675860702991,
-0.0019922396168112755,
0.016429221257567406,
-0.053611140698194504,
-0.04968070611357689,
0.07636836171150208,
-0.08898506313562393,
-0.03631722554564476,
0.047951314598321915,
0.02385774441063404,
-0.013314350508153439,
-0.047243837267160416,
0.01990765705704689,
-0.054908186197280884,
0.01040582824498415,
0.07739027589559555,
0.017657481133937836,
-0.00962956715375185,
-0.02110643871128559,
0.012852524407207966,
-0.013363480567932129,
0.03981531411409378,
-0.040640704333782196,
-0.0005085000884719193,
-0.040640704333782196,
0.004900761879980564,
0.055065400898456573,
0.06587409973144531,
0.013432263396680355,
0.018404264003038406,
0.04347061738371849,
-0.0125577412545681,
0.05942818522453308,
0.023975657299160957,
-0.009138262830674648,
-0.009757306426763535,
0.029026266187429428,
-0.031089745461940765,
-0.015594002790749073,
0.0036626746878027916,
-0.023032352328300476,
-0.01145721971988678,
0.03757496550679207,
0.02476174384355545,
0.06481288373470306,
0.03205270320177078,
-0.06952940672636032,
0.017107220366597176,
-0.008357089012861252,
-0.00440208800137043,
-0.05632314085960388,
-0.001554978545755148,
-0.005389609839767218,
-0.048305053263902664,
0.022187309339642525,
-0.024997569620609283,
0.025095831602811813,
-0.012312089093029499,
0.009103871881961823,
-0.005232392344623804,
0.025980180129408836,
-0.033487312495708466,
0.02175496146082878,
-0.0004753370594698936,
-0.010848002508282661,
-0.019956786185503006,
0.07176975160837173,
0.012194176204502583,
-0.06650297343730927,
-0.02405426651239395,
0.04425670579075813,
0.016979482024908066,
0.014601567760109901,
-0.022894786670804024,
-0.04461044445633888,
0.03325148671865463,
-0.04622192308306694,
0.10706506669521332,
0.06964731961488724,
0.0026260223239660263,
-0.019819220528006554,
-0.02560678869485855,
-0.016232699155807495,
-0.013913742266595364,
-0.026176700368523598,
-0.023052005097270012,
-0.016743656247854233,
0.0032720875460654497,
-0.04201635718345642,
0.011879741214215755,
-0.0141102634370327,
-0.02246243879199028,
-0.014218350872397423,
-0.051095664501190186,
0.01873835176229477,
-0.007064958103001118,
-0.0254692230373621,
0.06316210329532623,
0.005414174869656563,
0.02501722238957882,
-0.033290788531303406,
-0.01485704630613327,
0.01485704630613327,
-0.03822348639369011,
0.012469306588172913,
0.00272673973813653,
-0.018364960327744484,
0.024329395964741707,
-0.044138792902231216,
0.0338607020676136,
0.038655832409858704,
0.06084314361214638,
0.0321706160902977,
0.017303742468357086,
0.007551349233835936,
0.02010417729616165,
-0.0024970548693090677,
0.023897048085927963,
-0.05337531492114067,
-0.03152209520339966,
0.0003558886528480798,
0.023680875077843666,
0.009329871274530888,
-0.027689918875694275,
-0.022600004449486732,
-0.04138748720288277,
-0.00940356682986021,
-0.0011877284850925207,
0.012371046468615532,
0.017048263922333717,
0.0729488879442215,
0.006711218971759081,
0.018571307882666588,
0.0633586198091507,
0.012606872245669365,
0.021774612367153168,
0.030794963240623474,
0.011241045780479908,
0.034489572048187256,
0.014866872690618038,
0.018266700208187103,
0.024329395964741707,
-0.05703062191605568,
0.0030755659099668264,
-0.007787175476551056,
-0.012272785417735577,
-0.051252879202365875,
-0.002197359222918749,
-0.006180610042065382,
-0.0004922256339341402,
0.006047957576811314,
0.04488557577133179,
0.041701920330524445,
-0.003026435384526849,
-0.015230437740683556,
0.01670435070991516,
-0.00003149338226648979,
-0.03181687742471695,
0.00037492671981453896,
-0.04802992194890976,
-0.0471259243786335,
0.004792674910277128,
-0.09047862887382507,
0.01555469911545515,
-0.0266680046916008,
0.0009776958031579852,
-0.0640660971403122,
-0.05628383904695511,
0.03633687645196915,
-0.04295966029167175,
0.006529435981065035,
-0.011172262951731682,
-0.04052279144525528,
-0.022678613662719727,
-0.04771548882126808,
0.01353052444756031,
0.030028527602553368,
0.04972001165151596,
-0.0008124947198666632,
-0.008337436243891716,
-0.02301269955933094,
-0.03201339766383171,
-0.04936626926064491,
-0.010032436810433865,
-0.01945565640926361,
-0.03641548752784729,
0.07723306119441986,
-0.004608435556292534,
0.021578092128038406,
0.029930267482995987,
0.006495045032352209,
-0.0040508052334189415,
-0.04692940041422844,
-0.013127654790878296,
-0.054004184901714325,
0.002287022303789854,
-0.0385182686150074,
-0.03165965899825096,
-0.02281617932021618,
0.004379979334771633,
0.04842296615242958,
0.00399676151573658,
0.007949305698275566,
-0.041741225868463516,
0.040070790797472,
-0.00102989689912647,
0.03761426731944084,
0.0239167008548975,
0.042252182960510254,
0.04504279047250748,
0.033094268292188644,
0.07601462304592133,
-0.006735784001648426,
0.05408279225230217,
-0.014621220529079437,
0.02350400574505329,
0.06752488017082214,
-0.024899309501051903,
0.015043742023408413,
-0.0997544527053833,
0.003495631041005254,
-0.05027027055621147,
0.00823917519301176,
0.03360522538423538,
0.051252879202365875,
0.06147201359272003,
0.026039136573672295,
0.008588002063333988,
0.007821566425263882,
0.05074192211031914,
0.028986962512135506,
-0.06858610361814499,
0.04437461867928505,
0.047243837267160416,
0.04052279144525528,
-0.006549088284373283,
0.009708176366984844,
-0.0035693268291652203,
-0.014984785579144955,
-0.03728018328547478,
-0.004999022930860519,
0.025488873943686485,
-0.04826574772596359,
-0.02780783176422119,
-0.00473371846601367,
0.03981531411409378,
-0.007772436365485191,
-0.03952052816748619,
-0.04350992292165756,
0.01530904695391655,
-0.02401496097445488,
0.026530440896749496,
0.028495658189058304,
-0.016782959923148155,
-0.03476470336318016,
0.08356106281280518,
-0.02201044000685215,
-0.002554783131927252,
-0.06540244817733765,
-0.022344525903463364,
-0.020949222147464752,
0.019956786185503006,
-0.02851531095802784,
-0.052903663367033005,
0.05974262207746506,
-0.042291488498449326,
0.0321706160902977,
-0.017854003235697746,
0.0046108923852443695,
0.006396783981472254,
-0.02100817859172821,
0.007718393113464117,
0.03582591935992241,
0.0832466259598732,
0.0026112832129001617,
-0.031797222793102264,
-0.05011305212974548,
0.010749741457402706,
-0.05258922651410103,
0.016448872163891792,
0.0169991347938776,
0.03822348639369011,
0.09165775775909424,
0.01811930723488331,
-0.033389050513505936,
-0.0344306156039238,
-0.03285844251513481,
0.007182870991528034,
0.01977991685271263,
-0.06269044429063797,
0.07184836268424988,
-0.030834266915917397,
-0.10148384422063828,
0.043352704495191574,
0.03077531047165394,
0.04901253059506416,
-0.01032721996307373,
0.034587834030389786,
-0.0354132242500782,
0.022796526551246643,
-0.06555966287851334,
-0.03557044267654419,
0.014002176932990551,
0.01751009002327919,
-0.020477568730711937,
0.010975741781294346,
0.024840353056788445,
-0.009978393092751503,
-0.020241742953658104,
0.004510174971073866,
0.1093447208404541,
-0.016527481377124786,
0.024191830307245255,
-0.05651966482400894,
0.018050525337457657,
-0.015711916610598564,
-0.016458699479699135,
-0.04107305034995079,
-0.022875135764479637,
0.05207827314734459,
-0.04126957431435585,
0.044453226029872894,
0.02261965721845627,
0.014876699075102806,
0.0033310442231595516,
-0.023798787966370583,
-0.017795046791434288,
-0.021853221580386162,
-0.04425670579075813,
0.009477262385189533,
0.05062400922179222,
-0.013501046225428581,
-0.028751136735081673,
0.11846332997083664,
0.008985958062112331,
0.031129049137234688,
0.06567757576704025,
0.00417608767747879,
0.06072523072361946,
0.05938888341188431,
-0.04999513924121857,
0.0626511424779892,
-0.003023978788405657,
-0.007300783880054951,
-0.040797922760248184,
-0.02110643871128559,
-0.0034366745967417955,
0.015682438388466835,
0.030185746029019356,
0.01195835042744875,
-0.017628002911806107,
-0.07428523153066635,
-0.12357289344072342,
-0.021244004368782043,
-0.010897132568061352,
0.019367221742868423,
-0.0440208800137043,
-0.010386176407337189,
0.029596179723739624,
0.03765357285737991,
0.02126365713775158,
-0.06709253787994385,
0.007197610102593899,
0.03521670401096344,
0.080141581594944,
-0.008032827638089657,
0.010582697577774525,
-0.007325349375605583,
-0.013795829378068447,
-0.009600088931620121,
-0.025626439601182938,
-0.009428132325410843,
0.020035395398736,
-0.010779219679534435,
-0.04003148525953293,
-0.02136191725730896,
-0.05569427087903023,
-0.026589397341012955,
0.020281048491597176,
0.07192697376012802,
0.03478435426950455,
-0.06166853383183479,
0.040955137461423874,
0.006735784001648426,
0.04327409714460373,
-0.00047963595716282725,
0.002672696253284812,
-0.011398263275623322,
0.009565697982907295,
-0.03726052865386009,
0.032308179885149,
-0.09653149545192719,
-0.00877469778060913,
0.007693827617913485,
0.013216089457273483,
-0.01718582957983017,
-0.06524523347616196,
-0.0046968706883490086,
-0.04763687774538994,
0.01731356792151928,
-0.04012974724173546,
0.011250872164964676,
0.014739133417606354,
-0.015505568124353886,
0.011810959316790104,
0.08269636332988739,
0.033841051161289215,
-0.05082053318619728,
0.028574267402291298,
0.05848488211631775,
-0.10305602103471756,
-0.0275130495429039,
-0.021794265136122704,
-0.0041883704252541065,
0.02010417729616165,
-0.018463220447301865,
0.0007123914547264576,
-0.04913044348359108,
-0.024545570835471153,
-0.015996873378753662,
0.019691482186317444,
-0.005247131455689669,
-0.012813219800591469,
0.02845635451376438,
0.04531792178750038,
0.0368281826376915,
-0.03672992065548897,
-0.018374785780906677,
-0.013520698063075542,
-0.012547915801405907,
-0.026648353785276413,
0.01708756946027279,
0.004181000869721174,
-0.005792479496449232,
-0.018433742225170135,
-0.03783044219017029,
0.008366914466023445,
0.00635256664827466,
0.019406525418162346,
-0.05526192486286163,
0.002756217960268259,
0.012331741861999035,
-0.04378505423665047,
0.01325539406388998,
0.035334616899490356,
-0.007713479921221733,
0.03156139701604843,
0.07479619234800339,
-0.03570800647139549,
0.02996957115828991,
0.006273957900702953,
0.02281617932021618,
0.006141305435448885,
0.03855757415294647,
-0.061747144907712936,
0.10918749868869781,
-0.019544091075658798,
-0.039048876613378525,
0.0053552184253931046,
-0.05459374934434891,
0.0588386207818985,
-0.05683409795165062,
0.03175792098045349,
-0.03097183257341385,
-0.05726644769310951,
-0.024879656732082367,
0.015210785903036594,
-0.01195835042744875,
-0.05349322780966759,
-0.0058858273550868034,
-0.10690784454345703,
-0.047204531729221344,
-0.030146440491080284,
0.08128140866756439,
-0.04453183338046074,
0.05648035928606987,
0.04598609730601311,
0.008366914466023445,
0.0045715877786278725,
0.021892527118325233,
0.019760264083743095,
-0.008553610183298588,
0.03126661479473114,
-0.03128626570105553,
0.006529435981065035,
-0.0743638426065445,
-0.022089047357439995,
-0.03181687742471695,
0.003679870394989848,
-0.02071339637041092,
0.02505652606487274,
0.02851531095802784,
-0.042055658996105194,
-0.03195444121956825,
-0.08277497440576553,
0.02271791733801365,
0.03256366029381752,
-0.04535722732543945,
-0.011211567558348179,
0.02831878885626793,
0.01090695895254612,
-0.02725757099688053,
-0.015122351236641407,
-0.011860089376568794,
-0.06626714766025543,
-0.06155062094330788,
0.05082053318619728,
-0.0369657464325428,
0.02466348372399807,
0.028436701744794846,
0.03211165964603424,
0.020300699397921562,
0.014837394468486309,
-0.06339792907238007,
0.02252139523625374,
0.012773916125297546,
-0.044099487364292145,
0.023523656651377678,
0.004200653173029423,
0.054711662232875824,
0.03397861495614052,
-0.07000105828046799,
-0.02900661528110504,
-0.04736175015568733,
-0.029026266187429428,
-0.0027120006270706654,
0.005129218567162752,
-0.05648035928606987,
-0.003751109354197979,
0.013127654790878296,
-0.03887200728058815,
0.053611140698194504,
-0.0077970013953745365,
-0.040601398795843124,
-0.07106227427721024,
0.013727046549320221,
0.004394718445837498,
-0.011938697658479214,
-0.03861653059720993,
0.04150540009140968,
0.04425670579075813,
-0.042252182960510254,
-0.05133149027824402,
0.022934092208743095,
-0.06819305568933487,
-0.04791200906038284,
-0.039599139243364334,
0.023602265864610672,
-0.020340004935860634,
-0.028082963079214096,
-0.03425374627113342,
0.008126175962388515,
0.015092873014509678,
0.021342264488339424,
-0.02071339637041092,
-0.003006783314049244,
0.002115065697580576,
0.0022796527482569218,
-0.005281522870063782,
-0.04901253059506416,
0.029596179723739624,
-0.005296261981129646,
0.028849396854639053,
-0.03991357237100601,
0.05836696922779083,
0.004940066020935774,
-0.03169896453619003,
0.024742092937231064,
0.013343828730285168,
0.00300187012180686,
-0.0016200763639062643,
0.06850749254226685,
0.011309828609228134,
0.003227870212867856,
0.01887591741979122
] |
23,201 | flask.app | select_jinja_autoescape | Returns ``True`` if autoescaping should be active for the given
template name. If no template name is given, returns `True`.
.. versionchanged:: 2.2
Autoescaping is now enabled by default for ``.svg`` files.
.. versionadded:: 0.5
| def select_jinja_autoescape(self, filename: str) -> bool:
"""Returns ``True`` if autoescaping should be active for the given
template name. If no template name is given, returns `True`.
.. versionchanged:: 2.2
Autoescaping is now enabled by default for ``.svg`` files.
.. versionadded:: 0.5
"""
if filename is None:
return True
return filename.endswith((".html", ".htm", ".xml", ".xhtml", ".svg"))
| (self, filename: str) -> bool | [
0.08004725724458694,
-0.08587279915809631,
0.09622932225465775,
0.004629867151379585,
0.053868282586336136,
0.011444312520325184,
0.01531002763658762,
-0.03441384807229042,
0.011372392997145653,
0.002919513499364257,
0.03872906416654587,
-0.03227422013878822,
-0.02069505676627159,
0.013530001044273376,
0.02252902463078499,
-0.03952018916606903,
0.020928798243403435,
0.0645844042301178,
0.026952121406793594,
-0.0030363837722688913,
-0.0008062936249189079,
0.007520162966102362,
0.005542355589568615,
-0.02312236651778221,
-0.0036319736391305923,
-0.015912359580397606,
-0.024992292746901512,
0.04707181453704834,
0.0037623289972543716,
-0.034180108457803726,
-0.03193259984254837,
-0.060233224183321,
0.06512380391359329,
-0.0038836945313960314,
0.03851330280303955,
0.004647847265005112,
-0.023571867495775223,
0.08536935597658157,
0.019508372992277145,
-0.08752696961164474,
0.010059847496449947,
0.05041610822081566,
-0.014842545613646507,
-0.05710469186306,
-0.027006061747670174,
0.029487309977412224,
-0.014366073533892632,
-0.0211085993796587,
-0.005002953577786684,
0.02337408810853958,
0.08357135206460953,
0.005735641345381737,
-0.026736360043287277,
0.03779410198330879,
-0.04761121794581413,
0.025837356224656105,
-0.01505830604583025,
0.028462447226047516,
0.005250179674476385,
-0.05476728454232216,
0.016218021512031555,
-0.004106197971850634,
-0.028462447226047516,
-0.020407376810908318,
0.06159970909357071,
0.0634336769580841,
0.008801243267953396,
-0.02554967626929283,
-0.033676665276288986,
-0.032112400978803635,
-0.02378762885928154,
0.0043219588696956635,
0.012235435657203197,
-0.007987644523382187,
-0.0264127179980278,
-0.04894174262881279,
-0.03898078575730324,
0.007403292693197727,
-0.009502465836703777,
-0.04070687294006348,
-0.025495735928416252,
-0.0478629395365715,
0.015561748296022415,
-0.00794718973338604,
0.046784136444330215,
0.022654885426163673,
0.00035482540261000395,
0.0447344072163105,
0.008086535148322582,
-0.020407376810908318,
0.035798314958810806,
-0.026394737884402275,
-0.009583375416696072,
0.03338898345828056,
0.002036242512986064,
0.027653343975543976,
0.06850405782461166,
-0.013431110419332981,
0.013467070646584034,
-0.017377734184265137,
0.026448678225278854,
0.024974312633275986,
0.04703585430979729,
-0.014393043704330921,
0.03329908475279808,
0.017045103013515472,
0.008387701585888863,
0.07666700333356857,
-0.019418472424149513,
-0.06792869418859482,
0.01012277789413929,
-0.023769648745656013,
0.04930134490132332,
-0.01694621331989765,
0.030638035386800766,
-0.04732353612780571,
0.0037780615966767073,
0.018240777775645256,
-0.019292611628770828,
-0.025315934792160988,
-0.011021780781447887,
-0.0397719070315361,
-0.08148566633462906,
0.008994529023766518,
0.038836944848299026,
-0.043511763215065,
0.020065754652023315,
0.03304736316204071,
-0.05552244931459427,
0.03549265116453171,
-0.026143018156290054,
0.06422480195760727,
-0.04300832003355026,
-0.03209441900253296,
0.02646665833890438,
-0.030691975727677345,
-0.03926846757531166,
0.025837356224656105,
0.002018262632191181,
0.067173533141613,
-0.008014614693820477,
-0.06052090600132942,
-0.014357083477079868,
0.016002260148525238,
-0.017584506422281265,
-0.03128531575202942,
-0.01826774887740612,
-0.00789324939250946,
0.0012990598333999515,
0.018645329400897026,
0.02601715736091137,
0.03551063314080238,
-0.06041302531957626,
-0.03587023541331291,
0.0016755175311118364,
-0.011273502372205257,
0.03655347600579262,
0.04333196207880974,
0.01842956803739071,
-0.004679312463849783,
0.08788657188415527,
0.008639422245323658,
-0.06249871477484703,
0.04261276125907898,
0.02939740940928459,
-0.022259322926402092,
-0.08436247706413269,
0.03274170309305191,
0.049876704812049866,
0.010113787837326527,
0.026898181065917015,
0.050488028675317764,
0.020335456356406212,
0.040670912712812424,
0.051243193447589874,
0.0819171890616417,
0.0013912076829001307,
0.06577108800411224,
0.012343316338956356,
0.03750642016530037,
-0.028875987976789474,
-0.06088050827383995,
0.012406246736645699,
0.03301140293478966,
0.010752080008387566,
-0.01822279766201973,
-0.01404243241995573,
0.004697292577475309,
0.053868282586336136,
0.036661356687545776,
0.01351202093064785,
0.005079369060695171,
0.0008905752329155803,
-0.03500718995928764,
-0.004148900508880615,
-0.04085071384906769,
0.008927103132009506,
-0.015390937216579914,
-0.03800986334681511,
-0.004214078187942505,
-0.08925305306911469,
-0.05825541913509369,
0.007942695170640945,
0.0132063589990139,
0.024380970746278763,
0.04793485999107361,
0.08234871178865433,
-0.014923456124961376,
0.057464294135570526,
-0.038549263030290604,
-0.055486489087343216,
-0.08702352643013,
-0.03966403007507324,
0.039340388029813766,
0.016173070296645164,
0.06785677373409271,
-0.03006267175078392,
0.0484742596745491,
-0.07235179096460342,
-0.00021590128017123789,
0.018231788650155067,
0.013925561681389809,
-0.03310130536556244,
0.03207644075155258,
0.021648000925779343,
-0.001685631345026195,
0.019274631515145302,
0.07400595396757126,
0.00526366475969553,
0.007021216209977865,
-0.018141888082027435,
0.011399362236261368,
0.06400904059410095,
0.01285574771463871,
0.032813623547554016,
-0.023949449881911278,
0.02743758261203766,
0.002144122961908579,
0.043799445033073425,
-0.004497264511883259,
0.044159043580293655,
0.021018698811531067,
0.008261840790510178,
-0.08500976115465164,
0.009799136780202389,
-0.06875577569007874,
-0.01943645253777504,
0.049624986946582794,
-0.01308049913495779,
0.028480427339673042,
-0.027401622384786606,
0.0065717147663235664,
-0.0045197391882538795,
0.003481390420347452,
-0.058471180498600006,
0.011264512315392494,
0.0004520301299635321,
0.015759529545903206,
-0.0022576223127543926,
0.05383232235908508,
0.0011007172288373113,
0.03329908475279808,
-0.02470461279153824,
0.01806996762752533,
-0.0014979643747210503,
-0.003456667996942997,
-0.04556148871779442,
0.022888625040650368,
-0.042828518897295,
0.02105465903878212,
-0.0757320448756218,
0.04347580298781395,
-0.024003390222787857,
-0.0351150706410408,
0.0021767118014395237,
-0.012442206963896751,
0.03675125911831856,
-0.005969382356852293,
-0.04268467798829079,
0.005659226328134537,
-0.011291482485830784,
0.0024700118228793144,
0.045885130763053894,
0.08062262088060379,
-0.0319865383207798,
-0.04196547716856003,
-0.01719793491065502,
0.055702246725559235,
0.04020342975854874,
-0.0012057882267981768,
-0.014572844840586185,
0.058075617998838425,
0.06411691755056381,
-0.0366433784365654,
-0.06077262759208679,
-0.07238774746656418,
0.0677848532795906,
-0.11449706554412842,
-0.010913901031017303,
-0.056205689907073975,
0.028012944385409355,
-0.004477036651223898,
0.004090465139597654,
-0.012055635452270508,
-0.043799445033073425,
0.04020342975854874,
-0.07673892378807068,
-0.01588539034128189,
0.013494040817022324,
0.031105516478419304,
-0.01030257809907198,
-0.00018724554684013128,
-0.007681983523070812,
0.019310591742396355,
-0.0022104245144873857,
-0.03204048052430153,
0.008495581336319447,
-0.016370851546525955,
0.012001695111393929,
-0.0008995652315206826,
-0.01050035934895277,
0.03531285375356674,
-0.0036297261249274015,
-0.03006267175078392,
-0.02788708359003067,
-0.03533083200454712,
0.046784136444330215,
-0.031249357387423515,
0.036967016756534576,
0.029577210545539856,
0.019849995151162148,
-0.007160561624914408,
0.01609216071665287,
-0.048258502036333084,
-0.04793485999107361,
-0.02990085259079933,
0.00009713450708659366,
-0.0006731287576258183,
-0.031141476705670357,
-0.016919244080781937,
-0.03491729125380516,
-0.00928670447319746,
0.010248638689517975,
-0.008131485432386398,
-0.021036678925156593,
0.016523681581020355,
0.013916571624577045,
0.003960109781473875,
0.04994862526655197,
-0.04940922558307648,
0.02312236651778221,
-0.007632538676261902,
0.04865406081080437,
0.01826774887740612,
-0.006702070124447346,
-0.04034727066755295,
-0.027419602498412132,
0.09658892452716827,
-0.04009554907679558,
0.0351150706410408,
0.032561901956796646,
-0.01710803434252739,
-0.05627761036157608,
-0.034989211708307266,
0.050631869584321976,
0.02130638062953949,
0.02772526443004608,
0.024362990632653236,
-0.07321483641862869,
-0.006863890681415796,
0.01907685212790966,
0.03006267175078392,
-0.020011814311146736,
-0.039088666439056396,
-0.004773708060383797,
-0.034485768526792526,
-0.012891707941889763,
-0.043152160942554474,
0.0036162410397082567,
0.006270548328757286,
0.03682317957282066,
0.026808280497789383,
0.017296824604272842,
0.028732147067785263,
-0.04207335785031319,
-0.02919963002204895,
0.0012069119838997722,
-0.039807867258787155,
-0.023877529427409172,
-0.08242062479257584,
0.03765026107430458,
-0.000053940202633384615,
0.003443182911723852,
0.02657453902065754,
-0.02398541010916233,
-0.05009246617555618,
-0.008189920336008072,
0.008999023586511612,
0.05519880726933479,
0.09486283361911774,
0.0060323127545416355,
0.0304582342505455,
0.03133925795555115,
0.00210029655136168,
0.019598273560404778,
0.025190073996782303,
0.0614558681845665,
-0.05904654040932655,
-0.011992705054581165,
0.03288554400205612,
-0.029487309977412224,
-0.03800986334681511,
-0.09356827288866043,
-0.004620877094566822,
0.011273502372205257,
0.022852664813399315,
-0.02788708359003067,
-0.011507242918014526,
-0.03750642016530037,
-0.01047338917851448,
-0.05642145127058029,
0.01151623297482729,
-0.044662486761808395,
0.06048494577407837,
0.018501488491892815,
-0.026340799406170845,
0.016919244080781937,
-0.01851946860551834,
0.02191770263016224,
0.025279974564909935,
-0.10169526189565659,
-0.07033802568912506,
-0.03421606868505478,
-0.06293023377656937,
0.06159970909357071,
-0.051530871540308,
0.010815010406076908,
-0.05289735645055771,
0.00356904324144125,
-0.036265794187784195,
0.002548674587160349,
0.044410765171051025,
-0.03872906416654587,
-0.022852664813399315,
0.019957873970270157,
-0.004171375650912523,
-0.01017671823501587,
0.053220998495817184,
-0.004962498787790537,
-0.006230093538761139,
0.0035016180481761694,
0.0552707277238369,
-0.00564124621450901,
-0.022547004744410515,
0.07033802568912506,
-0.03189663961529732,
0.05163875222206116,
-0.01679338328540325,
-0.0010962222004309297,
0.0013013073476031423,
-0.0558820478618145,
-0.0018283481476828456,
0.07361039519309998,
0.03293948248028755,
0.053868282586336136,
-0.06846809387207031,
-0.03187865763902664,
0.05059590935707092,
-0.015606698580086231,
-0.005250179674476385,
-0.01851946860551834,
-0.020820917561650276,
-0.02398541010916233,
-0.038441382348537445,
0.006836920510977507,
0.014141323044896126,
0.02328418754041195,
0.07911229878664017,
0.03739853948354721,
0.0010417201556265354,
-0.05106339231133461,
-0.014941436238586903,
-0.03685913607478142,
-0.012262405827641487,
0.0166045930236578,
-0.02581937611103058,
0.010374498553574085,
-0.04930134490132332,
-0.035960134118795395,
-0.012550086714327335,
0.0008647288777865469,
-0.011812903918325901,
-0.002980196150019765,
-0.003049868857488036,
0.014761635102331638,
-0.0025531696155667305,
0.04523785039782524,
0.0690075010061264,
0.015966299921274185,
-0.03092571534216404,
0.03811774402856827,
-0.023859549313783646,
0.00022727929172106087,
0.04757525771856308,
0.004778203088790178,
-0.05034418776631355,
0.009637315757572651,
-0.01055429968982935,
0.004596154671162367,
0.0037960417103022337,
0.03391040861606598,
-0.0017305815126746893,
0.011597143486142159,
0.07055378705263138,
0.05203431472182274,
0.026143018156290054,
0.009169834665954113,
-0.028768107295036316,
0.054120004177093506,
0.020119694992899895,
-0.03240008279681206,
-0.07652316987514496,
-0.03051217459142208,
0.010086817666888237,
-0.004409611690789461,
-0.00743925292044878,
0.04293639957904816,
0.028606286272406578,
-0.0004132605972699821,
0.04347580298781395,
0.006612169556319714,
-0.006576209794729948,
0.029523270204663277,
-0.05016438663005829,
-0.07343059778213501,
0.05494708567857742,
-0.01447395421564579,
0.05034418776631355,
-0.024111270904541016,
-0.03941230848431587,
0.015678618103265762,
0.00969125609844923,
0.024129251018166542,
-0.029415389522910118,
0.02864224649965763,
0.016577621921896935,
0.004384888801723719,
-0.05142299085855484,
0.09248946607112885,
0.032615840435028076,
0.015678618103265762,
0.019849995151162148,
0.02242114394903183,
0.019670194014906883,
0.01485153567045927,
-0.04448268562555313,
0.013341209851205349,
0.04297235980629921,
-0.03506113216280937,
0.014222233556210995,
-0.0037353590596467257,
-0.01761147566139698,
-0.010437428951263428,
-0.011884824372828007,
-0.003760081483051181,
-0.02596321702003479,
0.010041867382824421,
0.01650570146739483,
0.04408712312579155,
0.015426897443830967,
-0.001994663616642356,
0.03340696543455124,
0.074509397149086,
-0.04164183512330055,
-0.045957051217556,
-0.0028902958147227764,
0.08004725724458694,
0.025495735928416252,
-0.0503082275390625,
-0.009201299399137497,
-0.00022784117027185857,
-0.03790198266506195,
-0.025495735928416252,
0.05681701377034187,
-0.009457515552639961,
-0.037830062210559845,
0.021144559606909752,
0.009475495666265488,
-0.013808691874146461,
-0.03364070504903793,
-0.013727781362831593,
-0.021935682743787766,
0.027257781475782394,
-0.02783314324915409,
0.03804582357406616,
0.04955306649208069,
0.03984382748603821,
0.020731016993522644,
0.01154320314526558,
-0.06681393086910248,
0.04261276125907898,
0.02747354283928871,
-0.015022345818579197,
-0.007430262863636017,
-0.013583940453827381,
-0.0023036960046738386,
0.010059847496449947,
0.0009518198203295469,
-0.029721051454544067,
0.002512714359909296,
-0.013943541795015335,
0.009871057234704494,
0.04052707180380821,
-0.001184436958283186,
-0.0006765000289306045,
0.07645124942064285,
-0.011147641576826572,
-0.0054254853166639805,
-0.025315934792160988,
-0.013341209851205349,
-0.04498612880706787,
0.07601972669363022,
0.0041421581991016865,
-0.012765848077833652,
0.06048494577407837,
-0.06767697632312775,
0.05419192090630531,
0.003038631286472082,
-0.023140346631407738,
0.001942971022799611,
0.02520805411040783,
-0.056349530816078186,
0.036103975027799606,
-0.014312133193016052,
0.035798314958810806,
0.021683961153030396,
-0.031213397160172462,
0.02799496427178383,
-0.015975289046764374,
-0.030242472887039185,
-0.02652059867978096,
-0.10198294371366501,
-0.011318452656269073,
0.025028252974152565,
0.041677795350551605,
0.0037376065738499165,
-0.031051576137542725,
0.016586612910032272,
-0.014195263385772705,
-0.024219149723649025,
0.030188532546162605,
0.013152419589459896,
-0.007933705113828182,
-0.01450092438608408,
-0.018843110650777817,
0.06846809387207031,
-0.02682626061141491,
-0.03599609434604645,
0.02333812788128853,
0.03750642016530037,
0.013089489191770554,
-0.00665711984038353,
-0.05027226731181145,
0.023607827723026276,
0.027653343975543976,
-0.051998354494571686,
-0.015507807955145836,
-0.09414362907409668,
-0.038225624710321426,
0.059693824499845505,
-0.03189663961529732,
0.01275685802102089,
-0.010635210201144218,
-0.08436247706413269,
0.03407222777605057,
0.0029532259795814753,
-0.0030161563772708178,
-0.050883591175079346,
0.04358368366956711,
-0.01958029344677925,
-0.012738877907395363,
-0.022043561562895775,
0.019921913743019104,
0.021090619266033173,
-0.030296413227915764,
-0.021827802062034607,
0.0034903804771602154,
0.01690126396715641,
0.02894790843129158,
-0.022636905312538147,
-0.04401520639657974,
0.017269855365157127,
-0.04865406081080437,
0.04512996971607208,
-0.014312133193016052,
-0.007124601863324642,
0.0552707277238369,
0.03669731691479683,
-0.008702352643013,
-0.026592519134283066,
-0.0073538473807275295,
0.05354464054107666,
0.004773708060383797,
-0.008342751301825047,
-0.03754238039255142,
0.012460187077522278,
-0.005982867442071438,
-0.011929774656891823,
0.0036926562897861004,
-0.00741228275001049,
-0.04807870090007782,
0.02287064492702484,
0.033065345138311386,
0.03811774402856827,
-0.03177078068256378,
-0.057967737317085266,
-0.024165211245417595,
-0.006504289340227842,
0.08062262088060379,
-0.027797184884548187,
0.0019103821832686663,
0.04308024048805237,
-0.021737901493906975,
-0.007317887153476477,
-0.00018865024321712554,
0.04261276125907898,
-0.05070379003882408,
-0.016982173547148705,
0.03470152989029884,
0.032615840435028076,
-0.013943541795015335,
0.02197164297103882,
-0.051998354494571686,
0.021432239562273026,
-0.046136852353811264,
-0.04721565544605255,
-0.03689509630203247,
-0.05300523713231087,
-0.08436247706413269,
-0.018402598798274994,
0.013556970283389091,
-0.030476214364171028,
-0.03457567095756531,
-0.012496146373450756,
0.009547416120767593,
-0.020227575674653053,
0.022654885426163673,
0.036355696618556976,
-0.012972618453204632,
0.05167471244931221,
-0.023194286972284317,
0.04085071384906769,
-0.015184166841208935,
0.004117435310035944,
0.04692797735333443,
0.044410765171051025,
-0.002667792374268174,
0.011534213088452816,
-0.00021969394583720714,
0.013332219794392586,
-0.037722181528806686,
0.05785985663533211,
-0.006396409124135971,
-0.009277714416384697,
-0.022942565381526947,
-0.012963628396391869,
-0.0039623575285077095,
-0.004205088131129742
] |
23,202 | flask.scaffold | send_static_file | The view function used to serve files from
:attr:`static_folder`. A route is automatically registered for
this view at :attr:`static_url_path` if :attr:`static_folder` is
set.
.. versionadded:: 0.5
| def send_static_file(self, filename: str) -> Response:
"""The view function used to serve files from
:attr:`static_folder`. A route is automatically registered for
this view at :attr:`static_url_path` if :attr:`static_folder` is
set.
.. versionadded:: 0.5
"""
if not self.has_static_folder:
raise RuntimeError("'static_folder' must be set to serve static_files.")
# send_file only knows to call get_send_file_max_age on the app,
# call it here so it works for blueprints too.
max_age = self.get_send_file_max_age(filename)
return send_from_directory(
t.cast(str, self.static_folder), filename, max_age=max_age
)
| (self, filename: 'str') -> 'Response' | [
0.0018425930757075548,
-0.04929633066058159,
-0.05671574920415878,
0.03167521208524704,
0.04940333962440491,
-0.028589731082320213,
-0.007829627022147179,
0.05753616616129875,
-0.03090829961001873,
0.004253681283444166,
0.016872042790055275,
-0.04127051681280136,
0.018031327053904533,
-0.0236672330647707,
0.0031278380192816257,
-0.013501201756298542,
0.025165384635329247,
-0.022525783628225327,
-0.014553475193679333,
0.006197711452841759,
0.010959694162011147,
0.0005191698437556624,
0.013135581277310848,
0.0062556760385632515,
-0.004296039696782827,
-0.001763449632562697,
-0.06099618226289749,
-0.0021870341151952744,
0.025165384635329247,
-0.00028675561770796776,
0.018691228702664375,
-0.06513393670320511,
0.05386212840676308,
0.00012937444262206554,
-0.027858490124344826,
0.006572249345481396,
-0.03235294669866562,
-0.03877359628677368,
-0.061459895223379135,
-0.008114988915622234,
0.0192441176623106,
0.05254232510924339,
0.06167391687631607,
-0.050937164574861526,
0.03941566124558449,
0.0037297739181667566,
-0.014696156606078148,
0.04555094987154007,
-0.06866529583930969,
-0.01221707183867693,
0.012939395383000374,
0.032317277044057846,
-0.009880668483674526,
-0.03816720098257065,
0.0011771193239837885,
0.01938679814338684,
-0.031140156090259552,
0.0346536785364151,
-0.03941566124558449,
-0.0066302139312028885,
0.014606980606913567,
-0.01531146839261055,
0.03720410540699959,
-0.05828524008393288,
0.023203518241643906,
0.02903560921549797,
-0.011360985226929188,
0.02168753184378147,
-0.0020766793750226498,
-0.016488587483763695,
0.057857196778059006,
0.03153252974152565,
0.05068747326731682,
0.01159284170717001,
-0.017362510785460472,
-0.007954472675919533,
0.03183572739362717,
-0.021205982193350792,
0.010763507336378098,
0.030391080304980278,
0.05165056884288788,
-0.07123355567455292,
-0.0015494278632104397,
-0.0576075054705143,
0.02960633486509323,
-0.027822820469737053,
-0.006153123918920755,
-0.08917570859193802,
-0.05685843154788017,
0.021330829709768295,
0.005198943894356489,
0.010103607550263405,
-0.03176438808441162,
-0.02725209668278694,
-0.019565150141716003,
-0.031122321262955666,
0.016247814521193504,
0.025789614766836166,
0.018655557185411453,
0.00904687587171793,
0.013189086690545082,
0.034154295921325684,
0.0072499848902225494,
0.01751410961151123,
0.07933070510625839,
-0.04266165941953659,
0.011628512293100357,
-0.015900028869509697,
-0.04376743733882904,
0.06438486278057098,
-0.0196364913135767,
0.011913874186575413,
-0.02423795685172081,
-0.04102082550525665,
-0.029534993693232536,
0.019654326140880585,
-0.05432584136724472,
0.0320497490465641,
0.030319740995764732,
-0.028286533430218697,
-0.022668464109301567,
0.026217658072710037,
-0.025183219462633133,
0.013527954928576946,
-0.014259195886552334,
-0.00009070841042557731,
0.0392729826271534,
-0.030783453956246376,
0.055752649903297424,
0.06734549254179001,
-0.004819946829229593,
0.041627220809459686,
0.00996092613786459,
0.021437840536236763,
-0.01795106939971447,
0.04358908534049988,
0.05543161928653717,
0.03741812705993652,
0.01790648140013218,
0.10893703997135162,
0.01929762214422226,
-0.03099747560918331,
0.02605714090168476,
0.04002205654978752,
0.06941436976194382,
-0.0136528005823493,
-0.02707374468445778,
-0.001529363333247602,
-0.06195928156375885,
0.038702256977558136,
0.04519424960017204,
0.014187854714691639,
0.004523437935858965,
0.002860310720279813,
0.029410148039460182,
-0.029392313212156296,
0.017166323959827423,
0.02792983129620552,
-0.03404728323221207,
-0.012555939145386219,
-0.024897856637835503,
0.009131592698395252,
-0.03278099000453949,
0.01660451665520668,
-0.014499969780445099,
-0.034261304885149,
-0.016158638522028923,
0.09295675903558731,
0.013590377755463123,
0.013108829036355019,
-0.0162210613489151,
-0.02716292068362236,
-0.01756761409342289,
0.02034989558160305,
0.044088467955589294,
-0.009568553417921066,
-0.007125138770788908,
0.00011369902495061979,
0.05503924563527107,
-0.018976589664816856,
0.014803167432546616,
-0.09509697556495667,
0.022828981280326843,
0.004918040242046118,
-0.007785039022564888,
0.01780838891863823,
-0.0568227618932724,
0.033565737307071686,
0.001955177402123809,
0.00864112563431263,
-0.0012283953838050365,
-0.0014858902432024479,
-0.007909885607659817,
-0.032085418701171875,
-0.014624815434217453,
-0.024648165330290794,
0.003214784199371934,
-0.08332578092813492,
-0.01027304120361805,
-0.05475388467311859,
-0.034243471920490265,
-0.003745379624888301,
0.011075622402131557,
-0.015900028869509697,
0.008132824674248695,
-0.0136528005823493,
0.026092812418937683,
0.024398474022746086,
0.016684774309396744,
0.0763344019651413,
-0.025860954076051712,
-0.026021471247076988,
-0.02744828164577484,
0.01646183617413044,
-0.017389262095093727,
-0.05475388467311859,
-0.0769764706492424,
0.03609832748770714,
-0.04023607820272446,
0.0037810499779880047,
0.04822622239589691,
-0.028714576736092567,
-0.03820287436246872,
0.045907653868198395,
-0.006567790638655424,
0.004797652829438448,
0.03090829961001873,
0.006023819092661142,
-0.06927169114351273,
-0.03210325539112091,
-0.04776250943541527,
0.015400644391775131,
0.057571835815906525,
-0.008253212086856365,
0.01949380896985531,
-0.0002708712127059698,
0.03369058296084404,
0.024844352155923843,
0.013777646236121655,
-0.006643590051680803,
0.006081783212721348,
-0.009033499285578728,
0.006505367811769247,
0.03162170574069023,
0.013010735623538494,
-0.006170958746224642,
-0.005127603188157082,
0.04319671168923378,
-0.011352067813277245,
-0.028964269906282425,
0.042840007692575455,
-0.03845256567001343,
-0.056180693209171295,
0.02088494971394539,
-0.02134866453707218,
0.03916596993803978,
-0.03388676792383194,
0.01746952161192894,
-0.033761922270059586,
0.08232701569795609,
-0.019761336967349052,
0.0030721030198037624,
0.008538573980331421,
-0.024344967678189278,
0.038416896015405655,
-0.022971661761403084,
-0.05261366814374924,
0.014071926474571228,
-0.042447637766599655,
0.02495136298239231,
0.05086582154035568,
0.08032947778701782,
0.020867114886641502,
-0.055074915289878845,
-0.010870518162846565,
-0.03085479512810707,
-0.035349249839782715,
0.031800057739019394,
0.03540275618433952,
-0.012448928318917751,
0.014018421061336994,
-0.024630330502986908,
0.022436607629060745,
-0.007557641249150038,
0.016907714307308197,
0.019565150141716003,
0.01833452470600605,
0.06438486278057098,
-0.028999939560890198,
-0.038381222635507584,
0.02926746755838394,
0.004133293870836496,
0.014384041540324688,
-0.05157922953367233,
-0.06003308668732643,
-0.03852390497922897,
-0.02980252169072628,
0.021330829709768295,
0.08325444161891937,
0.042162273079156876,
0.009729069657623768,
0.008208624087274075,
0.013804399408400059,
0.013563624583184719,
-0.05386212840676308,
0.008226458914577961,
-0.01890525035560131,
-0.01427703071385622,
0.020813610404729843,
0.012315165251493454,
0.0005208418588154018,
-0.042411964386701584,
0.04844024404883385,
0.012011967599391937,
0.09053117781877518,
0.03229944035410881,
0.024469813331961632,
0.07291005551815033,
-0.012279494665563107,
0.02778715081512928,
-0.004663889296352863,
0.052149951457977295,
-0.019600819796323776,
0.046335697174072266,
0.034814197570085526,
-0.022293927147984505,
0.08211299031972885,
-0.022632794454693794,
0.02352455072104931,
0.008944323286414146,
0.048154883086681366,
0.03650853410363197,
-0.0447305329144001,
-0.035777293145656586,
-0.011985215358436108,
0.002208213321864605,
0.025896625593304634,
-0.03574162349104881,
0.06588301062583923,
-0.01890525035560131,
-0.013064241036772728,
0.010103607550263405,
-0.019119272008538246,
0.012547021731734276,
-0.027002403512597084,
0.019368963316082954,
0.014080843888223171,
-0.04943901300430298,
0.0031813434325158596,
-0.05150788649916649,
-0.007923261262476444,
-0.02270413562655449,
0.015177705325186253,
-0.022329596802592278,
0.018263185396790504,
-0.03609832748770714,
0.0010567321442067623,
0.004998298361897469,
-0.04415981099009514,
0.004420885816216469,
-0.04002205654978752,
0.03340521827340126,
-0.03945133090019226,
0.004367380402982235,
0.018940920010209084,
-0.05614502355456352,
0.00993417389690876,
-0.035973481833934784,
-0.02505837380886078,
0.03542058914899826,
0.00717418547719717,
0.004322792403399944,
-0.009773657657206059,
0.005907890386879444,
0.0784032791852951,
-0.051472216844558716,
-0.002414432354271412,
-0.03738245740532875,
0.04540827125310898,
0.02049257792532444,
-0.042019594460725784,
0.0406997911632061,
0.03153252974152565,
0.03998638689517975,
0.010085772722959518,
-0.012484598904848099,
0.029873860999941826,
0.0062779695726931095,
-0.06249433383345604,
-0.0106297442689538,
0.07369480282068253,
-0.04415981099009514,
-0.0011408916907384992,
-0.013813316822052002,
-0.022293927147984505,
-0.08960375189781189,
-0.025308065116405487,
0.05935535207390785,
0.029838191345334053,
-0.004238075576722622,
-0.0053148721344769,
0.012181401252746582,
-0.09766523540019989,
0.03723977506160736,
0.019190611317753792,
-0.011869286186993122,
0.04444517195224762,
-0.02662786655128002,
-0.0039058958645910025,
0.0021647403482347727,
-0.015115282498300076,
0.014981518499553204,
-0.038131531327962875,
-0.005404047667980194,
0.03326253965497017,
0.039237309247255325,
-0.012011967599391937,
-0.005845467559993267,
0.04722745344042778,
0.009764740243554115,
0.005885596852749586,
-0.029766850173473358,
0.08931838721036911,
0.005965854972600937,
0.002989615546539426,
-0.03014138899743557,
-0.0028625400736927986,
-0.02520105428993702,
-0.052720677107572556,
-0.006799647584557533,
0.015231210738420486,
-0.046193014830350876,
-0.09238602966070175,
-0.014606980606913567,
0.06920035183429718,
-0.023007331416010857,
0.003517981618642807,
-0.053398411720991135,
-0.02461249567568302,
0.01861988753080368,
0.0013175710337236524,
-0.03488553687930107,
0.03056943230330944,
0.019600819796323776,
-0.007985684089362621,
0.011940627358853817,
-0.03056943230330944,
-0.01890525035560131,
0.029249630868434906,
-0.06706012785434723,
-0.0031657374929636717,
0.038809265941381454,
0.021830212324857712,
-0.004104312043637037,
-0.016613435000181198,
-0.02855406142771244,
-0.037988852709531784,
-0.08418186753988266,
-0.03201407939195633,
-0.019172776490449905,
-0.022971661761403084,
0.015989204868674278,
0.009800409898161888,
-0.06866529583930969,
-0.03522440418601036,
-0.009898503310978413,
0.014464299194514751,
0.007611146662384272,
-0.0031278380192816257,
-0.04358908534049988,
0.04983138293027878,
-0.03806019201874733,
-0.027894161641597748,
-0.05657306686043739,
0.033672746270895004,
0.04761982709169388,
-0.03650853410363197,
0.030355410650372505,
-0.05974772199988365,
0.03493904322385788,
-0.016354825347661972,
0.029124785214662552,
-0.05835658311843872,
0.015712760388851166,
0.00993417389690876,
0.001304194680415094,
-0.0020911702886223793,
0.06256567686796188,
-0.003752067917957902,
-0.04023607820272446,
0.033530063927173615,
0.0179421529173851,
-0.003364153439179063,
-0.03215675801038742,
-0.05289902910590172,
0.08696414530277252,
-0.024255791679024696,
0.025468582287430763,
0.0040463474579155445,
0.01528471615165472,
-0.024487648159265518,
-0.10173164308071136,
-0.016568847000598907,
0.09994813054800034,
-0.0011130243074148893,
-0.0019763566087931395,
-0.03866658732295036,
-0.006416192278265953,
-0.013688471168279648,
-0.025165384635329247,
0.002432267414405942,
0.027519622817635536,
-0.005212320014834404,
0.026752712205052376,
0.060068756341934204,
-0.0057741268537938595,
-0.030177058652043343,
-0.005778585560619831,
-0.012395422905683517,
-0.011173715814948082,
-0.0031724257860332727,
-0.06310073286294937,
0.018602052703499794,
0.02744828164577484,
-0.015195540152490139,
0.011958462186157703,
0.031122321262955666,
-0.0384882353246212,
0.026770547032356262,
0.053434085100889206,
-0.005823173560202122,
0.04822622239589691,
0.051757581532001495,
-0.002173657761886716,
0.04819055274128914,
0.023060837760567665,
-0.01094185933470726,
0.02883942425251007,
-0.04833323135972023,
0.005359460134059191,
-0.02097412571310997,
-0.01694338396191597,
0.033565737307071686,
-0.061031851917505264,
-0.029873860999941826,
-0.0663110539317131,
-0.010647579096257687,
-0.038844939321279526,
0.11072055995464325,
-0.031800057739019394,
0.010647579096257687,
0.016158638522028923,
0.03920163959264755,
-0.02380991354584694,
0.011173715814948082,
0.0455152802169323,
-0.002258374821394682,
-0.006224464159458876,
-0.013902492821216583,
-0.02505837380886078,
-0.022258255630731583,
0.014624815434217453,
0.008150659501552582,
-0.01992185227572918,
-0.00581871485337615,
0.04829756170511246,
0.03470718488097191,
0.028928598389029503,
0.01214573159813881,
-0.06613270193338394,
0.030729947611689568,
0.11257541179656982,
0.030587267130613327,
-0.05946236103773117,
0.03984370455145836,
0.03699008375406265,
0.06499125808477402,
-0.01226165983825922,
0.00033552359673194587,
-0.00013724698510486633,
-0.027198590338230133,
-0.029820356518030167,
0.01291264221072197,
0.06285104155540466,
-0.10287309437990189,
-0.007414959836751223,
0.04626435786485672,
-0.00033775297924876213,
-0.024255791679024696,
0.014678320847451687,
-0.025789614766836166,
0.01886957883834839,
0.01650642417371273,
-0.023203518241643906,
0.028928598389029503,
0.031550366431474686,
0.012930477038025856,
0.013189086690545082,
0.05107984319329262,
0.015944616869091988,
0.005702786613255739,
0.0024991491809487343,
-0.01761220209300518,
0.06388547271490097,
0.02461249567568302,
0.011236138641834259,
-0.007388207130134106,
-0.005234614014625549,
-0.020670928061008453,
0.023845583200454712,
-0.07654842734336853,
-0.030248399823904037,
-0.005667116027325392,
0.035010382533073425,
0.027038075029850006,
0.006585625931620598,
-0.05336274206638336,
-0.02174103632569313,
-0.006108535919338465,
-0.03479636088013649,
-0.014455381780862808,
-0.006928952410817146,
-0.0035135229118168354,
0.053683776408433914,
-0.005796420853585005,
0.015525490045547485,
0.06352877616882324,
0.04740580543875694,
-0.06556198000907898,
0.015944616869091988,
-0.022882485762238503,
-0.002041009021922946,
0.001003784011118114,
-0.015730595216155052,
0.0328344963490963,
-0.01559683121740818,
-0.055360279977321625,
0.05503924563527107,
-0.014535640366375446,
-0.0025571133010089397,
0.08689280599355698,
0.010433557443320751,
-0.03987937420606613,
-0.0410921648144722,
-0.012627280317246914,
0.02634250372648239,
-0.002659665420651436,
-0.042019594460725784,
0.023916924372315407,
-0.08090019971132278,
-0.031068816781044006,
-0.0008967731846496463,
-0.047584157437086105,
-0.0022628335282206535,
-0.008859606459736824,
0.03788184002041817,
0.004246992990374565,
-0.0983072966337204,
0.024630330502986908,
0.012270577251911163,
0.038702256977558136,
-0.028233028948307037,
0.03945133090019226,
-0.13062457740306854,
-0.013322850689291954,
-0.04016473889350891,
0.02389908954501152,
-0.07818926125764847,
-0.023150013759732246,
-0.005047345068305731,
-0.007811791729182005,
0.02477301098406315,
0.008962158113718033,
-0.07037746906280518,
0.04266165941953659,
0.09238602966070175,
-0.046728070825338364,
-0.0326383076608181,
-0.007183103356510401,
-0.03502821922302246,
-0.0005746259703300893,
0.005176649894565344,
-0.003674039151519537,
0.0011760046472772956,
-0.046906422823667526,
-0.051472216844558716,
0.012930477038025856,
-0.06438486278057098,
0.018976589664816856,
0.042982690036296844,
-0.0047129360027611256,
0.03866658732295036,
-0.052577994763851166,
-0.004677265882492065,
-0.021081136539578438,
0.0073302430100739,
0.07012777775526047,
0.02159835584461689,
-0.019422469660639763,
0.03781050071120262,
-0.029196126386523247,
-0.025950130075216293,
0.052435316145420074,
0.036883071064949036,
-0.055895332247018814,
0.002759988186880946,
-0.013171251863241196,
-0.026092812418937683,
0.016283484175801277,
-0.013082075864076614,
0.012377588078379631,
-0.04918931797146797,
0.030658608302474022,
0.06984241306781769,
-0.054932236671447754,
-0.002525901887565851,
-0.022543618455529213,
0.0065900846384465694,
0.03791750967502594,
-0.038844939321279526,
-0.03340521827340126,
-0.030391080304980278,
0.009568553417921066,
0.03162170574069023,
0.010620826855301857,
-0.023774243891239166,
0.0024367261212319136,
-0.008837312459945679,
-0.02994520217180252,
0.024362802505493164,
0.055217597633600235,
-0.03723977506160736,
0.012315165251493454,
0.018833909183740616,
0.01434837095439434,
0.05157922953367233,
0.005203402601182461,
-0.04722745344042778,
-0.0924573689699173,
0.020171545445919037,
0.008583161979913712,
-0.03071211278438568,
-0.02759096398949623,
-0.1114339604973793,
0.05906998738646507,
0.04640703648328781,
0.01698797196149826,
0.04223361611366272,
0.014562392607331276,
0.026074975728988647,
0.03650853410363197,
-0.02313217893242836,
-0.004819946829229593,
0.05122252553701401,
0.0051142266020178795,
0.030872629955410957,
-0.048261892050504684,
0.006456321105360985,
-0.008721384219825268,
-0.028964269906282425,
0.006447403691709042,
0.004953710362315178,
0.011093458160758018,
0.016158638522028923,
0.057571835815906525,
0.07690513134002686,
0.03540275618433952,
0.01688987948000431
] |
23,203 | flask.app | shell_context_processor | Registers a shell context processor function.
.. versionadded:: 0.11
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: ~T_shell_context_processor) -> ~T_shell_context_processor | [
0.0455244779586792,
-0.05292652174830437,
-0.05258134752511978,
-0.04491083696484566,
0.04119063913822174,
0.0040102386847138405,
-0.003116144798696041,
0.03835255280137062,
-0.04502589628100395,
-0.06155584380030632,
-0.00404619425535202,
0.015178021974861622,
-0.0043626027181744576,
0.015235550701618195,
0.02598385326564312,
0.03532269969582558,
0.06370358914136887,
0.02755630761384964,
0.05614813417196274,
-0.08552619069814682,
0.041382402181625366,
0.009866193868219852,
0.001550881308503449,
-0.005565913859754801,
-0.04636823385953903,
0.0012440609280019999,
-0.03033686801791191,
-0.001217094250023365,
0.053425103425979614,
-0.032829783856868744,
-0.010700361803174019,
-0.0521211177110672,
0.02172672003507614,
0.010479834862053394,
0.05526602640748024,
-0.024315517395734787,
-0.026233144104480743,
-0.009175848215818405,
0.000292737822746858,
-0.056723423302173615,
-0.008614941500127316,
-0.0008569398196414113,
-0.039656538516283035,
-0.03578292950987816,
0.03472823649644852,
0.03539940342307091,
-0.038371726870536804,
0.04314662143588066,
0.006285024341195822,
0.01795858144760132,
0.0021381548140197992,
-0.022954002022743225,
0.048707738518714905,
0.04494918882846832,
0.025178449228405952,
0.05185265094041824,
-0.02118978463113308,
0.02015426568686962,
-0.0081642996519804,
-0.036895155906677246,
-0.0105277756229043,
0.07728038728237152,
-0.0017330559203401208,
0.02118978463113308,
0.038218315690755844,
-0.017191531136631966,
-0.05737541615962982,
0.010057956911623478,
0.001217094250023365,
-0.02740289829671383,
-0.00022382309543900192,
-0.005005008075386286,
-0.02560032717883587,
0.003303113393485546,
0.05169923976063728,
-0.06209278106689453,
0.00282850069925189,
-0.08475913852453232,
0.025887971743941307,
-0.026750903576612473,
0.04801739379763603,
-0.04889950156211853,
-0.04525601118803024,
0.003701021196320653,
0.06792236864566803,
0.03488164395093918,
0.019655682146549225,
-0.0016767255729064345,
-0.04337673634290695,
0.033596836030483246,
-0.06481581181287766,
0.004209192469716072,
-0.014353442005813122,
0.03281060606241226,
0.008212240412831306,
-0.03743208944797516,
0.009118319489061832,
-0.010892124846577644,
-0.0005135646206326783,
-0.04111393541097641,
0.036358218640089035,
0.038601841777563095,
-0.010872947983443737,
0.030682040378451347,
0.011985172517597675,
0.012426226399838924,
-0.003075395245105028,
0.01758464425802231,
0.007536276243627071,
-0.026865962892770767,
-0.028054891154170036,
-0.019224217161536217,
-0.019962502643465996,
-0.03697185963392258,
-0.03382695093750954,
0.01865851692855358,
0.0026055765338242054,
-0.027307016775012016,
0.06811413168907166,
-0.03210108354687691,
-0.006337759084999561,
-0.021093903109431267,
0.025734562426805496,
-0.04655999690294266,
0.038601841777563095,
0.08291821926832199,
-0.030375219881534576,
0.01206187717616558,
-0.0051823887042701244,
0.007464365102350712,
-0.014842437580227852,
0.03825667127966881,
-0.03699103742837906,
0.07540111243724823,
0.01587795652449131,
0.027134429663419724,
-0.05591801926493645,
0.036204807460308075,
-0.03292566537857056,
0.08544948697090149,
-0.025523623451590538,
-0.013557626865804195,
-0.03954147920012474,
-0.01992415077984333,
0.007052075117826462,
-0.03505423292517662,
-0.004278706386685371,
-0.020614495500922203,
-0.017498351633548737,
0.024890806525945663,
0.05802740901708603,
-0.00984701793640852,
-0.04667505621910095,
0.041305698454380035,
0.002392240334302187,
0.058525994420051575,
-0.031794264912605286,
-0.005110477562993765,
-0.005666589364409447,
-0.06581297516822815,
-0.04797904193401337,
-0.05296487361192703,
-0.012282404117286205,
-0.09411715716123581,
-0.003775329329073429,
0.02163083851337433,
0.02015426568686962,
0.02807406708598137,
0.015101317316293716,
0.07659004628658295,
-0.04502589628100395,
0.015973838046193123,
-0.0037681381218135357,
-0.004611894488334656,
0.026904314756393433,
0.042264509946107864,
0.0006019552820362151,
-0.033577658236026764,
-0.013826094567775726,
-0.04410543292760849,
-0.01602177880704403,
-0.07689686864614487,
-0.056800127029418945,
0.007397248409688473,
0.03135320916771889,
0.03862101957201958,
-0.019070805981755257,
0.040692057460546494,
0.03440224006772041,
0.03384612500667572,
-0.08859439194202423,
0.037623852491378784,
0.07674345374107361,
0.015964249148964882,
-0.04195769131183624,
0.0016144027467817068,
-0.0413440503180027,
0.011630411259829998,
0.02673172764480114,
-0.0636652335524559,
-0.050740424543619156,
0.026252321898937225,
0.026348203420639038,
-0.04598470777273178,
0.003684242023155093,
0.006999340374022722,
0.016942240297794342,
0.001468183589167893,
-0.014449323527514935,
-0.02920546755194664,
-0.05020349100232124,
0.009156671352684498,
0.028112420812249184,
-0.013615155592560768,
0.002581606153398752,
-0.03720197454094887,
0.032906487584114075,
0.006059702951461077,
0.023337528109550476,
0.020173441618680954,
0.05384698137640953,
0.05756717920303345,
0.0011835357872769237,
-0.01288645714521408,
-0.006227495614439249,
-0.015705369412899017,
0.046981874853372574,
0.011639999225735664,
-0.00612202612683177,
-0.010134661570191383,
-0.024890806525945663,
-0.005307034123688936,
0.05756717920303345,
0.028438417240977287,
0.039119601249694824,
-0.030145104974508286,
0.035073406994342804,
0.02882194146513939,
-0.015043788589537144,
0.0022412273101508617,
0.03334754332900047,
0.018236638978123665,
0.017987346276640892,
-0.018898218870162964,
0.0024809306487441063,
0.026386555284261703,
-0.0013243615394458175,
-0.007253426127135754,
-0.0057816472835838795,
-0.020844612270593643,
-0.0024305928964167833,
-0.02696184255182743,
-0.01744082197546959,
-0.02943558245897293,
-0.04935973510146141,
-0.01894615963101387,
-0.00850467849522829,
-0.026175616309046745,
-0.007344513665884733,
0.03457482531666756,
-0.004228368867188692,
0.005891910754144192,
-0.03946477547287941,
0.05714530125260353,
0.0012392668286338449,
-0.020767906680703163,
0.01141947228461504,
-0.03327083960175514,
-0.021765071898698807,
-0.01692306250333786,
0.052082765847444534,
0.05185265094041824,
-0.008686852641403675,
0.02237871289253235,
-0.06232289597392082,
-0.02964652143418789,
-0.012426226399838924,
0.02044191025197506,
-0.044450607150793076,
-0.030356043949723244,
0.017766818404197693,
-0.024085402488708496,
0.028400063514709473,
0.04065370559692383,
-0.042187806218862534,
-0.004535189364105463,
-0.03490082174539566,
0.05311828479170799,
-0.004122899379581213,
-0.01497667096555233,
0.01923380419611931,
0.02420045994222164,
0.05093218758702278,
-0.023778581991791725,
0.007799949962645769,
0.04260968416929245,
-0.1075405552983284,
-0.01783393695950508,
0.045332714915275574,
-0.0438753180205822,
0.030298516154289246,
0.0012776193907484412,
0.02642490714788437,
0.01661624200642109,
0.005796029232442379,
0.02567703276872635,
0.03294484317302704,
0.00204826588742435,
-0.014180855825543404,
0.004647849593311548,
0.023241646587848663,
-0.022954002022743225,
0.0022951604332774878,
-0.015005435794591904,
0.0005048753810115159,
0.030087577179074287,
-0.01865851692855358,
-0.06489251554012299,
0.012733046896755695,
0.06439393013715744,
-0.05599472299218178,
0.04598470777273178,
0.030797097831964493,
0.004245148040354252,
0.029972517862915993,
0.0011062313569709659,
0.05952315777540207,
-0.008145122788846493,
0.001550881308503449,
0.011477001011371613,
-0.04951314255595207,
0.045869652181863785,
-0.018524281680583954,
0.001665938994847238,
-0.03664586320519447,
0.021362371742725372,
-0.04157416522502899,
-0.03534187749028206,
-0.05181429535150528,
-0.0786227285861969,
0.05181429535150528,
0.009199818596243858,
-0.0009857803815975785,
0.016434067860245705,
-0.018025698140263557,
-0.03248460963368416,
0.03367353975772858,
0.02979993261396885,
0.04176592826843262,
-0.05284981429576874,
0.051775943487882614,
-0.03499670326709747,
0.015178021974861622,
0.05614813417196274,
0.019195452332496643,
-0.07570793479681015,
0.001262038596905768,
-0.06052032485604286,
0.0018013713415712118,
-0.006999340374022722,
0.01654912531375885,
0.02590714767575264,
-0.045716241002082825,
0.01865851692855358,
0.023836109787225723,
-0.04161251708865166,
0.026904314756393433,
-0.03724032640457153,
0.02345258556306362,
0.017412059009075165,
0.03858266770839691,
-0.031487446278333664,
0.013164512813091278,
-0.002567223971709609,
-0.03645410016179085,
-0.03259966894984245,
0.013624743558466434,
-0.03729785606265068,
-0.0862165316939354,
0.09871947020292282,
0.029454758390784264,
0.05841093510389328,
-0.0026655022520571947,
0.008480708114802837,
0.004415337461978197,
-0.09189271181821823,
-0.007488335482776165,
-0.014161679893732071,
0.00653431611135602,
0.004913920536637306,
-0.00012157459423178807,
-0.03739373758435249,
0.013250806368887424,
0.052696406841278076,
0.03743208944797516,
-0.04935973510146141,
-0.014899966306984425,
0.047135286033153534,
0.011764644645154476,
0.026559142395853996,
0.0859864205121994,
0.017613409087061882,
0.058756109327077866,
0.014113739132881165,
0.05595637112855911,
-0.012445403262972832,
0.06604309380054474,
0.013615155592560768,
0.01977073960006237,
0.07739544659852982,
-0.010326424613595009,
-0.021247312426567078,
-0.07183432579040527,
-0.04506424814462662,
-0.03047110140323639,
-0.03862101957201958,
0.0006897466373629868,
0.04621482267975807,
0.03198602795600891,
0.019828269258141518,
0.040615350008010864,
0.005800823215395212,
0.04042359068989754,
0.03754714876413345,
0.018025698140263557,
0.030451925471425056,
-0.01580125093460083,
0.031928498297929764,
-0.02912876196205616,
-0.005311828106641769,
0.007378072012215853,
-0.007133574690669775,
-0.038678549230098724,
-0.03977159410715103,
0.0031688795424997807,
0.012589224614202976,
-0.01819828525185585,
0.01684635877609253,
0.016961416229605675,
0.04840091988444328,
-0.02059531956911087,
-0.017622997984290123,
0.011246885173022747,
0.018600987270474434,
0.041228991001844406,
-0.0058295875787734985,
-0.07129739224910736,
0.02793983370065689,
0.10953488945960999,
-0.00966004841029644,
-0.01811199262738228,
-0.038218315690755844,
0.009554578922688961,
-0.0067931958474218845,
-0.05166088789701462,
-0.02374022826552391,
-0.003322289790958166,
0.03451729565858841,
-0.05864105001091957,
0.00932446401566267,
0.028860295191407204,
-0.017086060717701912,
0.0392538346350193,
-0.02538938820362091,
0.027057724073529243,
0.03219696506857872,
0.02755630761384964,
0.03219696506857872,
-0.05825752392411232,
-0.01329874712973833,
0.0058679403737187386,
0.007934183813631535,
-0.004827627446502447,
0.007234250195324421,
0.03407623991370201,
0.028495945036411285,
0.02538938820362091,
-0.03173673525452614,
-0.042801447212696075,
0.013049455359578133,
0.02502503991127014,
-0.03307907655835152,
-0.005527561530470848,
0.06677179038524628,
-0.06485416740179062,
-0.049167972058057785,
0.05120065435767174,
0.018811926245689392,
0.02404704876244068,
0.010230543091893196,
-0.026405731216073036,
0.03116144798696041,
-0.0017330559203401208,
0.022800590842962265,
0.04675175994634628,
0.027901481837034225,
0.016961416229605675,
0.024142930284142494,
0.016414891928434372,
-0.032829783856868744,
-0.007296572905033827,
-0.011879703029990196,
0.010096308775246143,
0.043031562119722366,
0.008677264675498009,
-0.016951827332377434,
-0.04632988199591637,
-0.0389278382062912,
-0.020307675004005432,
-0.015590311959385872,
0.016712123528122902,
0.020115913823246956,
0.03900454565882683,
-0.02838088758289814,
-0.016203952953219414,
0.0031616883352398872,
-0.001623990829102695,
-0.027383722364902496,
0.010566127486526966,
-0.01795858144760132,
0.020020032301545143,
0.014104150235652924,
0.05614813417196274,
-0.05622484162449837,
0.010259306989610195,
-0.015475254505872726,
0.08130741119384766,
0.030298516154289246,
0.04291650652885437,
0.08844098448753357,
0.003751358948647976,
0.06727037578821182,
0.045332714915275574,
-0.010086720809340477,
0.03831419721245766,
0.03864019364118576,
-0.04955149441957474,
-0.058756109327077866,
-0.004643055610358715,
-0.04813245311379433,
0.03645410016179085,
0.04671340808272362,
-0.05185265094041824,
0.01093047671020031,
-0.05361686646938324,
-0.05116230249404907,
0.012263228185474873,
-0.015302668325603008,
-0.006145996507257223,
-0.07551617175340652,
-0.07325337082147598,
0.019943326711654663,
0.051775943487882614,
0.01662583090364933,
-0.09871947020292282,
-0.03591716289520264,
0.06799907237291336,
0.02232118509709835,
0.00648158136755228,
0.03100803680717945,
-0.03054780699312687,
0.010834596119821072,
-0.06473910808563232,
-0.06052032485604286,
0.00016090093413367867,
0.032235320657491684,
0.01609848253428936,
0.013413804583251476,
-0.010949653573334217,
-0.038525138050317764,
-0.014478088356554508,
-0.029320525005459785,
0.055381085723638535,
0.009012849070131779,
-0.04659834876656532,
0.025504445657134056,
0.004240354057401419,
0.009070378728210926,
0.05392368510365486,
-0.023241646587848663,
0.0488227978348732,
-0.008360856212675571,
-0.042187806218862534,
-0.07540111243724823,
-0.04632988199591637,
-0.007550658658146858,
0.08590971678495407,
0.05756717920303345,
-0.02629067376255989,
-0.03756632283329964,
-0.0918160080909729,
0.013164512813091278,
-0.01977073960006237,
-0.04425884410738945,
0.001093646977096796,
0.01984744518995285,
-0.013432981446385384,
0.04276309534907341,
-0.002483327640220523,
0.03649245202541351,
-0.037623852491378784,
0.03077792190015316,
0.04598470777273178,
-0.021765071898698807,
0.03227367252111435,
-0.006088467314839363,
-0.028285006061196327,
0.002000325359404087,
-0.029761578887701035,
-0.003569184336811304,
-0.022973177954554558,
-0.03047110140323639,
0.03077792190015316,
0.04103722795844078,
-0.03885113447904587,
-0.024756571277976036,
-0.06500757485628128,
0.039809949696063995,
0.04824750870466232,
-0.03681844845414162,
-0.007234250195324421,
-0.026175616309046745,
-0.015110905282199383,
-0.0038496372289955616,
-0.019866621121764183,
0.01542731374502182,
0.014247972518205643,
-0.007627363782376051,
-0.055457789450883865,
-0.01422879658639431,
0.022743063047528267,
-0.02082543447613716,
0.01100718230009079,
-0.01210022997111082,
0.05990668386220932,
-0.00440095504745841,
0.027959009632468224,
-0.008332091383635998,
-0.020691201090812683,
0.03547611087560654,
0.028208300471305847,
-0.048707738518714905,
-0.01857222244143486,
-0.01595466211438179,
0.006764431018382311,
0.00015565742796752602,
0.018850278109312057,
-0.07390536367893219,
0.07363689690828323,
-0.020729554817080498,
-0.0009995633736252785,
0.08353185653686523,
-0.02165001444518566,
0.01564784161746502,
-0.04943643882870674,
0.007349307648837566,
-0.025351036339998245,
-0.013519274070858955,
-0.0027661777567118406,
0.006577462423592806,
0.011908466927707195,
-0.0012368697207421064,
0.026233144104480743,
-0.05423050746321678,
-0.02170754410326481,
-0.02216777391731739,
0.06389535218477249,
-0.036358218640089035,
0.0688428282737732,
0.02538938820362091,
0.052159469574689865,
-0.045562829822301865,
0.009300493635237217,
-0.008030065335333347,
-0.02799736149609089,
-0.008586177602410316,
-0.032906487584114075,
0.02510174550116062,
0.02170754410326481,
-0.027901481837034225,
-0.05956151336431503,
0.019655682146549225,
-0.04935973510146141,
0.04050029441714287,
0.00732054328545928,
-0.03369271755218506,
0.039503127336502075,
-0.02186095342040062,
0.0009875781834125519,
-0.05085548385977745,
0.030720394104719162,
-0.018591398373246193,
0.00027131434762850404,
0.04245627298951149,
-0.08966826647520065,
-0.0431082658469677,
-0.03992500528693199,
-0.0745573565363884,
-0.007191103417426348,
-0.006850724574178457,
0.05925469100475311,
-0.0011266061337664723,
0.06738543510437012,
-0.01535060815513134,
-0.007608187384903431,
0.021400723606348038,
-0.020403556525707245,
-0.04027017951011658,
-0.016299834474921227,
0.00823141634464264,
0.03200520575046539,
0.0013159719528630376,
0.10002345591783524,
-0.00856700073927641,
-0.014017857611179352,
-0.028860295191407204,
-0.08667676895856857,
0.010844184085726738,
-0.003499670187011361,
0.007152750622481108,
-0.052006058394908905,
0.025120921432971954,
0.043683554977178574,
-0.0048372154124081135,
0.06903459131717682,
-0.030528631061315536,
-0.04268638789653778,
-0.011227709241211414,
0.06285983324050903,
-0.019962502643465996,
0.014430147595703602,
-0.03352012857794762,
-0.04341508820652962,
0.039579831063747406,
0.03670339286327362,
-0.03917713090777397,
-0.0007508710259571671,
-0.06431722640991211,
-0.046023059636354446,
-0.019511859863996506,
-0.003116144798696041,
0.006601432804018259,
-0.08491254597902298,
-0.005446062423288822,
0.016827180981636047,
0.03240790590643883,
0.006577462423592806,
-0.026309849694371223,
0.02920546755194664,
-0.017795583233237267,
0.05476744472980499,
0.0202884990721941,
-0.0678456649184227,
0.01022095512598753,
-0.01123729720711708,
-0.019559800624847412,
0.024373047053813934,
0.017565468326210976,
-0.014094562269747257,
-0.011774233542382717,
-0.04410543292760849,
-0.005302240140736103,
-0.021228136494755745,
0.005786441266536713,
0.09749218821525574,
0.04053864628076553,
-0.014142503030598164,
0.01051818672567606
] |
23,204 | flask.app | should_ignore_error | This is called to figure out if an error should be ignored
or not as far as the teardown system is concerned. If this
function returns ``True`` then the teardown handlers will not be
passed the error.
.. versionadded:: 0.10
| def should_ignore_error(self, error: BaseException | None) -> bool:
"""This is called to figure out if an error should be ignored
or not as far as the teardown system is concerned. If this
function returns ``True`` then the teardown handlers will not be
passed the error.
.. versionadded:: 0.10
"""
return False
| (self, error: BaseException | None) -> bool | [
-0.04143691062927246,
0.009907693602144718,
0.0493561215698719,
0.03980444371700287,
0.014449082314968109,
-0.027560928836464882,
0.017540352419018745,
0.05758792906999588,
-0.004537046421319246,
-0.0028220864478498697,
0.06120019778609276,
0.035428039729595184,
0.047480516135692596,
-0.04018650949001312,
-0.04664691537618637,
0.03330930322408676,
0.03054799884557724,
0.05922039598226547,
0.043381981551647186,
-0.0461953841149807,
-0.06262426823377609,
0.05546919256448746,
0.013441814109683037,
-0.03587957099080086,
-0.0321631021797657,
0.033778201788663864,
-0.009395376779139042,
0.02707466296851635,
0.02019745483994484,
0.022767724469304085,
-0.06043606624007225,
0.005283813923597336,
0.048765651881694794,
0.062033798545598984,
0.00030093209352344275,
-0.004832280334085226,
-0.03740784153342247,
0.07773328572511673,
-0.08030354976654053,
0.00847928412258625,
-0.07377368211746216,
0.018877586349844933,
0.006282398477196693,
0.022125156596302986,
0.010949695482850075,
-0.03785937279462814,
-0.03329193592071533,
0.028012463822960854,
-0.03238886967301369,
0.034247104078531265,
-0.009143560193479061,
0.020336389541625977,
0.01948542147874832,
0.0704045444726944,
0.005978481378406286,
0.029749132692813873,
0.03230203315615654,
-0.051613789051771164,
-0.04334724694490433,
-0.04890458658337593,
-0.023861825466156006,
0.08440209180116653,
0.010437377728521824,
-0.07273168116807938,
0.02813403122127056,
-0.031485799700021744,
-0.04102011024951935,
-0.016463616862893105,
-0.013059747405350208,
0.003742520697414875,
-0.030791133642196655,
0.004827938508242369,
-0.02933233231306076,
0.01382388174533844,
0.0054140640422701836,
-0.0493561215698719,
0.0425136461853981,
0.020475322380661964,
0.008097217418253422,
0.017149601131677628,
-0.03042643330991268,
0.04081171005964279,
-0.018321853131055832,
0.08342956006526947,
0.021013690158724785,
-0.061860132962465286,
-0.0033669660333544016,
0.009586410596966743,
0.05484399199485779,
0.009716660715639591,
-0.013632847927510738,
-0.034820202738046646,
-0.014588016085326672,
0.00751109141856432,
-0.03963077440857887,
0.06491667032241821,
0.033014070242643356,
-0.03115583397448063,
-0.027352528646588326,
-0.10232450813055038,
0.0040442668832838535,
0.048591986298561096,
0.10538104921579361,
0.0006485371850430965,
0.0587688647210598,
0.022802457213401794,
0.026953095570206642,
-0.011340445838868618,
-0.001236290903761983,
-0.002140444004908204,
-0.0393529087305069,
0.02936706505715847,
-0.02884606458246708,
0.05307259038090706,
-0.012894763611257076,
-0.09398850053548813,
-0.0029957531951367855,
-0.015256633050739765,
-0.06988354027271271,
0.0015054745599627495,
0.01679358445107937,
0.012295613065361977,
0.018148185685276985,
-0.03240623325109482,
0.05071072280406952,
-0.018269753083586693,
-0.0017540352419018745,
0.0369563065469265,
-0.01965908706188202,
-0.02936706505715847,
-0.0017540352419018745,
-0.020457955077290535,
-0.01068919524550438,
-0.02931496500968933,
-0.028533464297652245,
0.07328741252422333,
0.0149700827896595,
0.023340824991464615,
0.03323983773589134,
-0.07863634824752808,
0.03685210645198822,
0.011922229081392288,
0.011427278630435467,
-0.004619538318365812,
0.021413123235106468,
0.017384052276611328,
-0.055573392659425735,
-0.010593677870929241,
0.006955357734113932,
-0.004445871338248253,
0.003870599903166294,
-0.013650214299559593,
-0.030686933547258377,
0.0024856068193912506,
-0.08863956481218338,
0.01717565208673477,
-0.0033669660333544016,
0.053871456533670425,
-0.061269666999578476,
-0.013354981318116188,
0.04612591490149498,
-0.01292949728667736,
0.04890458658337593,
-0.0169585682451725,
-0.050293922424316406,
-0.024556493386626244,
-0.02424389310181141,
-0.06470827013254166,
0.001891883322969079,
0.0321631021797657,
-0.0033843328710645437,
0.08342956006526947,
-0.005262105725705624,
-0.0018745166016742587,
-0.03528910502791405,
-0.0018940541194751859,
0.04042964428663254,
-0.023896558210253716,
-0.07363474369049072,
0.019190186634659767,
0.0791226178407669,
-0.05352412536740303,
0.006308448500931263,
0.04855725169181824,
0.04616064950823784,
-0.011401228606700897,
-0.03164210170507431,
-0.02297612465918064,
0.010376594960689545,
0.0646735355257988,
0.05578179284930229,
0.03499387204647064,
-0.01235639676451683,
0.04098537936806679,
0.04546598345041275,
0.009603776969015598,
0.02703992836177349,
0.004261350259184837,
0.049147721379995346,
0.021725723519921303,
-0.025129593908786774,
0.013980181887745857,
0.008253517560660839,
0.012339030392467976,
0.01788768544793129,
-0.012668997049331665,
-0.056754328310489655,
-0.06491667032241821,
0.02881133183836937,
0.033066168427467346,
-0.04827938601374626,
-0.0006110902177169919,
0.03921397402882576,
0.07856688648462296,
0.06752167642116547,
0.04883512109518051,
0.04963398724794388,
-0.0032823034562170506,
-0.0003305097343400121,
0.06269373744726181,
0.0009296603966504335,
0.0063344985246658325,
0.06262426823377609,
-0.0067903739400208,
-0.01636810041964054,
0.03994337469339371,
0.03685210645198822,
-0.011149412021040916,
0.02544219419360161,
0.008705050684511662,
-0.010602361522614956,
0.024643326178193092,
-0.04320831224322319,
-0.010567627847194672,
0.012538746930658817,
0.028377164155244827,
-0.019381221383810043,
-0.054392457008361816,
-0.021083155646920204,
-0.009291176684200764,
-0.03389976918697357,
0.009004626423120499,
-0.02712676301598549,
-0.017166968435049057,
-0.03994337469339371,
-0.04737631604075432,
-0.031364232301712036,
0.08912582695484161,
-0.02703992836177349,
0.01406701561063528,
0.07203701138496399,
0.011045211926102638,
-0.005661539267748594,
-0.014379615895450115,
0.023827092722058296,
-0.050293922424316406,
-0.0009491979144513607,
-0.024052860215306282,
0.009673243388533592,
0.013988865539431572,
0.011870129033923149,
0.009629826992750168,
0.004845305345952511,
0.04946032166481018,
-0.033153001219034195,
-0.014231998473405838,
0.030895333737134933,
0.03211100026965141,
0.04557018354535103,
-0.0018202457576990128,
0.03754677250981331,
0.05407985672354698,
-0.008870034478604794,
0.004376404918730259,
0.01899915374815464,
0.024035492911934853,
-0.01180934626609087,
0.049182452261447906,
-0.05185692384839058,
0.0340908020734787,
0.04306938126683235,
0.037720441818237305,
0.034768104553222656,
0.029123932123184204,
-0.03405607119202614,
0.01524794939905405,
-0.0019103353843092918,
0.003191128373146057,
-0.009855593554675579,
0.005861256271600723,
-0.04199264571070671,
-0.036574240773916245,
-0.01235639676451683,
0.01747956871986389,
-0.05828259512782097,
0.005552997812628746,
-0.0508149228990078,
-0.07544088363647461,
0.02075318992137909,
-0.008670317940413952,
-0.020457955077290535,
0.047584716230630875,
-0.055121857672929764,
0.01721038483083248,
-0.005726664327085018,
-0.0010387449292466044,
0.00736347446218133,
0.012191412970423698,
-0.055608127266168594,
-0.00811024196445942,
0.019346486777067184,
0.003677395638078451,
-0.049182452261447906,
-0.006625390611588955,
0.06147806718945503,
-0.030304865911602974,
0.0820402204990387,
-0.049182452261447906,
-0.03271883353590965,
0.034281838685274124,
-0.06686174124479294,
0.006221615243703127,
-0.03622690588235855,
-0.05404512584209442,
0.014310148544609547,
0.02933233231306076,
0.043486181646585464,
-0.005800473038107157,
-0.06328420341014862,
-0.03348296880722046,
0.02591109462082386,
-0.02179519087076187,
-0.04557018354535103,
-0.03268410265445709,
-0.002072062576189637,
-0.0574837289750576,
-0.007806324865669012,
-0.05050232261419296,
0.05696272850036621,
0.009707977063953876,
-0.03994337469339371,
0.01962435431778431,
0.028342431411147118,
0.022802457213401794,
-0.04831412062048912,
0.018096085637807846,
-0.025598494336009026,
-0.0002819372748490423,
0.008718076162040234,
0.0287418644875288,
0.03056536614894867,
0.04425031319260597,
-0.07314848154783249,
0.006742615718394518,
-0.011045211926102638,
-0.006212931592017412,
-0.06411780416965485,
0.02302822470664978,
-0.002880699001252651,
-0.007697783410549164,
0.019919587299227715,
-0.021586790680885315,
0.02063162252306938,
0.016055500134825706,
-0.019832754507660866,
-0.025702694430947304,
-0.0171930193901062,
0.004619538318365812,
-0.05824786424636841,
-0.011036528274416924,
-0.03271883353590965,
-0.04202738031744957,
0.005231713876128197,
-0.02936706505715847,
0.020371122285723686,
0.015117699280381203,
-0.025963194668293,
-0.03667844086885452,
-0.015708167105913162,
0.054392457008361816,
0.0223682913929224,
-0.011722512543201447,
-0.026709962636232376,
-0.08002568781375885,
0.021013690158724785,
-0.036470040678977966,
-0.005296838935464621,
-0.0014837661292403936,
0.0008314300794154406,
-0.06043606624007225,
0.0034407745115458965,
-0.026362627744674683,
0.03046116605401039,
0.03785937279462814,
-0.02474752627313137,
-0.05480925738811493,
-0.023479757830500603,
-0.06727854162454605,
-0.008943842723965645,
0.033674001693725586,
0.011913546361029148,
0.018773386254906654,
-0.02997489832341671,
-0.015256633050739765,
0.08009514957666397,
0.01551713328808546,
-0.01066314522176981,
0.016463616862893105,
0.007723833434283733,
-0.034854937344789505,
-0.0402907095849514,
-0.01833922043442726,
-0.0316941998898983,
0.0010495990281924605,
-0.033153001219034195,
0.045778583735227585,
-0.007354791276156902,
0.008787542581558228,
-0.016316000372171402,
-0.0037902791518718004,
0.022003591060638428,
0.008583484217524529,
0.009265126660466194,
-0.028064563870429993,
0.04511864855885506,
-0.03158999979496002,
-0.008652950637042522,
-0.00010128305439138785,
0.03862350806593895,
0.05237792432308197,
-0.023340824991464615,
-0.015603967010974884,
0.020336389541625977,
0.009534310549497604,
-0.022611424326896667,
-0.012938180938363075,
-0.06898047775030136,
0.015586599707603455,
-0.02238565683364868,
0.02019745483994484,
-0.018808120861649513,
-0.00243567768484354,
-0.03042643330991268,
0.010767345316708088,
0.09037622809410095,
0.005709297955036163,
0.05838679522275925,
0.030895333737134933,
0.03060009889304638,
0.05289892479777336,
-0.044146113097667694,
-0.02427862584590912,
0.01527399942278862,
-0.08919529616832733,
-0.06460406631231308,
0.010211611166596413,
0.0023814067244529724,
-0.011114678345620632,
0.01066314522176981,
-0.006720907054841518,
-0.015534499660134315,
0.019832754507660866,
-0.007354791276156902,
-0.046890050172805786,
0.09044569730758667,
0.009273810312151909,
0.010828128084540367,
-0.01892968639731407,
0.02823823131620884,
0.03527173772454262,
0.014596698805689812,
0.011548846028745174,
0.05355885624885559,
0.0008097217069007456,
0.045188114047050476,
-0.018026620149612427,
-0.03504597023129463,
0.0323367677628994,
0.018026620149612427,
0.03339613601565361,
0.01319868117570877,
-0.005136197432875633,
0.030183298513293266,
-0.054461926221847534,
0.013641531579196453,
-0.06571553647518158,
-0.056094393134117126,
-0.017019351944327354,
0.04126324504613876,
-0.01499613281339407,
-0.01469221618026495,
-0.07599661499261856,
-0.022646157070994377,
-0.007280983030796051,
0.041124310344457626,
-0.024400193244218826,
-0.00688589084893465,
0.03733837231993675,
0.04647324979305267,
-0.024417560547590256,
0.02709202840924263,
0.03240623325109482,
0.0436251126229763,
-0.03443813696503639,
0.0369563065469265,
-0.07127287983894348,
-0.02075318992137909,
-0.005253422539681196,
-0.016298634931445122,
0.00237489421851933,
-0.015682116150856018,
0.07224541157484055,
0.008218783885240555,
0.006078340113162994,
0.05769212916493416,
-0.030982166528701782,
-0.043520912528038025,
-0.033621903508901596,
0.034333936870098114,
0.011323078535497189,
0.04504918307065964,
-0.026762062683701515,
-0.01004662737250328,
0.03304880112409592,
0.010063993744552135,
-0.03339613601565361,
0.007398208137601614,
0.0028481364715844393,
0.005374989006668329,
-0.003766399808228016,
0.018860220909118652,
0.03468127176165581,
0.014709582552313805,
0.017236435785889626,
-0.02311505749821663,
-0.0038771124090999365,
-0.019190186634659767,
0.03792884200811386,
-0.01067182794213295,
-0.011583578772842884,
0.020857390016317368,
0.029714398086071014,
0.024070225656032562,
-0.056094393134117126,
-0.037720441818237305,
0.021083155646920204,
-0.017219068482518196,
0.003753374796360731,
-0.038901373744010925,
-0.011323078535497189,
0.056754328310489655,
-0.01267768070101738,
0.056163862347602844,
-0.01840868592262268,
0.09107089787721634,
-0.045222848653793335,
0.048696186393499374,
0.05713639408349991,
0.012191412970423698,
0.013424447737634182,
-0.015933934599161148,
-0.019190186634659767,
0.04855725169181824,
-0.027456728741526604,
0.0195896215736866,
-0.00955167692154646,
-0.025164326652884483,
0.030686933547258377,
-0.011053895577788353,
-0.02075318992137909,
0.007953941822052002,
-0.06283266842365265,
-0.011800662614405155,
0.002839453052729368,
-0.04727211594581604,
-0.009907693602144718,
-0.0048409635201096535,
0.016463616862893105,
-0.05053705349564552,
-0.0032280327286571264,
0.026223694905638695,
-0.03587957099080086,
0.02585899457335472,
-0.002787353005260229,
-0.03914450854063034,
-0.031016899272799492,
0.05369779095053673,
0.0038250123616307974,
-0.020961590111255646,
-0.03457707166671753,
-0.005275130737572908,
-0.02700519561767578,
0.029505997896194458,
-0.09044569730758667,
0.042826246470212936,
0.05477452650666237,
0.056684862822294235,
-0.06279793381690979,
0.03851930797100067,
0.008179708383977413,
0.024869093671441078,
0.03219783306121826,
0.024348093196749687,
0.008427184075117111,
0.012868713587522507,
-0.01151411235332489,
-0.03733837231993675,
0.019138086587190628,
-0.02598056197166443,
0.025963194668293,
0.003900991752743721,
0.029089197516441345,
0.03820670768618584,
-0.03353507071733475,
-0.0552607923746109,
-0.011687778867781162,
0.013988865539431572,
-0.008019067347049713,
0.05949826538562775,
0.03155526891350746,
0.025702694430947304,
0.008179708383977413,
0.001220009638927877,
-0.004398113116621971,
-0.073912613093853,
0.026171594858169556,
-0.009621143341064453,
-0.030218033120036125,
-0.1086459830403328,
-0.047063715755939484,
-0.04966872185468674,
-0.0401170440018177,
0.02999226562678814,
-0.06602814048528671,
-0.038345642387866974,
0.01660255156457424,
0.0321631021797657,
0.022715624421834946,
0.06349260360002518,
-0.004471921361982822,
0.02016272209584713,
-0.04136744514107704,
-0.01790505275130272,
0.05998453125357628,
-0.014796416275203228,
-0.008687684312462807,
0.034768104553222656,
-0.005466164089739323,
0.049251921474933624,
-0.00024720391957089305,
-0.024417560547590256,
0.06151279807090759,
-0.013858615420758724,
-0.01554318331182003,
-0.038276173174381256,
0.012278246693313122,
0.01960698701441288,
0.043451447039842606,
-0.004148466978222132,
-0.02533799409866333,
-0.0062997653149068356,
0.03285776823759079,
-0.06345786899328232,
-0.00462388014420867,
0.09183502942323685,
-0.0004887093673460186,
0.008322983980178833,
-0.0025876362342387438,
0.018634453415870667,
0.009004626423120499,
0.01704540103673935,
0.01661991886794567,
-0.01953752152621746,
-0.04386824741959572,
0.04102011024951935,
0.026935728266835213,
-0.060713931918144226,
-0.0816928893327713,
-0.000909037422388792,
-0.03681737184524536,
-0.065958671271801,
0.054392457008361816,
-0.05626806244254112,
0.0008753894944675267,
0.026136862114071846,
0.03160736709833145,
-0.034820202738046646,
0.06085286661982536,
-0.021117890253663063,
-0.06411780416965485,
-0.03907504305243492,
0.018148185685276985,
-0.03587957099080086,
0.046924784779548645,
-0.01778348535299301,
-0.011479378677904606,
-0.020353754982352257,
0.012373763136565685,
-0.012339030392467976,
-0.003900991752743721,
0.029123932123184204,
0.002880699001252651,
0.013546014204621315,
0.029644932597875595,
0.02311505749821663,
-0.02304559201002121,
-0.026258427649736404,
-0.0587688647210598,
0.036018505692481995,
-0.02591109462082386,
0.0018712603487074375,
-0.05223898962140083,
0.025008026510477066,
-0.06168646737933159,
-0.05998453125357628,
-0.06401360034942627,
-0.0029545072466135025,
-0.053801991045475006,
0.00982086081057787,
-0.0005937235546298325,
-0.023896558210253716,
-0.030322233214974403,
-0.0018202457576990128,
0.04265258088707924,
-0.03685210645198822,
0.008917792700231075,
-0.04129797965288162,
-0.06773007661104202,
0.06859840452671051,
-0.004250496160238981,
-0.02070108987390995,
-0.0046369051560759544,
-0.05724059417843819,
0.0775943472981453,
0.01410174835473299,
0.017001984640955925,
-0.065958671271801,
0.010854178108274937,
0.01012477744370699,
0.005257763899862766,
0.024052860215306282,
-0.053280990570783615,
0.03619217127561569,
-0.0705782100558281,
-0.005149222444742918,
0.020840022712945938,
-0.020371122285723686,
0.10642305016517639,
0.04181898012757301,
0.019919587299227715,
0.018009252846240997,
-0.04310411214828491,
-0.000226580974413082,
-0.010602361522614956,
0.004000850021839142,
0.022264091297984123,
0.03158999979496002,
0.004610855132341385,
0.04105484485626221,
0.014796416275203228,
-0.004096366930752993,
0.006100048311054707,
0.05237792432308197,
0.0028155739419162273,
0.024521760642528534,
0.022350924089550972,
-0.022125156596302986,
0.004762813448905945
] |
23,205 | flask.app | teardown_appcontext | Registers a function to be called when the application
context is popped. The application context is typically popped
after the request context for each request, at the end of CLI
commands, or after a manually pushed context ends.
.. code-block:: python
with app.app_context():
...
When the ``with`` block exits (or ``ctx.pop()`` is called), the
teardown functions are called just before the app context is
made inactive. Since a request context typically also manages an
application context it would also be called when you pop a
request context.
When a teardown function was called because of an unhandled
exception it will be passed an error object. If an
:meth:`errorhandler` is registered, it will handle the exception
and the teardown will not receive it.
Teardown functions must avoid raising exceptions. If they
execute code that might fail they must surround that code with a
``try``/``except`` block and log any errors.
The return values of teardown functions are ignored.
.. versionadded:: 0.9
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, f: ~T_teardown) -> ~T_teardown | [
0.04556402191519737,
-0.05285119637846947,
-0.052582722157239914,
-0.04491201043128967,
0.041191715747117996,
0.003981578163802624,
-0.0031138290651142597,
0.03837272897362709,
-0.0449887178838253,
-0.061557453125715256,
-0.003983975388109684,
0.015226361341774464,
-0.004369908012449741,
0.015226361341774464,
0.02598453313112259,
0.035323623567819595,
0.06366690248250961,
0.027557028457522392,
0.05611125007271767,
-0.0855284258723259,
0.04138348624110222,
0.009866451844573021,
0.0015952681424096227,
-0.0055564711801707745,
-0.04633109271526337,
0.0012392991920933127,
-0.030280129984021187,
-0.0012536818394437432,
0.05342650040984154,
-0.03284981846809387,
-0.01067187637090683,
-0.05212248116731644,
0.021688934415578842,
0.010489696636795998,
0.05522911623120308,
-0.024258622899651527,
-0.02623383142054081,
-0.009152117185294628,
0.0002958916884381324,
-0.0567249059677124,
-0.008624755777418613,
-0.0008503702119924128,
-0.03958086669445038,
-0.035803042352199554,
0.03472914174199104,
0.03534280136227608,
-0.03835355490446091,
0.04310939460992813,
0.006275600288063288,
0.017987817525863647,
0.002098658587783575,
-0.022935425862669945,
0.04870901256799698,
0.04495036602020264,
0.025121577084064484,
0.051854003220796585,
-0.021151984110474586,
0.020231500267982483,
-0.008183689787983894,
-0.03689611703157425,
-0.010566404089331627,
0.07728241384029388,
-0.001747483853250742,
0.0211903378367424,
0.038180962204933167,
-0.01720156893134117,
-0.05730020999908447,
0.010029454715549946,
0.0012392991920933127,
-0.027403613552451134,
-0.00017199171998072416,
-0.004990756046026945,
-0.025639351457357407,
0.0032912143506109715,
0.051700592041015625,
-0.06201769784092903,
0.0028333687223494053,
-0.0847613513469696,
0.02590782567858696,
-0.0267324261367321,
0.04798029735684395,
-0.04886242747306824,
-0.045257192105054855,
0.0037250888999551535,
0.0679241418838501,
0.0348825566470623,
0.01962743140757084,
-0.001692350604571402,
-0.043301161378622055,
0.0335785374045372,
-0.06481750309467316,
0.004178140312433243,
-0.014353817328810692,
0.03281146660447121,
0.008217249065637589,
-0.037452246993780136,
0.009142528288066387,
-0.010959528386592865,
-0.0005735054728575051,
-0.04111500829458237,
0.03635916858911514,
0.03860285133123398,
-0.010834879241883755,
0.030663665384054184,
0.01197589747607708,
0.012474493123590946,
-0.0030371220782399178,
0.017575515434145927,
0.007502913940697908,
-0.026866665109992027,
-0.02803644724190235,
-0.019186364486813545,
-0.02003973163664341,
-0.037030357867479324,
-0.03382783383131027,
0.018678180873394012,
0.002564893802627921,
-0.02736525982618332,
0.06815426796674728,
-0.03210192546248436,
-0.006328336428850889,
-0.02109445445239544,
0.025716057047247887,
-0.046561215072870255,
0.038583673536777496,
0.0829203799366951,
-0.030414368957281113,
0.01202383916825056,
-0.005244848318397999,
0.007474148645997047,
-0.014842825010418892,
0.03829602524638176,
-0.037030357867479324,
0.07540308684110641,
0.01588795892894268,
0.027115963399410248,
-0.05595783516764641,
0.036224931478500366,
-0.03284981846809387,
0.0855284258723259,
-0.02550511248409748,
-0.013538804836571217,
-0.03954251483082771,
-0.019905494526028633,
0.007037877105176449,
-0.03509350121021271,
-0.0042812153697013855,
-0.020653389394283295,
-0.017489220947027206,
0.02492981031537056,
0.05795222148299217,
-0.009837687015533447,
-0.046637922525405884,
0.041268423199653625,
0.002453428925946355,
0.058527521789073944,
-0.03177591785788536,
-0.005163347348570824,
-0.005647560581564903,
-0.06581469625234604,
-0.04798029735684395,
-0.053081318736076355,
-0.012206018902361393,
-0.09411962330341339,
-0.003734677331522107,
0.021688934415578842,
0.020097261294722557,
0.02811315469443798,
0.015130477026104927,
0.07659205049276352,
-0.04495036602020264,
0.016022197902202606,
-0.0038257669657468796,
-0.004674339201301336,
0.02688584104180336,
0.04226561635732651,
0.0006316350772976875,
-0.03355935961008072,
-0.01380727905780077,
-0.04414493963122368,
-0.016012609004974365,
-0.0769372284412384,
-0.05680161342024803,
0.0074262069538235664,
0.0312964990735054,
0.038583673536777496,
-0.01905212737619877,
0.04065476730465889,
0.03438396006822586,
0.033847011625766754,
-0.08859670907258987,
0.03764401376247406,
0.07670710980892181,
0.016003020107746124,
-0.04195878654718399,
0.0015772898914292455,
-0.041345130652189255,
0.011621126905083656,
0.02680913358926773,
-0.06359019130468369,
-0.05074175074696541,
0.02631053701043129,
0.02638724446296692,
-0.04594755917787552,
0.0037155004683882,
0.0070187002420425415,
0.016923505812883377,
0.0014550379710271955,
-0.014440112747251987,
-0.029206231236457825,
-0.05012809485197067,
0.009156910702586174,
0.028074800968170166,
-0.013625100255012512,
0.0025672910269349813,
-0.037183769047260284,
0.03294570371508598,
0.006050273310393095,
0.023338137194514275,
0.02013561502099037,
0.053810037672519684,
0.057568684220314026,
0.0011224406771361828,
-0.01283885259181261,
-0.006170128006488085,
-0.015744134783744812,
0.046983104199171066,
0.011717010289430618,
-0.006112597417086363,
-0.010077396407723427,
-0.024833926931023598,
-0.00527361361309886,
0.05760703608393669,
0.028381628915667534,
0.03904391825199127,
-0.030126716941595078,
0.03505514934659004,
0.028784342110157013,
-0.015072946436703205,
0.0021897482220083475,
0.03334841504693031,
0.018189173191785812,
0.017978228628635406,
-0.018879536539316177,
0.0024618187453597784,
0.0264064222574234,
-0.0013567570131272078,
-0.007253615651279688,
-0.005753032863140106,
-0.020883509889245033,
-0.0023791189305484295,
-0.02688584104180336,
-0.01744127832353115,
-0.029455529525876045,
-0.04936102405190468,
-0.01889871433377266,
-0.008543253876268864,
-0.026253007352352142,
-0.007330323103815317,
0.0345565527677536,
-0.0042524500750005245,
0.005944801028817892,
-0.03954251483082771,
0.057146795094013214,
0.0012416962999850512,
-0.020749272778630257,
0.011419770307838917,
-0.03323335573077202,
-0.021803995594382286,
-0.01687556318938732,
0.05208412557840347,
0.051854003220796585,
-0.008663108572363853,
0.022379297763109207,
-0.06232452392578125,
-0.029589766636490822,
-0.012369020842015743,
0.020480798557400703,
-0.044528476893901825,
-0.030337661504745483,
0.017767284065485,
-0.024086032062768936,
0.028458336368203163,
0.040693119168281555,
-0.04218890890479088,
-0.004504145588725805,
-0.03480584919452667,
0.053081318736076355,
-0.004127801395952702,
-0.01498665101826191,
0.019215131178498268,
0.02427779883146286,
0.050971873104572296,
-0.0237983800470829,
0.007757006213068962,
0.04261079803109169,
-0.10762007534503937,
-0.017891932278871536,
0.045333899557590485,
-0.043953172862529755,
0.030280129984021187,
0.0013040208723396063,
0.026348890736699104,
0.016597500070929527,
0.005805769003927708,
0.02573523484170437,
0.03294570371508598,
0.0020171571522951126,
-0.014142872765660286,
0.004609617870301008,
0.023242253810167313,
-0.02297377958893776,
0.0022736466489732265,
-0.015005827881395817,
0.0005168740754015744,
0.030088363215327263,
-0.01864941604435444,
-0.06489421427249908,
0.012675849720835686,
0.06435726583003998,
-0.05595783516764641,
0.045985911041498184,
0.030778726562857628,
0.004209302365779877,
0.030011655762791634,
0.00114161754027009,
0.059524714946746826,
-0.008130953647196293,
0.0016276289243251085,
0.011496477760374546,
-0.04951443895697594,
0.045909203588962555,
-0.018524765968322754,
0.0016144448891282082,
-0.036627642810344696,
0.02134375274181366,
-0.04157525300979614,
-0.035400331020355225,
-0.05181565135717392,
-0.07862478494644165,
0.05181565135717392,
0.00917129311710596,
-0.0010217626113444567,
0.016434498131275177,
-0.01799740456044674,
-0.03244710713624954,
0.03365524485707283,
0.029762357473373413,
0.041767019778490067,
-0.052927903831005096,
0.051700592041015625,
-0.03497844189405441,
0.015188007615506649,
0.05614960193634033,
0.019215131178498268,
-0.07570991665124893,
0.0012668658746406436,
-0.06044520065188408,
0.001758270780555904,
-0.007052259519696236,
0.01653038151562214,
0.02590782567858696,
-0.04567908123135567,
0.018639827147126198,
0.02377920411527157,
-0.04169031232595444,
0.027000902220606804,
-0.03724130243062973,
0.02339566871523857,
0.017422102391719818,
0.03860285133123398,
-0.03150744363665581,
0.013155268505215645,
-0.0026008503045886755,
-0.03641669824719429,
-0.0326005220413208,
0.013615511357784271,
-0.037356361746788025,
-0.08629549294710159,
0.09864533692598343,
0.029513059183955193,
0.05841246247291565,
-0.0026511894538998604,
0.008504900150001049,
0.00444182101637125,
-0.09189511835575104,
-0.007445383816957474,
-0.014162049628794193,
0.00659681111574173,
0.004866107366979122,
-0.00012869415513705462,
-0.037452246993780136,
0.01331827137619257,
0.05277448892593384,
0.03747142106294632,
-0.04936102405190468,
-0.014938709326088428,
0.047136519104242325,
0.011707422323524952,
0.026598189026117325,
0.08598867058753967,
0.017642633989453316,
0.05875764414668083,
0.014104519039392471,
0.05595783516764641,
-0.012426551431417465,
0.0659681111574173,
0.01364427711814642,
0.019732903689146042,
0.07735911756753922,
-0.01043216697871685,
-0.02126704528927803,
-0.0718362033367157,
-0.045027073472738266,
-0.03047189861536026,
-0.038583673536777496,
0.0006765806465409696,
0.04625438526272774,
0.03192933276295662,
0.01980961114168167,
0.040539707988500595,
0.005791386589407921,
0.040424644947052,
0.03756730630993843,
0.018064523115754128,
0.030452722683548927,
-0.01580166444182396,
0.03191015496850014,
-0.029110347852110863,
-0.005287996027618647,
0.0074310009367764,
-0.0071241725236177444,
-0.03875626623630524,
-0.03973428159952164,
0.0031809478532522917,
0.012608731165528297,
-0.018208349123597145,
0.016837209463119507,
0.017000213265419006,
0.04840218648314476,
-0.02069174312055111,
-0.017642633989453316,
0.011256768368184566,
0.018639827147126198,
0.041268423199653625,
-0.005872888024896383,
-0.07126090675592422,
0.02794056385755539,
0.1095377504825592,
-0.009708243422210217,
-0.018054936081171036,
-0.03821931779384613,
0.009607565589249134,
-0.006826932542026043,
-0.05166223645210266,
-0.02377920411527157,
-0.0033583331387490034,
0.03451819717884064,
-0.05864258483052254,
0.009343884885311127,
0.028822695836424828,
-0.01703856699168682,
0.039216507226228714,
-0.02535169944167137,
0.02703925594687462,
0.032236162573099136,
0.027499498799443245,
0.03219780698418617,
-0.05825904756784439,
-0.013279917649924755,
0.0058297403156757355,
0.007886449806392193,
-0.004849327262490988,
0.007330323103815317,
0.03407713398337364,
0.028458336368203163,
0.025390053167939186,
-0.03179509565234184,
-0.04287927225232124,
0.013049797154963017,
0.02502569369971752,
-0.03302241116762161,
-0.0054797641932964325,
0.06677353382110596,
-0.06485585868358612,
-0.049169257283210754,
0.051201995462179184,
0.018850771710276604,
0.02402850240468979,
0.010202045552432537,
-0.026348890736699104,
0.031162261962890625,
-0.0017882344545796514,
0.02280118688941002,
0.04675298184156418,
0.027883034199476242,
0.016904328018426895,
0.02412438578903675,
0.01637696661055088,
-0.03284981846809387,
-0.007258410099893808,
-0.011927954852581024,
0.010154102928936481,
0.0430326871573925,
0.008720639161765575,
-0.016885152086615562,
-0.04636944830417633,
-0.03889050334692001,
-0.020231500267982483,
-0.015581130981445312,
0.01671256124973297,
0.020097261294722557,
0.03904391825199127,
-0.028381628915667534,
-0.0161372572183609,
0.0031809478532522917,
-0.0016851592808961868,
-0.027403613552451134,
0.01055681612342596,
-0.017949463799595833,
0.02003973163664341,
0.014123695902526379,
0.056264664977788925,
-0.056264664977788925,
0.01030751783400774,
-0.015542777255177498,
0.08123282343149185,
0.03029930777847767,
0.04295597970485687,
0.08844329416751862,
0.0037634423933923244,
0.0672721341252327,
0.04537225514650345,
-0.010086984373629093,
0.03829602524638176,
0.03864120692014694,
-0.04951443895697594,
-0.058719292283058167,
-0.004616809077560902,
-0.04813370853662491,
0.03649340569972992,
0.04671462997794151,
-0.05181565135717392,
0.010863644070923328,
-0.05361826717853546,
-0.051048580557107925,
0.01226354856044054,
-0.015303067862987518,
-0.0061509511433541775,
-0.07551814615726471,
-0.07329364120960236,
0.0198863185942173,
0.051777299493551254,
0.016655031591653824,
-0.09872204810380936,
-0.03591810166835785,
0.06800085306167603,
0.02232176810503006,
0.006510515697300434,
0.031008848920464516,
-0.030510252341628075,
0.010854056105017662,
-0.06474079936742783,
-0.06044520065188408,
0.00017378953634761274,
0.03219780698418617,
0.0161372572183609,
0.013394978828728199,
-0.010978705249726772,
-0.03852614387869835,
-0.014507231302559376,
-0.029359646141529083,
0.0554208867251873,
0.00900829117745161,
-0.046637922525405884,
0.02550511248409748,
0.004238067660480738,
0.009061027318239212,
0.05384838953614235,
-0.023184724152088165,
0.04882407560944557,
-0.008361075073480606,
-0.04222726449370384,
-0.07540308684110641,
-0.04633109271526337,
-0.007522090803831816,
0.08591195940971375,
0.05753033235669136,
-0.02631053701043129,
-0.03762483596801758,
-0.09189511835575104,
0.013126503676176071,
-0.019732903689146042,
-0.04426000267267227,
0.0011080581462010741,
0.01986714079976082,
-0.013452509418129921,
0.04276421293616295,
-0.002469009952619672,
0.03649340569972992,
-0.03756730630993843,
0.030778726562857628,
0.045985911041498184,
-0.021708112210035324,
0.03235122188925743,
-0.006064655724912882,
-0.028285745531320572,
0.001991987694054842,
-0.029800711199641228,
-0.003550100838765502,
-0.022954601794481277,
-0.030510252341628075,
0.030778726562857628,
0.04103830084204674,
-0.03887132555246353,
-0.024699687957763672,
-0.06497091799974442,
0.039810989052057266,
0.04828712344169617,
-0.036800235509872437,
-0.007224850822240114,
-0.02615712396800518,
-0.015101712197065353,
-0.003816178534179926,
-0.0198863185942173,
0.015389363281428814,
0.014267521910369396,
-0.007584415376186371,
-0.05545923858880997,
-0.014267521910369396,
0.022762835025787354,
-0.020806802436709404,
0.01104582380503416,
-0.012081369757652283,
0.05990825220942497,
-0.004413055721670389,
0.027978917583823204,
-0.008361075073480606,
-0.02069174312055111,
0.03553456813097,
0.028209038078784943,
-0.04870901256799698,
-0.018601473420858383,
-0.015916725620627403,
0.00672146026045084,
0.00011408684076741338,
0.018850771710276604,
-0.07390730082988739,
0.07363882660865784,
-0.020730094984173775,
-0.0009480519220232964,
0.08353403955698013,
-0.021631404757499695,
0.01560030784457922,
-0.04947608336806297,
0.007378264795988798,
-0.02533252164721489,
-0.013557981699705124,
-0.0027902210131287575,
0.006582428701221943,
0.011908778920769691,
-0.0012201224453747272,
0.026291361078619957,
-0.054231926798820496,
-0.02174646593630314,
-0.0221683531999588,
0.0638970211148262,
-0.036378346383571625,
0.06892133504152298,
0.025466760620474815,
0.052199188619852066,
-0.045640729367733,
0.009305531159043312,
-0.008006304502487183,
-0.028055625036358833,
-0.008562430739402771,
-0.03283064067363739,
0.02508322335779667,
0.02166975848376751,
-0.027883034199476242,
-0.059601422399282455,
0.01963702030479908,
-0.049399375915527344,
0.040463000535964966,
0.007344705518335104,
-0.03373195230960846,
0.039465807378292084,
-0.021803995594382286,
0.000973820686340332,
-0.05093352124094963,
0.030682843178510666,
-0.018591884523630142,
0.00027671491261571646,
0.042419031262397766,
-0.08967060595750809,
-0.04310939460992813,
-0.039887696504592896,
-0.07463601231575012,
-0.007138555403798819,
-0.006850903388112783,
0.05929459258913994,
-0.0011709819082170725,
0.06746390461921692,
-0.015351009555161,
-0.00765632838010788,
0.021382106468081474,
-0.02046162076294422,
-0.04030958563089371,
-0.01629067212343216,
0.008169307373464108,
0.0319485105574131,
0.0012452919036149979,
0.10002607107162476,
-0.008581607602536678,
-0.013989458791911602,
-0.028861049562692642,
-0.08667903393507004,
0.010844467207789421,
-0.003506953129544854,
0.0071241725236177444,
-0.052007418125867844,
0.02510240115225315,
0.04376140609383583,
-0.004825356416404247,
0.06903639435768127,
-0.030529428273439407,
-0.04276421293616295,
-0.011304710060358047,
0.06286147236824036,
-0.019943848252296448,
0.014363406226038933,
-0.03350182995200157,
-0.04333951696753502,
0.03950415924191475,
0.03668517246842384,
-0.03919733315706253,
-0.0006969560054130852,
-0.06435726583003998,
-0.045909203588962555,
-0.01947401650249958,
-0.0031018436420708895,
0.006625576410442591,
-0.08491476625204086,
-0.005508529022336006,
0.016846798360347748,
0.03237039968371391,
0.006577634252607822,
-0.02631053701043129,
0.029187055304646492,
-0.01783440262079239,
0.0547688752412796,
0.020231500267982483,
-0.0679241418838501,
0.010259575210511684,
-0.011208825744688511,
-0.01956990174949169,
0.024392860010266304,
0.01760428212583065,
-0.01405657734721899,
-0.011755364015698433,
-0.04414493963122368,
-0.005302378907799721,
-0.021228691563010216,
0.00576262129470706,
0.09741802513599396,
0.040463000535964966,
-0.014142872765660286,
0.010528050363063812
] |
23,206 | flask.scaffold | teardown_request | Register a function to be called when the request context is
popped. Typically this happens at the end of each request, but
contexts may be pushed manually as well during testing.
.. code-block:: python
with app.test_request_context():
...
When the ``with`` block exits (or ``ctx.pop()`` is called), the
teardown functions are called just before the request context is
made inactive.
When a teardown function was called because of an unhandled
exception it will be passed an error object. If an
:meth:`errorhandler` is registered, it will handle the exception
and the teardown will not receive it.
Teardown functions must avoid raising exceptions. If they
execute code that might fail they must surround that code with a
``try``/``except`` block and log any errors.
The return values of teardown functions are ignored.
This is available on both app and blueprint objects. When used on an app, this
executes after every request. When used on a blueprint, this executes after
every request that the blueprint handles. To register with a blueprint and
execute after every request, use :meth:`.Blueprint.teardown_app_request`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_teardown) -> ~T_teardown | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,207 | flask.app | template_filter | A decorator that is used to register custom template filter.
You can specify a name for the filter, otherwise the function
name will be used. Example::
@app.template_filter()
def reverse(s):
return s[::-1]
:param name: the optional name of the filter, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_filter], ~T_template_filter] | [
0.04556402191519737,
-0.05285119637846947,
-0.052582722157239914,
-0.04491201043128967,
0.041191715747117996,
0.003981578163802624,
-0.0031138290651142597,
0.03837272897362709,
-0.0449887178838253,
-0.061557453125715256,
-0.003983975388109684,
0.015226361341774464,
-0.004369908012449741,
0.015226361341774464,
0.02598453313112259,
0.035323623567819595,
0.06366690248250961,
0.027557028457522392,
0.05611125007271767,
-0.0855284258723259,
0.04138348624110222,
0.009866451844573021,
0.0015952681424096227,
-0.0055564711801707745,
-0.04633109271526337,
0.0012392991920933127,
-0.030280129984021187,
-0.0012536818394437432,
0.05342650040984154,
-0.03284981846809387,
-0.01067187637090683,
-0.05212248116731644,
0.021688934415578842,
0.010489696636795998,
0.05522911623120308,
-0.024258622899651527,
-0.02623383142054081,
-0.009152117185294628,
0.0002958916884381324,
-0.0567249059677124,
-0.008624755777418613,
-0.0008503702119924128,
-0.03958086669445038,
-0.035803042352199554,
0.03472914174199104,
0.03534280136227608,
-0.03835355490446091,
0.04310939460992813,
0.006275600288063288,
0.017987817525863647,
0.002098658587783575,
-0.022935425862669945,
0.04870901256799698,
0.04495036602020264,
0.025121577084064484,
0.051854003220796585,
-0.021151984110474586,
0.020231500267982483,
-0.008183689787983894,
-0.03689611703157425,
-0.010566404089331627,
0.07728241384029388,
-0.001747483853250742,
0.0211903378367424,
0.038180962204933167,
-0.01720156893134117,
-0.05730020999908447,
0.010029454715549946,
0.0012392991920933127,
-0.027403613552451134,
-0.00017199171998072416,
-0.004990756046026945,
-0.025639351457357407,
0.0032912143506109715,
0.051700592041015625,
-0.06201769784092903,
0.0028333687223494053,
-0.0847613513469696,
0.02590782567858696,
-0.0267324261367321,
0.04798029735684395,
-0.04886242747306824,
-0.045257192105054855,
0.0037250888999551535,
0.0679241418838501,
0.0348825566470623,
0.01962743140757084,
-0.001692350604571402,
-0.043301161378622055,
0.0335785374045372,
-0.06481750309467316,
0.004178140312433243,
-0.014353817328810692,
0.03281146660447121,
0.008217249065637589,
-0.037452246993780136,
0.009142528288066387,
-0.010959528386592865,
-0.0005735054728575051,
-0.04111500829458237,
0.03635916858911514,
0.03860285133123398,
-0.010834879241883755,
0.030663665384054184,
0.01197589747607708,
0.012474493123590946,
-0.0030371220782399178,
0.017575515434145927,
0.007502913940697908,
-0.026866665109992027,
-0.02803644724190235,
-0.019186364486813545,
-0.02003973163664341,
-0.037030357867479324,
-0.03382783383131027,
0.018678180873394012,
0.002564893802627921,
-0.02736525982618332,
0.06815426796674728,
-0.03210192546248436,
-0.006328336428850889,
-0.02109445445239544,
0.025716057047247887,
-0.046561215072870255,
0.038583673536777496,
0.0829203799366951,
-0.030414368957281113,
0.01202383916825056,
-0.005244848318397999,
0.007474148645997047,
-0.014842825010418892,
0.03829602524638176,
-0.037030357867479324,
0.07540308684110641,
0.01588795892894268,
0.027115963399410248,
-0.05595783516764641,
0.036224931478500366,
-0.03284981846809387,
0.0855284258723259,
-0.02550511248409748,
-0.013538804836571217,
-0.03954251483082771,
-0.019905494526028633,
0.007037877105176449,
-0.03509350121021271,
-0.0042812153697013855,
-0.020653389394283295,
-0.017489220947027206,
0.02492981031537056,
0.05795222148299217,
-0.009837687015533447,
-0.046637922525405884,
0.041268423199653625,
0.002453428925946355,
0.058527521789073944,
-0.03177591785788536,
-0.005163347348570824,
-0.005647560581564903,
-0.06581469625234604,
-0.04798029735684395,
-0.053081318736076355,
-0.012206018902361393,
-0.09411962330341339,
-0.003734677331522107,
0.021688934415578842,
0.020097261294722557,
0.02811315469443798,
0.015130477026104927,
0.07659205049276352,
-0.04495036602020264,
0.016022197902202606,
-0.0038257669657468796,
-0.004674339201301336,
0.02688584104180336,
0.04226561635732651,
0.0006316350772976875,
-0.03355935961008072,
-0.01380727905780077,
-0.04414493963122368,
-0.016012609004974365,
-0.0769372284412384,
-0.05680161342024803,
0.0074262069538235664,
0.0312964990735054,
0.038583673536777496,
-0.01905212737619877,
0.04065476730465889,
0.03438396006822586,
0.033847011625766754,
-0.08859670907258987,
0.03764401376247406,
0.07670710980892181,
0.016003020107746124,
-0.04195878654718399,
0.0015772898914292455,
-0.041345130652189255,
0.011621126905083656,
0.02680913358926773,
-0.06359019130468369,
-0.05074175074696541,
0.02631053701043129,
0.02638724446296692,
-0.04594755917787552,
0.0037155004683882,
0.0070187002420425415,
0.016923505812883377,
0.0014550379710271955,
-0.014440112747251987,
-0.029206231236457825,
-0.05012809485197067,
0.009156910702586174,
0.028074800968170166,
-0.013625100255012512,
0.0025672910269349813,
-0.037183769047260284,
0.03294570371508598,
0.006050273310393095,
0.023338137194514275,
0.02013561502099037,
0.053810037672519684,
0.057568684220314026,
0.0011224406771361828,
-0.01283885259181261,
-0.006170128006488085,
-0.015744134783744812,
0.046983104199171066,
0.011717010289430618,
-0.006112597417086363,
-0.010077396407723427,
-0.024833926931023598,
-0.00527361361309886,
0.05760703608393669,
0.028381628915667534,
0.03904391825199127,
-0.030126716941595078,
0.03505514934659004,
0.028784342110157013,
-0.015072946436703205,
0.0021897482220083475,
0.03334841504693031,
0.018189173191785812,
0.017978228628635406,
-0.018879536539316177,
0.0024618187453597784,
0.0264064222574234,
-0.0013567570131272078,
-0.007253615651279688,
-0.005753032863140106,
-0.020883509889245033,
-0.0023791189305484295,
-0.02688584104180336,
-0.01744127832353115,
-0.029455529525876045,
-0.04936102405190468,
-0.01889871433377266,
-0.008543253876268864,
-0.026253007352352142,
-0.007330323103815317,
0.0345565527677536,
-0.0042524500750005245,
0.005944801028817892,
-0.03954251483082771,
0.057146795094013214,
0.0012416962999850512,
-0.020749272778630257,
0.011419770307838917,
-0.03323335573077202,
-0.021803995594382286,
-0.01687556318938732,
0.05208412557840347,
0.051854003220796585,
-0.008663108572363853,
0.022379297763109207,
-0.06232452392578125,
-0.029589766636490822,
-0.012369020842015743,
0.020480798557400703,
-0.044528476893901825,
-0.030337661504745483,
0.017767284065485,
-0.024086032062768936,
0.028458336368203163,
0.040693119168281555,
-0.04218890890479088,
-0.004504145588725805,
-0.03480584919452667,
0.053081318736076355,
-0.004127801395952702,
-0.01498665101826191,
0.019215131178498268,
0.02427779883146286,
0.050971873104572296,
-0.0237983800470829,
0.007757006213068962,
0.04261079803109169,
-0.10762007534503937,
-0.017891932278871536,
0.045333899557590485,
-0.043953172862529755,
0.030280129984021187,
0.0013040208723396063,
0.026348890736699104,
0.016597500070929527,
0.005805769003927708,
0.02573523484170437,
0.03294570371508598,
0.0020171571522951126,
-0.014142872765660286,
0.004609617870301008,
0.023242253810167313,
-0.02297377958893776,
0.0022736466489732265,
-0.015005827881395817,
0.0005168740754015744,
0.030088363215327263,
-0.01864941604435444,
-0.06489421427249908,
0.012675849720835686,
0.06435726583003998,
-0.05595783516764641,
0.045985911041498184,
0.030778726562857628,
0.004209302365779877,
0.030011655762791634,
0.00114161754027009,
0.059524714946746826,
-0.008130953647196293,
0.0016276289243251085,
0.011496477760374546,
-0.04951443895697594,
0.045909203588962555,
-0.018524765968322754,
0.0016144448891282082,
-0.036627642810344696,
0.02134375274181366,
-0.04157525300979614,
-0.035400331020355225,
-0.05181565135717392,
-0.07862478494644165,
0.05181565135717392,
0.00917129311710596,
-0.0010217626113444567,
0.016434498131275177,
-0.01799740456044674,
-0.03244710713624954,
0.03365524485707283,
0.029762357473373413,
0.041767019778490067,
-0.052927903831005096,
0.051700592041015625,
-0.03497844189405441,
0.015188007615506649,
0.05614960193634033,
0.019215131178498268,
-0.07570991665124893,
0.0012668658746406436,
-0.06044520065188408,
0.001758270780555904,
-0.007052259519696236,
0.01653038151562214,
0.02590782567858696,
-0.04567908123135567,
0.018639827147126198,
0.02377920411527157,
-0.04169031232595444,
0.027000902220606804,
-0.03724130243062973,
0.02339566871523857,
0.017422102391719818,
0.03860285133123398,
-0.03150744363665581,
0.013155268505215645,
-0.0026008503045886755,
-0.03641669824719429,
-0.0326005220413208,
0.013615511357784271,
-0.037356361746788025,
-0.08629549294710159,
0.09864533692598343,
0.029513059183955193,
0.05841246247291565,
-0.0026511894538998604,
0.008504900150001049,
0.00444182101637125,
-0.09189511835575104,
-0.007445383816957474,
-0.014162049628794193,
0.00659681111574173,
0.004866107366979122,
-0.00012869415513705462,
-0.037452246993780136,
0.01331827137619257,
0.05277448892593384,
0.03747142106294632,
-0.04936102405190468,
-0.014938709326088428,
0.047136519104242325,
0.011707422323524952,
0.026598189026117325,
0.08598867058753967,
0.017642633989453316,
0.05875764414668083,
0.014104519039392471,
0.05595783516764641,
-0.012426551431417465,
0.0659681111574173,
0.01364427711814642,
0.019732903689146042,
0.07735911756753922,
-0.01043216697871685,
-0.02126704528927803,
-0.0718362033367157,
-0.045027073472738266,
-0.03047189861536026,
-0.038583673536777496,
0.0006765806465409696,
0.04625438526272774,
0.03192933276295662,
0.01980961114168167,
0.040539707988500595,
0.005791386589407921,
0.040424644947052,
0.03756730630993843,
0.018064523115754128,
0.030452722683548927,
-0.01580166444182396,
0.03191015496850014,
-0.029110347852110863,
-0.005287996027618647,
0.0074310009367764,
-0.0071241725236177444,
-0.03875626623630524,
-0.03973428159952164,
0.0031809478532522917,
0.012608731165528297,
-0.018208349123597145,
0.016837209463119507,
0.017000213265419006,
0.04840218648314476,
-0.02069174312055111,
-0.017642633989453316,
0.011256768368184566,
0.018639827147126198,
0.041268423199653625,
-0.005872888024896383,
-0.07126090675592422,
0.02794056385755539,
0.1095377504825592,
-0.009708243422210217,
-0.018054936081171036,
-0.03821931779384613,
0.009607565589249134,
-0.006826932542026043,
-0.05166223645210266,
-0.02377920411527157,
-0.0033583331387490034,
0.03451819717884064,
-0.05864258483052254,
0.009343884885311127,
0.028822695836424828,
-0.01703856699168682,
0.039216507226228714,
-0.02535169944167137,
0.02703925594687462,
0.032236162573099136,
0.027499498799443245,
0.03219780698418617,
-0.05825904756784439,
-0.013279917649924755,
0.0058297403156757355,
0.007886449806392193,
-0.004849327262490988,
0.007330323103815317,
0.03407713398337364,
0.028458336368203163,
0.025390053167939186,
-0.03179509565234184,
-0.04287927225232124,
0.013049797154963017,
0.02502569369971752,
-0.03302241116762161,
-0.0054797641932964325,
0.06677353382110596,
-0.06485585868358612,
-0.049169257283210754,
0.051201995462179184,
0.018850771710276604,
0.02402850240468979,
0.010202045552432537,
-0.026348890736699104,
0.031162261962890625,
-0.0017882344545796514,
0.02280118688941002,
0.04675298184156418,
0.027883034199476242,
0.016904328018426895,
0.02412438578903675,
0.01637696661055088,
-0.03284981846809387,
-0.007258410099893808,
-0.011927954852581024,
0.010154102928936481,
0.0430326871573925,
0.008720639161765575,
-0.016885152086615562,
-0.04636944830417633,
-0.03889050334692001,
-0.020231500267982483,
-0.015581130981445312,
0.01671256124973297,
0.020097261294722557,
0.03904391825199127,
-0.028381628915667534,
-0.0161372572183609,
0.0031809478532522917,
-0.0016851592808961868,
-0.027403613552451134,
0.01055681612342596,
-0.017949463799595833,
0.02003973163664341,
0.014123695902526379,
0.056264664977788925,
-0.056264664977788925,
0.01030751783400774,
-0.015542777255177498,
0.08123282343149185,
0.03029930777847767,
0.04295597970485687,
0.08844329416751862,
0.0037634423933923244,
0.0672721341252327,
0.04537225514650345,
-0.010086984373629093,
0.03829602524638176,
0.03864120692014694,
-0.04951443895697594,
-0.058719292283058167,
-0.004616809077560902,
-0.04813370853662491,
0.03649340569972992,
0.04671462997794151,
-0.05181565135717392,
0.010863644070923328,
-0.05361826717853546,
-0.051048580557107925,
0.01226354856044054,
-0.015303067862987518,
-0.0061509511433541775,
-0.07551814615726471,
-0.07329364120960236,
0.0198863185942173,
0.051777299493551254,
0.016655031591653824,
-0.09872204810380936,
-0.03591810166835785,
0.06800085306167603,
0.02232176810503006,
0.006510515697300434,
0.031008848920464516,
-0.030510252341628075,
0.010854056105017662,
-0.06474079936742783,
-0.06044520065188408,
0.00017378953634761274,
0.03219780698418617,
0.0161372572183609,
0.013394978828728199,
-0.010978705249726772,
-0.03852614387869835,
-0.014507231302559376,
-0.029359646141529083,
0.0554208867251873,
0.00900829117745161,
-0.046637922525405884,
0.02550511248409748,
0.004238067660480738,
0.009061027318239212,
0.05384838953614235,
-0.023184724152088165,
0.04882407560944557,
-0.008361075073480606,
-0.04222726449370384,
-0.07540308684110641,
-0.04633109271526337,
-0.007522090803831816,
0.08591195940971375,
0.05753033235669136,
-0.02631053701043129,
-0.03762483596801758,
-0.09189511835575104,
0.013126503676176071,
-0.019732903689146042,
-0.04426000267267227,
0.0011080581462010741,
0.01986714079976082,
-0.013452509418129921,
0.04276421293616295,
-0.002469009952619672,
0.03649340569972992,
-0.03756730630993843,
0.030778726562857628,
0.045985911041498184,
-0.021708112210035324,
0.03235122188925743,
-0.006064655724912882,
-0.028285745531320572,
0.001991987694054842,
-0.029800711199641228,
-0.003550100838765502,
-0.022954601794481277,
-0.030510252341628075,
0.030778726562857628,
0.04103830084204674,
-0.03887132555246353,
-0.024699687957763672,
-0.06497091799974442,
0.039810989052057266,
0.04828712344169617,
-0.036800235509872437,
-0.007224850822240114,
-0.02615712396800518,
-0.015101712197065353,
-0.003816178534179926,
-0.0198863185942173,
0.015389363281428814,
0.014267521910369396,
-0.007584415376186371,
-0.05545923858880997,
-0.014267521910369396,
0.022762835025787354,
-0.020806802436709404,
0.01104582380503416,
-0.012081369757652283,
0.05990825220942497,
-0.004413055721670389,
0.027978917583823204,
-0.008361075073480606,
-0.02069174312055111,
0.03553456813097,
0.028209038078784943,
-0.04870901256799698,
-0.018601473420858383,
-0.015916725620627403,
0.00672146026045084,
0.00011408684076741338,
0.018850771710276604,
-0.07390730082988739,
0.07363882660865784,
-0.020730094984173775,
-0.0009480519220232964,
0.08353403955698013,
-0.021631404757499695,
0.01560030784457922,
-0.04947608336806297,
0.007378264795988798,
-0.02533252164721489,
-0.013557981699705124,
-0.0027902210131287575,
0.006582428701221943,
0.011908778920769691,
-0.0012201224453747272,
0.026291361078619957,
-0.054231926798820496,
-0.02174646593630314,
-0.0221683531999588,
0.0638970211148262,
-0.036378346383571625,
0.06892133504152298,
0.025466760620474815,
0.052199188619852066,
-0.045640729367733,
0.009305531159043312,
-0.008006304502487183,
-0.028055625036358833,
-0.008562430739402771,
-0.03283064067363739,
0.02508322335779667,
0.02166975848376751,
-0.027883034199476242,
-0.059601422399282455,
0.01963702030479908,
-0.049399375915527344,
0.040463000535964966,
0.007344705518335104,
-0.03373195230960846,
0.039465807378292084,
-0.021803995594382286,
0.000973820686340332,
-0.05093352124094963,
0.030682843178510666,
-0.018591884523630142,
0.00027671491261571646,
0.042419031262397766,
-0.08967060595750809,
-0.04310939460992813,
-0.039887696504592896,
-0.07463601231575012,
-0.007138555403798819,
-0.006850903388112783,
0.05929459258913994,
-0.0011709819082170725,
0.06746390461921692,
-0.015351009555161,
-0.00765632838010788,
0.021382106468081474,
-0.02046162076294422,
-0.04030958563089371,
-0.01629067212343216,
0.008169307373464108,
0.0319485105574131,
0.0012452919036149979,
0.10002607107162476,
-0.008581607602536678,
-0.013989458791911602,
-0.028861049562692642,
-0.08667903393507004,
0.010844467207789421,
-0.003506953129544854,
0.0071241725236177444,
-0.052007418125867844,
0.02510240115225315,
0.04376140609383583,
-0.004825356416404247,
0.06903639435768127,
-0.030529428273439407,
-0.04276421293616295,
-0.011304710060358047,
0.06286147236824036,
-0.019943848252296448,
0.014363406226038933,
-0.03350182995200157,
-0.04333951696753502,
0.03950415924191475,
0.03668517246842384,
-0.03919733315706253,
-0.0006969560054130852,
-0.06435726583003998,
-0.045909203588962555,
-0.01947401650249958,
-0.0031018436420708895,
0.006625576410442591,
-0.08491476625204086,
-0.005508529022336006,
0.016846798360347748,
0.03237039968371391,
0.006577634252607822,
-0.02631053701043129,
0.029187055304646492,
-0.01783440262079239,
0.0547688752412796,
0.020231500267982483,
-0.0679241418838501,
0.010259575210511684,
-0.011208825744688511,
-0.01956990174949169,
0.024392860010266304,
0.01760428212583065,
-0.01405657734721899,
-0.011755364015698433,
-0.04414493963122368,
-0.005302378907799721,
-0.021228691563010216,
0.00576262129470706,
0.09741802513599396,
0.040463000535964966,
-0.014142872765660286,
0.010528050363063812
] |
23,208 | flask.app | template_global | A decorator that is used to register a custom template global function.
You can specify a name for the global function, otherwise the function
name will be used. Example::
@app.template_global()
def double(n):
return 2 * n
.. versionadded:: 0.10
:param name: the optional name of the global function, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_global], ~T_template_global] | [
0.04556402191519737,
-0.05285119637846947,
-0.052582722157239914,
-0.04491201043128967,
0.041191715747117996,
0.003981578163802624,
-0.0031138290651142597,
0.03837272897362709,
-0.0449887178838253,
-0.061557453125715256,
-0.003983975388109684,
0.015226361341774464,
-0.004369908012449741,
0.015226361341774464,
0.02598453313112259,
0.035323623567819595,
0.06366690248250961,
0.027557028457522392,
0.05611125007271767,
-0.0855284258723259,
0.04138348624110222,
0.009866451844573021,
0.0015952681424096227,
-0.0055564711801707745,
-0.04633109271526337,
0.0012392991920933127,
-0.030280129984021187,
-0.0012536818394437432,
0.05342650040984154,
-0.03284981846809387,
-0.01067187637090683,
-0.05212248116731644,
0.021688934415578842,
0.010489696636795998,
0.05522911623120308,
-0.024258622899651527,
-0.02623383142054081,
-0.009152117185294628,
0.0002958916884381324,
-0.0567249059677124,
-0.008624755777418613,
-0.0008503702119924128,
-0.03958086669445038,
-0.035803042352199554,
0.03472914174199104,
0.03534280136227608,
-0.03835355490446091,
0.04310939460992813,
0.006275600288063288,
0.017987817525863647,
0.002098658587783575,
-0.022935425862669945,
0.04870901256799698,
0.04495036602020264,
0.025121577084064484,
0.051854003220796585,
-0.021151984110474586,
0.020231500267982483,
-0.008183689787983894,
-0.03689611703157425,
-0.010566404089331627,
0.07728241384029388,
-0.001747483853250742,
0.0211903378367424,
0.038180962204933167,
-0.01720156893134117,
-0.05730020999908447,
0.010029454715549946,
0.0012392991920933127,
-0.027403613552451134,
-0.00017199171998072416,
-0.004990756046026945,
-0.025639351457357407,
0.0032912143506109715,
0.051700592041015625,
-0.06201769784092903,
0.0028333687223494053,
-0.0847613513469696,
0.02590782567858696,
-0.0267324261367321,
0.04798029735684395,
-0.04886242747306824,
-0.045257192105054855,
0.0037250888999551535,
0.0679241418838501,
0.0348825566470623,
0.01962743140757084,
-0.001692350604571402,
-0.043301161378622055,
0.0335785374045372,
-0.06481750309467316,
0.004178140312433243,
-0.014353817328810692,
0.03281146660447121,
0.008217249065637589,
-0.037452246993780136,
0.009142528288066387,
-0.010959528386592865,
-0.0005735054728575051,
-0.04111500829458237,
0.03635916858911514,
0.03860285133123398,
-0.010834879241883755,
0.030663665384054184,
0.01197589747607708,
0.012474493123590946,
-0.0030371220782399178,
0.017575515434145927,
0.007502913940697908,
-0.026866665109992027,
-0.02803644724190235,
-0.019186364486813545,
-0.02003973163664341,
-0.037030357867479324,
-0.03382783383131027,
0.018678180873394012,
0.002564893802627921,
-0.02736525982618332,
0.06815426796674728,
-0.03210192546248436,
-0.006328336428850889,
-0.02109445445239544,
0.025716057047247887,
-0.046561215072870255,
0.038583673536777496,
0.0829203799366951,
-0.030414368957281113,
0.01202383916825056,
-0.005244848318397999,
0.007474148645997047,
-0.014842825010418892,
0.03829602524638176,
-0.037030357867479324,
0.07540308684110641,
0.01588795892894268,
0.027115963399410248,
-0.05595783516764641,
0.036224931478500366,
-0.03284981846809387,
0.0855284258723259,
-0.02550511248409748,
-0.013538804836571217,
-0.03954251483082771,
-0.019905494526028633,
0.007037877105176449,
-0.03509350121021271,
-0.0042812153697013855,
-0.020653389394283295,
-0.017489220947027206,
0.02492981031537056,
0.05795222148299217,
-0.009837687015533447,
-0.046637922525405884,
0.041268423199653625,
0.002453428925946355,
0.058527521789073944,
-0.03177591785788536,
-0.005163347348570824,
-0.005647560581564903,
-0.06581469625234604,
-0.04798029735684395,
-0.053081318736076355,
-0.012206018902361393,
-0.09411962330341339,
-0.003734677331522107,
0.021688934415578842,
0.020097261294722557,
0.02811315469443798,
0.015130477026104927,
0.07659205049276352,
-0.04495036602020264,
0.016022197902202606,
-0.0038257669657468796,
-0.004674339201301336,
0.02688584104180336,
0.04226561635732651,
0.0006316350772976875,
-0.03355935961008072,
-0.01380727905780077,
-0.04414493963122368,
-0.016012609004974365,
-0.0769372284412384,
-0.05680161342024803,
0.0074262069538235664,
0.0312964990735054,
0.038583673536777496,
-0.01905212737619877,
0.04065476730465889,
0.03438396006822586,
0.033847011625766754,
-0.08859670907258987,
0.03764401376247406,
0.07670710980892181,
0.016003020107746124,
-0.04195878654718399,
0.0015772898914292455,
-0.041345130652189255,
0.011621126905083656,
0.02680913358926773,
-0.06359019130468369,
-0.05074175074696541,
0.02631053701043129,
0.02638724446296692,
-0.04594755917787552,
0.0037155004683882,
0.0070187002420425415,
0.016923505812883377,
0.0014550379710271955,
-0.014440112747251987,
-0.029206231236457825,
-0.05012809485197067,
0.009156910702586174,
0.028074800968170166,
-0.013625100255012512,
0.0025672910269349813,
-0.037183769047260284,
0.03294570371508598,
0.006050273310393095,
0.023338137194514275,
0.02013561502099037,
0.053810037672519684,
0.057568684220314026,
0.0011224406771361828,
-0.01283885259181261,
-0.006170128006488085,
-0.015744134783744812,
0.046983104199171066,
0.011717010289430618,
-0.006112597417086363,
-0.010077396407723427,
-0.024833926931023598,
-0.00527361361309886,
0.05760703608393669,
0.028381628915667534,
0.03904391825199127,
-0.030126716941595078,
0.03505514934659004,
0.028784342110157013,
-0.015072946436703205,
0.0021897482220083475,
0.03334841504693031,
0.018189173191785812,
0.017978228628635406,
-0.018879536539316177,
0.0024618187453597784,
0.0264064222574234,
-0.0013567570131272078,
-0.007253615651279688,
-0.005753032863140106,
-0.020883509889245033,
-0.0023791189305484295,
-0.02688584104180336,
-0.01744127832353115,
-0.029455529525876045,
-0.04936102405190468,
-0.01889871433377266,
-0.008543253876268864,
-0.026253007352352142,
-0.007330323103815317,
0.0345565527677536,
-0.0042524500750005245,
0.005944801028817892,
-0.03954251483082771,
0.057146795094013214,
0.0012416962999850512,
-0.020749272778630257,
0.011419770307838917,
-0.03323335573077202,
-0.021803995594382286,
-0.01687556318938732,
0.05208412557840347,
0.051854003220796585,
-0.008663108572363853,
0.022379297763109207,
-0.06232452392578125,
-0.029589766636490822,
-0.012369020842015743,
0.020480798557400703,
-0.044528476893901825,
-0.030337661504745483,
0.017767284065485,
-0.024086032062768936,
0.028458336368203163,
0.040693119168281555,
-0.04218890890479088,
-0.004504145588725805,
-0.03480584919452667,
0.053081318736076355,
-0.004127801395952702,
-0.01498665101826191,
0.019215131178498268,
0.02427779883146286,
0.050971873104572296,
-0.0237983800470829,
0.007757006213068962,
0.04261079803109169,
-0.10762007534503937,
-0.017891932278871536,
0.045333899557590485,
-0.043953172862529755,
0.030280129984021187,
0.0013040208723396063,
0.026348890736699104,
0.016597500070929527,
0.005805769003927708,
0.02573523484170437,
0.03294570371508598,
0.0020171571522951126,
-0.014142872765660286,
0.004609617870301008,
0.023242253810167313,
-0.02297377958893776,
0.0022736466489732265,
-0.015005827881395817,
0.0005168740754015744,
0.030088363215327263,
-0.01864941604435444,
-0.06489421427249908,
0.012675849720835686,
0.06435726583003998,
-0.05595783516764641,
0.045985911041498184,
0.030778726562857628,
0.004209302365779877,
0.030011655762791634,
0.00114161754027009,
0.059524714946746826,
-0.008130953647196293,
0.0016276289243251085,
0.011496477760374546,
-0.04951443895697594,
0.045909203588962555,
-0.018524765968322754,
0.0016144448891282082,
-0.036627642810344696,
0.02134375274181366,
-0.04157525300979614,
-0.035400331020355225,
-0.05181565135717392,
-0.07862478494644165,
0.05181565135717392,
0.00917129311710596,
-0.0010217626113444567,
0.016434498131275177,
-0.01799740456044674,
-0.03244710713624954,
0.03365524485707283,
0.029762357473373413,
0.041767019778490067,
-0.052927903831005096,
0.051700592041015625,
-0.03497844189405441,
0.015188007615506649,
0.05614960193634033,
0.019215131178498268,
-0.07570991665124893,
0.0012668658746406436,
-0.06044520065188408,
0.001758270780555904,
-0.007052259519696236,
0.01653038151562214,
0.02590782567858696,
-0.04567908123135567,
0.018639827147126198,
0.02377920411527157,
-0.04169031232595444,
0.027000902220606804,
-0.03724130243062973,
0.02339566871523857,
0.017422102391719818,
0.03860285133123398,
-0.03150744363665581,
0.013155268505215645,
-0.0026008503045886755,
-0.03641669824719429,
-0.0326005220413208,
0.013615511357784271,
-0.037356361746788025,
-0.08629549294710159,
0.09864533692598343,
0.029513059183955193,
0.05841246247291565,
-0.0026511894538998604,
0.008504900150001049,
0.00444182101637125,
-0.09189511835575104,
-0.007445383816957474,
-0.014162049628794193,
0.00659681111574173,
0.004866107366979122,
-0.00012869415513705462,
-0.037452246993780136,
0.01331827137619257,
0.05277448892593384,
0.03747142106294632,
-0.04936102405190468,
-0.014938709326088428,
0.047136519104242325,
0.011707422323524952,
0.026598189026117325,
0.08598867058753967,
0.017642633989453316,
0.05875764414668083,
0.014104519039392471,
0.05595783516764641,
-0.012426551431417465,
0.0659681111574173,
0.01364427711814642,
0.019732903689146042,
0.07735911756753922,
-0.01043216697871685,
-0.02126704528927803,
-0.0718362033367157,
-0.045027073472738266,
-0.03047189861536026,
-0.038583673536777496,
0.0006765806465409696,
0.04625438526272774,
0.03192933276295662,
0.01980961114168167,
0.040539707988500595,
0.005791386589407921,
0.040424644947052,
0.03756730630993843,
0.018064523115754128,
0.030452722683548927,
-0.01580166444182396,
0.03191015496850014,
-0.029110347852110863,
-0.005287996027618647,
0.0074310009367764,
-0.0071241725236177444,
-0.03875626623630524,
-0.03973428159952164,
0.0031809478532522917,
0.012608731165528297,
-0.018208349123597145,
0.016837209463119507,
0.017000213265419006,
0.04840218648314476,
-0.02069174312055111,
-0.017642633989453316,
0.011256768368184566,
0.018639827147126198,
0.041268423199653625,
-0.005872888024896383,
-0.07126090675592422,
0.02794056385755539,
0.1095377504825592,
-0.009708243422210217,
-0.018054936081171036,
-0.03821931779384613,
0.009607565589249134,
-0.006826932542026043,
-0.05166223645210266,
-0.02377920411527157,
-0.0033583331387490034,
0.03451819717884064,
-0.05864258483052254,
0.009343884885311127,
0.028822695836424828,
-0.01703856699168682,
0.039216507226228714,
-0.02535169944167137,
0.02703925594687462,
0.032236162573099136,
0.027499498799443245,
0.03219780698418617,
-0.05825904756784439,
-0.013279917649924755,
0.0058297403156757355,
0.007886449806392193,
-0.004849327262490988,
0.007330323103815317,
0.03407713398337364,
0.028458336368203163,
0.025390053167939186,
-0.03179509565234184,
-0.04287927225232124,
0.013049797154963017,
0.02502569369971752,
-0.03302241116762161,
-0.0054797641932964325,
0.06677353382110596,
-0.06485585868358612,
-0.049169257283210754,
0.051201995462179184,
0.018850771710276604,
0.02402850240468979,
0.010202045552432537,
-0.026348890736699104,
0.031162261962890625,
-0.0017882344545796514,
0.02280118688941002,
0.04675298184156418,
0.027883034199476242,
0.016904328018426895,
0.02412438578903675,
0.01637696661055088,
-0.03284981846809387,
-0.007258410099893808,
-0.011927954852581024,
0.010154102928936481,
0.0430326871573925,
0.008720639161765575,
-0.016885152086615562,
-0.04636944830417633,
-0.03889050334692001,
-0.020231500267982483,
-0.015581130981445312,
0.01671256124973297,
0.020097261294722557,
0.03904391825199127,
-0.028381628915667534,
-0.0161372572183609,
0.0031809478532522917,
-0.0016851592808961868,
-0.027403613552451134,
0.01055681612342596,
-0.017949463799595833,
0.02003973163664341,
0.014123695902526379,
0.056264664977788925,
-0.056264664977788925,
0.01030751783400774,
-0.015542777255177498,
0.08123282343149185,
0.03029930777847767,
0.04295597970485687,
0.08844329416751862,
0.0037634423933923244,
0.0672721341252327,
0.04537225514650345,
-0.010086984373629093,
0.03829602524638176,
0.03864120692014694,
-0.04951443895697594,
-0.058719292283058167,
-0.004616809077560902,
-0.04813370853662491,
0.03649340569972992,
0.04671462997794151,
-0.05181565135717392,
0.010863644070923328,
-0.05361826717853546,
-0.051048580557107925,
0.01226354856044054,
-0.015303067862987518,
-0.0061509511433541775,
-0.07551814615726471,
-0.07329364120960236,
0.0198863185942173,
0.051777299493551254,
0.016655031591653824,
-0.09872204810380936,
-0.03591810166835785,
0.06800085306167603,
0.02232176810503006,
0.006510515697300434,
0.031008848920464516,
-0.030510252341628075,
0.010854056105017662,
-0.06474079936742783,
-0.06044520065188408,
0.00017378953634761274,
0.03219780698418617,
0.0161372572183609,
0.013394978828728199,
-0.010978705249726772,
-0.03852614387869835,
-0.014507231302559376,
-0.029359646141529083,
0.0554208867251873,
0.00900829117745161,
-0.046637922525405884,
0.02550511248409748,
0.004238067660480738,
0.009061027318239212,
0.05384838953614235,
-0.023184724152088165,
0.04882407560944557,
-0.008361075073480606,
-0.04222726449370384,
-0.07540308684110641,
-0.04633109271526337,
-0.007522090803831816,
0.08591195940971375,
0.05753033235669136,
-0.02631053701043129,
-0.03762483596801758,
-0.09189511835575104,
0.013126503676176071,
-0.019732903689146042,
-0.04426000267267227,
0.0011080581462010741,
0.01986714079976082,
-0.013452509418129921,
0.04276421293616295,
-0.002469009952619672,
0.03649340569972992,
-0.03756730630993843,
0.030778726562857628,
0.045985911041498184,
-0.021708112210035324,
0.03235122188925743,
-0.006064655724912882,
-0.028285745531320572,
0.001991987694054842,
-0.029800711199641228,
-0.003550100838765502,
-0.022954601794481277,
-0.030510252341628075,
0.030778726562857628,
0.04103830084204674,
-0.03887132555246353,
-0.024699687957763672,
-0.06497091799974442,
0.039810989052057266,
0.04828712344169617,
-0.036800235509872437,
-0.007224850822240114,
-0.02615712396800518,
-0.015101712197065353,
-0.003816178534179926,
-0.0198863185942173,
0.015389363281428814,
0.014267521910369396,
-0.007584415376186371,
-0.05545923858880997,
-0.014267521910369396,
0.022762835025787354,
-0.020806802436709404,
0.01104582380503416,
-0.012081369757652283,
0.05990825220942497,
-0.004413055721670389,
0.027978917583823204,
-0.008361075073480606,
-0.02069174312055111,
0.03553456813097,
0.028209038078784943,
-0.04870901256799698,
-0.018601473420858383,
-0.015916725620627403,
0.00672146026045084,
0.00011408684076741338,
0.018850771710276604,
-0.07390730082988739,
0.07363882660865784,
-0.020730094984173775,
-0.0009480519220232964,
0.08353403955698013,
-0.021631404757499695,
0.01560030784457922,
-0.04947608336806297,
0.007378264795988798,
-0.02533252164721489,
-0.013557981699705124,
-0.0027902210131287575,
0.006582428701221943,
0.011908778920769691,
-0.0012201224453747272,
0.026291361078619957,
-0.054231926798820496,
-0.02174646593630314,
-0.0221683531999588,
0.0638970211148262,
-0.036378346383571625,
0.06892133504152298,
0.025466760620474815,
0.052199188619852066,
-0.045640729367733,
0.009305531159043312,
-0.008006304502487183,
-0.028055625036358833,
-0.008562430739402771,
-0.03283064067363739,
0.02508322335779667,
0.02166975848376751,
-0.027883034199476242,
-0.059601422399282455,
0.01963702030479908,
-0.049399375915527344,
0.040463000535964966,
0.007344705518335104,
-0.03373195230960846,
0.039465807378292084,
-0.021803995594382286,
0.000973820686340332,
-0.05093352124094963,
0.030682843178510666,
-0.018591884523630142,
0.00027671491261571646,
0.042419031262397766,
-0.08967060595750809,
-0.04310939460992813,
-0.039887696504592896,
-0.07463601231575012,
-0.007138555403798819,
-0.006850903388112783,
0.05929459258913994,
-0.0011709819082170725,
0.06746390461921692,
-0.015351009555161,
-0.00765632838010788,
0.021382106468081474,
-0.02046162076294422,
-0.04030958563089371,
-0.01629067212343216,
0.008169307373464108,
0.0319485105574131,
0.0012452919036149979,
0.10002607107162476,
-0.008581607602536678,
-0.013989458791911602,
-0.028861049562692642,
-0.08667903393507004,
0.010844467207789421,
-0.003506953129544854,
0.0071241725236177444,
-0.052007418125867844,
0.02510240115225315,
0.04376140609383583,
-0.004825356416404247,
0.06903639435768127,
-0.030529428273439407,
-0.04276421293616295,
-0.011304710060358047,
0.06286147236824036,
-0.019943848252296448,
0.014363406226038933,
-0.03350182995200157,
-0.04333951696753502,
0.03950415924191475,
0.03668517246842384,
-0.03919733315706253,
-0.0006969560054130852,
-0.06435726583003998,
-0.045909203588962555,
-0.01947401650249958,
-0.0031018436420708895,
0.006625576410442591,
-0.08491476625204086,
-0.005508529022336006,
0.016846798360347748,
0.03237039968371391,
0.006577634252607822,
-0.02631053701043129,
0.029187055304646492,
-0.01783440262079239,
0.0547688752412796,
0.020231500267982483,
-0.0679241418838501,
0.010259575210511684,
-0.011208825744688511,
-0.01956990174949169,
0.024392860010266304,
0.01760428212583065,
-0.01405657734721899,
-0.011755364015698433,
-0.04414493963122368,
-0.005302378907799721,
-0.021228691563010216,
0.00576262129470706,
0.09741802513599396,
0.040463000535964966,
-0.014142872765660286,
0.010528050363063812
] |
23,209 | flask.app | template_test | A decorator that is used to register custom template test.
You can specify a name for the test, otherwise the function
name will be used. Example::
@app.template_test()
def is_prime(n):
if n == 2:
return True
for i in range(2, int(math.ceil(math.sqrt(n))) + 1):
if n % i == 0:
return False
return True
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| from __future__ import annotations
import logging
import os
import sys
import typing as t
import weakref
from collections.abc import Iterator as _abc_Iterator
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
from types import TracebackType
from urllib.parse import quote as _url_quote
import click
from werkzeug.datastructures import Headers
from werkzeug.datastructures import ImmutableDict
from werkzeug.exceptions import Aborter
from werkzeug.exceptions import BadRequest
from werkzeug.exceptions import BadRequestKeyError
from werkzeug.exceptions import HTTPException
from werkzeug.exceptions import InternalServerError
from werkzeug.routing import BuildError
from werkzeug.routing import Map
from werkzeug.routing import MapAdapter
from werkzeug.routing import RequestRedirect
from werkzeug.routing import RoutingException
from werkzeug.routing import Rule
from werkzeug.serving import is_running_from_reloader
from werkzeug.utils import cached_property
from werkzeug.utils import redirect as _wz_redirect
from werkzeug.wrappers import Response as BaseResponse
from . import cli
from . import typing as ft
from .config import Config
from .config import ConfigAttribute
from .ctx import _AppCtxGlobals
from .ctx import AppContext
from .ctx import RequestContext
from .globals import _cv_app
from .globals import _cv_request
from .globals import g
from .globals import request
from .globals import request_ctx
from .globals import session
from .helpers import _split_blueprint_path
from .helpers import get_debug_flag
from .helpers import get_flashed_messages
from .helpers import get_load_dotenv
from .json.provider import DefaultJSONProvider
from .json.provider import JSONProvider
from .logging import create_logger
from .scaffold import _endpoint_from_view_func
from .scaffold import _sentinel
from .scaffold import find_package
from .scaffold import Scaffold
from .scaffold import setupmethod
from .sessions import SecureCookieSessionInterface
from .sessions import SessionInterface
from .signals import appcontext_tearing_down
from .signals import got_request_exception
from .signals import request_finished
from .signals import request_started
from .signals import request_tearing_down
from .templating import DispatchingJinjaLoader
from .templating import Environment
from .wrappers import Request
from .wrappers import Response
if t.TYPE_CHECKING: # pragma: no cover
from .blueprints import Blueprint
from .testing import FlaskClient
from .testing import FlaskCliRunner
T_shell_context_processor = t.TypeVar(
"T_shell_context_processor", bound=ft.ShellContextProcessorCallable
)
T_teardown = t.TypeVar("T_teardown", bound=ft.TeardownCallable)
T_template_filter = t.TypeVar("T_template_filter", bound=ft.TemplateFilterCallable)
T_template_global = t.TypeVar("T_template_global", bound=ft.TemplateGlobalCallable)
T_template_test = t.TypeVar("T_template_test", bound=ft.TemplateTestCallable)
def _make_timedelta(value: timedelta | int | None) -> timedelta | None:
if value is None or isinstance(value, timedelta):
return value
return timedelta(seconds=value)
| (self, name: str | None = None) -> Callable[[~T_template_test], ~T_template_test] | [
0.04556402191519737,
-0.05285119637846947,
-0.052582722157239914,
-0.04491201043128967,
0.041191715747117996,
0.003981578163802624,
-0.0031138290651142597,
0.03837272897362709,
-0.0449887178838253,
-0.061557453125715256,
-0.003983975388109684,
0.015226361341774464,
-0.004369908012449741,
0.015226361341774464,
0.02598453313112259,
0.035323623567819595,
0.06366690248250961,
0.027557028457522392,
0.05611125007271767,
-0.0855284258723259,
0.04138348624110222,
0.009866451844573021,
0.0015952681424096227,
-0.0055564711801707745,
-0.04633109271526337,
0.0012392991920933127,
-0.030280129984021187,
-0.0012536818394437432,
0.05342650040984154,
-0.03284981846809387,
-0.01067187637090683,
-0.05212248116731644,
0.021688934415578842,
0.010489696636795998,
0.05522911623120308,
-0.024258622899651527,
-0.02623383142054081,
-0.009152117185294628,
0.0002958916884381324,
-0.0567249059677124,
-0.008624755777418613,
-0.0008503702119924128,
-0.03958086669445038,
-0.035803042352199554,
0.03472914174199104,
0.03534280136227608,
-0.03835355490446091,
0.04310939460992813,
0.006275600288063288,
0.017987817525863647,
0.002098658587783575,
-0.022935425862669945,
0.04870901256799698,
0.04495036602020264,
0.025121577084064484,
0.051854003220796585,
-0.021151984110474586,
0.020231500267982483,
-0.008183689787983894,
-0.03689611703157425,
-0.010566404089331627,
0.07728241384029388,
-0.001747483853250742,
0.0211903378367424,
0.038180962204933167,
-0.01720156893134117,
-0.05730020999908447,
0.010029454715549946,
0.0012392991920933127,
-0.027403613552451134,
-0.00017199171998072416,
-0.004990756046026945,
-0.025639351457357407,
0.0032912143506109715,
0.051700592041015625,
-0.06201769784092903,
0.0028333687223494053,
-0.0847613513469696,
0.02590782567858696,
-0.0267324261367321,
0.04798029735684395,
-0.04886242747306824,
-0.045257192105054855,
0.0037250888999551535,
0.0679241418838501,
0.0348825566470623,
0.01962743140757084,
-0.001692350604571402,
-0.043301161378622055,
0.0335785374045372,
-0.06481750309467316,
0.004178140312433243,
-0.014353817328810692,
0.03281146660447121,
0.008217249065637589,
-0.037452246993780136,
0.009142528288066387,
-0.010959528386592865,
-0.0005735054728575051,
-0.04111500829458237,
0.03635916858911514,
0.03860285133123398,
-0.010834879241883755,
0.030663665384054184,
0.01197589747607708,
0.012474493123590946,
-0.0030371220782399178,
0.017575515434145927,
0.007502913940697908,
-0.026866665109992027,
-0.02803644724190235,
-0.019186364486813545,
-0.02003973163664341,
-0.037030357867479324,
-0.03382783383131027,
0.018678180873394012,
0.002564893802627921,
-0.02736525982618332,
0.06815426796674728,
-0.03210192546248436,
-0.006328336428850889,
-0.02109445445239544,
0.025716057047247887,
-0.046561215072870255,
0.038583673536777496,
0.0829203799366951,
-0.030414368957281113,
0.01202383916825056,
-0.005244848318397999,
0.007474148645997047,
-0.014842825010418892,
0.03829602524638176,
-0.037030357867479324,
0.07540308684110641,
0.01588795892894268,
0.027115963399410248,
-0.05595783516764641,
0.036224931478500366,
-0.03284981846809387,
0.0855284258723259,
-0.02550511248409748,
-0.013538804836571217,
-0.03954251483082771,
-0.019905494526028633,
0.007037877105176449,
-0.03509350121021271,
-0.0042812153697013855,
-0.020653389394283295,
-0.017489220947027206,
0.02492981031537056,
0.05795222148299217,
-0.009837687015533447,
-0.046637922525405884,
0.041268423199653625,
0.002453428925946355,
0.058527521789073944,
-0.03177591785788536,
-0.005163347348570824,
-0.005647560581564903,
-0.06581469625234604,
-0.04798029735684395,
-0.053081318736076355,
-0.012206018902361393,
-0.09411962330341339,
-0.003734677331522107,
0.021688934415578842,
0.020097261294722557,
0.02811315469443798,
0.015130477026104927,
0.07659205049276352,
-0.04495036602020264,
0.016022197902202606,
-0.0038257669657468796,
-0.004674339201301336,
0.02688584104180336,
0.04226561635732651,
0.0006316350772976875,
-0.03355935961008072,
-0.01380727905780077,
-0.04414493963122368,
-0.016012609004974365,
-0.0769372284412384,
-0.05680161342024803,
0.0074262069538235664,
0.0312964990735054,
0.038583673536777496,
-0.01905212737619877,
0.04065476730465889,
0.03438396006822586,
0.033847011625766754,
-0.08859670907258987,
0.03764401376247406,
0.07670710980892181,
0.016003020107746124,
-0.04195878654718399,
0.0015772898914292455,
-0.041345130652189255,
0.011621126905083656,
0.02680913358926773,
-0.06359019130468369,
-0.05074175074696541,
0.02631053701043129,
0.02638724446296692,
-0.04594755917787552,
0.0037155004683882,
0.0070187002420425415,
0.016923505812883377,
0.0014550379710271955,
-0.014440112747251987,
-0.029206231236457825,
-0.05012809485197067,
0.009156910702586174,
0.028074800968170166,
-0.013625100255012512,
0.0025672910269349813,
-0.037183769047260284,
0.03294570371508598,
0.006050273310393095,
0.023338137194514275,
0.02013561502099037,
0.053810037672519684,
0.057568684220314026,
0.0011224406771361828,
-0.01283885259181261,
-0.006170128006488085,
-0.015744134783744812,
0.046983104199171066,
0.011717010289430618,
-0.006112597417086363,
-0.010077396407723427,
-0.024833926931023598,
-0.00527361361309886,
0.05760703608393669,
0.028381628915667534,
0.03904391825199127,
-0.030126716941595078,
0.03505514934659004,
0.028784342110157013,
-0.015072946436703205,
0.0021897482220083475,
0.03334841504693031,
0.018189173191785812,
0.017978228628635406,
-0.018879536539316177,
0.0024618187453597784,
0.0264064222574234,
-0.0013567570131272078,
-0.007253615651279688,
-0.005753032863140106,
-0.020883509889245033,
-0.0023791189305484295,
-0.02688584104180336,
-0.01744127832353115,
-0.029455529525876045,
-0.04936102405190468,
-0.01889871433377266,
-0.008543253876268864,
-0.026253007352352142,
-0.007330323103815317,
0.0345565527677536,
-0.0042524500750005245,
0.005944801028817892,
-0.03954251483082771,
0.057146795094013214,
0.0012416962999850512,
-0.020749272778630257,
0.011419770307838917,
-0.03323335573077202,
-0.021803995594382286,
-0.01687556318938732,
0.05208412557840347,
0.051854003220796585,
-0.008663108572363853,
0.022379297763109207,
-0.06232452392578125,
-0.029589766636490822,
-0.012369020842015743,
0.020480798557400703,
-0.044528476893901825,
-0.030337661504745483,
0.017767284065485,
-0.024086032062768936,
0.028458336368203163,
0.040693119168281555,
-0.04218890890479088,
-0.004504145588725805,
-0.03480584919452667,
0.053081318736076355,
-0.004127801395952702,
-0.01498665101826191,
0.019215131178498268,
0.02427779883146286,
0.050971873104572296,
-0.0237983800470829,
0.007757006213068962,
0.04261079803109169,
-0.10762007534503937,
-0.017891932278871536,
0.045333899557590485,
-0.043953172862529755,
0.030280129984021187,
0.0013040208723396063,
0.026348890736699104,
0.016597500070929527,
0.005805769003927708,
0.02573523484170437,
0.03294570371508598,
0.0020171571522951126,
-0.014142872765660286,
0.004609617870301008,
0.023242253810167313,
-0.02297377958893776,
0.0022736466489732265,
-0.015005827881395817,
0.0005168740754015744,
0.030088363215327263,
-0.01864941604435444,
-0.06489421427249908,
0.012675849720835686,
0.06435726583003998,
-0.05595783516764641,
0.045985911041498184,
0.030778726562857628,
0.004209302365779877,
0.030011655762791634,
0.00114161754027009,
0.059524714946746826,
-0.008130953647196293,
0.0016276289243251085,
0.011496477760374546,
-0.04951443895697594,
0.045909203588962555,
-0.018524765968322754,
0.0016144448891282082,
-0.036627642810344696,
0.02134375274181366,
-0.04157525300979614,
-0.035400331020355225,
-0.05181565135717392,
-0.07862478494644165,
0.05181565135717392,
0.00917129311710596,
-0.0010217626113444567,
0.016434498131275177,
-0.01799740456044674,
-0.03244710713624954,
0.03365524485707283,
0.029762357473373413,
0.041767019778490067,
-0.052927903831005096,
0.051700592041015625,
-0.03497844189405441,
0.015188007615506649,
0.05614960193634033,
0.019215131178498268,
-0.07570991665124893,
0.0012668658746406436,
-0.06044520065188408,
0.001758270780555904,
-0.007052259519696236,
0.01653038151562214,
0.02590782567858696,
-0.04567908123135567,
0.018639827147126198,
0.02377920411527157,
-0.04169031232595444,
0.027000902220606804,
-0.03724130243062973,
0.02339566871523857,
0.017422102391719818,
0.03860285133123398,
-0.03150744363665581,
0.013155268505215645,
-0.0026008503045886755,
-0.03641669824719429,
-0.0326005220413208,
0.013615511357784271,
-0.037356361746788025,
-0.08629549294710159,
0.09864533692598343,
0.029513059183955193,
0.05841246247291565,
-0.0026511894538998604,
0.008504900150001049,
0.00444182101637125,
-0.09189511835575104,
-0.007445383816957474,
-0.014162049628794193,
0.00659681111574173,
0.004866107366979122,
-0.00012869415513705462,
-0.037452246993780136,
0.01331827137619257,
0.05277448892593384,
0.03747142106294632,
-0.04936102405190468,
-0.014938709326088428,
0.047136519104242325,
0.011707422323524952,
0.026598189026117325,
0.08598867058753967,
0.017642633989453316,
0.05875764414668083,
0.014104519039392471,
0.05595783516764641,
-0.012426551431417465,
0.0659681111574173,
0.01364427711814642,
0.019732903689146042,
0.07735911756753922,
-0.01043216697871685,
-0.02126704528927803,
-0.0718362033367157,
-0.045027073472738266,
-0.03047189861536026,
-0.038583673536777496,
0.0006765806465409696,
0.04625438526272774,
0.03192933276295662,
0.01980961114168167,
0.040539707988500595,
0.005791386589407921,
0.040424644947052,
0.03756730630993843,
0.018064523115754128,
0.030452722683548927,
-0.01580166444182396,
0.03191015496850014,
-0.029110347852110863,
-0.005287996027618647,
0.0074310009367764,
-0.0071241725236177444,
-0.03875626623630524,
-0.03973428159952164,
0.0031809478532522917,
0.012608731165528297,
-0.018208349123597145,
0.016837209463119507,
0.017000213265419006,
0.04840218648314476,
-0.02069174312055111,
-0.017642633989453316,
0.011256768368184566,
0.018639827147126198,
0.041268423199653625,
-0.005872888024896383,
-0.07126090675592422,
0.02794056385755539,
0.1095377504825592,
-0.009708243422210217,
-0.018054936081171036,
-0.03821931779384613,
0.009607565589249134,
-0.006826932542026043,
-0.05166223645210266,
-0.02377920411527157,
-0.0033583331387490034,
0.03451819717884064,
-0.05864258483052254,
0.009343884885311127,
0.028822695836424828,
-0.01703856699168682,
0.039216507226228714,
-0.02535169944167137,
0.02703925594687462,
0.032236162573099136,
0.027499498799443245,
0.03219780698418617,
-0.05825904756784439,
-0.013279917649924755,
0.0058297403156757355,
0.007886449806392193,
-0.004849327262490988,
0.007330323103815317,
0.03407713398337364,
0.028458336368203163,
0.025390053167939186,
-0.03179509565234184,
-0.04287927225232124,
0.013049797154963017,
0.02502569369971752,
-0.03302241116762161,
-0.0054797641932964325,
0.06677353382110596,
-0.06485585868358612,
-0.049169257283210754,
0.051201995462179184,
0.018850771710276604,
0.02402850240468979,
0.010202045552432537,
-0.026348890736699104,
0.031162261962890625,
-0.0017882344545796514,
0.02280118688941002,
0.04675298184156418,
0.027883034199476242,
0.016904328018426895,
0.02412438578903675,
0.01637696661055088,
-0.03284981846809387,
-0.007258410099893808,
-0.011927954852581024,
0.010154102928936481,
0.0430326871573925,
0.008720639161765575,
-0.016885152086615562,
-0.04636944830417633,
-0.03889050334692001,
-0.020231500267982483,
-0.015581130981445312,
0.01671256124973297,
0.020097261294722557,
0.03904391825199127,
-0.028381628915667534,
-0.0161372572183609,
0.0031809478532522917,
-0.0016851592808961868,
-0.027403613552451134,
0.01055681612342596,
-0.017949463799595833,
0.02003973163664341,
0.014123695902526379,
0.056264664977788925,
-0.056264664977788925,
0.01030751783400774,
-0.015542777255177498,
0.08123282343149185,
0.03029930777847767,
0.04295597970485687,
0.08844329416751862,
0.0037634423933923244,
0.0672721341252327,
0.04537225514650345,
-0.010086984373629093,
0.03829602524638176,
0.03864120692014694,
-0.04951443895697594,
-0.058719292283058167,
-0.004616809077560902,
-0.04813370853662491,
0.03649340569972992,
0.04671462997794151,
-0.05181565135717392,
0.010863644070923328,
-0.05361826717853546,
-0.051048580557107925,
0.01226354856044054,
-0.015303067862987518,
-0.0061509511433541775,
-0.07551814615726471,
-0.07329364120960236,
0.0198863185942173,
0.051777299493551254,
0.016655031591653824,
-0.09872204810380936,
-0.03591810166835785,
0.06800085306167603,
0.02232176810503006,
0.006510515697300434,
0.031008848920464516,
-0.030510252341628075,
0.010854056105017662,
-0.06474079936742783,
-0.06044520065188408,
0.00017378953634761274,
0.03219780698418617,
0.0161372572183609,
0.013394978828728199,
-0.010978705249726772,
-0.03852614387869835,
-0.014507231302559376,
-0.029359646141529083,
0.0554208867251873,
0.00900829117745161,
-0.046637922525405884,
0.02550511248409748,
0.004238067660480738,
0.009061027318239212,
0.05384838953614235,
-0.023184724152088165,
0.04882407560944557,
-0.008361075073480606,
-0.04222726449370384,
-0.07540308684110641,
-0.04633109271526337,
-0.007522090803831816,
0.08591195940971375,
0.05753033235669136,
-0.02631053701043129,
-0.03762483596801758,
-0.09189511835575104,
0.013126503676176071,
-0.019732903689146042,
-0.04426000267267227,
0.0011080581462010741,
0.01986714079976082,
-0.013452509418129921,
0.04276421293616295,
-0.002469009952619672,
0.03649340569972992,
-0.03756730630993843,
0.030778726562857628,
0.045985911041498184,
-0.021708112210035324,
0.03235122188925743,
-0.006064655724912882,
-0.028285745531320572,
0.001991987694054842,
-0.029800711199641228,
-0.003550100838765502,
-0.022954601794481277,
-0.030510252341628075,
0.030778726562857628,
0.04103830084204674,
-0.03887132555246353,
-0.024699687957763672,
-0.06497091799974442,
0.039810989052057266,
0.04828712344169617,
-0.036800235509872437,
-0.007224850822240114,
-0.02615712396800518,
-0.015101712197065353,
-0.003816178534179926,
-0.0198863185942173,
0.015389363281428814,
0.014267521910369396,
-0.007584415376186371,
-0.05545923858880997,
-0.014267521910369396,
0.022762835025787354,
-0.020806802436709404,
0.01104582380503416,
-0.012081369757652283,
0.05990825220942497,
-0.004413055721670389,
0.027978917583823204,
-0.008361075073480606,
-0.02069174312055111,
0.03553456813097,
0.028209038078784943,
-0.04870901256799698,
-0.018601473420858383,
-0.015916725620627403,
0.00672146026045084,
0.00011408684076741338,
0.018850771710276604,
-0.07390730082988739,
0.07363882660865784,
-0.020730094984173775,
-0.0009480519220232964,
0.08353403955698013,
-0.021631404757499695,
0.01560030784457922,
-0.04947608336806297,
0.007378264795988798,
-0.02533252164721489,
-0.013557981699705124,
-0.0027902210131287575,
0.006582428701221943,
0.011908778920769691,
-0.0012201224453747272,
0.026291361078619957,
-0.054231926798820496,
-0.02174646593630314,
-0.0221683531999588,
0.0638970211148262,
-0.036378346383571625,
0.06892133504152298,
0.025466760620474815,
0.052199188619852066,
-0.045640729367733,
0.009305531159043312,
-0.008006304502487183,
-0.028055625036358833,
-0.008562430739402771,
-0.03283064067363739,
0.02508322335779667,
0.02166975848376751,
-0.027883034199476242,
-0.059601422399282455,
0.01963702030479908,
-0.049399375915527344,
0.040463000535964966,
0.007344705518335104,
-0.03373195230960846,
0.039465807378292084,
-0.021803995594382286,
0.000973820686340332,
-0.05093352124094963,
0.030682843178510666,
-0.018591884523630142,
0.00027671491261571646,
0.042419031262397766,
-0.08967060595750809,
-0.04310939460992813,
-0.039887696504592896,
-0.07463601231575012,
-0.007138555403798819,
-0.006850903388112783,
0.05929459258913994,
-0.0011709819082170725,
0.06746390461921692,
-0.015351009555161,
-0.00765632838010788,
0.021382106468081474,
-0.02046162076294422,
-0.04030958563089371,
-0.01629067212343216,
0.008169307373464108,
0.0319485105574131,
0.0012452919036149979,
0.10002607107162476,
-0.008581607602536678,
-0.013989458791911602,
-0.028861049562692642,
-0.08667903393507004,
0.010844467207789421,
-0.003506953129544854,
0.0071241725236177444,
-0.052007418125867844,
0.02510240115225315,
0.04376140609383583,
-0.004825356416404247,
0.06903639435768127,
-0.030529428273439407,
-0.04276421293616295,
-0.011304710060358047,
0.06286147236824036,
-0.019943848252296448,
0.014363406226038933,
-0.03350182995200157,
-0.04333951696753502,
0.03950415924191475,
0.03668517246842384,
-0.03919733315706253,
-0.0006969560054130852,
-0.06435726583003998,
-0.045909203588962555,
-0.01947401650249958,
-0.0031018436420708895,
0.006625576410442591,
-0.08491476625204086,
-0.005508529022336006,
0.016846798360347748,
0.03237039968371391,
0.006577634252607822,
-0.02631053701043129,
0.029187055304646492,
-0.01783440262079239,
0.0547688752412796,
0.020231500267982483,
-0.0679241418838501,
0.010259575210511684,
-0.011208825744688511,
-0.01956990174949169,
0.024392860010266304,
0.01760428212583065,
-0.01405657734721899,
-0.011755364015698433,
-0.04414493963122368,
-0.005302378907799721,
-0.021228691563010216,
0.00576262129470706,
0.09741802513599396,
0.040463000535964966,
-0.014142872765660286,
0.010528050363063812
] |
23,210 | flask.app | test_cli_runner | Create a CLI runner for testing CLI commands.
See :ref:`testing-cli`.
Returns an instance of :attr:`test_cli_runner_class`, by default
:class:`~flask.testing.FlaskCliRunner`. The Flask app object is
passed as the first argument.
.. versionadded:: 1.0
| def test_cli_runner(self, **kwargs: t.Any) -> FlaskCliRunner:
"""Create a CLI runner for testing CLI commands.
See :ref:`testing-cli`.
Returns an instance of :attr:`test_cli_runner_class`, by default
:class:`~flask.testing.FlaskCliRunner`. The Flask app object is
passed as the first argument.
.. versionadded:: 1.0
"""
cls = self.test_cli_runner_class
if cls is None:
from .testing import FlaskCliRunner as cls
return cls(self, **kwargs) # type: ignore
| (self, **kwargs: 't.Any') -> 'FlaskCliRunner' | [
0.028937138617038727,
-0.04727552831172943,
0.013248438015580177,
-0.04640140384435654,
0.02658793143928051,
-0.03297996148467064,
0.013922241516411304,
0.08835934102535248,
-0.02673361822962761,
0.014122561551630497,
-0.020687595009803772,
0.04432535916566849,
-0.0461464487016201,
0.02851828746497631,
0.045563701540231705,
-0.005435957107692957,
0.0483681820333004,
-0.020742228254675865,
0.02928314544260502,
-0.04439820349216461,
0.04833175987005234,
0.03696814924478531,
0.019740628078579903,
0.0580199658870697,
-0.0017903601983562112,
0.028937138617038727,
0.013139172457158566,
-0.0406467542052269,
0.028791451826691628,
0.007634924724698067,
-0.02212625741958618,
-0.03583907335996628,
-0.039153460413217545,
0.04053748771548271,
-0.0006749419262632728,
-0.039153460413217545,
-0.0486595556139946,
0.014286460354924202,
-0.0029752077534794807,
-0.011919042095541954,
-0.03653108701109886,
0.005959521047770977,
0.04505379498004913,
0.0017061347607523203,
0.0005457582301460207,
-0.02465757355093956,
0.032124049961566925,
-0.06213562935590744,
-0.06443020701408386,
-0.02533137798309326,
0.00358527316711843,
-0.04676562175154686,
0.041229505091905594,
0.06934715062379837,
0.0037787642795592546,
0.06741679459810257,
0.010152583010494709,
0.004784916993230581,
-0.02788090519607067,
0.0005790501018054783,
-0.10380219668149948,
0.020924337208271027,
-0.006228131707757711,
0.007261600811034441,
0.023583130910992622,
0.010744437575340271,
-0.03988189622759819,
0.018775450065732002,
0.06148003786802292,
0.005331244319677353,
0.017345894128084183,
0.030994972214102745,
-0.00011630797234829515,
-0.0464378260076046,
0.06118866428732872,
-0.018019696697592735,
-0.05641740560531616,
-0.04020969197154045,
0.04753047972917557,
-0.00968820508569479,
0.047676168382167816,
0.029192091897130013,
-0.04050106927752495,
0.06840018182992935,
0.028791451826691628,
-0.009242037311196327,
-0.019030403345823288,
-0.037259526550769806,
-0.007757848594337702,
0.04010042920708656,
-0.04439820349216461,
-0.02513105794787407,
-0.019339988008141518,
-0.006096102762967348,
-0.03984547406435013,
-0.03452788665890694,
-0.0008769691921770573,
0.03689530864357948,
-0.002513105748221278,
0.04326912760734558,
0.010926547460258007,
0.06581423431634903,
0.014796365983784199,
0.05139119178056717,
0.0018438547849655151,
0.02593233808875084,
-0.013594445772469044,
0.0016936147585511208,
-0.032451845705509186,
0.020541908219456673,
-0.031177081167697906,
0.05350365862250328,
-0.05095412954688072,
-0.009009848348796368,
-0.03944483399391174,
0.015643173828721046,
-0.04986147582530975,
-0.031796250492334366,
0.03350807726383209,
-0.003425927832722664,
-0.03926272690296173,
0.06435736268758774,
0.0464378260076046,
0.024566520005464554,
0.030703596770763397,
-0.0016993057215586305,
-0.0464378260076046,
0.028063014149665833,
0.02165277488529682,
0.005677251610904932,
0.09484242647886276,
-0.016699405387043953,
-0.030630754306912422,
0.022235523909330368,
0.03480105102062225,
0.05590749904513359,
0.043961141258478165,
0.09688205271959305,
0.03827933594584465,
0.04640140384435654,
-0.025076424703001976,
0.04039180278778076,
-0.014459463767707348,
-0.006241790018975735,
-0.031177081167697906,
0.0039722551591694355,
-0.06585066020488739,
-0.011008496396243572,
0.03860713168978691,
0.08996190130710602,
0.048295337706804276,
0.00783524475991726,
-0.00881408154964447,
0.004930604249238968,
0.02482147328555584,
-0.009551622904837132,
-0.012283260002732277,
-0.03279785066843033,
0.07338997721672058,
-0.028536498546600342,
-0.022454053163528442,
0.026624353602528572,
0.007930852472782135,
-0.02819049172103405,
0.023583130910992622,
0.051026973873376846,
-0.03959052264690399,
0.014923841692507267,
-0.009155536070466042,
0.026241924613714218,
-0.0026314768474549055,
-0.008126619271934032,
-0.03429114818572998,
-0.04119308292865753,
-0.01026184856891632,
0.0020236875861883163,
-0.0270796250551939,
0.012401631101965904,
0.036731407046318054,
-0.027261734008789062,
-0.02050548605620861,
-0.011354503221809864,
-0.005718226078897715,
-0.004753048066049814,
0.058675557374954224,
-0.012729426845908165,
0.004545898642390966,
0.03600297123193741,
0.0077441902831196785,
-0.009014401584863663,
-0.04982505366206169,
0.028554709628224373,
0.04552727937698364,
0.028317967429757118,
-0.02241763286292553,
-0.024256933480501175,
-0.039772629737854004,
0.012929746881127357,
0.03157772123813629,
-0.05536117032170296,
-0.020578330382704735,
0.09542517364025116,
0.04308701679110527,
-0.03075823001563549,
0.001176880206912756,
-0.02737100049853325,
-0.03399977087974548,
-0.0010243637952953577,
0.007452815771102905,
-0.018602445721626282,
0.022690795361995697,
-0.0241840910166502,
-0.020924337208271027,
-0.012529106810688972,
0.027443842962384224,
-0.017719216644763947,
0.03044864349067211,
0.01890292577445507,
-0.002997971372678876,
0.02387450449168682,
0.07440978288650513,
0.04997074231505394,
-0.019977370277047157,
0.003109513083472848,
0.023018592968583107,
-0.00005434819104266353,
0.06606918573379517,
0.012419842183589935,
-0.024766840040683746,
0.009915841743350029,
-0.033708397299051285,
-0.014677994884550571,
0.04563654586672783,
-0.014368409290909767,
-0.04647424817085266,
-0.030849283561110497,
0.0028841530438512564,
0.032287947833538055,
-0.03669498860836029,
-0.0605330690741539,
0.0409381277859211,
0.0489509291946888,
0.029046403244137764,
-0.007666793651878834,
0.00176304392516613,
0.029228514060378075,
-0.06483084708452225,
-0.019339988008141518,
0.01599828526377678,
0.05026211589574814,
0.03605760633945465,
-0.02848186530172825,
0.01841123215854168,
0.0015445129247382283,
-0.05492410808801651,
0.056927308440208435,
0.012010096572339535,
-0.0721152126789093,
-0.00451630586758256,
0.021670984104275703,
0.019904525950551033,
-0.03216046839952469,
0.02243584394454956,
0.09251143038272858,
-0.022472264245152473,
-0.013639972545206547,
-0.006041469983756542,
-0.014277354814112186,
0.04414324834942818,
-0.035128846764564514,
0.10423925518989563,
0.04501737281680107,
0.031759828329086304,
-0.01024363748729229,
-0.07553885877132416,
-0.04640140384435654,
-0.06432093679904938,
0.039007771760225296,
0.004366065841168165,
-0.023619553074240685,
-0.011991885490715504,
-0.012811376713216305,
0.001524025690741837,
-0.0008217673748731613,
-0.021343188360333443,
-0.05026211589574814,
-0.0058457027189433575,
0.01764637418091297,
-0.02083328366279602,
-0.0024425385054200888,
0.04512663930654526,
-0.004038269631564617,
-0.012520002201199532,
-0.017846694216132164,
0.018329283222556114,
0.06592349708080292,
-0.0934583991765976,
-0.02276363968849182,
0.033417023718357086,
-0.022217312827706337,
0.012401631101965904,
-0.06443020701408386,
-0.045090217143297195,
0.007197862956672907,
-0.02467578463256359,
0.04869597777724266,
-0.02496716007590294,
-0.029228514060378075,
-0.008882371708750725,
-0.012847797945141792,
0.01289332564920187,
-0.008094750344753265,
-0.029592731967568398,
-0.01636250503361225,
0.003689985955134034,
0.018147174268960953,
-0.021725617349147797,
-0.03248826786875725,
-0.028627553954720497,
-0.005026211496442556,
-0.039954740554094315,
0.0041566407307982445,
-0.005422298796474934,
0.0541592501103878,
0.0371684692800045,
0.06464873999357224,
0.011800670996308327,
-0.003448691451922059,
0.007316233590245247,
0.04916946217417717,
0.05109981819987297,
0.02066938392817974,
0.012911536730825901,
-0.029501676559448242,
0.035638753324747086,
0.0233645997941494,
0.033708397299051285,
0.01935819908976555,
-0.011481979861855507,
-0.026114447042346,
0.05350365862250328,
0.010753543116152287,
0.018147174268960953,
0.02369239553809166,
-0.010762648656964302,
-0.0007073801243677735,
-0.017518896609544754,
-0.01780116558074951,
0.039007771760225296,
-0.0502985380589962,
0.05506979674100876,
-0.0036581167951226234,
-0.03248826786875725,
-0.03381766378879547,
-0.009114561602473259,
-0.0252949558198452,
-0.021343188360333443,
-0.018684394657611847,
0.000054739441111451015,
-0.04825891554355621,
-0.06300975382328033,
-0.015324481762945652,
0.010298270732164383,
0.015424641780555248,
-0.05146403610706329,
-0.009132771752774715,
0.01955851912498474,
-0.02768058516085148,
0.004127047955989838,
0.05190109834074974,
0.0364946685731411,
-0.015889020636677742,
0.025185691192746162,
-0.020104845985770226,
-0.014468569308519363,
-0.01378566026687622,
0.0015672765439376235,
-0.025058213621377945,
-0.05809280648827553,
0.0798366367816925,
-0.05040780454874039,
0.023801662027835846,
0.024457253515720367,
-0.022362999618053436,
-0.021689195185899734,
-0.04115666076540947,
-0.07619445770978928,
-0.00692014629021287,
-0.006501295603811741,
-0.06810881197452545,
-0.03412725031375885,
-0.04545443505048752,
0.0032825167290866375,
-0.012838692404329777,
0.013867609202861786,
-0.06952925771474838,
-0.05455989018082619,
0.03751447796821594,
0.0342729352414608,
0.03230615705251694,
0.036458246409893036,
0.02017769031226635,
0.06268195807933807,
-0.0033644658979028463,
0.04549085721373558,
0.025240324437618256,
0.01858423464000225,
-0.009815681725740433,
-0.013749238103628159,
-0.0015137820737436414,
-0.007225179113447666,
0.026332978159189224,
-0.05270237848162651,
0.0053904298692941666,
-0.030230114236474037,
-0.010662488639354706,
0.01731857657432556,
0.05944041535258293,
0.033726610243320465,
-0.0016913383733481169,
0.032925330102443695,
0.00030730912112630904,
0.0074801319278776646,
0.044908106327056885,
0.07080402225255966,
0.027261734008789062,
0.03376302868127823,
0.020432643592357635,
0.027097836136817932,
-0.03345344588160515,
-0.027735218405723572,
-0.01762816309928894,
-0.04982505366206169,
0.0024425385054200888,
-0.029756629839539528,
-0.018347494304180145,
-0.03134097903966904,
-0.0316687747836113,
0.06202636659145355,
0.030976761132478714,
-0.029428834095597267,
-0.05521548539400101,
0.03838860243558884,
0.0037673823535442352,
-0.0384250245988369,
-0.021707406267523766,
-0.0171364676207304,
0.003637629561126232,
0.04774900898337364,
-0.026369400322437286,
0.020687595009803772,
0.0327250100672245,
-0.015014897100627422,
-0.01082638744264841,
0.005818386096507311,
-0.05736437067389488,
-0.07353565841913223,
0.04243142530322075,
-0.024074824526906013,
0.019886314868927002,
-0.0085682338103652,
-0.0009771292097866535,
-0.004461673554033041,
-0.04920588433742523,
-0.010789965279400349,
0.01121792197227478,
0.005731884390115738,
0.03762374445796013,
-0.012201311066746712,
0.001954258419573307,
-0.0011074510402977467,
-0.029028194025158882,
0.010252743028104305,
0.018183594569563866,
0.06985705345869064,
0.08551844209432602,
0.009292117320001125,
-0.05576181039214134,
-0.04115666076540947,
0.029246723279356956,
-0.037095628678798676,
0.04432535916566849,
-0.021998781710863113,
0.05375861003994942,
-0.05219247192144394,
-0.05488768592476845,
-0.03747805580496788,
0.025404222309589386,
-0.0030389458406716585,
-0.017336787655949593,
0.007115913555026054,
0.0355294868350029,
-0.015588540583848953,
0.004315985832363367,
-0.009055376052856445,
0.05525190755724907,
0.06657909601926804,
0.019831683486700058,
-0.021416032686829567,
0.00524474261328578,
0.049096617847681046,
0.036603931337594986,
0.008272306993603706,
0.027498476207256317,
0.02192593738436699,
-0.051973942667245865,
-0.05317586287856102,
-0.015379115007817745,
-0.06887366622686386,
-0.04337839037179947,
-0.010125267319381237,
0.023164279758930206,
0.024584731087088585,
-0.044798843562603,
0.015597646124660969,
-0.026660773903131485,
-0.013348598033189774,
-0.0059504155069589615,
-0.010589645244181156,
0.03270679712295532,
-0.004684756975620985,
0.013239332474768162,
-0.007402735762298107,
-0.025914127007126808,
0.0011091583874076605,
0.014759943820536137,
0.09018043428659439,
0.06763532757759094,
0.10336513817310333,
0.051318347454071045,
-0.004131600726395845,
0.020305166020989418,
0.026515087112784386,
0.007935404777526855,
0.023346388712525368,
0.03744163364171982,
-0.055834654718637466,
0.0054769315756857395,
0.10853703320026398,
-0.0652679055929184,
0.04181225225329399,
0.02722531370818615,
0.023346388712525368,
0.01904861442744732,
-0.060605913400650024,
-0.03440041095018387,
-0.017664583399891853,
0.021853094920516014,
0.007935404777526855,
0.002356036799028516,
0.00872302707284689,
-0.02356491982936859,
-0.008791317231953144,
-0.005536117125302553,
-0.09564370661973953,
0.016590140759944916,
0.026332978159189224,
0.04960652440786362,
0.046037185937166214,
0.01464157272130251,
-0.033253125846385956,
-0.0022331129293888807,
-0.025513486936688423,
0.03487389534711838,
0.009697310626506805,
0.01844765432178974,
0.04148445650935173,
0.016735827550292015,
-0.009861208498477936,
-0.05572538822889328,
-0.0015968693187460303,
-0.0569637306034565,
0.03543843328952789,
0.018848294392228127,
-0.09141877293586731,
0.05649024620652199,
-0.03092212788760662,
0.0033849531318992376,
-0.006305528338998556,
0.01572512276470661,
-0.08529990911483765,
0.025549909099936485,
0.003944938536733389,
-0.06286406517028809,
-0.1169140562415123,
-0.06450305134057999,
-0.007211520802229643,
-0.033890508115291595,
-0.03682246431708336,
-0.03545664623379707,
0.01410435140132904,
0.03744163364171982,
-0.011973674409091473,
-0.047967541962862015,
-0.01063517201691866,
-0.05718226358294487,
-0.020104845985770226,
0.016726722940802574,
0.02531316690146923,
-0.013266649097204208,
0.006510401144623756,
0.03536558896303177,
0.00976104848086834,
-0.02434798888862133,
0.037368789315223694,
0.00840888824313879,
-0.03693172708153725,
-0.047494057565927505,
-0.07859829813241959,
0.03733236715197563,
-0.030794652178883553,
-0.013822081498801708,
0.04264995455741882,
0.03225152567028999,
0.008003695867955685,
-0.019303565844893456,
-0.01711825653910637,
-0.013248438015580177,
0.03603939339518547,
-0.05379503220319748,
0.016462665051221848,
0.02159814164042473,
0.042030785232782364,
-0.008021906949579716,
-0.013548918068408966,
0.002683833008632064,
0.00278399302624166,
-0.024129457771778107,
-0.004627848044037819,
0.0003297882212791592,
0.016754038631916046,
-0.04596434161067009,
0.01567959412932396,
-0.07091329246759415,
0.035001371055841446,
-0.09812039136886597,
0.008026459254324436,
0.011409136466681957,
0.04133876785635948,
0.017965063452720642,
-0.0031823567114770412,
-0.039153460413217545,
-0.0009714383049868047,
0.008058328181505203,
0.01248358003795147,
-0.05073560029268265,
-0.0076576885767281055,
0.010744437575340271,
0.047166261821985245,
-0.025058213621377945,
-0.0169907808303833,
0.050699178129434586,
-0.047785431146621704,
0.023109646514058113,
-0.08493569493293762,
-0.007161440793424845,
0.022617952898144722,
0.014131667092442513,
0.02292753756046295,
0.013949558138847351,
-0.02079686149954796,
0.01972241699695587,
-0.0036831567995250225,
-0.0072707063518464565,
-0.019431043416261673,
-0.0403553806245327,
0.07131393253803253,
-0.03729594871401787,
0.007844350300729275,
0.0007438019383698702,
0.024857893586158752,
0.03944483399391174,
0.01999558135867119,
-0.003407716751098633,
0.026314767077565193,
-0.01666298508644104,
-0.08056507259607315,
0.0072570485062897205,
0.039481256157159805,
-0.037878695875406265,
-0.09018043428659439,
0.0120920455083251,
-0.07903535664081573,
-0.041265927255153656,
0.0502985380589962,
0.008522707037627697,
-0.022035203874111176,
-0.003400887828320265,
-0.015770649537444115,
-0.037259526550769806,
-0.028900716453790665,
0.015197006054222584,
0.045090217143297195,
0.0007529073627665639,
-0.026114447042346,
-0.014423041604459286,
-0.030648963525891304,
-0.03028474561870098,
-0.04530874639749527,
0.05354008078575134,
0.018975770100951195,
0.003507876768708229,
-0.008295070379972458,
0.04020969197154045,
-0.00906448159366846,
0.006496742833405733,
-0.05026211589574814,
-0.015952758491039276,
0.006983884610235691,
-0.0917101502418518,
0.02627834491431713,
0.021543508395552635,
0.058238495141267776,
0.03297996148467064,
-0.02052369713783264,
-0.024220513179898262,
-0.04563654586672783,
-0.028154069557785988,
-0.031941939145326614,
-0.06246342882514,
-0.010252743028104305,
0.012620162218809128,
0.010189005173742771,
-0.019649574533104897,
0.04104739427566528,
0.0009549346868880093,
-0.10642457008361816,
-0.019030403345823288,
0.008449862711131573,
0.013230226933956146,
-0.02465757355093956,
-0.0467291995882988,
0.04290490970015526,
0.014650678262114525,
0.006473978981375694,
-0.018830083310604095,
-0.0010482656070962548,
-0.08908777683973312,
0.00018623503274284303,
-0.05455989018082619,
0.0002159700234187767,
-0.019922737032175064,
-0.0037013678811490536,
-0.029829474166035652,
-0.031304556876420975,
0.05616245046257973,
0.011208816431462765,
0.04133876785635948,
0.022963959723711014,
-0.04410682991147041,
-0.002216040389612317,
0.01512416172772646,
-0.026314767077565193,
0.0676717460155487,
-0.033708397299051285,
0.028245123103260994,
0.03480105102062225,
-0.012866009026765823,
0.008823187090456486,
0.019576730206608772,
0.013731027022004128,
-0.007179651875048876,
-0.025112846866250038,
-0.01858423464000225,
0.08923346549272537,
0.008349702693521976,
0.008700262755155563,
0.025531698018312454
] |
23,211 | flask.app | test_client | Creates a test client for this application. For information
about unit testing head over to :doc:`/testing`.
Note that if you are testing for assertions or exceptions in your
application code, you must set ``app.testing = True`` in order for the
exceptions to propagate to the test client. Otherwise, the exception
will be handled by the application (not visible to the test client) and
the only indication of an AssertionError or other exception will be a
500 status code response to the test client. See the :attr:`testing`
attribute. For example::
app.testing = True
client = app.test_client()
The test client can be used in a ``with`` block to defer the closing down
of the context until the end of the ``with`` block. This is useful if
you want to access the context locals for testing::
with app.test_client() as c:
rv = c.get('/?vodka=42')
assert request.args['vodka'] == '42'
Additionally, you may pass optional keyword arguments that will then
be passed to the application's :attr:`test_client_class` constructor.
For example::
from flask.testing import FlaskClient
class CustomClient(FlaskClient):
def __init__(self, *args, **kwargs):
self._authentication = kwargs.pop("authentication")
super(CustomClient,self).__init__( *args, **kwargs)
app.test_client_class = CustomClient
client = app.test_client(authentication='Basic ....')
See :class:`~flask.testing.FlaskClient` for more information.
.. versionchanged:: 0.4
added support for ``with`` block usage for the client.
.. versionadded:: 0.7
The `use_cookies` parameter was added as well as the ability
to override the client to be used by setting the
:attr:`test_client_class` attribute.
.. versionchanged:: 0.11
Added `**kwargs` to support passing additional keyword arguments to
the constructor of :attr:`test_client_class`.
| def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient:
"""Creates a test client for this application. For information
about unit testing head over to :doc:`/testing`.
Note that if you are testing for assertions or exceptions in your
application code, you must set ``app.testing = True`` in order for the
exceptions to propagate to the test client. Otherwise, the exception
will be handled by the application (not visible to the test client) and
the only indication of an AssertionError or other exception will be a
500 status code response to the test client. See the :attr:`testing`
attribute. For example::
app.testing = True
client = app.test_client()
The test client can be used in a ``with`` block to defer the closing down
of the context until the end of the ``with`` block. This is useful if
you want to access the context locals for testing::
with app.test_client() as c:
rv = c.get('/?vodka=42')
assert request.args['vodka'] == '42'
Additionally, you may pass optional keyword arguments that will then
be passed to the application's :attr:`test_client_class` constructor.
For example::
from flask.testing import FlaskClient
class CustomClient(FlaskClient):
def __init__(self, *args, **kwargs):
self._authentication = kwargs.pop("authentication")
super(CustomClient,self).__init__( *args, **kwargs)
app.test_client_class = CustomClient
client = app.test_client(authentication='Basic ....')
See :class:`~flask.testing.FlaskClient` for more information.
.. versionchanged:: 0.4
added support for ``with`` block usage for the client.
.. versionadded:: 0.7
The `use_cookies` parameter was added as well as the ability
to override the client to be used by setting the
:attr:`test_client_class` attribute.
.. versionchanged:: 0.11
Added `**kwargs` to support passing additional keyword arguments to
the constructor of :attr:`test_client_class`.
"""
cls = self.test_client_class
if cls is None:
from .testing import FlaskClient as cls
return cls( # type: ignore
self, self.response_class, use_cookies=use_cookies, **kwargs
)
| (self, use_cookies: 'bool' = True, **kwargs: 't.Any') -> 'FlaskClient' | [
0.0150465602055192,
-0.051805879920721054,
0.0064258514903485775,
-0.011826831847429276,
0.015654226765036583,
-0.004825057461857796,
-0.034410275518894196,
0.0627257451415062,
0.040160439908504486,
-0.001087225042283535,
-0.0028365349862724543,
0.02363552525639534,
0.0022447400260716677,
0.015173535794019699,
0.0720493495464325,
-0.012198688462376595,
0.054127711802721024,
-0.05042729154229164,
0.07611256092786789,
-0.05198727175593376,
0.0054417941719293594,
0.034101907163858414,
0.008276062086224556,
0.037766050547361374,
0.02107788249850273,
0.014003549702465534,
-0.04393341764807701,
0.011173817329108715,
0.12965981662273407,
-0.03266890347003937,
-0.00162460224237293,
-0.014067037031054497,
0.015182605013251305,
0.06486618518829346,
0.02156764268875122,
-0.045094333589076996,
-0.031272176653146744,
-0.010457313619554043,
-0.04396969452500343,
0.04592874273657799,
-0.028261050581932068,
0.0009489128133282065,
0.03125403821468353,
-0.008561755530536175,
0.01040289644151926,
0.03265076503157616,
0.011917528696358204,
0.05975089594721794,
-0.03490003943443298,
0.005695744417607784,
0.029766613617539406,
-0.06356015056371689,
0.03346703201532364,
0.03381168097257614,
-0.024052729830145836,
0.01247984729707241,
0.018828606233000755,
0.006770498584955931,
-0.056957442313432693,
0.023726221174001694,
-0.060367632657289505,
0.01675165630877018,
0.026864321902394295,
-0.01893744245171547,
-0.001351378858089447,
0.05423654615879059,
-0.054671891033649445,
0.03555305302143097,
0.06736940890550613,
-0.03794744238257408,
0.0309456679970026,
0.022420190274715424,
-0.006407712586224079,
-0.004974706564098597,
0.03711303323507309,
-0.021422529593110085,
-0.037584658712148666,
-0.03201588615775108,
-0.013967270962893963,
-0.04121251776814461,
0.027753150090575218,
0.00044526346027851105,
-0.042445991188287735,
0.02465132623910904,
0.04360690712928772,
-0.0012958272127434611,
-0.003879545722156763,
-0.015500043518841267,
0.027680592611432076,
0.06254435330629349,
-0.030328931286931038,
0.003199321450665593,
0.0026324677746742964,
0.002202792791649699,
-0.028369884938001633,
-0.04716221243143082,
0.019028140231966972,
0.018456751480698586,
0.009033378213644028,
0.011736135929822922,
0.016289103776216507,
0.07422606647014618,
0.002700490178540349,
0.020406726747751236,
0.013323325663805008,
-0.03402934968471527,
-0.04857708141207695,
-0.05637698620557785,
0.03694977983832359,
0.019100697711110115,
-0.022275077179074287,
-0.010012900456786156,
0.012815425172448158,
0.030056841671466827,
-0.013087514787912369,
-0.02153136394917965,
0.03629676625132561,
-0.005496211815625429,
-0.009631975553929806,
-0.015627019107341766,
-0.011128468438982964,
0.017114441841840744,
0.022529026493430138,
0.03194332867860794,
0.07165028899908066,
0.03159868344664574,
-0.013196350075304508,
0.03038335032761097,
0.021984847262501717,
-0.027100134640932083,
0.09454210102558136,
0.0011779216583818197,
-0.004956567194312811,
0.03321308270096779,
0.015890037640929222,
0.0830780565738678,
-0.005010985303670168,
0.055433742702007294,
0.03558933362364769,
0.05975089594721794,
-0.02782570570707321,
0.06316109001636505,
-0.033866096287965775,
0.027753150090575218,
-0.018356984481215477,
-0.020678816363215446,
-0.06457595527172089,
-0.09040633589029312,
-0.014103315770626068,
0.05630442872643471,
0.07509675621986389,
0.0122077576816082,
-0.0122077576816082,
-0.025794103741645813,
-0.061963893473148346,
-0.05710255727171898,
-0.021930430084466934,
-0.05162448436021805,
0.05220494419336319,
-0.014012619853019714,
0.016951188445091248,
0.013695181347429752,
0.04861335828900337,
0.025594571605324745,
0.0016472763381898403,
0.04734360799193382,
-0.06385038048028946,
-0.04574734717607498,
0.011890320107340813,
0.009269189089536667,
-0.022764837369322777,
-0.0023025590926408768,
-0.004847731441259384,
-0.027208968997001648,
-0.03090938925743103,
-0.021894151344895363,
0.003144903341308236,
-0.060911811888217926,
0.013042165897786617,
-0.006820381619036198,
-0.01374052930623293,
-0.05039101094007492,
-0.044296201318502426,
0.044586431235075,
0.038310229778289795,
0.0077409520745277405,
-0.022275077179074287,
0.020152777433395386,
0.038056280463933945,
0.0022515421733260155,
-0.04563851282000542,
0.03997904807329178,
0.04095856845378876,
0.0340837687253952,
-0.0000997662209556438,
-0.034627947956323624,
0.00843478087335825,
-0.020152777433395386,
-0.0007550489390268922,
-0.012162409722805023,
-0.07691068947315216,
0.05010078474879265,
0.010430105030536652,
-0.0405232273042202,
0.04574734717607498,
0.014166804030537605,
0.019808130338788033,
-0.015427486039698124,
-0.046400364488363266,
-0.010620567947626114,
-0.01363169401884079,
-0.0009018639684654772,
-0.046871986240148544,
-0.019826268777251244,
0.04701710119843483,
-0.05684860795736313,
-0.004092682618647814,
-0.009804299101233482,
0.006543757393956184,
0.042445991188287735,
0.016660958528518677,
0.0483231320977211,
-0.017794666811823845,
-0.026555955410003662,
0.026320142671465874,
-0.002949905814602971,
0.04251854866743088,
0.023544829338788986,
-0.029258711263537407,
-0.01075661275535822,
-0.04113996401429176,
0.04930265247821808,
0.09548534452915192,
-0.016044221818447113,
-0.019028140231966972,
-0.0073373522609472275,
0.000693261856213212,
0.017740247771143913,
-0.04110368341207504,
-0.023272739723324776,
0.07908740639686584,
0.009949413128197193,
0.06348759680986404,
-0.03303169086575508,
0.0004557502397801727,
0.02778942696750164,
-0.04110368341207504,
0.0017912571784108877,
0.016642820090055466,
0.03412004932761192,
-0.03787488490343094,
-0.03087311051785946,
0.05920671671628952,
-0.002528166864067316,
-0.03299541026353836,
0.059823453426361084,
0.028261050581932068,
-0.027227109298110008,
-0.060911811888217926,
0.020370448008179665,
0.01441168412566185,
-0.008090133778750896,
-0.0069337524473667145,
0.07259353250265121,
-0.0415390282869339,
-0.024524351581931114,
0.012942399829626083,
0.027154551818966866,
-0.013141931965947151,
-0.005904346238821745,
0.06548292189836502,
0.020896488800644875,
0.02806151658296585,
-0.028678253293037415,
-0.02107788249850273,
-0.07879717648029327,
-0.05271284282207489,
0.025014113634824753,
-0.07567721605300903,
-0.015037490986287594,
-0.054671891033649445,
0.011527533642947674,
0.04436875879764557,
0.00004410829205880873,
-0.04462271183729172,
-0.055216070264577866,
-0.02390761487185955,
0.04962915927171707,
0.02597549557685852,
-0.024995973333716393,
0.03711303323507309,
-0.06453967839479446,
0.02283739484846592,
-0.0288233682513237,
-0.06878427416086197,
0.0011665845522657037,
-0.06178250163793564,
-0.03174379840493202,
-0.006312481127679348,
-0.035716306418180466,
0.008570825681090355,
-0.02312762476503849,
0.013268907554447651,
0.02180345356464386,
0.04698082059621811,
0.003351238090544939,
0.01949976198375225,
-0.017994198948144913,
-0.013949131593108177,
0.004546165466308594,
-0.03965253755450249,
-0.012198688462376595,
-0.027462920174002647,
-0.03602467477321625,
-0.030183816328644753,
-0.0025893868878483772,
-0.018456751480698586,
-0.05913415923714638,
0.01600794307887554,
-0.009414303116500378,
-0.013903783634305,
-0.0080946683883667,
0.00531935365870595,
0.059388112276792526,
0.0068294513039290905,
0.05376492440700531,
0.008312339894473553,
0.0055869086645543575,
-0.00353489862754941,
0.06007740646600723,
-0.0311996191740036,
0.02853314019739628,
-0.029766613617539406,
-0.03589770197868347,
-0.010257781483232975,
-0.007015379145741463,
0.03691350296139717,
0.00706979725509882,
-0.020969046279788017,
-0.03319494426250458,
-0.008725009858608246,
-0.07857950776815414,
-0.03787488490343094,
0.018456751480698586,
-0.046654313802719116,
0.01452958956360817,
-0.005455398466438055,
0.008471059612929821,
0.03591584041714668,
-0.003868208499625325,
0.04030555486679077,
-0.029041040688753128,
0.039616260677576065,
-0.00045008171582594514,
0.017894431948661804,
-0.01259775273501873,
-0.02055184170603752,
-0.008584429509937763,
0.02671920880675316,
0.012924260459840298,
-0.030256373807787895,
-0.00308141577988863,
0.0014953595818951726,
0.02056998200714588,
-0.042482271790504456,
0.015617948956787586,
0.021150439977645874,
-0.04386086016893387,
-0.005133425816893578,
0.0016824213089421391,
0.006539222318679094,
-0.05042729154229164,
0.00537830637767911,
0.012833564542233944,
0.03823767229914665,
-0.027626173570752144,
-0.04019671678543091,
-0.02445179410278797,
-0.03038335032761097,
0.10027412325143814,
-0.03245123103260994,
0.012534265406429768,
0.007754556369036436,
0.002455609617754817,
-0.03353958949446678,
-0.03381168097257614,
-0.01078382134437561,
-0.0400153249502182,
-0.013940062373876572,
-0.02833360806107521,
-0.015028420835733414,
-0.05423654615879059,
0.014257499948143959,
-0.006575501058250666,
-0.005641326308250427,
-0.0774911493062973,
-0.042192041873931885,
0.002909092465415597,
0.041901811957359314,
-0.013704251497983932,
0.06787730753421783,
0.014429823495447636,
0.030455905944108963,
0.004115356598049402,
0.021241135895252228,
0.06776847690343857,
0.0009840577840805054,
-0.037294428795576096,
0.05169704183936119,
0.01745001971721649,
-0.03794744238257408,
0.0031403684988617897,
-0.0851096585392952,
0.007192237768322229,
0.00945965200662613,
0.011409628205001354,
-0.03301354870200157,
0.07705580443143845,
0.066462442278862,
0.025104809552431107,
0.05601419880986214,
0.007514210417866707,
0.01926395110785961,
0.0300931204110384,
0.07618511468172073,
0.04520316794514656,
-0.01028499100357294,
0.037584658712148666,
0.0051288907416164875,
0.025558292865753174,
0.024868998676538467,
-0.04121251776814461,
-0.05710255727171898,
-0.002584852045401931,
0.007895136252045631,
0.026356421411037445,
-0.06479362398386002,
-0.005908881314098835,
0.012615892104804516,
-0.004308086819946766,
-0.02856941893696785,
-0.04084973409771919,
0.0015792539343237877,
-0.013033096678555012,
0.013522857800126076,
-0.03947114571928978,
-0.019608598202466965,
-0.00526040093973279,
0.057247672230005264,
-0.02390761487185955,
0.010012900456786156,
-0.007908741012215614,
-0.07553210109472275,
-0.003546235617250204,
-0.022492747753858566,
-0.004083612933754921,
-0.023780640214681625,
0.02281925641000271,
0.004888544790446758,
0.02544945664703846,
0.06395921856164932,
-0.03921719640493393,
-0.0020735501311719418,
-0.03914463892579079,
0.022383913397789,
0.004852266050875187,
0.011210095137357712,
0.030854972079396248,
-0.007568628527224064,
0.0040564038790762424,
0.013559136539697647,
-0.011826831847429276,
-0.017640482634305954,
-0.005877137649804354,
0.04705337807536125,
0.053873758763074875,
-0.006920148152858019,
-0.011591020971536636,
-0.03430144116282463,
0.014057967811822891,
-0.014874236658215523,
0.0420469269156456,
-0.015091908164322376,
0.006063065491616726,
-0.04422364383935928,
-0.05343841761350632,
-0.011264513246715069,
0.012679380364716053,
0.018883025273680687,
-0.026846183463931084,
0.025921078398823738,
0.03165310248732567,
-0.03582514449954033,
-0.0009177358588203788,
-0.033920515328645706,
0.03114520013332367,
0.005156099796295166,
-0.02936754748225212,
-0.03196147084236145,
0.02334529533982277,
-0.0024284005630761385,
0.016742585226893425,
0.02619316801428795,
0.058263473212718964,
0.024252261966466904,
-0.08924542367458344,
-0.045565955340862274,
-0.04444131627678871,
-0.012670310214161873,
-0.048141736537218094,
-0.03633304312825203,
0.06519269198179245,
0.03406563028693199,
-0.012225897051393986,
0.026302004233002663,
-0.04886731132864952,
-0.0835859552025795,
0.02022533491253853,
0.013994480483233929,
0.012262175790965557,
0.019318368285894394,
0.02831546775996685,
0.04672687128186226,
0.025830382481217384,
-0.017341183498501778,
-0.022256936877965927,
0.10382942855358124,
0.04600129649043083,
0.07770881801843643,
0.08416641503572464,
-0.04045066982507706,
-0.0028818834107369184,
0.01105591095983982,
0.07560465484857559,
0.011835901997983456,
-0.016606541350483894,
-0.06744197010993958,
-0.030056841671466827,
0.09222026914358139,
-0.04201065003871918,
0.07183168083429337,
0.08032087981700897,
-0.01312379352748394,
-0.042482271790504456,
-0.04875847324728966,
-0.04367946460843086,
0.0311996191740036,
-0.003711757017299533,
-0.0122077576816082,
-0.030220095068216324,
0.011618230491876602,
-0.020969046279788017,
0.0659545436501503,
-0.027553616091609,
-0.03143543004989624,
-0.038273949176073074,
0.04074089601635933,
0.013205420225858688,
0.010049179196357727,
-0.05057240650057793,
-0.02232949435710907,
0.016280032694339752,
-0.04701710119843483,
0.002473748754709959,
-0.014438893646001816,
-0.025268062949180603,
0.06980007886886597,
0.013432160951197147,
-0.024324819445610046,
-0.060657862573862076,
0.0073373522609472275,
-0.034101907163858414,
0.04734360799193382,
0.10107225179672241,
-0.06472107023000717,
0.05097147077322006,
-0.03194332867860794,
0.004049601498991251,
0.042228322476148605,
0.012425429187715054,
-0.03087311051785946,
-0.0013298384146764874,
-0.024524351581931114,
-0.04879475384950638,
-0.03199774771928787,
-0.007908741012215614,
0.04614641144871712,
0.004487212747335434,
-0.01296960934996605,
-0.05710255727171898,
-0.023853197693824768,
-0.01531864982098341,
-0.031090782955288887,
-0.05525234714150429,
-0.010421035811305046,
-0.010611497797071934,
-0.006643523462116718,
0.017858153209090233,
0.006521082948893309,
0.009278258308768272,
0.03435586020350456,
0.08090133965015411,
0.02646525762975216,
-0.03479120135307312,
0.0007369095692411065,
0.015554460696876049,
-0.048685915768146515,
-0.00975895021110773,
-0.02806151658296585,
-0.024578768759965897,
-0.03346703201532364,
0.013305186294019222,
-0.02677362598478794,
-0.055179789662361145,
-0.0022277343086898327,
0.003877278184518218,
-0.07048936933279037,
0.011074050329625607,
0.007115145679563284,
-0.061673663556575775,
0.031344734132289886,
-0.04106740653514862,
0.028496861457824707,
0.02521364577114582,
-0.00891093723475933,
-0.034392137080430984,
0.02307320572435856,
-0.03401121124625206,
-0.05848114565014839,
-0.02047928422689438,
0.03270518034696579,
-0.0038591388147324324,
0.04371574521064758,
-0.039072081446647644,
0.062471795827150345,
-0.0384916216135025,
0.060911811888217926,
-0.006570965982973576,
0.05115286260843277,
0.021440668031573296,
-0.01531864982098341,
-0.02231135591864586,
-0.00837582815438509,
0.007754556369036436,
-0.01543655525892973,
-0.02180345356464386,
0.01568143628537655,
-0.08837473392486572,
0.06160110607743263,
-0.07088843733072281,
-0.008253387175500393,
0.10194294154644012,
-0.019898826256394386,
-0.03368470445275307,
-0.07770881801843643,
0.0014772203285247087,
0.05481700599193573,
0.040378112345933914,
0.03395679593086243,
0.017658621072769165,
0.011926598846912384,
0.049266375601291656,
0.045058052986860275,
-0.011509394273161888,
0.02363552525639534,
-0.013540997169911861,
0.06936473399400711,
-0.018112104386091232,
0.06388665735721588,
0.018166521564126015,
0.023472271859645844,
0.061455994844436646,
-0.03591584041714668,
-0.009822438471019268,
0.023689942434430122,
0.010312199592590332,
-0.031000087037682533,
-0.004321691580116749,
0.03863673657178879,
-0.06254435330629349,
-0.033739123493433,
0.05376492440700531,
-0.07197679579257965,
-0.008947215974330902,
0.007514210417866707,
-0.015182605013251305,
-0.03087311051785946,
0.013613554649055004,
-0.05786440894007683,
-0.020606258884072304,
-0.0025122947990894318,
-0.03979765251278877,
0.020660677924752235,
0.041720420122146606,
-0.05996856838464737,
0.014320988208055496,
0.0008803235250525177,
-0.06254435330629349,
-0.046364083886146545,
0.07190423458814621,
-0.0061310878954827785,
0.01430284883826971,
0.007210377138108015,
0.053111910820007324,
-0.016697237268090248,
0.009296397678554058,
0.010430105030536652,
-0.06377782672643661,
-0.011953807435929775,
-0.08068366348743439,
0.020388588309288025,
0.02858755737543106,
0.05118914321064949,
0.008153621107339859,
0.00033217616146430373,
0.007142354734241962,
-0.01620747707784176,
-0.047670114785432816,
-0.029766613617539406,
-0.0008440449018962681,
-0.04672687128186226,
0.03636932373046875,
0.002578049898147583,
-0.040668338537216187,
0.027444781735539436,
-0.027916403487324715,
-0.033376336097717285,
-0.02107788249850273,
-0.021386250853538513,
0.006643523462116718,
-0.0036868155002593994,
-0.034138187766075134,
-0.021712757647037506,
0.03212472423911095,
-0.016026083379983902,
-0.03586142137646675,
0.01741374097764492,
-0.04179297760128975,
-0.002133636735379696,
-0.036768388003110886,
-0.030310792848467827,
-0.005355632398277521,
-0.02497783489525318,
-0.0046754078939557076,
-0.025540152564644814,
0.0170418843626976,
0.02390761487185955,
0.015391207300126553,
0.0189918614923954,
-0.003981579095125198,
-0.020189056172966957,
0.025395037606358528,
-0.020352309569716454,
0.01062963716685772,
0.02575782500207424,
0.037294428795576096,
-0.024995973333716393,
-0.029440104961395264,
0.0288233682513237,
0.010992423631250858,
-0.02439737692475319,
0.047125935554504395,
0.017205137759447098,
-0.001773117808625102,
0.04331668093800545,
0.008353154174983501,
0.007314677815884352,
0.04625524953007698
] |
23,212 | flask.app | test_request_context | Create a :class:`~flask.ctx.RequestContext` for a WSGI
environment created from the given values. This is mostly useful
during testing, where you may want to run a function that uses
request data without dispatching a full request.
See :doc:`/reqcontext`.
Use a ``with`` block to push the context, which will make
:data:`request` point at the request for the created
environment. ::
with app.test_request_context(...):
generate_report()
When using the shell, it may be easier to push and pop the
context manually to avoid indentation. ::
ctx = app.test_request_context(...)
ctx.push()
...
ctx.pop()
Takes the same arguments as Werkzeug's
:class:`~werkzeug.test.EnvironBuilder`, with some defaults from
the application. See the linked Werkzeug docs for most of the
available arguments. Flask-specific behavior is listed here.
:param path: URL path being requested.
:param base_url: Base URL where the app is being served, which
``path`` is relative to. If not given, built from
:data:`PREFERRED_URL_SCHEME`, ``subdomain``,
:data:`SERVER_NAME`, and :data:`APPLICATION_ROOT`.
:param subdomain: Subdomain name to append to
:data:`SERVER_NAME`.
:param url_scheme: Scheme to use instead of
:data:`PREFERRED_URL_SCHEME`.
:param data: The request body, either as a string or a dict of
form keys and values.
:param json: If given, this is serialized as JSON and passed as
``data``. Also defaults ``content_type`` to
``application/json``.
:param args: other positional arguments passed to
:class:`~werkzeug.test.EnvironBuilder`.
:param kwargs: other keyword arguments passed to
:class:`~werkzeug.test.EnvironBuilder`.
| def test_request_context(self, *args: t.Any, **kwargs: t.Any) -> RequestContext:
"""Create a :class:`~flask.ctx.RequestContext` for a WSGI
environment created from the given values. This is mostly useful
during testing, where you may want to run a function that uses
request data without dispatching a full request.
See :doc:`/reqcontext`.
Use a ``with`` block to push the context, which will make
:data:`request` point at the request for the created
environment. ::
with app.test_request_context(...):
generate_report()
When using the shell, it may be easier to push and pop the
context manually to avoid indentation. ::
ctx = app.test_request_context(...)
ctx.push()
...
ctx.pop()
Takes the same arguments as Werkzeug's
:class:`~werkzeug.test.EnvironBuilder`, with some defaults from
the application. See the linked Werkzeug docs for most of the
available arguments. Flask-specific behavior is listed here.
:param path: URL path being requested.
:param base_url: Base URL where the app is being served, which
``path`` is relative to. If not given, built from
:data:`PREFERRED_URL_SCHEME`, ``subdomain``,
:data:`SERVER_NAME`, and :data:`APPLICATION_ROOT`.
:param subdomain: Subdomain name to append to
:data:`SERVER_NAME`.
:param url_scheme: Scheme to use instead of
:data:`PREFERRED_URL_SCHEME`.
:param data: The request body, either as a string or a dict of
form keys and values.
:param json: If given, this is serialized as JSON and passed as
``data``. Also defaults ``content_type`` to
``application/json``.
:param args: other positional arguments passed to
:class:`~werkzeug.test.EnvironBuilder`.
:param kwargs: other keyword arguments passed to
:class:`~werkzeug.test.EnvironBuilder`.
"""
from .testing import EnvironBuilder
builder = EnvironBuilder(self, *args, **kwargs)
try:
return self.request_context(builder.get_environ())
finally:
builder.close()
| (self, *args: Any, **kwargs: Any) -> flask.ctx.RequestContext | [
0.02164546400308609,
-0.012733163312077522,
-0.011828222312033176,
-0.0335468128323555,
0.023565035313367844,
-0.002213221276178956,
-0.031316451728343964,
0.027916066348552704,
0.014981805346906185,
-0.03751392662525177,
-0.004533846862614155,
0.0038871339056640863,
0.0009329349850304425,
0.05217580497264862,
0.0699455589056015,
-0.021517492830753326,
0.07553974539041519,
-0.052687689661979675,
0.07129839807748795,
-0.03488137200474739,
0.015064072795212269,
0.005685590673238039,
-0.007906809449195862,
0.025576015934348106,
-0.019725890830159187,
0.018299922347068787,
-0.0453384704887867,
-0.03051205910742283,
0.10566788911819458,
-0.014351088553667068,
0.011087815277278423,
-0.048336658626794815,
0.03985397890210152,
0.04102400317788124,
0.07415033876895905,
-0.04479002207517624,
-0.05744091793894768,
-0.02071310020983219,
-0.02173687145113945,
-0.023875823244452477,
-0.05181017145514488,
-0.005575900431722403,
-0.04321780055761337,
0.0080347815528512,
0.039268966764211655,
0.007509184069931507,
-0.023181121796369553,
0.04424157366156578,
0.007682859897613525,
0.02778809517621994,
0.04226715490221977,
-0.04859260097146034,
0.03941521793603897,
0.028007473796606064,
-0.028044037520885468,
0.015292593277990818,
0.0028610769659280777,
0.007518325001001358,
0.011115238070487976,
0.022431574761867523,
-0.004936043173074722,
0.08972629904747009,
0.020091524347662926,
-0.02912265434861183,
-0.02751387096941471,
0.01965276524424553,
-0.05711184814572334,
0.02071310020983219,
0.009862945415079594,
-0.027239644899964333,
-0.026106184348464012,
-0.012248699553310871,
-0.026343844830989838,
-0.008098767139017582,
0.008866596035659313,
-0.02506413124501705,
-0.04599661007523537,
-0.02259610965847969,
0.0012568628881126642,
-0.035502947866916656,
0.02758699655532837,
-0.014332806691527367,
-0.03948834538459778,
0.017989134415984154,
0.06380292773246765,
0.006782488897442818,
0.024022076278924942,
0.021627182140946388,
0.02305315062403679,
0.03798925131559372,
-0.021883124485611916,
-0.008450688794255257,
0.02137123793363571,
-0.01469843927770853,
0.03802581503987312,
-0.05583213269710541,
0.010475380346179008,
0.03144442290067673,
-0.004684670828282833,
-0.016755124554038048,
0.01516462117433548,
0.0784648060798645,
-0.02221219427883625,
0.03597826883196831,
-0.02361988089978695,
0.0519929863512516,
-0.002280634827911854,
-0.02994532883167267,
0.019908707588911057,
-0.006901319604367018,
-0.048446349799633026,
-0.044460952281951904,
-0.024881314486265182,
-0.02307143062353134,
-0.02532007358968258,
-0.012842852622270584,
0.014287102967500687,
0.024497399106621742,
0.0004784648190252483,
-0.022815488278865814,
-0.013574118725955486,
0.02126154862344265,
0.04402219131588936,
-0.022906897589564323,
0.045594412833452225,
0.04811728000640869,
0.005731294397264719,
-0.0014533904613927007,
0.007358360569924116,
-0.04376624897122383,
0.06362011283636093,
0.01936025731265545,
-0.021334676072001457,
0.04047555476427078,
0.04574066773056984,
0.0651557669043541,
-0.00955215748399496,
0.046727877110242844,
0.021791717037558556,
0.04585035517811775,
-0.010694759897887707,
0.015219466760754585,
-0.04661818593740463,
-0.0031307311728596687,
-0.016764264553785324,
-0.025594297796487808,
-0.005548478104174137,
0.005594182293862104,
-0.0035717757418751717,
0.0443878248333931,
0.07396752387285233,
0.016919659450650215,
-0.004371597431600094,
-0.010904999449849129,
0.003699747147038579,
-0.007047572638839483,
-0.021389519795775414,
-0.037550490349531174,
0.08899503201246262,
-0.07875730842351913,
-0.0025662854313850403,
0.026691196486353874,
-0.03552122786641121,
-0.03043893352150917,
0.029140936210751534,
0.02872045896947384,
-0.03773330897092819,
-0.00833185762166977,
-0.008107908070087433,
-0.02702026627957821,
-0.026782603934407234,
0.024076921865344048,
0.050603583455085754,
-0.01100554782897234,
-0.02391238696873188,
-0.0046161143109202385,
-0.026618069037795067,
-0.04329092800617218,
-0.033400557935237885,
-0.0026851161383092403,
-0.018235936760902405,
-0.02862904965877533,
-0.03517387807369232,
0.03345540538430214,
0.026142748072743416,
-0.0066499472595751286,
-0.066106416285038,
0.03716657683253288,
0.025923367589712143,
0.02987220138311386,
-0.05272425338625908,
-0.011928770691156387,
0.03705688565969467,
-0.003146727569401264,
-0.0633276030421257,
0.041060566902160645,
-0.012020179070532322,
-0.02107873186469078,
-0.023546753451228142,
-0.00850096344947815,
-0.05488148704171181,
0.011133519932627678,
0.030841128900647163,
-0.05228549614548683,
0.012065883725881577,
0.03352852910757065,
0.004556699190288782,
-0.0045932624489068985,
-0.059305645525455475,
0.026983702555298805,
-0.009163673035800457,
0.00880718044936657,
0.009808100759983063,
-0.00034677988151088357,
-0.00037077453453093767,
-0.00597809674218297,
-0.023784415796399117,
-0.006279743742197752,
0.015210325829684734,
0.008336428552865982,
0.03798925131559372,
0.017367558553814888,
0.04043899103999138,
-0.022815488278865814,
0.03489965200424194,
0.0034940787591040134,
0.07736790925264359,
0.02477162331342697,
-0.043912503868341446,
-0.009744115173816681,
-0.019579637795686722,
0.018464457243680954,
0.07904981821775436,
-0.06954336166381836,
-0.039268966764211655,
-0.03126160800457001,
0.05074983835220337,
0.024131767451763153,
0.012788007967174053,
-0.02314455807209015,
0.05707528442144394,
0.042486533522605896,
0.06106068193912506,
-0.05462554469704628,
-0.026124466210603714,
-0.02146264724433422,
-0.0030370375607162714,
0.014076863415539265,
0.046654749661684036,
-0.01856500655412674,
-0.014213976450264454,
0.008587800897657871,
-0.03234022483229637,
-0.018528442829847336,
-0.060621924698352814,
0.03773330897092819,
0.04599661007523537,
0.019981833174824715,
0.0025640001986175776,
-0.025009285658597946,
0.0302561167627573,
0.030950818210840225,
-0.03243163228034973,
0.06040254235267639,
-0.03722142055630684,
-0.011809940449893475,
0.03422323241829872,
-0.009300785139203072,
-0.03937865421175957,
-0.001724187284708023,
0.023491909727454185,
0.05473523586988449,
0.02797091193497181,
-0.006590531673282385,
0.005996378604322672,
0.0028245137073099613,
-0.027824658900499344,
0.045301906764507294,
-0.021773435175418854,
0.020566847175359726,
0.007330938242375851,
-0.005105148535221815,
0.019488230347633362,
0.0036837507504969835,
-0.015000087209045887,
-0.07338251173496246,
-0.039561472833156586,
0.05649027228355408,
0.03630733862519264,
-0.02628900110721588,
0.0031421571038663387,
0.027806377038359642,
0.015722211450338364,
0.004707522690296173,
-0.059013139456510544,
-0.013820921070873737,
-0.06259634345769882,
-0.008811751380562782,
0.023491909727454185,
0.03846457228064537,
0.03182833641767502,
0.025100693106651306,
-0.029634540900588036,
0.0671301856637001,
0.04925074055790901,
0.03223053365945816,
0.06764207035303116,
-0.019159160554409027,
-0.043510306626558304,
-0.00500459922477603,
-0.004794360604137182,
0.04113369435071945,
-0.02522866427898407,
-0.04449751600623131,
-0.015420564450323582,
-0.0025137257762253284,
-0.0019527077674865723,
-0.04340061545372009,
-0.05265112593770027,
0.009369341656565666,
-0.031407859176397324,
0.0020966758020222187,
0.030310962349176407,
0.010146310552954674,
-0.029415160417556763,
0.07137152552604675,
0.06321791559457779,
0.006924171466380358,
0.0034209522418677807,
0.03561263903975487,
-0.025923367589712143,
0.019908707588911057,
-0.023583317175507545,
-0.010978125967085361,
-0.030365806072950363,
0.013245048932731152,
0.002206365577876568,
0.002252069767564535,
-0.03155411407351494,
-0.06380292773246765,
-0.01729443296790123,
-0.06457075476646423,
-0.03901302441954613,
-0.02409520372748375,
-0.013546695932745934,
-0.03254132345318794,
0.03817206621170044,
0.05074983835220337,
0.05736779049038887,
-0.0354481041431427,
0.02239501103758812,
-0.02486303262412548,
0.021864842623472214,
-0.013921470381319523,
-0.025374919176101685,
-0.023016586899757385,
-0.029342034831643105,
0.00441958662122488,
0.040585242211818695,
0.05634401738643646,
0.02636212669312954,
0.07243186235427856,
-0.02266923524439335,
-0.004517850466072559,
0.008043922483921051,
-0.03398557007312775,
-0.0018293067114427686,
0.007271522656083107,
-0.009085975587368011,
0.00417049927636981,
0.05736779049038887,
-0.014287102967500687,
0.003871137509122491,
0.02685573138296604,
0.009561298415064812,
-0.03762361779808998,
-0.033108051866292953,
-0.07627100497484207,
-0.06212101876735687,
0.10895857959985733,
-0.00741777615621686,
0.023272529244422913,
-0.012486360967159271,
-0.0064351377077400684,
-0.0335833765566349,
-0.06274259090423584,
-0.01190134882926941,
-0.01412256807088852,
-0.00797993689775467,
-0.0015779341338202357,
-0.03193802759051323,
-0.04596004635095596,
0.003478082362562418,
0.07404065132141113,
0.04223059117794037,
-0.043985627591609955,
-0.03343712165951729,
-0.04270591586828232,
0.03239506855607033,
0.026709478348493576,
0.08212113380432129,
0.03144442290067673,
-0.01191048976033926,
-0.014460778795182705,
0.04658162221312523,
0.04277903959155083,
0.00880718044936657,
-0.04281560331583023,
0.030694875866174698,
0.04241340979933739,
-0.054844923317432404,
0.0009963494958356023,
-0.014113427139818668,
-0.03480824455618858,
-0.04603317379951477,
-0.02248641848564148,
-0.005872977431863546,
0.08519244939088821,
0.07235873490571976,
0.04647193104028702,
0.05374802649021149,
-0.03224881365895271,
0.03537497669458389,
0.01672770269215107,
0.05469867214560509,
0.024881314486265182,
-0.0415724515914917,
-0.010237718932330608,
-0.012202995829284191,
0.010319986380636692,
0.016937941312789917,
-0.0345340222120285,
-0.031499266624450684,
0.0020806794054806232,
-0.0019184297416359186,
-0.043693121522665024,
-0.04259622469544411,
0.02561257965862751,
-0.014424215070903301,
0.060146600008010864,
-0.01799827627837658,
-0.04000023007392883,
0.029835639521479607,
0.0029867631383240223,
-0.034460894763469696,
-0.025850240141153336,
-0.03678266331553459,
0.0058866883628070354,
0.0269288569688797,
-0.006229469086974859,
0.05678277835249901,
-0.018830090761184692,
-0.03144442290067673,
0.019524792209267616,
-0.04577723145484924,
-0.021480929106473923,
-0.04577723145484924,
0.03367478400468826,
-0.035850297659635544,
0.04131650924682617,
0.04614286124706268,
-0.015905028209090233,
-0.007879387587308884,
-0.02608790248632431,
0.001480812905356288,
0.06698393076658249,
0.019451666623353958,
0.032925236970186234,
-0.0062751732766628265,
-0.008656357415020466,
-0.02287033386528492,
0.033400557935237885,
-0.019543074071407318,
-0.01756865717470646,
0.036435309797525406,
0.043327491730451584,
-0.03553951159119606,
-0.01937853917479515,
0.0064031449146568775,
0.03261444717645645,
0.008226738311350346,
-0.007532036397606134,
0.028427952900528908,
0.07345563173294067,
-0.04416844621300697,
-0.09886711835861206,
0.02040231227874756,
0.02683744952082634,
-0.013217627070844173,
0.02268751710653305,
0.0030850269831717014,
0.0500916987657547,
-0.019214004278182983,
-0.006768777500838041,
-0.03886676952242851,
0.022047659382224083,
0.036069680005311966,
-0.01577705703675747,
-0.002040688181295991,
-0.0023183405864983797,
-0.023089712485671043,
0.011160941794514656,
0.008921440690755844,
0.031608957797288895,
0.006051223259419203,
0.006389433518052101,
-0.025283509865403175,
-0.040402427315711975,
-0.05616120249032974,
-0.028884993866086006,
-0.046727877110242844,
0.05989065766334534,
0.030603468418121338,
-0.048994798213243484,
0.0036631838884204626,
-0.04775164648890495,
-0.04460720345377922,
-0.017166461795568466,
0.0034278077073395252,
0.00008776615868555382,
0.011974475346505642,
0.028574205935001373,
0.10888545960187912,
-0.004380738362669945,
0.03937865421175957,
-0.02146264724433422,
0.1039859727025032,
0.08387617021799088,
0.0340038537979126,
0.09045755863189697,
-0.006503693759441376,
-0.0030758860521018505,
0.05312645062804222,
0.05027451366186142,
0.07356532663106918,
-0.002561714965850115,
-0.007198396138846874,
-0.06391261518001556,
0.0614628791809082,
-0.012312685139477253,
0.05992722138762474,
0.018482739105820656,
-0.01143516693264246,
0.006960735190659761,
-0.06164569407701492,
-0.06212101876735687,
0.011270632036030293,
0.000060200873122084886,
0.009300785139203072,
-0.08453430980443954,
-0.025850240141153336,
-0.013336457312107086,
0.04500940069556236,
0.01806226186454296,
-0.07970795780420303,
-0.05824530869722366,
0.06274259090423584,
0.05352864786982536,
-0.018263360485434532,
-0.02257782779633999,
-0.02042059414088726,
0.03371134772896767,
-0.04453407973051071,
0.018144529312849045,
-0.0036266206298023462,
0.03250475972890854,
-0.024643652141094208,
0.03842800855636597,
-0.01247722003608942,
-0.02855592407286167,
-0.006051223259419203,
-0.041170258074998856,
0.03197459131479263,
0.027714967727661133,
-0.07082308083772659,
0.054406166076660156,
-0.04519221931695938,
0.021151859313249588,
0.06387605518102646,
-0.012075023725628853,
-0.029159218072891235,
-0.03650843724608421,
-0.024515680968761444,
-0.052029550075531006,
-0.03839144855737686,
-0.043693121522665024,
0.049835752695798874,
0.07440628111362457,
-0.010429676622152328,
-0.013564977794885635,
-0.04705694317817688,
0.009890368208289146,
0.0011603129096329212,
-0.057221539318561554,
0.008235879242420197,
-0.01836390793323517,
-0.04669131338596344,
0.003877993207424879,
0.009826382622122765,
-0.00659510213881731,
-0.01588674634695053,
0.0576237328350544,
-0.015667365863919258,
-0.02118842303752899,
-0.03153583034873009,
-0.04321780055761337,
-0.01985386200249195,
0.008185604587197304,
-0.06413199752569199,
-0.013162781484425068,
-0.011627123691141605,
-0.03376619145274162,
-0.003219854086637497,
-0.011544856242835522,
-0.01616097055375576,
-0.05981753021478653,
-0.07766041159629822,
0.028958119451999664,
0.02001839689910412,
-0.09711208194494247,
0.008464399725198746,
-0.00878432858735323,
-0.00784282386302948,
0.06270603090524673,
-0.0015276597114279866,
-0.01810796558856964,
0.059598151594400406,
-0.011042111553251743,
-0.0802929699420929,
-0.043912503868341446,
0.027440743520855904,
-0.008281583897769451,
-0.031499266624450684,
-0.050896089524030685,
0.09323637187480927,
-0.03893989697098732,
0.03678266331553459,
-0.02003667876124382,
0.013062233105301857,
0.0482269711792469,
0.014012877829372883,
-0.06504607945680618,
-0.0037728736642748117,
-0.0028427953366190195,
-0.017788037657737732,
0.0064122858457267284,
0.052029550075531006,
-0.07736790925264359,
0.05915939062833786,
-0.03989054262638092,
0.013446147553622723,
0.05802593007683754,
-0.010996406897902489,
-0.02307143062353134,
-0.031810056418180466,
0.020767943933606148,
0.018409613519906998,
0.0538577139377594,
0.0002766526595223695,
0.018418753519654274,
0.03252303972840309,
0.0293054711073637,
0.04676443710923195,
-0.030182989314198494,
0.046252552419900894,
0.01709333434700966,
0.0718102902173996,
-0.008395844139158726,
0.07118871062994003,
0.044095318764448166,
0.03477168083190918,
0.02722136490046978,
-0.04073149710893631,
-0.018254218623042107,
0.018501020967960358,
-0.009616143070161343,
-0.06160913035273552,
0.008729483932256699,
-0.0030964529141783714,
-0.03148098662495613,
-0.031407859176397324,
0.03981741517782211,
-0.010356550104916096,
-0.010557647794485092,
0.012934261001646519,
-0.026197591796517372,
0.01849188096821308,
-0.05747748166322708,
-0.005000028759241104,
-0.0026531231123954058,
0.015155481174588203,
-0.046910692006349564,
0.036800943315029144,
0.04318123683333397,
-0.10149967670440674,
-0.0021229556296020746,
-0.046252552419900894,
-0.061938200145959854,
-0.02257782779633999,
0.031407859176397324,
-0.03290695324540138,
0.03981741517782211,
0.06851959228515625,
-0.016188394278287888,
0.006526546087116003,
0.0011180366855114698,
-0.01000919844955206,
-0.03334571421146393,
-0.009680128656327724,
-0.05319957807660103,
0.016307223588228226,
-0.010886717587709427,
0.008980856277048588,
-0.0425230972468853,
0.007148121949285269,
0.013875765725970268,
-0.06508264690637589,
-0.00857865996658802,
0.020530283451080322,
-0.01125235017389059,
-0.00996349472552538,
0.044095318764448166,
0.006480841897428036,
-0.057806551456451416,
0.0004898908664472401,
-0.04563097655773163,
-0.021042170003056526,
-0.05191986262798309,
0.017102476209402084,
-0.04307154566049576,
-0.00781997200101614,
-0.01917744241654873,
-0.009716692380607128,
0.031334731727838516,
0.02193797007203102,
-0.04479002207517624,
-0.041901521384716034,
-0.0783916786313057,
-0.01937853917479515,
-0.037111733108758926,
-0.012797148898243904,
0.024442555382847786,
-0.042486533522605896,
0.002707968233153224,
-0.004218488931655884,
0.035685762763023376,
0.04387594014406204,
-0.015831900760531425,
0.004216203466057777,
0.005150852259248495,
0.03989054262638092,
0.009899509139358997,
-0.05499117821455002,
-0.03234022483229637,
0.016371209174394608,
0.008642645552754402,
0.009355629794299603,
-0.02153577283024788,
0.009680128656327724,
0.016718560829758644,
-0.035594355314970016,
-0.01928713172674179,
0.01833648607134819,
0.005900399759411812,
0.06058536097407341,
-0.0082724429666996,
0.0264718160033226,
0.033510249108076096
] |
23,213 | flask.app | trap_http_exception | Checks if an HTTP exception should be trapped or not. By default
this will return ``False`` for all exceptions except for a bad request
key error if ``TRAP_BAD_REQUEST_ERRORS`` is set to ``True``. It
also returns ``True`` if ``TRAP_HTTP_EXCEPTIONS`` is set to ``True``.
This is called for all HTTP exceptions raised by a view function.
If it returns ``True`` for any exception the error handler for this
exception is not called and it shows up as regular exception in the
traceback. This is helpful for debugging implicitly raised HTTP
exceptions.
.. versionchanged:: 1.0
Bad request errors are not trapped by default in debug mode.
.. versionadded:: 0.8
| def trap_http_exception(self, e: Exception) -> bool:
"""Checks if an HTTP exception should be trapped or not. By default
this will return ``False`` for all exceptions except for a bad request
key error if ``TRAP_BAD_REQUEST_ERRORS`` is set to ``True``. It
also returns ``True`` if ``TRAP_HTTP_EXCEPTIONS`` is set to ``True``.
This is called for all HTTP exceptions raised by a view function.
If it returns ``True`` for any exception the error handler for this
exception is not called and it shows up as regular exception in the
traceback. This is helpful for debugging implicitly raised HTTP
exceptions.
.. versionchanged:: 1.0
Bad request errors are not trapped by default in debug mode.
.. versionadded:: 0.8
"""
if self.config["TRAP_HTTP_EXCEPTIONS"]:
return True
trap_bad_request = self.config["TRAP_BAD_REQUEST_ERRORS"]
# if unset, trap key errors in debug mode
if (
trap_bad_request is None
and self.debug
and isinstance(e, BadRequestKeyError)
):
return True
if trap_bad_request:
return isinstance(e, BadRequest)
return False
| (self, e: Exception) -> bool | [
-0.018111813813447952,
0.012591050937771797,
-0.04160521179437637,
0.03819068893790245,
-0.003913246560841799,
-0.04487127438187599,
-0.043423816561698914,
0.019076786935329437,
-0.00023950368631631136,
-0.04186501353979111,
0.021118078380823135,
-0.00021398755779955536,
0.04591047763824463,
-0.03386686369776726,
0.006300164852291346,
-0.01200649980455637,
0.007251220289617777,
0.03574113920331001,
0.07660406082868576,
-0.12099285423755646,
-0.0073903994634747505,
0.008118769153952599,
-0.01803758554160595,
-0.030637914314866066,
-0.040677350014448166,
0.013741596601903439,
0.002368360757827759,
-0.005794481374323368,
0.04680122435092926,
0.01048480998724699,
-0.01785201206803322,
-0.08194853365421295,
0.04973325878381729,
0.01555092167109251,
-0.0008872654289007187,
-0.03323591873049736,
-0.04913942888379097,
-0.02371608465909958,
-0.022936681285500526,
-0.02471817098557949,
-0.07771749794483185,
0.021210864186286926,
-0.08647648990154266,
-0.01783345639705658,
0.038636062294244766,
0.0034307597670704126,
-0.05266529321670532,
0.06765949726104736,
-0.012192071415483952,
0.021823251619935036,
-0.03158432990312576,
-0.007362563628703356,
0.03848760202527046,
-0.004458364099264145,
0.0024657861795276403,
0.02755742147564888,
0.00772906793281436,
-0.01498492807149887,
-0.04906519874930382,
-0.024068670347332954,
-0.014103461056947708,
0.1054048165678978,
-0.007928557693958282,
-0.02978428266942501,
0.012090006843209267,
0.005659941583871841,
-0.030656471848487854,
-0.00963117927312851,
-0.018659250810742378,
-0.018213877454400063,
-0.012915801256895065,
-0.01894688606262207,
-0.034609150141477585,
0.02208305150270462,
0.011496176943182945,
0.01933658868074417,
-0.0156065933406353,
-0.012952915392816067,
-0.02716772072017193,
0.005817677825689316,
0.045242421329021454,
0.007882164791226387,
0.01833450049161911,
0.011366276070475578,
-0.0022662964183837175,
-0.06294597685337067,
-0.011180704459547997,
0.03462770953774452,
0.02501508593559265,
0.027705878019332886,
-0.01469729095697403,
-0.053036436438560486,
-0.015652986243367195,
-0.04984460026025772,
0.007228023838251829,
0.03477616608142853,
0.06647183746099472,
-0.01640455238521099,
-0.045056845992803574,
-0.0985015407204628,
0.06595224142074585,
0.056599415838718414,
0.034497808665037155,
-0.014715848490595818,
0.011459062807261944,
0.007984229363501072,
0.042199041694402695,
-0.01835305616259575,
-0.0003337393864057958,
-0.025998618453741074,
0.03867317736148834,
-0.03605661168694496,
0.014057068154215813,
0.04613316431641579,
-0.01630248874425888,
-0.027371849864721298,
0.05181166157126427,
0.03533288091421127,
-0.025683145970106125,
0.0071074021980166435,
0.016645796597003937,
-0.045539334416389465,
0.037318501621484756,
-0.040083520114421844,
0.04557644948363304,
-0.0036557656712830067,
-0.005511484108865261,
-0.012637443840503693,
-0.0239202119410038,
0.013324059545993805,
-0.01783345639705658,
-0.01089306827634573,
-0.04672699421644211,
0.026369761675596237,
-0.021452106535434723,
0.048768285661935806,
-0.059531453996896744,
0.049102313816547394,
0.030359556898474693,
-0.04520530626177788,
-0.02683369070291519,
-0.002367201028391719,
-0.009297150187194347,
-0.01872420124709606,
0.005154258571565151,
-0.009510558098554611,
-0.022250065580010414,
0.0037276747170835733,
0.011078639887273312,
-0.0492507703602314,
0.05812110751867294,
0.03837626054883003,
0.004363258369266987,
0.02592438831925392,
-0.05804687738418579,
0.04383207485079765,
-0.034275121986866,
0.012192071415483952,
-0.02065414749085903,
0.0274460781365633,
0.022064493969082832,
-0.018473679199814796,
0.05663653090596199,
-0.05504061281681061,
-0.0015854795929044485,
-0.04145675525069237,
-0.010345631279051304,
0.001293203909881413,
0.02696359157562256,
0.0191324595361948,
-0.0563025027513504,
0.03728138655424118,
0.010150780901312828,
-0.0037763873115181923,
0.07742057740688324,
0.04405475780367851,
0.03009975515305996,
-0.009640458039939404,
-0.032994676381349564,
0.014446768909692764,
0.0647645816206932,
-0.03960103541612625,
-0.03138020262122154,
0.02826259471476078,
-0.006077478639781475,
0.008977038785815239,
-0.023734640330076218,
-0.03245651721954346,
0.0009696129709482193,
0.11698450148105621,
0.06910695880651474,
0.021619122475385666,
0.015235450118780136,
-0.013528188690543175,
0.03971237689256668,
0.060941800475120544,
-0.00014294832362793386,
-0.026091404259204865,
0.10481099039316177,
0.014530276879668236,
-0.02889353781938553,
0.004889818374067545,
0.015532365068793297,
0.06365114450454712,
-0.02087683416903019,
0.02249130979180336,
0.017870569601655006,
-0.03384830802679062,
0.029134782031178474,
0.019911861047148705,
-0.0583437941968441,
-0.015077713876962662,
-0.021006735041737556,
0.05815822258591652,
0.023864541202783585,
0.06765949726104736,
-0.01281373668462038,
-0.012618886306881905,
-0.008823942393064499,
0.02401299960911274,
0.004834147170186043,
0.01660868152976036,
-0.021953150629997253,
-0.007687314413487911,
0.05559732764959335,
0.037318501621484756,
0.005594991613179445,
0.028800752013921738,
-0.006323361303657293,
0.010883789509534836,
-0.014604505151510239,
0.02919045276939869,
-0.030879156664013863,
0.010466253384947777,
0.10028303414583206,
-0.00415217038244009,
0.00795639306306839,
-0.03173278644680977,
0.02046857587993145,
-0.03822780400514603,
0.061127372086048126,
0.01974484510719776,
-0.02987707033753395,
-0.013138487935066223,
-0.04004640877246857,
-0.05418698489665985,
-0.040491778403520584,
0.0848434567451477,
-0.02726050652563572,
-0.04832291230559349,
0.044128987938165665,
0.020245889201760292,
0.006810487248003483,
-0.05366738140583038,
-0.046652764081954956,
0.0037531908601522446,
0.019410816952586174,
0.02510787360370159,
0.01185804232954979,
0.01843656413257122,
0.011626076884567738,
0.01924380101263523,
0.05006728693842888,
0.05645095929503441,
-0.05682210251688957,
0.00716771325096488,
0.04398053139448166,
0.029524482786655426,
0.0498817153275013,
0.011755977757275105,
0.07359779626131058,
0.019893303513526917,
-0.021526336669921875,
0.002720947377383709,
0.018714921548962593,
0.008833220228552818,
0.07408028841018677,
0.09167250245809555,
-0.05927165225148201,
-0.002507539698854089,
0.03434935212135315,
0.019021116197109222,
0.02369752712547779,
0.03728138655424118,
-0.08625379949808121,
-0.016553010791540146,
-0.052739523351192474,
0.04865694046020508,
0.02096961997449398,
-0.00549292704090476,
0.011969384737312794,
0.013416845351457596,
0.0388958603143692,
0.0016191144241020083,
-0.03149154409766197,
-0.008833220228552818,
-0.04052889347076416,
-0.04264441505074501,
0.0021549533121287823,
0.0070378128439188,
0.058714937418699265,
0.03687312826514244,
0.009974487125873566,
-0.009816751815378666,
0.01272095087915659,
0.0028508477844297886,
0.04450013116002083,
-0.011830206029117107,
-0.03355139121413231,
0.012748787179589272,
-0.005089308135211468,
0.02126653492450714,
-0.034182336181402206,
-0.017907684668898582,
0.010503367520868778,
0.012117842212319374,
0.02887498214840889,
0.0030085837934166193,
-0.04884251207113266,
0.03314313292503357,
-0.03453492373228073,
0.03605661168694496,
-0.026685234159231186,
-0.011978663504123688,
0.03533288091421127,
-0.03807934746146202,
0.07823709398508072,
-0.07927630096673965,
-0.022528422996401787,
-0.013825103640556335,
0.010661103762686253,
-0.04242172837257385,
-0.007070288062095642,
-0.015124106779694557,
-0.010178616270422935,
-0.06350269168615341,
-0.017248904332518578,
-0.03919277712702751,
-0.02564603090286255,
-0.046541422605514526,
-0.07285550981760025,
0.02572025917470455,
0.0694781020283699,
0.021804694086313248,
-0.053036436438560486,
-0.012488986365497112,
-0.023864541202783585,
0.03698447346687317,
0.013175602070987225,
-0.020691262558102608,
-0.024643942713737488,
-0.0367061123251915,
-0.016571566462516785,
0.020301561802625656,
-0.028411051258444786,
-0.013528188690543175,
-0.010781724937260151,
-0.003966598305851221,
-0.0002721237251535058,
0.03679889813065529,
0.0457991361618042,
0.0170169398188591,
-0.04004640877246857,
0.018575742840766907,
-0.03369985148310661,
-0.03720715641975403,
0.0360751710832119,
-0.03475761041045189,
-0.0727812871336937,
0.027297619730234146,
0.0026258418802171946,
-0.01662723906338215,
0.0319925881922245,
0.015151942148804665,
0.022621210664510727,
0.0009580147452652454,
-0.003901648335158825,
-0.05752727761864662,
0.016655074432492256,
0.08261658996343613,
0.09961497783660889,
-0.010976575314998627,
-0.008647648617625237,
-0.035815369337797165,
0.0334029346704483,
-0.08291351050138474,
0.03169567510485649,
-0.00239387690089643,
-0.005738809704780579,
-0.03533288091421127,
-0.005854791961610317,
-0.05752727761864662,
-0.01377871073782444,
0.06810487061738968,
-0.00582695659250021,
-0.055151958018541336,
-0.06086757034063339,
0.005033636931329966,
-0.024087227880954742,
0.052034348249435425,
0.02442125603556633,
0.0429784432053566,
-0.018919050693511963,
-0.020913949236273766,
0.04186501353979111,
0.037726759910583496,
-0.021637678146362305,
-0.020635589957237244,
0.01833450049161911,
-0.023066582158207893,
-0.03867317736148834,
0.004244956187903881,
-0.006485736463218927,
-0.04175366833806038,
-0.013175602070987225,
0.0409371517598629,
-0.009844587184488773,
0.06717701256275177,
-0.05570867285132408,
-0.025404788553714752,
0.02492230013012886,
0.045019734650850296,
-0.016738582402467728,
-0.034182336181402206,
-0.015532365068793297,
-0.04394341632723808,
-0.014919977635145187,
0.01418696902692318,
0.00866156630218029,
0.034182336181402206,
-0.021953150629997253,
-0.01792624220252037,
0.01661795936524868,
-0.0003192416043020785,
0.03201114758849144,
-0.019577831029891968,
-0.06632338464260101,
-0.008123408071696758,
-0.01751798391342163,
-0.01439109817147255,
-0.03414522111415863,
-0.01893760822713375,
-0.05106937512755394,
-0.006151707377284765,
0.07382048666477203,
0.00295291212387383,
0.024142898619174957,
0.02371608465909958,
0.003300859360024333,
-0.03570402413606644,
-0.013157044537365437,
-0.0437578447163105,
-0.0068290443159639835,
-0.026369761675596237,
-0.0163117665797472,
0.017471591010689735,
-0.04821157082915306,
-0.009046628139913082,
0.004625378642231226,
0.05229414999485016,
-0.01702621765434742,
-0.008884252980351448,
-0.014613783918321133,
-0.05997682362794876,
0.035295769572257996,
0.03822780400514603,
0.026258418336510658,
0.03852471709251404,
0.018779871985316277,
0.022045936435461044,
-0.020041760057210922,
-0.0161911454051733,
0.017564376816153526,
-0.01463234145194292,
-0.03822780400514603,
0.004142891615629196,
0.028930652886629105,
0.026295533403754234,
0.04650430753827095,
0.03718860074877739,
0.03412666544318199,
-0.06795641779899597,
0.01498492807149887,
-0.026499662548303604,
0.010215731337666512,
-0.04980748891830444,
-0.01510554924607277,
-0.010596153326332569,
0.044537246227264404,
-0.015847837552428246,
0.05593135952949524,
-0.04012063518166542,
-0.010855954140424728,
0.06409651786088943,
0.03323591873049736,
0.0008165161707438529,
-0.03676178678870201,
-0.01610763743519783,
0.019225245341658592,
0.03937834873795509,
0.03728138655424118,
-0.019707731902599335,
0.03768964484333992,
0.011310605332255363,
0.06925541907548904,
-0.03700302913784981,
0.009199724532663822,
0.018984001129865646,
0.005929021164774895,
-0.008582698181271553,
-0.009468804113566875,
0.017137560993433,
0.05563444271683693,
0.02939458191394806,
0.031064730137586594,
-0.014474605210125446,
-0.00845279823988676,
-0.05645095929503441,
0.03922989219427109,
0.04806311056017876,
0.08098355680704117,
-0.048879627138376236,
0.03303179144859314,
0.016385994851589203,
-0.01691487431526184,
0.023456282913684845,
0.052739523351192474,
0.05674787610769272,
-0.00948272179812193,
0.05389006808400154,
0.0069311088882386684,
0.056488074362277985,
0.03381119295954704,
-0.0191324595361948,
0.018315942957997322,
0.0506611168384552,
-0.049102313816547394,
-0.026165632531046867,
-0.03078637085855007,
0.007125959265977144,
0.03193691745400429,
0.013240552507340908,
-0.01955927349627018,
-0.022509867325425148,
-0.04334958642721176,
-0.04691256582736969,
-0.029246125370264053,
-0.016998382285237312,
-0.0360751710832119,
-0.046244505792856216,
-0.005107865668833256,
0.03442357853055,
0.05938299372792244,
-0.030044084414839745,
0.025683145970106125,
-0.05389006808400154,
0.06302020698785782,
0.08172585070133209,
-0.02412434108555317,
-0.021414993330836296,
0.004950129427015781,
-0.02362329699099064,
-0.004279750864952803,
-0.017703555524349213,
-0.06469035148620605,
-0.011913713067770004,
-0.0035606601741164923,
0.04123406857252121,
-0.04182789847254753,
-0.035295769572257996,
-0.010800282470881939,
-0.048990972340106964,
-0.02017166092991829,
-0.011913713067770004,
0.008749713189899921,
0.04405475780367851,
-0.007617725059390068,
0.01845512166619301,
-0.05322200804948807,
-0.014010675251483917,
0.02017166092991829,
-0.04075158014893532,
-0.04772908240556717,
-0.002957551507279277,
0.015569479204714298,
-0.0596056804060936,
0.06561820954084396,
0.04409187287092209,
-0.03536999598145485,
-0.04743216931819916,
-0.053556039929389954,
-0.0029366747476160526,
0.02490374445915222,
-0.08447231352329254,
0.05225703492760658,
0.075750432908535,
-0.04539087787270546,
-0.021303649991750717,
0.006170264445245266,
0.06279751658439636,
0.04668987914919853,
0.01903967373073101,
-0.002581768436357379,
-0.05088380351662636,
0.016441667452454567,
0.0036372083704918623,
0.010104387998580933,
-0.00002629538721521385,
-0.028522394597530365,
-0.07734635472297668,
0.0076687573455274105,
0.00927859265357256,
0.010716774500906467,
-0.01251682173460722,
-0.07897938042879105,
-0.0031964753288775682,
-0.037318501621484756,
0.026295533403754234,
0.024272799491882324,
-0.047357939183712006,
0.024384142830967903,
-0.04264441505074501,
0.004954768810421228,
0.0246253851801157,
0.022621210664510727,
-0.006091396324336529,
0.04631873592734337,
-0.012785901315510273,
-0.09813039749860764,
-0.03284621983766556,
0.007172352634370327,
0.013695203699171543,
0.012127120979130268,
-0.043126899749040604,
-0.014372540637850761,
0.035407111048698425,
-0.004894457757472992,
0.014214804396033287,
-0.007886803708970547,
0.04153098165988922,
0.018798429518938065,
-0.0029436335898935795,
-0.016849925741553307,
0.048285797238349915,
0.0492507703602314,
0.013871496543288231,
0.03974949195981026,
-0.02362329699099064,
0.0721503421664238,
-0.026592448353767395,
-0.024291357025504112,
0.06357692182064056,
-0.00856414157897234,
-0.03485039621591568,
-0.06765949726104736,
0.012275578454136848,
-0.027724435552954674,
0.0021062407176941633,
-0.02937602624297142,
-0.027594536542892456,
-0.009696129709482193,
0.005070751067250967,
-0.016460223123431206,
-0.05504061281681061,
0.06413363665342331,
0.03626074269413948,
-0.034924622625112534,
-0.05181166157126427,
0.06810487061738968,
0.016144752502441406,
-0.0191324595361948,
-0.006007888820022345,
0.010670381598174572,
0.027093492448329926,
0.04724659398198128,
0.01955927349627018,
0.005613548681139946,
-0.04060312360525131,
-0.020338675007224083,
-0.05723036080598831,
-0.03269776329398155,
0.027631649747490883,
-0.04305267333984375,
0.008977038785815239,
-0.01813037134706974,
-0.01954071782529354,
-0.01976340264081955,
0.035425666719675064,
-0.013054979965090752,
-0.024569714441895485,
0.0007016935851424932,
-0.038450490683317184,
-0.015022042207419872,
0.08781260251998901,
-0.06120159849524498,
-0.022918125614523888,
0.01610763743519783,
-0.004720484372228384,
0.016237538307905197,
0.06725124269723892,
-0.015615872107446194,
-0.02490374445915222,
-0.013843661174178123,
-0.002049409318715334,
0.020542804151773453,
-0.025664588436484337,
-0.008290423080325127,
-0.021433549001812935,
-0.011681748554110527,
-0.028930652886629105,
-0.051923006772994995,
-0.045947592705488205,
0.047209482640028,
-0.030359556898474693,
-0.01893760822713375,
-0.01640455238521099,
-0.020283004269003868,
-0.044537246227264404,
0.03039667010307312,
-0.0051310621201992035,
-0.08306196331977844,
0.039267007261514664,
-0.002093482529744506,
0.030470900237560272,
-0.01924380101263523,
-0.03375552222132683,
-0.06829044222831726,
-0.025479016825556755,
-0.032567862421274185,
0.009185806848108768,
0.03212248906493187,
0.007023894693702459,
-0.05136629194021225,
0.0034655544441193342,
-0.019392259418964386,
-0.0026954312343150377,
-0.0340338796377182,
0.045056845992803574,
-0.002130596898496151,
0.02926468290388584,
0.038153573870658875,
-0.0652470663189888,
-0.004871261306107044,
-0.0652470663189888,
0.03405243530869484,
-0.006643472705036402,
0.005042915232479572,
0.030359556898474693,
0.0017037816578522325,
0.06316865980625153,
0.039155662059783936,
-0.02614707499742508,
0.024347027763724327,
-0.012795180082321167,
0.046875450760126114,
0.07092556357383728,
-0.02735329233109951,
0.0008136166143231094,
0.0845465362071991,
-0.0044838800095021725,
-0.028225479647517204,
0.015773607417941093,
-0.035425666719675064,
0.02653677575290203,
-0.04141964018344879,
0.01743447594344616,
0.011329161934554577,
0.041085608303546906
] |
23,214 | flask.app | update_template_context | Update the template context with some commonly used variables.
This injects request, session, config and g into the template
context as well as everything template context processors want
to inject. Note that the as of Flask 0.6, the original values
in the context will not be overridden if a context processor
decides to return a value with the same key.
:param context: the context as a dictionary that is updated in place
to add extra variables.
| def update_template_context(self, context: dict) -> None:
"""Update the template context with some commonly used variables.
This injects request, session, config and g into the template
context as well as everything template context processors want
to inject. Note that the as of Flask 0.6, the original values
in the context will not be overridden if a context processor
decides to return a value with the same key.
:param context: the context as a dictionary that is updated in place
to add extra variables.
"""
names: t.Iterable[str | None] = (None,)
# A template may be rendered outside a request context.
if request:
names = chain(names, reversed(request.blueprints))
# The values passed to render_template take precedence. Keep a
# copy to re-apply after all context functions.
orig_ctx = context.copy()
for name in names:
if name in self.template_context_processors:
for func in self.template_context_processors[name]:
context.update(func())
context.update(orig_ctx)
| (self, context: dict) -> NoneType | [
0.04790987819433212,
-0.055195875465869904,
-0.01018262654542923,
-0.03806489706039429,
0.03920222073793411,
0.003256485564634204,
-0.027295835316181183,
0.03547037020325661,
0.05572899803519249,
-0.029534947127103806,
-0.007494803983718157,
-0.07812011241912842,
-0.03870464116334915,
0.03920222073793411,
0.02308417297899723,
0.010164855048060417,
0.042685285210609436,
0.0076236417517066,
0.03220055624842644,
-0.09240777790546417,
0.04382261261343956,
-0.03920222073793411,
-0.04623942822217941,
0.01610916294157505,
-0.04808758571743965,
-0.025465451180934906,
0.002465688157826662,
-0.0257320124655962,
0.06059817597270012,
0.0002662832266651094,
0.04783879593014717,
-0.015229512006044388,
0.019832130521535873,
-0.024488061666488647,
0.004851408302783966,
-0.05171281471848488,
-0.06287282705307007,
0.01593145541846752,
0.011639825999736786,
0.022639906033873558,
-0.027366917580366135,
-0.0031365330796688795,
-0.06973233073949814,
-0.02592748962342739,
0.02400825172662735,
0.03486616536974907,
-0.04776771366596222,
0.06916366517543793,
0.10171964019536972,
0.029108449816703796,
0.0014738596510142088,
-0.060384929180145264,
-0.039593178778886795,
0.03467068821191788,
-0.018836969509720802,
0.0152472835034132,
-0.032111700624227524,
-0.008409996517002583,
-0.015460532158613205,
-0.017113208770751953,
0.060953591018915176,
0.009454026818275452,
-0.023528441786766052,
0.011035621166229248,
0.019601110368967056,
0.0019047997193410993,
-0.01262610126286745,
0.025749782100319862,
-0.028486473485827446,
-0.03627005219459534,
-0.03728298470377922,
-0.011488774791359901,
-0.02036525309085846,
-0.03404871001839638,
-0.043111782521009445,
-0.016757795587182045,
0.00155827053822577,
-0.04584847390651703,
0.009249662980437279,
-0.04851408302783966,
0.024363664910197258,
-0.04783879593014717,
-0.030530108138918877,
0.03735406696796417,
0.04158350080251694,
0.03667877987027168,
-0.002153589855879545,
0.002040301449596882,
0.007410392630845308,
0.016553431749343872,
-0.0002562871959526092,
0.01221737451851368,
0.035203807055950165,
-0.009427370503544807,
0.020773978903889656,
-0.0152472835034132,
-0.01746862381696701,
-0.018836969509720802,
0.003665212308987975,
-0.007552558556199074,
0.0586433969438076,
0.003909559920430183,
-0.006535184569656849,
-0.035026103258132935,
-0.009338516741991043,
-0.01295485906302929,
-0.004022848326712847,
-0.02315525710582733,
0.0408371277153492,
0.002690043766051531,
-0.018117254599928856,
-0.06937691569328308,
-0.029517175629734993,
-0.0046381596475839615,
-0.007828004658222198,
-0.01974327675998211,
-0.009951606392860413,
0.008676556870341301,
0.02381277270615101,
-0.01240396685898304,
-0.03291138634085655,
-0.02468353882431984,
0.058714479207992554,
-0.03795827180147171,
0.008641015738248825,
0.00787243153899908,
-0.007743593771010637,
-0.04190337285399437,
0.012786037288606167,
0.00047703293967060745,
-0.025341056287288666,
-0.013141452334821224,
0.025767553597688675,
-0.012172947637736797,
0.0527079738676548,
-0.026158509775996208,
-0.05867893993854523,
-0.013576834462583065,
0.03321348875761032,
0.055266957730054855,
-0.018908053636550903,
-0.007916858419775963,
-0.02782895788550377,
0.018250536173582077,
-0.0028810789808630943,
0.005819912999868393,
0.00981832668185234,
0.03671431913971901,
-0.03966426104307175,
0.0007080523646436632,
0.01956556923687458,
0.030938833951950073,
0.01679333671927452,
-0.022853154689073563,
-0.04115700349211693,
0.06109575554728508,
0.013594605959951878,
-0.02468353882431984,
0.019885443150997162,
-0.07211361080408096,
0.039593178778886795,
-0.016340183094143867,
-0.0344218984246254,
0.00798794161528349,
0.04129916802048683,
0.01981435902416706,
0.013683458790183067,
-0.029819278046488762,
0.02992590330541134,
0.008258945308625698,
-0.002015866804867983,
0.003736295271664858,
0.07954177260398865,
-0.0001499405043432489,
0.0345640629529953,
0.0455286018550396,
-0.011702023446559906,
-0.08629464358091354,
0.023066403344273567,
0.031063228845596313,
-0.019352320581674576,
-0.04542197659611702,
-0.05679523944854736,
0.0469147190451622,
-0.0030832209158688784,
0.005548909306526184,
0.025269972160458565,
0.056368742138147354,
0.04019738361239433,
0.019227925688028336,
0.005229036323726177,
-0.03454629331827164,
-0.022302260622382164,
-0.0053534312173724174,
-0.02877080626785755,
0.05114414915442467,
-0.030156921595335007,
-0.0634770318865776,
-0.035505909472703934,
0.07733820378780365,
-0.02116493508219719,
-0.07598762214183807,
-0.012421737425029278,
-0.017806267365813255,
0.038669101893901825,
0.06184212863445282,
0.033480048179626465,
-0.00016812773537822068,
-0.04272082448005676,
-0.024523602798581123,
-0.011248869821429253,
0.004256088752299547,
0.03671431913971901,
-0.00028905196813866496,
-0.027686791494488716,
0.02438143640756607,
0.005562237463891506,
-0.008223403245210648,
-0.04741229861974716,
-0.0018503768369555473,
0.02068512514233589,
0.019512256607413292,
-0.006015390623360872,
-0.03913113847374916,
0.004069496411830187,
-0.013310274109244347,
0.02443474903702736,
0.006641808897256851,
-0.03598571941256523,
-0.00940959993749857,
0.048229750245809555,
0.035648077726364136,
0.04986465722322464,
0.06201983615756035,
0.021555891260504723,
-0.053241096436977386,
-0.0021047203335911036,
0.005038001108914614,
-0.04314732179045677,
0.001959222601726651,
-0.01561158336699009,
0.05697294697165489,
0.04794542118906975,
-0.03795827180147171,
-0.041938912123441696,
-0.05807473510503769,
-0.024114875122904778,
0.024896787479519844,
0.03609234467148781,
-0.02208901196718216,
-0.017566362395882607,
-0.041014835238456726,
-0.016260214149951935,
0.011355494149029255,
-0.07342863827943802,
0.023279651999473572,
0.04414248466491699,
0.09432701766490936,
-0.03017469309270382,
-0.009178579784929752,
0.011604283936321735,
0.03731852397322655,
-0.04666592553257942,
0.05530250072479248,
0.00617088470607996,
-0.002618960803374648,
0.001728203147649765,
0.024363664910197258,
-0.048229750245809555,
-0.010351448319852352,
0.009187465533614159,
0.08743197470903397,
0.011346608400344849,
0.012839349918067455,
0.0408371277153492,
-0.022177865728735924,
0.027491314336657524,
0.07684061676263809,
-0.04005521535873413,
-0.021804681047797203,
0.03838476911187172,
-0.036021262407302856,
0.0017037683865055442,
0.04670146852731705,
-0.005451170261949301,
-0.02351067028939724,
-0.034297503530979156,
0.03948655351996422,
0.01459865178912878,
0.001503847655840218,
0.014340976253151894,
0.019512256607413292,
0.018250536173582077,
0.049331534653902054,
-0.0670667216181755,
0.02056073024868965,
-0.08423323929309845,
0.013905593194067478,
0.006872828584164381,
0.05839460715651512,
0.05992288887500763,
0.041441332548856735,
-0.021982388570904732,
0.06731551140546799,
0.07648520916700363,
-0.0008557715336792171,
0.10036905854940414,
-0.015469416975975037,
0.002527885837480426,
0.006068702787160873,
0.05608441308140755,
0.0036318921484053135,
0.0013228084426373243,
-0.03980642557144165,
-0.05029115453362465,
-0.05142848193645477,
-0.012812693603336811,
-0.08558382093906403,
-0.03161412104964256,
0.0251811183989048,
-0.051926061511039734,
0.001636017463169992,
0.0433250293135643,
0.01342578325420618,
-0.034155335277318954,
0.068168506026268,
0.058536771684885025,
-0.009374057874083519,
0.059887345880270004,
0.059212058782577515,
-0.08003935217857361,
0.02837985008955002,
-0.041619040071964264,
0.01846378482878208,
-0.060029514133930206,
-0.024452518671751022,
-0.05793256685137749,
-0.018677033483982086,
-0.013416898436844349,
-0.09752574563026428,
-0.017797382548451424,
-0.005229036323726177,
-0.01574486307799816,
-0.002272431505843997,
-0.0007691392675042152,
-0.0561554953455925,
0.01175533514469862,
-0.0019747719634324312,
0.015380563214421272,
0.008716541342437267,
-0.022017929702997208,
-0.04197445511817932,
0.05153510719537735,
0.014856327325105667,
-0.02363506518304348,
-0.0001983934926101938,
0.015380563214421272,
0.014909639023244381,
0.035950180143117905,
0.01672225259244442,
0.004207219462841749,
0.09781007468700409,
0.029837049543857574,
0.01114224549382925,
0.025536533445119858,
-0.001984768081456423,
-0.05068211257457733,
0.02011646144092083,
-0.04023292288184166,
-0.01963665336370468,
0.032982468605041504,
0.032005079090595245,
0.04631051421165466,
0.03603903204202652,
0.012786037288606167,
-0.057186197489500046,
-0.03388877585530281,
-0.020205315202474594,
-0.07030099630355835,
0.01591368578374386,
0.026034114882349968,
-0.007583657279610634,
0.020773978903889656,
-0.009889408946037292,
-0.006552955135703087,
-0.032804761081933975,
-0.011364379897713661,
-0.034706227481365204,
-0.0032898057252168655,
-0.011248869821429253,
-0.0866500586271286,
-0.02370614930987358,
0.00706830620765686,
0.028237683698534966,
-0.0028966283425688744,
-0.03275144845247269,
0.001612693420611322,
-0.010333677753806114,
0.008983101695775986,
-0.0038318128790706396,
0.09127044677734375,
-0.03172074630856514,
0.002550099277868867,
-0.019849902018904686,
0.049900200217962265,
0.006704006344079971,
0.02383054420351982,
0.015522729605436325,
0.004895835183560848,
0.048229750245809555,
-0.043111782521009445,
0.031756289303302765,
-0.032111700624227524,
-0.020152004435658455,
-0.01956556923687458,
-0.03141864389181137,
-0.010155970230698586,
0.044888854026794434,
0.038491394370794296,
0.09674383699893951,
0.027971122413873672,
-0.0020591828506439924,
0.012759381905198097,
0.024345895275473595,
-0.01419880986213684,
-0.011133359745144844,
-0.017735185101628304,
-0.029268385842442513,
-0.04439127445220947,
0.03653661161661148,
-0.05043332278728485,
0.03618120029568672,
-0.0016937723848968744,
0.042614202946424484,
0.04766108840703964,
-0.04250757768750191,
0.033177945762872696,
-0.013985561206936836,
-0.06727997213602066,
0.05661753565073013,
0.040019676089286804,
-0.000685838982462883,
0.048976123332977295,
0.007863546721637249,
-0.04936707764863968,
0.011373264715075493,
-0.10456295311450958,
-0.046381596475839615,
-0.049153827130794525,
-0.015753747895359993,
-0.0015760413371026516,
-0.018588179722428322,
-0.024523602798581123,
0.024239270016551018,
-0.034724000841379166,
-0.010538040660321712,
-0.03122316673398018,
-0.005517810583114624,
-0.050077907741069794,
0.027917811647057533,
-0.04979357495903969,
-0.023972710594534874,
0.018712574616074562,
-0.0008591035730205476,
0.013034828007221222,
-0.027366917580366135,
0.019032448530197144,
-0.005122411996126175,
-0.0074281636625528336,
0.0023523999843746424,
0.015647124499082565,
-0.013168107718229294,
-0.01826830580830574,
-0.000504244351759553,
-0.003316461807116866,
0.008054581470787525,
-0.023563982918858528,
0.0002224117488367483,
0.00581547012552619,
-0.008250059559941292,
0.01514954399317503,
0.0056599765084683895,
0.02171582728624344,
0.014154383912682533,
-0.009187465533614159,
-0.05235255882143974,
0.0516061894595623,
-0.002109162975102663,
0.007894645445048809,
0.017042126506567,
-0.029481634497642517,
0.03516826778650284,
0.010626894421875477,
-0.04883395507931709,
-0.05956747382879257,
0.03689202666282654,
0.00342530757188797,
0.003434192854911089,
0.07079857587814331,
0.02054295875132084,
-0.028859660029411316,
-0.02592748962342739,
0.061131298542022705,
0.058359064161777496,
0.03358667343854904,
0.009067513048648834,
0.020596271380782127,
0.0032387147657573223,
-0.02351067028939724,
0.018499325960874557,
-0.03239603340625763,
-0.004240539390593767,
0.07435271888971329,
-0.01876588724553585,
0.04197445511817932,
-0.04769662767648697,
-0.08174534142017365,
-0.016571201384067535,
0.02148480713367462,
-0.020400794222950935,
-0.015007378533482552,
-0.030192464590072632,
0.07371297478675842,
0.006823958829045296,
0.0015860373387113214,
0.01478524412959814,
0.07868877798318863,
0.03241380304098129,
0.017068782821297646,
0.03555922210216522,
-0.0373896062374115,
0.039024513214826584,
0.0012961523607373238,
-0.03559476509690285,
0.017664100974798203,
0.02930392697453499,
0.0007291550864465535,
-0.11771328747272491,
-0.04179674759507179,
-0.03276921808719635,
0.010973423719406128,
-0.0063574775122106075,
0.03728298470377922,
0.027917811647057533,
-0.0053534312173724174,
-0.06941245496273041,
-0.009622848592698574,
-0.06621372699737549,
-0.03463514521718025,
-0.0911993682384491,
-0.047554463148117065,
-0.05430733785033226,
-0.018979135900735855,
0.020720666274428368,
-0.06969679147005081,
-0.02480793371796608,
-0.0012528361985459924,
0.07378405332565308,
0.003094327636063099,
0.020045379176735878,
0.0317385159432888,
-0.00151162245310843,
-0.0016226894222199917,
-0.03204061836004257,
0.041014835238456726,
0.012208488769829273,
-0.06998112052679062,
-0.0030276875477284193,
-0.04073050618171692,
0.024203728884458542,
0.041192542761564255,
-0.007383736781775951,
0.04115700349211693,
-0.011577628552913666,
-0.01598476804792881,
0.036501072347164154,
0.045386433601379395,
0.05999397113919258,
0.0711895301938057,
-0.04808758571743965,
-0.044284649193286896,
-0.006015390623360872,
0.033053550869226456,
0.0006991670234128833,
-0.004487108439207077,
0.00021810790349263698,
0.05416517332196236,
0.074779212474823,
0.06564506143331528,
0.004864736460149288,
-0.04282744973897934,
-0.00237461319193244,
0.04762554541230202,
-0.034777309745550156,
0.014483141712844372,
0.00984498206526041,
-0.04901166260242462,
-0.01689996011555195,
-0.04659484326839447,
-0.034724000841379166,
-0.02727806568145752,
0.06102467328310013,
0.023492900654673576,
0.019299007952213287,
-0.021929075941443443,
-0.07762253284454346,
-0.03275144845247269,
0.02992590330541134,
-0.03667877987027168,
-0.004713685251772404,
0.03257374092936516,
-0.015282824635505676,
0.04734121635556221,
0.05793256685137749,
0.017326457425951958,
-0.0036541055887937546,
-0.02654946595430374,
0.032982468605041504,
-0.02395493909716606,
-0.07982610166072845,
-0.07094074040651321,
0.0211116224527359,
-0.042614202946424484,
0.026211820542812347,
0.017317572608590126,
-0.011968583799898624,
0.062233082950115204,
-0.027811186388134956,
-0.10150638967752457,
0.03262705355882645,
-0.002790004014968872,
-0.053916383534669876,
0.004204998258501291,
0.009320746175944805,
0.04616834595799446,
0.025038953870534897,
0.01453645434230566,
-0.012546132318675518,
-0.054271798580884933,
0.05089535936713219,
0.026087425649166107,
-0.04559968411922455,
0.023919397965073586,
-0.003209837479516864,
-0.00029099563835188746,
0.03994859382510185,
0.015558270737528801,
-0.04474668949842453,
0.04407140240073204,
0.045457519590854645,
-0.02375946007668972,
0.024576913565397263,
-0.03488393500447273,
0.008632129989564419,
-0.0491182878613472,
0.0434671975672245,
0.0011739785550162196,
-0.017824038863182068,
-0.003851804882287979,
0.026993732899427414,
-0.012555018067359924,
0.007494803983718157,
0.023439588025212288,
-0.021680286154150963,
0.03586132451891899,
0.022906465455889702,
-0.026887109503149986,
0.02660277672111988,
0.057861484587192535,
-0.012670528143644333,
0.03522158041596413,
-0.0010917889885604382,
-0.007014994043856859,
-0.010760175064206123,
-0.02845093235373497,
-0.030210234224796295,
-0.04627497121691704,
0.005824355408549309,
0.03060119040310383,
-0.02166251465678215,
0.02685156650841236,
0.014261008240282536,
0.03930884599685669,
0.00007274890958797187,
-0.03913113847374916,
-0.030654503032565117,
0.01857040822505951,
0.008094565942883492,
-0.011035621166229248,
0.0023612852673977613,
0.002519000554457307,
0.019174613058567047,
0.013328044675290585,
0.023404046893119812,
-0.06617818772792816,
-0.03307132050395012,
-0.00590876629576087,
-0.060207221657037735,
0.01036921888589859,
-0.02196461707353592,
-0.05075319483876228,
0.017006585374474525,
0.0585012324154377,
-0.002129155211150646,
-0.02505672350525856,
-0.009569535963237286,
-0.021875763311982155,
-0.055018167942762375,
-0.016802221536636353,
0.021644745022058487,
0.07005220651626587,
-0.04510210454463959,
0.05800364911556244,
0.03937992826104164,
-0.009676160290837288,
0.05604887008666992,
-0.003805156797170639,
0.002803332172334194,
0.04289853200316429,
0.00587766757234931,
-0.0014483141712844372,
0.03714081645011902,
0.01305259857326746,
0.008467750623822212,
0.011710908263921738,
-0.010529154911637306,
-0.01295485906302929,
-0.028113288804888725,
0.02974819578230381,
-0.013523522764444351,
0.0030521221924573183,
-0.0031920666806399822,
-0.03596794977784157,
0.0060909162275493145,
0.009569535963237286,
-0.02875303477048874,
-0.027917811647057533,
0.002441253513097763,
-0.07676953822374344,
0.019672194495797157,
-0.018836969509720802,
0.009160809218883514,
-0.06919920444488525,
0.02036525309085846,
0.016713367775082588,
0.012101864442229271,
0.048905037343502045,
-0.016686711460351944,
0.011595399118959904,
0.03541705757379532,
0.047483380883932114,
0.0505044050514698,
-0.045208726078271866,
-0.05906989425420761,
0.07627195864915848,
0.03264482319355011,
0.01061800867319107,
-0.022906465455889702,
0.004542641807347536,
0.02987259067595005,
-0.010866799391806126,
-0.05085982009768486,
0.009125268086791039,
0.05565791577100754,
0.07115399092435837,
0.01327473297715187,
-0.005962078459560871,
0.04247203469276428
] |
23,215 | flask.scaffold | url_defaults | Callback function for URL defaults for all view functions of the
application. It's called with the endpoint and values and should
update the values passed in place.
This is available on both app and blueprint objects. When used on an app, this
is called for every request. When used on a blueprint, this is called for
requests that the blueprint handles. To register with a blueprint and affect
every request, use :meth:`.Blueprint.app_url_defaults`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_url_defaults) -> ~T_url_defaults | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,216 | flask.app | url_for | Generate a URL to the given endpoint with the given values.
This is called by :func:`flask.url_for`, and can be called
directly as well.
An *endpoint* is the name of a URL rule, usually added with
:meth:`@app.route() <route>`, and usually the same name as the
view function. A route defined in a :class:`~flask.Blueprint`
will prepend the blueprint's name separated by a ``.`` to the
endpoint.
In some cases, such as email messages, you want URLs to include
the scheme and domain, like ``https://example.com/hello``. When
not in an active request, URLs will be external by default, but
this requires setting :data:`SERVER_NAME` so Flask knows what
domain to use. :data:`APPLICATION_ROOT` and
:data:`PREFERRED_URL_SCHEME` should also be configured as
needed. This config is only used when not in an active request.
Functions can be decorated with :meth:`url_defaults` to modify
keyword arguments before the URL is built.
If building fails for some reason, such as an unknown endpoint
or incorrect values, the app's :meth:`handle_url_build_error`
method is called. If that returns a string, that is returned,
otherwise a :exc:`~werkzeug.routing.BuildError` is raised.
:param endpoint: The endpoint name associated with the URL to
generate. If this starts with a ``.``, the current blueprint
name (if any) will be used.
:param _anchor: If given, append this as ``#anchor`` to the URL.
:param _method: If given, generate the URL associated with this
method for the endpoint.
:param _scheme: If given, the URL will have this scheme if it
is external.
:param _external: If given, prefer the URL to be internal
(False) or require it to be external (True). External URLs
include the scheme and domain. When not in an active
request, URLs are external by default.
:param values: Values to use for the variable parts of the URL
rule. Unknown keys are appended as query string arguments,
like ``?a=b&c=d``.
.. versionadded:: 2.2
Moved from ``flask.url_for``, which calls this method.
| def url_for(
self,
endpoint: str,
*,
_anchor: str | None = None,
_method: str | None = None,
_scheme: str | None = None,
_external: bool | None = None,
**values: t.Any,
) -> str:
"""Generate a URL to the given endpoint with the given values.
This is called by :func:`flask.url_for`, and can be called
directly as well.
An *endpoint* is the name of a URL rule, usually added with
:meth:`@app.route() <route>`, and usually the same name as the
view function. A route defined in a :class:`~flask.Blueprint`
will prepend the blueprint's name separated by a ``.`` to the
endpoint.
In some cases, such as email messages, you want URLs to include
the scheme and domain, like ``https://example.com/hello``. When
not in an active request, URLs will be external by default, but
this requires setting :data:`SERVER_NAME` so Flask knows what
domain to use. :data:`APPLICATION_ROOT` and
:data:`PREFERRED_URL_SCHEME` should also be configured as
needed. This config is only used when not in an active request.
Functions can be decorated with :meth:`url_defaults` to modify
keyword arguments before the URL is built.
If building fails for some reason, such as an unknown endpoint
or incorrect values, the app's :meth:`handle_url_build_error`
method is called. If that returns a string, that is returned,
otherwise a :exc:`~werkzeug.routing.BuildError` is raised.
:param endpoint: The endpoint name associated with the URL to
generate. If this starts with a ``.``, the current blueprint
name (if any) will be used.
:param _anchor: If given, append this as ``#anchor`` to the URL.
:param _method: If given, generate the URL associated with this
method for the endpoint.
:param _scheme: If given, the URL will have this scheme if it
is external.
:param _external: If given, prefer the URL to be internal
(False) or require it to be external (True). External URLs
include the scheme and domain. When not in an active
request, URLs are external by default.
:param values: Values to use for the variable parts of the URL
rule. Unknown keys are appended as query string arguments,
like ``?a=b&c=d``.
.. versionadded:: 2.2
Moved from ``flask.url_for``, which calls this method.
"""
req_ctx = _cv_request.get(None)
if req_ctx is not None:
url_adapter = req_ctx.url_adapter
blueprint_name = req_ctx.request.blueprint
# If the endpoint starts with "." and the request matches a
# blueprint, the endpoint is relative to the blueprint.
if endpoint[:1] == ".":
if blueprint_name is not None:
endpoint = f"{blueprint_name}{endpoint}"
else:
endpoint = endpoint[1:]
# When in a request, generate a URL without scheme and
# domain by default, unless a scheme is given.
if _external is None:
_external = _scheme is not None
else:
app_ctx = _cv_app.get(None)
# If called by helpers.url_for, an app context is active,
# use its url_adapter. Otherwise, app.url_for was called
# directly, build an adapter.
if app_ctx is not None:
url_adapter = app_ctx.url_adapter
else:
url_adapter = self.create_url_adapter(None)
if url_adapter is None:
raise RuntimeError(
"Unable to build URLs outside an active request"
" without 'SERVER_NAME' configured. Also configure"
" 'APPLICATION_ROOT' and 'PREFERRED_URL_SCHEME' as"
" needed."
)
# When outside a request, generate a URL with scheme and
# domain by default.
if _external is None:
_external = True
# It is an error to set _scheme when _external=False, in order
# to avoid accidental insecure URLs.
if _scheme is not None and not _external:
raise ValueError("When specifying '_scheme', '_external' must be True.")
self.inject_url_defaults(endpoint, values)
try:
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
values,
method=_method,
url_scheme=_scheme,
force_external=_external,
)
except BuildError as error:
values.update(
_anchor=_anchor, _method=_method, _scheme=_scheme, _external=_external
)
return self.handle_url_build_error(error, endpoint, values)
if _anchor is not None:
_anchor = _url_quote(_anchor, safe="%!#$&'()*+,/:;=?@")
rv = f"{rv}#{_anchor}"
return rv
| (self, endpoint: str, *, _anchor: Optional[str] = None, _method: Optional[str] = None, _scheme: Optional[str] = None, _external: Optional[bool] = None, **values: Any) -> str | [
0.03754579275846481,
-0.045636873692274094,
-0.02369530312716961,
-0.02411380596458912,
-0.009864739142358303,
0.01216651126742363,
-0.022938009351491928,
0.0028647601138800383,
-0.00194056355394423,
-0.017208488658070564,
-0.007827023044228554,
0.02847820520401001,
0.050658922642469406,
0.041810549795627594,
0.058630429208278656,
0.044919438660144806,
0.05133650079369545,
0.0008002644754014909,
0.08079121261835098,
-0.020197803154587746,
0.02433302253484726,
-0.005186461377888918,
-0.020247625187039375,
0.004204969387501478,
-0.002530953148379922,
0.0599457286298275,
-0.016550838947296143,
0.019709549844264984,
0.024372879415750504,
-0.03981767222285271,
0.005500339437276125,
-0.012036974541842937,
0.07006953656673431,
0.01684977114200592,
0.10195556282997131,
-0.01738784834742546,
0.02666468918323517,
0.0510176382958889,
-0.0000039799147089070175,
-0.007966523990035057,
0.002675436669960618,
-0.005027031060308218,
0.014328782446682453,
-0.03728672116994858,
0.05771370604634285,
0.064768485724926,
-0.05412652716040611,
0.06815637648105621,
-0.046912312507629395,
-0.03356004133820534,
-0.022778579965233803,
-0.04711160063743591,
0.017078952863812447,
0.02507038787007332,
-0.052332937717437744,
0.019370760768651962,
-0.03475576639175415,
0.04878561943769455,
0.004847672302275896,
0.04344470798969269,
0.006441973615437746,
-0.023994233459234238,
0.023436227813363075,
-0.006113148760050535,
0.002665472449734807,
0.06588450074195862,
-0.023017724975943565,
0.026226256042718887,
-0.010009222663939,
0.014438390731811523,
0.06576492637395859,
0.026744402945041656,
-0.0427272729575634,
-0.01633162423968315,
0.018772896379232407,
-0.061261024326086044,
0.07277984917163849,
-0.02582767978310585,
0.010960821062326431,
-0.06871438026428223,
0.04137211665511131,
-0.05113721266388893,
-0.011289645917713642,
-0.09087517112493515,
0.007881826721131802,
0.02241986058652401,
-0.045238297432661057,
-0.015275399200618267,
0.003751590149477124,
0.05376780778169632,
-0.004598562605679035,
-0.01616222970187664,
-0.009854774922132492,
-0.017796387895941734,
0.014856894500553608,
-0.03240417316555977,
-0.01041277963668108,
0.014109565876424313,
0.07122540473937988,
-0.047031886875629425,
0.045636873692274094,
-0.027282480150461197,
-0.06464891880750656,
0.032045453786849976,
-0.041292402893304825,
-0.05408667027950287,
0.006083255633711815,
0.004750519525259733,
-0.02538924664258957,
-0.011748007498681545,
-0.03495505452156067,
0.003270808607339859,
0.003925967030227184,
-0.05424610152840614,
-0.05348880589008331,
0.016132336109876633,
0.009685380384325981,
0.016979308798909187,
-0.007533073425292969,
0.002161025535315275,
-0.05974644050002098,
-0.024213450029492378,
-0.036190636456012726,
-0.06329376250505447,
0.016471125185489655,
0.00930673349648714,
-0.050100915133953094,
0.0070199077017605305,
0.031068945303559303,
-0.1013975590467453,
0.007916701957583427,
0.06839552521705627,
-0.043524425476789474,
0.03872159123420715,
0.009386448189616203,
-0.0016354043036699295,
-0.060742877423763275,
0.04376357048749924,
-0.02987322025001049,
0.14842943847179413,
-0.009919542819261551,
0.018414178863167763,
-0.010980749502778053,
0.005789306480437517,
0.022977866232395172,
0.0012287329882383347,
0.05081835389137268,
-0.004630947019904852,
0.02570810727775097,
0.04778917878866196,
0.05631869286298752,
0.06130088120698929,
0.07772218436002731,
0.034297406673431396,
0.009944453835487366,
-0.026545114815235138,
0.0036444729194045067,
-0.037246864289045334,
0.011190001852810383,
-0.04559701681137085,
0.023117367178201675,
-0.014916680753231049,
-0.0005938149406574667,
-0.017138738185167313,
0.02849813550710678,
0.015783581882715225,
0.020686058327555656,
0.010323100723326206,
0.03796429932117462,
0.007851934060454369,
-0.02891663834452629,
0.013222736306488514,
0.010701746679842472,
-0.00023571992642246187,
0.01100067887455225,
-0.01078146230429411,
0.02825899049639702,
-0.03292232006788254,
0.01751738414168358,
-0.043205562978982925,
0.014209209941327572,
0.009436270222067833,
-0.03220488503575325,
-0.023675372824072838,
0.02975364774465561,
0.03722693398594856,
-0.05364823713898659,
0.0012144091306254268,
-0.020666129887104034,
-0.0011228614021092653,
-0.08473711460828781,
-0.01366116851568222,
0.031228376552462578,
0.028777137398719788,
-0.012027010321617126,
-0.03718707710504532,
-0.014538034796714783,
0.04392299801111221,
0.012206369079649448,
-0.009570789523422718,
0.018822718411684036,
0.0035821956116706133,
0.0015345149440690875,
-0.022260431200265884,
0.019440511241555214,
-0.011728078126907349,
-0.01200708094984293,
-0.024173593148589134,
0.01709888130426407,
-0.01492664497345686,
-0.03009243682026863,
0.011558683589100838,
-0.057235416024923325,
-0.0009223281522281468,
-0.035114485770463943,
0.003995717503130436,
0.024193521589040756,
0.005869021639227867,
-0.05619911849498749,
0.031168589368462563,
0.023336583748459816,
-0.03180630877614021,
0.07365671545267105,
-0.02443266659975052,
0.03499491140246391,
-0.018822718411684036,
0.056159261614084244,
-0.02050670050084591,
-0.006048380397260189,
-0.007443394046276808,
-0.0336596854031086,
-0.044481005519628525,
0.06429019570350647,
0.0393991693854332,
0.036310210824012756,
0.005301051773130894,
-0.0034601318184286356,
0.05918843299150467,
0.008923104964196682,
0.041172828525304794,
0.03234438598155975,
0.0535685233771801,
0.003148745046928525,
-0.006287525407969952,
0.034496694803237915,
0.03971802815794945,
-0.02285829372704029,
0.039179954677820206,
-0.02879706583917141,
-0.09015773236751556,
-0.02985328994691372,
0.005281122867017984,
-0.026126611977815628,
-0.0239145178347826,
-0.042687416076660156,
-0.0020252608228474855,
-0.012076832354068756,
-0.007503180298954248,
0.016501018777489662,
0.020546557381749153,
0.0023752597626298666,
0.052253223955631256,
0.02995293401181698,
0.03254367411136627,
-0.05376780778169632,
-0.03019207902252674,
0.00426226481795311,
-0.015903154388070107,
-0.012315977364778519,
0.04113297164440155,
-0.008464743383228779,
0.024093877524137497,
-0.02752162516117096,
0.020865418016910553,
0.03326110914349556,
0.004461552482098341,
-0.00809606071561575,
0.004735572729259729,
-0.00043625314719974995,
-0.028239060193300247,
-0.006461902055889368,
-0.05592011660337448,
0.012585015036165714,
0.001982912188395858,
0.02752162516117096,
-0.02082555927336216,
-0.04009667783975601,
0.02817927487194538,
0.03318139538168907,
-0.025249745696783066,
0.059148576110601425,
-0.024572167545557022,
-0.0062227570451796055,
0.04376357048749924,
-0.017945853993296623,
-0.01121989544481039,
0.04551729932427406,
-0.026863975450396538,
0.04806818068027496,
-0.04432157427072525,
-0.026824118569493294,
0.028219131752848625,
0.02676433138549328,
0.04196998104453087,
-0.014667571522295475,
-0.02913585491478443,
0.017298169434070587,
-0.05261193960905075,
0.02327679842710495,
-0.0021112035028636456,
0.025548677891492844,
-0.010691782459616661,
0.01402985118329525,
-0.029614144936203957,
0.01503625325858593,
-0.0007317593554034829,
-0.007966523990035057,
-0.025110244750976562,
0.03636999800801277,
0.012425585649907589,
-0.012963661924004555,
0.08011363446712494,
-0.03886109218001366,
0.005694644991308451,
-0.03786465525627136,
0.0033928724005818367,
0.05093792453408241,
0.059786297380924225,
-0.052332937717437744,
0.01898214966058731,
-0.004207460675388575,
0.05516282469034195,
0.03272303193807602,
0.011180037632584572,
-0.044281717389822006,
-0.04125254601240158,
-0.013292486779391766,
0.003607106627896428,
-0.008589297533035278,
-0.031009159982204437,
0.01051242370158434,
-0.0018633395666256547,
-0.01407967321574688,
0.005659769289195538,
-0.027820557355880737,
-0.012624872848391533,
-0.00312383403070271,
-0.018085354939103127,
0.029255427420139313,
-0.09262890368700027,
-0.035871777683496475,
-0.04946319758892059,
0.003103905124589801,
0.01768677867949009,
0.016929486766457558,
-0.00831527728587389,
-0.030431225895881653,
-0.06612364202737808,
0.02433302253484726,
0.014448354952037334,
0.013631275855004787,
-0.039678171277046204,
-0.059467434883117676,
-0.015644080936908722,
0.02636575698852539,
0.01106046512722969,
0.03425754979252815,
-0.00465336674824357,
0.02035723440349102,
-0.008459760807454586,
0.02722269296646118,
-0.008210651576519012,
0.05751441791653633,
-0.014757250435650349,
0.002899635350331664,
-0.04137211665511131,
0.005824181716889143,
0.010532352142035961,
0.005201407708227634,
0.040136534720659256,
-0.011030571535229683,
0.012883947230875492,
0.048187755048274994,
0.014956538565456867,
0.02835863269865513,
-0.08258480578660965,
0.024492453783750534,
0.03073015622794628,
-0.008120971731841564,
0.01770670898258686,
0.017208488658070564,
-0.024492453783750534,
0.009431288577616215,
0.022599220275878906,
0.019679656252264977,
-0.05687669664621353,
-0.04035574942827225,
-0.005953718908131123,
0.02357572875916958,
0.0076576280407607555,
0.05747456103563309,
0.018254749476909637,
0.06704036891460419,
0.03134794905781746,
0.03872159123420715,
0.0002039584651356563,
0.07600831240415573,
0.04216926917433739,
0.020805630832910538,
0.023874660953879356,
-0.025967180728912354,
-0.021523067727684975,
-0.11088365316390991,
-0.018434107303619385,
0.017029130831360817,
-0.027920201420783997,
0.012186439707875252,
0.041093114763498306,
0.03369954228401184,
0.013900313526391983,
0.03633014112710953,
-0.023017724975943565,
0.07182326912879944,
0.055641114711761475,
-0.038103800266981125,
0.06935210525989532,
-0.003343050368130207,
-0.010432709008455276,
-0.017078952863812447,
0.020805630832910538,
0.008195704780519009,
-0.02835863269865513,
-0.050738636404275894,
-0.011997116729617119,
-0.00492489617317915,
0.0043942928314208984,
0.023735160008072853,
-0.005834145937114954,
0.007189302239567041,
-0.061061736196279526,
-0.022041214630007744,
-0.06839552521705627,
-0.022997794672846794,
-0.002524725394323468,
-0.0054355706088244915,
0.004192513879388571,
-0.0007093395106494427,
-0.07110583782196045,
0.011668291874229908,
-0.021303851157426834,
0.0271031204611063,
-0.015265434049069881,
-0.007024889811873436,
0.03262338787317276,
-0.07250084728002548,
-0.02220064401626587,
0.002232021652162075,
0.02752162516117096,
-0.02965400367975235,
0.0535685233771801,
0.04647388309240341,
-0.025967180728912354,
0.006651225499808788,
-0.011429146863520145,
-0.022678935900330544,
0.037246864289045334,
0.03872159123420715,
-0.012256191112101078,
-0.07429444044828415,
-0.01047256588935852,
-0.02008819580078125,
-0.030889587476849556,
0.02040705643594265,
0.018184999004006386,
-0.025548677891492844,
0.0644097700715065,
0.039279598742723465,
0.017945853993296623,
-0.014428426511585712,
-0.020018445327878,
-0.03377925604581833,
-0.017238382250070572,
-0.04890519008040428,
0.052452512085437775,
-0.006985032465308905,
-0.0010811355896294117,
-0.023256869986653328,
0.046513739973306656,
0.007562966551631689,
0.014388568699359894,
-0.03605113551020622,
0.031925883144140244,
-0.007129515986889601,
0.018892468884587288,
-0.018772896379232407,
0.05444538593292236,
0.036071065813302994,
-0.06273575127124786,
-0.03878137841820717,
0.01366116851568222,
0.04009667783975601,
-0.038960736244916916,
0.029095998033881187,
0.05057920515537262,
-0.009266875684261322,
0.0009933244436979294,
-0.045437585562467575,
0.050021201372146606,
-0.038641877472400665,
-0.04093368351459503,
0.007996417582035065,
-0.0008986627799458802,
0.05623897537589073,
-0.003811376402154565,
-0.005131657235324383,
0.004625964909791946,
0.0001958624052349478,
-0.030909515917301178,
-0.008873282931745052,
-0.01221633329987526,
0.023655444383621216,
0.021184278652071953,
0.02636575698852539,
0.014617749489843845,
-0.019749406725168228,
0.047350745648145676,
0.06584464013576508,
0.024213450029492378,
-0.012744445353746414,
0.048426900058984756,
-0.014009921811521053,
0.03403833135962486,
0.055441826581954956,
0.040634751319885254,
-0.005151585675776005,
0.06289518624544144,
-0.04950305446982384,
-0.05727527290582657,
-0.029195642098784447,
0.049263909459114075,
0.018772896379232407,
0.052014078944921494,
-0.060862451791763306,
-0.06002544239163399,
-0.06098202243447304,
-0.10155698657035828,
0.019271116703748703,
-0.04998134449124336,
0.06943181902170181,
-0.08808514475822449,
-0.007772218436002731,
0.06488806009292603,
0.05408667027950287,
0.010158687829971313,
-0.011558683589100838,
-0.010372922755777836,
0.045118726789951324,
0.05556139722466469,
-0.01094089262187481,
-0.004075432661920786,
-0.06867452710866928,
0.013093198649585247,
-0.05890943109989166,
-0.03910023719072342,
-0.008539476431906223,
0.07246099412441254,
0.027402052655816078,
-0.03977781534194946,
-0.013113128021359444,
-0.05241265520453453,
-0.04368385300040245,
-0.02668461762368679,
0.003126325085759163,
-0.022798508405685425,
0.010771498084068298,
0.002628105925396085,
-0.0027352231554687023,
-0.07409515231847763,
0.06070302054286003,
-0.011349432170391083,
-0.02349601499736309,
0.014737321995198727,
-0.049782056361436844,
-0.05141621455550194,
-0.00006387325265677646,
-0.03369954228401184,
-0.0023926973808556795,
0.031108802184462547,
-0.025269674137234688,
-0.07058768719434738,
-0.06480834633111954,
-0.04296641796827316,
-0.03144759312272072,
-0.014229138381779194,
-0.041172828525304794,
0.04260770231485367,
-0.045876018702983856,
0.007049800828099251,
0.03467605262994766,
0.03132801875472069,
-0.022260431200265884,
0.05970657989382744,
0.00778218312188983,
-0.006058344617486,
-0.006068309303373098,
-0.012395692057907581,
-0.035891707986593246,
0.0006053362740203738,
-0.06161974370479584,
-0.020965062081813812,
0.040973540395498276,
0.0196995846927166,
-0.0053259627893567085,
0.029733717441558838,
-0.037466078996658325,
-0.06791723519563675,
-0.045756444334983826,
0.05970657989382744,
0.020048338919878006,
0.014219174161553383,
-0.00531599810346961,
-0.01577361859381199,
-0.030750084668397903,
0.05396709591150284,
-0.033540111035108566,
0.0059188432060182095,
-0.006755851674824953,
-0.028936566784977913,
-0.061380598694086075,
0.04196998104453087,
0.038542233407497406,
0.02538924664258957,
-0.014627713710069656,
-0.00863413792103529,
-0.0009279331425204873,
-0.019530190154910088,
0.04806818068027496,
0.04432157427072525,
-0.015046218410134315,
0.026844047009944916,
-0.027979986742138863,
-0.012724516913294792,
-0.002032733988016844,
-0.013053341768682003,
0.027262551710009575,
0.017108844593167305,
0.005126675125211477,
-0.07437415421009064,
0.002640561433508992,
-0.006332365330308676,
0.005694644991308451,
0.015145861543715,
0.016979308798909187,
-0.018892468884587288,
-0.007313856855034828,
0.031507376581430435,
-0.011917402036488056,
-0.0065266708843410015,
0.018354393541812897,
0.023974305018782616,
-0.003696786006912589,
-0.0503799207508564,
0.0599457286298275,
-0.08146879076957703,
-0.06548592448234558,
0.032364316284656525,
0.0787186250090599,
-0.022659005597233772,
-0.009411359205842018,
0.001110405893996358,
-0.018234821036458015,
-0.006810655817389488,
-0.0013352272799238563,
-0.007428447250276804,
0.02156292460858822,
-0.034496694803237915,
-0.030212009325623512,
0.03627035394310951,
0.020267555490136147,
-0.01925118826329708,
0.03344046697020531,
0.012106725014746189,
-0.04216926917433739,
0.06863466650247574,
0.03772515431046486,
-0.056119404733181,
0.06369233131408691,
-0.047350745648145676,
-0.007224177476018667,
-0.024313094094395638,
0.043524425476789474,
-0.03186609596014023,
-0.0009821144631132483,
0.008923104964196682,
-0.0352141298353672,
0.012036974541842937,
-0.04468029364943504,
-0.09996268898248672,
0.043843284249305725,
0.01768677867949009,
0.05719555541872978,
0.0408141128718853,
0.03551306203007698,
0.025987111032009125,
0.023555800318717957,
0.054485246539115906,
0.03294225037097931,
-0.024273237213492393,
-0.027700984850525856,
-0.014508141204714775,
0.019998516887426376,
0.01736791990697384,
0.0220013577491045,
-0.048466756939888,
-0.007438411936163902,
-0.042368557304143906,
-0.054684530943632126,
0.021662568673491478,
-0.06134074181318283,
0.028039773926138878,
0.029514500871300697,
-0.03186609596014023,
0.05006105825304985,
-0.08999830484390259,
0.03531377390027046,
-0.00841492135077715,
-0.05651798099279404,
0.0161921214312315,
0.02445259504020214,
-0.06150016933679581,
-0.021762212738394737,
0.024910956621170044,
-0.01541490014642477,
0.04476000741124153,
0.02433302253484726,
-0.07250084728002548,
0.002829884644597769,
-0.06409090757369995,
-0.046832598745822906,
-0.04137211665511131,
-0.021742282435297966,
0.002956930547952652,
-0.057115841656923294,
-0.01988890767097473,
0.06620335578918457,
0.041172828525304794,
0.04715145751833916,
-0.04711160063743591,
0.003487533889710903,
0.008101043291389942,
0.010362958535552025,
0.03818351402878761,
-0.05205393582582474,
-0.001622948795557022,
0.025050457566976547,
-0.0653264969587326,
0.005624894052743912,
-0.005928807891905308,
-0.03336075320839882,
-0.04073439538478851,
-0.04189026355743408,
0.03806394338607788,
0.04444114863872528,
-0.0007292682421393692,
0.031308092176914215,
0.07549016177654266,
0.0019891399424523115,
0.0022345129400491714
] |
23,217 | flask.scaffold | url_value_preprocessor | Register a URL value preprocessor function for all view
functions in the application. These functions will be called before the
:meth:`before_request` functions.
The function can modify the values captured from the matched url before
they are passed to the view. For example, this can be used to pop a
common language code value and place it in ``g`` rather than pass it to
every view.
The function is passed the endpoint name and values dict. The return
value is ignored.
This is available on both app and blueprint objects. When used on an app, this
is called for every request. When used on a blueprint, this is called for
requests that the blueprint handles. To register with a blueprint and affect
every request, use :meth:`.Blueprint.app_url_value_preprocessor`.
| def setupmethod(f: F) -> F:
f_name = f.__name__
def wrapper_func(self, *args: t.Any, **kwargs: t.Any) -> t.Any:
self._check_setup_finished(f_name)
return f(self, *args, **kwargs)
return t.cast(F, update_wrapper(wrapper_func, f))
| (self, f: ~T_url_value_preprocessor) -> ~T_url_value_preprocessor | [
0.015900148078799248,
-0.03237166628241539,
0.030782543122768402,
0.05178038030862808,
-0.011605947278439999,
0.01619476079940796,
-0.01007039099931717,
0.0009636284084990621,
0.009284758009016514,
0.012498712167143822,
-0.036889057606458664,
0.008749098517000675,
0.040460117161273956,
0.012632627040147781,
0.022944064810872078,
0.043888334184885025,
-0.008914260193705559,
0.057101260870695114,
0.01924801617860794,
0.02703292854130268,
0.05256601423025131,
0.000334228971041739,
0.0057315523736178875,
0.009998969733715057,
0.016855405643582344,
-0.017864231020212173,
-0.020801428705453873,
0.021283522248268127,
0.06574323028326035,
0.003271984402090311,
-0.0017219207948073745,
0.0312289260327816,
-0.034532155841588974,
0.04881639778614044,
0.05181609094142914,
0.015105586498975754,
-0.026747243478894234,
0.06427909433841705,
-0.031532466411590576,
-0.0037853242829442024,
-0.02658654749393463,
-0.032675206661224365,
0.06331490725278854,
0.008494660258293152,
0.036442674696445465,
0.011882704682648182,
0.022336984053254128,
0.012132678180932999,
0.032675206661224365,
0.01806063950061798,
0.050530508160591125,
0.007200151216238737,
0.03949593007564545,
0.0057226247154176235,
0.03542492166161537,
0.043281253427267075,
0.03169316425919533,
-0.019230160862207413,
0.0383174791932106,
-0.018096350133419037,
-0.022283418104052544,
0.04113861918449402,
0.019480135291814804,
0.01613226719200611,
0.003497407538816333,
-0.012579061090946198,
-0.02292620949447155,
-0.008829447440803051,
0.039960168302059174,
0.04338838532567024,
0.005896714050322771,
0.028497064486145973,
0.016453662887215614,
-0.0037518455646932125,
0.0579226054251194,
0.0277471411973238,
-0.031889572739601135,
-0.04488823190331459,
0.010784602724015713,
-0.036174844950437546,
-0.022640524432063103,
0.03226453438401222,
-0.03353225812315941,
0.03910311311483383,
-0.024997424334287643,
0.002143752295523882,
0.016703635454177856,
-0.032246679067611694,
0.017480341717600822,
0.0014964976580813527,
-0.03394293040037155,
0.007146585267037153,
-0.016275109723210335,
0.006146688014268875,
-0.008566081523895264,
-0.04788792505860329,
-0.00894104316830635,
-0.010123956948518753,
-0.06777872890233994,
0.005892250221222639,
-0.02214057557284832,
0.03131820261478424,
0.03472856432199478,
0.029371973127126694,
0.08056312799453735,
-0.00798578467220068,
-0.002597946673631668,
-0.02687223069369793,
-0.0016929059056565166,
-0.006106513552367687,
0.002751948544755578,
-0.04181712120771408,
-0.031532466411590576,
0.019194450229406357,
-0.006972495932132006,
-0.05660131201148033,
0.0023792190477252007,
-0.012596916407346725,
-0.0035933798644691706,
-0.013721800409257412,
0.024836726486682892,
0.023693988099694252,
-0.03856745362281799,
-0.050887614488601685,
0.00796346552670002,
0.00689214700832963,
0.008775881491601467,
0.031800296157598495,
0.04513820633292198,
-0.08113449811935425,
-0.0005150138749741018,
0.046673763543367386,
-0.019408714026212692,
-0.009748995304107666,
-0.01089173462241888,
0.002816674066707492,
0.00998111441731453,
0.011525598354637623,
-0.02983621135354042,
0.01871235854923725,
-0.039853036403656006,
0.041424304246902466,
0.027800707146525383,
0.016498299315571785,
0.012846890836954117,
0.03503210470080376,
-0.027282902970910072,
0.024658173322677612,
-0.005329808220267296,
-0.00826700497418642,
0.008811592124402523,
-0.032246679067611694,
0.0030845035798847675,
0.02239055000245571,
-0.052458882331848145,
-0.00524945929646492,
0.023140473291277885,
0.05320880189538002,
0.049494899809360504,
0.019194450229406357,
-0.009311540983617306,
0.001027237973175943,
-0.006177934817969799,
-0.032675206661224365,
0.009266902692615986,
0.013355766423046589,
-0.029639802873134613,
-0.012088039889931679,
0.006490402854979038,
0.05188751220703125,
-0.01653400994837284,
-0.0057404800318181515,
0.04085293412208557,
0.02301548607647419,
0.06552896648645401,
0.04006730020046234,
0.03874600678682327,
-0.004820931702852249,
0.04928063601255417,
0.033139441162347794,
0.012677265331149101,
-0.02696150727570057,
-0.024015383794903755,
-0.023122617974877357,
0.06288637965917587,
0.09699000418186188,
-0.0134271876886487,
0.01378429401665926,
-0.012213027104735374,
-0.004318751394748688,
0.057172682136297226,
0.004968238063156605,
0.02064073085784912,
-0.004006283823400736,
-0.04085293412208557,
-0.01890876702964306,
-0.024711739271879196,
0.012704048305749893,
0.05652989074587822,
-0.023765409365296364,
0.015551969408988953,
0.02880060486495495,
0.041781410574913025,
0.04006730020046234,
-0.03860316425561905,
0.055529993027448654,
0.059815265238285065,
0.016257254406809807,
-0.06135082244873047,
-0.013900353573262691,
0.05485149100422859,
-0.08656250685453415,
-0.038103215396404266,
0.003350101178511977,
-0.018926622346043587,
-0.07113552838563919,
0.06552896648645401,
0.00776259321719408,
0.0035130309406667948,
0.025658071041107178,
0.0031760120764374733,
0.0467451848089695,
-0.034621432423591614,
-0.015801943838596344,
0.03026473894715309,
0.007512618787586689,
-0.019980084151029587,
-0.08170586824417114,
-0.05520859733223915,
-0.07320674508810043,
-0.005365518853068352,
0.02958623692393303,
0.02178346924483776,
-0.029282696545124054,
0.010472135618329048,
-0.027889983728528023,
0.05181609094142914,
-0.0014630189398303628,
-0.05170895904302597,
-0.0341036282479763,
0.022944064810872078,
-0.005178038030862808,
0.07174260914325714,
0.029443394392728806,
-0.039245955646038055,
0.00782955065369606,
-0.019819386303424835,
0.050530508160591125,
0.01592693105340004,
0.0285149198025465,
-0.039210245013237,
0.01107028778642416,
-0.024801015853881836,
0.03140747919678688,
-0.005307489074766636,
0.0037049753591418266,
0.011177419684827328,
-0.043531227856874466,
0.005396765191107988,
0.04506678506731987,
-0.009159770794212818,
-0.05063764005899429,
0.05667273327708244,
0.03849603235721588,
-0.04199567437171936,
-0.012150533497333527,
-0.06449335813522339,
-0.005463722627609968,
-0.0500662699341774,
-0.012275520712137222,
0.05092332512140274,
-0.042388491332530975,
0.00010810828098328784,
0.005843148101121187,
-0.016159050166606903,
0.004919135943055153,
-0.058422550559043884,
-0.06817154586315155,
-0.029443394392728806,
-0.014543144963681698,
0.05838683992624283,
-0.06949283927679062,
0.050459086894989014,
0.03337156027555466,
-0.06195790320634842,
0.07259966433048248,
0.00034120367490686476,
0.059815265238285065,
0.020712152123451233,
-0.05838683992624283,
-0.015828726813197136,
0.02415822446346283,
0.04078151285648346,
0.005892250221222639,
0.03874600678682327,
-0.00923119205981493,
-0.08563403785228729,
-0.02083713933825493,
0.05031624436378479,
-0.06827867776155472,
-0.002754180459305644,
-0.04999484866857529,
-0.11013150960206985,
0.05781547352671623,
0.04303128272294998,
-0.016971465200185776,
-0.023408303037285805,
0.002091302303597331,
-0.04724513366818428,
-0.002843457041308284,
-0.0028590804431587458,
0.09784705936908722,
-0.09077636152505875,
-0.018337396904826164,
0.057279814034700394,
0.023943962529301643,
-0.052280329167842865,
0.001421728520654142,
0.007075164001435041,
0.040031589567661285,
-0.011891632340848446,
0.002149332081899047,
0.0028702400159090757,
0.04217422753572464,
0.011971981264650822,
-0.027764996513724327,
0.00903031975030899,
-0.02090856060385704,
-0.0312289260327816,
0.004905744455754757,
-0.046673763543367386,
-0.0009050407097674906,
0.02703292854130268,
0.011275623925030231,
-0.06306493282318115,
0.05310167372226715,
0.05178038030862808,
0.0031603886745870113,
0.048352159559726715,
-0.004445970524102449,
0.015775160863995552,
0.007441197521984577,
-0.061207979917526245,
0.006941249128431082,
-0.006950176786631346,
0.05188751220703125,
0.002814442152157426,
0.029979053884744644,
0.10841739922761917,
-0.03579988330602646,
0.0325680747628212,
-0.08313429355621338,
0.00018524877668824047,
-0.005454794969409704,
0.0038388902321457863,
-0.020765718072652817,
-0.059029631316661835,
-0.009909693151712418,
0.012052329257130623,
-0.044852521270513535,
-0.06045805662870407,
-0.041781410574913025,
-0.01996222883462906,
0.008521443232893944,
0.02572949230670929,
0.026229441165924072,
-0.04260275512933731,
-0.002803282579407096,
-0.05524430796504021,
0.03337156027555466,
0.02912200056016445,
-0.032675206661224365,
0.009266902692615986,
-0.025265254080295563,
0.03606771305203438,
0.007485835812985897,
0.01523057371377945,
0.05406585708260536,
-0.04420972988009453,
0.05774405226111412,
0.03928166627883911,
-0.02153349667787552,
-0.06499330699443817,
-0.02913985401391983,
0.03542492166161537,
-0.029711224138736725,
0.0076956357806921005,
0.004606668371707201,
0.008414311334490776,
0.007798303849995136,
-0.004870033822953701,
0.01881949044764042,
-0.01837310753762722,
0.008994609117507935,
0.019890807569026947,
-0.013150431215763092,
-0.06420767307281494,
0.018962332978844643,
0.0651361495256424,
0.01698039285838604,
0.05392301455140114,
-0.05574425682425499,
0.11070287972688675,
0.018274903297424316,
0.04985200613737106,
0.03308587521314621,
-0.025318820029497147,
0.002035504672676325,
0.01590907573699951,
0.008575009182095528,
-0.0185516607016325,
-0.007124266121536493,
-0.02362256683409214,
0.0024885828606784344,
-0.06656456738710403,
0.03237166628241539,
0.020265769213438034,
-0.010391786694526672,
0.0036558732390403748,
-0.01434673648327589,
0.030407581478357315,
0.023943962529301643,
-0.046495210379362106,
0.06713593751192093,
0.015810871496796608,
0.031550321727991104,
0.011311334557831287,
0.05742265656590462,
-0.020426467061042786,
0.03562133014202118,
-0.015177007764577866,
0.010418569669127464,
-0.00004146475839661434,
0.0134271876886487,
-0.031086083501577377,
-0.03080039843916893,
-0.03537135571241379,
-0.029336262494325638,
-0.028586341068148613,
0.06592177599668503,
-0.023408303037285805,
0.00658414326608181,
-0.018087422475218773,
-0.029961198568344116,
-0.02205129899084568,
-0.03331799432635307,
0.008552690036594868,
0.034621432423591614,
0.03788895532488823,
0.02021220326423645,
0.0037830923683941364,
0.04013872146606445,
-0.039210245013237,
-0.002792123006656766,
0.01942656934261322,
-0.017150018364191055,
0.026211585849523544,
-0.06720735877752304,
-0.019551556557416916,
0.03931737691164017,
0.0009022508165799081,
0.016435807570815086,
-0.04735226556658745,
-0.03849603235721588,
-0.0020834906026721,
-0.006838581059128046,
0.009257975034415722,
-0.007664388976991177,
-0.054387252777814865,
-0.015900148078799248,
0.0482807382941246,
-0.06688596308231354,
-0.01256120577454567,
0.011427394114434719,
0.059636712074279785,
-0.008744634687900543,
-0.032585930079221725,
0.023765409365296364,
-0.004254025872796774,
-0.005311952903866768,
0.0036201628390699625,
0.054565805941820145,
0.026461560279130936,
0.01567695662379265,
0.012641554698348045,
-0.035407066345214844,
0.07138550281524658,
-0.0334608368575573,
0.002785427263006568,
0.011659513227641582,
-0.02239055000245571,
0.031103938817977905,
0.05206606537103653,
-0.029514815658330917,
-0.010373931378126144,
-0.010213233530521393,
0.024711739271879196,
0.033139441162347794,
-0.005155718885362148,
-0.06324348598718643,
0.013712872751057148,
-0.002125896979123354,
-0.026979362592101097,
0.03946021944284439,
-0.017435703426599503,
-0.007557257078588009,
-0.07342100888490677,
-0.0346749983727932,
-0.03763898089528084,
0.01637331396341324,
0.036710504442453384,
0.021497786045074463,
-0.07099268585443497,
-0.0245867520570755,
0.032246679067611694,
-0.008155410178005695,
-0.05331593379378319,
-0.043638359755277634,
-0.01574837788939476,
-0.00966864638030529,
-0.05767263099551201,
0.02108711376786232,
0.046495210379362106,
-0.016114411875605583,
-0.018087422475218773,
-0.012221954762935638,
0.07563506811857224,
0.010204305872321129,
0.02862205170094967,
-0.024836726486682892,
-0.03315729647874832,
-0.04560244455933571,
-0.027943549677729607,
0.02014078199863434,
0.03572846204042435,
0.024711739271879196,
-0.10491776466369629,
0.0005836452473886311,
-0.013052226975560188,
-0.05856539309024811,
0.005816365126520395,
0.02799711562693119,
-0.06438622623682022,
0.04167427867650986,
-0.017355354502797127,
-0.06860007345676422,
-0.012150533497333527,
-0.025658071041107178,
-0.01758747361600399,
-0.06170792877674103,
-0.11663083732128143,
-0.03735329583287239,
0.05092332512140274,
0.022801222279667854,
0.014186038635671139,
-0.06260069459676743,
0.006521649658679962,
0.059136763215065,
0.028586341068148613,
0.015177007764577866,
-0.057886894792318344,
0.05838683992624283,
-0.00414466205984354,
-0.0014674827689304948,
-0.019015897065401077,
0.008204512298107147,
0.0675644651055336,
0.03213954716920853,
-0.07577791064977646,
-0.0838485062122345,
0.026711532846093178,
0.06445764750242233,
-0.04403117671608925,
-0.007606359198689461,
-0.03785324469208717,
-0.0028769357595592737,
0.031889572739601135,
-0.03165745362639427,
0.0011974212247878313,
-0.0660289078950882,
-0.07727774977684021,
-0.020247913897037506,
-0.005494969431310892,
0.005128935910761356,
-0.057029839605093,
-0.05303025245666504,
0.011364900507032871,
0.05092332512140274,
-0.08549119532108307,
-0.02258695848286152,
-0.06552896648645401,
-0.06463620066642761,
-0.014757407829165459,
-0.048709265887737274,
0.031032517552375793,
-0.04210280627012253,
-0.003999588079750538,
-0.01098101120442152,
0.07992033660411835,
-0.025961611419916153,
-0.025836624205112457,
0.01906946301460266,
-0.07370669394731522,
-0.023604711517691612,
0.03585344925522804,
-0.038995981216430664,
-0.04085293412208557,
-0.03194313868880272,
-0.049744874238967896,
0.02258695848286152,
-0.010132884606719017,
0.005807437468320131,
0.06410054117441177,
-0.023926107212901115,
0.00395941361784935,
0.003912543412297964,
-0.053351644426584244,
-0.015462692826986313,
0.030728977173566818,
-0.021015692502260208,
-0.025515228509902954,
-0.019569411873817444,
-0.009641863405704498,
0.012373724952340126,
0.024122513830661774,
0.004354462027549744,
0.012846890836954117,
-0.022122720256447792,
-0.0004410817928146571,
-0.018765924498438835,
-0.011186347343027592,
-0.02494385838508606,
0.04845929145812988,
-0.028943447396159172,
0.07131408154964447,
-0.04435257241129875,
-0.032068125903606415,
0.054744359105825424,
0.00551282474771142,
-0.021319232881069183,
0.03612127900123596,
0.005910105537623167,
-0.01072211004793644,
-0.0024573360569775105,
0.010704254731535912,
-0.031978849321603775,
-0.005405692849308252,
-0.045888129621744156,
0.02151564136147499,
-0.03569275140762329,
-0.04320983216166496,
0.013614668510854244,
-0.06388627737760544,
0.06274353712797165,
0.022908354178071022,
-0.05074477195739746,
-0.012766541913151741,
0.0070260618813335896,
0.04778079316020012,
-0.01181128341704607,
-0.04867355525493622,
0.01668578013777733,
0.008034886792302132,
0.030907530337572098,
0.024622462689876556,
0.005405692849308252,
-0.021944167092442513,
-0.02530096471309662,
-0.013659306801855564,
-0.036014147102832794,
0.07063557952642441,
0.01421282161027193,
-0.028889881446957588,
-0.026997217908501625,
0.004512927960604429,
-0.008427702821791172,
-0.010739965364336967,
0.0136503791436553,
-0.0016694708028808236,
0.04978058487176895,
-0.026979362592101097,
0.03624626621603966,
-0.034514300525188446,
0.058672524988651276,
0.029979053884744644,
-0.015203790739178658,
0.02658654749393463,
-0.010034680366516113,
-0.0357641726732254,
-0.010516773909330368,
-0.028193524107336998,
-0.017489269375801086,
-0.0035688288044184446,
0.02651512622833252,
-0.005597637500613928,
0.006994815077632666,
-0.0212656669318676,
-0.06549325585365295,
0.038281768560409546,
-0.028550630435347557,
0.02153349667787552,
0.005231603980064392,
-0.00424509821459651,
-0.00903031975030899,
0.030728977173566818,
-0.02274765633046627,
-0.011927342973649502,
0.0008113003568723798,
-0.026211585849523544,
-0.0030778078362345695,
0.018676647916436195,
0.023069052025675774,
-0.009092813357710838,
-0.0330144539475441,
0.015784088522195816,
-0.012704048305749893,
0.004227242898195982,
-0.03654980659484863,
-0.004963774234056473,
0.031371768563985825,
-0.020801428705453873,
0.003298767376691103,
-0.0022508841939270496,
-0.05956529080867767,
0.018087422475218773,
0.01727500557899475,
0.00787418894469738,
0.038460321724414825,
-0.0015857741236686707,
0.0017743707867339253,
0.026390139013528824,
-0.018390962854027748,
-0.06674312055110931,
0.04199567437171936,
0.013400404714047909,
-0.032960887998342514,
-0.004314287565648556,
0.08920509368181229,
-0.08013460040092468,
-0.04113861918449402,
-0.018024928867816925,
0.0012654946185648441,
-0.01917659491300583,
0.03255021944642067,
0.12698692083358765,
0.03315729647874832,
0.007401023060083389,
0.010820313356816769,
-0.007017134223133326,
-0.008472341112792492,
-0.004731655586510897,
0.029979053884744644,
0.006280602887272835,
0.007664388976991177,
0.05424441024661064,
-0.018355252221226692,
-0.02258695848286152,
0.004990557208657265,
-0.027622153982520103,
-0.026925796642899513,
-0.07563506811857224,
-0.032228823751211166,
0.043888334184885025,
-0.009820416569709778,
0.06070803105831146,
0.07606358826160431,
0.032335955649614334,
0.09806132316589355
] |
23,218 | slackeventsapi.server | verify_signature | null | def verify_signature(self, timestamp, signature):
# Verify the request signature of the request sent from Slack
# Generate a new hash using the app's signing secret and request data
# Compare the generated hash and incoming request signature
# Python 2.7.6 doesn't support compare_digest
# It's recommended to use Python 2.7.7+
# noqa See https://docs.python.org/2/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7
req = str.encode('v0:' + str(timestamp) + ':') + request.get_data()
request_hash = 'v0=' + hmac.new(
str.encode(self.signing_secret),
req, hashlib.sha256
).hexdigest()
if hasattr(hmac, "compare_digest"):
# Compare byte strings for Python 2
if (sys.version_info[0] == 2):
return hmac.compare_digest(bytes(request_hash), bytes(signature))
else:
return hmac.compare_digest(request_hash, signature)
else:
if len(request_hash) != len(signature):
return False
result = 0
if isinstance(request_hash, bytes) and isinstance(signature, bytes):
for x, y in zip(request_hash, signature):
result |= x ^ y
else:
for x, y in zip(request_hash, signature):
result |= ord(x) ^ ord(y)
return result == 0
| (self, timestamp, signature) | [
0.05445269122719765,
-0.03670806810259819,
-0.03297990560531616,
0.10015853494405746,
-0.028032919391989708,
-0.06574472039937973,
-0.03821367025375366,
0.05961476266384125,
0.00017237712745554745,
0.024950014427304268,
-0.0031971686985343695,
0.03832121565937996,
0.01655268482863903,
-0.0413324236869812,
-0.009463798254728317,
-0.044236090034246445,
0.014652756042778492,
-0.01600600779056549,
0.02530849166214466,
-0.040077753365039825,
0.025989597663283348,
0.02735181152820587,
-0.07201807200908661,
0.06273351609706879,
-0.03507699444890022,
0.05319802090525627,
0.004969390574842691,
-0.017278602346777916,
0.03789104148745537,
-0.0061568464152514935,
-0.020558668300509453,
-0.03396571800112724,
0.08417045325040817,
0.016920125111937523,
-0.021436937153339386,
-0.013487705029547215,
-0.01711728796362877,
-0.03584772348403931,
-0.0051979199051856995,
-0.013003760948777199,
-0.007581793237477541,
0.04240785539150238,
-0.009786427952349186,
0.02376703917980194,
0.021634100005030632,
0.02641977183520794,
-0.029628142714500427,
0.08460062742233276,
-0.05592244490981102,
0.016283826902508736,
0.026706552132964134,
-0.02371326833963394,
-0.009392103180289268,
-0.03588356822729111,
0.011211374774575233,
0.020791679620742798,
0.024627385661005974,
0.05495455861091614,
-0.0412248820066452,
0.036528829485177994,
0.02541603520512581,
0.04964909330010414,
0.022153891623020172,
-0.00739359250292182,
-0.017278602346777916,
0.02224351093173027,
0.05638846755027771,
-0.010906669311225414,
0.006900686305016279,
0.014688604511320591,
0.0053009819239377975,
0.00956237968057394,
-0.015405558049678802,
-0.006331603974103928,
-0.011937291361391544,
-0.026007521897554398,
-0.04441532865166664,
0.060260020196437836,
-0.05334141105413437,
0.011399575509130955,
0.057750679552555084,
-0.029735686257481575,
0.06459759175777435,
-0.009427950717508793,
0.00020654448599088937,
0.04713975265622139,
0.011578814126551151,
0.01372967753559351,
0.008088142611086369,
0.03324876353144646,
0.000606050540227443,
0.044737957417964935,
0.0016389130614697933,
-0.05527718737721443,
0.04972079023718834,
-0.02120392769575119,
0.0005491983029060066,
-0.02900080755352974,
0.010557154193520546,
-0.018963444977998734,
0.011050060391426086,
0.07642734050750732,
-0.026115065440535545,
0.035023223608732224,
0.027692364528775215,
0.0516924150288105,
-0.012152377516031265,
-0.08123093843460083,
-0.006170289125293493,
-0.0013622133992612362,
0.027065029367804527,
-0.0517999567091465,
-0.020253963768482208,
0.026276379823684692,
-0.03520246222615242,
-0.04463041201233864,
0.030918659642338753,
0.007438402157276869,
-0.07198222726583481,
-0.026025446131825447,
0.021902957931160927,
0.036528829485177994,
0.055528122931718826,
-0.019859638065099716,
0.0014596744440495968,
0.007232278119772673,
0.005529511254280806,
0.013138189911842346,
-0.015548949129879475,
-0.013281580992043018,
-0.012941027991473675,
0.04463041201233864,
0.03871554136276245,
0.04602847620844841,
-0.05843178555369377,
-0.01651683822274208,
0.05635261908173561,
0.02683201991021633,
-0.007272606715559959,
0.022010501474142075,
-0.01606874167919159,
0.018246490508317947,
0.039575885981321335,
-0.02697541005909443,
-0.022422749549150467,
0.009634075686335564,
-0.05592244490981102,
-0.060331717133522034,
0.043698374181985855,
0.03011208586394787,
0.04706805944442749,
-0.03563263639807701,
0.06542209535837173,
0.04771331697702408,
0.0026639339048415422,
-0.04029284045100212,
0.014634832739830017,
-0.07470665127038956,
-0.032872360199689865,
0.01757434569299221,
0.018327148631215096,
-0.04283802956342697,
-0.014491441659629345,
-0.08897404372692108,
-0.012564626522362232,
-0.02020019106566906,
0.012340578250586987,
0.051513176411390305,
-0.015701301395893097,
-0.025165101513266563,
-0.047318991273641586,
0.06950873136520386,
0.0004147693398408592,
0.021974653005599976,
0.04190598800778389,
0.01971624791622162,
0.005417487118393183,
-0.012008986435830593,
0.010736392810940742,
-0.03817782551050186,
-0.03720993548631668,
-0.016283826902508736,
-0.0038715540431439877,
0.011775976978242397,
0.024000050500035286,
0.021419014781713486,
-0.018219605088233948,
0.00476774713024497,
-0.006622866727411747,
-0.021598253399133682,
-0.050939612090587616,
0.018425729125738144,
0.02115015685558319,
0.03771180287003517,
0.012448121793568134,
0.05223013088107109,
-0.029162121936678886,
0.04455871880054474,
0.03211955726146698,
-0.041117336601018906,
0.0775744691491127,
-0.06588811427354813,
-0.014652756042778492,
-0.010646773502230644,
-0.03000454418361187,
-0.034933604300022125,
0.02530849166214466,
0.04014945030212402,
-0.03412703052163124,
-0.05635261908173561,
-0.03968342766165733,
-0.06846915185451508,
-0.012645283713936806,
0.02693956345319748,
-0.022960465401411057,
0.04445117339491844,
0.0014451112365350127,
-0.01754746027290821,
-0.035417549312114716,
-0.03407325968146324,
0.08976269513368607,
0.0284451674669981,
-0.01010009553283453,
0.006811066996306181,
0.035023223608732224,
0.04237200692296028,
0.06524285674095154,
0.03685145825147629,
-0.023014238104224205,
-0.044236090034246445,
0.024466069415211678,
-0.007182987406849861,
0.04914722591638565,
0.028785720467567444,
-0.03470059484243393,
-0.03781934827566147,
0.031348831951618195,
0.024017972871661186,
0.027244267985224724,
-0.02541603520512581,
0.05527718737721443,
-0.046817123889923096,
0.04703221097588539,
0.01267217006534338,
-0.04283802956342697,
-0.023659495636820793,
-0.010817050002515316,
0.029108351096510887,
-0.020881298929452896,
-0.0284989383071661,
-0.08732505142688751,
-0.012125492095947266,
0.0037304034922271967,
-0.045311521738767624,
0.05072452500462532,
0.013398085720837116,
0.028032919391989708,
-0.012035872787237167,
0.05273199826478958,
0.04491719603538513,
0.028140461072325706,
0.06660506874322891,
0.004182980861514807,
0.03918156027793884,
-0.04075885936617851,
-0.020343583077192307,
0.022906694561243057,
0.03728163242340088,
-0.02948475070297718,
-0.013882030732929707,
-0.0028722987044602633,
-0.04337574541568756,
-0.03045264072716236,
-0.013622133992612362,
0.00927559845149517,
-0.016651267185807228,
0.03254973143339157,
0.017215868458151817,
0.04549076035618782,
-0.00596416462212801,
0.015163586474955082,
-0.03299782797694206,
0.07144451141357422,
0.023372715339064598,
0.006116517353802919,
0.008675148710608482,
0.004646760877221823,
-0.023032160475850105,
-0.013317428529262543,
-0.024466069415211678,
-0.02525472082197666,
-0.034342117607593536,
0.03767595440149307,
-0.050939612090587616,
-0.047318991273641586,
0.048860445618629456,
-0.00289918459020555,
-0.005063490942120552,
0.03932495042681694,
0.014115040190517902,
0.01709040068089962,
0.07850651443004608,
0.07398969680070877,
-0.045885082334280014,
0.05936382710933685,
0.019787942990660667,
0.02943097986280918,
0.023569876328110695,
0.019985105842351913,
-0.01084393635392189,
-0.018273375928401947,
0.07513682544231415,
0.028337623924016953,
-0.10166414082050323,
0.013649020344018936,
0.06434666365385056,
0.021311471238732338,
-0.01711728796362877,
-0.001784544438123703,
0.05319802090525627,
0.057750679552555084,
-0.00006735450733685866,
0.014518327079713345,
0.07614056020975113,
0.060260020196437836,
-0.06043925881385803,
-0.011202412657439709,
-0.033302534371614456,
-0.036528829485177994,
-0.010628849267959595,
0.018318185582756996,
-0.03005831502377987,
0.08237806707620621,
-0.017215868458151817,
-0.012860369868576527,
0.027029182761907578,
-0.04362667724490166,
0.009983590804040432,
-0.026061294600367546,
-0.021562404930591583,
-0.004017185419797897,
-0.02116807922720909,
0.04868120700120926,
0.017439916729927063,
0.013855144381523132,
-0.014688604511320591,
-0.044845499098300934,
-0.005538472905755043,
-0.011354765854775906,
-0.030649801716208458,
-0.062410883605480194,
0.017843203619122505,
0.013514591380953789,
-0.0037528083194047213,
0.0671427845954895,
0.010037362575531006,
0.04391345754265785,
-0.0517641119658947,
-0.04040038213133812,
0.04742653667926788,
0.017708774656057358,
-0.017323412001132965,
-0.039038170129060745,
-0.040579620748758316,
-0.031241290271282196,
0.012197187170386314,
0.007850650697946548,
-0.01765500381588936,
-0.036492981016635895,
0.03771180287003517,
-0.005448853597044945,
-0.017789432778954506,
-0.028283853083848953,
0.0027423507999628782,
0.02529056742787361,
-0.007935789413750172,
-0.03531000763177872,
0.002399556804448366,
-0.006927572190761566,
-0.028301777318120003,
0.007581793237477541,
0.03842875733971596,
0.005090376362204552,
0.003150118514895439,
0.0233368668705225,
-0.019483236595988274,
-0.07115773111581802,
-0.04903968423604965,
0.02120392769575119,
0.02127562277019024,
-0.011713243089616299,
-0.0568903349339962,
0.005336829461157322,
-0.02684994414448738,
-0.052050892263650894,
-0.005233767442405224,
-0.009885009378194809,
0.04925477132201195,
-0.034431736916303635,
-0.056675247848033905,
-0.00748769287019968,
-0.012000025250017643,
-0.06345047056674957,
-0.03265727311372757,
0.02014642022550106,
0.02892911247909069,
0.015118776820600033,
0.012492931447923183,
-0.014410784468054771,
-0.00557880150154233,
-0.008325633592903614,
-0.07606886327266693,
-0.002266248222440481,
-0.014796147122979164,
0.027710288763046265,
-0.00596416462212801,
0.04466626048088074,
0.026545237749814987,
0.05119054764509201,
0.023551953956484795,
0.02957437001168728,
0.03048848733305931,
0.012475007213652134,
-0.0029529561288654804,
0.022118045017123222,
0.05807330831885338,
-0.03358931466937065,
-0.009768504649400711,
-0.013846182264387608,
-0.026670705527067184,
-0.017430955544114113,
0.007178506348282099,
-0.06370139867067337,
0.018999293446540833,
-0.022637836635112762,
0.031886547803878784,
0.012878294102847576,
0.010817050002515316,
-0.03582979738712311,
0.017735660076141357,
0.03989851474761963,
0.001691564335487783,
-0.027817832306027412,
-0.02125769853591919,
0.0414399653673172,
-0.014840956777334213,
-0.019985105842351913,
-0.024197211489081383,
0.06628243625164032,
-0.017404068261384964,
-0.02996869571506977,
-0.0027535532135516405,
-0.04918307438492775,
-0.06954458355903625,
-0.03997021168470383,
0.014930576086044312,
-0.014285317622125149,
-0.026025446131825447,
-0.0881137028336525,
0.0181658323854208,
-0.05441684275865555,
0.020092647522687912,
-0.02745935507118702,
-0.010539229959249496,
0.009759542532265186,
-0.025111328810453415,
-0.01213445421308279,
-0.014598985202610493,
-0.004169538151472807,
0.04068716615438461,
0.04957740008831024,
-0.05732050910592079,
-0.03568640723824501,
0.046315256506204605,
-0.003645265242084861,
0.005157590843737125,
0.02941305562853813,
0.03738917410373688,
-0.08976269513368607,
0.02478870004415512,
-0.10058870911598206,
0.0025093406438827515,
-0.03677976131439209,
0.08216297626495361,
0.02946682833135128,
-0.041655052453279495,
-0.040185295045375824,
-0.04710390791296959,
0.015468291938304901,
-0.041655052453279495,
0.0013454097788780928,
-0.012510854750871658,
0.03828536719083786,
0.03271104767918587,
0.04488134756684303,
-0.01085289753973484,
-0.008477985858917236,
0.04624355956912041,
-0.06043925881385803,
-0.004337574355304241,
-0.037532564252614975,
0.06345047056674957,
0.030398868024349213,
0.03054226003587246,
0.04437948018312454,
0.022996313869953156,
0.016176285222172737,
-0.04520397633314133,
0.02692163921892643,
0.026814095675945282,
-0.05950721725821495,
-0.0022707290481776,
0.054058365523815155,
0.0074742501601576805,
-0.018837977200746536,
0.026599010452628136,
-0.028248004615306854,
-0.042694635689258575,
0.021974653005599976,
0.0000742859992897138,
0.04405685141682625,
0.0361524261534214,
0.01268113125115633,
-0.08653640002012253,
0.032872360199689865,
-0.023605724796652794,
0.001495522097684443,
-0.04502473771572113,
0.021920882165431976,
-0.04230031371116638,
-0.017188983038067818,
0.046351104974746704,
0.010736392810940742,
0.00016089466225821525,
-0.009311445988714695,
0.03222710266709328,
-0.05136978626251221,
-0.05079622194170952,
-0.05796576663851738,
-0.019017215818166733,
-0.042730484157800674,
0.012510854750871658,
-0.03375063091516495,
0.011462309397757053,
-0.04703221097588539,
0.05570736154913902,
0.0053009819239377975,
0.0038177825044840574,
-0.023892506957054138,
-0.013523553498089314,
-0.04086640477180481,
0.016973895952105522,
0.05628092214465141,
-0.03677976131439209,
-0.040579620748758316,
-0.0008788293343968689,
0.03224502503871918,
0.00932040810585022,
0.035399626940488815,
0.021885033696889877,
0.009786427952349186,
-0.01855119690299034,
0.011758052743971348,
-0.047390688210725784,
-0.09055134654045105,
-0.022870846092700958,
0.02373119257390499,
-0.015414520166814327,
-0.02281707525253296,
0.044236090034246445,
-0.011551928706467152,
0.04549076035618782,
0.04753407835960388,
0.010476497001945972,
0.03814197704195976,
-0.016902200877666473,
-0.035525090992450714,
0.027531050145626068,
-0.04359082877635956,
0.019967181608080864,
0.06380894780158997,
-0.027226345613598824,
-0.02995077148079872,
-0.006636309437453747,
-0.04509643465280533,
-0.02647354267537594,
-0.013908916153013706,
0.003649746300652623,
-0.02064828760921955,
0.032818589359521866,
-0.04344743862748146,
-0.011480232700705528,
0.01246604509651661,
-0.012708017602562904,
-0.01760123111307621,
0.02536226250231266,
0.049900028854608536,
0.006936534307897091,
0.01396268792450428,
-0.006268870551139116,
0.028731949627399445,
0.004082159139215946,
0.01115760300308466,
-0.03568640723824501,
0.030936583876609802,
0.011784938164055347,
-0.05341310426592827,
-0.028660254552960396,
-0.017807355150580406,
-0.02125769853591919,
0.022135967388749123,
0.02434060350060463,
-0.00570426881313324,
-0.01031518168747425,
0.06836160272359848,
0.04968494176864624,
-0.048394422978162766,
0.03410910815000534,
-0.015835730358958244,
0.005265134386718273,
0.029269665479660034,
0.026222608983516693,
-0.01372967753559351,
-0.032388415187597275,
-0.04957740008831024,
-0.00206460477784276,
-0.018891749903559685,
0.025559425354003906,
0.003035853849723935,
-0.05208674073219299,
0.03043471649289131,
-0.055528122931718826,
0.01907098852097988,
-0.01919645443558693,
0.09513985365629196,
-0.05595829337835312,
-0.037425022572278976,
-0.005995531566441059,
-0.027136726304888725,
0.103384830057621,
0.012116529978811741,
-0.02435852773487568,
-0.08345349878072739,
-0.0062599084340035915,
0.01084393635392189,
-0.004834961611777544,
0.01700974442064762,
0.013908916153013706,
0.04459456726908684,
-0.012967913411557674,
-0.0028073247522115707,
0.0516924150288105,
0.04226446524262428,
0.02645561844110489,
-0.008070218376815319,
-0.00878269225358963,
0.024717004969716072,
0.030219629406929016,
0.06054680421948433,
-0.04767746850848198,
0.027638593688607216,
-0.022440673783421516,
0.01267217006534338,
0.02018226683139801,
0.0073174163699150085,
-0.022064272314310074,
0.03145637735724449,
-0.039611734449863434,
-0.008191204629838467,
0.03975512459874153,
0.03308744728565216,
-0.012788674794137478,
0.03217333182692528,
0.04455871880054474,
0.01597015932202339,
-0.02957437001168728,
-0.034933604300022125,
-0.002300975611433387,
0.02801499515771866,
-0.004075437784194946,
-0.0103062205016613,
0.012519816868007183,
-0.03681560978293419,
-0.028122538700699806,
0.04308896139264107,
0.01760123111307621,
0.03358931466937065,
-0.01262736041098833,
-0.04617186635732651,
-0.015889503061771393,
0.02020019106566906,
-0.11342219263315201,
-0.01529801543802023,
0.02740558423101902,
-0.02529056742787361,
0.036958999931812286,
-0.05395082011818886,
0.08976269513368607,
0.012636321596801281,
-0.03007623925805092,
0.021956728771328926,
0.009616151452064514,
0.017861127853393555,
0.05757144093513489,
-0.017726698890328407,
0.007084405981004238,
-0.07384631037712097,
-0.024161364883184433,
-0.010799126699566841,
-0.024734927341341972,
-0.01867666281759739,
-0.06155053898692131,
0.05742805078625679,
-0.010978364385664463,
0.07398969680070877,
0.02226143516600132,
-0.06814651936292648,
-0.006542209070175886,
0.08847218006849289,
-0.012645283713936806,
-0.04602847620844841,
-0.01710832491517067,
-0.004902176093310118,
0.032872360199689865,
-0.05115469917654991,
-0.014491441659629345,
0.011874557472765446,
0.010861859656870365,
0.03975512459874153,
-0.02380288764834404,
-0.043160658329725266,
-0.003602696117013693,
-0.015244243666529655,
-0.015656491741538048,
-0.0008228172664530575,
-0.010180752724409103,
-0.05990154296159744,
-0.0233368668705225,
0.04233615845441818,
0.03921740874648094,
0.02991492487490177,
-0.006439147051423788,
-0.013774487189948559,
-0.011525042355060577,
0.07513682544231415,
0.030380943790078163,
-0.06162223219871521,
-0.02638392336666584,
-0.009992552921175957,
-0.034915681928396225,
0.0361524261534214,
-0.010368953458964825,
-0.09700393676757812,
-0.07642734050750732,
0.009239749982953072,
0.049971725791692734,
-0.0517999567091465,
0.03534585237503052,
-0.009383141063153744,
0.023569876328110695,
-0.00034811499062925577,
0.005905912257730961,
0.01862289197742939,
0.019411541521549225,
-0.040615469217300415,
0.024985862895846367,
-0.022064272314310074,
0.045275673270225525
] |
23,219 | flask.app | wsgi_app | The actual WSGI application. This is not implemented in
:meth:`__call__` so that middlewares can be applied without
losing a reference to the app object. Instead of doing this::
app = MyMiddleware(app)
It's a better idea to do this instead::
app.wsgi_app = MyMiddleware(app.wsgi_app)
Then you still have the original application object around and
can continue to call methods on it.
.. versionchanged:: 0.7
Teardown events for the request and app contexts are called
even if an unhandled error occurs. Other events may not be
called depending on when an error occurs during dispatch.
See :ref:`callbacks-and-errors`.
:param environ: A WSGI environment.
:param start_response: A callable accepting a status code,
a list of headers, and an optional exception context to
start the response.
| def wsgi_app(self, environ: dict, start_response: t.Callable) -> t.Any:
"""The actual WSGI application. This is not implemented in
:meth:`__call__` so that middlewares can be applied without
losing a reference to the app object. Instead of doing this::
app = MyMiddleware(app)
It's a better idea to do this instead::
app.wsgi_app = MyMiddleware(app.wsgi_app)
Then you still have the original application object around and
can continue to call methods on it.
.. versionchanged:: 0.7
Teardown events for the request and app contexts are called
even if an unhandled error occurs. Other events may not be
called depending on when an error occurs during dispatch.
See :ref:`callbacks-and-errors`.
:param environ: A WSGI environment.
:param start_response: A callable accepting a status code,
a list of headers, and an optional exception context to
start the response.
"""
ctx = self.request_context(environ)
error: BaseException | None = None
try:
try:
ctx.push()
response = self.full_dispatch_request()
except Exception as e:
error = e
response = self.handle_exception(e)
except: # noqa: B001
error = sys.exc_info()[1]
raise
return response(environ, start_response)
finally:
if "werkzeug.debug.preserve_context" in environ:
environ["werkzeug.debug.preserve_context"](_cv_app.get())
environ["werkzeug.debug.preserve_context"](_cv_request.get())
if error is not None and self.should_ignore_error(error):
error = None
ctx.pop(error)
| (self, environ: dict, start_response: Callable) -> Any | [
0.015533710829913616,
-0.008803365752100945,
-0.01109019573777914,
0.02982174977660179,
0.044026125222444534,
0.005024518817663193,
0.003214111551642418,
0.026419393718242645,
0.02827860414981842,
-0.018722258508205414,
0.012940110638737679,
-0.02560134045779705,
0.06287852674722672,
0.011750215664505959,
0.024076787754893303,
0.02167840488255024,
0.010755538009107113,
-0.028929328545928,
0.04856260120868683,
-0.06343629211187363,
0.025341050699353218,
0.0011114598019048572,
0.0036905345041304827,
0.014771434478461742,
-0.057821474969387054,
-0.01845267228782177,
-0.0005554393865168095,
0.016203027218580246,
0.05242976173758507,
-0.029040882363915443,
0.010894978418946266,
-0.03433963283896446,
0.04703804850578308,
-0.05135141685605049,
0.06644821166992188,
-0.004569011740386486,
0.008561667986214161,
-0.011564294807612896,
0.008659277111291885,
-0.017076855525374413,
-0.05123986676335335,
-0.012847150675952435,
-0.014288038946688175,
-0.017290664836764336,
0.0278323944658041,
0.034246671944856644,
-0.0051267752423882484,
0.1038183644413948,
0.012930815108120441,
0.037332963198423386,
0.01507820375263691,
-0.025415418669581413,
0.01478073000907898,
-0.013209696859121323,
0.02946850098669529,
0.05421460419893265,
0.021901510655879974,
0.01790420524775982,
0.012800670228898525,
-0.05622255057096481,
0.008464059792459011,
0.07987172156572342,
0.042092546820640564,
-0.027107302099466324,
0.02331451140344143,
0.045067284256219864,
-0.04019615054130554,
0.017774060368537903,
-0.03556671366095543,
-0.010281438939273357,
-0.024969208985567093,
-0.036347582936286926,
-0.05711497366428375,
0.017346441745758057,
0.011322597041726112,
-0.021176418289542198,
-0.028985105454921722,
-0.018424784764647484,
-0.0025633876211941242,
-0.03591996431350708,
0.03919217735528946,
0.003102558897808194,
-0.026512354612350464,
0.025173721835017204,
0.07697135210037231,
-0.005586930084973574,
-0.023742130026221275,
-0.0072137401439249516,
-0.07503776997327805,
0.05064491927623749,
-0.01697460003197193,
0.03915499150753021,
0.012410235591232777,
0.033763278275728226,
0.0393037274479866,
-0.016110066324472427,
-0.04064236208796501,
-0.014464664272964,
0.025973182171583176,
-0.015384973958134651,
0.01357224304229021,
0.047707363963127136,
-0.017104744911193848,
0.02301703579723835,
0.03134630247950554,
0.008371098898351192,
0.028985105454921722,
-0.03577122837305069,
0.019967930391430855,
-0.04198099300265312,
-0.015747521072626114,
-0.049231916666030884,
-0.06075902655720711,
-0.006307374686002731,
-0.07362476736307144,
0.030546842142939568,
-0.012391643598675728,
0.004073997028172016,
0.010671873576939106,
0.002036998514086008,
-0.044769808650016785,
-0.02470891922712326,
0.006167933810502291,
-0.04019615054130554,
0.042947784066200256,
0.045327574014663696,
0.02822282910346985,
-0.01766250841319561,
0.011155268177390099,
-0.032573383301496506,
0.017550954595208168,
0.03768621385097504,
-0.05696623772382736,
-0.022236168384552002,
-0.018173791468143463,
0.025341050699353218,
0.006144693586975336,
0.010383695363998413,
-0.03532501682639122,
0.05328499898314476,
-0.04212972894310951,
0.03294522687792778,
-0.02857607789337635,
0.055887892842292786,
0.018638594076037407,
-0.0019312557997182012,
-0.009937484748661518,
0.04380302131175995,
0.028538893908262253,
0.057970210909843445,
0.04023333266377449,
-0.011740920133888721,
0.024522997438907623,
0.046368733048439026,
-0.05391712859272957,
0.022533642128109932,
0.010318622924387455,
0.010922866873443127,
0.028390157967805862,
-0.04826512560248375,
-0.029040882363915443,
-0.022291943430900574,
-0.01697460003197193,
-0.09147319942712784,
-0.00523367989808321,
0.006721049081534147,
0.018266752362251282,
0.03662646561861038,
0.015570894815027714,
0.03725859522819519,
-0.04514165222644806,
0.015552302822470665,
0.0005362663068808615,
-0.00404378492385149,
0.0270887091755867,
0.09987683594226837,
-0.00863603688776493,
0.005670594517141581,
-0.04261312633752823,
-0.004127449356019497,
0.0645146369934082,
-0.04956657439470291,
-0.06220921128988266,
-0.0037741991691291332,
0.0037114506121724844,
0.03473006933927536,
-0.051574524492025375,
0.05168607458472252,
0.0452532060444355,
0.06429152935743332,
0.00004433783396962099,
-0.02128797024488449,
0.05640847235918045,
-0.025266682729125023,
-0.009751563891768456,
0.05964349955320358,
-0.03125334158539772,
-0.025768669322133064,
0.028445933014154434,
-0.056036628782749176,
-0.05555323511362076,
-0.003760254941880703,
0.024337077513337135,
-0.023240141570568085,
-0.0014106766320765018,
0.06373376399278641,
0.0003387250762898475,
0.018424784764647484,
-0.07838435471057892,
0.015543007291853428,
0.026568129658699036,
-0.029542868956923485,
-0.0012770458124578,
-0.006832601968199015,
0.032424647361040115,
-0.015663856640458107,
-0.017643915489315987,
-0.04108856990933418,
0.015161869116127491,
0.018424784764647484,
-0.0036858865059912205,
0.03521346300840378,
0.01109019573777914,
0.025266682729125023,
-0.013228288851678371,
-0.0028794535901397467,
0.014827210456132889,
0.004064701031893492,
0.006237654015421867,
-0.005865811835974455,
-0.00022964164963923395,
0.010411583818495274,
0.022905483841896057,
-0.04212972894310951,
0.03367031738162041,
-0.0057077789679169655,
0.03573404252529144,
0.04547630995512009,
0.023091405630111694,
-0.024039603769779205,
0.04142322763800621,
0.009212392382323742,
0.059755053371191025,
-0.02416974864900112,
-0.04153478145599365,
0.01935438998043537,
-0.0056380582973361015,
0.04733552038669586,
0.02099049650132656,
0.014418183825910091,
-0.0033558765426278114,
-0.005837923847138882,
-0.007292756345123053,
-0.05904855206608772,
-0.029877526685595512,
0.028929328545928,
0.004996630363166332,
0.03699830546975136,
-0.03253619745373726,
0.002284505870193243,
0.0541774183511734,
0.06328755617141724,
0.00781333539634943,
0.044323597103357315,
-0.03805805742740631,
-0.004508587531745434,
0.0437658354640007,
-0.05064491927623749,
-0.024932025000452995,
0.0490088127553463,
0.022068839520215988,
0.028947921469807625,
0.010709057562053204,
0.023983826860785484,
-0.07496340572834015,
-0.015933440998196602,
-0.020172443240880966,
0.011489925906062126,
-0.04882289096713066,
0.054549261927604675,
0.03772339969873428,
-0.04767017811536789,
0.026010366156697273,
0.017346441745758057,
-0.029691604897379875,
-0.0407910980284214,
0.017932092770934105,
0.06373376399278641,
0.044732626527547836,
-0.049938417971134186,
0.030621211975812912,
0.013033071532845497,
0.014743546023964882,
-0.02099049650132656,
-0.017588138580322266,
0.01135978102684021,
-0.08738293498754501,
-0.01875944249331951,
-0.00855702068656683,
0.015989217907190323,
0.040753912180662155,
0.023630576208233833,
0.0046457042917609215,
0.06841897964477539,
0.05354528874158859,
-0.004527179524302483,
0.05744963139295578,
-0.0008988124900497496,
-0.016147250309586525,
0.018889587372541428,
-0.02738618291914463,
-0.0009702759562060237,
-0.04049362242221832,
-0.050533365458250046,
-0.02837156504392624,
0.04049362242221832,
0.029040882363915443,
0.00029239003197290003,
-0.02604755200445652,
0.07347603142261505,
-0.03006344847381115,
0.017076855525374413,
0.010448767803609371,
0.024448629468679428,
0.024597367271780968,
0.021715588867664337,
0.062432318925857544,
-0.007562342099845409,
0.045662231743335724,
-0.01016988605260849,
-0.04729833826422691,
0.006730345077812672,
-0.06444026529788971,
-0.024225523695349693,
-0.008389690890908241,
-0.051425784826278687,
0.008278138935565948,
-0.0352320559322834,
-0.03409793600440025,
-0.07477748394012451,
-0.033112555742263794,
0.014148598536849022,
-0.030026262626051903,
0.0013432801933959126,
-0.041200123727321625,
-0.016956007108092308,
-0.01480861846357584,
-0.001980060013011098,
0.01854563318192959,
-0.07942550629377365,
-0.011053011752665043,
-0.03499035909771919,
-0.03045388124883175,
0.02218039147555828,
-0.013609427027404308,
-0.03818820044398308,
-0.03487880527973175,
0.017932092770934105,
0.027572104707360268,
0.014501848258078098,
0.01662134937942028,
0.05205791816115379,
-0.06246950104832649,
0.017876317724585533,
0.007223036140203476,
-0.025043576955795288,
-0.016193730756640434,
-0.0393037274479866,
-0.05655720829963684,
-0.008459411561489105,
-0.015050316229462624,
-0.062432318925857544,
-0.028111275285482407,
0.013191104866564274,
0.013377025723457336,
0.03446977958083153,
-0.00878012552857399,
-0.023556208238005638,
-0.08150782436132431,
0.10173604637384415,
-0.0052941045723855495,
0.04380302131175995,
-0.01597992144525051,
-0.02777661755681038,
-0.02405819483101368,
-0.04514165222644806,
-0.02099049650132656,
-0.015301309525966644,
-0.037277188152074814,
0.05012433975934982,
0.007641358766704798,
-0.03856004402041435,
-0.05536731332540512,
0.05328499898314476,
0.009779451414942741,
-0.007381069008260965,
-0.03833694010972977,
0.021752772852778435,
0.01235445961356163,
0.02013525925576687,
0.06882800161838531,
0.04621999338269234,
0.013702387921512127,
-0.015031724236905575,
0.03235027939081192,
0.00851054023951292,
0.010021149180829525,
0.01175951212644577,
0.034562740474939346,
0.01720700040459633,
-0.021176418289542198,
-0.053656838834285736,
-0.05982942134141922,
-0.06611355394124985,
-0.023630576208233833,
-0.020600061863660812,
0.03967557102441788,
0.042352836579084396,
0.03627321496605873,
0.013469986617565155,
0.06592763215303421,
0.03275930508971214,
0.0638081356883049,
0.001818541088141501,
-0.01054172869771719,
-0.01914987713098526,
-0.04737270623445511,
-0.013637315481901169,
-0.0048943739384412766,
0.0014397267950698733,
0.010011853650212288,
0.007655302993953228,
-0.03746310994029045,
-0.018582817167043686,
-0.04629436135292053,
-0.04510446637868881,
-0.016732903197407722,
0.05982942134141922,
0.02654953859746456,
0.06176299974322319,
-0.02946850098669529,
0.00493620615452528,
0.016658533364534378,
-0.023872273042798042,
0.05369402468204498,
0.022198984399437904,
-0.025043576955795288,
-0.010978642851114273,
0.028836367651820183,
-0.03136489540338516,
0.04450951889157295,
-0.06447745114564896,
-0.009412257932126522,
0.001074275583960116,
-0.01571963168680668,
-0.040902651846408844,
-0.0215296670794487,
-0.03657068684697151,
-0.04465825855731964,
0.04740988835692406,
-0.010318622924387455,
-0.014092822559177876,
-0.00902647152543068,
-0.06284134089946747,
-0.010030445642769337,
0.08002045750617981,
0.03214576467871666,
0.01357224304229021,
-0.05298752337694168,
-0.0322573184967041,
0.032424647361040115,
0.01388830877840519,
0.044137679040431976,
-0.02426270768046379,
0.03811383247375488,
0.0564456582069397,
-0.010337214916944504,
-0.044026125222444534,
0.05815613269805908,
-0.015710335224866867,
-0.017048968002200127,
0.034451186656951904,
0.011573590338230133,
0.03229450061917305,
-0.05938320979475975,
-0.05309907719492912,
0.04012178257107735,
-0.028557486832141876,
0.058862630277872086,
0.0031443911138921976,
0.014920171350240707,
0.052913155406713486,
-0.009495922364294529,
-0.015710335224866867,
-0.030881499871611595,
0.004627112299203873,
-0.01884310692548752,
-0.04056799039244652,
0.05257849767804146,
0.00960282701998949,
-0.014604105614125729,
-0.027813801541924477,
0.010643985122442245,
0.025080760940909386,
0.032127171754837036,
-0.02102768048644066,
-0.06626228988170624,
-0.018192382529377937,
-0.04186943918466568,
-0.016705013811588287,
-0.06001534312963486,
-0.005280160345137119,
0.01572892814874649,
-0.005373120773583651,
-0.023147180676460266,
-0.019280022010207176,
-0.0445467047393322,
0.025341050699353218,
0.03606870025396347,
-0.03856004402041435,
0.0168723426759243,
0.027051525190472603,
0.06038718670606613,
0.046405915170907974,
0.00994678121060133,
-0.06354784220457077,
0.058416422456502914,
0.007125427480787039,
0.020804574713110924,
0.07697135210037231,
0.002714448608458042,
0.004492319654673338,
0.015570894815027714,
-0.0334286205470562,
0.04789328575134277,
0.02346324734389782,
-0.05982942134141922,
-0.05837923660874367,
0.021046273410320282,
-0.017829837277531624,
0.012094169855117798,
0.022552233189344406,
0.016835158690810204,
0.01014199759811163,
-0.06700597703456879,
-0.060052525252103806,
-0.015013131313025951,
-0.005810035392642021,
-0.01825745590031147,
-0.08396198600530624,
-0.09258872270584106,
-0.011917544528841972,
0.08931651711463928,
0.09243998676538467,
-0.022645194083452225,
-0.037277188152074814,
0.05625973641872406,
0.072806715965271,
-0.0323316864669323,
0.0054242489859461784,
-0.03448837250471115,
0.03184828907251358,
-0.024522997438907623,
-0.037184227257966995,
-0.036031514406204224,
0.08470567315816879,
0.004404006991535425,
0.04633154720067978,
-0.02286829985678196,
-0.06354784220457077,
-0.018917474895715714,
0.0052941045723855495,
0.00962141901254654,
0.03056543506681919,
-0.04737270623445511,
0.08054103702306747,
0.03761184588074684,
0.04395175725221634,
0.04952939227223396,
-0.04123730957508087,
0.04027051851153374,
-0.036793794482946396,
-0.04361709952354431,
-0.033856239169836044,
-0.033763278275728226,
-0.04053080826997757,
0.059308841824531555,
0.05815613269805908,
-0.04160914942622185,
-0.025341050699353218,
-0.06191173940896988,
-0.028297197073698044,
0.011861768551170826,
-0.03874596580862999,
0.05295034125447273,
-0.0013630343601107597,
-0.0831439346075058,
0.012744894251227379,
0.02837156504392624,
0.054846733808517456,
-0.018889587372541428,
0.04529038816690445,
0.029747381806373596,
-0.05354528874158859,
0.023147180676460266,
-0.002956146141514182,
0.009481977671384811,
0.03188547492027283,
-0.04172070324420929,
-0.0009551698458380997,
-0.04811638966202736,
-0.007367125246673822,
0.030788540840148926,
-0.002707476494833827,
-0.00863603688776493,
-0.0051918476819992065,
-0.05979223921895027,
0.04748426005244255,
0.036198846995830536,
-0.0076274145394563675,
0.04469544067978859,
-0.03433963283896446,
-0.010653281584382057,
0.0040158964693546295,
0.0102163664996624,
0.005782147403806448,
0.0816565603017807,
0.017281370237469673,
-0.05406586825847626,
-0.031234750524163246,
0.011220340617001057,
0.030230777338147163,
-0.014232262969017029,
-0.05759836733341217,
0.07076158374547958,
0.03380046412348747,
-0.011118084192276001,
0.013637315481901169,
-0.00651188800111413,
0.04644310101866722,
0.05328499898314476,
-0.05789584293961525,
-0.02346324734389782,
-0.05551605299115181,
0.02435566857457161,
0.027274630963802338,
0.04662902280688286,
-0.05674313008785248,
0.035492345690727234,
-0.026159103959798813,
-0.0004433057038113475,
0.012875039130449295,
-0.050682101398706436,
-0.02351902425289154,
-0.03536219894886017,
0.030230777338147163,
0.00868251733481884,
-0.02866903878748417,
-0.04331962391734123,
0.029189618304371834,
-0.006762881297618151,
-0.01890818029642105,
0.0174579955637455,
-0.06663413345813751,
0.08775477856397629,
0.02584303729236126,
0.032127171754837036,
-0.0029933303594589233,
0.06767529249191284,
0.00843617133796215,
0.002828325377777219,
-0.014622697606682777,
-0.030769947916269302,
0.00907759927213192,
-0.037630438804626465,
-0.0037486348301172256,
-0.029542868956923485,
-0.0222733523696661,
0.0005641544703394175,
-0.010318622924387455,
-0.025266682729125023,
0.0504961796104908,
-0.010049037635326385,
-0.007232332136482,
0.024615958333015442,
-0.07091031968593597,
-0.020953312516212463,
-0.02738618291914463,
0.020600061863660812,
-0.04335680976510048,
-0.007311348803341389,
-0.01731855422258377,
0.02738618291914463,
0.015886960551142693,
-0.05938320979475975,
-0.022068839520215988,
-0.04365428164601326,
-0.08217713981866837,
-0.011034419760107994,
0.030100632458925247,
0.03279648721218109,
0.025322459638118744,
0.049975600093603134,
-0.045959703624248505,
0.027553511783480644,
0.008821957744657993,
-0.005577634088695049,
-0.042092546820640564,
0.0033884127624332905,
-0.012307979166507721,
-0.0008784773526713252,
-0.009110135957598686,
0.0504961796104908,
0.01054172869771719,
0.009974668733775616,
-0.05373120680451393,
-0.07697135210037231,
-0.009128727950155735,
0.026828419417142868,
-0.0016454020515084267,
-0.06949732452630997,
0.027758026495575905,
0.03253619745373726,
-0.04789328575134277,
0.038225386291742325,
-0.04833949729800224,
0.011620070785284042,
-0.05875108018517494,
-0.0018417813116684556,
-0.0018568873638287187,
-0.022440681234002113,
-0.036347582936286926,
-0.05064491927623749,
0.056780315935611725,
0.0360129252076149,
-0.026605315506458282,
-0.029245395213365555,
-0.03476725146174431,
-0.02247786521911621,
-0.039564017206430435,
0.007618118543177843,
-0.01939157396554947,
-0.016398243606090546,
-0.013860420323908329,
0.04908318072557449,
-0.003369820537045598,
0.019782008603215218,
-0.012131353840231895,
0.011471333913505077,
0.035622488707304,
0.05086802318692207,
0.031866881996393204,
-0.03779776766896248,
0.021789956837892532,
0.01240094006061554,
0.00016326199693139642,
-0.017811244353652,
-0.02693997323513031,
0.0032582678832113743,
-0.031234750524163246,
-0.02803690731525421,
0.006358502898365259,
-0.017420809715986252,
0.02530386671423912,
0.08872156590223312,
0.03528783097863197,
0.00843617133796215,
0.04666620492935181
] |
23,222 | flask_cognito_auth.cognito_auth_manager | CognitoAuthManager |
An object used to hold Flask AWS Cognito settings and callback functions
for the authentication with AWS Cognito using OAuth2 JWT token.
Instances of :class:`CognitoAuthManager` are *not* bound to specific apps, so
you can create one in the main body of your code and then bind it
to your application.
Lazy initalization is supported for configuring the application.
| class CognitoAuthManager(object):
"""
An object used to hold Flask AWS Cognito settings and callback functions
for the authentication with AWS Cognito using OAuth2 JWT token.
Instances of :class:`CognitoAuthManager` are *not* bound to specific apps, so
you can create one in the main body of your code and then bind it
to your application.
Lazy initalization is supported for configuring the application.
"""
def __init__(self, app=None):
"""
Create the CognitoAuthManager instance. You can either pass a flask
application in directly to register the extension with the flask app,
or call init_app (lazy initalization) after creating the object
(in a factory pattern).
:param app: A flask application
"""
if app is not None:
self.init(app)
self.jwt_key = None
def init(self, app):
"""
Register this extension with the flask app.
:param app: A flask application
"""
# Save this so we can use it later in the extension
if not hasattr(app, 'extensions'): # pragma: no cover
app.extensions = {}
app.extensions['cognito-flask-auth'] = self
| (app=None) | [
0.015407525934278965,
-0.06409820914268494,
0.005108620040118694,
0.043046705424785614,
0.05669388920068741,
-0.031885776668787,
-0.036114223301410675,
0.0008977515390142798,
0.022122230380773544,
0.012812383472919464,
0.035333868116140366,
0.0029966640286147594,
0.00972724799066782,
0.013202561996877193,
0.013102748431265354,
-0.034771282225847244,
0.06003309413790703,
-0.03417240455746651,
0.029762476682662964,
-0.05952495336532593,
0.03738457337021828,
0.03184948116540909,
-0.02259407564997673,
0.0063880435191094875,
-0.027911394834518433,
-0.0021811448968946934,
-0.006660261657088995,
0.06921590864658356,
0.024608487263321877,
-0.005371763836592436,
-0.024735521525144577,
-0.03985268250107765,
0.050487324595451355,
0.01621510460972786,
0.04057859629392624,
-0.06972404569387436,
0.05208433419466019,
0.06362636387348175,
-0.017421936616301537,
-0.023973312228918076,
-0.01685027964413166,
-0.004509740974754095,
0.04007045552134514,
-0.024880703538656235,
0.02092447318136692,
0.0657678171992302,
-0.0001604950666660443,
0.06464264541864395,
-0.005879903677850962,
-0.014599946327507496,
0.03673125058412552,
-0.01662343181669712,
0.008710968308150768,
0.022358153015375137,
0.017058979719877243,
0.04885401576757431,
0.026532158255577087,
0.027239924296736717,
-0.01723138429224491,
0.011197224259376526,
-0.04242967814207077,
-0.05477021634578705,
0.031232452020049095,
-0.019037095829844475,
0.017186015844345093,
0.014463837258517742,
-0.06311822682619095,
0.010879636742174625,
0.004101414233446121,
0.006315452512353659,
0.032393913716077805,
-0.052483588457107544,
0.018329329788684845,
-0.022122230380773544,
-0.01702268421649933,
-0.021269282326102257,
-0.021722977980971336,
0.003815585747361183,
-0.0011796103790402412,
0.01203202549368143,
0.03716680034995079,
-0.01300293579697609,
-0.023447023704648018,
0.02477181702852249,
0.05179396644234657,
0.03409981355071068,
-0.03504350036382675,
-0.08427862077951431,
-0.028909526765346527,
0.033936481922864914,
-0.03843715041875839,
0.0151171600446105,
0.0035025354009121656,
0.020180411636829376,
-0.013719775713980198,
-0.04475260153412819,
-0.016432879492640495,
0.020271150395274162,
-0.03818307816982269,
0.03273872286081314,
0.019527088850736618,
-0.007472377736121416,
-0.024427007883787155,
0.0609767809510231,
0.013084600679576397,
-0.03400907292962074,
-0.020652255043387413,
0.011351481080055237,
0.02446330338716507,
-0.022031491622328758,
-0.042720042169094086,
-0.0033641578629612923,
-0.011024819687008858,
-0.0004508606798481196,
0.007848945446312428,
-0.01990819349884987,
0.04936215654015541,
0.037203095853328705,
0.022303709760308266,
-0.04134080559015274,
-0.025443287566304207,
0.006873498670756817,
0.03243020921945572,
0.022557780146598816,
-0.0018147851806133986,
0.003865492297336459,
0.041631169617176056,
-0.008887910284101963,
-0.03880010545253754,
-0.062428608536720276,
0.027366960421204567,
-0.027512142434716225,
-0.03865492343902588,
-0.046639978885650635,
0.024118494242429733,
0.0019452228443697095,
0.02573365345597267,
0.005172137636691332,
-0.03422684967517853,
0.10032132267951965,
-0.016959168016910553,
0.054479848593473434,
-0.053136907517910004,
0.026550306007266045,
0.01563437469303608,
-0.0019384174374863505,
-0.03426314517855644,
0.03484387323260307,
0.046712569892406464,
-0.049398452043533325,
0.01361088827252388,
-0.012059247121214867,
0.08485935628414154,
0.03985268250107765,
-0.06130344420671463,
0.029199892655014992,
0.010562049224972725,
-0.012113691307604313,
0.005966105964034796,
-0.025842539966106415,
-0.029943954199552536,
0.04010675102472305,
-0.07317213714122772,
-0.006401654798537493,
-0.007436082232743502,
-0.017421936616301537,
0.01826581172645092,
0.015026421286165714,
-0.040288232266902924,
-0.0206159595400095,
-0.007032292429357767,
-0.04576888307929039,
0.04500667005777359,
0.002758473390713334,
0.03330130875110626,
0.08798078447580338,
-0.0206159595400095,
-0.05611315742135048,
0.002116493182256818,
-0.010680010542273521,
0.046385910362005234,
0.014554576948285103,
0.012313317507505417,
0.04598665609955788,
0.00299212709069252,
0.04391780123114586,
0.022376300767064095,
0.06261008977890015,
0.05121323838829994,
0.037965305149555206,
0.025062182918190956,
0.006220175884664059,
-0.021487055346369743,
0.005290098953992128,
0.006451561115682125,
0.05092287063598633,
-0.0027357887011021376,
0.026731785386800766,
-0.06268268078565598,
-0.02542513981461525,
-0.05727462098002434,
0.03157726302742958,
-0.022648518905043602,
-0.02388257347047329,
0.029962103813886642,
0.014645316638052464,
0.010689084418118,
0.020579664036631584,
-0.057673871517181396,
-0.040868960320949554,
0.002166399732232094,
-0.019037095829844475,
-0.030923938378691673,
0.051068052649497986,
0.02246703952550888,
0.0011268681846559048,
0.06319081783294678,
0.012204430066049099,
0.04892660677433014,
0.008388844318687916,
0.06634854525327682,
-0.01869228668510914,
0.002418201183900237,
0.008465972729027271,
0.049144383519887924,
0.037130504846572876,
0.019472645595669746,
-0.03858233243227005,
-0.02170483022928238,
0.002436349168419838,
0.012621831148862839,
0.027239924296736717,
0.08275420218706131,
0.03426314517855644,
-0.020652255043387413,
0.007218307815492153,
0.07393434643745422,
-0.017803043127059937,
-0.03166799992322922,
-0.011251667514443398,
0.011542033404111862,
0.058581266552209854,
0.0026110222097486258,
0.010734453797340393,
-0.048563651740550995,
0.017567120492458344,
-0.004194422159343958,
0.03883640095591545,
0.024045903235673904,
-0.006651187781244516,
0.011641846969723701,
0.0425022691488266,
0.010689084418118,
-0.01126981619745493,
-0.060831598937511444,
-0.03756605088710785,
-0.0030715239699929953,
0.0346623957157135,
-0.021795568987727165,
0.03197651356458664,
0.03665865957736969,
-0.011206298135221004,
0.0038133172784000635,
0.007086736150085926,
-0.0018919134745374322,
0.009214571677148342,
0.006070456467568874,
0.013892180286347866,
-0.025279957801103592,
0.031159861013293266,
0.09211849421262741,
0.050487324595451355,
0.014835868962109089,
-0.027820656076073647,
-0.0036817453801631927,
-0.0619930624961853,
-0.045224446803331375,
0.015407525934278965,
-0.03948972374200821,
-0.047402188181877136,
-0.016913797706365585,
-0.06061382591724396,
0.010353349149227142,
0.06522338092327118,
-0.00804403517395258,
-0.02105150744318962,
0.006537763401865959,
0.03458980470895767,
0.0008444422273896635,
0.026731785386800766,
-0.009790766052901745,
0.0016979583306238055,
0.033736854791641235,
0.003761142259463668,
-0.028873231261968613,
-0.029962103813886642,
-0.06090418994426727,
0.024027755483984947,
0.023356284946203232,
0.006714704912155867,
0.020271150395274162,
0.07364398241043091,
0.005757405888289213,
0.006760074757039547,
0.04166746884584427,
0.0019316119141876698,
0.032393913716077805,
-0.01117000263184309,
-0.027748065069317818,
0.06384414434432983,
-0.017294902354478836,
0.008098478429019451,
-0.030724313110113144,
0.025661062449216843,
-0.012930343858897686,
0.04685775190591812,
0.02772991731762886,
-0.012875900603830814,
0.011750733479857445,
0.03584200516343117,
-0.006601280998438597,
0.008343474939465523,
0.011414998210966587,
-0.012884974479675293,
0.05426207557320595,
-0.05128582939505577,
-0.01791192963719368,
0.05255617946386337,
-0.010716306045651436,
0.0028038430027663708,
-0.09400586783885956,
0.015416599810123444,
-0.014273284934461117,
-0.0012397251557558775,
0.007690152153372765,
0.021777421236038208,
-0.018274886533617973,
0.001558446791023016,
-0.001669602352194488,
-0.07607579231262207,
-0.043808914721012115,
-0.06344489008188248,
-0.0369308777153492,
0.009700026363134384,
-0.11701734364032745,
-0.03266613185405731,
0.013529223389923573,
-0.02780250832438469,
-0.03825567290186882,
-0.08609341084957123,
0.02132372558116913,
0.013257005251944065,
0.049325861036777496,
0.009078462608158588,
-0.009527621790766716,
-0.02921804040670395,
-0.02907285839319229,
-0.01989004574716091,
0.011732585728168488,
-0.03883640095591545,
-0.039380837231874466,
-0.031087270006537437,
-0.010289832018315792,
0.01123351976275444,
0.00804403517395258,
0.02555217407643795,
-0.017113424837589264,
-0.03992527350783348,
0.004493861924856901,
-0.0713573545217514,
-0.01409180648624897,
-0.04845476523041725,
-0.03279316797852516,
0.018429143354296684,
0.04569628834724426,
-0.004053776152431965,
-0.01740378886461258,
-0.011832399293780327,
-0.06373525410890579,
0.06772778183221817,
-0.01094315480440855,
0.05654870718717575,
0.06994181871414185,
0.038110487163066864,
-0.004786496050655842,
-0.018710434436798096,
-0.007245529908686876,
-0.002406858839094639,
0.006705631036311388,
0.019273018464446068,
-0.05879903957247734,
-0.0035819322802126408,
-0.04925327003002167,
0.03286575898528099,
-0.021033359691500664,
-0.0169500932097435,
-0.08050386607646942,
0.0018238590564578772,
0.021341873332858086,
0.04036082327365875,
0.023773685097694397,
-0.0073090470395982265,
0.13037416338920593,
-0.03331945464015007,
0.03308353200554848,
0.06184787675738335,
-0.03132319077849388,
0.018710434436798096,
0.0007882973295636475,
0.019472645595669746,
-0.06903442740440369,
-0.03480757772922516,
-0.0169500932097435,
-0.046894047409296036,
0.00972724799066782,
-0.03959861025214195,
-0.0073090470395982265,
0.04449853301048279,
0.012231651693582535,
0.059416066855192184,
0.03208540007472038,
-0.02811102196574211,
-0.028455831110477448,
0.008039497770369053,
-0.03807419165968895,
0.002919535618275404,
0.06373525410890579,
-0.01649639755487442,
-0.01727675460278988,
-0.04518815129995346,
-0.030724313110113144,
0.07542247325181961,
-0.0264414194971323,
-0.05128582939505577,
-0.01386495865881443,
-0.010734453797340393,
0.01267627440392971,
-0.007100346963852644,
-0.040542300790548325,
0.013837737031280994,
-0.01245850045233965,
0.02312036231160164,
-0.04533333331346512,
-0.014001067727804184,
0.035206831991672516,
0.021142246201634407,
-0.07306324690580368,
0.07244621962308884,
0.054987989366054535,
-0.01714972034096718,
0.023646650835871696,
0.004700293764472008,
-0.012776087038218975,
0.00003952120096073486,
0.007091273088008165,
-0.008769948966801167,
0.04264745116233826,
-0.027893247082829475,
0.01894635707139969,
0.004772884771227837,
-0.037130504846572876,
-0.02716733328998089,
0.05455244332551956,
-0.048309579491615295,
0.0006380103877745569,
-0.020398184657096863,
0.04711182415485382,
0.02555217407643795,
-0.03551534563302994,
0.002642780775204301,
0.046059247106313705,
-0.026278089731931686,
0.019091539084911346,
-0.030270615592598915,
0.04994288831949234,
0.031994663178920746,
0.03172244504094124,
-0.02876434475183487,
0.002787963720038533,
-0.022866293787956238,
0.004362289793789387,
0.02772991731762886,
-0.013420335948467255,
0.01020816620439291,
0.009355217218399048,
0.000513243954628706,
0.020398184657096863,
-0.06086789444088936,
0.017875634133815765,
-0.024427007883787155,
-0.027693621814250946,
0.054733920842409134,
-0.021087802946567535,
0.03261169046163559,
-0.039199359714984894,
0.009963170625269413,
0.0407237783074379,
-0.04899919778108597,
0.0030397651717066765,
-0.02393701672554016,
-0.017957299947738647,
0.038872696459293365,
0.044643715023994446,
-0.028473978862166405,
0.040215637534856796,
-0.017893781885504723,
-0.14677982032299042,
-0.009935948997735977,
-0.05622204393148422,
-0.017058979719877243,
-0.012204430066049099,
0.013429409824311733,
0.026532158255577087,
-0.03368241339921951,
0.008506805635988712,
-0.03876380994915962,
0.007957832887768745,
0.04101414605975151,
0.016451027244329453,
0.005326394457370043,
-0.005439818371087313,
-0.02079743705689907,
0.04290151968598366,
0.02702215127646923,
-0.009046703577041626,
-0.008302642032504082,
0.03255724534392357,
0.023646650835871696,
-0.0033641578629612923,
0.04758366569876671,
0.003672671504318714,
0.04507926478981972,
-0.03564238175749779,
-0.01692287065088749,
-0.04801921546459198,
-0.025570323690772057,
-0.06420709937810898,
-0.01568881794810295,
0.05469762533903122,
-0.03974379599094391,
0.00475020008161664,
0.020488925278186798,
0.01636936143040657,
0.05360875278711319,
-0.11135521531105042,
-0.00793061126023531,
-0.042720042169094086,
-0.028528422117233276,
-0.008502268232405186,
-0.02420923486351967,
0.017186015844345093,
0.020325593650341034,
0.05662129819393158,
-0.014717907644808292,
-0.009536695666611195,
-0.030778756365180016,
0.013892180286347866,
-0.043554842472076416,
-0.033936481922864914,
0.015398452058434486,
-0.010262610390782356,
0.06689298152923584,
-0.044389646500349045,
-0.03197651356458664,
0.029562849551439285,
0.0014404857065528631,
0.01392847578972578,
0.025134773924946785,
-0.05208433419466019,
0.008456898853182793,
0.032956499606370926,
0.017957299947738647,
0.0006964238127693534,
0.019273018464446068,
-0.09981318563222885,
0.06290045380592346,
0.0041036829352378845,
0.051648784428834915,
0.013093674555420876,
-0.007272751536220312,
-0.007853482849895954,
0.0017036296194419265,
-0.03449906408786774,
-0.022757405415177345,
-0.015480116941034794,
-0.011832399293780327,
-0.03371870890259743,
0.04293781518936157,
-0.04994288831949234,
-0.0004105951520614326,
-0.05567760765552521,
0.01156018115580082,
-0.031178008764982224,
-0.04268374666571617,
0.04155857861042023,
0.009945022873580456,
-0.06852629035711288,
0.0067827594466507435,
-0.023283693939447403,
0.005271950736641884,
0.016959168016910553,
0.013874032534658909,
-0.0007922671502456069,
-0.052483588457107544,
0.04718441516160965,
-0.0245358943939209,
-0.07723725587129593,
-0.02330184169113636,
-0.06184787675738335,
0.024481451138854027,
-0.05418948456645012,
0.03311982750892639,
0.0035456365440040827,
-0.008987723849713802,
0.0012816920643672347,
0.036114223301410675,
-0.1239861249923706,
0.024608487263321877,
0.05502428486943245,
-0.03433573618531227,
-0.014418467879295349,
-0.0016072191065177321,
-0.023410728201270103,
0.03243020921945572,
-0.034571658819913864,
-0.059924207627773285,
0.0526287704706192,
0.018837470561265945,
-0.06878035515546799,
0.05429837107658386,
0.023138510063290596,
-0.04061489179730415,
0.07346250116825104,
-0.10743527859449387,
0.1006842777132988,
0.005471577402204275,
-0.018147852271795273,
0.010516679845750332,
0.03653162345290184,
0.004713904578238726,
-0.01244942657649517,
-0.05988790839910507,
-0.013102748431265354,
-0.020380036905407906,
0.035406459122896194,
0.022067787125706673,
-0.01489938609302044,
0.0007145716808736324,
0.048962902277708054,
-0.0670381635427475,
-0.008329863660037518,
0.006941553205251694,
0.005820923484861851,
0.027639178559184074,
-0.062428608536720276,
-0.05302802100777626,
-0.026749933138489723,
-0.00966373085975647,
0.059089403599500656,
-0.012394982390105724,
-0.02413664199411869,
-0.013012009672820568,
0.02575180120766163,
0.030833199620246887,
0.006038697436451912,
-0.056839071214199066,
0.013075526803731918,
-0.0024658392649143934,
0.050813984125852585,
0.04036082327365875,
0.05219322070479393,
-0.01171443797647953,
0.008633840829133987,
0.009845209307968616,
-0.030542833730578423,
-0.03676754608750343,
0.007036829367280006,
-0.004137710202485323,
-0.006197491195052862,
0.04809180647134781,
-0.006664798595011234,
0.0057619428262114525,
0.010698158293962479,
0.04115932807326317,
0.029580997303128242,
-0.04359113797545433,
0.062174540013074875,
0.010607419535517693,
-0.002431811997666955,
0.009282626211643219,
-0.01624232716858387,
0.008651988580822945,
0.007104883901774883,
0.016323992982506752,
-0.04624072462320328,
-0.045224446803331375,
-0.017058979719877243,
-0.040977850556373596,
0.002418201183900237,
0.020724846050143242,
0.033664263784885406,
-0.019545236602425575,
0.014246063306927681,
-0.00669202022254467,
0.006819055415689945,
0.005643981974571943,
-0.006986923050135374,
-0.05310061201453209,
0.027820656076073647,
-0.03126874938607216,
-0.025370696559548378,
-0.01748545467853546,
0.03974379599094391,
0.009155591018497944,
0.0028424072079360485,
0.04711182415485382,
-0.03645903244614601,
-0.0009607019019313157,
0.03321056813001633,
-0.004650386981666088,
0.006084067281335592,
-0.04765625670552254,
0.05397171154618263,
-0.03371870890259743,
0.01920042745769024,
-0.01537123043090105,
-0.024753669276833534,
-0.011986656114459038,
0.008819855749607086,
0.004480250645428896,
-0.03685828670859337,
-0.08340752869844437,
-0.06968774646520615,
0.104749396443367,
-0.010117427445948124,
-0.009790766052901745,
-0.010761676356196404,
-0.02085188217461109,
-0.06061382591724396,
-0.01380144152790308,
-0.024408860132098198,
-0.004228449426591396,
0.03531571850180626,
0.015289564616978168,
0.0356786772608757,
0.03880010545253754,
-0.02446330338716507,
-0.06620336323976517,
0.016514545306563377,
0.04787403345108032,
0.030070990324020386,
0.06014198064804077,
0.01521697361022234,
-0.013021083548665047,
0.018783025443553925,
0.04598665609955788,
-0.05426207557320595,
-0.03068801760673523,
-0.046712569892406464,
-0.01578863151371479,
-0.006365358829498291,
0.037275686860084534,
-0.016133440658450127,
-0.08580303937196732,
0.10598345100879669,
0.028002135455608368,
-0.0049407524056732655,
0.016478249803185463
] |
23,223 | flask_cognito_auth.cognito_auth_manager | __init__ |
Create the CognitoAuthManager instance. You can either pass a flask
application in directly to register the extension with the flask app,
or call init_app (lazy initalization) after creating the object
(in a factory pattern).
:param app: A flask application
| def __init__(self, app=None):
"""
Create the CognitoAuthManager instance. You can either pass a flask
application in directly to register the extension with the flask app,
or call init_app (lazy initalization) after creating the object
(in a factory pattern).
:param app: A flask application
"""
if app is not None:
self.init(app)
self.jwt_key = None
| (self, app=None) | [
0.00028765349998138845,
-0.07032642513513565,
0.023442141711711884,
0.042491134256124496,
0.03509119525551796,
-0.03831403702497482,
0.0016575593035668135,
-0.003342125564813614,
0.02171368896961212,
0.015159972012043,
0.03311067447066307,
0.013890638947486877,
0.006630237214267254,
0.016645360738039017,
0.013323490507900715,
-0.013287480920553207,
0.034443024545907974,
-0.0006751769105903804,
0.031886354088783264,
-0.07331521064043045,
0.013098431751132011,
0.021947750821709633,
-0.04688428342342377,
0.04947696253657341,
-0.0036617093719542027,
0.013602564111351967,
0.008696278557181358,
0.054230209439992905,
0.023010028526186943,
0.00010992724128300324,
-0.012054158374667168,
-0.013629570603370667,
0.0696062371134758,
0.040186528116464615,
0.02659296803176403,
-0.08058911561965942,
0.042743198573589325,
0.028897570446133614,
-0.10233881324529648,
-0.0180947408080101,
0.009812571108341217,
0.018130749464035034,
0.05088132992386818,
-0.029329683631658554,
0.008961847983300686,
0.05811922624707222,
0.03433499485254288,
0.04605606570839882,
-0.013134441338479519,
0.000967190891969949,
0.021929746493697166,
-0.002131308428943157,
-0.004332385025918484,
0.021029509603977203,
-0.029275670647621155,
0.08995156735181808,
0.03456905856728554,
0.025116581469774246,
-0.0318683497607708,
0.04850470647215843,
-0.059163499623537064,
-0.03824201971292496,
0.030103886500000954,
-0.030085882171988487,
0.021227560937404633,
0.013485533185303211,
-0.06427683681249619,
0.02742118388414383,
0.012648314237594604,
0.008489224128425121,
0.03903422877192497,
-0.02929367497563362,
0.00618011923506856,
0.010784825310111046,
0.014241731725633144,
-0.04087070748209953,
-0.040330566465854645,
-0.005131344310939312,
-0.022469887509942055,
0.006801282055675983,
0.04688428342342377,
-0.009416467510163784,
-0.04782053083181381,
0.03257053345441818,
0.05163753032684326,
0.03590140491724014,
-0.014205722138285637,
-0.09470481425523758,
-0.04652418941259384,
0.04774850979447365,
-0.0515655092895031,
0.024972543120384216,
-0.00412082951515913,
0.02920365147292614,
-0.010433733463287354,
-0.048576727509498596,
-0.003945283591747284,
0.009587512351572514,
-0.022289840504527092,
0.044291604310274124,
0.030590014532208443,
-0.021749697625637054,
-0.04339136928319931,
0.030247924849390984,
0.016492320224642754,
-0.013917646370828152,
-0.010001620277762413,
-0.01777065545320511,
0.04292324557900429,
-0.021731693297624588,
-0.00812462903559208,
-0.006517707835882902,
-0.007246898487210274,
0.04306728392839432,
0.012702328152954578,
-0.0035424281377345324,
0.04792855679988861,
0.03577537462115288,
0.04497578367590904,
0.005113339517265558,
-0.029815811663866043,
-0.006859797053039074,
0.0016676869709044695,
0.01944509521126747,
0.037773896008729935,
-0.017365550622344017,
0.04868475720286369,
-0.035595327615737915,
-0.029041608795523643,
-0.06164815276861191,
0.06755369901657104,
-0.013494535349309444,
-0.04234709590673447,
-0.04760447144508362,
-0.014331755228340626,
-0.01344052143394947,
0.07410741597414017,
-0.0017847175477072597,
-0.04605606570839882,
0.07662807404994965,
-0.04450765997171402,
0.06946220248937607,
-0.02819538675248623,
0.028879566118121147,
0.025494679808616638,
0.025566698983311653,
-0.061576131731271744,
0.0256747268140316,
0.018364811316132545,
-0.03827802836894989,
0.044291604310274124,
-0.023298103362321854,
0.07936479151248932,
0.0346410758793354,
-0.05106137692928314,
-0.0024193839635699987,
0.013143443502485752,
0.002070542424917221,
0.0013683584984391928,
-0.018454834818840027,
-0.0034343998413532972,
0.045299869030714035,
-0.04108676314353943,
-0.022559911012649536,
-0.008984354324638844,
-0.0378459170460701,
0.016006194055080414,
0.029941845685243607,
-0.035253237932920456,
-0.024504419416189194,
-0.019481103867292404,
-0.06895806640386581,
-0.009425469674170017,
-0.021155543625354767,
0.027979331091046333,
0.07324319332838058,
-0.010748816654086113,
-0.02355016954243183,
-0.015475054271519184,
0.015754127874970436,
0.03586539626121521,
0.02234385348856449,
0.023352118209004402,
0.019769178703427315,
0.005333897657692432,
0.03262454643845558,
0.02997785434126854,
0.06312453746795654,
0.04962100088596344,
0.043319348245859146,
0.040186528116464615,
0.006184620317071676,
-0.0362434946000576,
-0.017698636278510094,
0.009551502764225006,
0.040618643164634705,
-0.0015315262135118246,
0.0012907132040709257,
-0.08843917399644852,
-0.0013638573000207543,
-0.05541852116584778,
0.027475198730826378,
-0.020057255402207375,
-0.028825553134083748,
0.0077330260537564754,
0.011955132707953453,
0.011180929839611053,
0.044147565960884094,
-0.06402477622032166,
-0.023712212219834328,
0.021407607942819595,
-0.03701769933104515,
-0.019373076036572456,
0.05332997068762779,
-0.012900379486382008,
-0.011937127448618412,
0.02133559063076973,
0.015159972012043,
0.04267118126153946,
0.019030986353754997,
0.07770835608243942,
0.003753983648493886,
0.005581462290138006,
-0.015745125710964203,
0.04367944225668907,
0.0395023487508297,
0.0029122629202902317,
-0.04972903057932854,
-0.057759132236242294,
-0.011856106109917164,
0.008138132281601429,
0.026809023693203926,
0.06647341698408127,
0.027439188212156296,
-0.034497037529945374,
-0.03228245675563812,
0.07079454511404037,
-0.012135179713368416,
-0.05513044446706772,
-0.05516645312309265,
0.03581138327717781,
0.046452172100543976,
-0.012036153115332127,
0.02317207120358944,
-0.03393889218568802,
0.05214166268706322,
-0.024072306230664253,
0.04292324557900429,
0.0173205379396677,
-0.0034006410278379917,
0.017644623294472694,
0.017554599791765213,
-0.009042869322001934,
-0.0159071683883667,
-0.0346950888633728,
-0.015159972012043,
0.019373076036572456,
0.010883851908147335,
0.006157613359391689,
0.028681514784693718,
0.026574961841106415,
-0.03402891382575035,
0.018040725961327553,
0.01897697150707245,
-0.011324967257678509,
0.011207936331629753,
0.014007669873535633,
0.013215462677180767,
-0.02581876516342163,
0.014367764815688133,
0.1026989072561264,
0.03156226873397827,
0.03925028443336487,
-0.0347491055727005,
0.004588952288031578,
-0.07576385140419006,
-0.05642678216099739,
0.024000288918614388,
-0.010865846648812294,
-0.0032048397697508335,
0.0159341748803854,
-0.07011036574840546,
0.052537765353918076,
0.07540375739336014,
-0.04396751895546913,
-0.007107362151145935,
-0.0036392034962773323,
0.04299526661634445,
-0.015799138695001602,
0.008471219800412655,
-0.010577771812677383,
0.02018328756093979,
0.017788659781217575,
0.02535064145922661,
-0.018760915845632553,
-0.05487837642431259,
-0.027673250064253807,
0.024126321077346802,
0.019571127369999886,
0.01585315354168415,
0.023208079859614372,
0.0530058890581131,
-0.015051943250000477,
0.002043535467237234,
0.020525377243757248,
0.019949227571487427,
0.000937933218665421,
0.0035536810755729675,
-0.02905961312353611,
0.06420481950044632,
-0.0204173494130373,
0.03523522987961769,
-0.02021929807960987,
0.026682991534471512,
0.013647575862705708,
0.03049999102950096,
0.04706433042883873,
-0.014205722138285637,
0.014979925006628036,
0.0392862930893898,
0.00904737040400505,
-0.004123080056160688,
0.013134441338479519,
-0.01300840824842453,
0.026268882676959038,
-0.03827802836894989,
-0.011487009935081005,
0.018832935020327568,
-0.013341495767235756,
-0.009344448335468769,
-0.09989017248153687,
0.030031869187951088,
-0.00540591636672616,
-0.03049999102950096,
-0.020813453942537308,
-0.003256603144109249,
-0.015628093853592873,
-0.007971588522195816,
-0.02940170280635357,
-0.07144271582365036,
-0.033236708492040634,
-0.08858320862054825,
-0.048576727509498596,
0.04137483984231949,
-0.09902594238519669,
-0.048108603805303574,
0.01481788232922554,
-0.07309915125370026,
-0.010757818818092346,
-0.08491024374961853,
0.01141499076038599,
0.0073369224555790424,
0.07108262181282043,
0.01404367946088314,
0.027529213577508926,
-0.030319944024086,
-0.04522784799337387,
0.01820276863873005,
-0.01356655452400446,
-0.01570911519229412,
-0.03278658911585808,
-0.006643740460276604,
-0.023532165214419365,
0.025980807840824127,
0.0023496155627071857,
0.0007871437119320035,
-0.0001582445838721469,
-0.026953062042593956,
0.0005305765080265701,
-0.05343800038099289,
-0.006918312516063452,
-0.06056786701083183,
-0.05228569731116295,
0.028735529631376266,
0.03282259777188301,
0.008021101355552673,
-0.033092670142650604,
-0.006630237214267254,
-0.08966349065303802,
0.06035181134939194,
-0.04130282253026962,
0.08966349065303802,
0.06420481950044632,
0.03647755831480026,
-0.02162366546690464,
-0.0061666155233979225,
-0.013746601529419422,
-0.0043909004889428616,
0.032408490777015686,
0.03393889218568802,
-0.045731980353593826,
-0.022181810811161995,
-0.04868475720286369,
0.03397490084171295,
-0.004271619021892548,
0.016276264563202858,
-0.09059973806142807,
-0.001971516525372863,
0.021155543625354767,
0.029095623642206192,
0.05221367999911308,
-0.033902883529663086,
0.13417115807533264,
-0.016699375584721565,
0.01795070245862007,
0.06985830515623093,
-0.010658792220056057,
-0.019715165719389915,
-0.00006551326077897102,
-0.008966349065303802,
-0.04965700954198837,
-0.035019174218177795,
-0.038782160729169846,
-0.06067589670419693,
0.00011098220420535654,
-0.050269171595573425,
0.013629570603370667,
0.05459030345082283,
0.020453358069062233,
0.043607424944639206,
0.028501467779278755,
-0.00021957315038889647,
-0.025746745988726616,
0.006580724380910397,
-0.04191498085856438,
0.0021515637636184692,
0.05700293555855751,
-0.029959850013256073,
-0.02110152877867222,
-0.05106137692928314,
-0.041482869535684586,
0.10593975335359573,
0.003274607937783003,
-0.027961326763033867,
-0.002365369815379381,
0.004433661699295044,
0.0026489440351724625,
-0.022379864007234573,
-0.0679498016834259,
0.03242649510502815,
-0.02770926058292389,
0.004789254628121853,
-0.018958967179059982,
-0.034046921879053116,
0.017941700294613838,
0.027961326763033867,
-0.08274967968463898,
0.08382996171712875,
0.04962100088596344,
-0.034046921879053116,
0.040042489767074585,
0.018076736479997635,
0.0034479033201932907,
-0.03190435841679573,
0.0028650006279349327,
-0.022793972864747047,
0.0020851714070886374,
-0.017779657617211342,
0.037773896008729935,
0.0015596586745232344,
-0.06524909287691116,
0.011225941590964794,
0.03953835740685463,
-0.0515655092895031,
0.0052618784829974174,
0.02234385348856449,
0.03462307155132294,
0.023820240050554276,
-0.027061089873313904,
-0.004453917033970356,
0.05102536827325821,
0.006900307722389698,
0.025134585797786713,
-0.03251652047038078,
0.03064402937889099,
0.008349687792360783,
0.03377684950828552,
-0.030950108543038368,
0.001487639732658863,
-0.02871752344071865,
0.0167083777487278,
0.04929691553115845,
-0.005104337353259325,
0.03012189269065857,
0.013242469169199467,
0.013134441338479519,
-0.008043607696890831,
-0.06456491351127625,
0.03595542162656784,
-0.010955870151519775,
-0.0588754266500473,
0.08368592709302902,
-0.04011451080441475,
0.02050737291574478,
-0.02925766631960869,
0.025134585797786713,
0.04328333958983421,
-0.03293062746524811,
0.0055364505387842655,
0.008529734797775745,
-0.008646765723824501,
0.02302803285419941,
0.04367944225668907,
-0.040762681514024734,
0.04767649248242378,
-0.03860211372375488,
-0.13770008087158203,
-0.023568175733089447,
-0.03235447779297829,
-0.018688896670937538,
-0.007093858439475298,
0.010460740886628628,
-0.000025881781766656786,
-0.02245188318192959,
0.02254190668463707,
-0.01763562113046646,
-0.038782160729169846,
0.006013575475662947,
0.0010521506192162633,
0.03827802836894989,
-0.007679011672735214,
-0.011270953342318535,
0.0668335109949112,
0.0008901082328520715,
-0.00002491473060217686,
-0.02153364196419716,
0.02698907069861889,
0.023910265415906906,
0.009335446171462536,
0.055346500128507614,
-0.032750580459833145,
-0.001380736706778407,
-0.050521235913038254,
0.006639239378273487,
-0.03997047245502472,
-0.01858086884021759,
-0.08224555104970932,
-0.0060720909386873245,
0.04097873717546463,
-0.042491134256124496,
-0.009461479261517525,
0.005198861937969923,
0.03874615207314491,
0.017788659781217575,
-0.09002358466386795,
0.0014628833159804344,
-0.06402477622032166,
0.026124844327569008,
-0.012342233210802078,
-0.019913217052817345,
0.023784231394529343,
-0.00999261811375618,
0.027043085545301437,
-0.020057255402207375,
-0.0018916205735877156,
-0.024252353236079216,
0.03509119525551796,
-0.04112277552485466,
0.0005449239979498088,
0.03172431141138077,
-0.010460740886628628,
0.07021839916706085,
-0.03881816938519478,
-0.02452242560684681,
0.018085738644003868,
-0.01720350794494152,
-0.016447309404611588,
0.022001763805747032,
-0.048576727509498596,
0.016699375584721565,
0.027601230889558792,
-0.020633405074477196,
0.00818314403295517,
0.03647755831480026,
-0.09182405471801758,
0.05747105926275253,
-0.018130749464035034,
0.08613456785678864,
-0.010964873246848583,
-0.016375290229916573,
-0.0015506562776863575,
0.023136062547564507,
-0.0379539430141449,
-0.010658792220056057,
-0.02790731191635132,
-0.03377684950828552,
0.002732215914875269,
0.008736789226531982,
-0.028267405927181244,
-0.0000711397296981886,
-0.07641202211380005,
-0.011288957670331001,
-0.004044309724122286,
-0.01725752092897892,
0.021947750821709633,
0.027529213577508926,
-0.039610378444194794,
-0.013899642042815685,
-0.0023766227532178164,
-0.006895806640386581,
0.044435642659664154,
0.03150825574994087,
-0.005896545015275478,
-0.02210979349911213,
0.04321132227778435,
-0.014565816149115562,
-0.09131992608308792,
0.016870420426130295,
-0.0364055372774601,
0.013251472264528275,
-0.0545542947947979,
0.03465908020734787,
-0.002538665197789669,
0.01642930507659912,
0.02572874166071415,
0.01797771081328392,
-0.08901531994342804,
0.03156226873397827,
0.04450765997171402,
-0.04605606570839882,
-0.013854630291461945,
0.00894384365528822,
-0.024126321077346802,
0.03393889218568802,
-0.03647755831480026,
-0.04918888583779335,
0.05711096152663231,
-0.03136421740055084,
-0.05034118890762329,
0.041194792836904526,
0.048144612461328506,
-0.04465169832110405,
0.04180695489048958,
-0.09520894289016724,
0.07597990334033966,
0.036855656653642654,
-0.006621234584599733,
-0.0023743719793856144,
0.057759132236242294,
0.04108676314353943,
-0.013359500095248222,
-0.03492915257811546,
-0.017131488770246506,
-0.012900379486382008,
0.015484056435525417,
0.031112151220440865,
-0.03194036707282066,
-0.013287480920553207,
0.030716046690940857,
-0.05203363299369812,
-0.021443618461489677,
-0.016015196219086647,
0.011081903241574764,
0.0006504204357042909,
-0.051673538982868195,
-0.0574350468814373,
-0.009668532758951187,
0.022992024198174477,
0.04627212509512901,
-0.02949172630906105,
-0.036171477288007736,
-0.0065672206692397594,
0.028951585292816162,
0.050521235913038254,
-0.005095335189253092,
-0.06510505825281143,
0.008552241139113903,
-0.033668819814920425,
0.018814928829669952,
0.04234709590673447,
0.017194505780935287,
0.018688896670937538,
0.00904737040400505,
0.008961847983300686,
-0.01146000251173973,
-0.020399345085024834,
0.003801245940849185,
-0.007944581098854542,
0.01694243960082531,
0.040618643164634705,
-0.00982157327234745,
0.010496750473976135,
0.026863038539886475,
0.02558470331132412,
-0.026628976687788963,
-0.03726976364850998,
0.05286185070872307,
0.02862749993801117,
0.009632524102926254,
-0.017482580617070198,
-0.019427089020609856,
0.00020986748859286308,
0.007494463585317135,
0.012378242798149586,
-0.033902883529663086,
-0.025710735470056534,
-0.02664698101580143,
-0.03611746430397034,
0.015943177044391632,
0.030734052881598473,
0.018157757818698883,
-0.007989592850208282,
-0.014673844911158085,
-0.006778776179999113,
-0.006949821021407843,
0.009929601103067398,
0.0128373634070158,
-0.030427971854805946,
0.0033803856931626797,
-0.03881816938519478,
-0.00801209919154644,
-0.019733170047402382,
0.02337012253701687,
0.0012997154844924808,
0.008079617284238338,
0.0346950888633728,
-0.05869537964463234,
0.018688896670937538,
0.009803568944334984,
-0.029473721981048584,
0.0005041320691816509,
-0.03293062746524811,
0.04015051946043968,
-0.01573612354695797,
0.05473434180021286,
-0.031544264405965805,
-0.025512684136629105,
0.0018882447620853782,
0.0025904288049787283,
0.0136115662753582,
-0.025026556104421616,
-0.0652851015329361,
-0.047136351466178894,
0.07119065523147583,
-0.0057705119252204895,
-0.022523900493979454,
-0.004748743958771229,
0.0054419259540736675,
-0.04126681014895439,
-0.007548477500677109,
-0.015213985927402973,
0.01201814878731966,
0.003344376338645816,
0.030824076384305954,
0.032120414078235626,
0.05275382101535797,
-0.01892295852303505,
-0.07252299785614014,
-0.0066122324205935,
0.018994975835084915,
0.021605661138892174,
0.05055724456906319,
0.020309321582317352,
-0.000371628615539521,
0.007782538887113333,
0.045299869030714035,
-0.06841792911291122,
-0.007278406992554665,
-0.015213985927402973,
-0.019103005528450012,
-0.03426297754049301,
-0.010685799643397331,
-0.003627950558438897,
-0.08901531994342804,
0.05959561467170715,
0.03442502021789551,
0.02340613305568695,
-0.008835814893245697
] |
23,224 | flask_cognito_auth.cognito_auth_manager | init |
Register this extension with the flask app.
:param app: A flask application
| def init(self, app):
"""
Register this extension with the flask app.
:param app: A flask application
"""
# Save this so we can use it later in the extension
if not hasattr(app, 'extensions'): # pragma: no cover
app.extensions = {}
app.extensions['cognito-flask-auth'] = self
| (self, app) | [
-0.023220347240567207,
-0.04675495624542236,
0.03151332959532738,
0.02929604798555374,
0.046545449644327164,
0.020042825490236282,
0.026293115690350533,
0.006018958520144224,
0.021264949813485146,
0.023604443296790123,
0.04476463794708252,
-0.0016869669780135155,
0.00836718175560236,
0.014944825321435928,
0.0013301505241543055,
-0.04259973391890526,
0.05841750651597977,
-0.008144580759108067,
0.0048972237855196,
-0.06795006990432739,
0.016498668119311333,
0.022783875465393066,
-0.028388183563947678,
0.009235762059688568,
0.0014087156159803271,
0.024302799254655838,
0.001428356859833002,
0.06578516215085983,
0.0053336964920163155,
0.011566526256501675,
-0.014429787173867226,
-0.04263465106487274,
0.05024673789739609,
0.034830521792173386,
0.03348618373274803,
-0.0758414939045906,
0.03851434960961342,
0.05345917493104935,
-0.0598142184317112,
-0.006669302936643362,
-0.0025184473488479853,
-0.002538088709115982,
0.020584052428603172,
-0.03743189945816994,
0.0075728013180196285,
0.037501733750104904,
0.031164150685071945,
0.05426228418946266,
-0.027689827606081963,
0.0031033209525048733,
-0.01852390170097351,
-0.012945780530571938,
0.03414962440729141,
0.01936192810535431,
0.005957852117717266,
0.08177752047777176,
0.04413611814379692,
0.04162203520536423,
-0.022783875465393066,
0.05436703935265541,
-0.039387296885252,
-0.08282505720853806,
0.006590737495571375,
-0.017415260896086693,
0.019222257658839226,
0.05265606567263603,
-0.0712672621011734,
0.002727954415604472,
-0.007463682908564806,
-0.0075291539542376995,
0.01011743675917387,
-0.03509240597486496,
0.01221250556409359,
-0.013469547033309937,
0.0017066082218661904,
-0.002697401214390993,
-0.014063150621950626,
-0.002494441345334053,
-0.01831439509987831,
0.040190406143665314,
0.04909444972872734,
-0.014586917124688625,
-0.04284416139125824,
0.0456375852227211,
0.03823500871658325,
0.019344469532370567,
-0.015686828643083572,
-0.08338374644517899,
-0.022364860400557518,
0.032979875802993774,
-0.03034358099102974,
0.0066474792547523975,
0.025053532794117928,
0.005215848796069622,
-0.006324489135295153,
-0.05436703935265541,
-0.002057968871667981,
0.03509240597486496,
0.005962217226624489,
0.014944825321435928,
0.019571436569094658,
-0.020269792526960373,
-0.018803244456648827,
0.02444247156381607,
0.011776032857596874,
-0.04357743263244629,
-0.030483253300189972,
-0.00868144165724516,
-0.010353132151067257,
-0.04249498248100281,
-0.004129031673073769,
0.032456111162900925,
0.02194584719836712,
0.012718814425170422,
0.004565504379570484,
-0.03079751320183277,
0.08184736222028732,
0.024198045954108238,
0.0460565984249115,
-0.019222257658839226,
-0.03662879019975662,
0.021474456414580345,
0.029680144041776657,
0.03680337592959404,
0.01598362997174263,
0.007223622873425484,
0.04249498248100281,
0.008301710709929466,
-0.07849524915218353,
-0.08666601777076721,
0.05670653283596039,
-0.025437628850340843,
-0.0752129778265953,
-0.06550582498311996,
0.015267814509570599,
-0.023098135367035866,
0.08680568635463715,
-0.012945780530571938,
-0.05471621826291084,
0.08813256770372391,
-0.06889285147190094,
0.07933327555656433,
-0.0447995588183403,
0.03582567721605301,
0.02217281237244606,
-0.0071581522934138775,
-0.040749091655015945,
0.04263465106487274,
0.049478545784950256,
-0.03509240597486496,
0.011278454214334488,
0.029540471732616425,
0.07297823578119278,
0.024913862347602844,
-0.06302665919065475,
0.036105021834373474,
0.00005626405982184224,
0.020392004400491714,
0.044520214200019836,
-0.04280924052000046,
0.0017655320698395371,
0.05066575109958649,
-0.07060382515192032,
0.007472412660717964,
-0.001919388654641807,
-0.02110781893134117,
0.008808018639683723,
0.017677145078778267,
-0.025751888751983643,
0.02809138223528862,
0.018000133335590363,
-0.05070066824555397,
0.050316572189331055,
-0.03613993898034096,
0.043961528688669205,
0.06246797367930412,
0.013347335159778595,
-0.03613993898034096,
0.01307672169059515,
0.02173634059727192,
0.046126432716846466,
0.011776032857596874,
0.005032530054450035,
0.07514313608407974,
0.01627170294523239,
0.00345686380751431,
0.025001155212521553,
0.04270448908209801,
0.03366077318787575,
0.03472576662898064,
-0.002939643571153283,
0.0049234121106565,
-0.013687783852219582,
-0.006066970527172089,
0.0027890605852007866,
0.026101067662239075,
-0.015486051328480244,
0.007987449876964092,
-0.08540897816419601,
-0.03268307447433472,
-0.060966506600379944,
0.01286721508949995,
-0.020828476175665855,
-0.04567250236868858,
0.049897558987140656,
0.03613993898034096,
0.03725731000304222,
0.010990382172167301,
-0.03369569033384323,
-0.031914882361888885,
0.02281879261136055,
-0.021334785968065262,
-0.010510262101888657,
0.03463847190141678,
-0.0035223346203565598,
-0.016428831964731216,
0.03467338904738426,
-0.00648161955177784,
0.06829924881458282,
0.04155220091342926,
0.05929045006632805,
-0.014403599314391613,
-0.005682874470949173,
0.006149900145828724,
0.019833318889141083,
0.02592647820711136,
0.02121257223188877,
-0.04183154180645943,
-0.020915770903229713,
0.023656820878386497,
-0.010414238087832928,
0.05143394321203232,
0.0775175541639328,
0.006184818223118782,
-0.018000133335590363,
0.04909444972872734,
0.06264255940914154,
0.024896401911973953,
-0.01798267476260662,
-0.00637686625123024,
0.018558818846940994,
0.08282505720853806,
-0.02023487351834774,
0.02840564213693142,
-0.03673354163765907,
0.03652403503656387,
-0.02121257223188877,
0.015870146453380585,
0.008615970611572266,
-0.004705175757408142,
-0.0019084768136963248,
-0.00645543122664094,
-0.00014621835725847632,
-0.029645225033164024,
-0.05639227107167244,
-0.01796521618962288,
0.0383397601544857,
0.04176170751452446,
-0.010850710794329643,
0.0294880960136652,
0.03613993898034096,
-0.04284416139125824,
0.01871594972908497,
0.019658729434013367,
-0.030203910544514656,
0.008009273558855057,
0.0003663642564788461,
0.03607010468840599,
-0.004380003549158573,
0.00990793015807867,
0.10070297867059708,
0.03984122723340988,
0.008659617975354195,
-0.010326944291591644,
0.026939094066619873,
-0.059884052723646164,
-0.03132127970457077,
0.029313506558537483,
-0.016498668119311333,
-0.018157264217734337,
0.029243670403957367,
-0.051294270902872086,
0.008594146929681301,
0.07947295159101486,
-0.05297032743692398,
-0.024372635409235954,
-0.009331786073744297,
0.03757156804203987,
-0.031478412449359894,
-0.029942026361823082,
-0.016018547117710114,
0.027078766375780106,
0.016446290537714958,
0.06121093034744263,
-0.00299856741912663,
0.0007043578079901636,
-0.01658596284687519,
0.03694304823875427,
-0.0025184473488479853,
0.01179349236190319,
0.032124388962984085,
0.023098135367035866,
-0.008602877147495747,
0.007987449876964092,
0.021230032667517662,
-0.007799766957759857,
0.004486939404159784,
0.02744540385901928,
-0.01840168796479702,
0.05499555915594101,
-0.004993247799575329,
0.013958396390080452,
-0.05908094346523285,
0.04507889971137047,
-0.026345491409301758,
0.04179662466049194,
0.027183519676327705,
-0.04469480365514755,
0.002335128840059042,
0.010030142962932587,
-0.008917137049138546,
0.017031164839863777,
0.01871594972908497,
-0.010204731486737728,
0.02746286243200302,
-0.026240738108754158,
0.03128636255860329,
-0.015145602636039257,
-0.03420200198888779,
0.011383207514882088,
-0.08450111746788025,
0.05705571174621582,
0.003945712931454182,
0.02023487351834774,
-0.047942161560058594,
0.014421057887375355,
-0.010265837423503399,
-0.007677554618567228,
-0.020706264302134514,
-0.05468129739165306,
-0.03648911789059639,
-0.04759298264980316,
-0.041272856295108795,
0.024128209799528122,
-0.05963962897658348,
-0.0402253232896328,
-0.029680144041776657,
-0.03366077318787575,
-0.037082720547914505,
-0.07060382515192032,
0.02367427945137024,
-0.03802550211548805,
0.026293115690350533,
-0.010990382172167301,
-0.014578187838196754,
-0.0262581966817379,
-0.04099351540207863,
0.0010682669235393405,
-0.0020677894353866577,
-0.023499689996242523,
-0.022906087338924408,
-0.004561139736324549,
-0.01119115948677063,
0.024058375507593155,
0.0004203777643851936,
-0.006176088470965624,
0.003234262578189373,
0.0002111436624545604,
0.008358452469110489,
-0.06658827513456345,
0.024494847282767296,
-0.02023487351834774,
0.0007343653123825788,
0.014901177957654,
0.013312417082488537,
-0.01393220853060484,
-0.01276246178895235,
-0.02250453270971775,
-0.0760510042309761,
0.05642718821763992,
-0.006568914279341698,
0.07695886492729187,
0.06634385138750076,
0.02821359410881996,
-0.04549791291356087,
-0.029034163802862167,
-0.020741183310747147,
0.0067173149436712265,
0.04469480365514755,
0.015372568741440773,
-0.03217676654458046,
-0.006712949834764004,
-0.012011728249490261,
0.04046974703669548,
-0.013390982523560524,
-0.020636428147554398,
-0.08240604400634766,
-0.025018615648150444,
0.04518365487456322,
0.04081892594695091,
0.05943012237548828,
0.004174861125648022,
0.1643930822610855,
-0.02023487351834774,
0.04909444972872734,
0.06274731457233429,
-0.007777943275868893,
-0.00027988810325041413,
0.015259085223078728,
0.0038933365140110254,
-0.06142043694853783,
-0.0028523490764200687,
-0.02919129468500614,
-0.06571532785892487,
0.0379207469522953,
-0.06114109605550766,
-0.004814293701201677,
0.037396982312202454,
-0.026939094066619873,
0.04239022731781006,
0.05562407895922661,
0.0011566526954993606,
-0.030745137482881546,
0.025996314361691475,
-0.029313506558537483,
0.01992061361670494,
0.06295682489871979,
-0.0023067581932991743,
-0.00345686380751431,
-0.05394802615046501,
-0.06962612271308899,
0.08268538862466812,
0.028248513117432594,
-0.027794580906629562,
0.0041552199982106686,
-0.01677801087498665,
-0.008166404440999031,
-0.01640264317393303,
-0.07968245446681976,
0.028981786221265793,
-0.017520014196634293,
-0.00292000244371593,
-0.02919129468500614,
-0.035232074558734894,
0.04357743263244629,
0.020496757701039314,
-0.08317423611879349,
0.0758414939045906,
0.02302829921245575,
-0.033835362643003464,
0.02206805907189846,
-0.0038104066625237465,
0.0010895449668169022,
0.0003311736509203911,
0.0019532153382897377,
0.011749844998121262,
0.007057763636112213,
0.0023002109955996275,
0.006835162173956633,
0.0008718541939742863,
-0.06889285147190094,
0.010737228207290173,
0.04218072071671486,
-0.03627961128950119,
0.02369173802435398,
-0.025856642052531242,
0.03802550211548805,
0.009279409423470497,
-0.014263927936553955,
-0.001179567421786487,
0.027742205187678337,
-0.00023146692547015846,
0.046859707683324814,
-0.04197121411561966,
0.040190406143665314,
0.05523998290300369,
0.02734064869582653,
-0.00785650871694088,
-0.0016018548049032688,
-0.009410351514816284,
-0.005416626110672951,
0.030622923746705055,
-0.006774056237190962,
0.010021412745118141,
-0.002983290934935212,
-0.007620813325047493,
-0.009174656122922897,
-0.022469613701105118,
0.028056465089321136,
0.0025991948787122965,
-0.022469613701105118,
0.049897558987140656,
-0.07269889116287231,
0.06072208285331726,
0.01946668140590191,
0.02143953926861286,
0.06854367256164551,
-0.016716904938220978,
0.02917383424937725,
-0.0030269380658864975,
-0.02765491046011448,
0.029994403943419456,
0.028370724990963936,
-0.03823500871658325,
0.010257108137011528,
-0.016743091866374016,
-0.12214251607656479,
-0.0005963307921774685,
-0.02517574466764927,
-0.0006868988857604563,
-0.010152354836463928,
-0.01302434504032135,
0.0034983286168426275,
-0.03142603486776352,
0.05111968144774437,
0.0023940526880323887,
-0.00899133738130331,
0.0015549339586868882,
-0.009183385409414768,
0.043752022087574005,
-0.024844026193022728,
-0.03275291249155998,
0.0641789436340332,
0.017057353630661964,
0.019134962931275368,
-0.008410829119384289,
0.031810130923986435,
0.007262905593961477,
-0.014394869096577168,
0.06166486069560051,
-0.01168873906135559,
0.03366077318787575,
-0.00801363866776228,
-0.00882547814399004,
-0.06302665919065475,
-0.024145670235157013,
-0.09155451506376266,
-0.019990449771285057,
0.07933327555656433,
-0.032665617763996124,
0.0027781487442553043,
-0.009593670256435871,
0.025542382150888443,
0.01501466054469347,
-0.08834207057952881,
-0.03603518754243851,
-0.056776367127895355,
-0.013233852572739124,
0.01016981340944767,
-0.024355176836252213,
-0.00004739820724353194,
0.020392004400491714,
0.012395824305713177,
-0.02142208069562912,
-0.048710353672504425,
-0.05342425778508186,
-0.0007796493591740727,
-0.018890537321567535,
-0.03648911789059639,
0.0254201702773571,
-0.01398458518087864,
0.02336001954972744,
-0.0067871506325900555,
-0.03025628812611103,
0.010196002200245857,
-0.024582142010331154,
-0.023202888667583466,
-0.010545180179178715,
-0.07060382515192032,
0.008000544272363186,
0.030832430347800255,
-0.0299071092158556,
-0.005717792082577944,
0.035668548196554184,
-0.09595415741205215,
0.03952696546912193,
-0.011269724927842617,
0.056671615689992905,
0.03446388244628906,
-0.013801266439259052,
-0.07758738845586777,
0.005595579743385315,
-0.005412261467427015,
-0.02025233395397663,
-0.016874033957719803,
-0.012238694354891777,
0.008694536052644253,
0.05852225795388222,
-0.019519058987498283,
-0.01664706878364086,
-0.0666930302977562,
0.02915637567639351,
0.00092477654106915,
-0.05995389074087143,
0.04748822748661041,
-0.037850912660360336,
-0.05070066824555397,
-0.019746024161577225,
-0.024564683437347412,
-0.01179349236190319,
0.026328032836318016,
0.03781599551439285,
-0.01831439509987831,
-0.06285206973552704,
0.018977832049131393,
-0.05642718821763992,
-0.05859209597110748,
0.015931254252791405,
-0.034813061356544495,
-0.006817703600972891,
-0.03128636255860329,
0.029330965131521225,
-0.0029876555781811476,
0.013757619075477123,
0.007550977636128664,
0.01756366156041622,
-0.09015779942274094,
-0.012099022977054119,
0.05436703935265541,
-0.039352379739284515,
-0.04574233666062355,
-0.010134896263480186,
-0.009680964052677155,
0.00996030680835247,
-0.020479299128055573,
-0.0577191486954689,
0.03444642573595047,
0.013251311145722866,
-0.04616135358810425,
0.025699513033032417,
0.019239716231822968,
-0.03509240597486496,
0.032892581075429916,
-0.07507330179214478,
0.09623350203037262,
-0.02765491046011448,
-0.0356336310505867,
-0.012317259795963764,
0.02550746500492096,
0.004301438573747873,
0.00011505147267598659,
-0.05195770785212517,
-0.0003928254300262779,
-0.010213460773229599,
0.03823500871658325,
0.06246797367930412,
-0.02067134715616703,
-0.0027475955430418253,
0.023831408470869064,
-0.06187437102198601,
0.00028779919375665486,
-0.0004233785148244351,
-0.006595102604478598,
0.03872385621070862,
-0.08156801760196686,
-0.02906908094882965,
-0.026520080864429474,
0.027916792780160904,
0.05035148933529854,
-0.018262017518281937,
0.0005701424670405686,
-0.009235762059688568,
0.01927463337779045,
0.03306717053055763,
0.009497646242380142,
-0.04169187322258949,
0.017616037279367447,
-0.0379207469522953,
0.009715882129967213,
0.03652403503656387,
-0.0029090906027704477,
0.009506375528872013,
-0.020584052428603172,
0.0193793885409832,
0.0021321692038327456,
-0.051922790706157684,
-0.038374681025743484,
0.0001301916199736297,
0.01669071614742279,
0.041272856295108795,
-0.025874100625514984,
-0.03109431453049183,
0.024390093982219696,
-0.008236239664256573,
-0.02259182743728161,
-0.030937185510993004,
0.03400995209813118,
0.03165299817919731,
-0.0038169536273926497,
-0.003814771305769682,
-0.03123398683965206,
0.015101955272257328,
-0.00039200703031383455,
0.028807198628783226,
-0.015913793817162514,
-0.009340515360236168,
-0.04252989962697029,
-0.0460565984249115,
0.011767303571105003,
0.0099515775218606,
0.02150937356054783,
0.02519320324063301,
-0.008092204108834267,
-0.010292026214301586,
-0.00705339852720499,
-0.015800312161445618,
-0.0018462794832885265,
-0.04046974703669548,
-0.02723589539527893,
-0.009314327500760555,
-0.029889650642871857,
-0.007978720590472221,
0.022469613701105118,
-0.0022543815430253744,
0.0010164357954636216,
0.022417237982153893,
-0.011112594977021217,
-0.01927463337779045,
0.010615016333758831,
-0.016114572063088417,
-0.020915770903229713,
-0.02821359410881996,
0.03582567721605301,
-0.03613993898034096,
0.04326317459344864,
-0.009165926836431026,
-0.03701288625597954,
0.043333008885383606,
0.021072901785373688,
-0.01398458518087864,
-0.01696132868528366,
-0.08492013067007065,
-0.06274731457233429,
0.12409791350364685,
-0.04455513134598732,
0.0001823637430788949,
-0.03582567721605301,
0.010440426878631115,
-0.05639227107167244,
-0.05499555915594101,
-0.022748956456780434,
-0.006555819883942604,
-0.001255950191989541,
0.021893469616770744,
0.029889650642871857,
0.041377611458301544,
-0.023429853841662407,
-0.06704220920801163,
0.014726588502526283,
0.06456304341554642,
0.0033913927618414164,
0.0508403405547142,
-0.0012232147855684161,
-0.022644203156232834,
0.004264338407665491,
0.04692954570055008,
-0.02452976629137993,
-0.026223279535770416,
-0.038898445665836334,
0.0002506989985704422,
-0.024390093982219696,
0.004565504379570484,
-0.007900156080722809,
-0.0898086205124855,
0.0935797467827797,
0.01787792146205902,
0.03984122723340988,
-0.0011588350171223283
] |
23,225 | flask_cognito_auth.decorators | callback_handler |
A decorator to handle redirects from AWS Cognito login and signup. It
handles and verifies and exchangs the code for tokens.
This decorator also pushes the basic informations in Flask session.
Basic informations are:
* username
* group (List of Cognito groups if any)
* id
* email
* expires
* refresh_token
* access_token
* roles (List of AWS Cognito Assume roles)
* All SAML assertions.
Use this decorator on the redirect endpoint on your application.
| def callback_handler(fn):
"""
A decorator to handle redirects from AWS Cognito login and signup. It
handles and verifies and exchangs the code for tokens.
This decorator also pushes the basic informations in Flask session.
Basic informations are:
* username
* group (List of Cognito groups if any)
* id
* email
* expires
* refresh_token
* access_token
* roles (List of AWS Cognito Assume roles)
* All SAML assertions.
Use this decorator on the redirect endpoint on your application.
"""
@wraps(fn)
def wrapper(*args, **kwargs):
auth_success = False
logger.info("Login is successfull from AWS Cognito.")
logger.info(
"Authenticating AWS Cognito application / client, with code exchange.")
csrf_token = config.state
csrf_state = None
if csrf_token:
csrf_state = request.args.get('state')
code = request.args.get('code')
request_parameters = {'grant_type': 'authorization_code',
'client_id': config.client_id,
'code': code,
"redirect_uri": config.redirect_uri}
response = requests.post(config.jwt_code_exchange_uri,
data=request_parameters,
auth=HTTPBasicAuth(config.client_id,
config.client_secret))
# the response:
# http://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html
if response.status_code == requests.codes.ok:
logger.info("Code exchange is successfull.")
logger.info("Validating CSRF state exchange of AWS Cognito")
if csrf_state == csrf_token:
auth_success = True
if csrf_token:
logger.info(
"CSRF state validation successfull. Login is successfull for AWS Cognito")
logger.info("Decode the access token from response.")
verify(response.json()["access_token"])
id_token = verify(
response.json()["id_token"], response.json()["access_token"])
username = None
email = None
provider_type = "cognito"
if "identities" in id_token:
logger.info(
"Identities are present in authentication token. Will use that as priority.")
for identity in id_token['identities']:
if 'userId' in identity and not email:
email = identity['userId']
if "providerType" in identity and "cognito" in provider_type:
provider_type = identity["providerType"]
if 'primary' in identity and identity['primary']:
if 'userId' in identity:
email = identity['userId']
if "providerType" in identity:
provider_type = identity["providerType"]
if not username:
username = id_token["cognito:username"]
if not email and 'email' in id_token:
email = id_token["email"]
groups = []
if "cognito:groups" in id_token:
groups = id_token['cognito:groups']
roles = []
# Check if claim has preferred_role then set it.
if 'cognito:preferred_role' in id_token:
roles.append(id_token['cognito:preferred_role'])
# If preferred_role is not part of claim and list of
# assume roles part of claim, then set it.
if 'cognito:roles' in id_token and not roles:
roles = id_token['cognito:roles']
skip_tokens = ["cognito:preferred_role",
"cognito:roles",
"cognito:username",
"cognito:groups",
"email",
"identities",
"at_hash",
"sub",
"email_verified",
"iss",
"nonce",
"aud",
"token_use",
"auth_time",
"iat",
"exp"]
saml_assertions = []
for token, val in id_token.items():
if token not in skip_tokens:
token_vals = val.replace("[", "")
token_vals = token_vals.replace("]", "")
token_vals = token_vals.split(",")
vals = []
for token_val in token_vals:
vals.append(token_val.strip())
saml_assertions.append({token: vals})
update_session(username=username,
id=id_token["sub"],
groups=groups,
email=email,
expires=id_token["exp"],
refresh_token=response.json()["refresh_token"],
access_token=response.json()["access_token"],
roles=roles,
provider_type=provider_type,
saml_assertions=saml_assertions)
if not auth_success:
error_uri = config.redirect_error_uri
if error_uri:
resp = redirect(url_for(error_uri))
return resp
else:
msg = f"Something went wrong during authentication"
return json.dumps({'Error': msg}), 500
return fn(*args, **kwargs)
return wrapper
| (fn) | [
0.004813358187675476,
-0.04783274605870247,
0.029352888464927673,
0.006467950064688921,
0.022906428202986717,
-0.024904830381274223,
-0.051141928881406784,
0.04377147555351257,
0.014611979946494102,
-0.013268967159092426,
0.010690382681787014,
0.001203339546918869,
0.02462548390030861,
0.005022868048399687,
0.04576987773180008,
0.007692777551710606,
0.07606825232505798,
-0.004491034895181656,
0.03014795295894146,
-0.05251717567443848,
0.028063597157597542,
0.010556081309914589,
-0.042030930519104004,
-0.0035213797818869352,
-0.006849365774542093,
-0.024023814126849174,
-0.007322106044739485,
0.01507397647947073,
0.03521917015314102,
0.016352524980902672,
-0.00001785787389962934,
-0.017426935955882072,
0.05432218313217163,
-0.0047435215674340725,
0.008632887154817581,
-0.06046781316399574,
-0.0036234487779438496,
0.029352888464927673,
-0.024775901809334755,
-0.027956156060099602,
-0.08105351030826569,
-0.010529221035540104,
-0.004410454072058201,
0.005731978919357061,
-0.03835644945502281,
0.06648451089859009,
-0.05814708396792412,
0.0651092678308487,
0.01712610013782978,
0.005197459831833839,
0.01953277923166752,
-0.007316734176129103,
0.009132487699389458,
0.06020995229482651,
0.044953327625989914,
0.01251688040792942,
-0.01051847729831934,
-0.013064829632639885,
0.02658091112971306,
-0.00024207806563936174,
-0.00972878560423851,
0.01128130778670311,
-0.000874972902238369,
0.026000728830695152,
0.04757488891482353,
0.016621127724647522,
-0.02711811661720276,
-0.002279092790558934,
-0.03070664592087269,
-0.03601423278450966,
0.0058394200168550014,
-0.05548254773020744,
0.02862229011952877,
-0.03979615867137909,
0.021133650094270706,
-0.025957752019166946,
-0.026387516409158707,
-0.011109402403235435,
0.021509693935513496,
0.02851484902203083,
0.016019457951188087,
-0.0394953228533268,
-0.008659747429192066,
0.03599274531006813,
0.03208189085125923,
0.043513618409633636,
0.0032286029309034348,
-0.03459601104259491,
-0.08887521922588348,
0.03575637564063072,
-0.01138874888420105,
-0.011517678387463093,
-0.005549329333007336,
0.015525229275226593,
-0.02679579332470894,
0.00886925682425499,
0.016277316957712173,
0.0021434484515339136,
0.025656918063759804,
-0.00013522460358217359,
0.007870055735111237,
0.016631871461868286,
-0.01937161758542061,
0.04637154936790466,
0.010690382681787014,
-0.041386283934116364,
-0.027698297053575516,
-0.012774738483130932,
0.0651092678308487,
-0.03990359976887703,
-0.061542220413684845,
-0.06145627051591873,
-0.010631290264427662,
0.011453214101493359,
0.01904929429292679,
-0.033457137644290924,
0.026946211233735085,
0.05105597898364067,
-0.04761786386370659,
-0.03519768267869949,
0.012645808979868889,
-0.05638505145907402,
-0.00661299517378211,
0.00915397610515356,
0.013687986880540848,
0.012903667986392975,
0.028579313308000565,
0.014837605878710747,
0.013064829632639885,
-0.03835644945502281,
-0.01937161758542061,
-0.0023610165808349848,
0.013741707429289818,
-0.01350533775985241,
-0.014848350547254086,
0.010373431257903576,
-0.020843559876084328,
0.020671654492616653,
-0.014848350547254086,
0.05032537877559662,
0.008004357106983662,
0.01354831364005804,
-0.05131383612751961,
-0.027956156060099602,
0.031824033707380295,
-0.0111201461404562,
-0.0037040296010673046,
0.037776265293359756,
0.05354860797524452,
-0.06029590591788292,
0.08522222191095352,
-0.026688352227211,
0.03816305473446846,
0.03341415897011757,
-0.06824654340744019,
-0.014074775390326977,
0.01312929391860962,
-0.008036589249968529,
0.013634266331791878,
-0.01565415784716606,
-0.00168145215138793,
-0.04998156800866127,
-0.012441671453416348,
-0.024238696321845055,
0.050153471529483795,
-0.009363485500216484,
0.023701490834355354,
0.020693141967058182,
-0.027999132871627808,
-0.0013967333361506462,
0.010083341039717197,
0.037131618708372116,
0.002914337906986475,
0.006091906223446131,
-0.03412327170372009,
0.033886902034282684,
0.04529713839292526,
-0.05776029825210571,
-0.04248218238353729,
-0.021133650094270706,
-0.0071233403868973255,
-0.0014477678341791034,
-0.00212733238004148,
0.03762584924697876,
0.0015941562596708536,
0.03519768267869949,
0.018780691549181938,
-0.001372559112496674,
0.020274123176932335,
0.06884821504354477,
-0.0274189505726099,
-0.006317532621324062,
-0.007665917277336121,
-0.008632887154817581,
-0.016545917838811874,
0.04263260215520859,
0.006134883034974337,
0.032253798097372055,
-0.005036298185586929,
-0.10305743664503098,
-0.005586933344602585,
-0.0034891474060714245,
0.008896117098629475,
-0.03244719281792641,
-0.014246680773794651,
0.0483914390206337,
-0.007225409150123596,
0.012968132272362709,
-0.019092271104454994,
-0.030771110206842422,
-0.04134330898523331,
-0.02709662728011608,
-0.02948181889951229,
0.05509576201438904,
0.004402396269142628,
0.023916373029351234,
0.03661590442061424,
0.01707237958908081,
0.046027738600969315,
0.00207361183129251,
0.08268661797046661,
-0.05290396139025688,
-0.026516446843743324,
-0.03885067626833916,
0.06773082166910172,
0.020736118778586388,
0.02449655532836914,
-0.026172634214162827,
-0.00015016562247183174,
0.017921164631843567,
-0.022841962054371834,
0.028428897261619568,
0.10623768717050552,
0.03438112884759903,
-0.054708972573280334,
-0.04942287504673004,
0.04231027886271477,
-0.021434485912322998,
-0.02885865978896618,
0.04280450567603111,
-0.020349331200122833,
-0.014676444232463837,
0.03212486952543259,
0.00488319480791688,
-0.012323485687375069,
0.023056844249367714,
0.012549112550914288,
0.0483914390206337,
-0.039108533412218094,
-0.04607071354985237,
-0.038678769022226334,
0.03261909633874893,
0.009454810991883278,
-0.01696493849158287,
-0.039946574717760086,
-0.003529437817633152,
0.04551202058792114,
0.06149924546480179,
0.02537757158279419,
-0.005823303945362568,
0.03728203848004341,
0.005495608784258366,
-0.018340183421969414,
-0.030663669109344482,
-0.014354121871292591,
-0.024002326652407646,
0.022369222715497017,
0.0191352479159832,
-0.0037711800541728735,
-0.004037096630781889,
0.013956589624285698,
0.07426323741674423,
-0.042030930519104004,
-0.001821125508286059,
0.0025987299159169197,
-0.03122236393392086,
-0.021907225251197815,
-0.050798118114471436,
-0.049165014177560806,
-0.057846251875162125,
-0.0076820338144898415,
-0.05466599762439728,
-0.04084907844662666,
0.07542360574007034,
-0.022820474579930305,
-0.00897669792175293,
0.0016290745697915554,
-0.004230490420013666,
0.030556228011846542,
-0.004195572342723608,
-0.02928842417895794,
-0.037776265293359756,
0.01333343144506216,
0.02098323404788971,
-0.02275601029396057,
-0.017115356400609016,
-0.058061134070158005,
-0.023271726444363594,
0.0001707305054878816,
-0.022175827994942665,
0.0030647553503513336,
0.016653358936309814,
0.056556958705186844,
-0.052302293479442596,
0.08552306145429611,
-0.00688697025179863,
0.016255827620625496,
0.0007614882779307663,
-0.03130831569433212,
0.02460399642586708,
-0.003258149139583111,
0.007429547142237425,
-0.025828823447227478,
-0.03519768267869949,
-0.0009401090210303664,
-0.00025500456104055047,
0.0029250821098685265,
0.005914628505706787,
0.0776154026389122,
0.05797518044710159,
-0.007805590983480215,
-0.03481089323759079,
0.01945757120847702,
0.021756809204816818,
0.06747296452522278,
-0.058834709227085114,
-0.006661343853920698,
-0.006188603118062019,
-0.02623710036277771,
0.024002326652407646,
-0.08427674323320389,
-0.024045301601290703,
-0.011302796192467213,
-0.016245083883404732,
-0.010926752351224422,
-0.0004092831804882735,
-0.059479355812072754,
-0.0052270060405135155,
0.03794817253947258,
-0.025184176862239838,
-0.05956530570983887,
-0.04637154936790466,
0.012871435843408108,
0.05780327320098877,
-0.07228632271289825,
-0.03384392336010933,
0.04491034895181656,
0.0017848641145974398,
0.02232624590396881,
-0.017050892114639282,
0.01459049154073,
-0.009444066323339939,
0.07460705190896988,
0.03749692067503929,
0.028686754405498505,
-0.016556663438677788,
0.01669633574783802,
-0.024990784004330635,
0.0095676239579916,
-0.029675211757421494,
-0.028256990015506744,
-0.04607071354985237,
0.02634454146027565,
0.04774679243564606,
0.05423623323440552,
0.018984830006957054,
-0.029761165380477905,
-0.04585583135485649,
0.04282599315047264,
-0.024238696321845055,
-0.02213285304605961,
-0.035305123776197433,
-0.03792668506503105,
0.004987949971109629,
0.01809307001531124,
0.022154340520501137,
-0.032468680292367935,
-0.005065844394266605,
-0.08694127947092056,
0.03244719281792641,
0.012602833099663258,
0.013086317107081413,
0.031587664037942886,
0.049723707139492035,
0.00929902121424675,
-0.03824900835752487,
-0.0011140292044728994,
-0.008192378096282482,
-0.01013168878853321,
0.0002435889618936926,
-0.049938589334487915,
0.0000925839485717006,
-0.01208711601793766,
-0.0222402922809124,
-0.010346570983529091,
-0.010094084776937962,
-0.0378837063908577,
0.020198913291096687,
0.03341415897011757,
-0.02012370526790619,
0.03240421414375305,
0.007300618104636669,
0.0839759111404419,
-0.02516268938779831,
0.033242255449295044,
0.0459417849779129,
0.0028713615611195564,
0.05440813675522804,
-0.01875920407474041,
-0.011635863222181797,
-0.02980414219200611,
-0.029868606477975845,
0.005801815539598465,
-0.06261663138866425,
0.007923776283860207,
-0.0007292560185305774,
-0.018641019240021706,
0.09833002835512161,
0.005495608784258366,
0.0010186752770096064,
0.017351726070046425,
-0.000032421168725704774,
-0.01208711601793766,
0.030319858342409134,
-0.04316980764269829,
0.019446825608611107,
0.02958925999701023,
-0.010717242956161499,
-0.04658643156290054,
-0.025957752019166946,
0.033328209072351456,
0.0052780406549572945,
-0.0565999336540699,
-0.014869838953018188,
0.016438476741313934,
0.018855901435017586,
-0.04207390919327736,
0.04551202058792114,
0.0020010892767459154,
0.041386283934116364,
0.05440813675522804,
0.06003804877400398,
-0.061971984803676605,
-0.00793452002108097,
0.052860986441373825,
0.0339728519320488,
-0.06437866389751434,
0.04942287504673004,
0.08169815689325333,
-0.028171038255095482,
0.03231826052069664,
0.022175827994942665,
-0.04390040412545204,
0.051227882504463196,
-0.02505524829030037,
-0.006172487046569586,
0.006290672346949577,
0.032812491059303284,
-0.0047462075017392635,
-0.0006792287458665669,
-0.0031184758991003036,
-0.05002454295754433,
0.03218933194875717,
0.052216339856386185,
0.06038185954093933,
0.03614316135644913,
0.03652995079755783,
-0.006698948331177235,
-0.049508824944496155,
-0.016223596408963203,
0.016771545633673668,
-0.06008102372288704,
-0.04173009470105171,
-0.004821415990591049,
0.01894185319542885,
0.00456892978399992,
0.027569368481636047,
-0.03143724426627159,
-0.0249263197183609,
0.059909116476774216,
-0.006290672346949577,
0.041493725031614304,
-0.030061999335885048,
-0.0021380765829235315,
-0.010803195647895336,
-0.011453214101493359,
0.06996560096740723,
-0.025936264544725418,
0.03668036684393883,
-0.0008420691010542214,
-0.03642250970005989,
0.006865481846034527,
0.0216278787702322,
0.017136843875050545,
-0.021660111844539642,
-0.019522035494446754,
0.036164648830890656,
-0.08208494633436203,
0.03341415897011757,
-0.04611368849873543,
-0.012366462498903275,
0.010319710709154606,
0.013311943970620632,
-0.007461779750883579,
0.06553902477025986,
-0.008912233635783195,
-0.08268661797046661,
-0.013473105616867542,
-0.08711318671703339,
-0.020349331200122833,
-0.01355905830860138,
0.0455549955368042,
0.026516446843743324,
-0.06235877424478531,
-0.037668824195861816,
-0.01741619035601616,
0.058490898460149765,
0.03695971518754959,
-0.025656918063759804,
0.004571615718305111,
0.025957752019166946,
-0.03141575679183006,
0.02709662728011608,
0.02905205450952053,
-0.004942287225276232,
0.07460705190896988,
0.05505278334021568,
0.0034891474060714245,
0.007263013627380133,
-0.018855901435017586,
-0.07383347302675247,
-0.012323485687375069,
-0.012731761671602726,
-0.0005778312915936112,
-0.013967334292829037,
-0.03307034820318222,
-0.017405446618795395,
-0.026215611025691032,
0.05647100508213043,
0.007316734176129103,
-0.008595282211899757,
0.004367477726191282,
-0.07959231734275818,
0.05152871832251549,
-0.09145380556583405,
-0.0058931405656039715,
-0.04063419625163078,
-0.01701865904033184,
-0.030663669109344482,
-0.032146356999874115,
-0.01610540971159935,
0.01626657135784626,
0.11569250375032425,
0.012946643866598606,
-0.03143724426627159,
-0.014719421043992043,
0.009481671266257763,
-0.014493795111775398,
-0.04422272741794586,
-0.00435404758900404,
0.019898079335689545,
0.05084109678864479,
-0.03764733672142029,
-0.10030694305896759,
0.05913554131984711,
-0.025871800258755684,
0.04067717492580414,
0.01035731565207243,
-0.039946574717760086,
0.019704684615135193,
-0.019285663962364197,
0.024904830381274223,
0.00244159740395844,
0.0013275681994855404,
-0.09918955713510513,
0.009777133353054523,
0.006306788418442011,
-0.015879783779382706,
0.05586933717131615,
-0.02340065687894821,
0.03371499478816986,
-0.004329873714596033,
0.01734098233282566,
-0.04366403445601463,
0.018404647707939148,
0.0024590566754341125,
-0.061327338218688965,
0.07305990159511566,
-0.00940646231174469,
0.028428897261619568,
-0.074392169713974,
0.025570964440703392,
-0.0526890829205513,
-0.015009512193500996,
0.033757973462343216,
0.08204197138547897,
0.02320726215839386,
0.015546716749668121,
-0.054708972573280334,
0.017083123326301575,
-0.006167115177959204,
0.04291194677352905,
0.005925372708588839,
-0.022369222715497017,
0.025635430589318275,
-0.0249263197183609,
-0.011861490085721016,
-0.03683078661561012,
-0.05225931853055954,
0.016298804432153702,
-0.012989620678126812,
0.053720515221357346,
0.08118244260549545,
-0.022605592384934425,
-0.006946062669157982,
0.04611368849873543,
-0.06768784672021866,
0.052001457661390305,
0.033220767974853516,
-0.016062434762716293,
0.008278331719338894,
-0.05681481584906578,
-0.07391943037509918,
0.03455303609371185,
-0.016341781243681908,
-0.04912203922867775,
0.03906555846333504,
-0.017298005521297455,
-0.06558200716972351,
0.01613764278590679,
-0.011163122951984406,
-0.012334230355918407,
0.06635557860136032,
-0.09643907099962234,
0.0793774351477623,
0.05595528706908226,
0.03689524903893471,
0.001565953018143773,
-0.004789183847606182,
-0.02451804280281067,
-0.002860617358237505,
-0.06893416494131088,
0.0032876955810934305,
-0.010008132085204124,
0.074091337621212,
0.044308681041002274,
-0.007220037281513214,
0.0065377866849303246,
0.07052429020404816,
-0.009368857368826866,
-0.012946643866598606,
0.09016451239585876,
-0.019124504178762436,
0.00011902451660716906,
-0.05303289368748665,
-0.02001626417040825,
-0.06854737550020218,
0.008842396549880505,
0.05952233076095581,
0.0020964432042092085,
0.016868241131305695,
-0.0007863340433686972,
0.03575637564063072,
0.00960522796958685,
-0.010953612625598907,
-0.01712610013782978,
0.009632088243961334,
0.03113641031086445,
0.04912203922867775,
0.01685749739408493,
0.014257424511015415,
-0.05066918954253197,
0.016599638387560844,
-0.006365880835801363,
-0.003935027867555618,
-0.05496682971715927,
0.04252516105771065,
-0.04443760961294174,
-0.012721017934381962,
0.03646548464894295,
-0.05432218313217163,
0.03915151208639145,
0.014418586157262325,
0.0064840661361813545,
0.013064829632639885,
-0.06369104236364365,
0.06876225769519806,
-0.02701067551970482,
0.0014800002099946141,
-0.025420548394322395,
0.011678840033710003,
-0.029632236808538437,
-0.009465554729104042,
-0.007698149885982275,
-0.06038185954093933,
-0.03564893454313278,
-0.04796167463064194,
0.009384973905980587,
0.0077357543632388115,
0.06068269535899162,
-0.006156370975077152,
-0.03730352595448494,
0.01208711601793766,
-0.05440813675522804,
0.031071946024894714,
-0.028063597157597542,
0.008272958919405937,
-0.036916736513376236,
0.01376319583505392,
-0.012420183047652245,
-0.03629358112812042,
-0.02993307076394558,
0.07611122727394104,
0.02044602856040001,
-0.002260290551930666,
-0.0009615971939638257,
-0.06214389204978943,
-0.004517895169556141,
0.0516146719455719,
-0.016868241131305695,
-0.008579166606068611,
-0.010792451910674572,
0.057072676718235016,
-0.007198548875749111,
-0.009014302864670753,
-0.025205666199326515,
0.015804575756192207,
0.031480222940444946,
0.033220767974853516,
-0.016309548169374466,
0.005272668320685625,
-0.014848350547254086,
-0.080065056681633,
0.03090004064142704,
-0.0587487556040287,
-0.048305485397577286,
-0.029761165380477905,
0.002801524940878153,
-0.06094055250287056,
0.0065592750906944275,
0.014526027254760265,
-0.01257060095667839,
0.002189110964536667,
0.013419385068118572,
0.048305485397577286,
0.05586933717131615,
0.053505633026361465,
-0.06730106472969055,
0.011270564049482346,
0.030104976147413254,
0.03891514241695404,
0.04422272741794586,
-0.042761530727148056,
0.007032015360891819,
-0.013967334292829037,
0.04791869968175888,
-0.01937161758542061,
0.021380765363574028,
-0.022798987105488777,
0.03925895318388939,
-0.0036556811537593603,
0.0516146719455719,
-0.03384392336010933,
-0.04359956830739975,
0.09153975546360016,
0.030061999335885048,
-0.010840799659490585,
0.034746430814266205
] |
23,229 | flask_cognito_auth.decorators | login_handler |
A decorator to redirect users to AWS Cognito login if they aren't already.
If already logged in user will redirect redirect uri.
Use this decorator on the login endpoint.
This handle will not return to handle the respose rather redirect to
redirect uri.
| def login_handler(fn):
"""
A decorator to redirect users to AWS Cognito login if they aren't already.
If already logged in user will redirect redirect uri.
Use this decorator on the login endpoint.
This handle will not return to handle the respose rather redirect to
redirect uri.
"""
@wraps(fn)
def wrapper(*args, **kwargs):
aws_cognito_login = config.login_uri
# https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html
res = redirect(aws_cognito_login)
logger.info("Got Cognito Login, redirecting to AWS Cognito for Auth")
return res
return wrapper
| (fn) | [
-0.04745599254965782,
-0.05772801488637924,
0.03976145014166832,
0.05268676206469536,
0.009675033390522003,
-0.005638241767883301,
-0.029110385105013847,
0.05454406514763832,
0.02338685840368271,
-0.00958974938839674,
-0.0058088102377951145,
-0.01334225945174694,
0.017132673412561417,
-0.03953402489423752,
0.014962662011384964,
-0.01264103315770626,
0.03019065223634243,
0.008192033506929874,
-0.03170681744813919,
-0.010508924722671509,
0.02785954810678959,
0.03420849144458771,
0.028030116111040115,
-0.01067949365824461,
-0.03517504781484604,
-0.005766168236732483,
0.004657472018152475,
0.04415833204984665,
0.01029097568243742,
0.008102010935544968,
-0.006704295985400677,
-0.03407582640647888,
0.04722856730222702,
0.015730220824480057,
0.04014049097895622,
-0.05264886096119881,
0.02054404653608799,
0.07288967072963715,
-0.012224087491631508,
-0.02660871110856533,
-0.1021895781159401,
-0.002598803024739027,
0.013304355554282665,
0.008509481325745583,
-0.01575864851474762,
0.06523303687572479,
-0.03310927376151085,
0.0256042517721653,
0.014754189178347588,
-0.019975485280156136,
-0.015398559160530567,
0.007884062826633453,
0.028447061777114868,
0.01906578615307808,
0.024884073063731194,
0.01402453426271677,
0.008277318440377712,
-0.024846168234944344,
-0.026210717856884003,
0.040595341473817825,
-0.03646378964185715,
-0.010603684931993484,
0.015398559160530567,
0.008263103663921356,
0.03216166794300079,
0.030133796855807304,
-0.03498552739620209,
0.013076930306851864,
-0.009040138684213161,
-0.015010042116045952,
-0.014109818264842033,
-0.039117079228162766,
0.04988185688853264,
-0.06311040371656418,
-0.00896906852722168,
-0.015559651888906956,
-0.008566336706280708,
0.001241360791027546,
0.047797128558158875,
0.022969912737607956,
-0.01894259639084339,
-0.05465777963399887,
-0.01688629761338234,
0.027745835483074188,
-0.018108705058693886,
0.015152182430028915,
-0.005974641069769859,
-0.0666733905673027,
-0.04150503873825073,
0.05056413263082504,
-0.010129882954061031,
-0.01001617033034563,
-0.026134908199310303,
-0.015474367886781693,
-0.06193537637591362,
0.024997783824801445,
0.026324430480599403,
0.038226332515478134,
0.026153860613703728,
0.013740252703428268,
0.007576091215014458,
0.02050614356994629,
-0.0147636653855443,
0.06345154345035553,
0.010897441767156124,
-0.09491198509931564,
0.02135898731648922,
-0.03477705270051956,
0.04438575729727745,
0.0015694685280323029,
-0.0444994680583477,
-0.06515722721815109,
-0.00004401174737722613,
0.021586410701274872,
-0.015104802325367928,
-0.00238322326913476,
0.049351200461387634,
0.0295273307710886,
-0.043210726231336594,
-0.04578820988535881,
-0.011939805932343006,
-0.03492867201566696,
-0.014062438160181046,
-0.007533449213951826,
0.011134343221783638,
0.0017933399649336934,
0.0037596174515783787,
0.010328879579901695,
-0.0296789463609457,
0.034758102148771286,
0.020411383360624313,
0.03873803839087486,
0.005415555089712143,
-0.046546291559934616,
-0.016867345198988914,
0.03729768097400665,
0.0003503172192722559,
0.03288184851408005,
0.013437019661068916,
0.07046380639076233,
-0.008665835484862328,
0.020828329026699066,
-0.04313492029905319,
-0.00016435001452919096,
0.05041251331567764,
0.03077816776931286,
-0.015559651888906956,
0.067204050719738,
0.08437462896108627,
-0.04305911064147949,
0.08520852029323578,
0.01184504572302103,
0.0585998110473156,
0.04256635531783104,
-0.09620072692632675,
-0.005804072599858046,
0.011020630598068237,
-0.014090866781771183,
0.028105923905968666,
0.025736914947628975,
0.05480939522385597,
-0.04214940965175629,
-0.006908030714839697,
-0.010471020825207233,
-0.0026438143104314804,
0.0064484430477023125,
0.019558539614081383,
0.005562433507293463,
0.007888800464570522,
-0.011172247119247913,
-0.026930896565318108,
0.018459320068359375,
0.04825197905302048,
0.016365114599466324,
0.019975485280156136,
0.04901006072759628,
0.03326088935136795,
-0.0733824297785759,
-0.020866231992840767,
-0.021453747525811195,
0.02365218661725521,
-0.008637407794594765,
0.022154973819851875,
0.03796100243926048,
-0.005093369632959366,
0.03447382152080536,
-0.012224087491631508,
-0.014147723093628883,
-0.02109365724027157,
0.04423413798213005,
-0.009599224664270878,
0.003790414659306407,
-0.0327681340277195,
-0.028845055028796196,
0.012299895286560059,
0.02439131774008274,
0.031649962067604065,
0.026134908199310303,
-0.00007547515269834548,
-0.052383530884981155,
0.004411094821989536,
-0.011655525304377079,
0.003240804420784116,
-0.0045105936005711555,
0.01431829109787941,
0.05333113297820091,
0.03267337381839752,
0.02408808469772339,
-0.07463326305150986,
0.006396324839442968,
-0.03119511343538761,
-0.01594816893339157,
-0.05901675671339035,
0.10150730609893799,
-0.02202230878174305,
0.012678937055170536,
-0.02384170889854431,
0.024884073063731194,
0.002244636183604598,
0.028807152062654495,
0.03707025572657585,
-0.06250393390655518,
-0.002788323676213622,
-0.014526763930916786,
0.04976814612746239,
0.0025040425825864077,
0.02427760511636734,
-0.07891643047332764,
0.03125196695327759,
-0.01926478184759617,
-0.0510568842291832,
0.0185161754488945,
0.06155633553862572,
0.05200449004769325,
0.010376259684562683,
-0.044992223381996155,
0.005098107736557722,
-0.018705695867538452,
0.008315222337841988,
0.06170795112848282,
-0.031422536820173264,
-0.023178385570645332,
0.008703739382326603,
-0.013484399765729904,
0.018184514716267586,
0.02785954810678959,
-0.04108809307217598,
0.07220739871263504,
-0.007505021058022976,
-0.018506700173020363,
-0.036899685859680176,
0.06223860755562782,
0.04010258615016937,
-0.03794205188751221,
-0.026703471317887306,
0.020278718322515488,
0.015332227572798729,
0.05401340872049332,
-0.0256042517721653,
0.008206247352063656,
0.01396767795085907,
-0.014157198369503021,
0.022515062242746353,
-0.06341363489627838,
-0.0002296458260389045,
-0.06041920930147171,
-0.010575257241725922,
0.0185161754488945,
0.07531554251909256,
0.04904796555638313,
0.053520653396844864,
0.06420962512493134,
-0.022344494238495827,
-0.010887966491281986,
0.04597773030400276,
-0.033943161368370056,
-0.02556634694337845,
-0.012972693890333176,
-0.01069844514131546,
-0.007206525653600693,
0.006680605933070183,
0.004809088539332151,
-0.07728655636310577,
0.04214940965175629,
-0.028769247233867645,
-0.0020823590457439423,
0.023633236065506935,
-0.0012840029085054994,
0.026040147989988327,
-0.061253100633621216,
-0.016289306804537773,
-0.011257531121373177,
-0.03189633786678314,
0.02372799627482891,
-0.06333782523870468,
-0.024448174983263016,
-0.061101485043764114,
-0.04889634996652603,
-0.022230781614780426,
-0.008722691796720028,
-0.025850627571344376,
-0.06962991505861282,
-0.025888532400131226,
-0.03669121488928795,
0.04590192064642906,
0.00012614973820745945,
0.02050614356994629,
-0.0017732033738866448,
-0.017672808840870857,
-0.018193989992141724,
-0.01173133309930563,
0.028143828734755516,
-0.052307721227407455,
-0.06204908713698387,
-0.011987186037003994,
0.016867345198988914,
-0.013048502616584301,
0.00022253880160860717,
0.06250393390655518,
0.022515062242746353,
-0.01723691076040268,
0.05560538172721863,
-0.026040147989988327,
0.05336903780698776,
0.0017151626525446773,
-0.05628765746951103,
-0.00758556742221117,
0.004460844211280346,
-0.06686291098594666,
0.03724082559347153,
-0.06269346177577972,
-0.010262547992169857,
-0.0036103699821978807,
-0.04260426014661789,
-0.04233893007040024,
-0.012442036531865597,
0.013095882721245289,
0.006633225828409195,
0.043627671897411346,
-0.01591026596724987,
-0.03333669528365135,
-0.04430994763970375,
0.03038017265498638,
0.05306580662727356,
-0.034644391387701035,
-0.0034824435133486986,
0.04901006072759628,
-0.024220749735832214,
0.03166891261935234,
-0.01363601628690958,
0.024448174983263016,
0.010660541243851185,
0.040367916226387024,
-0.030437029898166656,
0.015047946013510227,
0.018080277368426323,
-0.02590748481452465,
-0.0443478524684906,
0.004266585689038038,
-0.04991976171731949,
-0.04150503873825073,
-0.08437462896108627,
-0.004723804071545601,
0.0295273307710886,
0.06148052588105202,
0.04734227806329727,
-0.012622080743312836,
-0.015218514949083328,
0.02427760511636734,
0.0008013173355720937,
-0.02793535590171814,
-0.01466890424489975,
0.008376816287636757,
0.04590192064642906,
0.03987516090273857,
0.01517113484442234,
0.010726873762905598,
-0.03873803839087486,
-0.06322411447763443,
0.022856200113892555,
-0.020373478531837463,
0.01005407515913248,
0.04218731448054314,
0.07160093635320663,
0.03976145014166832,
-0.03418954089283943,
0.02742365002632141,
0.031536251306533813,
-0.05037461221218109,
-0.006462656892836094,
-0.021340034902095795,
-0.019397446885704994,
0.0009404966258443892,
-0.031877387315034866,
-0.007983560673892498,
-0.056401368230581284,
-0.06345154345035553,
0.0004456698370631784,
0.03684283047914505,
0.01034783199429512,
0.03714606538414955,
0.0168010126799345,
0.03407582640647888,
-0.020828329026699066,
-0.0009748472948558629,
0.04393090680241585,
-0.05147382989525795,
0.00732497638091445,
0.001941403024829924,
-0.06060872972011566,
-0.027537362650036812,
0.009798222221434116,
0.002068144967779517,
-0.04696323722600937,
0.03625531494617462,
0.018885741010308266,
0.02516835369169712,
0.09180384129285812,
-0.04021630063652992,
-0.019207926467061043,
0.018231894820928574,
-0.009063828736543655,
0.02524416148662567,
0.03591417893767357,
-0.03585732355713844,
-0.01781494915485382,
0.058069150894880295,
-0.026551853865385056,
-0.00497018126770854,
-0.038889653980731964,
-0.03034226968884468,
-0.003536930773407221,
-0.04279378056526184,
0.003615108085796237,
0.014848949387669563,
-0.008258366025984287,
-0.012830553576350212,
0.05314161255955696,
-0.031233016401529312,
0.010906917974352837,
0.03229433298110962,
0.0077229696325957775,
-0.07114608585834503,
-0.010897441767156124,
0.06159423664212227,
0.0368049256503582,
-0.04973024129867554,
0.03147939220070839,
0.029110385105013847,
-0.011342816054821014,
0.012366227805614471,
-0.012498891912400723,
0.004894373007118702,
0.038453757762908936,
-0.018336130306124687,
-0.019321639090776443,
-0.023292098194360733,
-0.044423658400774,
0.03873803839087486,
0.025073593482375145,
0.04260426014661789,
-0.007348666433244944,
0.045143838971853256,
-0.02342476323246956,
-0.008315222337841988,
-0.007599781267344952,
0.01591026596724987,
-0.00787932425737381,
-0.01926478184759617,
-0.03170681744813919,
0.020866231992840767,
-0.05776591971516609,
-0.007438688538968563,
0.0026817184407263994,
0.03765777125954628,
-0.015502795577049255,
0.007277596276253462,
0.015332227572798729,
0.017407478764653206,
0.07823415845632553,
-0.06610482931137085,
0.030020084232091904,
-0.01965329982340336,
-0.0050365133211016655,
-0.005074417684227228,
0.04575030505657196,
0.055415861308574677,
-0.016090311110019684,
0.07808253914117813,
0.014233007095754147,
-0.030607597902417183,
0.04847940430045128,
0.025149401277303696,
-0.0028214899357408285,
-0.010224643163383007,
-0.00925808772444725,
0.036748070269823074,
-0.036785975098609924,
0.001132978592067957,
-0.03987516090273857,
0.013654968701303005,
-0.00332135078497231,
-0.011210151016712189,
0.010745825245976448,
0.060987770557403564,
-0.019596444442868233,
-0.07470907270908356,
-0.030626550316810608,
-0.07486069202423096,
-0.01716110296547413,
-0.00738183269277215,
0.06997105479240417,
0.043362341821193695,
0.0002490420883987099,
-0.04218731448054314,
-0.04438575729727745,
0.026134908199310303,
0.00964660570025444,
-0.020240813493728638,
-0.005353960674256086,
0.03026646189391613,
-0.03159310668706894,
-0.004396880976855755,
0.002563267946243286,
-0.004851730540394783,
0.04294539615511894,
0.07137350738048553,
-0.00732497638091445,
0.024618742987513542,
-0.01641249470412731,
-0.06818956136703491,
0.029356760904192924,
-0.05488520488142967,
-0.007779825944453478,
0.0001188946480397135,
0.02109365724027157,
-0.04552287980914116,
-0.006510036997497082,
0.042073603719472885,
0.014270910993218422,
0.00491332495585084,
-0.03856746852397919,
-0.06504351645708084,
0.06500560790300369,
-0.027215177193284035,
0.024808263406157494,
-0.05757639929652214,
0.004425309132784605,
-0.04260426014661789,
-0.04715275764465332,
0.005571909714490175,
0.026874039322137833,
0.11105915158987045,
-0.029394665732979774,
0.0011187646305188537,
0.00857581291347742,
-0.02151060290634632,
0.00805463083088398,
-0.065536268055439,
0.001902314368635416,
0.021036801859736443,
0.01859198324382305,
-0.02746155485510826,
-0.03178262710571289,
0.04097438231110573,
-0.06458866596221924,
0.049502816051244736,
-0.00914437510073185,
-0.03754405677318573,
0.006884340662509203,
-0.006225755903869867,
0.027215177193284035,
-0.020562998950481415,
0.006595321465283632,
-0.07668008655309677,
0.007339190226048231,
0.04067114740610123,
-0.05738687887787819,
0.017132673412561417,
-0.04298330098390579,
-0.018108705058693886,
-0.007339190226048231,
0.026191765442490578,
-0.01478261686861515,
0.0033118748106062412,
-0.013598112389445305,
-0.05473358929157257,
0.07273805886507034,
-0.04988185688853264,
0.023045720532536507,
-0.03930659964680672,
-0.000830929959192872,
-0.09081833809614182,
-0.055112630128860474,
0.02224973402917385,
0.029053527861833572,
-0.03096768818795681,
-0.03839689865708351,
0.021264227107167244,
0.035573042929172516,
-0.04768341779708862,
0.0654604583978653,
-0.03134673088788986,
0.01391082163900137,
0.03210481256246567,
-0.02236344665288925,
-0.01965329982340336,
-0.06921297311782837,
-0.043703481554985046,
-0.06572578847408295,
-0.02003234066069126,
0.049502816051244736,
0.06148052588105202,
0.017530668526887894,
-0.016232451424002647,
0.07232110947370529,
-0.0444994680583477,
-0.04453737288713455,
0.04548497498035431,
0.009513940662145615,
-0.018487747758626938,
-0.07838577777147293,
-0.033829450607299805,
0.013778157532215118,
0.0032005314715206623,
-0.04901006072759628,
0.055302150547504425,
0.020904136821627617,
-0.003105771029368043,
0.04241473972797394,
-0.05488520488142967,
-0.02113156206905842,
0.05632556229829788,
-0.050602033734321594,
0.03252175822854042,
0.023898564279079437,
0.020923089236021042,
0.020259765908122063,
-0.018421415239572525,
-0.06864441186189651,
-0.015019518323242664,
-0.00037519182660616934,
0.001269788946956396,
-0.016431447118520737,
0.09051509946584702,
0.055188436061143875,
0.008504742756485939,
0.030835023149847984,
0.06019178405404091,
-0.05704573914408684,
0.01661149226129055,
0.09210707247257233,
0.015275371260941029,
0.024334462359547615,
0.013901345431804657,
-0.018762553110718727,
-0.036785975098609924,
-0.007727707736194134,
0.06849279254674911,
0.0004512962477747351,
0.010044598951935768,
0.0011987186735495925,
0.05048832297325134,
0.0076424237340688705,
-0.030607597902417183,
-0.040595341473817825,
-0.02712041698396206,
-0.003510871669277549,
-0.008680049329996109,
-0.005287628620862961,
-0.02276143990457058,
-0.05401340872049332,
0.012650508433580399,
0.02446712739765644,
0.0327681340277195,
-0.07197997719049454,
0.027366794645786285,
-0.041997794061899185,
-0.04692533239722252,
0.014621524140238762,
-0.02361428365111351,
0.018307702615857124,
0.00857581291347742,
-0.029053527861833572,
-0.006306302268058062,
-0.035231903195381165,
0.016630444675683975,
-0.03652064502239227,
0.010452068410813808,
0.0438171923160553,
0.03218062222003937,
-0.03227538242936134,
0.010632113553583622,
-0.003210007445886731,
-0.07254853844642639,
0.0005750769632868469,
-0.027726883068680763,
0.03964773565530777,
0.03111930377781391,
0.09673137962818146,
0.0224013514816761,
0.00575669202953577,
0.0049796574749052525,
-0.007561877369880676,
0.04575030505657196,
-0.09680718928575516,
0.007438688538968563,
-0.03714606538414955,
0.015891313552856445,
0.01023411937057972,
-0.01614716649055481,
-0.06178375706076622,
0.03441696614027023,
0.04847940430045128,
0.014621524140238762,
-0.005126535892486572,
-0.10461544245481491,
-0.03500447794795036,
0.03221852332353592,
-0.0329197496175766,
-0.014697332866489887,
-0.0745953619480133,
0.03085397556424141,
-0.013133786618709564,
-0.005723526235669851,
-0.030493885278701782,
-0.03824528306722641,
0.03602788969874382,
0.021377937868237495,
0.010035122744739056,
-0.017217958346009254,
-0.0296789463609457,
-0.06015387922525406,
0.044954318553209305,
-0.0517391599714756,
0.033052414655685425,
-0.028333349153399467,
0.02346266619861126,
-0.041732463985681534,
0.004062850493937731,
0.008291532285511494,
-0.019008928909897804,
0.05465777963399887,
-0.01781494915485382,
0.07463326305150986,
0.03134673088788986,
0.00425947830080986,
0.0018182145431637764,
-0.016744157299399376,
0.04385509714484215,
0.03923078998923302,
0.07599781453609467,
-0.01929321140050888,
-0.007277596276253462,
0.018923645839095116,
0.007538187317550182,
-0.0015280109364539385,
0.0015434094239026308,
-0.003842532867565751,
0.06523303687572479,
0.025661107152700424,
0.02568005956709385,
-0.04415833204984665,
-0.013996105641126633,
0.052459340542554855,
0.04521964490413666,
0.010632113553583622,
0.04908587038516998
] |
23,230 | flask_cognito_auth.decorators | logout_handler |
A decorator to logout from AWS Cognito and return to signout uri.
Use this decorator on the cognito logout endpoint.
This handle will not return to handle any respose rather redirect to
signout uri.
This decorator also clears the basic informations from Flask session.
Basic informations are:
* username
* group (List of Cognito groups if any)
* id
* email
* expires
* refresh_token
* access_token
* roles
* provider_type
* saml_assertions
| def logout_handler(fn):
"""
A decorator to logout from AWS Cognito and return to signout uri.
Use this decorator on the cognito logout endpoint.
This handle will not return to handle any respose rather redirect to
signout uri.
This decorator also clears the basic informations from Flask session.
Basic informations are:
* username
* group (List of Cognito groups if any)
* id
* email
* expires
* refresh_token
* access_token
* roles
* provider_type
* saml_assertions
"""
@wraps(fn)
def wrapper(*args, **kwargs):
update_session(username=None,
id=None,
groups=[],
email=None,
expires=None,
refresh_token=None,
access_token=None,
roles=[],
provider_type=None,
saml_assertions=[])
logger.info(
"AWS Cognito Login, redirecting to AWS Cognito for logout and terminating sessions")
aws_cognito_logout = config.logout_uri
# https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html
res = redirect(aws_cognito_logout)
return res
return wrapper
| (fn) | [
-0.01810402050614357,
-0.04471970349550247,
0.047703564167022705,
-0.029188308864831924,
-0.0024208028335124254,
-0.024540366604924202,
-0.08446630090475082,
0.08102338016033173,
0.03804426267743111,
0.005283925216645002,
-0.01485237292945385,
-0.02452123910188675,
0.03341544792056084,
-0.01557921152561903,
0.04181234911084175,
0.03737480565905571,
0.04234791174530983,
-0.029073543846607208,
0.023813528940081596,
-0.05099346861243248,
0.03611240163445473,
0.033549338579177856,
-0.010653924196958542,
-0.03060373105108738,
-0.037145279347896576,
-0.04311300441622734,
-0.006842803210020065,
0.02949434518814087,
0.014106406830251217,
-0.02161388471722603,
-0.01843874715268612,
-0.040664706379175186,
0.032650355249643326,
0.021862540394067764,
0.027046047151088715,
-0.03263122960925102,
0.002367007313296199,
0.04647941514849663,
-0.01582786627113819,
0.011007779277861118,
-0.08393073081970215,
-0.0016915734158828855,
-0.013570842333137989,
-0.0050543975085020065,
0.021460866555571556,
0.07547645270824432,
-0.011495526880025864,
0.0317704975605011,
0.0011470421450212598,
0.00846862606704235,
-0.0017919918755069375,
0.05244714394211769,
-0.0061350916512310505,
0.03756608068943024,
0.03854157403111458,
0.0006724452832713723,
0.009004191495478153,
-0.025056805461645126,
-0.006092055235058069,
0.01768321916460991,
0.00518350675702095,
0.014001207426190376,
-0.004131503868848085,
0.0008971914066933095,
0.058414872735738754,
0.034849997609853745,
-0.043074753135442734,
0.027677249163389206,
-0.010386141017079353,
-0.027122557163238525,
-0.010080103762447834,
-0.05768803134560585,
0.03924928605556488,
-0.007297077216207981,
-0.003930666483938694,
-0.0690879225730896,
-0.01864914782345295,
0.010424396023154259,
0.03683924302458763,
-0.0269504114985466,
-0.02756248600780964,
-0.04969280958175659,
0.006704129744321108,
0.04471970349550247,
0.027026919648051262,
0.0024375393986701965,
0.004846387542784214,
-0.067672498524189,
-0.09058704227209091,
0.0718805119395256,
-0.0024817714001983404,
-0.03647582232952118,
-0.04242442175745964,
-0.01420204434543848,
-0.03704964369535446,
-0.008535572327673435,
0.009052010253071785,
0.01942380517721176,
0.015866121277213097,
-0.06155175343155861,
0.031464461237192154,
-0.03666709363460541,
-0.021326975896954536,
0.0677490085363388,
0.029819510877132416,
-0.07513216137886047,
0.021709522232413292,
-0.04475795850157738,
0.032172173261642456,
-0.01368560642004013,
-0.017673654481768608,
-0.011820690706372261,
-0.007483568508177996,
-0.024693384766578674,
0.02790677733719349,
-0.005236106924712658,
0.025458479300141335,
0.02721819281578064,
-0.04257744178175926,
-0.07276037335395813,
-0.02060013636946678,
-0.04961629956960678,
-0.020963555201888084,
-0.0008708913228474557,
0.02155650220811367,
0.006049018818885088,
-0.005389125552028418,
0.013130913488566875,
-0.02930307202041149,
0.047780074179172516,
-0.04594385251402855,
0.023182326927781105,
0.015110592357814312,
-0.025114186108112335,
0.013570842333137989,
0.019156021997332573,
0.011916328221559525,
0.0020980292465537786,
-0.007450095843523741,
0.09510109573602676,
-0.005465635098516941,
0.024750767275691032,
-0.03674360364675522,
-0.0015301865059882402,
0.08278309553861618,
0.018419621512293816,
0.005393907427787781,
0.038312043994665146,
0.05898869037628174,
-0.06667787581682205,
0.04475795850157738,
0.015454884618520737,
0.03903888538479805,
0.022053813561797142,
-0.05474242568016052,
-0.01250927522778511,
0.007225349545478821,
0.02563062496483326,
0.014106406830251217,
-0.02390916459262371,
0.04112376272678375,
0.00971190258860588,
-0.02128872089087963,
-0.045561306178569794,
-0.007445313967764378,
-0.003600720316171646,
0.06281416118144989,
0.033683232963085175,
0.0007346090860664845,
-0.02161388471722603,
-0.06882014125585556,
-0.006154219154268503,
0.04927200824022293,
-0.004583386704325676,
0.0033114193938672543,
0.0787280946969986,
0.0266061183065176,
-0.03747044503688812,
-0.026625245809555054,
-0.040664706379175186,
0.029532600194215775,
-0.042462676763534546,
-0.024081310257315636,
0.021059192717075348,
0.009994030930101871,
0.03156009688973427,
-0.027447720989584923,
-0.0023335344158113003,
-0.058682654052972794,
0.0026778264436870813,
0.010405268520116806,
0.004772269167006016,
-0.016956379637122154,
0.016392122954130173,
0.053862567991018295,
0.019662898033857346,
0.004208012949675322,
0.023660508915781975,
0.014622845686972141,
-0.08783271163702011,
0.013886443339288235,
0.005460853222757578,
0.0006987453671172261,
-0.022608505561947823,
0.014230734668672085,
0.044528428465127945,
0.03597851097583771,
0.028997035697102547,
-0.08446630090475082,
0.010233122855424881,
-0.03473523631691933,
0.005867308937013149,
-0.022991053760051727,
0.05784105136990547,
0.007220567669719458,
0.045217011123895645,
-0.01109385211020708,
0.041276782751083374,
-0.0037130932323634624,
0.017157217487692833,
0.020198462530970573,
-0.05680817738175392,
0.011304252780973911,
-0.01713808998465538,
0.05539275333285332,
0.013647351413965225,
-0.0014919318491593003,
-0.0331859216094017,
0.03764259070158005,
-0.01755889132618904,
-0.015588775277137756,
0.04755054786801338,
0.08645553886890411,
0.05397732928395271,
-0.013370005413889885,
-0.0266061183065176,
-0.020198462530970573,
-0.03165573254227638,
-0.00578601798042655,
0.03305203095078468,
-0.04242442175745964,
-0.04242442175745964,
0.010147050023078918,
0.004284522496163845,
0.04054994508624077,
0.0552779883146286,
-0.011237307451665401,
0.08875081688165665,
0.02390916459262371,
-0.03173224255442619,
-0.008320389315485954,
0.036437567323446274,
0.034448325634002686,
-0.02999165654182434,
-0.012241492047905922,
0.04070296138525009,
-0.012796184979379177,
0.03620804101228714,
-0.02086791954934597,
0.004059776198118925,
0.04016739875078201,
-0.023239707574248314,
-0.01429768092930317,
-0.025056805461645126,
0.034027524292469025,
-0.018390929326415062,
0.03184700757265091,
0.02985776588320732,
0.008554698899388313,
0.023813528940081596,
0.027811139822006226,
0.03123493306338787,
-0.034371815621852875,
-0.04831564053893089,
0.03138795122504234,
0.00416497653350234,
-0.027409465983510017,
-0.06866712123155594,
-0.014221170917153358,
-0.018916931003332138,
0.03670534864068031,
-0.04253918677568436,
-0.034237924963235855,
0.03827379271388054,
0.014814118854701519,
0.03743219003081322,
0.03018292970955372,
-0.017434563487768173,
0.06239335611462593,
0.0010962352389469743,
0.005111779551953077,
-0.034505706280469894,
-0.03467785194516182,
0.05011361092329025,
-0.04755054786801338,
-0.003610283834859729,
-0.05803232640028,
-0.03186613321304321,
-0.0002368501591263339,
-0.005915127228945494,
-0.01015661284327507,
-0.02536284178495407,
0.023641381412744522,
-0.0462881438434124,
0.06071015074849129,
0.002653917297720909,
0.05887392908334732,
0.017434563487768173,
0.03634193167090416,
0.008162588812410831,
0.010500905103981495,
0.017252853140234947,
-0.04793309420347214,
-0.03951706737279892,
-0.033606722950935364,
0.06453561782836914,
-0.019911551848053932,
-0.041697584092617035,
0.06445910781621933,
0.03974659740924835,
-0.02674001082777977,
-0.0003810523194260895,
0.029264817014336586,
0.05030488222837448,
0.021996431052684784,
-0.07161273062229156,
-0.03697313368320465,
0.02237897925078869,
-0.01178243663161993,
0.025324586778879166,
-0.07126843929290771,
-0.03653320297598839,
-0.007832642644643784,
-0.034773487597703934,
-0.023813528940081596,
-0.025745388120412827,
-0.0003021520678885281,
0.006699347868561745,
0.018323983997106552,
-0.004081294406205416,
-0.0704268366098404,
-0.05424511432647705,
0.0324590839445591,
0.05983029305934906,
-0.054627660661935806,
0.0010125531116500497,
0.035615090280771255,
-0.02687390148639679,
0.05764978006482124,
0.034505706280469894,
0.06239335611462593,
0.029188308864831924,
0.07279862463474274,
0.010453087277710438,
0.01039570476859808,
0.004863124340772629,
0.0011315012816339731,
-0.0028523632790893316,
0.002924090949818492,
-0.05554577335715294,
-0.03615065664052963,
-0.05474242568016052,
0.009869703091681004,
0.0019928289111703634,
0.07035032659769058,
0.02882489003241062,
-0.01637299545109272,
-0.0015792003832757473,
0.023316217586398125,
-0.017157217487692833,
-0.02645310014486313,
-0.028576234355568886,
0.013417823240160942,
0.07440531998872757,
0.03884761035442352,
0.02735208533704281,
0.02121221087872982,
-0.04322776943445206,
-0.0622020848095417,
0.008315607905387878,
-0.03328155726194382,
-0.0005026902072131634,
0.041353292763233185,
0.04900422319769859,
0.0317896269261837,
-0.002367007313296199,
0.006670657079666853,
0.008717281743884087,
-0.07662408798933029,
-0.005011361092329025,
-0.017185907810926437,
-0.0012815312948077917,
0.00347878341563046,
-0.038101643323898315,
-0.020676646381616592,
-0.04200362041592598,
-0.07302815467119217,
-0.00870293565094471,
0.05187332257628441,
0.012480583973228931,
0.047282762825489044,
0.02674001082777977,
0.025190696120262146,
-0.02549673430621624,
0.02880576252937317,
0.047014981508255005,
-0.059103455394506454,
-0.007555296178907156,
0.023392727598547935,
-0.07088588923215866,
0.01659296080470085,
-0.020160207524895668,
-0.009095046669244766,
-0.0255732424557209,
0.07233957201242447,
0.015521829947829247,
0.005503889638930559,
0.09624873101711273,
0.047780074179172516,
-0.006704129744321108,
0.01178243663161993,
0.024081310257315636,
-0.0005600721924565732,
0.015282738022506237,
-0.0017919918755069375,
-0.028078923001885414,
0.021881667897105217,
-0.03626542165875435,
-0.024846404790878296,
-0.0038804574869573116,
-0.01644950546324253,
-0.020332353189587593,
-0.08109989017248154,
-0.003287510247901082,
-0.0000049639534154266585,
0.016133904457092285,
-0.016803361475467682,
0.024578621610999107,
-0.023335345089435577,
0.037546951323747635,
0.005953382235020399,
0.03932579606771469,
-0.0614752434194088,
0.01464197225868702,
0.06105444207787514,
0.024004802107810974,
-0.04223315045237541,
0.02459774911403656,
0.06606580317020416,
-0.006202037446200848,
0.022072941064834595,
-0.029762128368020058,
-0.028786635026335716,
0.024502111598849297,
-0.007297077216207981,
-0.058835674077272415,
0.018974313512444496,
-0.02584102563560009,
0.011256434954702854,
0.0001341154711553827,
0.0006467429338954389,
-0.0006359837716445327,
0.04173583909869194,
-0.0172719806432724,
0.007746569346636534,
0.018974313512444496,
0.02783026732504368,
-0.021996431052684784,
-0.03756608068943024,
-0.025821898132562637,
-0.008315607905387878,
-0.06250812113285065,
-0.04831564053893089,
0.028155433014035225,
0.027868522331118584,
0.0016784233739599586,
0.009018536657094955,
0.024502111598849297,
-0.015177537687122822,
0.044528428465127945,
-0.04276871308684349,
0.026893028989434242,
-0.03089064173400402,
-0.015254046767950058,
-0.015407065860927105,
0.05470417067408562,
0.06048062443733215,
-0.04035867005586624,
0.04533177614212036,
-0.007005385123193264,
-0.036647967994213104,
0.0030532004311680794,
-0.013083094730973244,
-0.039287541061639786,
0.008200843818485737,
-0.020829664543271065,
0.023851782083511353,
-0.043074753135442734,
-0.009683211334049702,
-0.05914171040058136,
0.003024509409442544,
0.01378124300390482,
0.0071823131293058395,
-0.019156021997332573,
0.03670534864068031,
-0.041621074080467224,
-0.0307376217097044,
-0.05554577335715294,
-0.06331146508455276,
-0.039823103696107864,
-0.018132710829377174,
0.061245717108249664,
0.028270196169614792,
-0.0051882886327803135,
-0.041621074080467224,
-0.019567260518670082,
0.018687402829527855,
-0.004229531157761812,
0.0179701279848814,
0.013389131985604763,
0.03307115659117699,
-0.0018111192621290684,
0.002988645574077964,
0.03710702434182167,
-0.02895878069102764,
0.007746569346636534,
0.0628906637430191,
0.03358759358525276,
0.030163802206516266,
-0.00556127168238163,
-0.06048062443733215,
0.03756608068943024,
-0.047703564167022705,
0.005446507595479488,
-0.008745972067117691,
0.005245670676231384,
-0.06671613454818726,
-0.04678545519709587,
0.031540971249341965,
-0.0060012005269527435,
-0.02094442769885063,
-0.0002680815232452005,
-0.05374780297279358,
0.07926366478204727,
-0.0801817774772644,
0.024023929610848427,
-0.009635393507778645,
-0.004705323837697506,
0.0005245073116384447,
-0.028710125014185905,
-0.047359272837638855,
0.007301859091967344,
0.135344997048378,
-0.040243905037641525,
-0.021747777238488197,
0.035003017634153366,
-0.02044711820781231,
-0.000869695853907615,
-0.05975378677248955,
-0.013140477240085602,
-0.03653320297598839,
0.04934851452708244,
0.024368220940232277,
-0.039555322378873825,
0.05409209430217743,
0.00936761125922203,
0.0476653128862381,
-0.032019153237342834,
-0.0387137196958065,
0.026510482653975487,
-0.04517875984311104,
-0.0022881070617586374,
0.018687402829527855,
-0.024482984095811844,
-0.0822475254535675,
0.028671870008111,
0.05501020699739456,
-0.028289323672652245,
0.04276871308684349,
-0.026567863300442696,
-0.008320389315485954,
-0.001072326092980802,
0.010070540010929108,
-0.03750869631767273,
0.0011374785099178553,
0.0075074778869748116,
-0.031674861907958984,
0.060824915766716,
-0.05435987561941147,
0.042041875422000885,
-0.022398104891180992,
-0.002881054300814867,
-0.039287541061639786,
-0.05776454135775566,
0.0031584007665514946,
0.02570713497698307,
-0.030355075374245644,
-0.00950150191783905,
-0.036915749311447144,
0.048047859221696854,
-0.015340120531618595,
0.0753616914153099,
0.021537376567721367,
0.02687390148639679,
0.03268861025571823,
0.0013413041597232223,
-0.025688007473945618,
-0.032707735896110535,
-0.05581355467438698,
-0.042462676763534546,
-0.05194983258843422,
0.05504846200346947,
0.06277590245008469,
0.014919319190084934,
0.021326975896954536,
0.02687390148639679,
-0.028499724343419075,
0.00469576008617878,
0.005073525011539459,
-0.014814118854701519,
-0.035748984664678574,
-0.05348002165555954,
-0.04961629956960678,
0.020982682704925537,
0.002285716123878956,
-0.025649752467870712,
0.019605515524744987,
0.03356846794486046,
-0.05397732928395271,
0.04865993186831474,
-0.06189604476094246,
-0.07203353196382523,
0.03433356061577797,
-0.04797134920954704,
0.03507952764630318,
0.014967137016355991,
-0.0210783202201128,
0.010959961451590061,
-0.020427990704774857,
-0.05451289564371109,
0.029800383374094963,
-0.014871500432491302,
-0.004867905750870705,
0.028098050504922867,
0.04039692506194115,
0.038579829037189484,
0.01843874715268612,
0.029341327026486397,
0.04533177614212036,
-0.06736646592617035,
0.028901398181915283,
0.07474961131811142,
0.020829664543271065,
-0.021193083375692368,
-0.02258937992155552,
-0.039287541061639786,
-0.0011117762187495828,
-0.0035552927292883396,
0.06120746210217476,
0.007383150048553944,
-0.028212813660502434,
-0.021939050406217575,
0.05030488222837448,
0.037011388689279556,
0.012098037637770176,
-0.05007535591721535,
-0.03490738198161125,
0.03607414662837982,
0.02023671753704548,
-0.021231338381767273,
0.03337719291448593,
-0.0359020009636879,
0.018534384667873383,
0.029666492715477943,
-0.02750510349869728,
-0.035404689610004425,
0.030795004218816757,
-0.01955769769847393,
-0.06162826344370842,
0.026625245809555054,
-0.007646150887012482,
0.041429802775382996,
-0.031330570578575134,
-0.04028216004371643,
0.01852482184767723,
-0.026280954480171204,
0.032038282603025436,
-0.01935685984790325,
-0.020542753860354424,
-0.021575629711151123,
0.022359851747751236,
-0.05722897872328758,
0.003569638356566429,
-0.014173353090882301,
-0.08109989017248154,
-0.014833246357738972,
-0.028346706181764603,
0.021250465884804726,
0.0518350712954998,
0.0836246982216835,
-0.012432766146957874,
-0.012145855464041233,
0.030661113560199738,
-0.010787814855575562,
0.05623435601592064,
-0.0511464849114418,
0.0169372521340847,
-0.03674360364675522,
0.017807545140385628,
0.016745978966355324,
-0.007120149210095406,
-0.04823913052678108,
0.026204444468021393,
0.019366422668099403,
0.019777661189436913,
0.034084904938936234,
-0.11422842741012573,
-0.047282762825489044,
0.022340724244713783,
-0.01569397561252117,
-0.025171568617224693,
-0.03743219003081322,
0.03863720968365669,
-0.032707735896110535,
-0.013905569911003113,
-0.032650355249643326,
-0.0200454443693161,
0.08163545280694962,
0.019873298704624176,
0.010127922520041466,
-0.03511778265237808,
-0.043074753135442734,
-0.05764978006482124,
0.04112376272678375,
-0.05076393857598305,
-0.010070540010929108,
-0.04035867005586624,
-0.01530186552554369,
-0.04582908749580383,
-0.0020035880152136087,
-0.01783623732626438,
0.012643166817724705,
0.03859895467758179,
0.014163789339363575,
0.07719790935516357,
0.02038973569869995,
-0.0165738333016634,
-0.019720278680324554,
0.017855364829301834,
0.008908554911613464,
0.06071015074849129,
0.07367848604917526,
-0.015005392022430897,
0.006881057750433683,
0.0414680540561676,
-0.01081650611013174,
0.004284522496163845,
-0.011017343029379845,
-0.030010784044861794,
0.06480339914560318,
0.007985660806298256,
0.0511082299053669,
-0.025190696120262146,
-0.03274599090218544,
0.07647107541561127,
0.06388528645038605,
-0.011218179948627949,
0.02038973569869995
] |
23,231 | binary.core | convert_units | Converts between and within binary and decimal units. If no ``unit``
is specified, ``n`` is assumed to already be in bytes. If no ``to`` is
specified, ``n`` will be converted to the highest unit possible. If
no ``unit`` nor ``to`` is specified, the output will be binary units
unless ``si`` is ``True``. If ``exact`` is ``True``. the calculations
will use decimal.Decimal.
Binary units conform to IEC standards, see:
https://en.wikipedia.org/wiki/Binary_prefix
https://en.wikipedia.org/wiki/IEC_80000-13
https://www.iso.org/standard/31898.html (paywalled)
Decimal units conform to SI standards, see:
https://en.wikipedia.org/wiki/International_System_of_Units
:param n: The number of ``unit``\ s.
:type n: ``int`` or ``float``
:param unit: The unit ``n`` represents.
:type unit: one of the global constants
:param to: The unit to convert to.
:type to: one of the global constants
:param si: Assume SI units when no ``unit`` nor ``to`` is specified.
:type si: ``bool``
:param exact: Use decimal.Decimal for calculations.
:type exact: ``bool``
:returns: The unit pair: a numeric quantity and the unit's string.
:rtype: tuple(quantity, string)
| def convert_units(n, unit=BYTE, to=None, si=False, exact=False):
"""Converts between and within binary and decimal units. If no ``unit``
is specified, ``n`` is assumed to already be in bytes. If no ``to`` is
specified, ``n`` will be converted to the highest unit possible. If
no ``unit`` nor ``to`` is specified, the output will be binary units
unless ``si`` is ``True``. If ``exact`` is ``True``. the calculations
will use decimal.Decimal.
Binary units conform to IEC standards, see:
https://en.wikipedia.org/wiki/Binary_prefix
https://en.wikipedia.org/wiki/IEC_80000-13
https://www.iso.org/standard/31898.html (paywalled)
Decimal units conform to SI standards, see:
https://en.wikipedia.org/wiki/International_System_of_Units
:param n: The number of ``unit``\ s.
:type n: ``int`` or ``float``
:param unit: The unit ``n`` represents.
:type unit: one of the global constants
:param to: The unit to convert to.
:type to: one of the global constants
:param si: Assume SI units when no ``unit`` nor ``to`` is specified.
:type si: ``bool``
:param exact: Use decimal.Decimal for calculations.
:type exact: ``bool``
:returns: The unit pair: a numeric quantity and the unit's string.
:rtype: tuple(quantity, string)
"""
if unit not in PREFIXES:
raise ValueError('{} is not a valid binary unit.'.format(unit))
# Always work with bytes to simplify logic.
n *= Decimal(unit) if exact else unit
if to:
try:
return n / to, PREFIXES[to]
except KeyError:
raise ValueError('{} is not a valid binary unit.'.format(to))
if unit in BINARY_PREFIXES and not si:
if n < KIBIBYTE:
return n, 'B'
elif n < MEBIBYTE:
return n / KIBIBYTE, 'KiB'
elif n < GIBIBYTE:
return n / MEBIBYTE, 'MiB'
elif n < TEBIBYTE:
return n / GIBIBYTE, 'GiB'
elif n < PEBIBYTE:
return n / TEBIBYTE, 'TiB'
elif n < EXBIBYTE:
return n / PEBIBYTE, 'PiB'
elif n < ZEBIBYTE:
return n / EXBIBYTE, 'EiB'
elif n < YOBIBYTE:
return n / ZEBIBYTE, 'ZiB'
else:
return n / YOBIBYTE, 'YiB'
else:
if n < KILOBYTE:
return n, 'B'
elif n < MEGABYTE:
return n / KILOBYTE, 'KB'
elif n < GIGABYTE:
return n / MEGABYTE, 'MB'
elif n < TERABYTE:
return n / GIGABYTE, 'GB'
elif n < PETABYTE:
return n / TERABYTE, 'TB'
elif n < EXABYTE:
return n / PETABYTE, 'PB'
elif n < ZETTABYTE:
return n / EXABYTE, 'EB'
elif n < YOTTABYTE:
return n / ZETTABYTE, 'ZB'
else:
return n / YOTTABYTE, 'YB'
| (n, unit=1, to=None, si=False, exact=False) | [
-0.00011211437958991155,
-0.0018825294682756066,
-0.021437261253595352,
-0.033519063144922256,
0.0029294167179614305,
-0.03359375521540642,
-0.00808565691113472,
-0.026983311399817467,
-0.04436840862035751,
-0.05829889327287674,
0.0358906053006649,
0.06957773119211197,
0.04190349578857422,
0.004054499324411154,
0.0014273611595854163,
0.06905487179756165,
0.020204804837703705,
-0.042874522507190704,
0.01857086829841137,
0.04709475114941597,
0.023435333743691444,
0.04242635518312454,
0.03917715325951576,
0.04119390249252319,
-0.00886994693428278,
0.0020039076916873455,
0.049522314220666885,
-0.01051322091370821,
-0.035012949258089066,
-0.028141073882579803,
-0.002244330011308193,
0.021866753697395325,
0.043098606169223785,
-0.020522255450487137,
-0.02944822423160076,
0.01290343888103962,
0.03992409631609917,
-0.009999698027968407,
-0.09433888643980026,
0.02113848365843296,
-0.00736205605790019,
-0.05956869572401047,
0.0715944766998291,
0.04743087291717529,
-0.008179024793207645,
-0.007100625894963741,
-0.022184204310178757,
0.0056627606973052025,
-0.05814950540661812,
0.07753267139196396,
0.03775796294212341,
-0.045152697712183,
-0.002289846772328019,
-0.015471055172383785,
-0.018076017498970032,
0.03243599459528923,
-0.03673091530799866,
0.015825852751731873,
0.0060035535134375095,
0.005952201317995787,
-0.023491354659199715,
0.046235766261816025,
0.04246370494365692,
-0.06035298481583595,
-0.042762480676174164,
0.012380578555166721,
0.01964459754526615,
-0.026516472920775414,
-0.0161526408046484,
0.046086378395557404,
0.04089512303471565,
0.0030881420243531466,
0.009439490735530853,
0.012754050083458424,
0.0009552699630148709,
0.05172579735517502,
0.004262242931872606,
0.010214444249868393,
0.015629779547452927,
0.05714113265275955,
0.02123185247182846,
0.0018568533705547452,
0.05086681246757507,
-0.06132401153445244,
0.006493734661489725,
0.016899583861231804,
0.03359375521540642,
0.03755255416035652,
0.019980723038315773,
-0.009626226499676704,
-0.09799890965223312,
-0.04858863353729248,
0.02588157169520855,
0.05079211667180061,
-0.03600264713168144,
-0.012156495824456215,
-0.012445935979485512,
-0.004075507167726755,
-0.06980181485414505,
-0.04044695943593979,
-0.04545147344470024,
0.025489427149295807,
-0.026983311399817467,
-0.015237635001540184,
0.019793987274169922,
0.023435333743691444,
-0.041492678225040436,
0.00978495180606842,
0.020466234534978867,
-0.020522255450487137,
-0.08208902180194855,
-0.014229262247681618,
-0.05355580523610115,
-0.08268658071756363,
-0.03940123692154884,
-0.01689024642109871,
-0.023846151307225227,
0.020372867584228516,
-0.0370296947658062,
0.01128817442804575,
-0.009430154226720333,
0.027991684153676033,
-0.01923377998173237,
0.0026586498133838177,
0.01853352040052414,
0.007749532349407673,
0.07503041625022888,
0.024014214053750038,
0.05131497606635094,
0.03458345681428909,
0.03686163201928139,
-0.026703208684921265,
0.009934340603649616,
0.0719679445028305,
0.00342660048045218,
0.041305940598249435,
-0.04388289526104927,
0.04716944321990013,
0.019962048158049583,
0.06285524368286133,
0.02922414056956768,
-0.023995541036128998,
0.041156552731990814,
-0.03280946612358093,
0.038206130266189575,
0.009822298772633076,
0.06408770382404327,
-0.03943858668208122,
-0.08320944011211395,
0.016591468825936317,
-0.06972712278366089,
0.024966565892100334,
0.06132401153445244,
-0.042687784880399704,
0.014938858337700367,
-0.03247334063053131,
0.049746397882699966,
-0.029971083626151085,
-0.006885879673063755,
0.0038234139792621136,
0.03458345681428909,
0.06591770797967911,
-0.012007107026875019,
-0.02126919850707054,
-0.006694475654512644,
0.03611468896269798,
-0.05486295744776726,
0.02097042091190815,
0.02745015174150467,
-0.020186131820082664,
-0.022426960989832878,
0.025433406233787537,
-0.01790795661509037,
0.02586289867758751,
0.0034872896503657103,
-0.07428347319364548,
0.000174772969330661,
-0.051202934235334396,
-0.01622733473777771,
0.00410818587988615,
0.02461176924407482,
-0.008575838059186935,
-0.023883499205112457,
0.014201251789927483,
-0.02440635859966278,
0.011390878818929195,
0.03271609917283058,
0.034732844680547714,
-0.03435937315225601,
-0.08440455049276352,
0.08828864991664886,
0.026833923533558846,
-0.004640382714569569,
0.041417982429265976,
-0.011185470037162304,
0.002985437400639057,
0.05829889327287674,
0.001993403770029545,
-0.01122281700372696,
-0.0021136149298399687,
-0.00971959438174963,
0.011923075653612614,
0.05792542174458504,
0.03066200576722622,
0.012576650828123093,
-0.031707726418972015,
-0.05792542174458504,
0.007329377345740795,
0.004271579906344414,
-0.008375097066164017,
0.020765012130141258,
0.0031161524821072817,
-0.0389157235622406,
0.018318774178624153,
-0.003809408750385046,
-0.009925004094839096,
0.028346482664346695,
0.02601228654384613,
0.017842598259449005,
-0.016087282449007034,
0.05669296532869339,
0.013594361022114754,
0.05527377501130104,
0.015022888779640198,
-0.021623997017741203,
0.049559660255908966,
0.00900999829173088,
0.052547432482242584,
0.0678224116563797,
0.04597433656454086,
0.01862688921391964,
-0.01050388440489769,
-0.007427413482218981,
0.012455272488296032,
0.02745015174150467,
-0.021605324000120163,
-0.016591468825936317,
-0.052771516144275665,
0.006115594878792763,
-0.04119390249252319,
-0.031371600925922394,
-0.021736038848757744,
-0.052659474313259125,
0.03590928018093109,
0.016292691230773926,
-0.06408770382404327,
0.02082103304564953,
-0.005494698882102966,
-0.07473163306713104,
0.0036086677573621273,
-0.023846151307225227,
-0.0153963603079319,
0.049335576593875885,
-0.018281428143382072,
0.01460273377597332,
-0.008230376988649368,
-0.0917992815375328,
-0.012585987336933613,
0.028533218428492546,
0.019103065133094788,
0.03219323977828026,
-0.06576832383871078,
-0.02136256732046604,
0.007063278928399086,
0.005751460324972868,
-0.0326787531375885,
-0.009672910906374454,
-0.007278024684637785,
0.00012582777708303183,
0.03245466947555542,
0.04548882320523262,
-0.0016759531572461128,
-0.054153360426425934,
0.033369675278663635,
-0.030176492407917976,
-0.02590024471282959,
0.05165110155940056,
0.012464609928429127,
0.01792662963271141,
-0.0153963603079319,
-0.047729652374982834,
-0.01726371794939041,
-0.004680064041167498,
-0.010868019424378872,
0.0023505359422415495,
0.01938316784799099,
-0.013846454210579395,
-0.08881150931119919,
0.035106316208839417,
0.014752122573554516,
0.027244742959737778,
-0.031147519126534462,
-0.08537556976079941,
-0.00404282845556736,
-0.035012949258089066,
-0.020540930330753326,
-0.0821637213230133,
-0.05557255074381828,
0.08081921935081482,
-0.009579543024301529,
-0.08933436870574951,
0.009500180371105671,
0.018869644030928612,
0.00527528440579772,
-0.03574121743440628,
0.054228052496910095,
0.05983012542128563,
-0.048028428107500076,
-0.010896029882133007,
0.005462019704282284,
0.001478713471442461,
-0.04560086503624916,
0.0647972971200943,
-0.013248899951577187,
0.05882175266742706,
-0.05471356585621834,
-0.007642159704118967,
0.044592492282390594,
-0.002873396035283804,
0.02763688750565052,
0.009159387089312077,
0.054377444088459015,
-0.05646888166666031,
0.026815250515937805,
0.03097945638000965,
0.03732847049832344,
-0.026572493836283684,
0.026591166853904724,
0.06812119483947754,
-0.041604720056056976,
-0.005163242574781179,
0.0014203585451468825,
0.005130563862621784,
0.007660833187401295,
-0.05968073755502701,
-0.023976866155862808,
0.01943918876349926,
0.019000360742211342,
0.005620745476335287,
0.0057374550960958,
0.09187397360801697,
0.02136256732046604,
-0.02944822423160076,
0.010485210455954075,
-0.001185188302770257,
0.025433406233787537,
0.0021556306164711714,
-0.019000360742211342,
0.011773687787353992,
0.05467621982097626,
-0.06027829274535179,
-0.007217335514724255,
-0.005139900837093592,
-0.012539303861558437,
-0.017366422340273857,
-0.015667127445340157,
0.033369675278663635,
-0.06602974981069565,
0.0243690125644207,
-0.01679687760770321,
-0.039737362414598465,
0.024966565892100334,
0.013519666157662868,
-0.041343290358781815,
0.008599179796874523,
-0.05377988889813423,
0.03221191093325615,
-0.028010359033942223,
0.033351000398397446,
0.02745015174150467,
0.04085777699947357,
0.00841711275279522,
-0.0002828754368238151,
0.02082103304564953,
-0.008501144126057625,
0.05471356585621834,
0.010457200929522514,
0.020204804837703705,
-0.09164988994598389,
-0.02276308462023735,
0.018654899671673775,
-0.05236069858074188,
-0.07469429075717926,
0.07768206298351288,
0.042687784880399704,
-0.0009126708609983325,
0.043135952204465866,
-0.017291728407144547,
-0.04040960967540741,
-0.006101589649915695,
-0.06759833544492722,
0.041156552731990814,
0.02250165492296219,
0.006708480883389711,
0.0343780480325222,
0.006549755576997995,
0.038224801421165466,
-0.021586649119853973,
-0.001471710973419249,
0.0030087793711572886,
0.002443903824314475,
-0.0655442401766777,
-0.039587974548339844,
0.03292150795459747,
-0.046459849923849106,
0.03577856346964836,
0.04377085343003273,
0.005377988796681166,
-0.015872536227107048,
-0.010074391961097717,
-0.021885426715016365,
0.030344555154442787,
-0.015527075156569481,
-0.03260405734181404,
-0.07532919198274612,
-0.011876392178237438,
-0.03447141498327255,
-0.06207095459103584,
-0.02132521942257881,
-0.030213840305805206,
-0.02455574832856655,
-0.02935485541820526,
0.026329737156629562,
0.010093065910041332,
0.07947472482919693,
-0.026441778987646103,
0.05146436393260956,
-0.007179988548159599,
-0.006876543164253235,
0.044592492282390594,
0.04003613814711571,
0.018122702836990356,
-0.06494668126106262,
-0.05023191124200821,
0.07798083871603012,
-0.03693632781505585,
0.011773687787353992,
-0.012642008252441883,
-0.0034312689676880836,
0.00904734618961811,
0.017562495544552803,
0.01466809120029211,
0.03062465786933899,
0.04888741299510002,
0.011213480494916439,
-0.030288534238934517,
-0.027935665100812912,
-0.012791397050023079,
-0.020167458802461624,
-0.03895307332277298,
0.022968493402004242,
-0.056244801729917526,
0.02886934205889702,
-0.05699174478650093,
0.08343352377414703,
-0.05467621982097626,
-0.029634959995746613,
0.002448572078719735,
-0.03376181796193123,
-0.0005852998001500964,
0.012828744016587734,
0.0389157235622406,
0.020279498770833015,
0.04388289526104927,
0.0022268234752118587,
-0.014257272705435753,
0.041305940598249435,
-0.01632070168852806,
0.059419307857751846,
0.030213840305805206,
-0.019756639376282692,
0.026740556582808495,
0.00926676020026207,
0.03226793184876442,
0.031166192144155502,
0.017198359593749046,
-0.010606588795781136,
-0.01971929334104061,
-0.01925245299935341,
-0.05609541013836861,
0.05236069858074188,
0.023080535233020782,
-0.006218299735337496,
0.009868983179330826,
-0.0034125952515751123,
0.009462832473218441,
0.002906074747443199,
0.02448105253279209,
0.00004974756302544847,
-0.03680561110377312,
-0.06785976141691208,
0.04922353848814964,
0.02414492890238762,
0.012950122356414795,
-0.021717363968491554,
0.028290461748838425,
-0.026591166853904724,
-0.03846755996346474,
-0.04690801352262497,
-0.008818594738841057,
0.07454489916563034,
0.00979428831487894,
0.016899583861231804,
-0.008389102295041084,
-0.05221130698919296,
0.021381240338087082,
-0.024761157110333443,
0.025582794100046158,
-0.021493282169103622,
-0.023379312828183174,
-0.0457129068672657,
0.04537678137421608,
0.03452743589878082,
-0.016638152301311493,
-0.007875579409301281,
-0.009080024436116219,
-0.03083006851375103,
-0.025097280740737915,
-0.010111739858984947,
0.0020447561983019114,
0.04575025290250778,
0.0010217945091426373,
0.03760857507586479,
0.0021136149298399687,
-0.004472320433706045,
0.010699956677854061,
-0.0419408418238163,
-0.039886750280857086,
0.014406661503016949,
-0.046049028635025024,
-0.009206071496009827,
-0.033276304602622986,
0.033145591616630554,
-0.016507437452673912,
-0.010139749385416508,
-0.052771516144275665,
0.010121076367795467,
0.005942864343523979,
0.026777902618050575,
0.02431299164891243,
-0.012884764932096004,
-0.0015697472263127565,
0.03611468896269798,
-0.03577856346964836,
0.0033589089289307594,
0.07488102465867996,
-0.009024003520607948,
0.021792059764266014,
0.009005330502986908,
0.01205379143357277,
0.002455574693158269,
-0.023939520120620728,
0.013575687073171139,
0.016712848097085953,
0.043023910373449326,
-0.007357387337833643,
0.006545087322592735,
0.020298173651099205,
-0.0034756185486912727,
-0.007203330751508474,
-0.059083182364702225,
-0.021773384883999825,
-0.0005120643763802946,
0.03237997367978096,
-0.006839195732027292,
0.028010359033942223,
0.007539454847574234,
-0.029877716675400734,
0.04067103937268257,
0.008837267756462097,
0.04672127962112427,
0.04903680086135864,
0.02913077361881733,
-0.033108245581388474,
-0.03742183744907379,
-0.020578276365995407,
-0.01958857662975788,
-0.0967291072010994,
-0.017067644745111465,
-0.021437261253595352,
-0.023304618895053864,
0.044592492282390594,
-0.03389253467321396,
0.03204385191202164,
0.03943858668208122,
0.021885426715016365,
-0.020410215482115746,
-0.015583096072077751,
0.03096078336238861,
-0.00964490044862032,
0.026721881702542305,
-0.008449791930615902,
0.06449852138757706,
-0.0020097431261092424,
-0.01689024642109871,
-0.05684235319495201,
-0.038168780505657196,
-0.026311064139008522,
-0.004061501938849688,
-0.01051322091370821,
0.026273716241121292,
0.008323744870722294,
0.04377085343003273,
0.03097945638000965,
0.07013794034719467,
0.052472736686468124,
0.01836545765399933,
-0.054190706461668015,
-0.007987620308995247,
0.014266609214246273,
0.01526564545929432,
-0.025377385318279266,
0.002983103273436427,
-0.026609839871525764,
-0.04716944321990013,
-0.015741821378469467,
0.02278175763785839,
-0.09441357851028442,
-0.04029756784439087,
-0.044405754655599594,
-0.05060538277029991,
0.06207095459103584,
-0.02593759261071682,
0.054377444088459015,
-0.031054150313138962,
0.006699143908917904,
-0.017842598259449005,
-0.014761459082365036,
0.007394734770059586,
-0.06169748306274414,
0.009299439378082752,
0.04832720384001732,
0.08418046683073044,
-0.028085052967071533,
-0.11166796088218689,
0.012352568097412586,
0.026703208684921265,
0.012810070998966694,
-0.02425697073340416,
0.05377988889813423,
0.062705859541893,
0.0025886239018291235,
0.014640080742537975,
0.014229262247681618,
0.047916386276483536,
-0.017543820664286613,
-0.02903740480542183,
-0.052734170109033585,
-0.0046520535834133625,
0.004785102792084217,
-0.01860821433365345,
0.06166013702750206,
0.014247936196625233,
-0.06307932734489441,
0.026423104107379913,
0.023435333743691444,
0.03899041935801506,
-0.007894252426922321,
-0.03932654485106468,
0.02601228654384613,
-0.025302691385149956,
-0.029971083626151085,
-0.03876633569598198,
0.036301422864198685,
0.010886692441999912,
0.016703510656952858,
-0.020223479717969894,
0.002333029406145215,
-0.055721938610076904,
-0.05729052051901817,
0.04978374391794205,
0.017179686576128006,
0.04167941212654114,
-0.08686945587396622,
-0.04235166311264038,
0.07465694099664688,
-0.0036296756006777287,
0.02425697073340416,
0.0419408418238163,
-0.020204804837703705,
0.006264983676373959,
-0.039774708449840546,
0.009518853388726711,
-0.004803776275366545,
0.039550624787807465,
0.004297256004065275,
-0.02754351869225502,
0.009280765429139137,
-0.02935485541820526,
-0.023864826187491417,
0.04395759105682373,
0.04709475114941597,
-0.08126738667488098,
0.04500330984592438,
0.006433045491576195,
0.018281428143382072,
-0.007352719083428383,
0.00730603514239192,
0.014331966638565063,
-0.025564121082425117,
0.05363050103187561,
-0.11853983998298645,
0.02588157169520855,
-0.015415034256875515,
0.005704776383936405,
-0.01382778026163578,
-0.039812054485082626,
-0.0345647819340229,
-0.008930635638535023,
-0.006881211418658495,
0.010074391961097717,
0.031801093369722366,
-0.03602132201194763,
-0.03075537458062172,
-0.0018860307754948735,
0.03297752887010574,
-0.004619374871253967,
0.06673935055732727,
-0.06401300430297852,
0.020223479717969894,
-0.009626226499676704,
-0.06147339940071106,
0.05889644846320152,
0.008034304715692997,
-0.033313654363155365,
0.021437261253595352,
0.03368712589144707,
-0.028029032051563263,
-0.05217396095395088,
0.008832599967718124,
-0.015816515311598778,
0.023267270997166634,
-0.04739352688193321,
-0.007432081736624241,
-0.000011032725524273701,
-0.017291728407144547,
-0.01044786348938942,
-0.04922353848814964,
-0.008748568594455719,
-0.01387446466833353,
0.04922353848814964,
0.016404733061790466,
0.04216492548584938,
0.01949520967900753,
-0.09971687942743301,
0.0377766378223896,
0.04033491760492325,
0.04265043884515762,
0.004210890736430883,
-0.018468163907527924,
0.026609839871525764,
-0.04522739350795746,
-0.019065717235207558,
0.013248899951577187,
0.04033491760492325,
-0.025265343487262726,
0.010653273202478886,
-0.006381693296134472,
-0.038206130266189575,
-0.02933618240058422,
-0.04425636678934097,
-0.04672127962112427,
0.018253417685627937,
0.04728148505091667,
0.008193030022084713,
-0.0060782479122281075,
0.02414492890238762,
-0.0015755826607346535
] |
23,235 | yamlfix.services | fix_code | Fix yaml source code to correct the format.
It corrects these errors:
* Add --- at the beginning of the file.
* Correct truthy strings: 'True' -> true, 'no' -> 'false'
* Remove unnecessary apostrophes: `title: 'Why we sleep'` ->
`title: Why we sleep`.
Args:
source_code: Source code to be corrected.
config: Small set of user provided configuration options for yamlfix.
Returns:
Corrected source code.
| def fix_code(source_code: str, config: Optional[YamlfixConfig] = None) -> str:
"""Fix yaml source code to correct the format.
It corrects these errors:
* Add --- at the beginning of the file.
* Correct truthy strings: 'True' -> true, 'no' -> 'false'
* Remove unnecessary apostrophes: `title: 'Why we sleep'` ->
`title: Why we sleep`.
Args:
source_code: Source code to be corrected.
config: Small set of user provided configuration options for yamlfix.
Returns:
Corrected source code.
"""
# Leave Ansible vaults unmodified
if source_code.startswith("$ANSIBLE_VAULT;"):
return source_code
if source_code.startswith("#!"):
# Skip the shebang line if present, leaving it unmodified
eolpos = source_code.find("\n") + 1
shebang = source_code[:eolpos]
source_code = source_code[eolpos:]
else:
shebang = ""
if source_code.startswith("#jinja2:") or source_code.startswith("# jinja2:"):
eolpos = source_code.find("\n") + 1
jinja2 = source_code[:eolpos]
source_code = source_code[eolpos:]
else:
jinja2 = ""
yaml = Yaml(config=config)
fixer = SourceCodeFixer(yaml=yaml, config=config)
source_code = fixer.fix(source_code=source_code)
return jinja2 + shebang + source_code
| (source_code: str, config: Optional[yamlfix.model.YamlfixConfig] = None) -> str | [
0.009982869029045105,
-0.03083156980574131,
0.045625679194927216,
-0.057879019528627396,
-0.025227468460798264,
-0.043679557740688324,
-0.012757890857756138,
0.06310471147298813,
0.05348223075270653,
-0.028957528993487358,
0.004860792309045792,
-0.02456074208021164,
0.031714532524347305,
0.02762407809495926,
0.0036827598232775927,
0.021064935252070427,
0.03380480781197548,
0.03425529599189758,
0.02753397822380066,
-0.034777864813804626,
0.019443169236183167,
0.006811416242271662,
-0.007662843447178602,
0.0548517219722271,
0.017560118809342384,
0.05550042912364006,
0.03895841911435127,
-0.009694555774331093,
-0.05056305229663849,
-0.06396964937448502,
0.020362170413136482,
0.025930233299732208,
0.028795352205634117,
0.036381613463163376,
0.015614000149071217,
0.004297679290175438,
0.00508153298869729,
0.003908005077391863,
-0.045517560094594955,
-0.06613200157880783,
-0.010433360002934933,
0.011226222850382328,
-0.011604635044932365,
-0.005937464535236359,
-0.028056548908352852,
-0.0051536113023757935,
-0.03701229766011238,
-0.00026410006103105843,
-0.01309125404804945,
0.02299303561449051,
0.06278035789728165,
-0.030200883746147156,
0.0059960284270346165,
0.06029364839196205,
0.037841200828552246,
-0.009095403365790844,
-0.007041166536509991,
0.016397854313254356,
0.0710693821310997,
-0.012631753459572792,
0.026687057688832283,
0.06865475326776505,
-0.013208380900323391,
-0.027119528502225876,
0.04097661375999451,
-0.019623365253210068,
0.010847811587154865,
-0.018208825960755348,
0.006527607329189777,
-0.04357144236564636,
-0.06014949083328247,
-0.0010107880225405097,
-0.017758335918188095,
0.008230461739003658,
0.09925206750631332,
-0.03268758952617645,
-0.06605992466211319,
0.026687057688832283,
0.026669036597013474,
-0.04764387384057045,
0.05207670107483864,
-0.0009651758591644466,
0.010694644413888454,
-0.022668682038784027,
0.022056015208363533,
-0.015604990534484386,
0.031516313552856445,
0.04270650073885918,
0.0397152416408062,
-0.021911857649683952,
0.07899801433086395,
-0.00577979302033782,
0.0008367861155420542,
0.013721940107643604,
0.03088562749326229,
0.04029186815023422,
0.02621854655444622,
-0.04659873619675636,
0.03812951594591141,
0.0035318455193191767,
0.03557072952389717,
0.08130452781915665,
-0.034435492008924484,
0.006126670632511377,
0.008180906996130943,
0.011703742668032646,
-0.03600320219993591,
0.003207492409273982,
-0.011901958845555782,
-0.0487971305847168,
-0.06360925734043121,
-0.14567060768604279,
-0.029678313061594963,
-0.05968097969889641,
0.02306511253118515,
-0.05892415717244148,
0.0020959069952368736,
-0.00532930251210928,
-0.019389111548662186,
-0.010181085206568241,
0.010649595409631729,
-0.02924584224820137,
-0.05751862749457359,
-0.0055590528063476086,
0.062095608562231064,
0.017632197588682175,
0.03737269341945648,
-0.028236744925379753,
0.02459678053855896,
-0.020542366430163383,
0.005689695011824369,
0.0432831272482872,
-0.050274740904569626,
-0.0030250437557697296,
-0.0067663672380149364,
-0.0037841200828552246,
0.019064757972955704,
0.006788891740143299,
0.04746367782354355,
-0.020632464438676834,
0.03501212224364281,
0.036147356033325195,
0.011046026833355427,
-0.02311917208135128,
-0.042129870504140854,
0.0012703832471743226,
0.013586793094873428,
0.03888633847236633,
0.025677958503365517,
0.05683388188481331,
0.011009987443685532,
-0.031480275094509125,
-0.025695977732539177,
0.008383627980947495,
0.02315521240234375,
-0.006342906039208174,
-0.037949319928884506,
-0.047175366431474686,
0.04922960326075554,
0.008424172177910805,
0.039282772690057755,
-0.05993325635790825,
0.03787723928689957,
-0.014334607869386673,
0.02133522927761078,
-0.05034681782126427,
-0.007802495267242193,
-0.022776799276471138,
0.007879078388214111,
0.029588215053081512,
-0.0023222784511744976,
-0.009212530218064785,
-0.03533647581934929,
0.06973592936992645,
0.0790700912475586,
0.01066761463880539,
0.014316587708890438,
0.001164517947472632,
-0.040760379284620285,
-0.03084958903491497,
-0.023731838911771774,
0.048364657908678055,
-0.025011232122778893,
0.013685901649296284,
0.01859624683856964,
0.02468687854707241,
-0.006586171220988035,
0.049950387328863144,
0.02308313362300396,
0.025101330131292343,
-0.020452268421649933,
-0.01449678372591734,
0.000603094173129648,
-0.000133035471662879,
-0.004743664991110563,
-0.02942604012787342,
-0.03261551260948181,
-0.028687234967947006,
0.02126315049827099,
-0.08238570392131805,
0.0006475800764746964,
0.05081532895565033,
0.07117749750614166,
-0.001063720672391355,
0.011082066223025322,
0.04735556244850159,
-0.02169562317430973,
0.0014291810803115368,
-0.085485078394413,
-0.005721229128539562,
0.0005518508842214942,
-0.020704543218016624,
0.003538602963089943,
-0.07957464456558228,
0.011289292015135288,
-0.037769123911857605,
0.04295877367258072,
0.034813906997442245,
-0.04962603375315666,
0.016397854313254356,
0.07777267694473267,
0.0024439110420644283,
0.013712930493056774,
-0.03095770627260208,
0.06861871480941772,
0.008059275336563587,
-0.0016634361818432808,
0.033156100660562515,
0.03996751829981804,
-0.014001244679093361,
0.009397231973707676,
-0.04894128814339638,
0.015776177868247032,
-0.005099552217870951,
0.06833039969205856,
-0.029876530170440674,
0.017812393605709076,
-0.06184333562850952,
-0.036219436675310135,
0.008658427745103836,
-0.04443638399243355,
0.016181617975234985,
0.031714532524347305,
0.030471177771687508,
-0.01683933474123478,
-0.033174119889736176,
-0.022110072895884514,
0.03272362798452377,
-0.04158928245306015,
0.0049193562008440495,
-0.002554281149059534,
-0.012748881243169308,
0.019443169236183167,
0.03281372785568237,
0.01865030638873577,
-0.0011510031763464212,
0.048184461891651154,
-0.048616934567689896,
0.026795174926519394,
0.00610865093767643,
0.01672220788896084,
-0.039462968707084656,
-0.009162976406514645,
0.023803917691111565,
-0.004995939787477255,
-0.02942604012787342,
-0.020650483667850494,
0.05532023310661316,
-0.022560564801096916,
-0.007631308864802122,
0.0404360257089138,
0.010469399392604828,
0.029768411070108414,
0.0017028540605679154,
0.011937998235225677,
-0.0029957618098706007,
0.02614646777510643,
-0.022254230454564095,
0.07654734700918198,
-0.03501212224364281,
0.01680329628288746,
-0.022542543709278107,
0.04342728480696678,
0.034633710980415344,
0.07503369450569153,
-0.04760783538222313,
-0.07139373570680618,
-0.07380836457014084,
-0.007915117777884007,
0.037769123911857605,
-0.0004977919743396342,
-0.005162620916962624,
0.008640407584607601,
-0.029714353382587433,
0.01716368831694126,
0.03405708074569702,
-0.016406863927841187,
-0.0007911739521659911,
-0.010154055431485176,
-0.07452914863824844,
-0.01311828289180994,
0.06771773099899292,
0.06624012440443039,
-0.0006047834758646786,
-0.024272428825497627,
-0.003110636956989765,
-0.028687234967947006,
-0.08649417757987976,
-0.04036394879221916,
-0.03566082939505577,
0.030074745416641235,
0.002298627747222781,
0.031173942610621452,
-0.0026398743502795696,
0.02301105484366417,
-0.016587059944868088,
0.06505082547664642,
0.02908366732299328,
0.036507748067379,
0.004703120794147253,
-0.02328134886920452,
-0.07697981595993042,
0.015073412097990513,
0.017388932406902313,
0.022037995979189873,
-0.045265283435583115,
0.022128093987703323,
-0.03805743530392647,
0.05398678034543991,
-0.013586793094873428,
-0.02149740606546402,
0.019010698422789574,
0.0012546160724014044,
-0.024164309725165367,
0.003840431571006775,
-0.08966562896966934,
-0.03964316472411156,
-0.054563410580158234,
-0.010991968214511871,
-0.07647527009248734,
0.029804451391100883,
0.023461544886231422,
0.058996234089136124,
0.015866275876760483,
0.053193919360637665,
-0.010766723193228245,
-0.03549865260720253,
-0.0047797043807804585,
0.024290448054671288,
-0.0066041904501616955,
0.026777155697345734,
0.008739515207707882,
0.013676891103386879,
-0.00026593016809783876,
-0.031588394194841385,
-0.049950387328863144,
0.008005215786397457,
-0.012802939862012863,
-0.01859624683856964,
-0.02135325036942959,
0.026596959680318832,
-0.033066000789403915,
-0.022037995979189873,
0.0342913381755352,
-0.004797723609954119,
0.053193919360637665,
-0.06977196782827377,
-0.02310115285217762,
0.03490400314331055,
0.030471177771687508,
-0.01701953075826168,
0.03888633847236633,
-0.04825654253363609,
-0.07806099206209183,
-0.01976752281188965,
-0.04609418660402298,
-0.007536706048995256,
0.012550665065646172,
-0.04050810635089874,
0.039138615131378174,
0.08699872344732285,
0.028633175417780876,
-0.048508815467357635,
0.014307578094303608,
-0.027407841756939888,
-0.04501301050186157,
-0.008861147798597813,
-0.03827367350459099,
-0.01155958604067564,
-0.04432826489210129,
0.02742586098611355,
-0.03277768939733505,
0.05348223075270653,
0.03787723928689957,
-0.017623187974095345,
-0.05384262278676033,
-0.060762159526348114,
0.03964316472411156,
0.017758335918188095,
-0.004797723609954119,
0.021028896793723106,
0.006667259149253368,
0.04342728480696678,
-0.0077078924514353275,
0.029804451391100883,
0.00764932855963707,
0.03519231826066971,
0.05077929049730301,
-0.026596959680318832,
0.11294697970151901,
0.02484905533492565,
0.011766811832785606,
-0.02791239134967327,
-0.054707564413547516,
0.005072522908449173,
0.047103285789489746,
0.01823585480451584,
-0.003205239772796631,
0.00035785840009339154,
-0.025173408910632133,
0.004504905082285404,
-0.06130274757742882,
0.0016701935091987252,
0.0035791469272226095,
0.00508153298869729,
0.008626893162727356,
0.007189828436821699,
0.014604901894927025,
-0.030543256551027298,
0.02137126959860325,
0.004986929707229137,
0.01000989880412817,
0.0009353308705613017,
-0.019262973219156265,
-0.017325865104794502,
-0.042490262538194656,
0.022037995979189873,
0.030399098992347717,
0.05232897773385048,
0.012838979251682758,
0.056004978716373444,
0.009667525999248028,
0.004703120794147253,
0.014785097911953926,
-0.006315876729786396,
0.025191428139805794,
-0.07243887335062027,
0.007297946140170097,
-0.0291197057813406,
0.02773219533264637,
-0.03066939301788807,
0.044003911316394806,
-0.05038285627961159,
0.002786283614113927,
0.03340837359428406,
-0.05193254351615906,
-0.025587860494852066,
-0.0049914345145225525,
-0.03589508309960365,
0.0019956729374825954,
0.01992969959974289,
0.00768086314201355,
0.07056482881307602,
0.04659873619675636,
0.06620408594608307,
-0.036165375262498856,
-0.037769123911857605,
0.01072167418897152,
0.005374351516366005,
0.013550753705203533,
0.0035160782281309366,
-0.08152075856924057,
0.033318277448415756,
0.06739337742328644,
0.018848521634936333,
-0.007581755053251982,
-0.007081710733473301,
0.01692943274974823,
-0.005239204503595829,
0.031642451882362366,
-0.0009539136081002653,
-0.016145579516887665,
0.003405708121135831,
0.010919889435172081,
-0.015037372708320618,
-0.07452914863824844,
0.06497874855995178,
-0.06004137173295021,
-0.020578406751155853,
0.04281461611390114,
-0.009739604778587818,
-0.0011622654274106026,
0.04638250172138214,
-0.020614445209503174,
-0.01976752281188965,
-0.05355431139469147,
0.017569128423929214,
-0.012064135633409023,
-0.0046175275929272175,
-0.06371737271547318,
0.010865830816328526,
-0.03683210164308548,
-0.09449488669633865,
-0.03391292318701744,
0.06721318513154984,
0.04151720553636551,
0.025137370452284813,
0.02616448886692524,
-0.05286956578493118,
0.008829614147543907,
-0.049878306686878204,
0.0198576208204031,
0.030002666637301445,
-0.06883494555950165,
0.015199549496173859,
0.04148116335272789,
-0.003157938364893198,
0.05348223075270653,
0.020470287650823593,
0.020362170413136482,
-0.051860466599464417,
-0.05110364034771919,
0.014785097911953926,
0.02301105484366417,
0.01833496242761612,
0.02448866330087185,
0.047031208872795105,
-0.04793218895792961,
0.015830235555768013,
0.05359034985303879,
-0.016650129109621048,
-0.0276961550116539,
0.04000355675816536,
-0.03859802708029747,
0.019190894439816475,
0.06548330187797546,
-0.05121175944805145,
-0.01854218915104866,
0.008928721770644188,
-0.006649239920079708,
-0.0015429299091920257,
0.00386971328407526,
-0.010397320613265038,
0.06000533327460289,
-0.028885450214147568,
0.027317743748426437,
-0.01680329628288746,
0.0291197057813406,
-0.061014432460069656,
-0.0076132891699671745,
-0.04198571294546127,
0.024092230945825577,
0.06353718042373657,
0.07503369450569153,
0.0003848878259304911,
-0.062347885221242905,
0.04007563367486,
0.024164309725165367,
0.04349936172366142,
0.02292095683515072,
-0.031173942610621452,
0.014001244679093361,
0.00232002604752779,
-0.08079997450113297,
-0.036291513592004776,
0.045409440994262695,
-0.031101863831281662,
-0.019262973219156265,
0.014406685717403889,
0.024218369275331497,
0.007293441332876682,
-0.013523724861443043,
0.09319747239351273,
0.02773219533264637,
-0.07254698872566223,
-0.003948549274355173,
0.02007385715842247,
-0.005509498994797468,
0.0037030319217592478,
0.00650958763435483,
-0.03512023761868477,
-0.015568951144814491,
0.039354849606752396,
-0.026687057688832283,
-0.06782584637403488,
-0.05834753066301346,
0.009631486609578133,
0.006527607329189777,
0.008811593987047672,
0.0182989239692688,
-0.07099730521440506,
0.013451646082103252,
0.028687234967947006,
-0.03083156980574131,
0.02490311488509178,
-0.0010006519732996821,
0.05863584205508232,
-0.033029962331056595,
0.008608873002231121,
0.03512023761868477,
-0.022326309233903885,
0.005432915408164263,
0.023497585207223892,
0.04148116335272789,
0.06454627960920334,
0.016334785148501396,
0.009631486609578133,
-0.05196858197450638,
-0.034705787897109985,
0.006414984818547964,
0.004707625601440668,
0.050058502703905106,
0.0017186212353408337,
0.0012703832471743226,
-0.028489019721746445,
-0.0021634805016219616,
0.021209092810750008,
-0.006797901354730129,
0.019064757972955704,
-0.0553923100233078,
-0.012253341265022755,
0.008766544982790947,
-0.022830858826637268,
-0.011118105612695217,
-0.002743487013503909,
0.05827545002102852,
-0.010541477240622044,
-0.0312640406191349,
-0.09017017483711243,
-0.028885450214147568,
0.02481301687657833,
0.0017625440377742052,
0.03537251427769661,
-0.057662785053253174,
-0.053121838718652725,
0.03391292318701744,
0.01689339429140091,
0.028705254197120667,
-0.026867253705859184,
-0.004058919381350279,
0.031678490340709686,
-0.10155858099460602,
-0.0263627041131258,
0.056329332292079926,
-0.03349847346544266,
0.013154322281479836,
-0.030164843425154686,
-0.05146403610706329,
-0.02942604012787342,
-0.004525177180767059,
-0.005013959016650915,
-0.014433715492486954,
-0.04313896968960762,
0.04014771431684494,
0.01722675748169422,
0.12707436084747314,
-0.016560031101107597,
-0.005414895713329315,
-0.007816010154783726,
-0.059104353189468384,
0.05222085863351822,
-0.03978732228279114,
-0.05888811871409416,
0.05211273953318596,
0.020290091633796692,
-0.024056192487478256,
0.0701683983206749,
-0.0022479475010186434,
0.028489019721746445,
-0.03279570862650871,
0.04616626724600792,
-0.04955395311117172,
-0.022074034437537193,
-0.06422192603349686,
0.030453156679868698,
-0.05723031237721443,
-0.0005867638974450529,
0.025407664477825165,
0.0000035326550005265744,
-0.050022464245557785,
-0.06624012440443039,
0.012190273031592369,
-0.02180374041199684,
-0.02472291886806488,
0.00021412376372609288,
0.036507748067379,
-0.007919622585177422,
-0.0005400254740379751,
-0.023641740903258324,
-0.04144512489438057,
-0.031714532524347305,
0.009685545228421688,
-0.017767345532774925,
-0.02611042931675911,
-0.02474093809723854,
-0.04944583773612976,
-0.03602122142910957,
-0.015839245170354843,
-0.02942604012787342,
-0.003957558888942003,
0.020884739235043526,
0.015046382322907448,
0.014848167076706886,
-0.01373996026813984,
-0.00992881041020155,
-0.03964316472411156,
0.0035250880755484104,
-0.005149106495082378,
-0.046887051314115524,
0.0243985652923584,
0.028687234967947006,
0.002140955999493599,
0.02611042931675911,
-0.0065366169437766075,
0.03564280644059181,
-0.040940575301647186,
-0.03996751829981804,
-0.03387688472867012,
0.028038527816534042,
-0.004511662293225527,
-0.010226134210824966,
0.042382147163152695,
-0.005104057490825653,
-0.01872238516807556,
0.0057662781327962875,
-0.029552176594734192,
-0.006671764422208071,
-0.04155324399471283,
-0.0069690877571702,
-0.010505438782274723,
0.0058563766069710255,
0.01311828289180994,
-0.04786011204123497,
0.012181263417005539,
0.025119349360466003,
-0.002441658405587077,
-0.048436738550662994,
0.03391292318701744,
-0.024236388504505157,
-0.0023988618049770594,
0.013893126510083675,
0.05045493692159653,
-0.05369846895337105,
-0.028380900621414185,
0.028885450214147568,
-0.017605168744921684,
0.07218659669160843,
0.0018774191848933697,
-0.018073678016662598,
0.025804094970226288,
-0.0047797043807804585,
0.026921311393380165,
-0.05077929049730301,
0.0071673039346933365,
-0.00845120195299387,
-0.03957108408212662,
0.025227468460798264,
0.045265283435583115,
0.01699250191450119,
0.008644912391901016,
0.021028896793723106,
0.019695444032549858,
0.07204244285821915,
0.036147356033325195,
0.073015496134758,
-0.03730061277747154,
-0.05535627156496048,
0.04454449936747551
] |
23,236 | yamlfix.services | fix_files | Fix the yaml source code of a list of files.
If the input is taken from stdin, it will return the fixed value.
Args:
files: List of files to fix.
dry_run: Whether to write changes or not.
config: Small set of user provided configuration options for yamlfix.
Returns:
A tuple with the following items:
* Fixed code or None.
* A bool to indicate whether at least one file has been changed.
| def fix_files( # pylint: disable=too-many-branches
files: Files, dry_run: Optional[bool] = None, config: Optional[YamlfixConfig] = None
) -> Union[Optional[str], Tuple[Optional[str], bool]]: # noqa: TAE002
"""Fix the yaml source code of a list of files.
If the input is taken from stdin, it will return the fixed value.
Args:
files: List of files to fix.
dry_run: Whether to write changes or not.
config: Small set of user provided configuration options for yamlfix.
Returns:
A tuple with the following items:
* Fixed code or None.
* A bool to indicate whether at least one file has been changed.
"""
changed = False
if dry_run is None:
warnings.warn(
"""
From 2023-01-12 fix_files will change the return type from
`Optional[str]` to Tuple[Optional[str], bool], where the first
element of the Tuple is the fixed source and the second a bool that
returns whether the source has changed.
For more information check https://github.com/lyz-code/yamlfix/pull/182
""",
UserWarning,
stacklevel=2,
)
total_fixed = 0
for file_ in files:
if isinstance(file_, str):
with open(file_, "r", encoding="utf-8") as file_descriptor:
source = file_descriptor.read()
file_name = file_
else:
source = file_.read()
file_name = file_.name
log.debug("Fixing file %s...", file_name)
fixed_source = fix_code(source, config)
if fixed_source != source:
changed = True
if dry_run:
log.info("Would fix %s", file_name)
else:
log.info("Fixed %s", file_name)
total_fixed += 1
else:
log.log(15, "%s is already well formatted", file_name)
if file_name == "<stdin>":
if dry_run is None:
return fixed_source
return fixed_source, changed
if fixed_source != source:
if dry_run:
continue
if isinstance(file_, str):
with open(file_, "w", encoding="utf-8") as file_descriptor:
file_descriptor.write(fixed_source)
else:
file_.seek(0)
file_.write(fixed_source)
file_.truncate()
log.info(
"Checked %d files: %d fixed, %d left unchanged",
len(files),
total_fixed,
len(files) - total_fixed,
)
if dry_run is None:
return None
return None, changed
| (files: Union[Tuple[_io.TextIOWrapper], List[str]], dry_run: Optional[bool] = None, config: Optional[yamlfix.model.YamlfixConfig] = None) -> Union[str, NoneType, Tuple[Optional[str], bool]] | [
-0.008375805802643299,
-0.017238011583685875,
0.006352382246404886,
0.0023882233072072268,
-0.044398579746484756,
0.0035093750339001417,
-0.007417598273605108,
0.002864895388484001,
0.049184754490852356,
-0.0021729914005845785,
-0.010506237857043743,
-0.022043641656637192,
0.006673406343907118,
0.027141112834215164,
0.003864447120577097,
0.02943691983819008,
-0.004667006898671389,
0.059146225452423096,
0.02795826457440853,
0.012062717229127884,
0.03416472673416138,
0.029534200206398964,
-0.010710525326430798,
0.09385572373867035,
0.030370809137821198,
-0.008190973661839962,
0.06366001814603806,
-0.03601304814219475,
-0.020564986392855644,
-0.007947773672640324,
-0.007500286214053631,
0.04681112617254257,
0.0032904951367527246,
-0.013035517185926437,
-0.011109373532235622,
-0.03348376601934433,
0.003042431315407157,
0.06373783946037292,
-0.05665585771203041,
-0.06307633966207504,
-0.015720443800091743,
-0.010836989618837833,
0.056616947054862976,
-0.012043260969221592,
-0.032258041203022,
0.040624119341373444,
-0.041207797825336456,
0.019494907930493355,
-0.04291992634534836,
0.05365963652729988,
0.058017779141664505,
-0.0528813935816288,
-0.0024587514344602823,
0.013502460904419422,
0.05042994022369385,
0.03416472673416138,
-0.021907450631260872,
0.017238011583685875,
0.07284324616193771,
-0.050780147314071655,
0.05502155423164368,
0.0256430022418499,
0.05579979345202446,
-0.05646129697561264,
-0.007928318344056606,
-0.010243581607937813,
0.03114904835820198,
-0.031791094690561295,
-0.024164345115423203,
0.007548925932496786,
-0.044865526258945465,
0.01747148297727108,
-0.008322302252054214,
0.012228093110024929,
0.06502193957567215,
0.010992636904120445,
-0.006770686246454716,
0.03400908038020134,
-0.026460153982043266,
-0.03299736604094505,
0.03599359095096588,
-0.006590718403458595,
0.02895052172243595,
0.006795006338506937,
0.012004349380731583,
-0.006537214387208223,
0.0949452593922615,
0.039223287254571915,
0.026927096769213676,
-0.014047228731215,
0.01777305081486702,
0.02264677919447422,
0.01923225075006485,
-0.008959486149251461,
0.03492351248860359,
0.02179071493446827,
-0.01810380443930626,
-0.04840651527047157,
0.01595391519367695,
0.0045332470908761024,
0.009820413775742054,
0.036927480250597,
0.004071167204529047,
-0.020292602479457855,
0.02099301852285862,
0.016080379486083984,
-0.024339450523257256,
-0.003095935331657529,
-0.014329340308904648,
-0.04105215147137642,
-0.061597682535648346,
-0.11766985803842545,
0.04681112617254257,
-0.025876473635435104,
0.040079351514577866,
-0.02723839320242405,
-0.0320829376578331,
0.028600312769412994,
-0.02842520922422409,
0.022199289873242378,
0.03893144801259041,
0.010243581607937813,
0.0075197420082986355,
-0.04934040457010269,
0.06307633966207504,
-0.018366459757089615,
0.03114904835820198,
-0.019825659692287445,
0.0593796968460083,
0.051636211574077606,
-0.0018337275832891464,
-0.0038425589445978403,
-0.011274749413132668,
0.05070232227444649,
-0.002305535366758704,
-0.022938618436455727,
0.03467058390378952,
0.013473276980221272,
0.03558501601219177,
-0.03937893360853195,
0.0498073473572731,
0.048445429652929306,
0.048990197479724884,
-0.006634494289755821,
-0.044476404786109924,
0.005471998825669289,
0.04311448708176613,
0.00352883106097579,
-0.001630655606277287,
0.09922557324171066,
0.0032151031773537397,
-0.04424293339252472,
-0.070780910551548,
0.04435966908931732,
0.02272460237145424,
-0.010282493196427822,
-0.024125434458255768,
-0.024086521938443184,
-0.01678079552948475,
-0.027860984206199646,
-0.0016987515846267343,
-0.009144317358732224,
0.03109068050980568,
0.030468087643384933,
-0.005535230506211519,
-0.03420364111661911,
-0.0817151814699173,
0.01464063674211502,
0.010301949456334114,
0.022744057700037956,
0.008823294192552567,
0.023950330913066864,
-0.016469499096274376,
0.021907450631260872,
0.04657765105366707,
-0.00735922995954752,
0.0016403836198151112,
-0.04206386208534241,
-0.006469118408858776,
-0.03426200896501541,
-0.0579010434448719,
-0.009445885196328163,
0.024592377245426178,
0.024923129007220268,
-0.0008055997896008193,
0.1013268232345581,
-0.04218059778213501,
0.0384645015001297,
0.008978941477835178,
-0.029573112726211548,
0.0008232318214140832,
0.0045575667172670364,
0.016411131247878075,
0.01835673116147518,
-0.025526266545057297,
-0.04105215147137642,
-0.03109068050980568,
-0.01634303666651249,
0.06424369663000107,
-0.12132758647203445,
-0.012840956449508667,
0.013804028742015362,
0.09393354505300522,
0.004358143080025911,
-0.03210239112377167,
0.011975165456533432,
-0.03035135194659233,
-0.011605501174926758,
-0.049379315227270126,
0.04058520495891571,
0.035040248185396194,
-0.02616831287741661,
-0.036577269434928894,
-0.0849059596657753,
0.002484287368133664,
-0.012247549369931221,
0.041363444179296494,
0.010263037867844105,
-0.07506123185157776,
0.009898237884044647,
0.10327242314815521,
0.02828901633620262,
-0.048990197479724884,
0.02270514704287052,
0.07661771029233932,
0.013940220698714256,
0.03445656597614288,
0.0771624743938446,
0.042881011962890625,
-0.007339774165302515,
0.00828338973224163,
-0.0368107445538044,
-0.0013752956874668598,
-0.03435928747057915,
0.03114904835820198,
-0.037219319492578506,
0.0514027401804924,
-0.041674740612506866,
-0.010720252990722656,
0.012763133272528648,
-0.05221989005804062,
0.011459581553936005,
0.037958648055791855,
0.03035135194659233,
-0.015438332222402096,
-0.04591614753007889,
-0.02556517720222473,
0.005734654609113932,
-0.054437875747680664,
0.02157669886946678,
0.07661771029233932,
0.00020155195670668036,
-0.011070461012423038,
0.033191926777362823,
0.016060924157500267,
-0.005968126468360424,
-0.009246462024748325,
-0.07046961784362793,
0.05825125053524971,
-0.01962137036025524,
0.052180979400873184,
-0.032569337636232376,
0.024495098739862442,
0.03334757685661316,
-0.06688971072435379,
-0.02484530583024025,
-0.012568572536110878,
-0.0010755517287179828,
-0.03375615179538727,
0.012597756460309029,
0.02157669886946678,
-0.005496318452060223,
0.003983614966273308,
0.033386487513780594,
-0.029203448444604874,
0.0176368597894907,
0.060157936066389084,
0.02138213813304901,
0.0656445249915123,
-0.009689085185527802,
0.008448765613138676,
-0.02231602557003498,
0.009664765559136868,
0.01807461865246296,
0.046927861869335175,
0.00082627177471295,
-0.08311600983142853,
-0.04089650139212608,
-0.045137908309698105,
0.009076221846044064,
0.06171441823244095,
0.008015870116651058,
0.040157172828912735,
-0.06914660334587097,
0.03188837692141533,
0.03375615179538727,
-0.04350360482931137,
-0.007164670154452324,
0.020603898912668228,
-0.0659947320818901,
-0.08576202392578125,
0.02850303240120411,
0.07782398164272308,
-0.04412619769573212,
0.012383741326630116,
-0.04116888716816902,
-0.043814901262521744,
-0.10148247331380844,
-0.03871743008494377,
-0.002979199169203639,
0.05817342549562454,
-0.0000413819907407742,
-0.0058270706795156,
-0.027141112834215164,
0.021440505981445312,
-0.04268645495176315,
0.01700454019010067,
0.06525541096925735,
-0.0012354557402431965,
0.0009533437550999224,
-0.007510014344006777,
-0.03227749466896057,
-0.013697020709514618,
0.012967420741915703,
0.0479784831404686,
-0.024611834436655045,
0.016741883009672165,
-0.034573301672935486,
0.02245221845805645,
0.005423358641564846,
0.0368691124022007,
0.00630860636010766,
-0.01345382072031498,
-0.012111357413232327,
0.003110527293756604,
-0.020798459649086,
0.0005937118548899889,
-0.007252222392708063,
0.05821233615279198,
-0.0463830940425396,
0.019738107919692993,
0.01626521162688732,
0.024748025462031364,
0.00007474597805412486,
0.004608639050275087,
0.008964349515736103,
0.0008366077672690153,
0.015185404568910599,
0.030409719794988632,
0.01689753122627735,
0.04397054761648178,
0.008575229905545712,
-0.00009758397936820984,
0.014251516200602055,
0.012500477023422718,
-0.03953458368778229,
-0.028016632422804832,
0.029592568054795265,
0.04163582995533943,
-0.033639416098594666,
-0.00110716768540442,
-0.05393201857805252,
0.0064399344846606255,
0.018278907984495163,
0.020954106003046036,
0.014183420687913895,
-0.030390264466404915,
-0.03130469471216202,
-0.028775416314601898,
-0.0015929596265777946,
-0.013833212666213512,
0.0034680310636758804,
-0.02910616807639599,
-0.09253271669149399,
0.012130812741816044,
-0.0016829435480758548,
-0.024825850501656532,
0.045993972569704056,
-0.05183077231049538,
0.04611070826649666,
0.011372028850018978,
0.017023995518684387,
-0.029339641332626343,
0.03109068050980568,
-0.019417082890868187,
0.016022011637687683,
-0.036304887384176254,
-0.027880441397428513,
-0.030740471556782722,
0.024942586198449135,
0.048990197479724884,
-0.03877579793334007,
-0.0033658870961517096,
0.0011010877788066864,
-0.016109563410282135,
-0.031382519751787186,
-0.023483386263251305,
0.06190897524356842,
-0.024203257635235786,
-0.015642620623111725,
0.007310590241104364,
-0.0028965112287551165,
0.01959218643605709,
0.011644412763416767,
-0.02902834489941597,
0.046927861869335175,
0.04089650139212608,
0.02749132178723812,
-0.03714149445295334,
0.10381718724966049,
0.03755006939172745,
0.04541029408574104,
0.005720062647014856,
-0.05272574722766876,
-0.025623545050621033,
0.06926334649324417,
-0.06023576110601425,
0.009460478089749813,
0.03420364111661911,
-0.05653912201523781,
0.02132377028465271,
-0.028541944921016693,
0.016440315172076225,
0.062453743070364,
0.03354213386774063,
-0.018619386479258537,
0.004508926998823881,
0.030526457354426384,
-0.037219319492578506,
0.026051577180624008,
0.025195512920618057,
0.031032312661409378,
0.02671308070421219,
-0.002667903434485197,
0.006109182257205248,
-0.04685003682971001,
-0.0077921259216964245,
-0.02928127348423004,
0.05319269001483917,
0.0128506850451231,
-0.004392190836369991,
0.026265593245625496,
0.03965131938457489,
0.008502270095050335,
-0.06634494662284851,
-0.0018702074885368347,
-0.05451569706201553,
-0.017539579421281815,
-0.05844581127166748,
0.013268988579511642,
-0.046538740396499634,
-0.002411327324807644,
-0.017977340146899223,
-0.016771066933870316,
0.03996261581778526,
-0.0383477658033371,
-0.07490558177232742,
0.04077976569533348,
-0.06669515371322632,
-0.022471673786640167,
0.02996223233640194,
-0.026537977159023285,
0.06272612512111664,
-0.0496906116604805,
0.046655476093292236,
-0.07136458903551102,
-0.0643993467092514,
-0.017072636634111404,
-0.021498873829841614,
-0.0096307173371315,
0.03498188033699989,
-0.06751230359077454,
-0.019961850717663765,
0.051714036613702774,
-0.0027287034317851067,
-0.023035898804664612,
0.014193148352205753,
0.013142524287104607,
-0.03507915884256363,
-0.015428604558110237,
0.02093465067446232,
-0.0001233479706570506,
0.031771641224622726,
0.019747834652662277,
0.0013923196820542216,
-0.09284400939941406,
0.05249227583408356,
-0.06000228971242905,
-0.01730610802769661,
-0.015730172395706177,
-0.009295101277530193,
-0.018969595432281494,
0.028055544942617416,
-0.031713273376226425,
-0.07404951751232147,
-0.05871819332242012,
-0.01378457248210907,
-0.024748025462031364,
-0.014990843832492828,
-0.03519589453935623,
0.03015679307281971,
-0.03299736604094505,
-0.05677259340882301,
0.01807461865246296,
0.053114864975214005,
0.024008698761463165,
0.025292793288826942,
-0.05225880444049835,
-0.04229733347892761,
-0.026421241462230682,
-0.05704497918486595,
-0.00487129483371973,
0.05432114005088806,
-0.043814901262521744,
0.05046885088086128,
0.047005683183670044,
0.050507765263319016,
0.02192690595984459,
0.032316409051418304,
0.014591996558010578,
-0.06727883219718933,
-0.07700683176517487,
-0.00430707074701786,
0.054632432758808136,
0.015700988471508026,
-0.0000474239895993378,
0.06350436806678772,
-0.07506123185157776,
0.022043641656637192,
-0.01893068291246891,
0.017792508006095886,
-0.023211002349853516,
-0.005656830500811338,
-0.06984702497720718,
0.0077143022790551186,
0.010875901207327843,
0.013949948363006115,
-0.007568382192403078,
-0.02138213813304901,
-0.014796284027397633,
0.0032199672423303127,
0.04412619769573212,
-0.004489470738917589,
0.02928127348423004,
-0.013298172503709793,
-0.03360050544142723,
-0.041596919298172,
-0.007451646029949188,
0.009504253976047039,
0.0007630398031324148,
-0.07899133861064911,
-0.032783351838588715,
0.03758898377418518,
0.10910922288894653,
0.009980925358831882,
-0.05692824348807335,
0.05346507579088211,
0.024417273700237274,
-0.004141694866120815,
0.008234749548137188,
-0.031713273376226425,
0.013804028742015362,
0.002993791364133358,
-0.06778468936681747,
-0.017957882955670357,
0.0320245698094368,
0.02344447374343872,
-0.016722427681088448,
0.025214970111846924,
0.002233791397884488,
0.012500477023422718,
0.03247205540537834,
0.03898981586098671,
-0.03365887328982353,
-0.01345382072031498,
-0.03169381618499756,
-0.024261625483632088,
-0.0024319994263350964,
-0.0080645103007555,
-0.027724793180823326,
-0.012802044861018658,
0.007548925932496786,
0.044398579746484756,
-0.028444664552807808,
0.00018376795924268663,
-0.004450558684766293,
-0.01736447587609291,
-0.003399935085326433,
-0.002390655456110835,
0.03665509447455406,
-0.0708976462483406,
0.009144317358732224,
-0.02157669886946678,
0.004275455139577389,
0.012315644882619381,
0.008823294192552567,
0.026207225397229195,
-0.007947773672640324,
0.0257013700902462,
0.00945074949413538,
-0.035896312445402145,
-0.028931064531207085,
-0.019057147204875946,
-0.01078834943473339,
0.002667903434485197,
-0.014844924211502075,
0.035098616033792496,
-0.06533323228359222,
0.003815807169303298,
0.037219319492578506,
0.03739442303776741,
0.024825850501656532,
0.02245221845805645,
-0.0688353106379509,
-0.0017255035927519202,
0.007096574176102877,
-0.013054972514510155,
0.05358181148767471,
0.002514687366783619,
-0.055293940007686615,
-0.029047800227999687,
0.015428604558110237,
-0.027880441397428513,
-0.033503223210573196,
0.015593980439007282,
0.0817151814699173,
-0.04895128309726715,
0.01557452417910099,
-0.05552741140127182,
0.01595391519367695,
0.0690687820315361,
0.010272765532135963,
0.06700644642114639,
-0.0011454717023298144,
-0.009655037894845009,
0.01521458849310875,
0.023152634501457214,
-0.03467058390378952,
-0.06023576110601425,
0.02677144855260849,
0.044476404786109924,
-0.09268835932016373,
0.01661542057991028,
0.018668027594685555,
-0.007456510327756405,
-0.004345982801169157,
-0.033503223210573196,
-0.06953572481870651,
0.031382519751787186,
0.014757372438907623,
-0.016420859843492508,
0.007777533959597349,
-0.05583870783448219,
-0.00013945996761322021,
0.029981687664985657,
0.03897035866975784,
0.021537786349654198,
0.0008694397984072566,
-0.011897341348230839,
-0.03288063034415245,
0.03194674476981163,
-0.0025025273207575083,
-0.0005663518677465618,
0.03420364111661911,
-0.06323198229074478,
-0.03786136582493782,
0.057434096932411194,
-0.01653759554028511,
0.040740855038166046,
0.011012093164026737,
0.019436540082097054,
-0.029067257419228554,
0.01521458849310875,
-0.0032540152315050364,
0.08062564581632614,
-0.035293176770210266,
0.008833021856844425,
0.06669515371322632,
-0.005734654609113932,
-0.06708426773548126,
-0.008332029916346073,
-0.004380031023174524,
-0.010914813727140427,
-0.0037136629689484835,
-0.031051767989993095,
0.0017814395250752568,
-0.008541181683540344,
0.012276733294129372,
0.01917388290166855,
-0.008808702230453491,
-0.035507190972566605,
0.009859325364232063,
0.022024186328053474,
-0.03009842522442341,
-0.026012664660811424,
-0.016625147312879562,
-0.03826994076371193,
0.03288063034415245,
-0.02258840948343277,
-0.007276542019098997,
0.03266661614179611,
-0.011712509207427502,
0.021751802414655685,
-0.02105138637125492,
-0.006741502322256565,
0.004124670755118132,
-0.044281844049692154,
0.007942910306155682,
-0.07035288214683533,
-0.005437950603663921,
-0.003604223020374775,
0.027180025354027748,
-0.030078968033194542,
-0.01467954833060503,
-0.022685689851641655,
-0.03307519108057022,
-0.0030983672477304935,
-0.029534200206398964,
0.043737076222896576,
-0.015603708103299141,
-0.052570097148418427,
0.0756838247179985,
-0.06618929654359818,
-0.000634143827483058,
0.011965436860918999,
-0.00828338973224163,
0.004596478771418333,
-0.04704459756612778,
-0.030195703729987144,
0.024748025462031364,
0.07622858881950378,
0.026323961094021797,
0.011070461012423038,
-0.00020854394824709743,
0.02157669886946678,
0.004718078766018152,
0.009951741434633732,
0.012442109175026417,
-0.022140922024846077,
0.005588734522461891,
0.03447602316737175,
0.007850494235754013,
-0.03293899819254875,
-0.01022412534803152,
-0.010379773564636707,
-0.03062373585999012,
0.0466165654361248,
0.031187960878014565,
-0.027724793180823326,
0.0026241273153573275,
-0.024592377245426178,
-0.0004216478846501559,
-0.040818676352500916,
0.011712509207427502,
0.021012475714087486,
0.003506943117827177,
0.029845496639609337,
-0.0021085434127599,
0.016625147312879562,
0.0038960629608482122,
0.004968574736267328,
-0.0036236790474504232,
0.04930149018764496,
0.02982604131102562,
0.07805745303630829,
-0.023600121960043907,
-0.07976958155632019,
0.07303780317306519
] |
23,239 | cov_core | Central | Implementation for centralised operation. | class Central(CovController):
"""Implementation for centralised operation."""
def start(self):
"""Erase any previous coverage data and start coverage."""
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.set_env()
def finish(self):
"""Stop coverage, save data to file and set the list of coverage objects to report on."""
self.unset_env()
self.cov.stop()
self.cov.combine()
self.cov.save()
node_desc = self.get_node_desc(sys.platform, sys.version_info)
self.node_descs.add(node_desc)
def summary(self, stream):
"""Produce coverage reports."""
CovController.summary(self, stream)
| (cov_source, cov_report, cov_config, config=None, nodeid=None) | [
-0.04107743129134178,
-0.02908364310860634,
-0.029306704178452492,
0.03337326645851135,
0.01832526922225952,
-0.05404924973845482,
-0.06602587550878525,
0.049519408494234085,
-0.00226706569083035,
-0.027264844626188278,
-0.01489357091486454,
0.006704680621623993,
0.0447150319814682,
-0.004021521657705307,
-0.01971510797739029,
0.01521100290119648,
0.04015086963772774,
-0.05621121823787689,
0.03678780794143677,
-0.005383477080613375,
-0.030370531603693962,
0.008583535440266132,
0.024519484490156174,
-0.01576865464448929,
-0.05250498652458191,
0.035380810499191284,
-0.007438206113874912,
-0.06561407446861267,
0.03726824373006821,
-0.07330107688903809,
-0.06146171689033508,
-0.036684855818748474,
-0.05274520441889763,
0.03524354100227356,
0.05851045623421669,
-0.014533243142068386,
0.0294782891869545,
-0.01947488822042942,
-0.06496205180883408,
0.0594027005136013,
-0.04543568566441536,
-0.004658530466258526,
-0.01165061630308628,
-0.018668439239263535,
0.008703645318746567,
0.03443709388375282,
0.005117520224303007,
0.0322236493229866,
0.04903896898031235,
-0.046877000480890274,
-0.0009362102136947215,
0.001615043031051755,
-0.022254563868045807,
-0.010286515578627586,
0.04629361256957054,
0.02678440697491169,
0.0719970315694809,
0.01655794493854046,
-0.004495524801313877,
0.005108940880745649,
0.0024429403711110353,
0.019680790603160858,
0.04485229775309563,
-0.012791655957698822,
0.0209333598613739,
0.022031504660844803,
-0.04855853319168091,
0.04238147661089897,
0.06581997871398926,
0.027350636199116707,
0.025651944801211357,
-0.037508465349674225,
0.027350636199116707,
0.026612821966409683,
0.056005317717790604,
-0.04371983930468559,
-0.07954677194356918,
0.0006337917875498533,
0.05696619302034378,
-0.007262331899255514,
-0.03970475122332573,
-0.037783000618219376,
0.03018178790807724,
-0.050583235919475555,
0.04262169450521469,
-0.03369927778840065,
0.0037920267786830664,
-0.05356881394982338,
0.008656458929181099,
0.03860660642385483,
-0.004589896649122238,
0.06293734908103943,
-0.044268909841775894,
0.0013951999135315418,
0.0667465329170227,
0.030095994472503662,
-0.0031442935578525066,
0.004096589982509613,
-0.05833887308835983,
0.03833207115530968,
-0.019406255334615707,
0.08016447722911835,
-0.0035839800257235765,
0.023833146318793297,
-0.019646473228931427,
-0.014644772745668888,
-0.02693883329629898,
0.05247066915035248,
-0.0011388949351385236,
0.028534572571516037,
-0.04862716794013977,
-0.020281337201595306,
0.009239847771823406,
-0.09128317981958389,
-0.011195915751159191,
-0.018634121865034103,
-0.0424157939851284,
0.0028032686095684767,
-0.061530351638793945,
-0.000817709369584918,
0.03472878783941269,
-0.009171213954687119,
-0.018788548186421394,
0.006391538307070732,
0.022460466250777245,
0.030919602140784264,
0.006644626148045063,
0.038812510669231415,
0.03726824373006821,
0.009334219619631767,
0.04159218445420265,
-0.07817409187555313,
-0.0009018932469189167,
0.0005155590479262173,
0.054495371878147125,
0.02575489692389965,
0.015142369084060192,
-0.040871527045965195,
-0.030078835785388947,
0.02642407827079296,
0.0498625785112381,
-0.013477995060384274,
0.005739515647292137,
-0.010698319412767887,
0.005456400569528341,
0.05147547647356987,
-0.0714479610323906,
-0.07124205678701401,
-0.04001360386610031,
-0.023404182866215706,
0.038229119032621384,
-0.024433692917227745,
-0.03654758632183075,
0.011144440621137619,
0.007245173212140799,
-0.021825602278113365,
0.003528214991092682,
0.015271058306097984,
0.004197396337985992,
0.02366156131029129,
-0.04787219315767288,
0.013555209152400494,
0.0390184111893177,
-0.002271355362609029,
-0.0026745798531919718,
-0.007905774749815464,
-0.03558671101927757,
-0.04354825243353844,
-0.0815371572971344,
-0.01832526922225952,
-0.0638982281088829,
-0.07137932628393173,
-0.02105347067117691,
0.03634168580174446,
-0.0022434727288782597,
-0.009891870431602001,
-0.023558609187602997,
-0.01580297201871872,
-0.04522978514432907,
-0.047391753643751144,
-0.00776421744376421,
-0.02295806258916855,
-0.04128333181142807,
0.011453293263912201,
0.011487610638141632,
0.017046961933374405,
0.0342998243868351,
-0.012414168566465378,
0.0776936486363411,
-0.0016246946761384606,
0.030524957925081253,
0.008604983799159527,
0.01050957664847374,
0.011092965491116047,
0.09951925277709961,
-0.08194895833730698,
0.02556615322828293,
-0.01155624445527792,
0.014807778410613537,
0.008557798340916634,
-0.03220649063587189,
0.03949884697794914,
0.0640011727809906,
-0.03809185326099396,
0.03272124379873276,
0.07570326328277588,
-0.02053871564567089,
0.07604643702507019,
-0.04619066044688225,
0.05727504566311836,
-0.021276529878377914,
0.029461130499839783,
0.007009244058281183,
0.013598104938864708,
0.04094016179442406,
-0.010209302417933941,
0.0019035201985388994,
0.021465273573994637,
0.027642330154776573,
0.036753490567207336,
0.03743983060121536,
-0.026321126148104668,
0.012577174231410027,
-0.0030949630308896303,
-0.04121469706296921,
0.005392055958509445,
-0.005434952210634947,
-0.00818031094968319,
0.033682119101285934,
-0.0719970315694809,
-0.029289545491337776,
-0.01935477927327156,
-0.039601799100637436,
-0.020247019827365875,
-0.019852375611662865,
-0.0532599575817585,
0.011547665111720562,
0.07906632870435715,
-0.0640011727809906,
0.0027989789377897978,
-0.049725309014320374,
0.0009619479533284903,
0.0441659577190876,
0.021242212504148483,
-0.029564082622528076,
-0.027127575129270554,
0.0030949630308896303,
0.0012815248919650912,
0.035174909979104996,
0.04045972600579262,
0.027402112260460854,
-0.05778980255126953,
-0.044337544590234756,
-0.03303009644150734,
0.011367500759661198,
-0.02263205125927925,
-0.005567930638790131,
-0.043205082416534424,
0.03337326645851135,
-0.0031593074090778828,
-0.033201683312654495,
0.008767989464104176,
0.02584068849682808,
0.036478955298662186,
-0.03244670853018761,
0.01619761623442173,
0.0017008355353027582,
-0.03575829789042473,
0.0164378359913826,
0.015708599239587784,
0.018788548186421394,
0.06417275965213776,
-0.010852746665477753,
0.009505804628133774,
-0.0679476261138916,
-0.02675008960068226,
-0.02275216020643711,
-0.0181365255266428,
-0.06317757070064545,
0.01877138949930668,
0.04982826113700867,
0.04269032925367355,
-0.05483854189515114,
-0.03977338597178459,
0.006593150552362204,
-0.06310893595218658,
-0.010063455440104008,
-0.010990014299750328,
-0.0035217804834246635,
-0.0017083423445001245,
-0.04124901443719864,
0.08215486258268356,
-0.004529841709882021,
-0.03061074949800968,
0.09059683978557587,
0.004465497564524412,
-0.05823592096567154,
0.010200723074376583,
-0.009239847771823406,
0.019663631916046143,
-0.046911317855119705,
-0.03833207115530968,
-0.05483854189515114,
-0.04917623847723007,
-0.006056947633624077,
0.024279266595840454,
0.03864092379808426,
-0.027831073850393295,
-0.019646473228931427,
0.024673910811543465,
0.018891500309109688,
0.025737738236784935,
0.0594027005136013,
0.03248102590441704,
-0.025977956131100655,
-0.011135861277580261,
-0.008171731606125832,
0.005632274784147739,
0.06829079985618591,
0.04838694632053375,
-0.044268909841775894,
-0.006653205491602421,
0.012234005145728588,
0.035655345767736435,
0.06781036406755447,
0.004525552503764629,
0.009351378306746483,
0.0452641025185585,
-0.04660246521234512,
0.021087786182761192,
-0.050823453813791275,
-0.030439164489507675,
0.01232837699353695,
-0.02875763177871704,
-0.0011346052633598447,
0.011213074438273907,
-0.010972855612635612,
-0.03884682431817055,
0.013109087944030762,
-0.0026038012001663446,
0.04886738583445549,
0.022134454920887947,
-0.03426550701260567,
0.036170102655887604,
-0.07096752524375916,
-0.015313954092562199,
0.05881931260228157,
-0.02287226915359497,
-9.215987120114733e-7,
-0.03181184455752373,
-0.0041244723834097385,
0.03788594901561737,
0.025377409532666206,
0.07034981995820999,
0.033990971744060516,
0.04056267440319061,
0.04389142245054245,
-0.08387070894241333,
0.011170178651809692,
-0.0831843689084053,
0.02721336856484413,
0.02560047060251236,
-0.008094518445432186,
-0.017235705628991127,
-0.05439241975545883,
-0.030627908185124397,
-0.00195070612244308,
0.022975221276283264,
-0.005790991242974997,
-0.01167635340243578,
-0.026098066940903664,
-0.027367794886231422,
0.01983521692454815,
0.004115893505513668,
-0.000058312063629273325,
-0.028294352814555168,
0.0030971078667789698,
-0.039087045937776566,
-0.027402112260460854,
0.021671175956726074,
-0.04934782162308693,
0.03987633436918259,
-0.0667465329170227,
0.017433028668165207,
-0.031314246356487274,
0.004594186320900917,
0.007596922572702169,
0.0063186148181557655,
-0.03416255861520767,
0.023713035508990288,
0.06094696372747421,
-0.05531897768378258,
-0.057343680411577225,
-0.022975221276283264,
-0.0145761389285326,
-0.025154348462820053,
0.05696619302034378,
0.052161816507577896,
0.0017673246329650283,
-0.023215439170598984,
0.025343092158436775,
-0.02275216020643711,
0.005276236217468977,
0.008502032607793808,
0.016918273642659187,
-0.07467375695705414,
0.05353449657559395,
-0.06973211467266083,
0.032172173261642456,
0.0012311218306422234,
-0.016257671639323235,
-0.02089904248714447,
0.004062273073941469,
0.05662302300333977,
-0.05363744497299194,
-0.04200398921966553,
-0.004358257167041302,
-0.0379202663898468,
0.032378073781728745,
0.00027587637305259705,
0.02496560662984848,
0.02505139820277691,
0.050034161657094955,
-0.007759928237646818,
0.056005317717790604,
-0.03943021595478058,
0.05384334921836853,
-0.0086307218298316,
0.00837763398885727,
-0.003931439481675625,
-0.004516973160207272,
0.0010380888124927878,
-0.06479046493768692,
0.011470451951026917,
0.0024300713557749987,
0.029564082622528076,
-0.009720285423099995,
0.010543893091380596,
0.07982130348682404,
0.07268337160348892,
-0.06479046493768692,
0.010037717409431934,
0.014267286285758018,
0.0075239986181259155,
-0.06681516766548157,
0.016583682969212532,
-0.005061754956841469,
-0.07261473685503006,
0.0052976845763623714,
-0.02059018984436989,
-0.028500255197286606,
0.026647137477993965,
-0.07707594335079193,
-0.013229197822511196,
0.005160416476428509,
0.001349086407572031,
-0.006155609153211117,
0.035895563662052155,
0.030679384246468544,
-0.007425337564200163,
0.002017195336520672,
0.0036247314419597387,
-0.0004686413158196956,
-0.044268909841775894,
0.020006801933050156,
0.022134454920887947,
0.034625835716724396,
0.04073426127433777,
-0.011290287598967552,
-0.01920035295188427,
-0.023524291813373566,
0.003843502141535282,
-0.06111854687333107,
-0.013220618478953838,
0.03733687847852707,
0.019251829013228416,
-0.07172250002622604,
-0.02568626217544079,
-0.030473481863737106,
-0.0030499219428747892,
-0.03706234320998192,
0.024039046838879585,
0.011024330742657185,
0.00426603015512228,
-0.03188047930598259,
-0.04512683302164078,
0.07467375695705414,
-0.055010125041007996,
0.030868127942085266,
-0.024004729464650154,
-0.004055838566273451,
-0.021482432261109352,
-0.05411788448691368,
-0.014979363419115543,
-0.03026757948100567,
0.0780368223786354,
0.0192346703261137,
-0.0094800665974617,
-0.009668810293078423,
-0.03634168580174446,
0.04234715923666954,
0.037988901138305664,
-0.027247685939073563,
0.0015013680094853044,
0.00038579796091653407,
-0.019646473228931427,
-0.03285851329565048,
-0.02647555246949196,
-0.014747723937034607,
0.024090522900223732,
0.022340357303619385,
0.0493135079741478,
-0.01576865464448929,
-0.004718585405498743,
0.011822201311588287,
0.007721321191638708,
-0.04677404835820198,
0.00808164943009615,
0.020521556958556175,
0.023695876821875572,
-0.025343092158436775,
-0.011624878272414207,
0.054529689252376556,
0.025497518479824066,
0.011796463280916214,
0.014807778410613537,
-0.013031874783337116,
0.014112859964370728,
-0.005469269119203091,
0.05243635177612305,
-0.05487285926938057,
-0.0055421930737793446,
-0.028791949152946472,
0.08105671405792236,
0.019560681656003,
0.03404244780540466,
0.020281337201595306,
-0.036719173192977905,
0.006545964628458023,
-0.04279327765107155,
-0.008755120448768139,
0.0042231339029967785,
0.034780263900756836,
-0.021362323313951492,
0.030044520273804665,
-0.02472538687288761,
0.05803002044558525,
-0.07234020531177521,
-0.013992750085890293,
0.01856548897922039,
0.03229228034615517,
0.003869239939376712,
0.03943021595478058,
0.010166406631469727,
0.0986270159482956,
0.04543568566441536,
0.01031225360929966,
-0.018119366839528084,
0.04392573982477188,
0.05645143985748291,
0.013220618478953838,
0.0161118246614933,
-0.024124840274453163,
-0.0172614436596632,
0.0066961017437279224,
0.04595044255256653,
0.04368552193045616,
0.04004792124032974,
0.018462536856532097,
-0.060191988945007324,
0.004675689153373241,
0.011633457615971565,
0.0013984170509502292,
0.03603283315896988,
-0.06829079985618591,
0.020178386941552162,
0.015948818996548653,
0.03606715053319931,
-0.0028826266061514616,
-0.04547000303864479,
-0.006743287201970816,
-0.0181365255266428,
0.0294782891869545,
-0.06053515896201134,
-0.06633473187685013,
0.0012772352201864123,
-0.03033621422946453,
-0.00039330479921773076,
0.030473481863737106,
0.00273034512065351,
0.028002658858895302,
-0.03194911405444145,
-0.02891205996274948,
-0.029186595231294632,
-0.005563640967011452,
-0.020607348531484604,
-0.049999844282865524,
0.013340727426111698,
0.040837209671735764,
0.02196286991238594,
-0.04680836573243141,
-0.03809185326099396,
0.03184616193175316,
0.01333214808255434,
0.0031142663210630417,
0.053465861827135086,
-0.02702462486922741,
-0.03306441381573677,
-0.012216846458613873,
0.025514677166938782,
0.008085939101874828,
0.032172173261642456,
-0.020693141967058182,
-0.003616152098402381,
-0.010835587978363037,
-0.06211373955011368,
-0.03548376262187958,
-0.012294059619307518,
-0.023644402623176575,
0.06190783903002739,
0.07213430106639862,
-0.00682479003444314,
-0.056588705629110336,
0.00022319445270113647,
-0.07165386527776718,
0.04883306846022606,
0.04365120455622673,
-0.049519408494234085,
-0.0022005767095834017,
0.04725448787212372,
0.006292876787483692,
-0.01789630763232708,
-0.015142369084060192,
-0.03651327267289162,
0.031039712950587273,
-0.0464651957154274,
0.01445602998137474,
0.0492105558514595,
0.01877138949930668,
-0.007734190206974745,
0.022923745214939117,
0.01123881246894598,
0.015588490292429924,
0.0016740254359319806,
-0.08826328068971634,
-0.10377456247806549,
-0.054735589772462845,
0.00833902694284916,
0.03994496911764145,
-0.03054211661219597,
-0.04330803453922272,
0.08037037402391434,
-0.0012418458936735988,
0.04389142245054245,
-0.0339738130569458,
-0.022254563868045807,
-0.005237629637122154,
-0.00661888811737299,
0.020315654575824738,
0.013280672952532768,
-0.021190738305449486,
0.056039635092020035,
0.05253930389881134,
-0.004868722055107355,
0.04958804324269295,
-0.036170102655887604,
0.07700731605291367,
0.002539456821978092,
-0.052916791290044785,
0.010440942831337452,
0.09553848206996918,
0.014387395232915878,
-0.0053234221413731575,
0.009239847771823406,
-0.014413133263587952,
-0.02244330756366253,
0.048215363174676895,
0.011959468945860863,
0.020126910880208015,
-0.015116631053388119,
0.0583045557141304,
0.028929216787219048,
0.022391831502318382,
-0.020607348531484604,
0.07391878217458725,
0.04800945892930031,
-0.04337666928768158,
-0.06942325830459595,
-0.0002301650820299983,
-0.04279327765107155,
0.01584586687386036,
0.0015614228323101997,
0.04722017049789429,
-0.013675318099558353,
-0.033201683312654495,
0.06321188807487488,
-0.03997928649187088,
-0.04749470576643944,
-0.03922431170940399,
-0.004774350207298994,
0.013778269290924072,
-0.010835587978363037,
-0.004184527322649956,
0.010329412296414375,
-0.012491382658481598,
0.03412824124097824,
0.041660819202661514,
-0.030953919515013695,
0.053157009184360504,
-0.06087832897901535,
0.07275200635194778,
0.026492711156606674,
-0.011170178651809692,
0.014018488116562366,
0.0018059313297271729,
0.031348563730716705,
-0.042964864522218704,
0.0013051178539171815,
-0.0075926329009234905,
-0.005443531554192305,
-0.003208637936040759,
-0.00039625391946174204,
-0.02062450721859932,
0.005902521312236786,
0.0595056489109993,
-0.0064987787045538425,
0.004233858082443476,
-0.004585606977343559,
0.012113895267248154,
0.01135892141610384,
-0.04004792124032974,
-0.03754277899861336,
0.01384690310806036,
-0.00395074300467968,
-0.021877076476812363,
-0.006524516735225916,
-0.02556615322828293,
-0.021671175956726074,
-0.014919308945536613,
0.023558609187602997,
-0.03658190369606018,
-0.05308837443590164,
0.001440240885131061,
-0.011573403142392635,
-0.015700019896030426,
0.012251162901520729,
0.011899414472281933,
0.011144440621137619,
0.036753490567207336,
0.0060955542139709,
0.034471411257982254,
0.012723022140562534,
0.04015086963772774,
-0.001182863488793373,
0.0084376884624362,
-0.02481118030846119,
0.00525478832423687,
0.030370531603693962,
0.0220829788595438,
-0.0066918120719492435,
0.043479617685079575,
-0.08387070894241333,
-0.016214774921536446,
0.009600176475942135,
0.08592972904443741,
0.06362368911504745,
0.03045632317662239,
0.03623873367905617
] |
23,240 | cov_core | __init__ | Get some common config used by multiple derived classes. | def __init__(self, cov_source, cov_report, cov_config, config=None, nodeid=None):
"""Get some common config used by multiple derived classes."""
self.cov_source = cov_source
self.cov_report = cov_report
self.cov_config = cov_config
self.config = config
self.nodeid = nodeid
self.cov = None
self.node_descs = set()
self.failed_slaves = []
self.topdir = os.getcwd()
self.cov_data_file = '.coverage'
| (self, cov_source, cov_report, cov_config, config=None, nodeid=None) | [
-0.03679401054978371,
-0.05899729207158089,
0.016300028190016747,
0.02109311707317829,
-0.07372899353504181,
-0.04447704926133156,
-0.04408937320113182,
0.00821609515696764,
0.004392196889966726,
-0.03148989379405975,
-0.018044572323560715,
0.039930664002895355,
0.0012412251671776175,
0.05187814310193062,
-0.035313792526721954,
0.0035441548097878695,
0.034520816057920456,
-0.003282032674178481,
0.045781053602695465,
-0.02096976712346077,
-0.04814235493540764,
0.016881542280316353,
-0.01380656473338604,
0.03163086622953415,
-0.03143702819943428,
0.05885631963610649,
0.016855111345648766,
-0.054098471999168396,
0.06548205763101578,
-0.04257391393184662,
-0.09290134906768799,
-0.039648719131946564,
-0.06653936207294464,
0.05268874019384384,
0.05064462870359421,
-0.012388021685183048,
-0.0032269652001559734,
0.029745349660515785,
-0.12053210288286209,
0.08190543949604034,
-0.01703132688999176,
-0.029974430799484253,
0.02049398235976696,
-0.028388481587171555,
0.018291275948286057,
0.03277627378702164,
0.003361330134794116,
0.024053554981946945,
-0.034520816057920456,
-0.05205436050891876,
-0.018996141850948334,
0.00784163549542427,
-0.006978174205869436,
0.03215951472520828,
0.013973969966173172,
0.023507284000515938,
0.04500570148229599,
0.02347204089164734,
0.005890037398785353,
0.05423944443464279,
-0.022062309086322784,
0.02394782565534115,
0.0646362230181694,
-0.020106306299567223,
-0.014925539493560791,
-0.02030014432966709,
-0.06851298362016678,
-0.00624687597155571,
0.003577195340767503,
0.027718858793377876,
0.056882694363594055,
-0.010819694958627224,
-0.006868038792163134,
0.022344255819916725,
0.09466351568698883,
-0.03289962559938431,
-0.08705095946788788,
-0.004489115905016661,
0.03358687087893486,
-0.023066742345690727,
0.017815491184592247,
0.003967074677348137,
-0.04370169714093208,
-0.037498876452445984,
0.07168488204479218,
-0.022150417789816856,
0.01141883060336113,
-0.03517281636595726,
0.04771943390369415,
0.035437144339084625,
-0.025163719430565834,
0.017736192792654037,
-0.005308522842824459,
0.0012852792860940099,
0.048565272241830826,
0.015771379694342613,
0.007149985525757074,
-1.2476267841066147e-7,
-0.014846242032945156,
0.007185228634625673,
-0.024423610419034958,
0.01462597120553255,
-0.03519044071435928,
-0.006149956490844488,
-0.04077650234103203,
-0.028582319617271423,
-0.037428390234708786,
0.02526944875717163,
0.04232721030712128,
0.02324295975267887,
-0.07196682691574097,
0.006352605763822794,
-0.0009163259528577328,
-0.006652173586189747,
0.033322542905807495,
-0.023225337266921997,
-0.03178945928812027,
0.0025595449842512608,
-0.016106190159916878,
0.005070630460977554,
0.03919055312871933,
0.037111200392246246,
-0.04031834006309509,
0.07203731685876846,
0.013912294991314411,
-0.02646772190928459,
0.011788885109126568,
0.010502505116164684,
0.04201002046465874,
-0.03760460764169693,
0.08296273648738861,
-0.0631207600235939,
-0.01464359275996685,
0.0029868700075894594,
0.0540279857814312,
0.01837938278913498,
-0.016537921503186226,
0.025727612897753716,
-0.002273193094879389,
-0.05459187924861908,
0.06082994490861893,
-0.011674344539642334,
0.011991534382104874,
-0.07143817842006683,
-0.0016333068488165736,
0.06576400995254517,
-0.0538870133459568,
-0.061781514436006546,
-0.06329697370529175,
-0.010167693719267845,
-0.009568557143211365,
-0.056318800896406174,
-0.06601070612668991,
-0.029040483757853508,
-0.01785954460501671,
-0.030943620949983597,
-0.01846749149262905,
4.4742478166881483e-7,
-0.008546501398086548,
0.015850676223635674,
-0.04063552990555763,
-0.027119722217321396,
0.04564008116722107,
-0.013251482509076595,
-0.02678491175174713,
-0.007621364668011665,
-0.06474195420742035,
-0.08409052342176437,
-0.05762280151247978,
-0.017974086105823517,
-0.06766714155673981,
-0.06171102821826935,
-0.030732162296772003,
0.029463402926921844,
-0.020599711686372757,
0.014097321778535843,
-0.0060045779682695866,
0.015348459593951702,
-0.05804572254419327,
0.0002827724674716592,
-0.006524416618049145,
0.0020408076234161854,
-0.0010512416483834386,
0.03349876031279564,
-0.009374719113111496,
0.04102320596575737,
0.046697378158569336,
0.016423380002379417,
0.04158709943294525,
0.021463172510266304,
-0.0007043154328130186,
-0.008978231810033321,
-0.01647624559700489,
0.055931124836206436,
0.06964077055454254,
-0.03922579810023308,
0.04014212265610695,
0.00917206984013319,
-0.03788655251264572,
0.07034563273191452,
-0.0038679526187479496,
0.052230577915906906,
0.041763316839933395,
-0.04810710996389389,
0.006815174128860235,
0.05187814310193062,
-0.021322200074791908,
0.03506708890199661,
-0.029304808005690575,
0.05762280151247978,
-0.007528850808739662,
-0.0014747120440006256,
0.03568384423851967,
0.027912696823477745,
0.029340051114559174,
-0.02100501023232937,
0.017771435901522636,
0.03291724622249603,
-0.024124041199684143,
0.04158709943294525,
0.10770353674888611,
-0.02096976712346077,
0.009991477243602276,
0.007475986145436764,
-0.0157625675201416,
0.0192252229899168,
0.01683748885989189,
-0.037498876452445984,
0.028353238478302956,
-0.05579015240073204,
-0.0053481715731322765,
-0.012617102824151516,
0.027084479108452797,
0.013736077584326267,
-0.01619429886341095,
-0.005013360176235437,
0.012088453397154808,
0.04338450729846954,
-0.0631207600235939,
0.006251281127333641,
-0.054732851684093475,
0.01834413968026638,
0.01818554475903511,
-0.01392991654574871,
0.02979821339249611,
-0.05156095325946808,
0.007964987307786942,
0.02391258254647255,
-0.002742369659245014,
0.033921681344509125,
0.03767509385943413,
-0.023454418405890465,
-0.0492701418697834,
-0.015154620632529259,
-0.004687359556555748,
-0.004616872873157263,
-0.01654673181474209,
-0.054768096655607224,
0.03275865316390991,
-0.024811286479234695,
0.013586293905973434,
-0.020282521843910217,
0.012379210442304611,
0.06354367733001709,
-0.044899970293045044,
0.0015066512860357761,
0.002091469941660762,
-0.027348805218935013,
-0.043631210923194885,
0.0020595306996256113,
0.05575490742921829,
0.06854822486639023,
0.014564295299351215,
0.058468643575906754,
-0.05638928711414337,
-0.03834471479058266,
-0.0708390399813652,
-0.016414569690823555,
-0.00885487999767065,
0.01970100775361061,
0.02327820286154747,
0.02625626139342785,
0.009110393933951855,
0.0027489778585731983,
-0.006480362731963396,
-0.08148252218961716,
-0.05124376341700554,
-0.011198559775948524,
-0.04870624840259552,
0.00312784337438643,
-0.05374604091048241,
0.020705441012978554,
-0.024124041199684143,
0.004028750117868185,
0.06206345930695534,
-0.014273538254201412,
-0.026168154552578926,
0.05980788916349411,
0.0019427872030064464,
0.012520183809101582,
-0.014132564887404442,
-0.026009559631347656,
-0.03504946827888489,
-0.014564295299351215,
-0.034961357712745667,
0.01012363936752081,
0.039296284317970276,
-0.05434517562389374,
0.03862666338682175,
0.0032005326356738806,
0.024846529588103294,
0.054768096655607224,
0.06051275506615639,
0.05980788916349411,
0.03489087149500847,
-0.042714886367321014,
-0.03418600559234619,
-0.040846988558769226,
0.014546673744916916,
0.05610734224319458,
-0.07683040201663971,
0.00594730768352747,
0.02666155993938446,
-0.0019626114517450333,
0.04528764635324478,
0.03349876031279564,
0.019718628376722336,
0.05064462870359421,
-0.05607209727168083,
0.018414625898003578,
-0.06421329826116562,
-0.024088798090815544,
0.0492701418697834,
-0.028881888836622238,
-0.01203558873385191,
-0.005268874112516642,
-0.00594730768352747,
0.010643478482961655,
0.02128695696592331,
-0.020881658419966698,
0.05868010222911835,
0.002471436746418476,
0.0033326949924230576,
0.02223852463066578,
0.016740569844841957,
-0.05610734224319458,
0.014203052036464214,
-0.04074126109480858,
-0.0056345234625041485,
0.025921450927853584,
0.003647682024165988,
0.03485563024878502,
0.01878468133509159,
0.045781053602695465,
0.06132335215806961,
0.007987014017999172,
-0.01510175596922636,
-0.05335836485028267,
0.015410134568810463,
-0.017128245905041695,
0.019912466406822205,
0.011903426609933376,
-0.011603858321905136,
0.03644157573580742,
-0.023049121722579002,
-0.012484940700232983,
-0.01659959740936756,
0.018908033147454262,
0.01603570394217968,
-0.0067490930669009686,
-0.03223000094294548,
-0.04602775722742081,
-0.034996602684259415,
-0.06132335215806961,
0.020899279043078423,
-0.04366645589470863,
-0.05156095325946808,
-0.004268845077604055,
-0.02932243049144745,
0.0011729412944987416,
-0.028670428320765495,
0.016916785389184952,
-0.02296101301908493,
0.007991419173777103,
-0.06816054880619049,
-0.0284942127764225,
0.03194805607199669,
0.04722602665424347,
0.046380188316106796,
0.04095271974802017,
0.014352835714817047,
-0.023137230426073074,
-0.025921450927853584,
-0.01678462326526642,
-0.019524790346622467,
-0.029974430799484253,
0.04250342398881912,
0.040846988558769226,
-0.024758420884609222,
-0.04285585880279541,
0.007057471666485071,
-0.02384209632873535,
0.020916901528835297,
0.039930664002895355,
0.008846069686114788,
-0.03378070890903473,
0.059067778289318085,
-0.004744629841297865,
0.014590728096663952,
-0.005515577271580696,
0.012440886348485947,
-0.002469233935698867,
0.0011068599997088313,
0.025322314351797104,
-0.08683950453996658,
-0.0037622228264808655,
0.01714586839079857,
0.0028238696977496147,
0.06502389907836914,
-0.01837938278913498,
-0.010916613973677158,
0.006841606460511684,
0.03099648654460907,
-0.003973682411015034,
0.053781282156705856,
0.016026893630623817,
-0.018749438226222992,
0.0007312985835596919,
-0.023542527109384537,
-0.014194240793585777,
-0.0154013242572546,
0.08148252218961716,
-0.03756936267018318,
0.006414281670004129,
0.05765804648399353,
-0.009321854449808598,
-0.04740224406123161,
-0.001650928519666195,
0.019947711378335953,
0.051349494606256485,
-0.05575490742921829,
-0.0064979842863976955,
0.027560263872146606,
0.016423380002379417,
-0.026802532374858856,
0.01985960267484188,
-0.04384266957640648,
-0.04193953424692154,
-0.03795703873038292,
-0.037745580077171326,
-0.0005589367938227952,
-0.01394753810018301,
-0.037745580077171326,
-0.021040253341197968,
-0.03184232488274574,
-0.03830947354435921,
0.0017236178973689675,
0.07147341966629028,
0.04571056738495827,
-0.007956176064908504,
-0.02363063581287861,
-0.00934828631579876,
0.015225107781589031,
-0.03492611646652222,
-0.022820040583610535,
0.03163086622953415,
0.04845954477787018,
0.018115058541297913,
0.006022199522703886,
-0.0216041449457407,
0.0010033327853307128,
0.03637108951807022,
-0.0664336308836937,
0.0135069964453578,
0.0068283905275166035,
-0.00003099277091678232,
-0.06386087089776993,
-0.04377218335866928,
-0.03823898732662201,
-0.014537863433361053,
0.0019350777147337794,
0.00512349558994174,
0.06481243669986725,
-0.006022199522703886,
0.01184175070375204,
-0.08268079161643982,
0.05138473957777023,
-0.03785130754113197,
-0.028124157339334488,
-0.013445320539176464,
-0.04437132179737091,
0.014044457115232944,
-0.050080735236406326,
0.010035530664026737,
0.001416340353898704,
0.0649886503815651,
0.04352547973394394,
0.014370457269251347,
0.014150186441838741,
-0.03644157573580742,
0.054098471999168396,
-0.012449697591364384,
-0.00440761586651206,
-0.010238179937005043,
0.009233745746314526,
-0.024300258606672287,
-0.02303149923682213,
0.024265015497803688,
-0.030820269137620926,
0.026591073721647263,
0.03150751441717148,
0.05029219761490822,
-0.027877453714609146,
0.00853328499943018,
0.012722833082079887,
-0.015736134722828865,
-0.03771033510565758,
0.025005124509334564,
-0.014167808927595615,
0.05233630910515785,
0.020441116765141487,
0.02296101301908493,
0.03023875504732132,
0.002102483296766877,
0.02141030691564083,
0.026802532374858856,
0.02609766647219658,
0.04750797525048256,
0.02419452928006649,
0.055931124836206436,
-0.04585153982043266,
-0.05638928711414337,
-0.051913388073444366,
0.07513872534036636,
0.04141088202595711,
0.051349494606256485,
0.00837469007819891,
-0.0038635472301393747,
0.03767509385943413,
-0.04415985941886902,
0.03728741779923439,
-0.0023238554131239653,
0.04324353486299515,
-0.002268787706270814,
-0.027595506981015205,
-0.027789345011115074,
0.014273538254201412,
0.026485344395041466,
-0.021516038104891777,
-0.0034163978416472673,
0.09811735898256302,
-0.04035358503460884,
-0.02570999041199684,
0.009022286161780357,
0.05487382411956787,
-0.016203109174966812,
0.027965562418103218,
-0.025181341916322708,
0.07647797465324402,
0.06393135339021683,
-0.0033415057696402073,
-0.002491261111572385,
-0.013639158569276333,
-0.005991362035274506,
0.025850964710116386,
0.005682982970029116,
0.005735847633332014,
0.03494373708963394,
-0.03247670456767082,
-0.05282971262931824,
0.019683385267853737,
0.013251482509076595,
-0.0585743710398674,
0.045181915163993835,
-0.0892360508441925,
0.014299971051514149,
-0.01412375457584858,
0.08690998703241348,
-0.008480420336127281,
-0.023983068764209747,
-0.006317362189292908,
0.013110509142279625,
0.010546558536589146,
-0.0134893748909235,
-0.05117327719926834,
-0.019189979881048203,
-0.04556959122419357,
-0.019278088584542274,
0.024405987933278084,
-0.023172473534941673,
-0.0032159516122192144,
-0.028917131945490837,
-0.03178945928812027,
-0.003478073747828603,
-0.01718992181122303,
0.027472155168652534,
0.006326173432171345,
-0.022256147116422653,
0.017022516578435898,
-0.037498876452445984,
-0.06675081700086594,
0.02045873925089836,
0.06329697370529175,
0.02232663333415985,
-0.015648027881979942,
-0.023524906486272812,
-0.013559861108660698,
-0.0028723294381052256,
-0.010872559621930122,
0.04606299847364426,
0.02941053733229637,
0.03721693158149719,
0.019348574802279472,
-0.021427929401397705,
-0.028229886665940285,
-0.053534578531980515,
-0.039366770535707474,
0.027595506981015205,
-0.01568327099084854,
-0.0096302330493927,
0.0215689018368721,
-0.014872674830257893,
-0.021427929401397705,
0.03890860825777054,
-0.08134154975414276,
0.03672352433204651,
0.01707538031041622,
-0.09085723757743835,
-0.010572991333901882,
-0.008987043052911758,
0.03978969156742096,
-0.03615963086485863,
0.018996141850948334,
-0.08542977273464203,
-0.009242556989192963,
-0.046380188316106796,
0.053781282156705856,
0.017436625435948372,
0.015392513014376163,
0.017559977248311043,
0.04042407125234604,
0.004788684193044901,
0.012828563340008259,
0.005559631157666445,
-0.07372899353504181,
-0.06907688081264496,
-0.0400363951921463,
0.003726979484781623,
0.050679873675107956,
0.010810883715748787,
0.011224992573261261,
0.04962257295846939,
-0.015665648505091667,
0.03912006691098213,
-0.021516038104891777,
0.03943725675344467,
-0.026591073721647263,
0.04627446085214615,
0.04849478602409363,
0.0026806937530636787,
-0.028582319617271423,
0.04074126109480858,
0.06227491796016693,
-0.002491261111572385,
0.05120852217078209,
-0.0049340627156198025,
0.04662689194083214,
-0.031225567683577538,
-0.006189605221152306,
0.0016145838890224695,
0.05635404586791992,
0.03251194953918457,
-0.005154333543032408,
-0.015771379694342613,
-0.029974430799484253,
-0.04229196533560753,
0.023454418405890465,
-0.02578047662973404,
-0.012678778730332851,
-0.02280241809785366,
0.033639732748270035,
0.059314481914043427,
-0.0193309523165226,
-0.057799018919467926,
0.053499337285757065,
0.07143817842006683,
-0.01655554212629795,
-0.019947711378335953,
-0.005418658256530762,
-0.018767060711979866,
-0.031542759388685226,
0.020035818219184875,
0.038591418415308,
0.01022936962544918,
-0.019436683505773544,
0.008163230493664742,
-0.04595727100968361,
-0.09036383032798767,
-0.03577195480465889,
-0.046415433287620544,
0.01730446331202984,
-0.034238871186971664,
-0.05184290185570717,
0.05141998082399368,
0.006110307760536671,
0.006916498765349388,
0.004458277951925993,
0.004986927844583988,
0.02622101828455925,
-0.05025695264339447,
0.05208960548043251,
0.009744773618876934,
0.04215099290013313,
-0.036547306925058365,
-0.001011593034490943,
0.0447942391037941,
0.013568672351539135,
0.02144555002450943,
-0.07302412390708923,
-0.02359539270401001,
0.021304577589035034,
-0.0006547545199282467,
0.006414281670004129,
0.03187756985425949,
0.030009673908352852,
0.01957765594124794,
0.03207140788435936,
-0.04373694211244583,
0.04898819327354431,
0.002753383247181773,
-0.0027379642706364393,
-0.00755087798461318,
-0.005008954554796219,
-0.025956694036722183,
-0.022291390225291252,
-0.03570146858692169,
-0.005982550792396069,
-0.01301359012722969,
-0.006665389984846115,
0.06823103874921799,
-0.030608810484409332,
-0.03210664913058281,
-0.01881992444396019,
0.01111926231533289,
-0.07880403101444244,
-0.002502274699509144,
0.05913826450705528,
0.04930538311600685,
0.05920875072479248,
-0.027877453714609146,
0.004850359633564949,
0.00609709182754159,
0.020476359874010086,
-0.006198415998369455,
-0.0015606175875291228,
-0.036230117082595825,
0.002295220270752907,
-0.014775755815207958,
0.012273481115698814,
-0.03445032984018326,
0.032089028507471085,
-0.06844250112771988,
0.01124261412769556,
-0.002041908912360668,
0.08592317998409271,
0.03679401054978371,
0.054450906813144684,
0.02657345123589039
] |
23,241 | cov_core | finish | Stop coverage, save data to file and set the list of coverage objects to report on. | def finish(self):
"""Stop coverage, save data to file and set the list of coverage objects to report on."""
self.unset_env()
self.cov.stop()
self.cov.combine()
self.cov.save()
node_desc = self.get_node_desc(sys.platform, sys.version_info)
self.node_descs.add(node_desc)
| (self) | [
-0.010162262246012688,
0.02859271503984928,
-0.03622089698910713,
0.029786240309476852,
-0.013933110050857067,
-0.04746425151824951,
-0.06953582167625427,
0.014841227792203426,
0.010646591894328594,
-0.037881456315517426,
-0.030149485915899277,
-0.016181781888008118,
0.02167372778058052,
-0.006741688121110201,
-0.014426087960600853,
0.013042290695011616,
0.007610885892063379,
-0.018490992486476898,
0.016311511397361755,
0.03435277193784714,
-0.05839625000953674,
0.030875980854034424,
-0.008198999799787998,
0.001610826700925827,
-0.016640163958072662,
0.005729786120355129,
0.026153771206736565,
0.0031438148580491543,
0.02961326576769352,
-0.024147264659404755,
-0.09395984560251236,
-0.0641736090183258,
-0.046115048229694366,
0.01987479068338871,
0.07112719118595123,
0.011632546782493591,
0.017902879044413567,
-0.0039178766310215,
0.03170625865459442,
0.06652606278657913,
-0.022728873416781425,
0.0022573196329176426,
-0.026568910107016563,
0.01847369596362114,
0.007420613896101713,
0.0018238017801195383,
0.0028065142687410116,
0.009513607248663902,
0.0461842380464077,
-0.07673157006502151,
0.024614296853542328,
0.020514797419309616,
0.020635878667235374,
0.014330952428281307,
0.04414313659071922,
0.01937316358089447,
0.03947282209992409,
0.00725196348503232,
0.034058716148138046,
-0.017029358074069023,
0.011104973964393139,
-0.0021275884937494993,
-0.0021654267329722643,
-0.01795477233827114,
0.017703957855701447,
0.039991747587919235,
-0.017703957855701447,
0.048225339502096176,
0.02990732155740261,
0.026741884648799896,
-0.012376338243484497,
-0.015282313339412212,
0.027883518487215042,
0.023247797042131424,
0.021223993971943855,
-0.05130428820848465,
-0.07548615336418152,
-0.02961326576769352,
0.00366273894906044,
-0.02470078505575657,
-0.03701658174395561,
0.05843084678053856,
0.0032930055167526007,
-0.0178682841360569,
0.018248828127980232,
0.01456446759402752,
0.07922240346670151,
-0.02229643613100052,
-0.037673886865377426,
-0.009626041166484356,
0.014875822700560093,
0.057462189346551895,
-0.015342853963375092,
0.0037794967647641897,
0.06669903546571732,
-0.027883518487215042,
-0.02027263306081295,
0.0042119333520531654,
-0.05472918972373009,
-0.006326548755168915,
0.016190430149435997,
0.0060930331237614155,
-0.008800086565315723,
0.020445607602596283,
-0.011511464603245258,
-0.016519082710146904,
0.013907164335250854,
0.029180828481912613,
-0.02129318378865719,
0.01450392697006464,
-0.08365055173635483,
0.010266046971082687,
0.011917955242097378,
-0.07728508859872818,
-0.00042919343104586005,
-0.042102035135030746,
-0.04448908567428589,
0.020497499033808708,
0.007061691489070654,
-0.014443385414779186,
0.04417773336172104,
-0.008410893380641937,
-0.05220375955104828,
0.02892136573791504,
-0.025565657764673233,
0.0007675751112401485,
0.028558120131492615,
0.09596635401248932,
0.01856018230319023,
-0.016423946246504784,
0.014270410872995853,
-0.0568394809961319,
-0.040095530450344086,
0.03545980900526047,
0.06365468353033066,
0.020618582144379616,
-0.00883035734295845,
-0.05268808826804161,
0.01120011042803526,
-0.007424938026815653,
0.019407758489251137,
-0.04206744208931923,
0.010257398709654808,
-0.04981670901179314,
0.008186026476323605,
0.06486550718545914,
-0.03684360533952713,
-0.06272061914205551,
-0.10371562093496323,
-0.04739506170153618,
0.010041180066764355,
-0.029578670859336853,
-0.07666237652301788,
-0.05071617662906647,
0.012990398332476616,
-0.027485676109790802,
-0.03279599919915199,
0.033972226083278656,
-0.014157977886497974,
0.009669284336268902,
-0.05400269478559494,
0.010577402077615261,
-0.0024216454476118088,
0.021621834486722946,
0.017046654596924782,
0.0038378757890313864,
-0.022140758112072945,
0.025271600112318993,
-0.0633087307214737,
-0.043624214828014374,
-0.09223009645938873,
-0.03933444246649742,
0.030166784301400185,
0.03968039155006409,
-0.06465793401002884,
0.04815614968538284,
0.0006405468448065221,
-0.013249860145151615,
-0.0010410913964733481,
0.01028334442526102,
-0.039611201733350754,
-0.03530413284897804,
-0.011805522255599499,
0.055870819836854935,
0.027243511751294136,
-0.01856018230319023,
-0.008272513747215271,
-0.013197967782616615,
0.017314765602350235,
-0.029959214851260185,
0.03781226649880409,
0.012981750071048737,
-0.006218439899384975,
0.002514619380235672,
0.1107729822397232,
-0.02700134739279747,
0.04777560755610466,
0.01100118923932314,
-0.0034335474483668804,
-0.026966752484440804,
-0.00852765142917633,
0.03040894865989685,
0.045734506100416183,
-0.07060826569795609,
0.030478138476610184,
0.0829586535692215,
-0.013889866881072521,
0.025271600112318993,
-0.009513607248663902,
0.0643811747431755,
0.018525587394833565,
0.02158723957836628,
0.009349280968308449,
-0.026741884648799896,
0.07140395045280457,
-0.022365625947713852,
-0.02248670905828476,
0.011779575608670712,
0.007762238848954439,
0.027935409918427467,
-0.04940157011151314,
-0.025064030662178993,
0.010179559700191021,
-0.002432456472888589,
-0.04525017738342285,
-0.0010659564286470413,
-0.028523525223135948,
-0.013725540600717068,
0.04455827921628952,
-0.05230754241347313,
-0.034888993948698044,
-0.025963500142097473,
-0.03905768319964409,
-0.04971292242407799,
-0.03857335448265076,
0.02077425830066204,
-0.006460604257881641,
0.0837889313697815,
-0.06621471047401428,
0.001249742112122476,
-0.08226675540208817,
-0.018750455230474472,
-0.005829246714711189,
-0.01625097170472145,
-0.017496388405561447,
0.009876853786408901,
0.08496516197919846,
-0.05209997296333313,
0.048121556639671326,
0.02369753085076809,
0.07060826569795609,
-0.04327826574444771,
-0.006832499988377094,
-0.048536695539951324,
0.01717638596892357,
-0.07894564419984818,
0.013172022067010403,
-0.07866888493299484,
0.06095627695322037,
-0.024960245937108994,
0.028142981231212616,
0.02167372778058052,
-0.0006805472658015788,
0.04604585841298103,
-0.004025985486805439,
0.03566737845540047,
0.026447828859090805,
-0.03393763303756714,
-0.015377448871731758,
-0.0021427238825708628,
-0.01460771169513464,
-0.01655367761850357,
-0.039299845695495605,
-0.004925454035401344,
-0.03487169370055199,
0.06064492091536522,
-0.04860588535666466,
-0.02969975210726261,
-0.06932824850082397,
0.0409604050219059,
0.07195746898651123,
0.05220375955104828,
-0.004348150920122862,
-0.025375384837388992,
-0.01907910779118538,
-0.04912480711936951,
-0.018439101055264473,
0.006006545852869749,
-0.017781797796487808,
0.012419582344591618,
-0.047014519572257996,
0.08766356855630875,
0.006205466575920582,
0.02670728974044323,
0.08766356855630875,
-0.004691938403993845,
-0.009729825891554356,
-0.006841148715466261,
0.020030468702316284,
0.03563278540968895,
-0.030166784301400185,
-0.0409604050219059,
-0.007463857531547546,
-0.02409537322819233,
-0.04480044171214104,
0.025150518864393234,
0.05860382318496704,
-0.06905148923397064,
0.005868166219443083,
0.03450844809412956,
0.013085534796118736,
0.03822740539908409,
0.058673013001680374,
0.05853462964296341,
0.009427119977772236,
-0.03753550723195076,
-0.029976511374115944,
-0.008501705713570118,
0.010153613984584808,
0.038296595215797424,
-0.04909021407365799,
-0.07465586811304092,
0.04760263115167618,
0.005920058581978083,
0.10170911252498627,
0.029578670859336853,
-0.003120030742138624,
0.0731336921453476,
-0.0018097475403919816,
-0.055559467524290085,
-0.03129111975431442,
-0.0610254667699337,
0.03295167535543442,
-0.011424977332353592,
0.04594207555055618,
0.012514717876911163,
-0.00722601730376482,
-0.044316112995147705,
0.01708124950528145,
0.0040411208756268024,
-0.022555898874998093,
-0.013249860145151615,
-0.015489882789552212,
-0.004160040989518166,
-0.0021805621217936277,
0.024718081578612328,
0.06403522938489914,
-0.0608178973197937,
0.018802348524332047,
0.05216916278004646,
-0.011407679878175259,
0.07583209872245789,
0.006672498304396868,
0.08309703320264816,
0.02068777196109295,
0.0044065299443900585,
0.03902308642864227,
-0.02248670905828476,
0.011303895153105259,
-0.061475202441215515,
-0.03082408756017685,
0.04227501153945923,
0.0014367708936333656,
0.006914662662893534,
-0.006356819532811642,
-0.0683249980211258,
-0.0181796383112669,
0.04898642748594284,
0.006642227526754141,
-0.0183872077614069,
0.006387089844793081,
-0.004700587131083012,
0.027451081201434135,
-0.018110448494553566,
0.016190430149435997,
-0.03680901229381561,
0.026344044134020805,
-0.0013492024736478925,
0.013396888971328735,
0.009461714886128902,
-0.09188415110111237,
0.0025686740409582853,
-0.0451463907957077,
0.0038292270619422197,
-0.021604537963867188,
0.014417439699172974,
0.020411012694239616,
-0.005989248398691416,
-0.004129770677536726,
0.015325556509196758,
0.07721589505672455,
-0.04113337770104408,
-0.0030162460170686245,
-0.029457587748765945,
0.02942299284040928,
0.005695191211998463,
0.015083392150700092,
0.0019005592912435532,
0.004032472148537636,
0.04708370938897133,
-0.06773688644170761,
-0.00862711202353239,
-0.04697992280125618,
0.012687692418694496,
0.02096453122794628,
-0.03777766972780228,
0.02658620849251747,
-0.0821283757686615,
0.06317035108804703,
0.010248749516904354,
-0.01928667724132538,
-0.031775448471307755,
-0.005046536214649677,
0.020030468702316284,
-0.017297467216849327,
0.025842417031526566,
0.02802189812064171,
-0.031239226460456848,
0.08745599538087845,
0.032986272126436234,
-0.010810917243361473,
0.050958339124917984,
0.06434658169746399,
0.014720145612955093,
0.006624930072575808,
-0.035165753215551376,
0.0181796383112669,
-0.004493017215281725,
-0.03926525264978409,
0.007139530032873154,
-0.022209947928786278,
-0.004596801940351725,
-0.06341251730918884,
0.02610187977552414,
0.028177576139569283,
0.0021135343704372644,
-0.031775448471307755,
-0.04023391008377075,
0.015282313339412212,
0.062201693654060364,
-0.03611711412668228,
0.04397016391158104,
-0.009401174262166023,
0.005976275075227022,
-0.02058398723602295,
0.010542807169258595,
0.033972226083278656,
-0.07112719118595123,
-0.005111401900649071,
0.010750376619398594,
-0.0280045997351408,
0.016103941947221756,
-0.01866396702826023,
-0.05552487075328827,
0.021431563422083855,
-0.0007259530830197036,
0.021310480311512947,
0.019096404314041138,
0.025721333920955658,
-0.04085661843419075,
0.013189319521188736,
0.012981750071048737,
-0.015282313339412212,
-0.002944893902167678,
0.047429658472537994,
-0.00366490101441741,
-0.008588192984461784,
0.025150518864393234,
-0.0041146352887153625,
-0.015585018321871758,
-0.029993809759616852,
-0.01706395298242569,
-0.02329968847334385,
-0.042828530073165894,
0.014547170139849186,
-0.0005227078800089657,
-0.08081377297639847,
0.0020000196527689695,
-0.007476830389350653,
-0.011554708704352379,
-0.0019481272902339697,
-0.010776322335004807,
0.032692212611436844,
0.029630562290549278,
-0.015135284513235092,
-0.022832658141851425,
0.06406982243061066,
-0.05697786062955856,
-0.03933444246649742,
-0.016735300421714783,
0.004257339518517256,
-0.08870141208171844,
-0.05718543007969856,
-0.03760469704866409,
0.011987145058810711,
0.01290391106158495,
0.04047607630491257,
-0.009375227615237236,
-0.010015234351158142,
-0.10509941726922989,
0.041098784655332565,
-0.0028973259031772614,
-0.019494246691465378,
0.001788125722669065,
-0.008960088714957237,
-0.0004924372769892216,
0.030564626678824425,
-0.004333015531301498,
-0.029872726649045944,
0.003385979449376464,
-0.02892136573791504,
0.03450844809412956,
-0.008968736976385117,
-0.0002770297578535974,
0.03501007333397865,
0.018023962154984474,
-0.021258588880300522,
0.005232484079897404,
0.04957454279065132,
0.06797905266284943,
-0.045526936650276184,
0.01033523678779602,
0.07735427469015121,
0.021223993971943855,
0.03501007333397865,
-0.004700587131083012,
-0.005984923802316189,
0.06974338740110397,
0.004330853465944529,
0.05770435184240341,
0.004808695986866951,
-0.00897738616913557,
0.013587160967290401,
0.03163706883788109,
0.024112669751048088,
0.008765491656959057,
0.06849797070026398,
-0.030270569026470184,
0.07223422825336456,
-0.06344711035490036,
0.016346106305718422,
-0.002172994427382946,
0.004017336759716272,
-0.03139490261673927,
-0.02428564429283142,
0.00030892196809872985,
0.04127175733447075,
-0.030979765579104424,
0.017115844413638115,
0.045111797749996185,
0.03570197522640228,
0.04746425151824951,
0.018802348524332047,
0.00022662385890726,
0.03122192993760109,
0.002425969811156392,
-0.004787074401974678,
0.02179480902850628,
0.06856716424226761,
0.021950487047433853,
-0.011917955242097378,
0.029250018298625946,
0.015178527683019638,
-0.015498531050980091,
0.0633087307214737,
0.03295167535543442,
0.018110448494553566,
0.044523682445287704,
0.018594777211546898,
-0.0698125809431076,
0.02639593556523323,
-0.01294715516269207,
0.02470078505575657,
-0.021137505769729614,
-0.021033721044659615,
0.0037492262199521065,
0.011641195975244045,
0.05417567119002342,
-0.013517971150577068,
-0.050750769674777985,
-0.03805442899465561,
0.024545107036828995,
-0.020497499033808708,
-0.04286312684416771,
-0.02589431032538414,
-0.029734347015619278,
-0.015463936142623425,
-0.02368023432791233,
0.03191382810473442,
0.013076885603368282,
-0.01637205295264721,
0.022158056497573853,
-0.037500910460948944,
-0.08593381941318512,
-0.04718749225139618,
0.021258588880300522,
0.018802348524332047,
0.045215580612421036,
-0.009695230983197689,
-0.00567356962710619,
-0.010810917243361473,
-0.03712036460638046,
0.06095627695322037,
0.020929936319589615,
-0.03059922158718109,
0.04275934025645256,
-0.03891930356621742,
0.012506069615483284,
0.025375384837388992,
0.07825374603271484,
-0.006577362306416035,
0.011779575608670712,
0.016346106305718422,
-0.0017394765745848417,
-0.039092276245355606,
-0.05659731477499008,
0.008916844613850117,
-0.0260153915733099,
-0.040718238800764084,
0.06825581192970276,
0.007580615114420652,
-0.03070300631225109,
-0.0007308180211111903,
-0.006227088626474142,
-0.06251304596662521,
0.055663250386714935,
-0.0008135215612128377,
0.008289811201393604,
0.01465960405766964,
0.03540791571140289,
-0.032571133226156235,
-0.04345123842358589,
-0.016216376796364784,
-0.04670316353440285,
0.0259116068482399,
-0.03774307668209076,
0.02198508195579052,
0.009824961423873901,
0.021846702322363853,
-0.028765689581632614,
0.03059922158718109,
0.03523494303226471,
0.02610187977552414,
-0.005721137393265963,
-0.1015707328915596,
-0.09022359549999237,
-0.012765531428158283,
-0.019009917974472046,
0.01435689814388752,
-0.04064904898405075,
-0.005565460305660963,
0.059364911168813705,
-0.0009724420378915966,
0.0011621735757216811,
-0.01637205295264721,
-0.006538442801684141,
0.014936363324522972,
0.004220582079142332,
-0.009297388605773449,
0.022521303966641426,
-0.025531062856316566,
0.022746169939637184,
0.0357365682721138,
-0.0279008150100708,
0.05805030092597008,
0.006118979305028915,
0.0618557445704937,
0.05884598568081856,
-0.0449388213455677,
-0.030460841953754425,
0.03805442899465561,
-0.012307148426771164,
0.00857521966099739,
0.006361143663525581,
-0.07887645065784454,
-0.008103863336145878,
-0.003708144649863243,
-0.008017376065254211,
-0.01575799286365509,
-0.014728793874382973,
0.02520241029560566,
0.026378639042377472,
-0.008696301840245724,
-0.05829246714711189,
0.06621471047401428,
0.10523779690265656,
-0.03231167048215866,
-0.03334951773285866,
0.0329170823097229,
0.0019448840757831931,
0.0035459809005260468,
0.009608743712306023,
0.0401301272213459,
-0.029872726649045944,
-0.04604585841298103,
0.017937473952770233,
-0.016285566613078117,
-0.03895389661192894,
-0.009894151240587234,
-0.05372593551874161,
0.016008807346224785,
0.0029924619011580944,
0.015827182680368423,
0.03142949938774109,
-0.002646512584760785,
0.03343600407242775,
0.003442196175456047,
-0.0179720688611269,
-0.009357930161058903,
-0.04234420135617256,
0.05472918972373009,
0.008030349388718605,
-0.055870819836854935,
-0.004921129439026117,
-0.016008807346224785,
-0.008030349388718605,
-0.03957660496234894,
-0.006789256352931261,
-0.013578512705862522,
0.0032238157000392675,
0.003907065372914076,
0.04825993627309799,
0.0017513686325401068,
-0.010274696163833141,
0.006672498304396868,
-0.007299531251192093,
-0.024043479934334755,
0.007766562979668379,
0.0353214293718338,
0.0178682841360569,
-0.07112719118595123,
-0.06292818486690521,
0.026153771206736565,
0.02902515046298504,
-0.06545361876487732,
-0.013197967782616615,
0.0020497499499469995,
-0.0055524869821965694,
0.03404141589999199,
0.006045464891940355,
-0.04462746903300285,
-0.017003411427140236,
0.01595691405236721,
0.03981877118349075,
-0.002104885643348098,
0.02752027101814747,
0.001420554588548839,
0.04850209876894951,
0.011528762057423592,
-0.042828530073165894,
0.05638974532485008,
-0.00898603443056345,
0.027952708303928375,
0.013258509337902069,
0.030858682468533516,
-0.012021739967167377,
0.01737530715763569,
0.01446068286895752,
0.0253926832228899,
-0.0037686857394874096,
0.06095627695322037,
-0.05230754241347313,
-0.04760263115167618,
-0.010646591894328594,
0.0712655708193779,
0.036082517355680466,
0.0074379113502800465,
0.005072482395917177
] |
23,242 | cov_core | get_node_desc | Return a description of this node. | @staticmethod
def get_node_desc(platform, version_info):
"""Return a description of this node."""
return 'platform %s, python %s' % (platform, '%s.%s.%s-%s-%s' % version_info[:5])
| (platform, version_info) | [
0.053785987198352814,
-0.04785521328449249,
0.002852480858564377,
-0.001223861356265843,
0.032908979803323746,
-0.03722072020173073,
0.020757710561156273,
0.02600678615272045,
0.025700021535158157,
-0.026449890807271004,
0.03660719469189644,
0.024336624890565872,
0.020996304228901863,
-0.008478621020913124,
0.010532237589359283,
-0.007064097560942173,
0.013582836836576462,
0.01696576364338398,
-0.00020091456826776266,
-0.013173817656934261,
-0.02155870571732521,
0.04240162670612335,
0.016710126772522926,
-0.019871503114700317,
0.0063397930935025215,
0.07894065231084824,
0.04100414738059044,
0.009049543179571629,
-0.02036573365330696,
-0.05845561996102333,
-0.09230193495750427,
-0.0595463365316391,
-0.002313513308763504,
0.031613752245903015,
-0.00012502238678280264,
0.04478757083415985,
-0.003551221452653408,
0.024864941835403442,
-0.13272663950920105,
-0.007519983220845461,
0.025069450959563255,
-0.035107456147670746,
-0.01745147444307804,
-0.07076027244329453,
-0.004639808554202318,
-0.009100670926272869,
0.06240947172045708,
-0.024490008130669594,
-0.0659542977809906,
-0.04478757083415985,
0.028273433446884155,
0.015329687856137753,
0.000786083226557821,
-0.02270055003464222,
-0.08439423888921738,
0.02868245169520378,
0.03824326768517494,
0.02805188111960888,
-0.00007662447751499712,
0.10886720567941666,
-0.0015018663834780455,
0.046150967478752136,
-0.04751436412334442,
0.034579142928123474,
-0.04301515594124794,
0.013011914677917957,
0.011580348014831543,
-0.055319808423519135,
-0.013727697543799877,
0.03483477979898453,
0.06370469927787781,
0.003191199619323015,
-0.004241440910845995,
0.0014677814906463027,
0.07041942328214645,
-0.04185627028346062,
-0.05784209072589874,
-0.016761254519224167,
0.04816197603940964,
-0.030523037537932396,
-0.008632003329694271,
-0.00583278015255928,
0.02188251167535782,
-0.05474036559462547,
0.06540894508361816,
-0.03469843789935112,
0.010412939824163914,
-0.008836513385176659,
-0.011716688051819801,
0.0271997582167387,
-0.051400043070316315,
-0.013608400709927082,
-0.04417404159903526,
0.07710006833076477,
-0.018559234216809273,
-0.030795715749263763,
0.03848186507821083,
-0.035107456147670746,
0.006425005383789539,
0.011265062727034092,
0.03786833584308624,
0.01440939586609602,
-0.07103295624256134,
-0.02288801781833172,
0.001916210982017219,
-0.04229937493801117,
-0.05736490339040756,
0.0654430240392685,
0.006131023168563843,
-0.011239498853683472,
-0.056717291474342346,
-0.01763894036412239,
-0.006275883875787258,
-0.05013890191912651,
0.04468531534075737,
-0.00027374443016014993,
-0.00991870928555727,
-0.00798439048230648,
0.02776215970516205,
-0.030437825247645378,
-0.005232033785432577,
0.02532508783042431,
-0.04352642968297005,
-0.017315134406089783,
-0.024149158969521523,
-0.01662491448223591,
-0.010412939824163914,
0.010378855280578136,
-0.04748028144240379,
-0.044378552585840225,
0.018559234216809273,
-0.0028013535775244236,
-0.0055302768014371395,
0.030625291168689728,
0.04267430678009987,
-0.04679858312010765,
-0.003184808883816004,
0.021234899759292603,
-0.015653494745492935,
0.04257205128669739,
-0.03440871834754944,
-0.0520135723054409,
-0.00015897414414212108,
-0.046150967478752136,
-0.05047975108027458,
-0.01944544166326523,
-0.005027524195611477,
-0.022427869960665703,
0.006787157617509365,
-0.027455395087599754,
0.03912947699427605,
0.005402458366006613,
0.010668576695024967,
0.00032061117235571146,
0.00950969010591507,
-0.008039778098464012,
0.01280740462243557,
-0.09421069175004959,
0.006527260411530733,
0.005837040953338146,
0.002628798596560955,
-0.03906130790710449,
0.02892104536294937,
-0.019240932539105415,
0.010770831257104874,
0.022342657670378685,
0.007034273352473974,
-0.09291546791791916,
0.01663343608379364,
0.005138300359249115,
-0.019581781700253487,
-0.024779729545116425,
-0.04649181663990021,
0.018047960475087166,
0.03728889301419258,
0.03163079544901848,
-0.0025798017159104347,
0.016284065321087837,
0.014946233481168747,
-0.011469571851193905,
-0.04611688479781151,
0.017178794369101524,
-0.03742523118853569,
0.022717593237757683,
0.0019950324203819036,
0.01094125583767891,
0.03991343080997467,
0.012892616912722588,
0.0197862908244133,
-0.004181792493909597,
-0.002671404741704464,
0.022956186905503273,
0.010378855280578136,
0.047821130603551865,
0.03520971164107323,
-0.04042470455169678,
0.028989216312766075,
-0.006246059667319059,
0.0059691197238862514,
0.006399441976100206,
0.049832139164209366,
0.055183470249176025,
-0.011154286563396454,
0.06237538531422615,
0.018030917271971703,
0.02452409267425537,
0.0500025637447834,
0.047957468777894974,
-0.07805444300174713,
0.001199362799525261,
0.0029462145175784826,
0.02166096121072769,
0.019990799948573112,
0.04332192242145538,
0.015500112436711788,
-0.044037703424692154,
-0.06612472236156464,
0.04110640287399292,
-0.06326159089803696,
-0.005687919445335865,
0.02839273028075695,
-0.020058969035744667,
0.08773455768823624,
-0.025682980194687843,
0.015858003869652748,
-0.03803876042366028,
0.020195309072732925,
-0.01777528040111065,
-0.00662951497361064,
-0.03221023827791214,
0.010574843734502792,
-0.02089405059814453,
-0.01509961485862732,
0.05095694214105606,
-0.005862604361027479,
0.00388994044624269,
-0.011009425856173038,
-0.0012419689446687698,
0.03780016675591469,
-0.02829047478735447,
-0.06660191714763641,
-0.01582391932606697,
0.03451097011566162,
0.014170801267027855,
0.05242259055376053,
-0.04741210862994194,
0.005423761438578367,
0.0017724153585731983,
-0.011512177996337414,
-0.03011401742696762,
-0.02155870571732521,
-0.047343939542770386,
0.003272151341661811,
-0.021575748920440674,
0.011060553602874279,
-0.05688771605491638,
-0.03069346211850643,
-0.028324559330940247,
0.037834249436855316,
-0.0102084307000041,
-0.048059724271297455,
-0.0015892089577391744,
-0.0487414225935936,
0.025273960083723068,
-0.006757333409041166,
-0.05105919390916824,
0.012372822500765324,
0.047821130603551865,
-0.06380695104598999,
-0.02060432732105255,
0.08221280574798584,
0.04015202447772026,
-0.07212366908788681,
0.009168840944766998,
-0.01125654112547636,
-0.06271623075008392,
-0.029704999178647995,
-0.011069074273109436,
0.0015316905919462442,
-0.02360380068421364,
0.00758815323933959,
0.0054493248462677,
-0.03909539058804512,
0.04809380695223808,
-0.0022559950593858957,
-0.04690083488821983,
0.0039005919825285673,
0.016002865508198738,
-0.036539021879434586,
0.01256881095468998,
-0.047821130603551865,
0.03786833584308624,
-0.030557122081518173,
0.006403702311217785,
0.01515074260532856,
0.04025427997112274,
0.01715323142707348,
0.09080220013856888,
0.016480054706335068,
-0.02251308225095272,
0.007247304078191519,
0.030574163421988487,
-0.03330095857381821,
-0.038788627833127975,
-0.039879344403743744,
0.027659904211759567,
0.05167272314429283,
-0.007413467857986689,
-0.004916748497635126,
0.008363584987819195,
-0.027540607377886772,
-0.0022730373311787844,
0.07096478343009949,
0.08071306347846985,
-0.028512027114629745,
0.022291531786322594,
-0.028801748529076576,
0.04645773395895958,
0.03483477979898453,
0.04536701366305351,
-0.026739612221717834,
0.021286025643348694,
0.008640524931252003,
0.06390920281410217,
0.01997375674545765,
-0.0668405070900917,
-0.0030591206159442663,
-0.027881456539034843,
0.029909508302807808,
0.05300203338265419,
-0.021780258044600487,
-0.004993439186364412,
0.04137907922267914,
0.024626348167657852,
0.006416484247893095,
0.016454489901661873,
-0.003099596593528986,
-0.018661487847566605,
-0.051979489624500275,
0.005372634157538414,
0.052695270627737045,
-0.008938767947256565,
-0.06373877823352814,
0.022870974615216255,
0.03698212653398514,
-0.018610360100865364,
0.07171464711427689,
-0.010728225111961365,
0.01051519438624382,
0.008035517297685146,
-0.004678153898566961,
0.02251308225095272,
-0.031562626361846924,
-0.00047985161654651165,
0.04264022409915924,
-0.011179850436747074,
-0.028188221156597137,
-0.011776336468756199,
0.021183772012591362,
0.05620601773262024,
-0.011622954159975052,
-0.009688635356724262,
0.06332976371049881,
0.04257205128669739,
-0.0775090828537941,
-0.06302300095558167,
0.013250508345663548,
0.07682738453149796,
0.11609320342540741,
-0.03135811537504196,
-0.019854459911584854,
-0.01563645340502262,
0.016377799212932587,
-0.07082844525575638,
-0.0154830701649189,
-0.025972701609134674,
-0.01835472323000431,
-0.03745931759476662,
-0.06278440356254578,
-0.06888560205698013,
-0.030761631205677986,
0.05579699948430061,
-0.0008212333195842803,
-0.0061054592952132225,
-0.019377270713448524,
0.01682090386748314,
0.016906116157770157,
0.026296507567167282,
-0.011742251925170422,
0.031034311279654503,
-0.038072843104600906,
0.022956186905503273,
-0.02039981819689274,
0.0531383752822876,
-0.03732297569513321,
-0.02829047478735447,
0.007924741134047508,
-0.03485181927680969,
-0.0371866375207901,
-0.046866752207279205,
0.014545734971761703,
-0.027608776465058327,
-0.029551617801189423,
-0.016710126772522926,
-0.0035789154935628176,
-0.001735134981572628,
0.051161449402570724,
0.04386727884411812,
-0.028324559330940247,
0.004224398639053106,
-0.015159263275563717,
-0.061114244163036346,
-0.02704637683928013,
-0.0479915551841259,
0.008269851095974445,
0.011537741869688034,
0.023160696029663086,
0.06162551790475845,
0.03684578835964203,
-0.03019922971725464,
-0.03030148521065712,
-0.02232561632990837,
0.015014402568340302,
0.09257461875677109,
0.03125586360692978,
0.00950969010591507,
0.0031208996661007404,
0.002726792823523283,
0.023501545190811157,
0.002552107675001025,
0.003434054786339402,
0.013301636092364788,
-0.006902194116264582,
-0.043662771582603455,
0.05630827322602272,
-0.07805444300174713,
0.03324982896447182,
-0.04328783601522446,
-0.039027221500873566,
-0.00032061117235571146,
-0.01677829772233963,
0.020808838307857513,
0.056853629648685455,
0.0040411921218037605,
-0.0113076688721776,
0.024745645001530647,
-0.0348006933927536,
-0.05143412947654724,
-0.0030697721522301435,
-0.07205549627542496,
-0.05681954324245453,
0.03722072020173073,
0.011461051180958748,
-0.04400361701846123,
0.02505240961909294,
-0.08855259418487549,
-0.01830359734594822,
0.0021377629600465298,
-0.0024839378893375397,
-0.041890352964401245,
-0.02662031538784504,
0.056717291474342346,
0.012850010767579079,
-0.0027417049277573824,
0.033812232315540314,
-0.03834552317857742,
0.08350802958011627,
-0.023211823776364326,
-0.03217615559697151,
-0.012304652482271194,
0.03752748668193817,
-0.006041550077497959,
0.013378326781094074,
0.013540230691432953,
0.005798695143312216,
-0.001244099228642881,
-0.04137907922267914,
-0.021234899759292603,
-0.0846669152379036,
-0.049593545496463776,
-0.05859196186065674,
-0.01954769529402256,
0.04979805275797844,
0.021183772012591362,
-0.02924485318362713,
-0.03197164461016655,
0.012466555461287498,
-0.020195309072732925,
-0.010353291407227516,
-0.03769791126251221,
-0.02188251167535782,
0.04178810119628906,
-0.009901666082441807,
-0.025938617065548897,
0.04720760136842728,
-0.002445592312142253,
-0.0023816830944269896,
0.024251412600278854,
-0.04192443937063217,
-0.00848288182169199,
-0.022257445380091667,
-0.011205414310097694,
0.044855739921331406,
-0.05228625237941742,
0.04584420472383499,
-0.021337153390049934,
0.03059120662510395,
0.029551617801189423,
0.043424174189567566,
0.02675665356218815,
0.02360380068421364,
-0.031085437163710594,
0.03929990157485008,
0.003649215679615736,
-0.004465123172849417,
0.04182218387722969,
-0.0419585257768631,
0.07191915810108185,
0.048536911606788635,
0.03544830530881882,
0.011554784141480923,
-0.0033467120956629515,
0.0646931603550911,
-0.06994223594665527,
0.025597767904400826,
-0.004313871264457703,
-0.04898001626133919,
0.011069074273109436,
-0.040458787232637405,
0.12366005033254623,
-0.02442183718085289,
-0.017468515783548355,
-0.0013282463187351823,
0.010387375950813293,
0.0022304311860352755,
0.05583108216524124,
-0.02166096121072769,
0.05047975108027458,
0.008022735826671124,
-0.006978885270655155,
0.0571603924036026,
-0.07614568620920181,
-0.01687202975153923,
-0.03365884721279144,
-0.049729883670806885,
0.009023980237543583,
0.040356531739234924,
0.010438503697514534,
0.022001808509230614,
-0.03810692951083183,
0.013753261417150497,
0.009569338522851467,
-0.00874277949333191,
-0.009211447089910507,
0.018627403303980827,
0.058182939887046814,
-0.025359172374010086,
-0.05773983895778656,
0.025580724701285362,
0.0011013686889782548,
-0.021763214841485023,
-0.018865996971726418,
0.01864444650709629,
0.03551647812128067,
0.01625850237905979,
0.041276827454566956,
-0.07423693686723709,
-0.008436014875769615,
0.0019556216429919004,
-0.02055320143699646,
0.0331646166741848,
0.00009912584209814668,
0.09993695467710495,
-0.004092319402843714,
-0.0644545629620552,
-0.007686147000640631,
0.02929598093032837,
0.04713943228125572,
0.06036437675356865,
-0.018371766433119774,
-0.05395641177892685,
0.022785762324929237,
0.019326144829392433,
-0.012014931067824364,
0.008005693554878235,
0.006710466463118792,
0.014937711879611015,
-0.008363584987819195,
0.037731993943452835,
0.004473644308745861,
-0.03215911239385605,
-0.045571524649858475,
0.03168192505836487,
0.012415428645908833,
-0.018576275557279587,
-0.04277656227350235,
-0.003549091285094619,
-0.002601104788482189,
0.014145237393677235,
0.00016350105579476804,
-0.009603423066437244,
0.024336624890565872,
0.05228625237941742,
0.0080568203702569,
0.03151150047779083,
0.003280672477558255,
-0.027182715013623238,
-0.06513626128435135,
-0.04891184717416763,
0.03382927179336548,
0.0091091925278306,
0.013685091398656368,
-0.029551617801189423,
-0.008913204073905945,
0.03960666432976723,
0.023211823776364326,
0.03082980029284954,
-0.021303068846464157,
0.034579142928123474,
-0.056853629648685455,
0.0004569508309941739,
0.08119025826454163,
-0.006676381919533014,
-0.016335193067789078,
-0.05893281102180481,
0.041754014790058136,
-0.03270447254180908,
-0.06302300095558167,
-0.022359700873494148,
-0.03834552317857742,
0.04768478870391846,
-0.02997767925262451,
0.016573786735534668,
-0.02489902637898922,
-0.047003090381622314,
-0.031716007739305496,
0.02905738539993763,
-0.03197164461016655,
-0.022138148546218872,
0.03456209972500801,
0.01092421356588602,
0.02977316826581955,
-0.06776080280542374,
-0.05191131681203842,
-0.023262951523065567,
0.03326687216758728,
-0.016607873141765594,
-0.027591735124588013,
0.006199193187057972,
-0.007132267579436302,
-0.026927078142762184,
0.022666465491056442,
0.01170816645026207,
0.05883055552840233,
0.06530668586492538,
-0.014903627336025238,
-0.051979489624500275,
0.026109041646122932,
-0.020638413727283478,
-0.021303068846464157,
-0.01573018543422222,
-0.03527788072824478,
0.05668320506811142,
0.0071663521230220795,
0.019087549299001694,
-0.012176834046840668,
0.04144725203514099,
-0.017033934593200684,
0.01256881095468998,
-0.013361284509301186,
0.07300987839698792,
0.003091075224801898,
0.054604027420282364,
-0.01434122584760189,
-0.015108136460185051,
-0.017553728073835373,
-0.004115752875804901,
0.06779488921165466,
-0.004584420472383499,
0.01801387406885624,
0.10470884293317795,
-0.009245531633496284,
-0.04601462930440903,
-0.021047431975603104,
0.009194404818117619,
0.02089405059814453,
0.015167784877121449,
0.05739898979663849,
-0.004609983880072832,
-0.04846874251961708,
-0.052695270627737045,
-0.026978205889463425,
0.013480582274496555,
0.05913731828331947,
0.00040023139445111156,
-0.008632003329694271,
0.02384239435195923,
-0.013915164396166801,
0.05300203338265419,
-0.02160983346402645,
0.056615035980939865,
0.010983861982822418,
-0.027693988755345345,
0.017468515783548355,
0.0004431038396432996,
0.0012803144054487348,
-0.011461051180958748,
-0.04339009150862694,
-0.020723626017570496,
-0.003644955111667514,
0.028546111658215523,
0.03875454142689705,
0.026177210733294487,
-0.06912419945001602,
0.03088092803955078,
-0.012585853226482868,
-0.024779729545116425,
0.02839273028075695,
-0.010881607420742512,
0.006812721490859985,
-0.03101726807653904,
0.0064931754022836685,
0.10320910811424255,
0.009543774649500847,
0.009296659380197525,
0.06656783074140549,
-0.034050825983285904,
-0.03120473586022854,
0.02609199844300747,
0.04073146730661392,
-0.02590453252196312,
-0.016803860664367676,
-0.03745931759476662,
-0.03493703156709671,
0.027302013710141182,
0.010932735167443752,
0.023774225264787674,
-0.004058234393596649,
0.019053464755415916,
0.013991856016218662,
0.0038579858373850584,
0.06009169667959213,
-0.036402683705091476,
0.015517155639827251,
0.04693492129445076,
0.002400855766609311,
-0.010233994573354721,
0.021967723965644836,
-0.0014411526499316096,
0.003031426575034857,
0.06322750449180603,
-0.010873086750507355,
-0.053990498185157776,
-0.02609199844300747,
0.030574163421988487,
-0.0848032534122467,
0.05184314772486687,
0.017604855820536613,
0.01811612956225872,
-0.011588869616389275,
0.021763214841485023,
0.008474361151456833,
-0.007784141227602959,
0.011486615054309368,
0.015781313180923462,
-0.007336776703596115,
-0.032244324684143066,
-0.00413279514759779
] |
23,243 | cov_core | sep | null | @staticmethod
def sep(stream, s, txt):
if hasattr(stream, 'sep'):
stream.sep(s, txt)
else:
sep_total = max((70 - 2 - len(txt)), 2)
sep_len = sep_total // 2
sep_extra = sep_total % 2
out = '%s %s %s\n' % (s * sep_len, txt, s * (sep_len + sep_extra))
stream.write(out)
| (stream, s, txt) | [
-0.05117416754364967,
-0.029080143198370934,
-0.024657895788550377,
0.04546138271689415,
-0.007885192520916462,
-0.02116483822464943,
-0.013481829315423965,
0.04105634242296219,
0.028185369446873665,
0.05874532833695412,
0.04453219473361969,
-0.01837727427482605,
0.030594374984502792,
0.012793541885912418,
0.010410347022116184,
0.0367545485496521,
0.052757229655981064,
0.006663482636213303,
0.005884857382625341,
0.06449253112077713,
0.012174083851277828,
0.0028714491054415703,
0.0040974607691168785,
-0.06256532669067383,
0.02042492851614952,
0.06531847268342972,
-0.03740841895341873,
0.011761111207306385,
-0.03179887682199478,
0.004546998534351587,
0.018325652927160263,
-0.05227542668581009,
-0.02371150068938732,
0.002256292151287198,
0.02630978636443615,
0.04976318031549454,
-0.011382552795112133,
0.012380569241940975,
0.02336735650897026,
0.03988625481724739,
0.007743233349174261,
0.02231771871447563,
0.013223721645772457,
-0.04993525147438049,
-0.049074891954660416,
0.011709489859640598,
0.049040477722883224,
0.02166384644806385,
0.016381239518523216,
-0.02023565024137497,
0.0010335065890103579,
0.02417609468102455,
0.010917958803474903,
-0.04353417828679085,
0.007652895525097847,
-0.023006007075309753,
0.055579207837581635,
-0.008939133025705814,
-0.00004116953641641885,
-0.01872141659259796,
0.02231771871447563,
0.01177831832319498,
0.08961501717567444,
0.06046604737639427,
0.009610213339328766,
0.002854241756722331,
-0.019598983228206635,
-0.04387832060456276,
-0.013421604409813881,
0.020029162988066673,
0.043190035969018936,
0.026206543669104576,
-0.03152356296777725,
0.03995508328080177,
-0.019048353657126427,
0.031076176092028618,
-0.05970893055200577,
0.00767870619893074,
0.03312383219599724,
-0.055888935923576355,
0.0272733885794878,
-0.023418979719281197,
0.02550104819238186,
0.05358317494392395,
0.07461035251617432,
-0.06597235053777695,
-0.004355568904429674,
-0.025294562801718712,
0.002566021401435137,
0.04398156702518463,
-0.0325043722987175,
-0.030009331181645393,
0.011494399979710579,
-0.02983725816011429,
-0.04508282616734505,
-0.017430879175662994,
0.01949574053287506,
0.0059967041015625,
-0.050004079937934875,
-0.022799519822001457,
-0.02789284661412239,
0.06084460765123367,
-0.015624124556779861,
-0.04821453243494034,
0.000004074943717569113,
-0.09085393697023392,
0.019908713176846504,
0.010797508992254734,
-0.020958350971341133,
-0.010160842910408974,
0.03166121989488602,
-0.000813577207736671,
-0.008504651486873627,
-0.019943127408623695,
0.032091401517391205,
-0.02324690669775009,
0.01977105624973774,
0.008229336701333523,
0.007394787855446339,
-0.07192603498697281,
-0.015185341238975525,
0.00525249307975173,
-0.02797888219356537,
0.03541238605976105,
-0.006960306316614151,
-0.04539255425333977,
0.02507086843252182,
0.007661499083042145,
0.08534763753414154,
0.010608229786157608,
-0.020906729623675346,
0.04432570934295654,
0.028340233489871025,
-0.08259449154138565,
0.008457331918179989,
0.04232967644929886,
-0.04707885906100273,
0.06738333404064178,
-0.025432219728827477,
-0.0047276741825044155,
0.003428531577810645,
-0.07688170671463013,
-0.04993525147438049,
0.031007347628474236,
-0.010780301876366138,
0.03579094633460045,
0.04398156702518463,
-0.03937004134058952,
0.08039196580648422,
0.06607559323310852,
0.0020272214896976948,
0.06297829747200012,
-0.015288583934307098,
0.03737400472164154,
0.03737400472164154,
-0.019048353657126427,
0.010109221562743187,
-0.033141039311885834,
0.0398518405854702,
0.013197910971939564,
0.028116540983319283,
-0.018945110961794853,
-0.013283946551382542,
0.03229788690805435,
-0.03470689058303833,
0.07860241830348969,
0.009687645360827446,
0.01616615056991577,
0.05568245053291321,
-0.02538059838116169,
0.07137540727853775,
0.007756138686090708,
-0.010548004880547523,
0.01185575034469366,
0.01903114654123783,
-0.001236766460351646,
-0.048145703971385956,
0.03064599633216858,
0.019857091829180717,
-0.06232442334294319,
0.011201877146959305,
0.00398561405017972,
-0.0031983854714781046,
-0.017456689849495888,
0.008754155598580837,
-0.0021154084242880344,
0.022455377504229546,
-0.04522048309445381,
0.0004070574650540948,
-0.02956194430589676,
-0.016123132780194283,
-0.024537445977330208,
-0.027015279978513718,
0.008939133025705814,
-0.0014970251359045506,
-0.034225091338157654,
0.05241308733820915,
-0.0005839688237756491,
0.009868321008980274,
-0.0032521579414606094,
-0.03401860594749451,
0.05451236292719841,
-0.008982150815427303,
-0.043775077909231186,
0.05874532833695412,
0.06573145091533661,
0.0294070802628994,
0.02851230651140213,
-0.13979117572307587,
0.02054537832736969,
0.00037506286753341556,
-0.02371150068938732,
0.060534875839948654,
0.011915975250303745,
0.04009274020791054,
0.00798843614757061,
-0.012088047340512276,
0.030886897817254066,
0.03322707489132881,
0.006138663273304701,
0.035963017493486404,
-0.0010496382601559162,
0.0013711975188925862,
0.06628207862377167,
0.017594346776604652,
0.0013787257485091686,
-0.018015922978520393,
-0.025208525359630585,
0.02519131824374199,
-0.014746557921171188,
0.015641331672668457,
0.041297245770692825,
-0.039060309529304504,
0.05365200340747833,
-0.0139292161911726,
-0.053720831871032715,
0.00013779191067442298,
-0.08582943677902222,
-0.04821453243494034,
-0.015598312951624393,
-0.03727076202630997,
-0.019788263365626335,
0.007192603312432766,
-0.03888823837041855,
0.012948406860232353,
-0.01601128652691841,
0.001385178416967392,
0.012544037774205208,
0.02004637010395527,
0.04263940453529358,
0.01589943841099739,
0.03400139883160591,
-0.03823436424136162,
-0.0172157883644104,
0.007480823900550604,
0.03902589529752731,
-0.026447443291544914,
0.021732674911618233,
0.0063451495952904224,
0.021422944962978363,
-0.020476549863815308,
-0.0160543043166399,
-0.03018140234053135,
-0.04573669657111168,
0.05888298898935318,
-0.00348230404779315,
-0.0499008372426033,
-0.02983725816011429,
-0.002464929362758994,
-0.003508114954456687,
0.0009480083826929331,
0.04769831895828247,
-0.04821453243494034,
-0.022765105590224266,
-0.06728009134531021,
0.00982530228793621,
-0.06910405308008194,
-0.00485672801733017,
0.05138065293431282,
-0.03167842701077461,
0.04167580232024193,
0.011425570584833622,
-0.04356859251856804,
-0.01067705824971199,
0.04105634242296219,
0.014471243135631084,
0.023229699581861496,
-0.03981742635369301,
0.013378586620092392,
-0.04232967644929886,
-0.010014581494033337,
0.017826644703745842,
-0.00012401271669659764,
0.023074835538864136,
0.007059247698634863,
0.0033769099973142147,
0.00009947903890861198,
-0.04735417291522026,
0.0058805556036531925,
-0.07536747306585312,
-0.014471243135631084,
-0.03229788690805435,
0.01946132630109787,
0.02228330448269844,
-0.007149585522711277,
-0.01637263596057892,
-0.015968266874551773,
0.014978854916989803,
0.030852483585476875,
-0.02987167425453663,
-0.07860241830348969,
-0.033020589500665665,
0.019908713176846504,
-0.018446102738380432,
0.014161513186991215,
0.0464249849319458,
-0.06700477749109268,
0.04456660896539688,
-0.02541501261293888,
0.030611582100391388,
0.011442777700722218,
-0.04112517088651657,
-0.012741920538246632,
0.03458644077181816,
0.012621470727026463,
-0.031626805663108826,
-0.009300483390688896,
0.022799519822001457,
-0.007188301533460617,
0.06913846731185913,
-0.05323903262615204,
0.00785508006811142,
-0.012759127654135227,
0.0557168647646904,
-0.006852761376649141,
0.006375262048095465,
0.015434845350682735,
-0.04205435886979103,
0.013791559264063835,
-0.008659515529870987,
0.025277355685830116,
-0.05265398696064949,
-0.005071817897260189,
-0.012913992628455162,
-0.0056482586078345776,
0.01896231807768345,
-0.010487779043614864,
0.021526189520955086,
0.043740663677453995,
0.07695053517818451,
0.0808737725019455,
-0.010960976593196392,
0.05076119676232338,
-0.05313578620553017,
0.018979525193572044,
0.028529513627290726,
-0.04670029878616333,
-0.012621470727026463,
0.0006899005966261029,
-0.02692924439907074,
0.09436420351266861,
0.0429491326212883,
0.07674404233694077,
0.035188693553209305,
0.004291041754186153,
-0.004170591477304697,
-0.04353417828679085,
0.035997431725263596,
-0.03370887413620949,
0.05513182282447815,
-0.011348138563334942,
-0.02522573247551918,
0.03988625481724739,
-0.04587435722351074,
0.0010093089658766985,
0.07653755694627762,
0.0028865053318440914,
-0.003077935194596648,
0.006319338921457529,
-0.05489091947674751,
-0.04105634242296219,
0.03257320076227188,
0.03233230113983154,
0.015615520067512989,
0.00588915916159749,
0.0026004358660429716,
-0.008736948482692242,
0.008216431364417076,
-0.009868321008980274,
0.014918629080057144,
-0.010143635794520378,
0.046872373670339584,
0.030542753636837006,
-0.0414004884660244,
-0.04769831895828247,
-0.03575653210282326,
-0.014634710736572742,
-0.026326993480324745,
0.04983200877904892,
0.06218676641583443,
0.008930529467761517,
0.0025853796396404505,
-0.0019089221023023129,
0.04009274020791054,
0.004297494422644377,
0.011881561018526554,
-0.016570519655942917,
-0.02963077276945114,
0.01439381018280983,
0.02309204265475273,
0.009403727017343044,
-0.02882203459739685,
0.03861292451620102,
0.019598983228206635,
0.06838135421276093,
-0.006788234692066908,
-0.04384390637278557,
-0.004843822680413723,
-0.015426241792738438,
0.02023565024137497,
-0.021216459572315216,
-0.026567893102765083,
0.016510294750332832,
0.07261431962251663,
0.020872315391898155,
-0.04701003059744835,
-0.043430935591459274,
-0.02541501261293888,
0.03002653829753399,
-0.013542055152356625,
0.0014185173204168677,
-0.0456678681075573,
-0.03548121452331543,
0.012870974838733673,
0.04356859251856804,
0.005708483513444662,
0.033209867775440216,
0.007377580739557743,
0.04508282616734505,
-0.003979161381721497,
0.05055471137166023,
0.009025168605148792,
-0.017688985913991928,
-0.020063577219843864,
0.0456678681075573,
-0.028133748099207878,
0.032796893268823624,
0.03188491240143776,
0.013843180611729622,
0.025587083771824837,
0.011614849790930748,
0.0234017726033926,
-0.055923350155353546,
-0.003047822741791606,
0.03155797719955444,
-0.05981217697262764,
0.16780446469783783,
-0.05113975331187248,
-0.0011894466588273644,
0.04890282079577446,
0.022730691358447075,
0.07240783423185349,
-0.01410128828138113,
-0.005686974618583918,
-0.038475267589092255,
-0.021422944962978363,
-0.0002261131739942357,
0.0022240285761654377,
-0.004663147032260895,
-0.011003995314240456,
-0.010444761253893375,
0.035997431725263596,
-0.03555004298686981,
0.022300511598587036,
0.03357121720910072,
0.0038845220115035772,
0.025328977033495903,
0.021061593666672707,
-0.03995508328080177,
0.040953099727630615,
-0.066522978246212,
-0.050967682152986526,
-0.054030559957027435,
-0.027944467961788177,
-0.03548121452331543,
0.000522937101777643,
0.02630978636443615,
0.0004030245472677052,
0.05117416754364967,
-0.00020635178952943534,
0.11012598127126694,
0.020837901160120964,
-0.039748597890138626,
-0.041572559624910355,
0.018274029716849327,
0.010582419112324715,
-0.023126456886529922,
0.009644627571105957,
-0.03412184864282608,
-0.041916701942682266,
-0.011709489859640598,
-0.010341518558561802,
-0.036272745579481125,
-0.04962552338838577,
0.005777312442660332,
-0.0006538730231113732,
-0.001727171242237091,
-0.011933183297514915,
-0.02367708645761013,
-0.019220426678657532,
0.010281292721629143,
-0.025707535445690155,
-0.07027414441108704,
0.02901131473481655,
-0.03575653210282326,
-0.041297245770692825,
-0.06514640152454376,
-0.024623481556773186,
-0.01613173633813858,
0.015477863140404224,
0.026826001703739166,
-0.0019261293346062303,
-0.0456678681075573,
-0.005192268174141645,
-0.03400139883160591,
-0.027944467961788177,
-0.029699601233005524,
0.02035610005259514,
0.004288890864700079,
-0.0013486131792888045,
-0.04195111617445946,
0.006891477853059769,
-0.02231771871447563,
-0.019977541640400887,
0.01958177611231804,
0.045977599918842316,
-0.024055644869804382,
0.021336909383535385,
0.054684434086084366,
0.018274029716849327,
-0.011520210653543472,
-0.017164167016744614,
-0.04301796108484268,
-0.05131182447075844,
-0.045943185687065125,
0.03391536325216293,
0.008728344924747944,
-0.03806229308247566,
0.08348926156759262,
0.007734629791229963,
-0.036238331347703934,
-0.0034392860252410173,
0.014385206624865532,
0.008810078725218773,
0.030387889593839645,
-0.0007651820196770132,
-0.06745216250419617,
-0.020803486928343773,
-0.041297245770692825,
0.016725383698940277,
0.02352222241461277,
0.04119399935007095,
0.014746557921171188,
-0.02011519856750965,
-0.002325120847672224,
-0.018136372789740562,
-0.02739383839070797,
-0.019444119185209274,
-0.005377245135605335,
-0.004861029796302319,
0.03871616721153259,
0.028185369446873665,
-0.00823794025927782,
0.0056482586078345776,
-0.01489281840622425,
-0.0321086086332798,
0.007734629791229963,
0.04291471838951111,
-0.006947400979697704,
0.019667811691761017,
-0.05551037937402725,
0.043740663677453995,
-0.014041063375771046,
-0.017207184806466103,
-0.011262102983891964,
-0.03191932663321495,
-0.05551037937402725,
-0.03527472913265228,
0.010694265365600586,
0.04945344850420952,
0.004929858725517988,
0.000046580389607697725,
0.022386547178030014,
-0.04893723502755165,
0.01949574053287506,
-0.0456678681075573,
0.009722059592604637,
0.009300483390688896,
-0.035343557596206665,
-0.013739936985075474,
-0.0533766895532608,
0.029217800125479698,
-0.032401129603385925,
0.06046604737639427,
0.06173938140273094,
0.008999357931315899,
-0.05265398696064949,
0.010444761253893375,
-0.04153814539313316,
0.014600296504795551,
-0.03778697922825813,
0.0742662101984024,
-0.0011690130922943354,
-0.03164401277899742,
0.005162155721336603,
0.045358140021562576,
0.013447415083646774,
-0.06679829210042953,
0.04398156702518463,
-0.04325886443257332,
-0.010281292721629143,
0.0193408764898777,
-0.04673471301794052,
0.021560603752732277,
-0.050657954066991806,
0.023969609290361404,
-0.04429129511117935,
-0.07825827598571777,
0.004925556946545839,
-0.16050861775875092,
-0.0676930695772171,
0.027996089309453964,
0.024589067324995995,
-0.0029918993823230267,
-0.08225034177303314,
0.014720747247338295,
-0.08755015581846237,
-0.007558255922049284,
-0.03510265797376633,
0.0026542083360254765,
0.027806811034679413,
-0.029854465276002884,
-0.06714243441820145,
-0.06528405845165253,
-0.012733316980302334,
-0.046906787902116776,
-0.022420961409807205,
0.022266097366809845,
-0.01706092432141304,
-0.0284434761852026,
-0.013421604409813881,
0.03138590604066849,
0.013034442439675331,
-0.011365345679223537,
0.026481857523322105,
-0.03926679491996765,
0.10503266006708145,
0.01884186826646328,
0.07089360058307648,
-0.007644291967153549,
0.04071220010519028,
-0.04353417828679085,
0.07288963347673416,
0.017396464943885803,
0.04260499030351639,
0.0025402107276022434,
-0.029183385893702507,
0.005441772285848856,
0.027531495317816734,
-0.03954211249947548,
0.02959635853767395,
0.041916701942682266,
-0.03377770259976387,
-0.019788263365626335,
-0.01911718212068081,
-0.06311595439910889,
0.05313578620553017,
-0.04074661433696747,
0.01794709451496601,
0.011296517215669155,
0.005988100543618202,
-0.012475209310650826,
0.01503047626465559,
-0.08445286750793457,
-0.011176066473126411,
0.012509623542428017,
-0.002290706615895033,
0.006319338921457529,
-0.008083075284957886,
-0.04208877310156822,
-0.00839710608124733,
-0.0016120981890708208,
-0.017671778798103333,
0.04263940453529358,
-0.03099014051258564,
0.03037068247795105,
0.02104438655078411,
-0.07364675402641296,
0.022661862894892693,
0.018153579905629158,
-0.014333585277199745,
-0.0036328670103102922,
0.007317355368286371,
-0.033209867775440216,
-0.03362283855676651,
-0.02507086843252182,
0.0019895806908607483,
-0.04511724039912224,
0.03384653478860855,
0.008668119087815285,
-0.05471884831786156,
0.0785335898399353,
-0.01752551831305027,
0.006237604655325413,
0.03281410038471222,
0.009980167262256145,
0.03068041056394577,
-0.027806811034679413,
-0.010926562361419201,
0.05141507089138031,
-0.004125422798097134,
0.007936813868582249,
0.0212852880358696,
-0.010375932790338993,
-0.08383340388536453,
-0.02944149449467659,
-0.07178837805986404,
0.05860767140984535,
0.009309086948633194,
-0.029200593009591103,
-0.03651364520192146,
0.03885382413864136,
-0.02890807017683983,
0.04456660896539688,
-0.01996033452451229,
0.00778625113889575,
-0.02556987665593624,
-0.022197268903255463,
0.021801503375172615,
-0.0172157883644104,
-0.004908349364995956,
-0.009593005292117596,
0.02247258462011814,
-0.026447443291544914,
0.002583228750154376,
0.0048653315752744675,
0.08686187118291855,
0.02410726621747017,
-0.04380949214100838,
0.06297829747200012,
0.040677785873413086,
0.001692756894044578,
-0.02255862019956112,
0.006895779632031918,
0.024898797273635864,
-0.02894248627126217,
0.009403727017343044,
-0.012019218876957893,
-0.03888823837041855,
0.025518255308270454,
-0.03837202116847038,
0.033760495483875275,
0.04800804704427719,
0.032900139689445496,
0.0673489198088646,
0.044119223952293396,
-0.001494874246418476,
0.01520254835486412
] |
23,244 | cov_core | set_env | Put info about coverage into the env so that subprocesses can activate coverage. | def set_env(self):
"""Put info about coverage into the env so that subprocesses can activate coverage."""
if self.cov_source is None:
os.environ['COV_CORE_SOURCE'] = ''
else:
os.environ['COV_CORE_SOURCE'] = UNIQUE_SEP.join(self.cov_source)
os.environ['COV_CORE_DATA_FILE'] = self.cov_data_file
os.environ['COV_CORE_CONFIG'] = self.cov_config
| (self) | [
-0.05387295410037041,
-0.009966148063540459,
0.006355161778628826,
0.011516825295984745,
-0.0013677319511771202,
-0.061295296996831894,
-0.05153822898864746,
0.01649118773639202,
-0.001609480706974864,
0.010323327034711838,
-0.016647998243570328,
-0.013903822749853134,
0.01878235675394535,
0.04376742243766785,
-0.00627675699070096,
-0.009635104797780514,
0.02217990718781948,
-0.00845031812787056,
0.06829947978258133,
0.0014755388256162405,
0.0029292984399944544,
-0.02468886785209179,
-0.0453006736934185,
-0.05617283657193184,
-0.033348266035318375,
0.036275386810302734,
-0.0008129075285978615,
-0.026588011533021927,
0.08586220443248749,
-0.04230386018753052,
-0.03408004716038704,
-0.0312051959335804,
-0.08927717804908752,
-0.012056948617100716,
0.09101951122283936,
-0.010907008312642574,
-0.011098665185272694,
-0.04564914107322693,
-0.02407905086874962,
0.03029918111860752,
-0.045614294707775116,
0.003584851510822773,
0.01458333246409893,
0.032599061727523804,
-0.015193149447441101,
0.006860438734292984,
0.008297864347696304,
-0.006128658540546894,
0.06701014935970306,
-0.006816880311816931,
0.019183093681931496,
-0.011011548340320587,
0.03930704668164253,
0.008376268669962883,
0.03805256634950638,
0.00022378098219633102,
0.056765228509902954,
-0.00016198257799260318,
-0.023573774844408035,
0.01963610015809536,
0.003785219741985202,
0.01635180041193962,
0.006115591153502464,
-0.013433392159640789,
0.01897401362657547,
-0.0066034444607794285,
-0.03857526555657387,
0.05153822898864746,
0.05976204201579094,
-0.022145060822367668,
0.008763938210904598,
-0.026831937953829765,
-0.05983173847198486,
-0.039481278508901596,
0.04017821326851845,
0.0004187045560684055,
-0.1483074426651001,
0.034620169550180435,
0.013616337440907955,
-0.015045050531625748,
-0.018067998811602592,
0.024183589965105057,
-0.0026679483707994223,
-0.018608123064041138,
0.029724212363362312,
0.02629181370139122,
-0.013468238525092602,
0.02005426026880741,
0.11617880314588547,
0.026605434715747833,
0.03333084285259247,
0.08321385085582733,
-0.002421843819320202,
0.042791713029146194,
0.053176023066043854,
0.018538430333137512,
0.020977696403861046,
0.03143169730901718,
-0.02813868783414364,
0.0237480066716671,
-0.04422042891383171,
0.01571584865450859,
0.030525684356689453,
-0.020507266744971275,
-0.04808840900659561,
-0.006045897491276264,
0.07011150568723679,
0.01397351548075676,
0.039063118398189545,
0.007566083688288927,
-0.08112305402755737,
-0.014957934617996216,
-0.008332710713148117,
-0.09708283096551895,
-0.0070041813887655735,
-0.037355631589889526,
-0.0013426858931779861,
-0.012832286767661572,
-0.004427705425769091,
0.027023594826459885,
-0.008376268669962883,
0.03888888657093048,
0.024985063821077347,
0.05760154873132706,
0.005192154087126255,
-0.0023521503899246454,
0.0019209227757528424,
0.06446634232997894,
0.030856728553771973,
-0.028382614254951477,
0.04355834051966667,
-0.07000696659088135,
-0.009007864631712437,
-0.0320415161550045,
0.049447428435087204,
0.008136698044836521,
-0.026135005056858063,
0.014435234479606152,
0.011246763169765472,
-0.019339904189109802,
-0.007095653563737869,
-0.04397650063037872,
-0.025995617732405663,
-0.05380326136946678,
0.024375246837735176,
0.06871763616800308,
-0.006838659290224314,
-0.03057795576751232,
-0.045021902769804,
-0.013346275314688683,
0.07115690410137177,
-0.013668606989085674,
-0.07735961675643921,
-0.07101751863956451,
-0.01314590685069561,
-0.009835473261773586,
-0.02052468992769718,
0.011246763169765472,
0.038296494632959366,
0.08851055055856705,
-0.034045200794935226,
0.00808007176965475,
-0.012431550770998001,
-0.009565412066876888,
0.01977548748254776,
0.013372411020100117,
-0.03826164826750755,
-0.0007018337491899729,
-0.01099412515759468,
-0.03380127251148224,
-0.03143169730901718,
-0.07589605450630188,
0.0009169030818156898,
0.020803462713956833,
0.04728693515062332,
-0.003671968122944236,
-0.012588360346853733,
-0.00004536192864179611,
-0.06206192448735237,
0.006612156052142382,
-0.01789376698434353,
0.0010339660802856088,
-0.01665670983493328,
0.04850656911730766,
0.03198924660682678,
0.014339406043291092,
0.04035244509577751,
-0.030090101063251495,
0.04010852053761482,
0.014200018718838692,
0.04739147424697876,
0.010889585129916668,
-0.020925426855683327,
-0.0263789314776659,
0.05760154873132706,
-0.015532904304564,
0.022720031440258026,
-0.06349063664674759,
-0.04185085371136665,
0.010497559793293476,
-0.04296594858169556,
0.04582337290048599,
0.025751691311597824,
-0.02198825031518936,
0.04394165426492691,
0.030787035822868347,
-0.03212863206863403,
0.012518666684627533,
0.00010644569556461647,
0.07045996934175491,
-0.0034498206805437803,
-0.06331640481948853,
0.027441754937171936,
0.0020831776782870293,
0.021221622824668884,
0.02643120102584362,
0.011055107228457928,
0.020507266744971275,
-0.0006217953050509095,
0.054256267845630646,
0.0013775324914604425,
-0.049168653786182404,
0.0100097069516778,
-0.03460274636745453,
-0.004987429827451706,
-0.006686205510050058,
-0.018468735739588737,
-0.021465551108121872,
-0.011394862085580826,
-0.04850656911730766,
-0.019949719309806824,
0.016499899327754974,
-0.04045698791742325,
-0.024671444669365883,
-0.058542411774396896,
-0.04627637937664986,
0.028016725555062294,
0.09624651074409485,
-0.06477996706962585,
-0.055441055446863174,
-0.0375647135078907,
0.008955595083534718,
0.05244424194097519,
0.012187623418867588,
-0.008306575939059258,
-0.0444643534719944,
0.011360015720129013,
0.021935980767011642,
0.043070487678050995,
0.04871564731001854,
0.06244523823261261,
-0.03780863806605339,
-0.0751294270157814,
-0.02657058835029602,
-0.02275487780570984,
0.01321560051292181,
0.035090599209070206,
0.01812027022242546,
0.016134008765220642,
-0.03015979565680027,
-0.012658054009079933,
0.015837812796235085,
0.009103693068027496,
-0.026187274605035782,
-0.0021321808453649282,
0.06676622480154037,
0.04537036642432213,
-0.05028374865651131,
-0.05568498373031616,
-0.016813520342111588,
-0.017022600397467613,
0.062375545501708984,
-0.00771853793412447,
0.00010624151764204726,
-0.033069491386413574,
0.0013154619373381138,
-0.05680007487535477,
-0.02336469478905201,
-0.03238998353481293,
0.048645954579114914,
0.0823078379034996,
0.017963459715247154,
0.021169353276491165,
0.014278423972427845,
-0.006028474308550358,
-0.07282954454421997,
-0.025664573535323143,
-0.019427020102739334,
-0.013041366823017597,
0.005771480035036802,
-0.07164476066827774,
0.07854440063238144,
-0.0008276084554381669,
-0.015532904304564,
0.02855684794485569,
-0.02974163554608822,
-0.01921794004738331,
0.015593886375427246,
0.012658054009079933,
0.025664573535323143,
-0.015079897828400135,
0.01944444328546524,
-0.05742731690406799,
0.023486657068133354,
-0.010933143086731434,
0.06561628729104996,
0.04045698791742325,
-0.04303564131259918,
-0.026640281081199646,
-0.003269053529947996,
0.021413279697299004,
0.04976104944944382,
0.02454948052763939,
0.04449919983744621,
0.001447225920855999,
-0.023904817178845406,
-0.01651732251048088,
-0.0002839459339156747,
0.010941855609416962,
0.01340725738555193,
-0.025995617732405663,
-0.05603345111012459,
0.04526582732796669,
-0.019740639254450798,
0.08070489019155502,
0.054778970777988434,
0.05516228452324867,
0.03857526555657387,
-0.04233870655298233,
0.03463759273290634,
-0.04244324564933777,
0.01177817489951849,
0.031170349568128586,
0.04617184028029442,
0.0872560665011406,
0.018207386136054993,
-0.043349262326955795,
-0.04885503649711609,
0.006843015551567078,
-0.0037002810277044773,
-0.036135997623205185,
0.011055107228457928,
-0.0417114682495594,
-0.001511474372819066,
0.009321484714746475,
-0.04463858902454376,
0.006189640145748854,
-0.029793905094265938,
-0.004000833723694086,
-0.05481381714344025,
-0.04470828175544739,
0.06342094391584396,
0.03493379056453705,
0.037878334522247314,
-0.002672304166480899,
0.003460710169747472,
-0.01397351548075676,
-0.045474909245967865,
0.040526680648326874,
-0.022249599918723106,
-0.016482476145029068,
0.055057741701602936,
0.05554559454321861,
-0.004595404956489801,
-0.05028374865651131,
-0.04104937985539436,
-0.009234367869794369,
0.024758560582995415,
-0.05098068341612816,
0.018956590443849564,
0.009661239571869373,
-0.023852547630667686,
0.008171544410288334,
-0.021692054346203804,
0.011699770577251911,
-0.03247709944844246,
-0.0342542789876461,
-0.036519311368465424,
0.0008831453742459416,
0.054116882383823395,
-0.009757068008184433,
0.02198825031518936,
-0.002347794594243169,
-0.002168116392567754,
-0.042408399283885956,
0.009940013289451599,
0.05857725813984871,
0.03766925260424614,
0.019061129540205002,
-0.010105535387992859,
-0.025995617732405663,
0.00836755707859993,
0.0049700066447257996,
-0.01048013661056757,
0.006141725927591324,
-0.057845477014780045,
0.026413777843117714,
0.010114246979355812,
0.016334377229213715,
0.02505475841462612,
-0.0022541440557688475,
-0.017658552154898643,
0.016221126541495323,
-0.010767621919512749,
0.01883462630212307,
-0.019427020102739334,
-0.0007089119753800333,
-0.07324770838022232,
0.05010951682925224,
-0.034759555011987686,
-0.06366486847400665,
-0.03538679704070091,
0.03299979865550995,
0.01972321607172489,
-0.08467741310596466,
-0.004253472201526165,
0.02836519107222557,
-0.030124949291348457,
0.08300477266311646,
0.007278598845005035,
-0.009347619488835335,
0.001463560271076858,
-0.013224312104284763,
0.04432496801018715,
0.025612303987145424,
0.0008074627257883549,
0.026640281081199646,
-0.0320415161550045,
0.041746314615011215,
-0.0342542789876461,
0.005261847749352455,
0.030368875712156296,
-0.05063221603631973,
0.05537136271595955,
0.017379777505993843,
0.03861011192202568,
-0.010933143086731434,
0.009539276361465454,
0.010096823796629906,
0.05791516974568367,
-0.05153822898864746,
-0.007958108559250832,
-0.012178911827504635,
0.006821236107498407,
-0.04523098096251488,
0.05777578428387642,
-0.00699982512742281,
-0.010819891467690468,
-0.0038745144847780466,
-0.023347269743680954,
0.013720877468585968,
0.000014803029444010463,
-0.06098167598247528,
-0.021221622824668884,
-0.020333033055067062,
0.014504927210509777,
0.007958108559250832,
0.03965551406145096,
0.00955669954419136,
0.00853307917714119,
0.009495718404650688,
0.001739066792652011,
0.0013252624776214361,
-0.004843687638640404,
0.02576911449432373,
-0.005623381584882736,
0.04449919983744621,
0.05150338262319565,
-0.03408004716038704,
-0.01451363880187273,
-0.033958081156015396,
0.0030665071681141853,
-0.04592791572213173,
0.030560532584786415,
0.0183641966432333,
0.010105535387992859,
-0.09324969351291656,
0.004323165398091078,
-0.050910986959934235,
0.01524541899561882,
-0.0378434881567955,
0.04592791572213173,
0.043593186885118484,
0.029759058728814125,
0.006690561305731535,
-0.061817996203899384,
0.039760053157806396,
-0.0294105913490057,
-0.010210075415670872,
0.012370568700134754,
0.04606730118393898,
-0.012431550770998001,
-0.061295296996831894,
-0.010140381753444672,
-0.002755064982920885,
0.07896255701780319,
0.05983173847198486,
0.009382466785609722,
0.021866286173462868,
-0.03015979565680027,
0.012570937164127827,
0.01568971388041973,
-0.006167861167341471,
0.017135851085186005,
-0.012823575176298618,
0.008842343464493752,
-0.03463759273290634,
-0.019183093681931496,
-0.0320415161550045,
-0.010514983907341957,
0.024235861375927925,
0.027685681357979774,
-0.03505575284361839,
-0.06401333957910538,
0.04606730118393898,
0.007012892980128527,
-0.014531062915921211,
-0.00632467120885849,
-0.016003334894776344,
0.033592190593481064,
-0.0007535592885687947,
-0.018677815794944763,
0.03299979865550995,
-0.012901980429887772,
0.024375246837735176,
-0.023730583488941193,
0.03355734422802925,
0.06160891801118851,
0.01925278641283512,
0.050004974007606506,
-0.06275885552167892,
-0.05101552978157997,
-0.04383711516857147,
0.08070489019155502,
0.10774590820074081,
0.03885404020547867,
0.016778672114014626,
-0.022075366228818893,
0.07471126317977905,
-0.03406262397766113,
-0.012492531910538673,
-0.006851727142930031,
0.020333033055067062,
0.004782706033438444,
0.006607800256460905,
-0.03634507954120636,
0.009077558293938637,
-0.014443946070969105,
-0.043314412236213684,
0.0005137161933816969,
0.024601750075817108,
-0.010854738764464855,
-0.01061952393501997,
0.0277553740888834,
0.00003756906880880706,
-0.05680007487535477,
0.044917359948158264,
0.0044560180976986885,
0.01607302762567997,
0.07084328681230545,
-0.005061479285359383,
0.0012283452088013291,
-0.04261748120188713,
-0.005897799506783485,
-0.0021321808453649282,
-0.020228493958711624,
-0.05341994762420654,
0.05031859502196312,
0.0009642727673053741,
-0.07220230251550674,
0.01114222314208746,
-0.013529220595955849,
-0.012213759124279022,
0.05003982037305832,
-0.08878932148218155,
0.008215103298425674,
0.03151881694793701,
0.09757068008184433,
0.014478792436420918,
-0.004183778539299965,
-0.04676423594355583,
-0.02982875145971775,
-0.04376742243766785,
0.017301373183727264,
-0.0400388278067112,
-0.04610214754939079,
-0.004869822412729263,
0.029654517769813538,
0.018817203119397163,
-0.016107873991131783,
-0.032407406717538834,
-0.06575567275285721,
0.005087614059448242,
-0.03484667092561722,
-0.033417958766222,
-0.01137743890285492,
-0.027737950906157494,
-0.009304061532020569,
0.02756371721625328,
-0.027110710740089417,
0.004236048553138971,
0.0024588683154433966,
0.05460473522543907,
0.013546643778681755,
-0.03725109249353409,
-0.02176174707710743,
-0.02784249186515808,
0.014400387182831764,
0.004325343295931816,
0.05801970884203911,
-0.013773147016763687,
0.05760154873132706,
-0.012823575176298618,
-0.007086941972374916,
-0.05223516374826431,
-0.004144575912505388,
0.002269389573484659,
0.01745818369090557,
-0.014626890420913696,
-0.011368727311491966,
0.006816880311816931,
-0.0073700714856386185,
-0.05195638909935951,
-0.007287310436367989,
-0.016691556200385094,
0.025751691311597824,
0.05742731690406799,
-0.042791713029146194,
-0.029201511293649673,
-0.019531559199094772,
0.033017221838235855,
-0.005784547422081232,
0.04875049367547035,
-0.037599559873342514,
0.039725206792354584,
-0.06045897677540779,
0.027250098064541817,
0.024410095065832138,
0.025141874328255653,
0.010584676638245583,
0.04007367417216301,
0.014783700928092003,
0.044534046202898026,
0.034864094108343124,
-0.05031859502196312,
-0.052653323858976364,
-0.06910095363855362,
0.004682521801441908,
0.041746314615011215,
-0.018625546246767044,
0.019932296127080917,
-0.0075617278926074505,
0.0057017868384718895,
0.03503832966089249,
-0.07638390362262726,
0.023434387519955635,
-0.03979489952325821,
0.022145060822367668,
-0.005126816686242819,
-0.02137843333184719,
-0.06561628729104996,
0.06251493096351624,
-0.00045409571612253785,
-0.010967990383505821,
0.09352847188711166,
-0.004804485011845827,
0.03275587409734726,
-0.026309236884117126,
-0.010985413566231728,
0.015463210642337799,
0.06910095363855362,
0.02728494442999363,
-0.024479787796735764,
0.030090101063251495,
0.0006533751147799194,
-0.02275487780570984,
0.029846174642443657,
0.0042643616907298565,
-0.014757566154003143,
-0.011577807366847992,
-0.0005896710208617151,
0.040003981441259384,
0.03378384932875633,
-0.025316108018159866,
0.047844480723142624,
0.019374750554561615,
-0.03505575284361839,
-0.01930505596101284,
0.04073575884103775,
0.01864296942949295,
-0.0367283932864666,
0.03637992590665817,
0.03665870055556297,
-0.00853307917714119,
-0.04648546129465103,
-0.04798386991024017,
-0.02364346757531166,
-0.04930804297327995,
-0.01264934241771698,
-0.025385800749063492,
-0.019374750554561615,
0.016482476145029068,
-0.010697928257286549,
-0.006455346010625362,
-0.016316954046487808,
-0.013093637302517891,
-0.0008341422071680427,
0.008929460309445858,
0.018067998811602592,
-0.0552319772541523,
0.04676423594355583,
-0.06422241777181625,
-0.031362004578113556,
-0.043453801423311234,
0.01441781036555767,
0.043070487678050995,
-0.031797587871551514,
0.030473414808511734,
-0.03969036042690277,
-0.0002578109269961715,
0.007857924327254295,
0.05979688838124275,
-0.02157009020447731,
0.0030904642771929502,
0.07791715860366821,
-0.006093811709433794,
-0.0009626393439248204,
0.0026135004591196775,
0.041606925427913666,
-0.008053936995565891,
-0.04592791572213173,
-0.04303564131259918,
0.02195340394973755,
0.02411389723420143,
-0.060110509395599365,
-0.014522350393235683,
-0.059169650077819824,
-0.019810333847999573,
-0.0280341487377882,
0.011473267339169979,
-0.009129827842116356,
-0.06122560426592827,
-0.01448750402778387,
-0.027023594826459885,
-0.033679310232400894,
0.05202608183026314,
0.04937773570418358,
-0.037355631589889526,
0.03603145852684975,
-0.04237355291843414,
-0.02491537109017372,
0.04394165426492691,
0.004704300779849291,
-0.044812820851802826,
0.00920823309570551,
-0.009530564770102501,
-0.0025154941249638796,
0.031501393765211105,
0.055336516350507736,
0.011952408589422703,
0.01184786856174469,
-0.06432695686817169,
-0.03592691943049431,
0.00036834023194387555,
0.10335522890090942,
0.022929111495614052,
0.048645954579114914,
0.024654021486639977
] |
23,245 | cov_core | start | Erase any previous coverage data and start coverage. | def start(self):
"""Erase any previous coverage data and start coverage."""
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.set_env()
| (self) | [
-0.03828120231628418,
-0.004661799408495426,
0.002005509566515684,
0.009255543351173401,
-0.01199477631598711,
-0.038008980453014374,
-0.05029299110174179,
0.01873226836323738,
-0.0035325041972100735,
0.0060696969740092754,
-0.03348328918218613,
0.0025712207425385714,
0.04760479927062988,
0.028753435239195824,
-0.03947217017412186,
-0.018289906904101372,
0.026694757863879204,
-0.026031216606497765,
0.015295466408133507,
-0.011637484654784203,
0.0024989116936922073,
0.035218704491853714,
0.01606108993291855,
-0.00901734922081232,
-0.024414898827672005,
0.02677982673048973,
-0.019157614558935165,
-0.023836428299546242,
0.048659659922122955,
-0.051926322281360626,
-0.03443606570363045,
-0.017422199249267578,
-0.0621686689555645,
0.00815389584749937,
0.06298533827066422,
-0.03302391618490219,
0.017796505242586136,
-0.07275129854679108,
-0.012649809941649437,
0.07404434680938721,
-0.04440619423985481,
0.010106236673891544,
0.01936178095638752,
0.023649275302886963,
-0.03726036846637726,
-0.004138623364269733,
0.013823767192661762,
-0.020739903673529625,
0.04882979765534401,
-0.027069061994552612,
0.008719607256352901,
0.0369541198015213,
0.02909371256828308,
-0.000008689699825481512,
0.04103744775056839,
0.011246166191995144,
0.034521136432886124,
-0.005304072983562946,
0.013007101602852345,
-0.00667794281616807,
0.014181057922542095,
0.0016120638465508819,
0.010531583800911903,
-0.01278592087328434,
0.03545689955353737,
-0.019480878487229347,
-0.03749856352806091,
0.060603395104408264,
0.03906383737921715,
-0.01087186112999916,
-0.0011952241184189916,
0.028532255440950394,
-0.020416639745235443,
0.009408668614923954,
0.03508259356021881,
0.015057272277772427,
-0.12107067555189133,
-0.01793261617422104,
0.010829326696693897,
-0.026524618268013,
-0.019446849822998047,
0.03353433310985565,
-0.011586443521082401,
-0.01745622791349888,
0.01895344816148281,
0.06050131097435951,
0.03491245582699776,
-0.012573247775435448,
0.023308997973799706,
0.0015440083807334304,
0.04369160905480385,
0.10221931338310242,
-0.03603537008166313,
-0.0030454820953309536,
0.10997763276100159,
0.012079845182597637,
-0.010463528335094452,
0.024993371218442917,
-0.049102019518613815,
0.04348744451999664,
-0.015856923535466194,
0.032496485859155655,
0.014359703287482262,
-0.007596691604703665,
-0.035286761820316315,
-0.017762476578354836,
0.03954022750258446,
0.05114368349313736,
0.005852770060300827,
0.022424276918172836,
-0.07594989985227585,
-0.054172150790691376,
-0.0067034633830189705,
-0.07663045823574066,
-0.02204997092485428,
-0.05015688017010689,
-0.023649275302886963,
-0.006758758798241615,
0.007371257990598679,
0.005346607882529497,
0.013543037697672844,
-0.017175499349832535,
-0.022968720644712448,
0.037090230733156204,
0.01517636887729168,
-0.01623973622918129,
0.02208399958908558,
0.048115216195583344,
0.055975623428821564,
-0.022237123921513557,
0.0460054948925972,
-0.0575408972799778,
-0.025707952678203583,
-0.01333887130022049,
0.03967633843421936,
0.0024563770275563,
0.015363521873950958,
-0.04603952541947365,
0.010735750198364258,
0.034521136432886124,
-0.001163323177024722,
-0.04239855706691742,
-0.006826814264059067,
-0.02557184174656868,
0.017107443884015083,
0.07663045823574066,
-0.04889785498380661,
-0.04651591181755066,
-0.04430411010980606,
-0.0022926186211407185,
0.048149242997169495,
-0.04508674889802933,
-0.06785130500793457,
-0.04199022427201271,
-0.005180722568184137,
-0.05944645032286644,
-0.05338951572775841,
0.024125663563609123,
0.02446594089269638,
0.04062911495566368,
-0.060161031782627106,
0.03317704051733017,
0.00698844576254487,
-0.0043151420541107655,
-0.007894434034824371,
-0.009782973676919937,
-0.1058262512087822,
0.026643715798854828,
-0.04797910526394844,
-0.05206243321299553,
-0.03035273775458336,
-0.03954022750258446,
0.03606939688324928,
0.01476803608238697,
0.004857459105551243,
-0.01142481155693531,
-0.008085840381681919,
-0.019497891888022423,
-0.04522285982966423,
0.0067289844155311584,
-0.021794764325022697,
-0.01759233884513378,
-0.022032957524061203,
0.04185411334037781,
0.016469422727823257,
0.020110391080379486,
0.04103744775056839,
0.00975745264440775,
0.06962074339389801,
-0.009459709748625755,
0.054580483585596085,
-0.008345302194356918,
-0.040322866290807724,
-0.003338971408084035,
0.08221100270748138,
-0.01517636887729168,
0.04430411010980606,
-0.050429102033376694,
-0.03220725059509277,
-0.001702450099401176,
-0.022458303719758987,
0.057915203273296356,
0.05471659451723099,
-0.04964646324515343,
0.03926800563931465,
0.054104097187519073,
-0.036579813808202744,
0.03538884222507477,
0.033296138048172,
0.03412981703877449,
0.004089708440005779,
-0.030590932816267014,
0.025622883811593056,
-0.009034363552927971,
0.022322192788124084,
-0.009765959344804287,
0.03222426399588585,
-0.0015493253013119102,
0.006754504982382059,
0.05110965669155121,
0.0076434798538684845,
-0.011790609918534756,
-0.05890200659632683,
-0.02994440495967865,
-0.037090230733156204,
0.010701722465455532,
-0.024959342554211617,
-0.015125327743589878,
-0.020433655008673668,
-0.05209646001458168,
-0.010684708133339882,
-0.05104159936308861,
-0.04457633197307587,
-0.05614576116204262,
-0.05308326333761215,
-0.02443191222846508,
0.028821490705013275,
0.09105821698904037,
-0.08833599835634232,
-0.025044411420822144,
-0.03222426399588585,
0.039404116570949554,
0.04944229871034622,
0.0017928362358361483,
-0.04328327625989914,
-0.031356558203697205,
-0.0005152011872269213,
-0.024227745831012726,
0.035252731293439865,
0.045427024364471436,
0.053797848522663116,
-0.03722634166479111,
-0.02773260325193405,
-0.01800067164003849,
-0.0008262359187938273,
-0.05301520973443985,
0.04199022427201271,
-0.011569429188966751,
0.012981580570340157,
-0.008290006779134274,
-0.027086075395345688,
-0.01120363175868988,
0.005184975918382406,
0.03174787759780884,
0.014249113388359547,
0.046754106879234314,
0.007247907109558582,
-0.030080515891313553,
0.0043683103285729885,
-0.0287704486399889,
0.014266127720475197,
0.038485366851091385,
0.04062911495566368,
0.020910043269395828,
-0.014614911749958992,
-0.0027647532988339663,
-0.04369160905480385,
-0.01752428337931633,
-0.042194388806819916,
0.04988465830683708,
0.09350821375846863,
0.03926800563931465,
-0.016222722828388214,
-0.0038174863439053297,
0.0035899258218705654,
-0.0694846361875534,
-0.0072394004091620445,
0.009765959344804287,
0.010284882970154285,
-0.002496785018593073,
-0.030846141278743744,
0.1060304194688797,
0.01777949184179306,
-0.042670778930187225,
0.06495894491672516,
-0.0368180088698864,
-0.041718002408742905,
0.020705876871943474,
-0.0009836142417043447,
0.05743881314992905,
-0.011577936820685863,
-0.02858329564332962,
-0.07901240140199661,
0.008417611010372639,
-0.02138643153011799,
0.0393700897693634,
0.003970611374825239,
-0.024738162755966187,
-0.02104615420103073,
-0.004325775895267725,
-0.006967178545892239,
0.03361940011382103,
0.045324940234422684,
-0.010021167807281017,
-0.019344767555594444,
-0.04920410364866257,
-0.03324509784579277,
0.007192612159997225,
0.03147565573453903,
0.012973073869943619,
-0.025078440085053444,
-0.037532590329647064,
0.029859336093068123,
0.04753674566745758,
0.04709438234567642,
0.07173046469688416,
0.04335133358836174,
0.07179851830005646,
-0.0689401924610138,
-0.02943398989737034,
-0.034402038902044296,
-0.001743921311572194,
0.03258155658841133,
-0.01590796560049057,
0.02519753761589527,
-0.019855182617902756,
-0.03746453672647476,
-0.07710684835910797,
-0.005184975918382406,
-0.01014026440680027,
0.02803885191679001,
0.013781231828033924,
0.010225334204733372,
-0.011212138459086418,
0.01087186112999916,
-0.011084534227848053,
0.05699645355343819,
-0.05202840641140938,
0.004670306574553251,
-0.006137752439826727,
-0.008596256375312805,
0.06962074339389801,
0.028311073780059814,
0.05614576116204262,
0.03147565573453903,
-0.02899162843823433,
0.005397649481892586,
-0.029042670503258705,
0.026915937662124634,
-0.06189644709229469,
-0.018528101965785027,
0.06043325364589691,
-0.03013155795633793,
-0.03838328272104263,
-0.036239538341760635,
-0.06359783560037613,
-0.015057272277772427,
0.0018523847684264183,
-0.06053533777594566,
0.031390585005283356,
-0.01638435386121273,
-0.009230023249983788,
-0.022747540846467018,
0.006699210032820702,
-0.00793696939945221,
-0.08112211525440216,
0.019004490226507187,
-0.01316873263567686,
0.02443191222846508,
0.048591602593660355,
-0.05264090374112129,
-0.007771083619445562,
-0.04934021458029747,
0.039404116570949554,
-0.02028052881360054,
-0.013194253668189049,
-0.000934167648665607,
-0.009646862745285034,
0.03108433447778225,
-0.029178781434893608,
0.058731868863105774,
-0.029178781434893608,
0.0020608047489076853,
-0.012164914980530739,
0.039506200700998306,
-0.01630779169499874,
0.02953607216477394,
0.0028072879649698734,
-0.006763012148439884,
0.042262446135282516,
-0.007622212171554565,
-0.015542167238891125,
-0.023206913843750954,
0.015057272277772427,
0.02148851379752159,
-0.078059621155262,
0.039336059242486954,
-0.1242692843079567,
0.04974854737520218,
-0.016656575724482536,
-0.017439214512705803,
-0.014904147014021873,
-0.020552750676870346,
0.04389577731490135,
-0.03913189470767975,
-0.015082793310284615,
0.027545450255274773,
-0.08098600804805756,
0.030250655487179756,
0.051892295479774475,
-0.010761271230876446,
0.02769857458770275,
0.03862147778272629,
0.01335588563233614,
0.018562128767371178,
0.010114744305610657,
0.03397669270634651,
-0.02351316437125206,
0.003487842623144388,
0.011688526719808578,
-0.013211268000304699,
0.03814509138464928,
-0.05427423492074013,
0.06495894491672516,
-0.0005694328574463725,
0.03361940011382103,
-0.037158284336328506,
0.020824972540140152,
0.04838743805885315,
0.04478049650788307,
-0.05080340802669525,
0.00815389584749937,
0.004585237242281437,
-0.030982252210378647,
-0.04375966638326645,
0.03732842579483986,
0.01109304092824459,
-0.04668604955077171,
0.02021247334778309,
0.02785170078277588,
0.002977426629513502,
0.03026766888797283,
-0.015227410942316055,
-0.024568023160099983,
0.01151838805526495,
0.00686934869736433,
-0.021539555862545967,
0.06604783236980438,
0.046345774084329605,
-0.027426352724432945,
-0.0017779490444809198,
0.015703799203038216,
-0.04335133358836174,
-0.016044076532125473,
0.05580548197031021,
0.03736245259642601,
0.020654834806919098,
0.06332561373710632,
-0.013083663769066334,
-0.02174372225999832,
-0.01606108993291855,
-0.005116920452564955,
0.007962489500641823,
-0.007464834023267031,
0.032343361526727676,
0.004955288954079151,
-0.0782637894153595,
0.004551209509372711,
0.008549468591809273,
0.004712841007858515,
-0.019923238083720207,
0.024806218221783638,
0.013126198202371597,
0.05614576116204262,
-0.013075157068669796,
-0.057370759546756744,
0.04335133358836174,
-0.042126335203647614,
-0.0299103781580925,
-0.02807288058102131,
0.0004577793588396162,
-0.053253404796123505,
-0.0551929846405983,
-0.006673689465969801,
-0.003202860476449132,
0.05444437265396118,
0.013185746967792511,
-0.017609352245926857,
0.018017685040831566,
-0.05934436619281769,
0.0288044773042202,
0.039948560297489166,
-0.021335389465093613,
0.04937424138188362,
-0.010982451029121876,
0.05213048681616783,
-0.004402338061481714,
-0.009136446751654148,
-0.03698814660310745,
0.0007432933198288083,
0.005695391912013292,
0.016452409327030182,
-0.008039052598178387,
-0.033857595175504684,
0.050020769238471985,
0.01682671532034874,
-0.01690327748656273,
0.004293874837458134,
-0.0004248149925842881,
0.0015408183680847287,
-0.009315092116594315,
-0.026320451870560646,
0.06635408103466034,
0.013866301625967026,
0.00793696939945221,
0.008804676122963428,
0.04947632551193237,
0.043555498123168945,
0.006231328938156366,
0.05890200659632683,
0.01247116457670927,
-0.02119927853345871,
-0.010574118234217167,
0.027528436854481697,
0.05655409395694733,
0.004976556170731783,
0.04968049004673958,
-0.0625089481472969,
0.0736360177397728,
-0.05345756933093071,
0.012437136843800545,
0.015218904241919518,
0.05032701790332794,
-0.016656575724482536,
0.01173956785351038,
-0.010131757706403732,
0.02921281009912491,
-0.02484024502336979,
-0.054104097187519073,
0.02506142668426037,
0.05196034908294678,
0.0030816367361694574,
-0.0002775386965367943,
0.009519258514046669,
0.05624784529209137,
-0.0017800758359953761,
0.03258155658841133,
0.014674460515379906,
0.04056105762720108,
0.052742987871170044,
0.0022224364802241325,
0.0007379764574579895,
-0.004342789761722088,
-0.0241767056286335,
0.0020246501080691814,
0.0025074186269193888,
0.02256038784980774,
0.058357562869787216,
0.022169068455696106,
-0.07744712382555008,
0.006831067614257336,
-0.020110391080379486,
0.014470294117927551,
0.07084574550390244,
-0.048353411257267,
0.008145389147102833,
-0.0073627508245408535,
0.05954853445291519,
-0.046345774084329605,
-0.037124257534742355,
-0.014648939482867718,
-0.044984664767980576,
-0.011952241882681847,
-0.004419351927936077,
-0.04416799917817116,
-0.02953607216477394,
-0.05444437265396118,
-0.012607275508344173,
0.011960748583078384,
-0.021250320598483086,
0.0067162238992750645,
-0.0508374348282814,
-0.015406056307256222,
-0.04341938719153404,
-0.05481867864727974,
0.013372899033129215,
0.0335683599114418,
0.009451203048229218,
0.032258290797472,
0.004495914559811354,
-0.02351316437125206,
0.0016567253042012453,
0.054240208119153976,
0.017609352245926857,
-0.00603566924110055,
0.023308997973799706,
-0.013389913365244865,
0.025912119075655937,
0.024261774495244026,
0.023530177772045135,
0.004215185530483723,
0.02344510890543461,
-0.023240942507982254,
-0.002705204766243696,
-0.03644370287656784,
-0.030999265611171722,
-0.028260033577680588,
-0.030795099213719368,
-0.022356221452355385,
0.04838743805885315,
0.010693215765058994,
-0.02553781494498253,
-0.05614576116204262,
-0.007260667625814676,
-0.020195459946990013,
0.022424276918172836,
0.0648568645119667,
-0.017609352245926857,
-0.007145823910832405,
0.012139393948018551,
0.010676201432943344,
-0.03501453995704651,
-0.02751142345368862,
-0.046856191009283066,
0.03610342741012573,
-0.02119927853345871,
0.00830276682972908,
0.054104097187519073,
0.0072266398929059505,
-0.010599639266729355,
0.01866421289741993,
0.004729854874312878,
0.06390408426523209,
0.043521471321582794,
-0.06785130500793457,
-0.1150137409567833,
-0.0625089481472969,
-0.012845469638705254,
0.02803885191679001,
-0.0254187174141407,
-0.0003817486285697669,
0.024925315752625465,
0.015159355476498604,
0.06560546904802322,
-0.06080755963921547,
0.009782973676919937,
-0.015108313411474228,
-0.04563119262456894,
-0.008107108063995838,
-0.007851899601519108,
-0.024602051824331284,
0.06577561050653458,
0.0026243890170007944,
0.024806218221783638,
0.09486932307481766,
-0.023138858377933502,
0.06043325364589691,
-0.005372128449380398,
-0.04525688663125038,
0.03494648262858391,
0.004806417506188154,
0.02366628870368004,
-0.03872356191277504,
0.014036440290510654,
-0.0367499515414238,
-0.009612835012376308,
0.02740933932363987,
-0.031356558203697205,
-0.011331235058605671,
0.029706211760640144,
-0.012717865407466888,
0.016214216127991676,
0.07227490842342377,
-0.05172215402126312,
0.05434229224920273,
0.05590756610035896,
-0.04580133035778999,
-0.11195124685764313,
0.02204997092485428,
0.020705876871943474,
0.00026305034407414496,
0.03071003034710884,
0.044440221041440964,
-0.025622883811593056,
-0.06281519681215286,
-0.021505527198314667,
-0.017201019451022148,
-0.05492076277732849,
-0.03501453995704651,
-0.04474646970629692,
0.01151838805526495,
0.018528101965785027,
-0.0000475191991426982,
0.027987811714410782,
-0.012888004072010517,
0.04937424138188362,
0.012836962938308716,
0.009714918211102486,
0.025367675349116325,
-0.05029299110174179,
0.06404019892215729,
-0.026830868795514107,
-0.02002532221376896,
0.04702632874250412,
-0.0024457434192299843,
0.0043279025703668594,
-0.08112211525440216,
-0.0027732602320611477,
-0.017422199249267578,
0.030948223546147346,
0.023904483765363693,
0.030590932816267014,
-0.048149242997169495,
0.013440954498946667,
0.052300628274679184,
-0.020586779341101646,
-0.007975250482559204,
0.0027604999486356974,
-0.0010564548429101706,
-0.001916186767630279,
-0.04743466153740883,
-0.07261518388986588,
0.013874808326363564,
0.00953627284616232,
-0.04791104793548584,
-0.005172215402126312,
-0.04896590858697891,
-0.009298078715801239,
0.01635032705962658,
-0.018579142168164253,
-0.03651176020503044,
-0.06417630612850189,
-0.013457968831062317,
0.000752863590605557,
-0.030727043747901917,
0.03824717178940773,
0.048625633120536804,
0.01151838805526495,
0.022764554247260094,
0.0006156893214210868,
-0.0049042473547160625,
0.028889546170830727,
0.026575660333037376,
0.0067034633830189705,
-0.020995112136006355,
0.011824637651443481,
-0.028719406574964523,
0.041649945080280304,
0.01359407976269722,
-0.020637821406126022,
0.05941242352128029,
-0.0969790443778038,
-0.023138858377933502,
-0.0036877556703984737,
0.054240208119153976,
0.02506142668426037,
0.04923813045024872,
0.02589510567486286
] |
23,246 | cov_core | summary | Produce coverage reports. | def summary(self, stream):
"""Produce coverage reports."""
CovController.summary(self, stream)
| (self, stream) | [
-0.04925735294818878,
-0.04038185998797417,
-0.00035079283406957984,
-0.010963363572955132,
0.01342786941677332,
-0.045261744409799576,
-0.044049959629774094,
-0.02210685797035694,
0.025529326871037483,
0.018275002017617226,
-0.057805340737104416,
-0.011430064216256142,
0.051386162638664246,
0.014713342301547527,
-0.006988223176449537,
0.04994512349367142,
0.055807534605264664,
-0.05980314314365387,
0.030376460403203964,
0.04696479067206383,
-0.013689876534044743,
0.0213535875082016,
-0.02561120316386223,
-0.0049371980130672455,
-0.039792343974113464,
0.04280542582273483,
0.034748706966638565,
-0.08502133935689926,
-0.009792518801987171,
-0.027838265523314476,
-0.06766335666179657,
-0.05410448834300041,
-0.03150636702775955,
0.01435308251529932,
-0.0002714742731768638,
0.029901571571826935,
0.014009197242558002,
-0.03247251734137535,
-0.0843663215637207,
0.09569813311100006,
-0.04110237956047058,
0.05256519466638565,
-0.04172464832663536,
-0.018586136400699615,
-0.023564273491501808,
-0.0028636569622904062,
-0.012478092685341835,
0.019192026928067207,
0.030081702396273613,
-0.022336114197969437,
-0.003684476250782609,
0.02274549938738346,
-0.026626482605934143,
-0.015777746215462685,
0.030179955065250397,
-0.00871992763131857,
0.03645175322890282,
-0.001662108232267201,
0.04467222839593887,
0.04110237956047058,
-0.02055118978023529,
0.026086091995239258,
0.05079664662480354,
-0.034748706966638565,
-0.010652230121195316,
0.007029161788523197,
-0.022221485152840614,
0.02181209996342659,
0.036320749670267105,
-0.010365660302340984,
0.03309478610754013,
-0.0003293000627309084,
0.02919742837548256,
0.04896259680390358,
-0.017783738672733307,
-0.0332912914454937,
-0.09543612599372864,
-0.020207306370139122,
0.030982350930571556,
-0.06035991013050079,
0.03907182440161705,
0.0038646061439067125,
0.04378795251250267,
-0.051549918949604034,
0.02511993981897831,
-0.049814119935035706,
0.03864606097340584,
-0.03517446666955948,
-0.0031829781364649534,
0.06134243682026863,
0.017783738672733307,
0.049519360065460205,
-0.007446736097335815,
-0.02308938466012478,
0.020436562597751617,
0.054038986563682556,
-0.030982350930571556,
0.006419176701456308,
-0.06727034598588943,
0.01848788373172283,
-0.017488980665802956,
0.09189902991056442,
0.020305559039115906,
0.0309168491512537,
-0.06962841749191284,
-0.003029458224773407,
0.005191017873585224,
0.04084037244319916,
0.008842743001878262,
0.0508621484041214,
-0.02261449582874775,
-0.00741807883605361,
-0.020141804590821266,
-0.0809602290391922,
0.04424646496772766,
-0.028673414140939713,
0.03779453784227371,
0.00833101011812687,
-0.07427904009819031,
-0.00662796339020133,
0.0200926773250103,
0.005072295665740967,
0.0009600107441656291,
-0.026298973709344864,
0.032570771872997284,
0.031293485313653946,
-0.023662526160478592,
0.012273400090634823,
0.08980296552181244,
0.014746093191206455,
0.03206313028931618,
-0.09137501567602158,
0.0007947210688143969,
0.01451683696359396,
0.08475933223962784,
-0.008842743001878262,
0.05243419110774994,
-0.05181192606687546,
0.013624374754726887,
0.06962841749191284,
-0.005690468940883875,
-0.008965559303760529,
-0.027052244171500206,
-0.038547810167074203,
0.03903907164931297,
0.031015101820230484,
-0.01932303048670292,
-0.007373046595603228,
-0.030327333137392998,
-0.033012907952070236,
0.06147344037890434,
-0.03504346311092377,
-0.023793529719114304,
0.03874431550502777,
0.03828580304980278,
-0.039792343974113464,
0.029066424816846848,
-0.006644338835030794,
-0.0003244386170990765,
0.029426684603095055,
-0.012428966350853443,
0.028329528868198395,
-0.004490967374294996,
0.03461770340800285,
-0.03093322552740574,
0.0073976097628474236,
-0.060818422585725784,
0.0200926773250103,
-0.059704892337322235,
-0.06334023922681808,
-0.06943190842866898,
-0.04860233515501022,
-0.042150408029556274,
0.04565475508570671,
0.053744226694107056,
0.016072504222393036,
-0.015777746215462685,
0.06651707738637924,
-0.03861331194639206,
-0.052335940301418304,
-0.03890806809067726,
-0.008261414244771004,
-0.055480025708675385,
0.02606971748173237,
-0.016711147502064705,
0.009358569979667664,
0.04375520348548889,
-0.04987962171435356,
0.018455132842063904,
-0.03907182440161705,
0.023351391777396202,
0.025218192487955093,
-0.015253731980919838,
0.0077906204387545586,
0.07853665947914124,
-0.09334006905555725,
-0.01587599888443947,
-0.007778338622301817,
0.02777276374399662,
-0.02998344972729683,
-0.01497534941881895,
0.07578558474779129,
0.011864013969898224,
-0.021451840177178383,
0.019208403304219246,
0.05656080320477486,
-0.015409298241138458,
0.07323101162910461,
-0.05050188675522804,
0.021075204014778137,
-0.0078069958835840225,
0.005866505205631256,
0.009489573538303375,
-0.028902670368552208,
0.03155549243092537,
-0.023482395336031914,
-0.015949688851833344,
-0.028509659692645073,
-0.01994529739022255,
0.019863421097397804,
0.04925735294818878,
-0.042608920484781265,
-0.02998344972729683,
0.0021902164444327354,
-0.02323676459491253,
0.025349196046590805,
0.039301078766584396,
-0.04273992404341698,
0.003416328225284815,
-0.08371130377054214,
-0.010521226562559605,
-0.0014318284811452031,
-0.01238802820444107,
0.052172183990478516,
-0.06645157933235168,
0.0027224186342209578,
-0.0618336983025074,
0.07054544240236282,
-0.06356950104236603,
-0.03122798353433609,
-0.05495601147413254,
-0.028804417699575424,
0.04572025686502457,
0.051549918949604034,
-0.05128790810704231,
-0.06579656153917313,
0.003621021518483758,
0.006570649333298206,
0.0019466315861791372,
0.018569760024547577,
0.0477508120238781,
-0.08141873776912689,
-0.04395170882344246,
-0.04627702385187149,
-0.02089507505297661,
-0.0449342355132103,
-0.018078496679663658,
-0.025038063526153564,
0.04696479067206383,
-0.056888312101364136,
-0.019650539383292198,
-0.010930612683296204,
0.013812691904604435,
0.043231189250946045,
-0.03494521230459213,
0.030507463961839676,
-0.002943487139418721,
-0.03618974611163139,
0.009841645136475563,
-0.002618025057017803,
0.03338954225182533,
0.03864606097340584,
-0.024759680032730103,
-0.027838265523314476,
-0.03841680660843849,
-0.019044648855924606,
0.016850337386131287,
0.01757085882127285,
-0.03386443108320236,
-0.0013949836138635874,
0.0643555223941803,
0.017357977107167244,
-0.020960576832294464,
-0.02168109640479088,
0.03298015519976616,
-0.04719404876232147,
0.02526731975376606,
0.03628799691796303,
-0.021910352632403374,
-0.01387819368392229,
-0.009162064641714096,
0.03214500844478607,
-0.00013624886923935264,
-0.05855860933661461,
0.05079664662480354,
0.054857756942510605,
-0.022401615977287292,
-0.02058394066989422,
-0.038220301270484924,
0.04110237956047058,
-0.04346044361591339,
-0.02575858309864998,
0.008605299517512321,
-0.014582338742911816,
-0.03697576746344566,
0.05351497232913971,
-0.006009790115058422,
-0.060032401233911514,
-0.007344389334321022,
-0.015794122591614723,
-0.0006176615133881569,
0.05318746343255043,
0.06975942105054855,
0.025955088436603546,
-0.01271553710103035,
0.011004302650690079,
-0.06713934242725372,
0.05400623381137848,
0.05557827651500702,
0.06261972337961197,
-0.023351391777396202,
-0.013223175890743732,
0.07296900451183319,
0.0012824024306610227,
0.046702783554792404,
-0.016899464651942253,
-0.007536801043897867,
0.02340051904320717,
-0.015155479311943054,
-0.013485183008015156,
-0.049683116376399994,
-0.053580474108457565,
0.09641864895820618,
-0.0041511766612529755,
-0.009923522360622883,
0.031768374145030975,
-0.010013587772846222,
-0.007811089511960745,
0.0025525232776999474,
-0.012846540659666061,
0.050272632390260696,
0.001674389815889299,
-0.0043927147053182125,
0.03704126924276352,
-0.008940995670855045,
-0.007680085953325033,
-0.016187133267521858,
-0.03185025230050087,
0.02210685797035694,
-0.024907059967517853,
0.03560023009777069,
0.031015101820230484,
0.04945385828614235,
0.05747783184051514,
0.03189937770366669,
0.08023970574140549,
0.048405829817056656,
-0.053252965211868286,
-0.00658702477812767,
-0.03576398268342018,
0.012519031763076782,
0.036320749670267105,
-0.006656620651483536,
-0.008572548627853394,
0.0073402957059443,
0.013214988633990288,
0.013820880092680454,
0.02998344972729683,
0.03451944887638092,
0.03540372475981712,
-0.05603678897023201,
-0.013002107851207256,
-0.011962266638875008,
0.009546887129545212,
-0.03211225941777229,
0.0021308553405106068,
0.009989025071263313,
-0.028542410582304,
-0.018455132842063904,
0.017636360600590706,
-0.018930019810795784,
0.04031635820865631,
-0.05410448834300041,
0.02024005725979805,
-0.003584176767617464,
-0.013779941014945507,
-0.06317649036645889,
0.03763078525662422,
-0.06078566983342171,
0.00950594898313284,
0.055152516812086105,
-0.062390465289354324,
-0.02618434466421604,
-0.05299095809459686,
-0.008949183858931065,
-0.04319843649864197,
0.003318075556308031,
0.05898437276482582,
-0.006828562822192907,
-0.014868908561766148,
0.008736303076148033,
-0.04152814298868179,
-0.024530423805117607,
0.005113234277814627,
-0.004140941891819239,
-0.06035991013050079,
0.01084054820239544,
-0.0820082575082779,
0.04061111807823181,
-0.019503161311149597,
0.025332821533083916,
-0.04342769458889961,
-0.019585037603974342,
0.027379753068089485,
-0.03530547022819519,
-0.031129730865359306,
0.002695808419957757,
-0.03753253072500229,
0.020829573273658752,
-0.0010531460866332054,
0.07178997248411179,
0.033831678330898285,
0.06304548680782318,
0.045294493436813354,
0.04886434227228165,
-0.05446474626660347,
0.023809904232621193,
-0.0017931117909029126,
0.047947317361831665,
0.024088287726044655,
-0.027052244171500206,
-0.004490967374294996,
-0.07277250289916992,
0.006664808373898268,
0.00474888039752841,
-0.01978154294192791,
-0.040250856429338455,
-0.015081789344549179,
0.052958205342292786,
0.10408236086368561,
0.019241154193878174,
0.019535912200808525,
0.012486280873417854,
0.0071478839963674545,
-0.04378795251250267,
0.03609149158000946,
0.01091423723846674,
-0.09805619716644287,
-0.006026165559887886,
-0.02168109640479088,
-0.01184763852506876,
-0.017161471769213676,
-0.026741109788417816,
-0.05256519466638565,
0.024219291284680367,
-0.019896171987056732,
0.009211190976202488,
0.012535407207906246,
-0.009276692755520344,
-0.034290194511413574,
0.0430019311606884,
-0.0061203246004879475,
-0.06035991013050079,
0.00010714405652834103,
-0.005207393318414688,
-0.022843753919005394,
0.0067384978756308556,
0.04142988845705986,
-0.006992317270487547,
0.00537933548912406,
0.017325226217508316,
0.016555579379200935,
-0.053449470549821854,
-0.011037053540349007,
0.007151978090405464,
0.026708358898758888,
-0.054694004356861115,
0.019666915759444237,
-0.027985643595457077,
0.04932285472750664,
-0.04676828533411026,
-0.0030929131899029016,
0.00296190963126719,
0.001462532440200448,
-0.009563262574374676,
-0.003932155203074217,
0.02305663377046585,
-0.027985643595457077,
0.05554552748799324,
-0.0424124151468277,
0.024546800181269646,
-0.013927320018410683,
-0.04932285472750664,
-0.058951620012521744,
-0.0200926773250103,
0.03252164274454117,
0.027428878471255302,
0.0033815305214375257,
-0.029852446168661118,
-0.0061039491556584835,
0.018553385511040688,
0.02086232416331768,
0.001971194753423333,
0.004540093708783388,
0.026298973709344864,
0.024448547512292862,
0.04188840091228485,
-0.03995610028505325,
-0.006652526557445526,
0.005055920220911503,
0.006554273888468742,
0.03844955563545227,
-0.06510879099369049,
0.018324129283428192,
0.006361862178891897,
-0.020845947787165642,
-0.025332821533083916,
0.03533822298049927,
0.030982350930571556,
0.019552286714315414,
0.014033760875463486,
-0.03250527009367943,
0.018176749348640442,
0.019666915759444237,
0.004026313778012991,
0.007434454280883074,
0.006386425346136093,
0.022647246718406677,
-0.03953033685684204,
0.029770568013191223,
0.011593818664550781,
-0.019355781376361847,
-0.02716687135398388,
0.0379582941532135,
0.01930665597319603,
0.04676828533411026,
0.021288085728883743,
-0.06471578031778336,
-0.006026165559887886,
0.029066424816846848,
0.0034408913925290108,
-0.04398445785045624,
0.008441544137895107,
-0.013558872975409031,
0.029901571571826935,
0.04221590980887413,
0.04375520348548889,
-0.07165896892547607,
0.025922337546944618,
-0.005813284777104855,
0.003672194667160511,
-0.012199710123240948,
-0.010791421867907047,
0.010807797312736511,
0.0848248302936554,
0.106178417801857,
-0.016416389495134354,
0.011168057098984718,
0.04208490625023842,
0.01168388407677412,
0.03106422908604145,
-0.01757085882127285,
-0.01932303048670292,
0.010635854676365852,
-0.021271709352731705,
0.028198525309562683,
0.030671218410134315,
0.034126438200473785,
-0.022008605301380157,
-0.0662878230214119,
-0.006071198265999556,
0.020993327721953392,
-0.012224273756146431,
0.02418654039502144,
-0.02089507505297661,
0.025643954053521156,
0.023646149784326553,
0.07493405789136887,
0.02290925569832325,
-0.009071999229490757,
-0.04896259680390358,
-0.04051286354660988,
0.03171924874186516,
-0.06373324990272522,
-0.04175739735364914,
0.0020315793808549643,
-0.045753009617328644,
-0.05868961289525032,
0.025185441598296165,
0.025005312636494637,
0.0050518265925347805,
-0.08371130377054214,
-0.06219395995140076,
-0.0313589870929718,
0.004838945344090462,
-0.014320331625640392,
-0.02649547904729843,
-0.030179955065250397,
0.013550684787333012,
0.043231189250946045,
-0.044508472084999084,
0.031162481755018234,
0.0022188734728842974,
0.023122135549783707,
0.007618678268045187,
0.053252965211868286,
0.002761310199275613,
0.02480880729854107,
-0.0035596133675426245,
0.05584028363227844,
-0.018635261803865433,
0.039137326180934906,
-0.008736303076148033,
-0.00296190963126719,
-0.016105255112051964,
-0.033209413290023804,
0.02480880729854107,
-0.004052923992276192,
-0.0357312336564064,
0.03409368544816971,
0.049846868962049484,
0.005080483388155699,
-0.060654666274785995,
0.005526714492589235,
-0.039170075207948685,
0.07329651713371277,
-0.011962266638875008,
-0.046375274658203125,
0.007315732538700104,
-0.029230179265141487,
0.02042018622159958,
0.0268393624573946,
-0.006189920008182526,
-0.04172464832663536,
0.012322526425123215,
-0.055938538163900375,
-0.016850337386131287,
0.05777258798480034,
-0.04126613587141037,
0.00010669629409676418,
-0.002349877031520009,
0.029312055557966232,
0.02949218638241291,
0.010029963217675686,
-0.022647246718406677,
-0.027379753068089485,
-0.06812187284231186,
-0.018930019810795784,
0.022811003029346466,
-0.039464835077524185,
-0.009710641577839851,
0.06196470186114311,
0.00033416153746657073,
0.060163404792547226,
0.022319737821817398,
0.026953991502523422,
0.010848735459148884,
0.020649442449212074,
0.04205215722322464,
-0.014156576246023178,
-0.017505357041954994,
-0.009448634460568428,
0.04814382269978523,
-0.008457919582724571,
0.028509659692645073,
-0.011806699447333813,
0.03546922653913498,
-0.013436056673526764,
-0.059377383440732956,
-0.02433391846716404,
0.06311098486185074,
0.0797811895608902,
0.019568663090467453,
-0.005158266983926296,
-0.017488980665802956,
0.011651133187115192,
0.027871016412973404,
0.025365572422742844,
-0.00415322370827198,
-0.03235789015889168,
0.032881904393434525,
0.01664564572274685,
0.020289182662963867,
-0.04929010570049286,
0.042117659002542496,
0.045916762202978134,
-0.07683361321687698,
-0.08338379114866257,
-0.017292475327849388,
-0.03691026568412781,
-0.03926832973957062,
-0.05646255239844322,
0.01680121198296547,
0.004302649758756161,
0.025070814415812492,
0.04850408434867859,
-0.0017972056521102786,
-0.012437154538929462,
0.013468807563185692,
-0.0404801145195961,
-0.011806699447333813,
-0.017456229776144028,
0.03939933329820633,
0.02305663377046585,
-0.020125428214669228,
0.010201905854046345,
0.022237861528992653,
-0.012617284432053566,
0.05475950613617897,
-0.04231416434049606,
0.03697576746344566,
0.031031478196382523,
-0.045294493436813354,
0.007516331505030394,
0.015564865432679653,
0.009448634460568428,
-0.02963956445455551,
0.03618974611163139,
-0.005084577482193708,
-0.010373847559094429,
0.01529467012733221,
0.01822587661445141,
-0.03126073256134987,
0.015032663010060787,
0.01083236001431942,
0.016915839165449142,
-0.023023882880806923,
0.05525076761841774,
0.017177848145365715,
-0.003737696446478367,
0.001186196692287922,
-0.01979791931807995,
-0.021877601742744446,
-0.03779453784227371,
-0.021271709352731705,
0.052794452756643295,
-0.05764158442616463,
-0.012903855182230473,
0.03975959122180939,
-0.04572025686502457,
0.005264707375317812,
-0.016367262229323387,
0.007544988766312599,
-0.03245614096522331,
-0.014991724863648415,
-0.021893976256251335,
0.05433374270796776,
0.0246123019605875,
0.01287929154932499,
-0.04346044361591339,
0.04444297030568123,
-0.009071999229490757,
0.006243140436708927,
0.007897061295807362,
0.04807832092046738,
-0.015130915679037571,
0.029148301109671593,
-0.02325313910841942,
0.037761788815259933,
-0.009833457879722118,
0.023662526160478592,
-0.059541136026382446,
0.03137536346912384,
0.03340591862797737,
0.03841680660843849,
0.0692354068160057,
-0.019683290272951126,
0.02775638736784458
] |
23,247 | cov_core | unset_env | Remove coverage info from env. | @staticmethod
def unset_env():
"""Remove coverage info from env."""
os.environ.pop('COV_CORE_SOURCE', None)
os.environ.pop('COV_CORE_DATA_FILE', None)
os.environ.pop('COV_CORE_CONFIG', None)
| () | [
-0.036443717777729034,
-0.014403864741325378,
0.013729605823755264,
-0.037893373519182205,
-0.03421866148710251,
-0.0677630603313446,
-0.05980680137872696,
0.003139520063996315,
0.0260264091193676,
0.000479619629913941,
-0.026650099083781242,
-0.0008881259709596634,
-0.009212068282067776,
0.01544896699488163,
-0.017716163769364357,
0.011167420074343681,
0.04632161557674408,
0.006557172164320946,
0.0937894731760025,
-0.03587059676647186,
-0.0005452018813230097,
0.006729951128363609,
-0.054345302283763885,
0.001381178037263453,
-0.0299539715051651,
0.009566053748130798,
0.025807276368141174,
-0.034488365054130554,
0.07646100968122482,
-0.03560089319944382,
-0.03431979939341545,
0.02518358640372753,
-0.05512069910764694,
0.030763082206249237,
0.07275258004665375,
-0.03718540072441101,
0.011925961822271347,
-0.010290882550179958,
-0.0736965462565422,
0.023919349536299706,
-0.05077172815799713,
0.011841678991913795,
0.009987466037273407,
-0.006881659384816885,
0.007568561006337404,
-0.025200441479682922,
0.007905690930783749,
-0.007458993699401617,
0.0068310899659991264,
0.0062074000015854836,
0.03782594949007034,
0.04979405179619789,
0.029161715880036354,
0.04015214368700981,
0.02420591004192829,
0.00446696812286973,
0.049490634351968765,
-0.007669699843972921,
0.008883366361260414,
0.01693233661353588,
-0.008824368938803673,
0.043692003935575485,
-0.017109330743551254,
-0.03295442461967468,
0.05171569064259529,
-0.03327469900250435,
-0.035432327538728714,
0.07605645060539246,
0.03809565305709839,
-0.04109610617160797,
-0.06280725449323654,
-0.02698723040521145,
-0.05124370753765106,
0.0005588977946899831,
0.0590314045548439,
-0.06037992238998413,
-0.09749789535999298,
0.033072419464588165,
0.025267867371439934,
-0.035466041415929794,
-0.012456941418349743,
0.0260264091193676,
-0.004643961321562529,
0.0227056834846735,
0.03570203110575676,
0.010948285460472107,
0.05356990173459053,
0.01328290905803442,
0.08077626675367355,
0.059132542461156845,
0.058694273233413696,
0.04932206869125366,
-0.02415534108877182,
0.004761956632137299,
0.061054181307554245,
0.024273335933685303,
0.02412162721157074,
0.0415680892765522,
-0.0345895029604435,
-0.046153049916028976,
0.03131934627890587,
-0.026818664744496346,
-0.026312969624996185,
0.01012231782078743,
-0.01933438703417778,
0.03971387445926666,
0.045579928904771805,
-0.012600220739841461,
0.036039162427186966,
0.027863766998052597,
-0.07733754813671112,
-0.023919349536299706,
-0.03374667838215828,
-0.09790245443582535,
0.02075033076107502,
-0.03775852173566818,
-0.044096559286117554,
-0.02855488285422325,
-0.018205001950263977,
0.00043853194802068174,
-0.025958983227610588,
0.04102867841720581,
-0.03812936320900917,
-0.0006405463791452348,
0.07558447122573853,
-0.00021413000649772584,
0.001045101904310286,
0.053805895149707794,
0.030712513253092766,
-0.00004747470302390866,
0.03376353532075882,
-0.05404188483953476,
-0.021576298400759697,
-0.03185875341296196,
0.028386317193508148,
-0.0007659164257347584,
0.019030969589948654,
-0.018171288073062897,
0.036915697157382965,
-0.008099540136754513,
-0.020514339208602905,
-0.03093164600431919,
-0.005549997091293335,
-0.026768095791339874,
0.03098221682012081,
0.07727012038230896,
0.001081975526176393,
-0.021053748205304146,
-0.06425691395998001,
0.010501588694751263,
0.049018651247024536,
0.0020406879484653473,
-0.09844186156988144,
-0.05828971788287163,
0.012440084479749203,
-0.0010925107635557652,
-0.02085147053003311,
0.022874247282743454,
0.011302271857857704,
0.021542586386203766,
-0.017665594816207886,
0.04234348610043526,
-0.0007158737862482667,
-0.06526830047369003,
0.010948285460472107,
0.00010469456174178049,
0.011496121063828468,
0.010257169604301453,
-0.024846456944942474,
-0.025301581248641014,
-0.0751124918460846,
-0.03037538193166256,
0.0040286993607878685,
0.01746331714093685,
0.054379016160964966,
0.026852378621697426,
-0.03526376187801361,
0.025840988382697105,
-0.07261773198843002,
-0.0037442464381456375,
-0.04342230036854744,
-0.01844099350273609,
-0.032566726207733154,
0.019587233662605286,
0.06267240643501282,
0.03192617744207382,
0.005819700658321381,
-0.036679707467556,
-0.0024357617367058992,
-0.012591793201863766,
0.048512957990169525,
0.02219998836517334,
0.01982322335243225,
0.013055345974862576,
0.10626327246427536,
-0.0358031690120697,
0.008891794830560684,
-0.0329207107424736,
-0.02176171913743019,
-0.03671342134475708,
-0.03816307708621025,
0.05215395987033844,
0.028099756687879562,
-0.039376743137836456,
-0.0030383809935301542,
0.032111600041389465,
-0.04136580973863602,
-0.0013474650913849473,
-0.02516672946512699,
0.09230609983205795,
0.017041904851794243,
-0.02083461359143257,
0.03944417089223862,
-0.011167420074343681,
0.02408791519701481,
0.03042595274746418,
0.022385409101843834,
0.04089382663369179,
-0.009802045300602913,
0.07484278827905655,
-0.0008054238278418779,
-0.049456920474767685,
0.03226330876350403,
-0.02798176184296608,
0.0202614925801754,
0.011032568290829659,
-0.010956713929772377,
0.011799538508057594,
0.00868951715528965,
-0.08360815793275833,
0.0018036436522379518,
-0.007855121046304703,
-0.021390877664089203,
-0.031184494495391846,
-0.014783135615289211,
-0.05343504995107651,
0.009523913264274597,
0.020902039483189583,
-0.031235063448548317,
-0.037960801273584366,
-0.05660406872630119,
-0.0076781283132731915,
0.05603095144033432,
0.059166256338357925,
0.018558988347649574,
0.027206363156437874,
0.024913882836699486,
0.022874247282743454,
0.04446740448474884,
0.029111146926879883,
0.0695161372423172,
-0.04864780977368355,
-0.02791433595120907,
0.008782227523624897,
0.02702094241976738,
-0.029229141771793365,
0.01280249934643507,
-0.028285179287195206,
0.012566507793962955,
-0.011605688370764256,
-0.006481317803263664,
-0.03681455925107002,
0.013215483166277409,
0.012971064075827599,
0.0030362741090357304,
0.04345601424574852,
0.057177189737558365,
-0.020986322313547134,
-0.04642275348305702,
0.008188036270439625,
-0.01635921746492386,
-0.01254965178668499,
0.0019469237886369228,
-0.0004830436082556844,
-0.012263091281056404,
0.06307695806026459,
-0.04055669903755188,
-0.016123225912451744,
0.041770365089178085,
0.061559878289699554,
0.08981133997440338,
-0.018188145011663437,
0.015668101608753204,
0.02749292366206646,
0.0108724320307374,
-0.04429883882403374,
-0.026329826563596725,
-0.07538219541311264,
0.005297149997204542,
0.0330049954354763,
-0.006965941749513149,
0.061559878289699554,
0.009827329777181149,
0.008773799054324627,
0.03826421499252319,
0.0005267650703899562,
-0.022924816235899925,
0.011074709706008434,
0.014117304235696793,
0.02364964596927166,
-0.02068290486931801,
0.012347374111413956,
-0.06439176201820374,
0.02698723040521145,
0.02071661874651909,
0.05495213344693184,
0.03044280782341957,
-0.02902686409652233,
-0.015229832381010056,
0.006881659384816885,
0.0016003124183043838,
0.037387680262327194,
0.02408791519701481,
0.027374928817152977,
-0.006978583987802267,
-0.04692845046520233,
0.01182482298463583,
-0.03516262397170067,
0.015651244670152664,
0.02309338189661503,
-0.04487195983529091,
-0.07194346934556961,
0.03809565305709839,
0.011647829785943031,
0.04932206869125366,
0.025318438187241554,
0.012456941418349743,
0.019553519785404205,
-0.03089793398976326,
0.025301581248641014,
-0.052457377314567566,
-0.018188145011663437,
0.008799084462225437,
-0.008605234324932098,
0.07794437557458878,
-0.003613608656451106,
-0.02267196960747242,
-0.03880362585186958,
-0.01978951133787632,
-0.01635921746492386,
-0.05464871972799301,
0.008225963450968266,
-0.026397252455353737,
0.011984959244728088,
-0.0318756103515625,
-0.01940181292593479,
0.04460225626826286,
-0.0024484042078256607,
0.02801547572016716,
-0.0328364297747612,
0.038837336003780365,
0.08273161947727203,
0.04254576191306114,
0.07794437557458878,
0.03202731907367706,
-0.01694076508283615,
-0.02899315021932125,
0.009389061480760574,
0.0368482731282711,
-0.04160179942846298,
-0.0007127131684683263,
0.03711797669529915,
0.024020489305257797,
-0.001877390779554844,
-0.00035477630444802344,
-0.06452661752700806,
-0.018188145011663437,
0.008841225877404213,
-0.0471644401550293,
-0.005697491113096476,
-0.029279710724949837,
-0.0337129645049572,
0.005318220239132643,
-0.04291660711169243,
0.006611955352127552,
-0.009271065704524517,
0.011900677345693111,
-0.02890886925160885,
-0.015381541103124619,
0.092575803399086,
-0.0066835954785346985,
0.03560089319944382,
-0.01844099350273609,
0.011630973778665066,
-0.03910703957080841,
0.014580857940018177,
0.006628811825066805,
0.049490634351968765,
0.006965941749513149,
-0.008967649191617966,
0.022823678329586983,
-0.03512891009449959,
-0.005179154686629772,
0.01302163302898407,
0.04359086602926254,
-0.018508419394493103,
-0.03624143823981285,
-0.008280747570097446,
0.023464225232601166,
0.0120523851364851,
-0.0028403173200786114,
0.02118859998881817,
0.02609383687376976,
-0.010172887705266476,
0.014311154372990131,
-0.0005499427788890898,
-0.00795625988394022,
-0.05751432105898857,
0.044096559286117554,
-0.023076524958014488,
-0.03389838710427284,
-0.021829145029187202,
0.027391785755753517,
-0.004854667000472546,
-0.019132107496261597,
0.0029625268653035164,
0.05299678444862366,
-0.00046697724610567093,
0.10174573212862015,
-0.000031622366805095226,
0.015415254049003124,
-0.013881313614547253,
-0.024425044655799866,
0.033561259508132935,
0.04342230036854744,
0.010231885127723217,
-0.009599767625331879,
-0.03951159492135048,
0.004011842887848616,
-0.0024989736266434193,
0.0038790982216596603,
-0.026751238852739334,
-0.053367625921964645,
0.023919349536299706,
-0.027290645986795425,
0.026414109393954277,
-0.024947594851255417,
0.014311154372990131,
-0.005528926383703947,
0.07774209976196289,
-0.06179586797952652,
0.024323904886841774,
0.009490200318396091,
0.0038158863317221403,
-0.019637802615761757,
0.0656728595495224,
0.002852959791198373,
0.004022378474473953,
0.0022945888340473175,
-0.021576298400759697,
-0.007513777352869511,
0.009195211343467236,
-0.07828150689601898,
-0.05515441298484802,
0.002713893773034215,
-0.030543947592377663,
-0.012389515526592731,
0.046085625886917114,
-0.016266506165266037,
-0.0007917279726825655,
0.019553519785404205,
0.03654485568404198,
-0.007850906811654568,
-0.012912065722048283,
0.06044735014438629,
0.029245998710393906,
0.04345601424574852,
0.04059041291475296,
-0.028774017468094826,
-0.013468329794704914,
-0.04959177225828171,
-0.007863549515604973,
-0.038432780653238297,
0.04736671596765518,
-0.008457740768790245,
0.016148511320352554,
-0.07774209976196289,
0.004041342064738274,
-0.027324359863996506,
0.0011441337410360575,
-0.04001729190349579,
0.023312516510486603,
0.02262140065431595,
0.0347580686211586,
-0.010206600651144981,
-0.05515441298484802,
0.03910703957080841,
-0.04723186418414116,
0.0033670824486762285,
-0.0039043829310685396,
0.009743046946823597,
-0.020548053085803986,
-0.06978584080934525,
-0.04638904333114624,
0.011201133020222187,
0.02032891847193241,
0.02799861878156662,
0.01844099350273609,
0.01497698575258255,
-0.05926739424467087,
0.015389969572424889,
0.022587686777114868,
-0.024323904886841774,
-0.026279257610440254,
0.01696605049073696,
-0.015246689319610596,
0.0202614925801754,
-0.006333823781460524,
-0.045074235647916794,
-0.019688371568918228,
-0.028689734637737274,
0.028757160529494286,
-0.01206924207508564,
-0.0356346070766449,
0.05515441298484802,
0.015668101608753204,
-0.03278585895895958,
-0.05208653211593628,
0.03049337863922119,
0.06506602466106415,
-0.006215828005224466,
0.0031205564737319946,
0.016721630468964577,
0.01061115600168705,
0.025807276368141174,
-0.019671516492962837,
0.025790419429540634,
0.07477536052465439,
0.032111600041389465,
0.04480453208088875,
-0.03583688288927078,
-0.05319906026124954,
-0.025251012295484543,
0.0819225087761879,
0.08293389528989792,
-0.0018910866929218173,
-0.015170834958553314,
-0.054277874529361725,
0.08536122739315033,
-0.028875155374407768,
-0.00045591520029120147,
-0.01742960326373577,
0.00760227395221591,
0.03897218778729439,
-0.042242348194122314,
0.003927560523152351,
-0.007180861663073301,
0.032549869269132614,
-0.043186310678720474,
0.028133470565080643,
-0.0158956628292799,
-0.0044163987040519714,
0.05441272631287575,
0.006190543528646231,
0.024323904886841774,
-0.05512069910764694,
0.010939857922494411,
0.010265598073601723,
0.021542586386203766,
0.03560089319944382,
-0.030560804530978203,
-0.005444644019007683,
-0.0011378126218914986,
-0.03280271589756012,
-0.008213321678340435,
0.035398613661527634,
-0.05545783042907715,
0.052861932665109634,
0.003305977676063776,
-0.08461954444646835,
0.001849999069236219,
-0.07659585773944855,
0.013611610047519207,
0.03229702264070511,
-0.10424049198627472,
0.02268882654607296,
0.041804078966379166,
0.048512957990169525,
0.030560804530978203,
-0.018542131409049034,
-0.031049642711877823,
-0.010931429453194141,
-0.06452661752700806,
-0.03372982144355774,
-0.06132388487458229,
-0.07592160254716873,
0.03994986414909363,
-0.037320252507925034,
0.035466041415929794,
-0.032583583146333694,
-0.03634257614612579,
-0.034050095826387405,
0.019536664709448814,
-0.05212024599313736,
-0.04072526469826698,
0.005638493690639734,
-0.02177857607603073,
-0.0018089113291352987,
0.011774253100156784,
0.015710242092609406,
0.010577443055808544,
-0.0054783569648861885,
0.09372204542160034,
0.026835521683096886,
-0.0035588250029832125,
0.026447821408510208,
-0.047973550856113434,
-0.007496920879930258,
0.00793518964201212,
0.04406284540891647,
-0.02894258126616478,
0.029262855648994446,
-0.0006373857613652945,
0.012440084479749203,
-0.00331651302985847,
-0.03566831722855568,
0.00022334839741233736,
-0.014833705499768257,
-0.04443369060754776,
-0.018727552145719528,
-0.03239816054701805,
-0.027627775445580482,
-0.0736965462565422,
-0.008495667949318886,
-0.028656020760536194,
0.04197264462709427,
0.03866877406835556,
-0.012136667966842651,
-0.065504290163517,
0.029144858941435814,
0.012279948219656944,
-0.04166922718286514,
0.042208634316921234,
-0.03512891009449959,
0.010189743712544441,
-0.046557605266571045,
0.021846001967787743,
-0.0029793833382427692,
0.02607697993516922,
0.017530743032693863,
0.048951227217912674,
-0.017598168924450874,
0.025925271213054657,
0.05174940451979637,
-0.09547512233257294,
-0.06422320008277893,
-0.047973550856113434,
-0.01746331714093685,
0.05319906026124954,
-0.018137576058506966,
-0.0003676820488180965,
-0.012187236919999123,
0.014336438849568367,
0.006089404691010714,
-0.0801694318652153,
0.01495170034468174,
-0.015406825579702854,
0.037893373519182205,
0.00990318413823843,
-0.03485920652747154,
-0.041837792843580246,
0.032482441514730453,
-0.002581148874014616,
0.07524733990430832,
0.08023685961961746,
-0.03175761550664902,
0.055322978645563126,
-0.010543730109930038,
-0.024762174114584923,
-0.005335076712071896,
0.08084369450807571,
0.029667410999536514,
-0.01926696114242077,
-0.007783480919897556,
-0.03560089319944382,
-0.01207767054438591,
0.013426189310848713,
0.02471160516142845,
-0.02371707186102867,
0.00018700161308515817,
0.0003049969964195043,
0.05636807903647423,
0.002638039644807577,
-0.024408187717199326,
0.045647356659173965,
0.05161455273628235,
-0.03708426281809807,
-0.00029946595896035433,
0.03372982144355774,
-0.03802822530269623,
-0.03823050484061241,
-0.007610701955854893,
0.05353619158267975,
0.009928468614816666,
-0.05737946927547455,
-0.030763082206249237,
-0.01255808025598526,
-0.027138937264680862,
0.0037821733858436346,
-0.02268882654607296,
-0.007694984786212444,
-0.005107514560222626,
-0.017480172216892242,
0.009220496751368046,
0.0058660563081502914,
0.034016381949186325,
0.04396170750260353,
-0.014336438849568367,
-0.018238713964819908,
-0.03270157799124718,
0.03226330876350403,
-0.03994986414909363,
-0.0482095405459404,
-0.03994986414909363,
0.039848726242780685,
0.048479244112968445,
-0.09183412045240402,
-0.034522078931331635,
-0.043725717812776566,
0.0036536427214741707,
0.013628466986119747,
0.07012297213077545,
-0.029583128169178963,
0.041298381984233856,
0.0730222836136818,
0.004001307766884565,
-0.01207767054438591,
-0.025874702259898186,
0.030088823288679123,
0.019671516492962837,
-0.022891104221343994,
-0.05067059025168419,
0.03462321683764458,
0.02211570553481579,
-0.038297928869724274,
-0.009970610029995441,
-0.05299678444862366,
-0.009675621055066586,
-0.016569923609495163,
-0.004589177668094635,
-0.04059041291475296,
-0.03536490350961685,
-0.02697037346661091,
0.0053519331850111485,
-0.005819700658321381,
0.023902492597699165,
0.044737108051776886,
0.0016930230194702744,
0.027138937264680862,
-0.06992068886756897,
0.0035820025950670242,
0.016662633046507835,
0.007458993699401617,
-0.019148964434862137,
0.018660126253962517,
-0.05458129197359085,
-0.006982798222452402,
0.025284724310040474,
0.022840535268187523,
0.0061989715322852135,
-0.004319473635405302,
-0.012928922660648823,
-0.039815012365579605,
0.00039375689812004566,
0.11017397046089172,
0.01494327187538147,
0.054850995540618896,
-0.02085147053003311
] |
23,248 | cov_core | CovController | Base class for different plugin implementations. | class CovController(object):
"""Base class for different plugin implementations."""
def __init__(self, cov_source, cov_report, cov_config, config=None, nodeid=None):
"""Get some common config used by multiple derived classes."""
self.cov_source = cov_source
self.cov_report = cov_report
self.cov_config = cov_config
self.config = config
self.nodeid = nodeid
self.cov = None
self.node_descs = set()
self.failed_slaves = []
self.topdir = os.getcwd()
self.cov_data_file = '.coverage'
def set_env(self):
"""Put info about coverage into the env so that subprocesses can activate coverage."""
if self.cov_source is None:
os.environ['COV_CORE_SOURCE'] = ''
else:
os.environ['COV_CORE_SOURCE'] = UNIQUE_SEP.join(self.cov_source)
os.environ['COV_CORE_DATA_FILE'] = self.cov_data_file
os.environ['COV_CORE_CONFIG'] = self.cov_config
@staticmethod
def unset_env():
"""Remove coverage info from env."""
os.environ.pop('COV_CORE_SOURCE', None)
os.environ.pop('COV_CORE_DATA_FILE', None)
os.environ.pop('COV_CORE_CONFIG', None)
@staticmethod
def get_node_desc(platform, version_info):
"""Return a description of this node."""
return 'platform %s, python %s' % (platform, '%s.%s.%s-%s-%s' % version_info[:5])
@staticmethod
def sep(stream, s, txt):
if hasattr(stream, 'sep'):
stream.sep(s, txt)
else:
sep_total = max((70 - 2 - len(txt)), 2)
sep_len = sep_total // 2
sep_extra = sep_total % 2
out = '%s %s %s\n' % (s * sep_len, txt, s * (sep_len + sep_extra))
stream.write(out)
def summary(self, stream):
"""Produce coverage reports."""
# Output coverage section header.
if len(self.node_descs) == 1:
self.sep(stream, '-', 'coverage: %s' % ''.join(self.node_descs))
else:
self.sep(stream, '-', 'coverage')
for node_desc in sorted(self.node_descs):
self.sep(stream, ' ', '%s' % node_desc)
# Produce terminal report if wanted.
if 'term' in self.cov_report or 'term-missing' in self.cov_report:
show_missing = 'term-missing' in self.cov_report
self.cov.report(show_missing=show_missing, ignore_errors=True, file=stream)
# Produce annotated source code report if wanted.
if 'annotate' in self.cov_report:
self.cov.annotate(ignore_errors=True)
stream.write('Coverage annotated source written next to source\n')
# Produce html report if wanted.
if 'html' in self.cov_report:
self.cov.html_report(ignore_errors=True)
stream.write('Coverage HTML written to dir %s\n' % self.cov.config.html_dir)
# Produce xml report if wanted.
if 'xml' in self.cov_report:
self.cov.xml_report(ignore_errors=True)
stream.write('Coverage XML written to file %s\n' % self.cov.config.xml_output)
# Report on any failed slaves.
if self.failed_slaves:
self.sep(stream, '-', 'coverage: failed slaves')
stream.write('The following slaves failed to return coverage data, '
'ensure that pytest-cov is installed on these slaves.\n')
for node in self.failed_slaves:
stream.write('%s\n' % node.gateway.id)
| (cov_source, cov_report, cov_config, config=None, nodeid=None) | [
-0.018405258655548096,
-0.047114476561546326,
-0.034850526601076126,
0.017079930752515793,
-0.003070654347538948,
-0.017042597755789757,
-0.03574652224779129,
0.04285849258303642,
0.017070597037672997,
-0.032405201345682144,
-0.00491864699870348,
0.002881655003875494,
0.02434123493731022,
0.024117236956954002,
-0.018806591629981995,
0.008773298002779484,
0.07309836894273758,
-0.03796784579753876,
0.0874343141913414,
0.00597797567024827,
-0.03716518357396126,
0.007545969448983669,
0.029306547716259956,
-0.017705261707305908,
-0.05032512918114662,
0.01528793852776289,
0.012049284763634205,
-0.07552503049373627,
0.048607803881168365,
-0.03815451264381409,
-0.09288495779037476,
-0.05413311347365379,
-0.06219708174467087,
0.03057587705552578,
0.055029112845659256,
-0.015119939111173153,
-0.009417295455932617,
-0.005487977992743254,
-0.10647423565387726,
0.06473574042320251,
-0.03641851991415024,
-0.008474632166326046,
-0.013094614259898663,
-0.05249045416712761,
-0.014765273779630661,
0.011974618770182133,
-0.016771933063864708,
0.07119438052177429,
0.017145264893770218,
-0.08258099853992462,
0.01900259032845497,
-0.01588526926934719,
0.0006358307437039912,
0.011041289195418358,
0.03483185917139053,
0.03483185917139053,
0.05674643814563751,
-0.005049312952905893,
0.02353857085108757,
0.019767919555306435,
0.00018958256987389177,
0.04278382658958435,
0.034533195197582245,
0.0008814131142571568,
0.02135458029806614,
-0.0014548274921253324,
-0.03227453678846359,
0.02697322517633438,
0.046181146055459976,
0.008777964860200882,
0.015343938022851944,
-0.06559440493583679,
0.029791880398988724,
0.014923939481377602,
0.10035159438848495,
-0.014410608448088169,
-0.09796227514743805,
0.003334319917485118,
0.06566906720399857,
0.011143955402076244,
-0.005819309968501329,
-0.010826623067259789,
0.026991890743374825,
-0.07014904916286469,
0.07634636014699936,
-0.004409982357174158,
0.020589251071214676,
-0.02172791212797165,
0.06925305724143982,
0.03964783996343613,
0.0031313207000494003,
0.03662385419011116,
-0.0017488262383267283,
0.018591925501823425,
0.044127821922302246,
0.02322123944759369,
0.026805225759744644,
0.006458640564233065,
-0.05237845703959465,
0.005058646202087402,
-0.045061152428388596,
0.07119438052177429,
-0.010574623942375183,
0.022511908784508705,
-0.03871450945734978,
-0.013477278873324394,
-0.045173149555921555,
0.0786236822605133,
0.030239878222346306,
0.025143899023532867,
-0.06705039739608765,
-0.02391190268099308,
0.009734627790749073,
-0.08989830315113068,
0.030351877212524414,
-0.03585852310061455,
-0.05659710615873337,
0.009193296544253826,
-0.04513581842184067,
0.00491864699870348,
0.0029096549842506647,
0.026375893503427505,
-0.010574623942375183,
0.004407648928463459,
-0.00894129741936922,
-0.009533961303532124,
-0.014419942162930965,
0.032349202781915665,
0.02510656602680683,
0.0008819964714348316,
0.04793580621480942,
-0.0701117143034935,
0.008917964063584805,
0.0017149930354207754,
0.07156771421432495,
0.015166605822741985,
-0.05245312303304672,
-0.015138605609536171,
0.0050726463086903095,
-0.016165267676115036,
0.05596243962645531,
-0.043493159115314484,
-0.002774322172626853,
-0.06387707591056824,
0.008791964501142502,
0.053834449499845505,
-0.011591953225433826,
-0.04588248208165169,
-0.04980246722698212,
-0.029101215302944183,
0.008847963996231556,
-0.023202573880553246,
-0.06559440493583679,
-0.007335970643907785,
0.013159946538507938,
0.00019045756198465824,
-0.016025269404053688,
0.010257291607558727,
-0.007545969448983669,
0.01232928317040205,
-0.04129049926996231,
-0.022810574620962143,
0.014737273566424847,
0.0024266568943858147,
-0.0017033264739438891,
0.01052795723080635,
-0.04177583009004593,
-0.048346471041440964,
-0.06406374275684357,
0.005935976281762123,
-0.07138104736804962,
-0.043941155076026917,
-0.028223887085914612,
0.03737051784992218,
0.009053296409547329,
0.032591868191957474,
-0.02148524671792984,
0.011731952428817749,
-0.054767780005931854,
-0.036213185638189316,
-0.03460786119103432,
-0.022997241467237473,
-0.03143453970551491,
0.006472640670835972,
0.006332641001790762,
0.036157187074422836,
0.0789223462343216,
-0.01668793335556984,
0.04573315009474754,
0.01223595067858696,
0.009958626702427864,
-0.0010867456439882517,
0.03890117630362511,
0.04177583009004593,
0.1005009263753891,
-0.046554479748010635,
0.026562560349702835,
-0.020887915045022964,
-0.006145975086838007,
0.02658122591674328,
0.0038873176090419292,
0.04017050564289093,
0.05525311082601547,
-0.043679822236299515,
-0.0018328259466215968,
0.05260245501995087,
-0.03585852310061455,
0.05835176631808281,
-0.03483185917139053,
0.03722118213772774,
-0.019226588308811188,
-0.017415929585695267,
0.04278382658958435,
0.007275303825736046,
0.043754491955041885,
-0.002578323008492589,
0.031098540872335434,
0.032479867339134216,
-0.024079902097582817,
0.028037220239639282,
0.07279970496892929,
0.0050539798103272915,
-0.028615884482860565,
0.014933273196220398,
-0.04830913990736008,
0.021895911544561386,
0.013682611286640167,
-0.013327945955097675,
0.04020783677697182,
-0.03070654347538948,
0.01730393059551716,
0.010313292033970356,
0.009575961157679558,
0.026935892179608345,
-0.06141308695077896,
-0.030986541882157326,
0.019525254145264626,
0.07082104682922363,
-0.04998913034796715,
0.008418632671236992,
-0.07283703982830048,
0.007802635431289673,
0.057642433792352676,
0.008511966094374657,
0.0033809863962233067,
-0.0335811972618103,
0.028410552069544792,
0.002431323518976569,
0.0490558035671711,
0.05387178435921669,
0.05760510265827179,
-0.05820243060588837,
-0.054095782339572906,
-0.02708522416651249,
-0.015642603859305382,
-0.007741968613117933,
0.0038966508582234383,
-0.036399852484464645,
0.04323182627558708,
-0.007751301862299442,
-0.023501237854361534,
0.018563924357295036,
0.0008417466306127608,
0.03367453068494797,
-0.03697851672768593,
0.009459295310080051,
0.014027943834662437,
-0.035149190574884415,
-0.023071907460689545,
0.01652926579117775,
-0.05771709978580475,
0.0786236822605133,
-0.018834590911865234,
0.035391855984926224,
-0.06593040376901627,
-0.019133256748318672,
-0.05555177479982376,
-0.009403295814990997,
-0.03289053589105606,
0.01572660356760025,
0.04244782775640488,
0.036586519330739975,
-0.011451954022049904,
-0.037650514394044876,
0.01783592812716961,
-0.058575764298439026,
-0.02447190135717392,
0.017415929585695267,
-0.0074106366373598576,
0.006281307898461819,
-0.05573844164609909,
0.03804251179099083,
0.004279315937310457,
-0.02217590995132923,
0.041253168135881424,
0.022829242050647736,
-0.0639890730381012,
0.03483185917139053,
-0.018489258363842964,
-0.0011059954995289445,
-0.03038921020925045,
-0.01148928701877594,
-0.04326915740966797,
-0.023743905127048492,
-0.003835984505712986,
0.046927809715270996,
0.023743905127048492,
-0.07160504162311554,
0.0037029851227998734,
-0.0039479839615523815,
0.015157272107899189,
0.024677233770489693,
0.0586504302918911,
0.02510656602680683,
0.002585322828963399,
0.011470620520412922,
0.0030659877229481936,
0.003630652092397213,
0.04420248791575432,
0.050661128014326096,
-0.047039810568094254,
-0.015511937439441681,
0.029381215572357178,
0.03274120017886162,
0.0717170462012291,
0.036269187927246094,
0.03244253620505333,
0.04401582106947899,
-0.05835176631808281,
0.005226645618677139,
-0.024434568360447884,
-0.028429219499230385,
0.0050633130595088005,
-0.0066313063725829124,
0.03201320394873619,
0.0005777893238700926,
-0.028503885492682457,
-0.030165212228894234,
0.019338589161634445,
0.007130637764930725,
0.041887830942869186,
0.02286657504737377,
-0.021951911970973015,
-0.0027463221922516823,
-0.0183959249407053,
-0.043679822236299515,
0.0535731166601181,
0.004316649399697781,
-0.021205248311161995,
-0.0052593122236430645,
0.03720251843333244,
0.051893122494220734,
0.035093192011117935,
0.060255758464336395,
0.015278604812920094,
-0.01043462473899126,
0.04913046956062317,
-0.07421837002038956,
0.016034601256251335,
-0.05181845650076866,
0.0031336541287600994,
0.025946561247110367,
0.0036329852882772684,
0.033655863255262375,
-0.03296520188450813,
-0.03051987662911415,
0.0031919870525598526,
0.01695859804749489,
0.024882566183805466,
0.003950317390263081,
-0.009725294075906277,
-0.014662607572972775,
-0.00477164750918746,
-0.06951438635587692,
0.007055971771478653,
-0.037781182676553726,
-0.01567060314118862,
-0.040021173655986786,
-0.01403727661818266,
-0.024266568943858147,
-0.012291950173676014,
0.020626584067940712,
-0.044053155928850174,
-0.0016578265931457281,
-0.04927980154752731,
-0.03302120044827461,
0.03419719636440277,
0.02971721440553665,
-0.01858259178698063,
0.0022469910327345133,
0.02154124714434147,
0.001015579211525619,
-0.05237845703959465,
-0.017705261707305908,
-0.01791059412062168,
-0.05581310763955116,
0.029567880555987358,
0.0479731410741806,
0.021895911544561386,
-0.030034545809030533,
0.01687459833920002,
-0.01868525892496109,
0.009893293492496014,
0.03020254522562027,
0.007116638123989105,
-0.04285849258303642,
0.06197308376431465,
-0.03447719290852547,
0.02404256910085678,
0.01497993990778923,
-0.006887972354888916,
-0.0080639673396945,
0.021877245977520943,
0.04080516844987869,
-0.07608502358198166,
-0.018069259822368622,
-0.001342827919870615,
-0.013411945663392544,
0.05529044196009636,
0.003992317244410515,
-0.001819992670789361,
0.0033203200437128544,
0.05487977713346481,
0.019095923751592636,
0.08467166125774384,
-0.024919899180531502,
-0.0028793218079954386,
-0.020719915628433228,
-0.0013253280194476247,
-0.0015563271008431911,
0.0054459781385958195,
0.01164795272052288,
-0.052527789026498795,
0.010602624155580997,
0.0038989842869341373,
0.0003937483998015523,
-0.02964254654943943,
0.0034183196257799864,
0.05715710297226906,
0.07515169680118561,
-0.061935748904943466,
0.015147939324378967,
0.017770595848560333,
0.009225962683558464,
-0.03262920305132866,
0.04606914892792702,
-0.02086924947798252,
-0.05655977129936218,
-0.02335190586745739,
-0.044874485582113266,
-0.04502381756901741,
0.02516256459057331,
-0.05540244281291962,
-0.025199897587299347,
-0.008245966397225857,
-0.0029189882334321737,
0.015894602984189987,
0.05342378467321396,
0.039274509996175766,
-0.0275892224162817,
0.002608656184747815,
0.0052406457252800465,
0.007863301783800125,
-0.019394587725400925,
-0.009669294580817223,
0.04494915157556534,
0.060255758464336395,
0.03348786383867264,
-0.0286532174795866,
-0.0029236548580229282,
-0.0058986428193748,
0.03537319228053093,
-0.03809851408004761,
-0.006178641691803932,
0.011031955480575562,
0.009939960204064846,
-0.08011700958013535,
-0.05155712366104126,
-0.05473044514656067,
0.0013941610231995583,
-0.030967874452471733,
0.022399909794330597,
0.049541134387254715,
0.0006614973535761237,
-0.027197223156690598,
-0.07515169680118561,
0.07608502358198166,
-0.041999831795692444,
-0.012945281341671944,
-0.02428523451089859,
-0.006509973667562008,
-0.021933244541287422,
-0.05319978669285774,
-0.01658526621758938,
-0.031975872814655304,
0.05614910647273064,
0.0235945712774992,
0.0042863162234425545,
0.005987309385091066,
-0.06817039102315903,
0.023426571860909462,
0.03890117630362511,
-0.009412628598511219,
-0.011853285133838654,
0.025573229417204857,
-0.01889992319047451,
0.002848988398909569,
0.02547989785671234,
-0.02988521195948124,
0.009141962975263596,
0.019133256748318672,
0.03725851699709892,
-0.029754547402262688,
-0.031919870525598526,
0.011563953012228012,
0.008992630057036877,
-0.020813249051570892,
0.017210597172379494,
0.02678655833005905,
0.022082578390836716,
0.004461315460503101,
-0.03587719053030014,
0.03391719609498978,
0.014242609031498432,
0.024938566610217094,
0.057194437831640244,
-0.003037987742573023,
0.03987183794379234,
-0.006626639980822802,
0.07279970496892929,
-0.03723984956741333,
-0.005819309968501329,
-0.024191902950406075,
0.08071434497833252,
0.03875184431672096,
0.044874485582113266,
0.024994565173983574,
-0.005935976281762123,
0.055141109973192215,
-0.03953583911061287,
-0.004020316991955042,
-0.002323990687727928,
0.003980650566518307,
-0.0005448311567306519,
-0.002970321336761117,
-0.025386564433574677,
0.06189841777086258,
-0.031733203679323196,
-0.01716393046081066,
-0.00811530090868473,
0.03399186208844185,
0.0033693197183310986,
0.015017272904515266,
0.031975872814655304,
0.07026105374097824,
0.017210597172379494,
-0.00477164750918746,
-0.016949264332652092,
0.06649039685726166,
0.05222912132740021,
0.021130582317709923,
0.006192641798406839,
-0.04233583062887192,
-0.07287437468767166,
0.013439945876598358,
0.04644247889518738,
-0.0024359901435673237,
0.041999831795692444,
0.007032638415694237,
-0.08041567355394363,
0.02079458348453045,
-0.008469966240227222,
-0.04438915476202965,
0.010789290070533752,
-0.10386091470718384,
0.015502603724598885,
-0.0039199842140078545,
0.08302900195121765,
-0.00001963273280125577,
-0.019011924043297768,
-0.03242386877536774,
-0.004757647402584553,
0.013990609906613827,
-0.032255869358778,
-0.0748903676867485,
-0.011330621317029,
-0.014522608369588852,
-0.0017523262649774551,
0.031546540558338165,
0.017873261123895645,
-0.0026716559659689665,
-0.02249324321746826,
-0.03107987530529499,
-0.04838380590081215,
0.021634578704833984,
0.03794918209314346,
-0.021821245551109314,
0.01080795656889677,
0.044613152742385864,
-0.03964783996343613,
-0.04700247570872307,
-0.01596926897764206,
0.048794470727443695,
0.012590616010129452,
0.008707964792847633,
0.026562560349702835,
-0.014989272691309452,
-0.021933244541287422,
0.006715306080877781,
0.05536511167883873,
-0.004433315247297287,
0.03725851699709892,
0.004654981195926666,
-0.015707936137914658,
-0.03470119461417198,
-0.03483185917139053,
-0.05069846287369728,
-0.004260649438947439,
-0.007615969516336918,
0.001146828755736351,
0.04621848091483116,
-0.013607945293188095,
-0.036213185638189316,
-0.0054926443845033646,
-0.07082104682922363,
0.038639843463897705,
0.008563298732042313,
-0.04513581842184067,
-0.03488785773515701,
0.010630623437464237,
0.040319837629795074,
-0.04700247570872307,
0.024397235363721848,
-0.05435711517930031,
0.01245061680674553,
-0.06951438635587692,
0.016911931335926056,
0.010201292112469673,
-0.0012716614874079823,
0.004983979742974043,
0.03611985594034195,
-0.030314544215798378,
-0.008147967047989368,
0.010565291158854961,
-0.08138633519411087,
-0.07242637127637863,
-0.051295794546604156,
0.030687876045703888,
0.03150920569896698,
-0.014643941074609756,
-0.005035312846302986,
0.03961050882935524,
-0.03462652862071991,
0.017985260114073753,
-0.05375978350639343,
0.026450559496879578,
-0.0021174915600568056,
0.02908254973590374,
0.012842615135014057,
0.011097288690507412,
-0.024434568360447884,
0.05991975963115692,
0.05219179019331932,
-0.021970577538013458,
0.05185579136013985,
-0.02932521514594555,
0.11058088392019272,
-0.007648635655641556,
-0.01410260982811451,
0.008245966397225857,
0.10363691300153732,
-0.0006614973535761237,
-0.036586519330739975,
-0.005553310737013817,
-0.028298553079366684,
-0.04774913936853409,
0.031546540558338165,
-0.0012144951615482569,
-0.028037220239639282,
-0.02777588739991188,
0.045994482934474945,
0.04577048122882843,
-0.02622656151652336,
-0.027757221832871437,
0.05372244864702225,
0.03132253885269165,
0.02198924496769905,
-0.048234473913908005,
-0.010826623067259789,
-0.05853842943906784,
-0.01006129290908575,
0.034029196947813034,
0.05939709395170212,
-0.01783592812716961,
-0.032610535621643066,
0.01357994507998228,
-0.02391190268099308,
-0.06790906190872192,
-0.041999831795692444,
-0.045546483248472214,
0.004811313934624195,
-0.05148245766758919,
-0.01908659003674984,
0.02727188915014267,
-0.012506616301834583,
0.026543892920017242,
0.018358591943979263,
-0.019693253561854362,
0.07589836418628693,
-0.04465048760175705,
0.03718385100364685,
0.008913297206163406,
0.029175883159041405,
-0.019823919981718063,
-0.01716393046081066,
0.029997212812304497,
-0.04140250012278557,
0.009743960574269295,
-0.009043963626027107,
-0.004087983630597591,
0.01395327690988779,
0.02366923727095127,
-0.019133256748318672,
0.01080795656889677,
0.02452790178358555,
0.011143955402076244,
0.01298261433839798,
-0.012506616301834583,
0.056261107325553894,
-0.002715989015996456,
-0.02217590995132923,
-0.02553589642047882,
0.027869220823049545,
-0.02348257228732109,
-0.03692251816391945,
-0.01105062197893858,
-0.013374612666666508,
-0.039087843149900436,
-0.023202573880553246,
0.01980525441467762,
-0.036903850734233856,
-0.06410107761621475,
0.006383974105119705,
-0.029735879972577095,
-0.014783940277993679,
0.012534616515040398,
0.06406374275684357,
0.05555177479982376,
0.046554479748010635,
-0.023090573027729988,
0.03294653445482254,
-0.012861281633377075,
0.007251970935612917,
-0.019263923168182373,
-0.007494636345654726,
-0.0351865254342556,
0.003117320826277137,
0.012338616885244846,
0.006668639834970236,
-0.014466607943177223,
0.03373052924871445,
-0.06790906190872192,
-0.02017858624458313,
0.017201263457536697,
0.10505557805299759,
0.04875713586807251,
0.036213185638189316,
0.04110383614897728
] |
23,253 | cov_core | summary | Produce coverage reports. | def summary(self, stream):
"""Produce coverage reports."""
# Output coverage section header.
if len(self.node_descs) == 1:
self.sep(stream, '-', 'coverage: %s' % ''.join(self.node_descs))
else:
self.sep(stream, '-', 'coverage')
for node_desc in sorted(self.node_descs):
self.sep(stream, ' ', '%s' % node_desc)
# Produce terminal report if wanted.
if 'term' in self.cov_report or 'term-missing' in self.cov_report:
show_missing = 'term-missing' in self.cov_report
self.cov.report(show_missing=show_missing, ignore_errors=True, file=stream)
# Produce annotated source code report if wanted.
if 'annotate' in self.cov_report:
self.cov.annotate(ignore_errors=True)
stream.write('Coverage annotated source written next to source\n')
# Produce html report if wanted.
if 'html' in self.cov_report:
self.cov.html_report(ignore_errors=True)
stream.write('Coverage HTML written to dir %s\n' % self.cov.config.html_dir)
# Produce xml report if wanted.
if 'xml' in self.cov_report:
self.cov.xml_report(ignore_errors=True)
stream.write('Coverage XML written to file %s\n' % self.cov.config.xml_output)
# Report on any failed slaves.
if self.failed_slaves:
self.sep(stream, '-', 'coverage: failed slaves')
stream.write('The following slaves failed to return coverage data, '
'ensure that pytest-cov is installed on these slaves.\n')
for node in self.failed_slaves:
stream.write('%s\n' % node.gateway.id)
| (self, stream) | [
-0.050358548760414124,
-0.018836000934243202,
0.044332440942525864,
-0.0031496118754148483,
0.009506101720035076,
-0.034200821071863174,
-0.03291454538702965,
-0.00890260934829712,
0.022219080477952957,
-0.008832128718495369,
-0.01634274236857891,
0.044755324721336365,
0.05409403517842293,
0.034482743591070175,
0.0020109061151742935,
0.04073791950941086,
0.04207705333828926,
-0.07618977129459381,
0.03446512296795845,
0.07950237393379211,
-0.020421819761395454,
0.03236832097172737,
0.002601183019578457,
0.005479884333908558,
-0.039116859436035156,
0.029848629608750343,
0.0328793041408062,
-0.08739622682332993,
-0.0023589052725583315,
-0.006321249064058065,
-0.07745842635631561,
-0.06382039189338684,
-0.06734442710876465,
0.005325707606971264,
0.0356985367834568,
0.044156238436698914,
-0.010906907729804516,
0.004187001381069422,
-0.06621673703193665,
0.08027765899896622,
-0.005334517452865839,
0.023963481187820435,
-0.06343274563550949,
-0.04958325996994972,
-0.022730067372322083,
-0.0021034120582044125,
0.005854313727468252,
0.032526902854442596,
-0.013294446282088757,
-0.04204181209206581,
0.021056147292256355,
0.019734632223844528,
-0.016915397718548775,
-0.02209573984146118,
0.04581253603100777,
-0.006316843908280134,
0.03975118696689606,
-0.013294446282088757,
0.04810316488146782,
0.03307312726974487,
-0.014237127266824245,
0.04789172112941742,
0.03622714430093765,
-0.01641322299838066,
-0.023082470521330833,
0.014325227588415146,
-0.012527966871857643,
-0.02050992101430893,
0.027047017589211464,
-0.00020648680219892412,
0.038517773151397705,
-0.013479458168148994,
0.01980511285364628,
0.052050091326236725,
0.033918898552656174,
-0.009250608272850513,
-0.11798490583896637,
0.0007125171250663698,
0.044402919709682465,
-0.04746883735060692,
-0.002139753894880414,
0.017153270542621613,
0.0332317091524601,
-0.07647169381380081,
0.05377687141299248,
-0.03509945049881935,
0.04729263484477997,
-0.008228636346757412,
0.028950000181794167,
0.03957498446106911,
0.011752678081393242,
0.04200657084584236,
0.017417574301362038,
-0.015972716733813286,
0.0076031191274523735,
0.043909553438425064,
-0.011611715890467167,
0.004867582116276026,
-0.050358548760414124,
0.027011776342988014,
-0.026518410071730614,
0.08690285682678223,
0.009647062979638577,
0.03693195432424545,
-0.07122087478637695,
-0.00990255642682314,
-0.004607683978974819,
0.05360066890716553,
0.012915611267089844,
0.02776944637298584,
-0.027963267639279366,
-0.03524041175842285,
0.014122596010565758,
-0.07428678870201111,
0.045072488486766815,
-0.0361919030547142,
-0.002398550743237138,
-0.012193183414638042,
-0.0679435133934021,
-0.004660544451326132,
0.03152254968881607,
0.006589957512915134,
0.019734632223844528,
-0.004239862319082022,
-0.009699923917651176,
-0.004660544451326132,
-0.034623704850673676,
0.02100328542292118,
0.05529220774769783,
0.021338069811463356,
0.0701284259557724,
-0.07675362378358841,
0.0069335512816905975,
0.019681770354509354,
0.07086846977472305,
-0.005920389201492071,
0.004642924293875694,
-0.0342889204621315,
0.03021865524351597,
0.037601519376039505,
0.025161655619740486,
-0.05649038404226303,
-0.044755324721336365,
-0.06833115965127945,
0.029055720195174217,
0.04190085083246231,
-0.019311746582388878,
-0.04894893243908882,
-0.02664175257086754,
-0.038306329399347305,
0.02886189892888069,
-0.04387431591749191,
-0.014827404171228409,
0.014668822288513184,
0.012607257813215256,
-0.020069414749741554,
0.012633687816560268,
0.0039513311348855495,
-0.010845237411558628,
0.03672051057219505,
-0.025232136249542236,
0.009347519837319851,
0.035363756120204926,
0.02780468575656414,
-0.037742484360933304,
0.009188937954604626,
-0.05331874638795853,
-0.022941509261727333,
-0.03887017443776131,
-0.06339750438928604,
-0.07428678870201111,
-0.043944794684648514,
-0.04249993711709976,
0.04753931611776352,
0.010545693337917328,
0.00214746268466115,
-0.013787811622023582,
0.07206664234399796,
-0.0725952535867691,
-0.0649833232164383,
-0.030201034620404243,
-0.025161655619740486,
-0.0172854233533144,
0.01655418425798416,
-0.02405158244073391,
0.011382653377950191,
0.06410231441259384,
-0.06410231441259384,
0.04218277335166931,
-0.016703955829143524,
0.013505888171494007,
0.015347199514508247,
-0.019188405945897102,
0.03192781284451485,
0.11312172561883926,
-0.08225112408399582,
0.0008325547678396106,
-0.016219399869441986,
0.013179915025830269,
-0.022130979225039482,
-0.0017928560264408588,
0.07618977129459381,
0.02086232416331768,
-0.015056466683745384,
0.023681556805968285,
0.04954802244901657,
-0.031046804040670395,
0.06473664194345474,
-0.028068989515304565,
0.0371081568300724,
-0.006246363278478384,
0.007585498970001936,
0.030024832114577293,
-0.007391676772385836,
0.0182016734033823,
0.0027002966962754726,
-0.00463851960375905,
-0.019558429718017578,
-0.03312598913908005,
0.0340774804353714,
0.06586433202028275,
-0.05056999251246452,
-0.011541235260665417,
0.02341725490987301,
-0.057618074119091034,
0.035539958626031876,
0.03982166573405266,
-0.03219211846590042,
0.03950450196862221,
-0.05039379000663757,
0.006678058300167322,
0.010765946470201015,
0.006761754397302866,
0.04958325996994972,
-0.10825855284929276,
-0.0012003765441477299,
-0.027152737602591515,
0.0741458311676979,
-0.07562592625617981,
-0.01577889546751976,
-0.09655873477458954,
-0.015928667038679123,
0.039293061941862106,
0.020457059144973755,
-0.0010819907765835524,
-0.0734410211443901,
-0.008290307596325874,
-0.007272740360349417,
0.02096804603934288,
0.04771551862359047,
0.03191019594669342,
-0.04782124236226082,
-0.025637401267886162,
-0.05081667751073837,
0.00783658679574728,
-0.037918683141469955,
-0.007655979599803686,
-0.05113384127616882,
0.04035027325153351,
-0.03331981226801872,
0.006519476417452097,
-0.016466083005070686,
-0.0009212064323946834,
0.022659584879875183,
-0.014889074489474297,
0.02433350495994091,
-0.018836000934243202,
-0.045178208500146866,
-0.02121472917497158,
0.017725927755236626,
-0.031786851584911346,
0.03887017443776131,
-0.0010026998352259398,
0.011365033686161041,
-0.037143394351005554,
-0.012034601531922817,
-0.01395520381629467,
-0.006387325003743172,
-0.0371081568300724,
0.03191019594669342,
0.028315672650933266,
0.044825807213783264,
-0.008453293703496456,
-0.037672001868486404,
0.027822306379675865,
-0.04295806214213371,
-0.0011739463079720736,
0.02054516039788723,
-0.02496783249080181,
-0.005396188236773014,
-0.02047467976808548,
0.029460985213518143,
-0.05331874638795853,
-0.05462263897061348,
0.04856128990650177,
0.052120570093393326,
-0.013532319106161594,
0.003856622613966465,
-0.0339365191757679,
0.016148919239640236,
-0.022888649255037308,
-0.02033371850848198,
0.025848843157291412,
-0.025989804416894913,
-0.0071405889466404915,
0.027681345120072365,
0.0001521119411336258,
-0.06797875463962555,
-0.006946766283363104,
0.010193289257586002,
-0.03198067471385002,
0.03453560546040535,
0.09000401198863983,
0.007352031301707029,
0.004202419426292181,
0.017549725249409676,
-0.0343594029545784,
0.03256214037537575,
0.03014817275106907,
0.04782124236226082,
-0.038165368139743805,
-0.04341619089245796,
0.05007662624120712,
0.018395496532320976,
0.059098172932863235,
0.01509170699864626,
-0.01969939097762108,
0.04637638479471207,
-0.02748752199113369,
0.012660118751227856,
-0.035998083651065826,
-0.06160024181008339,
0.0706922709941864,
0.017047550529241562,
0.008867369033396244,
0.045883018523454666,
0.0005787136615253985,
0.007761701010167599,
-0.012105082161724567,
-0.020562781020998955,
0.04806792363524437,
0.015179808251559734,
0.0018578305607661605,
0.027117498219013214,
0.008197801187634468,
-0.02341725490987301,
0.0166510958224535,
-0.025884084403514862,
-0.011356223374605179,
0.02489735186100006,
0.046094462275505066,
0.058640047907829285,
0.026518410071730614,
0.033584114164114,
0.05497504398226738,
0.06607577204704285,
0.02776944637298584,
-0.06748539209365845,
-0.005889554042369127,
-0.011735057458281517,
0.01837787590920925,
0.014298797585070133,
0.017082789912819862,
0.028456633910536766,
-0.023822519928216934,
-0.015470541082322598,
-0.010316630825400352,
0.0711151510477066,
0.01816643215715885,
0.029302403330802917,
-0.01509170699864626,
-0.0344298854470253,
-0.02755800262093544,
-0.04242945834994316,
-0.03229783847928047,
-0.005211175885051489,
-0.014977175742387772,
-0.03397175669670105,
-0.014545480720698833,
-0.045918259769678116,
-0.029866250231862068,
0.027364181354641914,
-0.02191953733563423,
0.01383186224848032,
-0.029478605836629868,
-0.025196895003318787,
-0.009092026390135288,
0.026201248168945312,
-0.05046427249908447,
0.008382813073694706,
0.012607257813215256,
-0.03346077352762222,
-0.018959341570734978,
-0.04655258730053902,
-0.019188405945897102,
-0.038024406880140305,
0.057970479130744934,
0.06304509937763214,
-0.00026567967142909765,
-0.017021119594573975,
0.004792696330696344,
-0.05014710873365402,
0.0005671504186466336,
0.004411659203469753,
0.006519476417452097,
-0.0748506411910057,
0.037213876843452454,
-0.08464746922254562,
0.05310730263590813,
0.015981527045369148,
0.033584114164114,
-0.05694850906729698,
-0.00603932561352849,
0.06234028935432434,
-0.046023979783058167,
-0.012598447501659393,
-0.003200270002707839,
-0.0035372565034776926,
0.04080839827656746,
-0.017629016190767288,
0.037672001868486404,
0.003825787454843521,
0.045424893498420715,
0.052860621362924576,
0.0725247710943222,
-0.051909130066633224,
0.02058040164411068,
-0.025584539398550987,
0.023716798052191734,
0.018465977162122726,
0.006233148276805878,
0.012818700633943081,
-0.04662306606769562,
0.03187495470046997,
0.03686147183179855,
-0.02096804603934288,
-0.0735819861292839,
-0.010704275220632553,
0.04161892831325531,
0.05786475911736488,
-0.01257201749831438,
0.007920282892882824,
0.014739302918314934,
-0.0018490204820409417,
-0.012096271850168705,
0.059943944215774536,
0.004634114447981119,
-0.08464746922254562,
-0.012774650007486343,
-0.0175673458725214,
-0.0083431676030159,
-0.019276505336165428,
-0.03183971345424652,
-0.03989214822649956,
0.002398550743237138,
-0.016959449276328087,
0.04838508740067482,
0.02401634119451046,
0.011232881806790829,
-0.028809037059545517,
0.028456633910536766,
-0.02345249429345131,
-0.008418053388595581,
0.018642177805304527,
-0.014034494757652283,
-0.01696825958788395,
0.025989804416894913,
0.035504717379808426,
-0.007968738675117493,
-0.025795983150601387,
-0.009541342034935951,
0.0008666939102113247,
-0.05331874638795853,
-0.015470541082322598,
0.039469264447689056,
0.002565942704677582,
-0.09564248472452164,
-0.014087354764342308,
-0.05557413026690483,
0.028844278305768967,
-0.06988173723220825,
0.020844703540205956,
0.0362623855471611,
-0.008052434772253036,
0.0003345086006447673,
-0.037918683141469955,
0.04130176454782486,
-0.0342184416949749,
0.024069203063845634,
-0.02345249429345131,
0.015153377316892147,
-0.023205813020467758,
-0.05444644019007683,
-0.04785647988319397,
-0.02532023750245571,
0.05434071645140648,
0.022130979225039482,
-0.02450970746576786,
-0.051063358783721924,
-0.03397175669670105,
0.02868569642305374,
0.03272072225809097,
0.01787569932639599,
0.018976962193846703,
0.04711643233895302,
0.009470861405134201,
0.05553889274597168,
-0.03050057776272297,
-0.003039485542103648,
0.014985986053943634,
0.00010964449029415846,
0.02893237955868244,
-0.07037510722875595,
0.006338869221508503,
-0.02808661013841629,
0.027047017589211464,
-0.013074193149805069,
0.03291454538702965,
0.037742484360933304,
0.011365033686161041,
-0.005431428551673889,
-0.013030142523348331,
-0.008382813073694706,
0.057935237884521484,
-0.007277145516127348,
0.016043197363615036,
0.022201459854841232,
0.03643858805298805,
-0.02177857607603073,
0.013382546603679657,
-0.008717597462236881,
-0.012757029384374619,
-0.04620018228888512,
0.045037247240543365,
0.015514591708779335,
0.050675712525844574,
0.038235846906900406,
-0.007898258045315742,
0.0327383428812027,
-0.01962891034781933,
0.01637798175215721,
-0.0018765520071610808,
0.004222242161631584,
-0.023011989891529083,
-0.0021529688965529203,
0.019135544076561928,
0.07774034887552261,
-0.06826067715883255,
0.052649177610874176,
-0.003013055305927992,
0.022659584879875183,
-0.006246363278478384,
-0.011858399026095867,
0.04285234212875366,
0.08295593410730362,
0.07830420136451721,
-0.03354887291789055,
0.0045195831917226315,
0.04725739359855652,
0.038553010672330856,
0.025936944410204887,
0.009893746115267277,
-0.029601946473121643,
-0.010660224594175816,
0.008180180564522743,
0.035011351108551025,
0.01641322299838066,
0.025549300014972687,
0.022712446749210358,
-0.066322460770607,
0.0015142365591600537,
0.02748752199113369,
-0.043944794684648514,
0.026729853823781013,
-0.06360894441604614,
-0.006929146125912666,
-0.005704541690647602,
0.11833731085062027,
0.01976987160742283,
-0.010378302074968815,
-0.06248125433921814,
-0.022800548002123833,
0.026447929441928864,
-0.04725739359855652,
-0.04137224331498146,
0.007193449418991804,
-0.058851491659879684,
-0.05060523375868797,
0.015787705779075623,
0.02833329141139984,
0.007946712896227837,
-0.10706037282943726,
-0.0330907478928566,
-0.03953974321484566,
-0.00382138229906559,
0.010959768667817116,
-0.00031275866786018014,
-0.04285234212875366,
0.006224337965250015,
0.009514912031590939,
-0.058957211673259735,
0.05028806999325752,
0.012272474355995655,
0.023258673027157784,
-0.001289578853175044,
0.06117735803127289,
0.011303362436592579,
0.015928667038679123,
-0.009435621090233326,
0.05465788021683693,
0.004103305749595165,
0.06840164214372635,
-0.014113785699009895,
-0.02008703537285328,
-0.027892787009477615,
-0.0364033468067646,
0.023223431780934334,
-0.016748005524277687,
-0.059380095452070236,
0.003898470662534237,
0.038059648126363754,
-0.013867102563381195,
-0.04225325584411621,
-0.002495461842045188,
-0.05046427249908447,
0.058992452919483185,
-0.021760955452919006,
-0.037390079349279404,
0.016941828653216362,
-0.030201034620404243,
0.012580827809870243,
-0.010545693337917328,
0.012880370952188969,
-0.06988173723220825,
0.011488374322652817,
-0.06741490960121155,
-0.0010285795433446765,
0.044755324721336365,
-0.026483170688152313,
-0.02702939696609974,
0.017373524606227875,
0.007122968323528767,
0.007589904125779867,
-0.011752678081393242,
-0.045424893498420715,
-0.06713298708200455,
-0.04116080328822136,
-0.0016221603145822883,
0.007285955362021923,
-0.02993673086166382,
-0.003303788835182786,
0.05571509152650833,
-0.0068718804977834225,
0.031223006546497345,
0.022677205502986908,
0.0362623855471611,
0.001281870063394308,
0.034835148602724075,
0.00997303705662489,
-0.008946659974753857,
0.0003413915110286325,
0.014527860097587109,
0.05585605651140213,
0.012483916245400906,
0.04341619089245796,
-0.012140322476625443,
0.05314254388213158,
0.012801080010831356,
-0.03679099306464195,
-0.022412903606891632,
0.0725247710943222,
0.0644899532198906,
-0.004691380076110363,
-0.020069414749741554,
-0.029337644577026367,
-0.011461944319307804,
0.025302616879343987,
-0.0025417148135602474,
-0.02482687123119831,
-0.025408338755369186,
0.03242117911577225,
0.02727608010172844,
-0.0075414483435451984,
-0.057970479130744934,
0.038658734411001205,
0.04612969979643822,
-0.032068777829408646,
-0.07513256371021271,
-0.031363967806100845,
-0.02419254370033741,
-0.028897138312458992,
-0.04655258730053902,
0.04916037619113922,
-0.01186720933765173,
0.009285848587751389,
0.05441119894385338,
-0.011012629605829716,
-0.014475000090897083,
0.013928772881627083,
-0.052402496337890625,
-0.0033852821215987206,
-0.029320023953914642,
0.006497451104223728,
0.0644899532198906,
-0.023011989891529083,
0.00820661149919033,
0.028350912034511566,
0.0009955416899174452,
0.0704103484749794,
-0.009356330148875713,
0.02408682182431221,
0.020844703540205956,
-0.02114424854516983,
0.005819073412567377,
-0.0027575623244047165,
-0.010739515535533428,
0.020774222910404205,
0.034412264823913574,
-0.01030782051384449,
-0.02156713232398033,
0.0009157001040875912,
0.03021865524351597,
-0.029619567096233368,
-0.004797101486474276,
-0.011541235260665417,
0.02717035822570324,
-0.0004955683252774179,
0.02475639060139656,
0.03256214037537575,
-0.0032267002388834953,
-0.006528286729007959,
0.00827268697321415,
0.026659373193979263,
-0.04066743701696396,
-0.03474704921245575,
0.034799907356500626,
-0.0367557518184185,
0.006770564243197441,
0.017082789912819862,
-0.02514403499662876,
-0.027963267639279366,
-0.026201248168945312,
0.019135544076561928,
-0.02209573984146118,
-0.04073791950941086,
-0.025232136249542236,
0.04944229871034622,
0.06318606436252594,
0.01636917144060135,
-0.028844278305768967,
0.027223220095038414,
-0.04249993711709976,
-0.00021034121164120734,
0.008528180420398712,
0.015981527045369148,
-0.04905465617775917,
0.0162986908107996,
-0.04027979075908661,
0.025531679391860962,
-0.019294125959277153,
0.04930133745074272,
-0.034870389848947525,
0.004960088059306145,
0.031328726559877396,
0.06022586673498154,
0.04264089837670326,
-0.017787598073482513,
0.02847425453364849
] |
23,255 | cov_core | DistMaster | Implementation for distributed master. | class DistMaster(CovController):
"""Implementation for distributed master."""
def start(self):
"""Ensure coverage rc file rsynced if appropriate."""
if self.cov_config and os.path.exists(self.cov_config):
self.config.option.rsyncdir.append(self.cov_config)
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.cov.config.paths['source'] = [self.topdir]
def configure_node(self, node):
"""Slaves need to know if they are collocated and what files have moved."""
node.slaveinput['cov_master_host'] = socket.gethostname()
node.slaveinput['cov_master_topdir'] = self.topdir
node.slaveinput['cov_master_rsync_roots'] = [str(root) for root in node.nodemanager.roots]
def testnodedown(self, node, error):
"""Collect data file name from slave. Also save data to file if slave not collocated."""
# If slave doesn't return any data then it is likely that this
# plugin didn't get activated on the slave side.
if not (hasattr(node, 'slaveoutput') and 'cov_slave_node_id' in node.slaveoutput):
self.failed_slaves.append(node)
return
# If slave is not collocated then we must save the data file
# that it returns to us.
if 'cov_slave_lines' in node.slaveoutput:
cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
data_suffix=node.slaveoutput['cov_slave_node_id'],
config_file=self.cov_config)
cov.start()
cov.data.lines = node.slaveoutput['cov_slave_lines']
cov.data.arcs = node.slaveoutput['cov_slave_arcs']
cov.stop()
cov.save()
path = node.slaveoutput['cov_slave_path']
self.cov.config.paths['source'].append(path)
# Record the slave types that contribute to the data file.
rinfo = node.gateway._rinfo()
node_desc = self.get_node_desc(rinfo.platform, rinfo.version_info)
self.node_descs.add(node_desc)
def finish(self):
"""Combines coverage data and sets the list of coverage objects to report on."""
# Combine all the suffix files into the data file.
self.cov.stop()
self.cov.combine()
self.cov.save()
def summary(self, stream):
"""Produce coverage reports."""
CovController.summary(self, stream)
| (cov_source, cov_report, cov_config, config=None, nodeid=None) | [
-0.009430599398911,
-0.010909388773143291,
-0.034481462091207504,
0.03248022496700287,
-0.00267643085680902,
-0.005020798183977604,
-0.038253702223300934,
0.07225698977708817,
0.009758235886693,
-0.06092255935072899,
-0.010997938923537731,
-0.009634265676140785,
0.030850902199745178,
0.0077171530574560165,
0.0048481253907084465,
-0.012308482080698013,
0.03828912228345871,
-0.01284863892942667,
0.06361448764801025,
0.013742996379733086,
-0.05185501649975777,
0.012414743192493916,
0.06857330352067947,
-0.01962273195385933,
-0.044841837137937546,
0.007455929648131132,
0.011830311268568039,
-0.07664908468723297,
0.025307657197117805,
-0.008930291049182415,
-0.057451389729976654,
-0.042964573949575424,
-0.019073721021413803,
0.03462314233183861,
0.05199669674038887,
-0.0069644758477807045,
0.00011511530465213582,
-0.015133234672248363,
-0.11469025909900665,
0.03407413139939308,
-0.04027264565229416,
-0.0368368960916996,
0.019038300961256027,
-0.03616391494870186,
0.017931422218680382,
0.021995877847075462,
-0.05270509794354439,
0.048879727721214294,
0.014362847432494164,
-0.05266967788338661,
0.006499587092548609,
-0.012954899109899998,
-0.02775164321064949,
0.014885294251143932,
0.0347825326025486,
0.060001637786626816,
0.0366952158510685,
0.04052058607339859,
0.004825987853109837,
0.0107499985024333,
0.014159182086586952,
0.02201358787715435,
0.04523145779967308,
0.021446866914629936,
0.048348426818847656,
-0.012529858388006687,
-0.03673063591122627,
0.01620469242334366,
0.023093901574611664,
0.026352548971772194,
0.0032652898225933313,
-0.044593896716833115,
0.05125287547707558,
0.018223637714982033,
0.08833771198987961,
0.01692195050418377,
-0.09237560629844666,
0.012839783914387226,
0.05330723896622658,
0.009412889368832111,
-0.040556006133556366,
-0.02288138121366501,
0.04438137635588646,
-0.06666061282157898,
0.028052713721990585,
0.004434152971953154,
0.030514409765601158,
-0.0021894045639783144,
0.06311860680580139,
-0.004274762701243162,
0.01443368848413229,
0.029009057208895683,
-0.02261572889983654,
0.005574237089604139,
0.030443569645285606,
-0.004305755253881216,
0.01156466081738472,
0.030266469344496727,
-0.03917462378740311,
0.008137766271829605,
-0.04250411316752434,
0.0839456245303154,
0.011334429495036602,
0.02902676723897457,
-0.013131999410688877,
-0.026405679062008858,
-0.05026111379265785,
0.0553261861205101,
-0.00794738344848156,
0.029274707660079002,
-0.07317791134119034,
-0.027362022548913956,
0.0176126416772604,
-0.04448763653635979,
0.0008783076191321015,
-0.035685744136571884,
-0.03676605597138405,
-0.002457269001752138,
-0.05440526455640793,
-0.029770588502287865,
0.052563417702913284,
0.048135906457901,
-0.01988838240504265,
-0.02312932163476944,
-0.008173186331987381,
0.005711490288376808,
0.020065482705831528,
0.025112846866250038,
0.009758235886693,
0.00037025066558271646,
0.03384390100836754,
-0.0594349168241024,
-0.006751955486834049,
0.0062737842090427876,
0.059328656643629074,
0.007920818403363228,
-0.020278003066778183,
-0.013645591214299202,
0.014389412477612495,
-0.01113076414912939,
0.038324542343616486,
-0.03007165901362896,
0.04112272709608078,
-0.06924628466367722,
0.03591597452759743,
0.04034348577260971,
-0.04324793443083763,
-0.03065609000623226,
-0.027946453541517258,
-0.009457165375351906,
-0.011794891208410263,
-0.016913095489144325,
-0.07636572420597076,
0.001785394037142396,
-0.010679158382117748,
-0.005162478424608707,
-0.025768117979168892,
0.01194542646408081,
0.007128293626010418,
0.00878418330103159,
-0.039280883967876434,
-0.03007165901362896,
0.030266469344496727,
-0.004573619458824396,
-0.02192503772675991,
-0.017931422218680382,
-0.06754612177610397,
-0.060001637786626816,
-0.07728664577007294,
0.006433174479752779,
-0.07912848889827728,
-0.027981873601675034,
-0.012476728297770023,
-0.007411654572933912,
-0.024652384221553802,
0.003750102361664176,
-0.00580446794629097,
-0.02706095203757286,
-0.05259883776307106,
-0.02645880915224552,
-0.06191432476043701,
-0.023182451725006104,
-0.0012740164529532194,
0.0017355845775455236,
0.0069733308628201485,
0.06432288885116577,
0.025803538039326668,
-0.011378704570233822,
0.07402799278497696,
0.009660830721259117,
-0.00023009224969428033,
-0.01763920672237873,
-0.012928334064781666,
0.006149813532829285,
0.076011523604393,
-0.03899752348661423,
0.03248022496700287,
-0.007141576148569584,
0.004389877896755934,
0.04508977755904198,
-0.025059716776013374,
0.011812601238489151,
0.04965897276997566,
-0.022066717967391014,
0.01490300428122282,
0.04353129491209984,
-0.02716721221804619,
0.07487807422876358,
-0.005317441653460264,
0.03913920372724533,
-0.00812448374927044,
0.009235789068043232,
0.03357824683189392,
0.01670057326555252,
0.05252799764275551,
-0.06549175083637238,
-0.021004116162657738,
0.01850699819624424,
0.013804981485009193,
0.03959966450929642,
0.04349587485194206,
0.020756173878908157,
-0.03768697753548622,
0.011892296373844147,
-0.07487807422876358,
0.02458154410123825,
-0.008682350628077984,
-0.014513383619487286,
0.055184505879879,
-0.031399913132190704,
-0.0029929978772997856,
0.009262354113161564,
0.000568381801713258,
-0.010386941954493523,
-0.012352757155895233,
-0.005667214747518301,
0.021393736824393272,
0.07037972658872604,
-0.05291761830449104,
0.056920088827610016,
-0.0879126712679863,
0.030992582440376282,
0.06131218001246452,
-0.002514826599508524,
0.019144561141729355,
-0.07246951013803482,
0.03150617331266403,
0.006455312017351389,
0.02123434655368328,
0.04682536423206329,
0.03967050462961197,
-0.040308065712451935,
-0.019410211592912674,
0.005835460498929024,
0.013016884215176105,
-0.0318426638841629,
0.0010399117600172758,
-0.04002470523118973,
0.034038711339235306,
-0.024457573890686035,
-0.028460044413805008,
0.01160893589258194,
-0.024794064462184906,
0.028831956908106804,
-0.06818368285894394,
0.00010715961980167776,
-0.015974462032318115,
-0.007380662020295858,
-0.017532946541905403,
0.013734141364693642,
0.04884430766105652,
0.06396868824958801,
-0.04682536423206329,
0.0307446401566267,
-0.044239696115255356,
-0.04413343593478203,
-0.023873142898082733,
-0.017045920714735985,
-0.021623967215418816,
0.011024503968656063,
0.023040771484375,
0.05971827730536461,
-0.027857903391122818,
-0.05500740557909012,
0.017285006120800972,
-0.0634019672870636,
-0.01564682647585869,
-0.001158901141025126,
-0.029256997630000114,
0.01960502192378044,
-0.06775864213705063,
0.010962518863379955,
-0.0001285361940972507,
-0.02022487297654152,
0.04027264565229416,
0.021305186673998833,
-0.06807742267847061,
0.049977753311395645,
-0.028814246878027916,
0.008815175853669643,
-0.061808064579963684,
-0.005622939672321081,
-0.0704505667090416,
-0.04204365238547325,
0.010935953818261623,
-0.013565896078944206,
0.025927508249878883,
-0.04795880615711212,
-0.02569727785885334,
0.017161035910248756,
0.021305186673998833,
0.005175760947167873,
0.03906836360692978,
-0.013309099711477757,
-0.013255969621241093,
0.005831032991409302,
0.005113775841891766,
0.024209633469581604,
0.04601070284843445,
0.02038426324725151,
-0.04820674657821655,
0.004533771891146898,
0.0021019610576331615,
0.06131218001246452,
0.05961201712489128,
0.04576276242733002,
0.02980600856244564,
0.0662001520395279,
-0.05174875631928444,
0.023943983018398285,
-0.0260514784604311,
-0.03612849488854408,
-0.014238877221941948,
-0.023093901574611664,
0.017984552308917046,
-0.009271209128201008,
-0.0027649810072034597,
-0.06729817390441895,
0.05801811441779137,
0.03313549607992172,
0.03175411373376846,
0.022668858990073204,
-0.009837931022047997,
-0.010502058081328869,
-0.008890443481504917,
-0.010696868412196636,
0.03423352167010307,
0.02799958363175392,
-0.02031342312693596,
-0.00959884561598301,
0.03347198665142059,
0.0673690140247345,
0.002705209655687213,
0.05235089734196663,
0.04310625419020653,
-0.004595756996423006,
0.025714987888932228,
-0.06258730590343475,
0.014601933769881725,
-0.051607076078653336,
-0.0421144925057888,
-0.0021584120113402605,
0.0077392905950546265,
0.01006816141307354,
-0.06903376430273056,
-0.022987641394138336,
-0.051607076078653336,
-0.0007670663762837648,
0.0338970310986042,
-0.024121083319187164,
-0.03145304322242737,
-0.022385498508810997,
-0.003776667406782508,
-0.03343656659126282,
0.01426544226706028,
-0.046542003750801086,
-0.0210572462528944,
-0.06460624933242798,
-0.00501194316893816,
-0.031205102801322937,
-0.04742750525474548,
0.0014821095392107964,
-0.030107079073786736,
-0.009200369007885456,
-0.03818286210298538,
-0.02458154410123825,
0.06903376430273056,
0.016178127378225327,
-0.03444604203104973,
-0.0036017808597534895,
0.06308318674564362,
0.002691927133128047,
-0.03878500312566757,
-0.01768348179757595,
-0.017470961436629295,
-0.050756994634866714,
0.053838543593883514,
0.037226516753435135,
0.02792874351143837,
-0.05716802924871445,
0.043035414069890976,
-0.0055432445369660854,
-0.03348969668149948,
0.05653046816587448,
0.020189452916383743,
-0.04721498489379883,
0.08316637575626373,
-0.049977753311395645,
0.024280473589897156,
0.0034556728787720203,
-0.010236406698822975,
-0.0010543011594563723,
0.0440271757543087,
0.06588137149810791,
-0.06715649366378784,
0.02500658668577671,
-0.006937910802662373,
-0.034392911940813065,
0.0421144925057888,
0.0032431522849947214,
0.005405991803854704,
-0.010829693637788296,
0.06021415814757347,
-0.027539122849702835,
0.08104117214679718,
-0.038324542343616486,
0.009085253812372684,
-0.014159182086586952,
-0.04392091557383537,
0.0015872629592195153,
0.013034594245254993,
0.009147238917648792,
-0.03398558124899864,
0.025130556896328926,
0.0318426638841629,
0.002492689061909914,
-0.023961693048477173,
0.011316719464957714,
0.04909224808216095,
0.03414497151970863,
-0.06637725234031677,
0.01143183559179306,
0.021801067516207695,
-0.037580717355012894,
-0.030372729524970055,
0.019233111292123795,
-0.012901769019663334,
-0.06152470037341118,
0.005746910348534584,
-0.026193158701062202,
-0.06708565354347229,
0.028460044413805008,
-0.05801811441779137,
0.017887147143483162,
0.0020488309673964977,
0.0030948305502533913,
0.013689866289496422,
0.027184922248125076,
0.017957987263798714,
-0.07728664577007294,
0.010900533758103848,
-0.030266469344496727,
0.011980846524238586,
-0.0008694526040926576,
0.03442833200097084,
0.05008401349186897,
0.05320097878575325,
0.014362847432494164,
-0.004303541500121355,
-0.030868612229824066,
-0.01988838240504265,
0.0073496694676578045,
-0.027804773300886154,
-0.023040771484375,
0.030107079073786736,
-0.007911963388323784,
-0.09414660930633545,
-0.044239696115255356,
-0.05419274419546127,
-0.011484965682029724,
-0.06287066638469696,
0.013804981485009193,
0.051784176379442215,
0.0044828555546700954,
-0.03828912228345871,
-0.10059306770563126,
0.06318944692611694,
-0.041512347757816315,
-0.015283769927918911,
-0.019551891833543777,
0.002882310189306736,
-0.029310127720236778,
-0.04282289370894432,
-0.014106051996350288,
-0.045443978160619736,
0.06977758556604385,
0.00794738344848156,
0.00860708300024271,
0.013955516740679741,
-0.059505756944417953,
0.02699011191725731,
0.05206753686070442,
-0.023873142898082733,
0.017692336812615395,
0.014929569326341152,
-0.01806424744427204,
-0.02440444380044937,
0.008704488165676594,
-0.04140608757734299,
0.03793492168188095,
0.006632412318140268,
0.023147031664848328,
-0.004212777130305767,
0.008797465823590755,
0.02038426324725151,
0.022172978147864342,
-0.02176564745604992,
0.02964661829173565,
0.029256997630000114,
0.019250821322202682,
-0.016975080594420433,
-0.04572734236717224,
0.06063919886946678,
0.03655353561043739,
0.0018562342738732696,
0.04700246453285217,
-0.003794377436861396,
0.03150617331266403,
-0.018117377534508705,
0.07671992480754852,
-0.041264407336711884,
0.00015731502207927406,
-0.03065609000623226,
0.048277586698532104,
0.03368450701236725,
0.0214999970048666,
0.022208398208022118,
-0.005295304115861654,
0.014911859296262264,
-0.06131218001246452,
-0.011059924028813839,
-0.002749484730884433,
0.02569727785885334,
-0.0059151556342840195,
0.00356636056676507,
-0.009997321292757988,
0.06977758556604385,
-0.03313549607992172,
0.019215401262044907,
0.00801379606127739,
0.030301889404654503,
0.0281766839325428,
0.017984552308917046,
-0.005711490288376808,
0.05266967788338661,
0.002490475308150053,
-0.01832989789545536,
-0.032940685749053955,
0.045691922307014465,
0.03779324144124985,
0.052740518003702164,
0.008921436034142971,
-0.01447796355932951,
-0.03476482257246971,
0.016797978430986404,
0.06655435264110565,
0.030355019494891167,
0.02134060673415661,
0.03310007601976395,
-0.06637725234031677,
0.006689969915896654,
0.002253603423014283,
-0.02467009425163269,
0.02080930396914482,
-0.06903376430273056,
0.021907327696681023,
0.014805599115788937,
0.010997938923537731,
-0.023324131965637207,
-0.04353129491209984,
0.00041784640052355826,
-0.030850902199745178,
0.08040361106395721,
0.0018628755351528525,
-0.09166720509529114,
0.024032533168792725,
-0.023837722837924957,
0.019551891833543777,
0.0266359094530344,
0.005481259431689978,
0.02286367118358612,
-0.007181423716247082,
-0.026016058400273323,
-0.039953865110874176,
0.01361902616918087,
0.023341841995716095,
-0.02355436235666275,
0.011467255651950836,
0.08217461407184601,
-0.018471578136086464,
-0.018028827384114265,
-0.03651811555027962,
0.03299381583929062,
-0.0038519352674484253,
-0.005189043469727039,
-0.003794377436861396,
-0.004622322041541338,
-0.032692745327949524,
0.006906918250024319,
0.058549415320158005,
0.0055211069993674755,
0.02125205658376217,
-0.0016060798661783338,
-0.051536235958337784,
-0.00215730513446033,
-0.028123553842306137,
-0.03101029247045517,
-0.04448763653635979,
-0.024882616475224495,
0.0033693364821374416,
0.05730970948934555,
-0.01156466081738472,
-0.006716535426676273,
-0.010997938923537731,
-0.06496044993400574,
0.043814655393362045,
-0.006521724630147219,
-0.01113076414912939,
-0.03304694592952728,
0.01909143105149269,
-0.007402799557894468,
-0.05228005722165108,
0.023058481514453888,
-0.016488052904605865,
0.020419683307409286,
-0.07686160504817963,
0.0353669635951519,
-0.007801275700330734,
0.010980228893458843,
-0.017019355669617653,
0.033790770918130875,
-0.014362847432494164,
-0.001441155094653368,
0.003787736175581813,
-0.11327345669269562,
-0.08295385539531708,
-0.030850902199745178,
0.04965897276997566,
-0.015531711280345917,
-0.021110376343131065,
0.0030726930126547813,
0.0645708292722702,
-0.0012850852217525244,
0.04703788459300995,
-0.009961901232600212,
0.025130556896328926,
0.0073540969751775265,
0.008035933598876,
0.021801067516207695,
0.022049007937312126,
-0.0018108523217961192,
0.05288219824433327,
0.05458236485719681,
-0.036181624978780746,
0.07084018737077713,
-0.04576276242733002,
0.09563425183296204,
-0.0010686906753107905,
-0.02174793742597103,
0.008164331316947937,
0.05447610467672348,
-0.01057289820164442,
-0.06347280740737915,
0.005029653199017048,
-0.002346581080928445,
-0.07735748589038849,
0.02638796903192997,
-0.02723805233836174,
0.0007975055486895144,
-0.006517297122627497,
0.02654735930263996,
0.04640032351016998,
-0.015186364762485027,
-0.016293242573738098,
0.04934018850326538,
0.07236324995756149,
0.048525527119636536,
-0.040308065712451935,
-0.0003143533249385655,
-0.040130965411663055,
0.044062595814466476,
0.04324793443083763,
0.05047363415360451,
-0.02098640613257885,
-0.04866720736026764,
0.04207907244563103,
-0.007106156088411808,
-0.04771086573600769,
-0.08621250838041306,
-0.026795299723744392,
-0.00018969119992107153,
-0.004958813078701496,
-0.022562598809599876,
0.03582742437720299,
-0.017718901857733727,
0.010741143487393856,
-0.013061159290373325,
-0.015682246536016464,
0.039280883967876434,
-0.04937560856342316,
0.04951728880405426,
-0.020508233457803726,
0.03641185536980629,
0.03240938484668732,
-0.0214999970048666,
0.00989106111228466,
-0.013557041063904762,
-0.0007499097846448421,
0.025502467527985573,
0.002459482755511999,
-0.001458865124732256,
-0.004803850315511227,
-0.0016348586650565267,
0.011245879344642162,
0.04204365238547325,
-0.01302573923021555,
0.025909798219799995,
-0.014929569326341152,
0.03150617331266403,
0.00453819939866662,
-0.00015053540118969977,
-0.021446866914629936,
0.06506671011447906,
0.0077481456100940704,
-0.014575368724763393,
-0.004555909428745508,
0.016939660534262657,
0.0011190535733476281,
-0.033542826771736145,
0.03373763710260391,
-0.03288755565881729,
-0.06049751862883568,
0.016797978430986404,
-0.01327367965131998,
-0.0409456267952919,
0.033277176320552826,
0.02603376843035221,
0.04540855810046196,
0.039032943546772,
-0.007978376001119614,
0.04909224808216095,
-0.032940685749053955,
0.03453459218144417,
-0.0013990936568006873,
-0.040308065712451935,
-0.04140608757734299,
0.011024503968656063,
0.008611510507762432,
0.003134678350761533,
-0.019215401262044907,
0.06336654722690582,
-0.08196209371089935,
-0.03896210342645645,
0.03178953379392624,
0.08451234549283981,
0.029451807960867882,
0.022420918568968773,
0.040485166013240814
] |
23,257 | cov_core | configure_node | Slaves need to know if they are collocated and what files have moved. | def configure_node(self, node):
"""Slaves need to know if they are collocated and what files have moved."""
node.slaveinput['cov_master_host'] = socket.gethostname()
node.slaveinput['cov_master_topdir'] = self.topdir
node.slaveinput['cov_master_rsync_roots'] = [str(root) for root in node.nodemanager.roots]
| (self, node) | [
0.005464852787554264,
-0.014388139359652996,
0.033862728625535965,
0.012293718755245209,
-0.04107879847288132,
0.022264214232563972,
-0.0034474332351237535,
0.03988198563456535,
-0.0031350303906947374,
-0.03384512662887573,
0.0009553592535667121,
-0.020609799772500992,
0.03500673919916153,
0.026910660788416862,
0.013684132136404514,
-0.02849467471241951,
0.010216898284852505,
0.004261441063135862,
0.013296928256750107,
0.008769284933805466,
-0.0333523228764534,
-0.004450642969459295,
0.02053939923644066,
-0.04241640865802765,
-0.041712403297424316,
0.041219599545001984,
0.00997929647564888,
-0.009548092260956764,
0.00334183219820261,
-0.005420852452516556,
-0.07096388936042786,
-0.05308211222290993,
-0.022721819579601288,
-0.0038170369807630777,
0.05533493310213089,
0.014652141369879246,
0.014018535614013672,
0.028089871630072594,
-0.08680403977632523,
0.018286576494574547,
-0.032736316323280334,
-0.06730305403470993,
-0.015136145986616611,
0.015136145986616611,
0.015320948325097561,
0.009389691054821014,
-0.008782484568655491,
0.03836837038397789,
-0.010023296810686588,
-0.015461749397218227,
-0.051779698580503464,
-0.034073930233716965,
0.002417823299765587,
0.05656694620847702,
0.029445083811879158,
0.0027764267288148403,
0.03212030977010727,
0.050934892147779465,
0.016218556091189384,
0.045232437551021576,
0.01694016344845295,
0.021595409139990807,
-0.016156956553459167,
-0.00111926079262048,
0.04424682632088661,
-0.023654628545045853,
-0.01694016344845295,
-0.02300342172384262,
0.01547934953123331,
0.01336732879281044,
0.013226527720689774,
-0.03815716877579689,
-0.0073876711539924145,
0.009600892663002014,
0.10257378965616226,
-0.025837048888206482,
-0.0688166618347168,
0.04579564183950424,
0.02208821289241314,
0.024728238582611084,
-0.006652864161878824,
0.01801377348601818,
0.005909257102757692,
-0.02610105276107788,
0.024640237912535667,
0.011994515545666218,
0.04776686057448387,
0.010128897614777088,
0.10194018483161926,
-0.02203541249036789,
0.0050028483383357525,
0.025854649022221565,
0.00047492957673966885,
0.03643235191702843,
0.004941247869282961,
0.017811372876167297,
0.005874056834727526,
-0.009477691724896431,
-0.007783675100654364,
0.012944924645125866,
-0.055898141115903854,
0.09257689118385315,
0.026805058121681213,
0.000009633687113819178,
0.017890572547912598,
-0.021102603524923325,
-0.029585886746644974,
0.018216175958514214,
0.001037860056385398,
0.01451134029775858,
-0.07128068804740906,
0.03322912007570267,
-0.0061952597461640835,
0.016165755689144135,
-0.015303348191082478,
-0.0026774259749799967,
-0.004305441398173571,
-0.0011115607339888811,
-0.0352003388106823,
0.0005742055363953114,
0.039459582418203354,
0.0660710409283638,
-0.01780257187783718,
-0.023777829483151436,
0.006604463793337345,
0.02786106988787651,
0.020521799102425575,
0.048154063522815704,
-0.01759137026965618,
-0.02224661409854889,
0.05375092104077339,
-0.0692390725016594,
-0.04280361533164978,
-0.005354851949959993,
0.011114506982266903,
0.0033682326320558786,
-0.0038478372152894735,
0.0010780104203149676,
0.031821105629205704,
-0.04269801080226898,
-0.005830056499689817,
-0.0000734257118892856,
0.021173004060983658,
-0.08152398467063904,
0.022229013964533806,
0.02576664835214615,
-0.07722954452037811,
-0.0505828894674778,
-0.029445083811879158,
0.014643341302871704,
-0.005733255296945572,
-0.028582675382494926,
-0.04579564183950424,
-0.03196191042661667,
-0.035464342683553696,
0.04748525843024254,
-0.01760016940534115,
-0.009644892998039722,
-0.007783675100654364,
0.037065956741571426,
-0.016746561974287033,
-0.0799751728773117,
0.03995238617062569,
0.027245063334703445,
-0.043894823640584946,
-0.06321980804204941,
-0.05959417670965195,
-0.0671270489692688,
-0.027245063334703445,
0.028723478317260742,
-0.035992346704006195,
-0.03653795272111893,
-0.03921318054199219,
-0.029761888086795807,
0.024429036304354668,
0.0031944308429956436,
0.00832488015294075,
-0.06008698046207428,
-0.029269082471728325,
-0.029005080461502075,
-0.04840046912431717,
0.0169929638504982,
0.06790145486593246,
0.03078269772231579,
0.006146859377622604,
0.04769646003842354,
-0.014317737892270088,
0.0006649564020335674,
0.0346195362508297,
0.052483707666397095,
-0.021261004731059074,
0.007299670483916998,
-0.05346931517124176,
0.005711255129426718,
0.044317226856946945,
-0.022880220785737038,
0.025907449424266815,
0.012733723036944866,
-0.004296641331166029,
0.024200234562158585,
-0.0169929638504982,
0.015197746455669403,
0.025150643661618233,
-0.0023518227972090244,
0.02610105276107788,
0.030553895980119705,
-0.017952173948287964,
0.0512164942920208,
0.016130555421113968,
0.07335750758647919,
0.012214518152177334,
0.02764986641705036,
0.036150749772787094,
-0.01893778331577778,
0.02405943162739277,
-0.057552557438611984,
-0.039248380810022354,
0.03036029264330864,
-0.009407291188836098,
0.05265970900654793,
0.030923498794436455,
-0.021912211552262306,
0.00691246660426259,
-0.016869762912392616,
-0.031187500804662704,
0.011536911129951477,
-0.02423543483018875,
-0.04526763781905174,
0.0499492809176445,
-0.04290921613574028,
-0.030131490901112556,
0.0629030093550682,
-0.06068538501858711,
-0.011572111397981644,
0.010788904502987862,
-0.011994515545666218,
0.04150120168924332,
0.05716535076498985,
-0.07596233487129211,
-0.0065956637263298035,
-0.09602652490139008,
0.006604463793337345,
0.009680093266069889,
-0.03762916475534439,
-0.0037136359605938196,
-0.07314630597829819,
0.05304691195487976,
0.04178280383348465,
-0.030008289963006973,
0.04818926379084587,
0.02715706266462803,
-0.03629155084490776,
-0.023830629885196686,
0.022563418373465538,
0.01840977743268013,
-0.03442593291401863,
-0.010005696676671505,
-0.0006644063978455961,
0.0035222340375185013,
-0.022105813026428223,
0.008536082692444324,
0.034496333450078964,
-0.008514082059264183,
0.009944096207618713,
-0.03127550333738327,
-0.000004950047696183901,
-0.018022574484348297,
-0.004259241279214621,
-0.033598724752664566,
-0.022158613428473473,
0.03025469183921814,
0.07363910973072052,
-0.036573152989149094,
0.018497778102755547,
-0.005500053055584431,
-0.061776597052812576,
-0.046288445591926575,
-0.010181698016822338,
0.009319289587438107,
0.04227560758590698,
0.017714571207761765,
0.023813029751181602,
-0.010736104100942612,
0.0017655170522630215,
-0.054771728813648224,
-0.09025367349386215,
-0.05364531651139259,
0.056918948888778687,
-0.06508542597293854,
-0.009671293199062347,
-0.10567142069339752,
0.0166761614382267,
-0.027227463200688362,
0.02214101329445839,
0.032243512570858,
0.036256350576877594,
-0.04241640865802765,
0.08384720981121063,
-0.016799362376332283,
-0.015496949665248394,
-0.034337930381298065,
0.021595409139990807,
-0.09595612436532974,
-0.029497884213924408,
0.04653485119342804,
0.0030206292867660522,
0.012707322835922241,
-0.03836837038397789,
-0.00799487717449665,
0.01777617260813713,
0.017635369673371315,
-0.02001139335334301,
0.009328090585768223,
0.008905686438083649,
0.03762916475534439,
0.006881666369736195,
0.012064917013049126,
0.001796317403204739,
-0.0017699170857667923,
0.008109278045594692,
-0.04509163647890091,
-0.030131490901112556,
-0.030483495444059372,
0.04301481693983078,
0.018603378906846046,
0.029057880863547325,
0.049808479845523834,
0.043683622032403946,
-0.04136040061712265,
0.04030438885092735,
-0.014634541235864162,
0.000781557522714138,
-0.0036960358265787363,
-0.042134806513786316,
-0.013560931198298931,
-0.0345139317214489,
-0.018392177298665047,
-0.017732171341776848,
0.055088531225919724,
0.028318673372268677,
0.025485046207904816,
0.02326742559671402,
-0.03931878134608269,
-0.002046019770205021,
0.030923498794436455,
-0.0008332580327987671,
-0.0012683122185990214,
-0.011748113669455051,
-0.02006419375538826,
-0.0064592622220516205,
-0.00005926307130721398,
0.06233980134129524,
-0.07328710705041885,
0.03843877092003822,
0.03681955486536026,
0.03127550333738327,
-0.011871314607560635,
-0.08370640873908997,
-0.0006446062470786273,
-0.030061090365052223,
-0.007198469713330269,
0.008487681858241558,
0.018057774752378464,
0.012980125844478607,
-0.06973187625408173,
0.024376235902309418,
-0.012566521763801575,
0.02838907390832901,
0.0699782744050026,
-0.012874524109065533,
-0.0008162079029716551,
-0.05473652854561806,
0.02113780379295349,
-0.0345139317214489,
-0.0006968567613512278,
-0.023883430287241936,
-0.05255410820245743,
-0.05452532693743706,
-0.023813029751181602,
-0.006494462955743074,
-0.03078269772231579,
0.007343670818954706,
0.010674502700567245,
-0.061776597052812576,
-0.0635366141796112,
-0.004778446163982153,
0.07163269072771072,
0.0251858439296484,
0.053539715707302094,
0.002873227698728442,
0.03755876421928406,
0.02752666547894478,
-0.021595409139990807,
-0.003715835977345705,
-0.025784248486161232,
-0.04382442310452461,
0.04664045199751854,
0.012927324511110783,
0.029374683275818825,
-0.041818004101514816,
0.05705974996089935,
-0.015408948995172977,
-0.048541270196437836,
0.03576354682445526,
0.021965011954307556,
-0.021049803122878075,
0.027297863736748695,
0.0017699170857667923,
0.03521794080734253,
-0.017248166725039482,
-0.0023562228307127953,
-0.013455330394208431,
0.051674097776412964,
0.0486820712685585,
-0.05772855877876282,
0.0006413062219507992,
0.025696247816085815,
-0.016165755689144135,
0.055370133370161057,
-0.015496949665248394,
-0.014643341302871704,
-0.048858072608709335,
0.04030438885092735,
0.004389042500406504,
0.10109537839889526,
0.015303348191082478,
0.023038621991872787,
-0.014960144646465778,
-0.024077031761407852,
-0.014880944043397903,
0.007792475167661905,
0.06814786046743393,
-0.007409671787172556,
0.01037530042231083,
0.06402941793203354,
-0.01562895067036152,
0.007955276407301426,
-0.009988096542656422,
-0.006635264027863741,
0.032736316323280334,
-0.013191327452659607,
-0.005566053558140993,
0.00832488015294075,
-0.05815096199512482,
-0.007238070014864206,
0.0650150254368782,
-0.03703075647354126,
-0.04882287234067917,
0.0031614305917173624,
-0.03310592100024223,
-0.06265660375356674,
-0.01502174511551857,
-0.036573152989149094,
-0.01305052638053894,
-0.003619035007432103,
-0.010058497078716755,
-0.009108087979257107,
0.030553895980119705,
-0.013340928591787815,
-0.06388861685991287,
-0.025837048888206482,
-0.033493123948574066,
0.04340201988816261,
-0.008571282960474491,
0.07539913058280945,
-0.042557209730148315,
0.06233980134129524,
-0.012170517817139626,
0.010850504972040653,
-0.04375402256846428,
-0.034496333450078964,
-0.013648931868374348,
-0.02342582680284977,
0.0020955202635377645,
0.07015427947044373,
-0.042029205709695816,
-0.06677504628896713,
-0.0024596238508820534,
-0.05044208839535713,
-0.003370432648807764,
-0.09201368689537048,
0.016156956553459167,
0.04340201988816261,
0.012399319559335709,
0.004897247534245253,
-0.09490011632442474,
-0.005130449775606394,
-0.04509163647890091,
-0.010551301762461662,
-0.03468993678689003,
-0.010516101494431496,
-0.04375402256846428,
-0.03400352969765663,
-0.013789732940495014,
-0.027931470423936844,
0.04167720302939415,
0.008958486840128899,
0.01481054350733757,
0.0337747260928154,
-0.03212030977010727,
-0.0003839037090074271,
0.04107879847288132,
0.00424824096262455,
0.022704219445586205,
-0.009812095202505589,
-0.009011287242174149,
-0.06149499490857124,
-0.002655425574630499,
-0.03505953773856163,
0.0694502741098404,
0.039776384830474854,
0.034073930233716965,
0.02620665356516838,
0.001719316584058106,
0.02124340459704399,
0.032877117395401,
-0.011545711196959019,
0.07399111241102219,
0.03678435459733009,
0.023126622661948204,
-0.020680200308561325,
-0.04023398831486702,
0.062199000269174576,
0.001871118089184165,
0.04759085923433304,
0.012496120296418667,
0.015444149263203144,
-0.006217259913682938,
-0.040374789386987686,
0.07124549150466919,
-0.024358635768294334,
-0.06716224551200867,
-0.013226527720689774,
0.030641896650195122,
0.050019681453704834,
0.07286470383405685,
0.06740865111351013,
0.023021021857857704,
0.00029865288524888456,
-0.03437313064932823,
0.007286470383405685,
-0.004716845694929361,
0.035129938274621964,
0.005117249675095081,
-0.04614764451980591,
0.011871314607560635,
0.029656287282705307,
-0.04065639153122902,
0.017872972413897514,
0.0011115607339888811,
0.07335750758647919,
0.007933276705443859,
0.008945286273956299,
0.002840227447450161,
0.014502540230751038,
-0.053539715707302094,
0.0168873630464077,
-0.04051559045910835,
0.040797192603349686,
0.028529874980449677,
-0.0010829605162143707,
-0.02113780379295349,
-0.016447359696030617,
0.027614666149020195,
0.05501813068985939,
0.014291337691247463,
-0.013578531332314014,
0.026910660788416862,
0.04051559045910835,
-0.035253141075372696,
0.09630812704563141,
0.04600684344768524,
0.020961802452802658,
0.022264214232563972,
-0.05955897644162178,
-0.026030652225017548,
0.028565075248479843,
0.021225804463028908,
-0.04199400544166565,
-0.03960038349032402,
-0.02886427938938141,
-0.022000212222337723,
0.028776278719305992,
0.05843256413936615,
-0.07170309126377106,
-0.0013266127789393067,
-0.031627506017684937,
0.024411436170339584,
0.026065852493047714,
-0.003315431997179985,
-0.008241279982030392,
-0.016544159501791,
0.005702455062419176,
-0.00776607496663928,
-0.015136145986616611,
0.011202508583664894,
0.027385864406824112,
-0.013349728658795357,
0.08074957877397537,
0.007405271753668785,
-0.0333523228764534,
-0.019236985594034195,
0.05223730579018593,
-0.009433691389858723,
-0.058678966015577316,
-0.06015738099813461,
-0.02534424513578415,
-0.022651419043540955,
-0.01790817268192768,
0.07518792897462845,
0.046182844787836075,
0.0020372197031974792,
0.0164649598300457,
-0.04600684344768524,
-0.040480390191078186,
-0.006652864161878824,
0.02662905678153038,
-0.004972048103809357,
0.015268147923052311,
-0.026065852493047714,
0.0006264560506679118,
-0.006560463458299637,
-0.010744904167950153,
-0.0006919066654518247,
-0.08089037984609604,
0.0014938144013285637,
0.00004320979132899083,
-0.042029205709695816,
-0.04297961667180061,
-0.009565692394971848,
0.002580625005066395,
-0.07385031133890152,
0.030061090365052223,
-0.05684854835271835,
0.0073612709529697895,
-0.06233980134129524,
0.038614772260189056,
-0.003262631595134735,
0.0013057126197963953,
-0.003185630775988102,
0.060438983142375946,
-0.031609904021024704,
0.014264937490224838,
-0.025009840726852417,
-0.05881976708769798,
-0.032947517931461334,
0.008646083995699883,
0.0486820712685585,
-0.017468169331550598,
0.0019580188672989607,
0.028301073238253593,
0.04579564183950424,
-0.0015213147271424532,
0.07546953111886978,
0.01562895067036152,
0.00043120415648445487,
-0.029480284079909325,
0.016077755019068718,
0.0337219275534153,
-0.04333161935210228,
0.012223318219184875,
0.017679370939731598,
0.048048462718725204,
-0.040374789386987686,
0.0799751728773117,
-0.03734756261110306,
0.07307590544223785,
0.010656902566552162,
-0.033862728625535965,
0.04488043487071991,
0.08258000016212463,
-0.0660710409283638,
-0.05987577885389328,
0.007062068209052086,
0.03787556663155556,
-0.097364142537117,
-0.023619428277015686,
-0.01635935716331005,
-0.040374789386987686,
-0.03275391831994057,
-0.017274565994739532,
0.016508959233760834,
-0.015804952010512352,
-0.039776384830474854,
0.0692390725016594,
0.0801863744854927,
0.0335635244846344,
0.015030545182526112,
0.034126728773117065,
0.01593695394694805,
-0.002457423834130168,
0.05955897644162178,
0.0076340739615261555,
0.0316627062857151,
-0.050406888127326965,
0.020909002050757408,
-0.014757742173969746,
-0.07008387893438339,
-0.040585990995168686,
-0.013349728658795357,
0.039776384830474854,
0.01129050925374031,
-0.04333161935210228,
0.01846257783472538,
-0.026118652895092964,
-0.02113780379295349,
-0.03857957199215889,
-0.013772132806479931,
-0.012108917348086834,
-0.01953618787229061,
0.021067403256893158,
-0.03984678536653519,
0.031944308429956436,
-0.028987480327486992,
-0.0011671113315969706,
0.037699565291404724,
-0.005354851949959993,
0.012672122567892075,
0.00014107636525295675,
-0.016579359769821167,
-0.0020097193773835897,
-0.002624625340104103,
0.03373952582478523,
0.03004349023103714,
0.07610313594341278,
-0.01867378130555153,
-0.0055572534911334515,
-0.041606802493333817,
0.04945647716522217,
-0.0015213147271424532,
0.0166761614382267,
-0.013807333074510098,
0.03819236904382706,
0.05410292372107506,
0.009935296140611172,
0.03062429651618004,
0.013032926246523857,
0.030113890767097473,
-0.04280361533164978,
0.03300032019615173,
0.02395383082330227,
-0.04354282096028328,
0.004232841078191996,
0.003546434221789241,
-0.008971686474978924,
0.02092660218477249,
0.004980848170816898,
0.035781145095825195,
0.0321907103061676,
-0.0005541303544305265,
-0.006410861853510141,
-0.01523294672369957,
0.03159230574965477,
0.041219599545001984,
-0.08286160230636597,
-0.0341971293091774,
-0.0024046231992542744,
0.022211413830518723,
-0.01118490844964981,
-0.02166580967605114,
0.060438983142375946,
-0.04840046912431717,
-0.0006259060464799404,
0.0335635244846344,
0.09497051686048508,
-0.03025469183921814,
0.026277054101228714,
0.020081793889403343
] |
23,258 | cov_core | finish | Combines coverage data and sets the list of coverage objects to report on. | def finish(self):
"""Combines coverage data and sets the list of coverage objects to report on."""
# Combine all the suffix files into the data file.
self.cov.stop()
self.cov.combine()
self.cov.save()
| (self) | [
-0.04477081075310707,
0.02252252958714962,
-0.044085193425416946,
0.05738617107272148,
-0.01098701823502779,
-0.0636252909898758,
-0.060814257711172104,
0.007276114076375961,
0.04062282666563988,
-0.031469836831092834,
-0.016094867140054703,
-0.009650063700973988,
0.04048570245504379,
0.016223419457674026,
-0.014252270571887493,
-0.015623505227267742,
0.0018115295097231865,
-0.0049064490012824535,
0.01988290250301361,
0.03743470832705498,
-0.05032431334257126,
0.02423657290637493,
-0.004015146289020777,
-0.0010080717038363218,
0.006971871480345726,
0.02625914476811886,
0.020122868940234184,
-0.0045593553222715855,
0.03503504768013954,
0.0060377176851034164,
-0.06821892410516739,
-0.05659770965576172,
-0.012075435370206833,
0.014243700541555882,
0.04377666860818863,
-0.01062706857919693,
0.039560120552778244,
0.001443010289222002,
0.026019178330898285,
0.08693628013134003,
0.006127704866230488,
-0.011329826898872852,
0.01596631295979023,
-0.00012406727182678878,
0.017688928171992302,
0.018785914406180382,
-0.041651252657175064,
0.04734187573194504,
0.03568638116121292,
-0.057900384068489075,
0.007220407482236624,
-0.003715188940986991,
0.006221977528184652,
-0.011509801261126995,
0.038017481565475464,
0.03061281330883503,
0.02984149381518364,
0.035275012254714966,
0.027407553046941757,
-0.019625796005129814,
0.012255409732460976,
-0.03386949747800827,
0.015880610793828964,
-0.029155876487493515,
0.011655494570732117,
0.02147696353495121,
-0.011552652344107628,
0.0304414089769125,
0.013061010278761387,
0.040999915450811386,
0.0171318631619215,
-0.005236402619630098,
0.01690046675503254,
0.027236148715019226,
0.0032652525696903467,
-0.042199745774269104,
-0.06523648649454117,
-0.020242851227521896,
0.009350106120109558,
-0.03575494512915611,
-0.029173018410801888,
0.008775901980698109,
-0.015272126533091068,
-0.019145864993333817,
0.01222969964146614,
-0.0038630252238363028,
0.04806177690625191,
-0.026961902156472206,
-0.0531010627746582,
-0.0154435308650136,
0.014560798183083534,
0.05001578480005264,
0.01327526569366455,
-0.01418370846658945,
0.04456512629985809,
-0.033835213631391525,
-0.04891879856586456,
0.018425965681672096,
-0.04240543395280838,
0.019231567159295082,
0.006629062816500664,
-0.015366398729383945,
0.02130555920302868,
0.0008505940204486251,
-0.010892745107412338,
-0.01018998771905899,
0.005017861723899841,
0.008454518392682076,
-0.04298820719122887,
0.014355112798511982,
-0.05364955589175224,
-0.028813067823648453,
0.024030888453125954,
-0.09146135300397873,
-0.023448113352060318,
-0.06242545694112778,
-0.03657768666744232,
0.02284819819033146,
-0.012649639509618282,
-0.0032288292422890663,
0.05615206062793732,
0.011749766767024994,
-0.029910055920481682,
0.03674909099936485,
-0.014560798183083534,
-0.021562665700912476,
0.034503690898418427,
0.09344964474439621,
0.022162580862641335,
-0.021665507927536964,
0.026310564950108528,
-0.03160695731639862,
-0.040108613669872284,
-0.02757895737886429,
0.05838031694293022,
0.012049724347889423,
0.0017943890998139977,
-0.061534155160188675,
0.011406958103179932,
0.03716045990586281,
0.0252135768532753,
-0.018254561349749565,
0.024905050173401833,
-0.02197403647005558,
0.02346525341272354,
0.06715621799230576,
-0.0035073612816631794,
-0.05855172127485275,
-0.11957166343927383,
-0.05412948876619339,
0.01762036606669426,
-0.007327535189688206,
-0.047444719821214676,
-0.04603920504450798,
0.019522953778505325,
-0.05676911398768425,
-0.03942299634218216,
0.05022146925330162,
-0.036920495331287384,
-0.01401230413466692,
-0.013155282475054264,
0.020362835377454758,
-0.014243700541555882,
0.0567348338663578,
0.00167226349003613,
0.011621213518083096,
-0.022231142967939377,
0.04507933929562569,
-0.06091710180044174,
-0.06101994216442108,
-0.047650404274463654,
-0.004040857311338186,
0.02752753533422947,
0.0052621131762862206,
-0.07946304976940155,
0.027681799605488777,
-0.025402123108506203,
-0.03513788804411888,
0.011312685906887054,
0.002185405232012272,
-0.0390801876783371,
-0.04888451471924782,
0.011929742060601711,
0.05759185552597046,
0.011132711544632912,
-0.015503522008657455,
-0.016369113698601723,
-0.017757488414645195,
0.03623487800359726,
-0.060437168926000595,
0.026361986994743347,
0.014157998375594616,
-0.03685193136334419,
-0.01065277960151434,
0.07308680564165115,
-0.04950157180428505,
0.042542554438114166,
0.006856173276901245,
0.011852609924972057,
-0.016343403607606888,
-0.05910021439194679,
0.00227753515355289,
0.035926349461078644,
-0.08234263956546783,
0.055432163178920746,
0.04350242018699646,
-0.006504794582724571,
0.025899194180965424,
-0.024322275072336197,
0.05114705488085747,
0.05286109820008278,
0.02648196928203106,
0.004218689166009426,
-0.03320102021098137,
0.05214119702577591,
-0.0381203256547451,
0.033063896000385284,
-0.012426814064383507,
0.024099448695778847,
0.041445568203926086,
-0.0453878678381443,
-0.029207298532128334,
-0.0028538822662085295,
0.041651252657175064,
-0.05286109820008278,
0.008878744207322598,
0.0033059611450880766,
0.017483241856098175,
0.06146559491753578,
-0.07034433633089066,
-0.04021145775914192,
-0.04367382451891899,
-0.02219686098396778,
-0.04847314581274986,
-0.06455086916685104,
0.01005286443978548,
0.0058620283380150795,
0.06794467568397522,
-0.07342961430549622,
0.026670513674616814,
-0.05169554799795151,
0.003393805818632245,
-0.016977598890662193,
-0.0120325842872262,
-0.019420111551880836,
-0.028058890253305435,
0.06228833645582199,
-0.042645398527383804,
0.027407553046941757,
0.042268309742212296,
0.054986510425806046,
0.02219686098396778,
-0.012743912637233734,
-0.025847773998975754,
0.008981587365269661,
-0.06372813135385513,
0.008955876342952251,
-0.09379245340824127,
0.05913449451327324,
-0.038737379014492035,
0.03520645201206207,
0.006101994309574366,
0.010481375269591808,
0.021117014810442924,
-0.06557929515838623,
0.025813492015004158,
0.01988290250301361,
-0.028950192034244537,
-0.01751752384006977,
0.018048876896500587,
0.045833520591259,
-0.0181688591837883,
-0.04014289379119873,
-0.0019807913340628147,
-0.051078490912914276,
0.09776902943849564,
-0.005772041156888008,
0.005167840514332056,
-0.05676911398768425,
0.01948867365717888,
0.09269546717405319,
0.0576946996152401,
0.002778892870992422,
-0.05793466418981552,
-0.00020166790636721998,
-0.03517216816544533,
-0.017688928171992302,
-0.003663767594844103,
-0.022008316591382027,
0.01876877434551716,
-0.03061281330883503,
0.04161697253584862,
0.013626644387841225,
0.027270428836345673,
0.05255256965756416,
-0.033063896000385284,
0.024545101448893547,
-0.02730471082031727,
0.025916336104273796,
0.02120271697640419,
-0.08254832774400711,
-0.01541781984269619,
0.01701188087463379,
-0.03436657041311264,
-0.04950157180428505,
-0.008763046935200691,
0.04230258986353874,
-0.07829750329256058,
-0.010995588265359402,
0.051352739334106445,
0.009478659369051456,
0.02984149381518364,
0.04507933929562569,
0.02555638551712036,
-0.0002747825637925416,
-0.035652101039886475,
-0.02031141333281994,
0.013995164074003696,
0.0007868530228734016,
0.0077217654325068,
-0.05039287358522415,
-0.05546644330024719,
0.02319100685417652,
0.008163131773471832,
0.08577072620391846,
0.018785914406180382,
-0.03914875164628029,
0.10585931688547134,
-0.04137700796127319,
-0.05748901516199112,
-0.05618634074926376,
-0.05522647500038147,
0.02824743464589119,
0.0103271109983325,
0.0350007638335228,
0.005904879420995712,
0.0008243477204814553,
-0.0504271537065506,
0.05958014726638794,
0.016617650166153908,
-0.009161561727523804,
-0.016643360257148743,
-0.027219008654356003,
0.016557658091187477,
-0.02632770501077175,
0.018854476511478424,
0.03808604180812836,
-0.03326958045363426,
-0.011981163173913956,
0.0035716379061341286,
-0.01260678842663765,
0.06767042726278305,
0.01327526569366455,
0.07041290402412415,
0.05070140212774277,
0.014715062454342842,
0.022865338250994682,
-0.03740042448043823,
0.016609080135822296,
-0.025453543290495872,
-0.009118710644543171,
0.04021145775914192,
0.01078990288078785,
0.007447518408298492,
0.02538498118519783,
-0.03578922525048256,
-0.017603226006031036,
0.028110310435295105,
-0.0358920693397522,
-0.05464370176196098,
0.016034875065088272,
0.020551379770040512,
0.0252135768532753,
-0.0129410270601511,
0.017149003222584724,
-0.020859908312559128,
0.00922155287116766,
0.009152991697192192,
-0.013729487545788288,
0.009632923640310764,
-0.09674060344696045,
0.0006347316666506231,
-0.04442800208926201,
0.022933900356292725,
-0.01145838014781475,
-0.0023096734657883644,
0.004495078697800636,
-0.024630803614854813,
-0.02715044654905796,
0.026310564950108528,
0.093586765229702,
-0.053718119859695435,
0.001744039123877883,
-0.05210691690444946,
0.010729911737143993,
0.006731905043125153,
0.005334959831088781,
0.015837760642170906,
-0.03602918982505798,
0.038017481565475464,
-0.032566823065280914,
-0.04483937472105026,
-0.002618201309815049,
0.028504541143774986,
0.028230294585227966,
-0.07637777179479599,
0.03986864909529686,
-0.08391956239938736,
0.051729828119277954,
0.012203988619148731,
-0.027287570759654045,
-0.020499957725405693,
0.006187696475535631,
0.040657106786966324,
-0.02207687869668007,
0.02598489634692669,
-0.0023546670563519,
-0.05793466418981552,
0.07007009536027908,
0.07384099066257477,
0.006881883833557367,
0.057626135647296906,
0.0635567232966423,
0.0308870617300272,
0.0007348961080424488,
-0.0338180735707283,
0.016429105773568153,
0.012563937343657017,
-0.05200407654047012,
-0.022865338250994682,
-0.007833178155124187,
-0.013858040794730186,
-0.07761188596487045,
0.0522097609937191,
0.03661196678876877,
0.011552652344107628,
-0.03302961587905884,
-0.028058890253305435,
0.021716929972171783,
0.037571828812360764,
-0.04429088160395622,
0.01894017867743969,
-0.008583071641623974,
-0.005356385372579098,
-0.03393805772066116,
0.00227753515355289,
0.04453084617853165,
-0.0700015276670456,
-0.02329384908080101,
0.041994061321020126,
0.004597921390086412,
0.026739075779914856,
-0.017963174730539322,
-0.06389953196048737,
0.018923038616776466,
0.026293424889445305,
0.05447229743003845,
0.0045593553222715855,
0.00829168502241373,
-0.04703335091471672,
-0.012581078335642815,
0.003730186726897955,
0.02197403647005558,
0.021117014810442924,
0.027013322338461876,
0.0024575097486376762,
-0.02648196928203106,
0.024973612278699875,
-0.020071446895599365,
0.0011912601767107844,
-0.0404171422123909,
-0.035480696707963943,
-0.0376746729016304,
-0.04514790326356888,
0.014029445126652718,
0.009607212617993355,
-0.0549522303044796,
0.027356131002306938,
0.020774206146597862,
-0.007550361100584269,
0.01082418393343687,
-0.0025346416514366865,
0.004949300084263086,
0.030544253066182137,
0.0050821383483707905,
0.007173271384090185,
0.057728979736566544,
-0.052998218685388565,
-0.028230294585227966,
-0.010447094216942787,
0.025042172521352768,
-0.06458514928817749,
-0.056631993502378464,
-0.017037590965628624,
-0.01607772707939148,
0.03976580500602722,
0.026944762095808983,
-0.008081714622676373,
-0.022453967481851578,
-0.0862506628036499,
0.05954586714506149,
-0.014252270571887493,
-0.02037997543811798,
-0.004285108298063278,
-0.013249554671347141,
-0.0033702377695590258,
0.012709631584584713,
-0.0427139587700367,
-0.050358593463897705,
-0.013232414610683918,
-0.056529149413108826,
0.010369962081313133,
-0.022539669647812843,
0.02301960252225399,
0.04034858196973801,
0.010129996575415134,
-0.04987866058945656,
0.0026396268513053656,
0.027441833168268204,
0.07185269892215729,
-0.05488366633653641,
0.004199406132102013,
0.034332286566495895,
0.043193891644477844,
0.00031843711622059345,
0.0006786540616303682,
0.02262537181377411,
0.06293967366218567,
-0.004550785291939974,
0.02565922960639,
-0.0395258404314518,
0.009435808286070824,
0.020277133211493492,
0.04093135520815849,
0.020945610478520393,
-0.005724904593080282,
0.03260110318660736,
-0.04847314581274986,
0.07918880134820938,
-0.0283674169331789,
0.01921442523598671,
0.0281445924192667,
0.03825744614005089,
-0.07452660799026489,
-0.018683072179555893,
0.01522070448845625,
0.021494103595614433,
-0.03320102021098137,
0.04792465269565582,
0.0658535435795784,
0.021716929972171783,
0.032018329948186874,
0.015512092038989067,
0.03491506353020668,
0.046450573951005936,
-0.012692490592598915,
-0.0059691560454666615,
0.010944167152047157,
0.0444965660572052,
0.026807637885212898,
0.007520365063101053,
0.040108613669872284,
0.021134154871106148,
-0.021871192380785942,
0.03469223901629448,
0.02967008948326111,
0.016874756664037704,
0.07370386272668839,
-0.011021298356354237,
-0.05868884548544884,
-0.0036659101024270058,
0.0067790416069328785,
-0.024905050173401833,
-0.029550107195973396,
-0.008145990781486034,
-0.008180271834135056,
-0.012323971837759018,
0.02120271697640419,
-0.023173866793513298,
-0.04343385994434357,
-0.0010139637161046267,
0.020688503980636597,
0.014415104873478413,
-0.037743233144283295,
-0.005827747285366058,
-0.015957742929458618,
-0.04658769816160202,
-0.020465677604079247,
0.05364955589175224,
0.01658337004482746,
-0.024579381570219994,
0.038360290229320526,
-0.04453084617853165,
-0.08021722733974457,
-0.03128129243850708,
0.04514790326356888,
0.0017804625676944852,
0.010635638609528542,
-0.024956470355391502,
-0.033183880150318146,
0.01916300505399704,
-0.020277133211493492,
-0.005532074719667435,
0.04648485407233238,
-0.03671480715274811,
0.022042596712708473,
-0.020225711166858673,
0.02737327292561531,
0.015846330672502518,
0.059168774634599686,
-0.001802959362976253,
0.028264574706554413,
0.005609206855297089,
-0.034880783408880234,
-0.04525074362754822,
-0.06475655734539032,
-0.022111158818006516,
-0.05368383601307869,
-0.015572084113955498,
0.10421383380889893,
0.0065305051393806934,
-0.020174290984869003,
-0.010275689885020256,
0.0417540967464447,
-0.05464370176196098,
0.04785608872771263,
-0.020362835377454758,
0.017149003222584724,
0.020568519830703735,
0.010507085360586643,
-0.02488791011273861,
-0.018374545499682426,
0.02901875413954258,
-0.04885023459792137,
0.03695477545261383,
-0.020722784101963043,
0.003179550403729081,
0.02324242703616619,
0.012443955056369305,
-0.06348816305398941,
0.06499652564525604,
-0.008445948362350464,
0.029155876487493515,
0.0009202270302921534,
-0.0990031436085701,
-0.08590785413980484,
-0.027887485921382904,
-0.04504505917429924,
-0.01401230413466692,
-0.05491795018315315,
0.011432669125497341,
0.05275825411081314,
-0.005784896202385426,
-0.0045207892544567585,
-0.014432244934141636,
-0.020894188433885574,
0.03258396312594414,
-0.010678489692509174,
0.00985574908554554,
0.03402376174926758,
-0.0007536434568464756,
0.018820196390151978,
0.04096563532948494,
-0.024870768189430237,
0.0590316541492939,
-0.004259397741407156,
0.029995758086442947,
0.04195978119969368,
-0.010918456129729748,
-0.0035630676429718733,
0.02351667545735836,
0.00035245015169493854,
-0.012281120754778385,
0.013163852505385876,
-0.05868884548544884,
-0.013609504327178001,
0.017114723101258278,
-0.015057871118187904,
0.025642087683081627,
-0.02416801080107689,
0.04274824261665344,
-0.014989309012889862,
0.02660195343196392,
-0.028933051973581314,
0.05958014726638794,
0.09104998409748077,
-0.0021929042413830757,
-0.04614204540848732,
0.013069580309092999,
0.017757488414645195,
0.03551497682929039,
0.015332117676734924,
0.02961866930127144,
-0.04411947727203369,
-0.024545101448893547,
0.061157066375017166,
-0.020345695316791534,
-0.051181335002183914,
-0.0504271537065506,
-0.05923733860254288,
0.011501231230795383,
0.015057871118187904,
0.017808910459280014,
0.034829359501600266,
-0.02367093786597252,
0.04333101585507393,
0.007250403519719839,
-0.009212982840836048,
-0.015332117676734924,
-0.04477081075310707,
0.05169554799795151,
0.04096563532948494,
-0.05241544544696808,
0.031178448349237442,
-0.006581926252692938,
-0.046279169619083405,
-0.012178277596831322,
0.0073789567686617374,
0.025864914059638977,
0.004297963809221983,
0.0012748197186738253,
0.05611778050661087,
-0.007168986368924379,
-0.019522953778505325,
0.013232414610683918,
-0.030595673248171806,
0.004128701984882355,
0.002862452296540141,
0.014243700541555882,
0.017706068232655525,
-0.0481303371489048,
-0.03815460577607155,
0.03194976598024368,
0.042096905410289764,
-0.03176122158765793,
-0.024202292785048485,
0.0031324143055826426,
-0.010429954156279564,
0.023173866793513298,
0.002343954285606742,
-0.05728332698345184,
-0.03887450322508812,
0.038805942982435226,
0.055089354515075684,
-0.021665507927536964,
0.02319100685417652,
0.02334527112543583,
0.03733186423778534,
-0.006590496748685837,
-0.03884022310376167,
0.053169623017311096,
0.010095715522766113,
0.02637912705540657,
-0.005484938621520996,
0.02444225735962391,
0.022505389526486397,
0.029498685151338577,
-0.0024146586656570435,
0.020911328494548798,
0.0016861901385709643,
0.06173983961343765,
-0.06307679414749146,
-0.017911752685904503,
-0.0026503396220505238,
0.08604497462511063,
0.04398235306143761,
0.008835893124341965,
0.006299109198153019
] |
23,262 | cov_core | start | Ensure coverage rc file rsynced if appropriate. | def start(self):
"""Ensure coverage rc file rsynced if appropriate."""
if self.cov_config and os.path.exists(self.cov_config):
self.config.option.rsyncdir.append(self.cov_config)
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.cov.config.paths['source'] = [self.topdir]
| (self) | [
-0.0379737950861454,
-0.010159807279706001,
0.006603009067475796,
-0.00511884642764926,
-0.00023190041247289628,
-0.03080827370285988,
-0.023936990648508072,
0.04347774386405945,
0.006823686417192221,
-0.015888761729002,
-0.013595448806881905,
-0.005352505017071962,
0.06815897673368454,
0.02414468675851822,
-0.0240581464022398,
-0.00204234616830945,
0.02944093942642212,
-0.024785082787275314,
-0.013405060395598412,
-0.00771504919975996,
-0.003143568988889456,
0.019090745598077774,
0.010341540910303593,
0.022258112207055092,
-0.03272946551442146,
0.028662079945206642,
-0.023590829223394394,
-0.026740889996290207,
0.012461774051189423,
-0.0397392101585865,
-0.029942872002720833,
0.007905437611043453,
-0.023642754182219505,
0.006732819136232138,
0.059885744005441666,
-0.028904391452670097,
0.017515715211629868,
-0.07477064430713654,
-0.022621581330895424,
0.053654856979846954,
-0.03915073722600937,
0.0017740719486027956,
0.038735345005989075,
0.0169964749366045,
-0.0089395921677351,
0.011838684789836407,
0.0017729902174323797,
0.0050236526876688,
0.034892965108156204,
-0.02767552249133587,
-0.0020174658857285976,
0.041920021176338196,
-0.008082845248281956,
0.003851034212857485,
0.03894304111599922,
0.0178791843354702,
0.015525292605161667,
-0.0018822470447048545,
0.026412036269903183,
-0.016295500099658966,
0.0027389940805733204,
-0.002793081570416689,
0.014313731342554092,
-0.0011953350622206926,
0.03766224905848503,
-0.024508154019713402,
-0.041262317448854446,
0.032902542501688004,
0.036658383905887604,
-0.012660815380513668,
-0.010272309184074402,
0.0262735728174448,
-0.010921359993517399,
-0.019592678174376488,
0.0573933906853199,
0.021306172013282776,
-0.12357925623655319,
-0.002992123831063509,
0.031223665922880173,
-0.004616913851350546,
-0.030877506360411644,
0.05047018453478813,
0.03852764889597893,
-0.030652500689029694,
0.024525463581085205,
0.04891246184706688,
0.042716190218925476,
-0.014582006260752678,
0.041123852133750916,
0.0049111503176391125,
0.027606289833784103,
0.08217847347259521,
-0.026862045750021935,
-0.022396575659513474,
0.0927017480134964,
0.03020249307155609,
-0.006481853313744068,
0.009631912223994732,
-0.04250849410891533,
0.04403160139918327,
-0.051370199769735336,
0.03456411510705948,
-0.004699127282947302,
-0.03129289671778679,
-0.007563604041934013,
-0.016321461647748947,
0.04600471258163452,
0.05863956734538078,
-0.010185768827795982,
0.031985219568014145,
-0.06459352374076843,
-0.07802455127239227,
0.0068669565953314304,
-0.06853975355625153,
-0.01915997639298439,
-0.02755436673760414,
-0.03240061178803444,
-0.02194656804203987,
0.013171402737498283,
0.014858934096992016,
0.02141002006828785,
-0.013759874738752842,
-0.005577509291470051,
0.03227945417165756,
0.008718914352357388,
-0.0063174269162118435,
0.011527140624821186,
0.030912121757864952,
0.05327408388257027,
-0.002215426415205002,
0.0684359073638916,
-0.0569433830678463,
-0.018208036199212074,
-0.049016308039426804,
0.03925458714365959,
0.018000340089201927,
0.020631158724427223,
-0.037419937551021576,
0.033006392419338226,
0.04455083981156349,
0.030739041045308113,
-0.033664096146821976,
-0.006949169561266899,
-0.046073947101831436,
0.005257310811430216,
0.06469737738370895,
-0.0785784050822258,
-0.024213917553424835,
-0.02154848352074623,
0.03288523480296135,
0.05663183704018593,
-0.03283331170678139,
-0.04894707724452019,
-0.012747355736792088,
0.004837591201066971,
-0.05420871451497078,
-0.030825581401586533,
0.017013782635331154,
0.006005882751196623,
0.05389717221260071,
-0.054104868322610855,
0.02132347971200943,
0.03362948074936867,
-0.026515884324908257,
-0.02154848352074623,
-0.02172156423330307,
-0.09505563974380493,
0.007706395350396633,
-0.0324525348842144,
-0.04520854353904724,
-0.03991229087114334,
-0.0653204619884491,
0.02215426415205002,
-0.0036952621303498745,
0.028056299313902855,
-0.0231754370033741,
-0.010705010034143925,
0.004190703853964806,
-0.072416752576828,
-0.0031176069751381874,
-0.016148380935192108,
-0.027796678245067596,
0.01662435196340084,
0.006183289922773838,
0.01207234337925911,
0.06026652082800865,
0.03915073722600937,
0.007429467048496008,
0.0693359225988388,
-0.009086709469556808,
0.03876996412873268,
-0.004346476402133703,
-0.03835456818342209,
0.017896492034196854,
0.06791666895151138,
-0.03345640003681183,
0.03693531081080437,
-0.00801361259073019,
-0.017948415130376816,
0.022967740893363953,
-0.013032938353717327,
0.05015863850712776,
0.04174694046378136,
-0.053966403007507324,
0.04860091581940651,
0.04410083219408989,
-0.04444699361920357,
0.03786994516849518,
0.059539586305618286,
0.04181617498397827,
0.00034616037737578154,
-0.032608307898044586,
0.023106204345822334,
-0.012461774051189423,
0.004504411946982145,
-0.006287137977778912,
0.02348698116838932,
0.004164741840213537,
-0.02547740377485752,
0.05064326152205467,
0.02243119291961193,
0.0014398108469322324,
-0.05836264044046402,
-0.041158467531204224,
-0.05143943056464195,
0.021427327767014503,
-0.01362141128629446,
-0.011380022391676903,
-0.0039245933294296265,
-0.022361960262060165,
0.006148673593997955,
-0.04628164321184158,
-0.028004374355077744,
-0.04558932036161423,
-0.075047567486763,
-0.03077365830540657,
0.03932381793856621,
0.10530198365449905,
-0.10080190002918243,
0.007719376590102911,
-0.06608201563358307,
0.039046891033649445,
0.032123684883117676,
-0.0032257819548249245,
-0.04683550074696541,
-0.0551779642701149,
-0.01207234337925911,
-0.021600408479571342,
0.033750638365745544,
0.04378928616642952,
0.03323139622807503,
-0.02203310839831829,
-0.02499277889728546,
-0.014270461164414883,
-0.019592678174376488,
-0.03484104201197624,
0.028662079945206642,
-0.027121664956212044,
0.016520503908395767,
0.0074121588841080666,
-0.00044892673031426966,
0.007464083377271891,
0.008030921220779419,
0.030790966004133224,
0.008948246017098427,
0.017515715211629868,
-0.025287015363574028,
-0.01827726885676384,
-0.017827259376645088,
-0.019748449325561523,
-0.022223496809601784,
0.04171232506632805,
0.020942702889442444,
0.040639229118824005,
-0.018294576555490494,
-0.01973114162683487,
-0.03693531081080437,
-0.008147750049829483,
-0.028817851096391678,
0.041781555861234665,
0.08584777265787125,
0.04846245422959328,
0.013751220889389515,
-0.01657242886722088,
0.0036476650275290012,
-0.08633239567279816,
-0.015231057070195675,
0.03579298406839371,
-0.022673504427075386,
-0.003993825521320105,
-0.03129289671778679,
0.07082441449165344,
-0.004102000501006842,
-0.03831995278596878,
0.08197078108787537,
-0.03032364882528782,
-0.03428718447685242,
0.01902151294052601,
-0.00876651145517826,
0.04378928616642952,
-0.038562264293432236,
-0.02918132022023201,
-0.09457101672887802,
0.009960765019059181,
-0.003978680819272995,
0.02362544648349285,
-0.002479373710229993,
-0.03274677321314812,
-0.031015969812870026,
0.014131997711956501,
-0.002362544648349285,
0.007061671931296587,
0.06500891596078873,
-0.018311884254217148,
-0.015144516713917255,
-0.026031261309981346,
-0.02559855952858925,
0.02180810458958149,
0.030496729537844658,
-0.01555990893393755,
-0.04960478097200394,
-0.025944720953702927,
0.029233243316411972,
0.029631327837705612,
0.04278542101383209,
0.06061268225312233,
0.03137943893671036,
0.10218654572963715,
-0.08515544980764389,
-0.019506137818098068,
-0.014582006260752678,
0.018640736117959023,
0.013794491067528725,
-0.021738871932029724,
0.01229734718799591,
-0.019748449325561523,
-0.014893550425767899,
-0.0789937973022461,
0.008061209693551064,
-0.01318005658686161,
0.0423700287938118,
0.027796678245067596,
0.02243119291961193,
0.0023041300009936094,
0.010064613074064255,
-0.004430852830410004,
0.030617885291576385,
-0.048497069627046585,
-0.008074190467596054,
-0.03234868869185448,
-0.006538104265928268,
0.07663990557193756,
0.0008583695744164288,
0.06566662341356277,
-0.006529449950903654,
-0.013543524779379368,
0.0068756104446947575,
-0.03721224144101143,
0.03385448455810547,
-0.0600242093205452,
-0.029164012521505356,
0.062135789543390274,
-0.025719715282320976,
-0.02639472857117653,
-0.058120328933000565,
-0.023521598428487778,
-0.017463790252804756,
0.012548313476145267,
-0.060681913048028946,
0.02480239048600197,
-0.017896492034196854,
-0.00437027495354414,
-0.018969587981700897,
-0.0047899940982460976,
0.010116537101566792,
-0.06743203848600388,
0.011440600268542767,
-0.033352553844451904,
0.017359942197799683,
0.015153170563280582,
-0.04669703543186188,
0.0037082431372255087,
-0.05206252261996269,
0.014685854315757751,
-0.04925862327218056,
-0.033404476940631866,
-0.0017697449075058103,
0.003219291567802429,
0.020735006779432297,
-0.0551779642701149,
0.03395833447575569,
-0.024750467389822006,
0.011881954967975616,
-0.024317767471075058,
0.004474123008549213,
-0.024785082787275314,
0.05230483412742615,
0.01748109981417656,
-0.01705705188214779,
0.03068711794912815,
0.008333811536431313,
-0.017446482554078102,
-0.03086019679903984,
0.030790966004133224,
0.039843060076236725,
-0.0604742169380188,
0.06483583897352219,
-0.0927017480134964,
0.04171232506632805,
-0.0012818751856684685,
-0.030929429456591606,
-0.023036973550915718,
-0.018692661076784134,
0.0693013072013855,
-0.05258176103234291,
-0.02710435725748539,
0.026290880516171455,
-0.09173250198364258,
0.010696355253458023,
0.018000340089201927,
0.00042702126665972173,
0.019263824447989464,
0.051231734454631805,
0.009363638237118721,
0.03624299168586731,
0.012851203791797161,
0.07123980671167374,
-0.019177284091711044,
-0.02502739615738392,
-0.0034096797462552786,
-0.014305077493190765,
0.06397043913602829,
-0.04950093477964401,
0.08086306601762772,
0.013863722793757915,
0.019056128337979317,
-0.03676223382353783,
0.025806255638599396,
0.05389717221260071,
0.028990931808948517,
-0.054901037365198135,
0.005287599749863148,
-0.0029986142180860043,
-0.023019665852189064,
-0.03845841810107231,
0.04538162425160408,
0.012652161531150341,
-0.054416410624980927,
0.016408002004027367,
0.007940053939819336,
-0.029787100851535797,
0.026204340159893036,
-0.01938498206436634,
-0.0028752945363521576,
-0.031673673540353775,
0.004177723079919815,
-0.021081166341900826,
0.06943976879119873,
0.02847169153392315,
-0.05081634223461151,
-0.008407370187342167,
-0.0042620995081961155,
0.007892456836998463,
-0.014348347671329975,
0.039012275636196136,
0.03407948836684227,
0.04718165844678879,
0.05275484174489975,
-0.03994690626859665,
-0.012816588394343853,
0.001242932165041566,
-0.009804992936551571,
0.0016064004739746451,
-0.002377689117565751,
0.04077769070863724,
0.01249638944864273,
-0.07400909066200256,
0.009476140141487122,
-0.005923669319599867,
0.004746724385768175,
-0.02864477038383484,
0.05389717221260071,
0.006339062005281448,
0.05898572877049446,
-0.02154848352074623,
-0.08453236520290375,
0.039012275636196136,
-0.05265099182724953,
-0.03835456818342209,
-0.02277735248208046,
0.012522351928055286,
-0.03849303349852562,
-0.04967401549220085,
0.008675644174218178,
-0.011951186694204807,
0.0622396357357502,
-0.014434888027608395,
-0.014858934096992016,
0.026862045750021935,
-0.044827770441770554,
0.018242651596665382,
0.02070039138197899,
-0.016191652044653893,
0.061962708830833435,
-0.006512142252177,
0.06566662341356277,
-0.0353083573281765,
0.004893842153251171,
-0.02613510936498642,
0.01665896736085415,
0.02186002768576145,
0.028506306931376457,
-0.013197364285588264,
-0.009614604525268078,
0.06767435371875763,
0.00960595067590475,
0.011509832926094532,
0.022223496809601784,
-0.013301212340593338,
-0.020458078011870384,
0.011085785925388336,
-0.051231734454631805,
0.0741475522518158,
-0.0010465942323207855,
0.016892626881599426,
0.014607967808842659,
0.06251656264066696,
0.03452949598431587,
0.011449254117906094,
0.05749724060297012,
0.0038099277298897505,
-0.017584947869181633,
-0.024161994457244873,
-0.018156111240386963,
0.04181617498397827,
0.016589736565947533,
0.053654856979846954,
-0.03285061940550804,
0.0662204772233963,
-0.0684359073638916,
0.009735760278999805,
0.023781217634677887,
0.08065536618232727,
0.0006111894035711884,
0.013716604560613632,
-0.010384811088442802,
0.03080827370285988,
-0.033006392419338226,
-0.06549354642629623,
0.0039440649561584,
0.06802051514387131,
0.0051404815167188644,
0.008731895126402378,
0.028990931808948517,
0.03513527661561966,
-0.015793567523360252,
0.03506604582071304,
0.0016399348387494683,
0.046766266226768494,
0.04669703543186188,
0.00964922085404396,
0.015222402289509773,
-0.02551201917231083,
-0.027173589915037155,
0.004259936045855284,
0.02556394413113594,
0.012080997228622437,
0.05143943056464195,
0.02878323569893837,
-0.057635702192783356,
0.0006057806895114481,
-0.0007891374989412725,
-0.007663125172257423,
0.06265503168106079,
-0.05147404968738556,
0.0038531976751983166,
0.00446979608386755,
0.0882708951830864,
-0.05199328809976578,
-0.03160444274544716,
-0.01858881302177906,
-0.053966403007507324,
0.05223559960722923,
-0.0030808274168521166,
-0.046420108526945114,
-0.03651991859078407,
-0.03676223382353783,
0.012219461612403393,
0.004316186998039484,
-0.014279115945100784,
0.01981768198311329,
-0.0560779795050621,
-0.008649682626128197,
-0.060197290033102036,
-0.03738532215356827,
0.0018692660378292203,
0.010531929321587086,
-0.006083768792450428,
0.05351639539003372,
0.025460096076130867,
-0.024490846320986748,
0.006365024019032717,
0.05801647901535034,
0.019713833928108215,
-0.02551201917231083,
0.023608136922121048,
-0.005192405544221401,
0.0011109585175290704,
0.004963074345141649,
0.048012442886829376,
-0.0038402166683226824,
0.03236599639058113,
-0.020561926066875458,
-0.01625222899019718,
-0.032642923295497894,
-0.030081337317824364,
-0.034321799874305725,
-0.008446313440799713,
-0.01938498206436634,
0.05213175341486931,
0.031015969812870026,
-0.007883802987635136,
-0.03977382928133011,
0.014798356220126152,
-0.0463508740067482,
0.03492758050560951,
0.04299311712384224,
-0.018156111240386963,
-0.03257369250059128,
0.027467826381325722,
0.04517392814159393,
-0.04860091581940651,
-0.02459469437599182,
-0.05483180284500122,
0.005962612573057413,
-0.02630818821489811,
0.01756763830780983,
0.06518200039863586,
0.0007994141196832061,
0.010471351444721222,
0.031760215759277344,
-0.0556279718875885,
0.028973624110221863,
0.05424332991242409,
-0.057947248220443726,
-0.08197078108787537,
-0.06829744577407837,
-0.006771762389689684,
0.02141002006828785,
-0.010670393705368042,
0.019713833928108215,
0.014954128302633762,
0.021358095109462738,
0.08605547249317169,
-0.05832802504301071,
0.01318005658686161,
-0.010981937870383263,
-0.038389187306165695,
-0.025840872898697853,
0.009545372799038887,
-0.016961857676506042,
0.054451026022434235,
0.0007372134132310748,
0.016208959743380547,
0.07553219795227051,
-0.017100322991609573,
0.049016308039426804,
-0.018831124529242516,
-0.05047018453478813,
0.011215596459805965,
0.019938837736845016,
0.0253908634185791,
-0.03949689865112305,
0.0432700477540493,
-0.037143006920814514,
-0.021513868123292923,
-0.014261807315051556,
-0.051681745797395706,
-0.006183289922773838,
-0.005205386783927679,
-0.016122419387102127,
0.0036757905036211014,
0.047043196856975555,
-0.050885576754808426,
0.053481779992580414,
0.03683146461844444,
-0.02021576650440693,
-0.08141691982746124,
0.008965553715825081,
0.00771504919975996,
0.0037536765448749065,
0.0675705075263977,
0.029112087562680244,
-0.03627760708332062,
-0.053966403007507324,
-0.00204234616830945,
-0.046247027814388275,
-0.049293238669633865,
-0.01947152055799961,
-0.04153924435377121,
0.02957940474152565,
0.010912706144154072,
0.012730048038065434,
-0.0020044848788529634,
-0.02445623092353344,
0.03800841048359871,
-0.006603009067475796,
-0.007014074828475714,
0.0033404475543648005,
-0.036796849220991135,
0.043823905289173126,
-0.021254247054457664,
-0.00134353491012007,
0.038562264293432236,
-0.023071588948369026,
-0.010021342895925045,
-0.04358159005641937,
-0.0024404306896030903,
-0.018796509131789207,
-0.0020261199679225683,
-0.012401195243000984,
0.01432238519191742,
-0.0662551000714302,
-0.0011758635519072413,
0.09574796259403229,
-0.010038650594651699,
-0.010177114978432655,
-0.009458832442760468,
-0.01247042790055275,
-0.018779201433062553,
-0.007256386801600456,
-0.06763973832130432,
0.024040838703513145,
0.024179302155971527,
-0.031015969812870026,
0.02322736196219921,
-0.040016140788793564,
0.0004870584816671908,
0.014936820603907108,
-0.020908087491989136,
-0.012816588394343853,
-0.06192809343338013,
-0.028367843478918076,
-0.011198287829756737,
-0.01907343603670597,
0.041954636573791504,
0.041781555861234665,
0.012479081749916077,
0.017152246087789536,
0.009770376607775688,
-0.007862167432904243,
0.014867587946355343,
0.03274677321314812,
0.002308456925675273,
-0.04043153300881386,
0.004223156720399857,
-0.018640736117959023,
0.052824072539806366,
0.006970804650336504,
-0.0231754370033741,
0.07317830622196198,
-0.10744818300008774,
-0.010012689046561718,
0.017463790252804756,
0.08245540410280228,
0.03617376089096069,
0.03037557378411293,
0.016650313511490822
] |
23,264 | cov_core | testnodedown | Collect data file name from slave. Also save data to file if slave not collocated. | def testnodedown(self, node, error):
"""Collect data file name from slave. Also save data to file if slave not collocated."""
# If slave doesn't return any data then it is likely that this
# plugin didn't get activated on the slave side.
if not (hasattr(node, 'slaveoutput') and 'cov_slave_node_id' in node.slaveoutput):
self.failed_slaves.append(node)
return
# If slave is not collocated then we must save the data file
# that it returns to us.
if 'cov_slave_lines' in node.slaveoutput:
cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
data_suffix=node.slaveoutput['cov_slave_node_id'],
config_file=self.cov_config)
cov.start()
cov.data.lines = node.slaveoutput['cov_slave_lines']
cov.data.arcs = node.slaveoutput['cov_slave_arcs']
cov.stop()
cov.save()
path = node.slaveoutput['cov_slave_path']
self.cov.config.paths['source'].append(path)
# Record the slave types that contribute to the data file.
rinfo = node.gateway._rinfo()
node_desc = self.get_node_desc(rinfo.platform, rinfo.version_info)
self.node_descs.add(node_desc)
| (self, node, error) | [
-0.0061148363165557384,
0.008018960244953632,
0.010585200972855091,
0.04479885473847389,
-0.03024095855653286,
-0.007642463315278292,
-0.01607254147529602,
0.059304822236299515,
0.04521430283784866,
-0.07658042758703232,
0.027055878192186356,
0.025740301236510277,
0.022901425138115883,
-0.013389457017183304,
0.03385879471898079,
0.006963036954402924,
-0.002256820211187005,
0.0368015319108963,
0.018989313393831253,
0.048330143094062805,
-0.07041798532009125,
0.048503242433071136,
0.030916057527065277,
-0.045560505241155624,
-0.032750941812992096,
0.01416841708123684,
0.02610381506383419,
-0.017197705805301666,
0.03707849606871605,
0.0209973007440567,
-0.11535532027482986,
-0.08952847123146057,
-0.029704341664910316,
0.026744294911623,
-0.012844185344874859,
0.04805317893624306,
-0.008849851787090302,
0.007729014381766319,
-0.10794654488563538,
0.025688370689749718,
-0.08018095046281815,
-0.03271631896495819,
-0.020720336586236954,
0.0022460015024989843,
0.030050545930862427,
-0.031314194202423096,
-0.04663373902440071,
-0.012575876899063587,
-0.06020495295524597,
-0.055738918483257294,
-0.0023087509907782078,
-0.017093844711780548,
0.004755983594805002,
0.0689985454082489,
0.03839407488703728,
0.02489210106432438,
0.015432063490152359,
0.015769612044095993,
-0.0011944053694605827,
0.05127288028597832,
-0.00796270277351141,
0.03645532950758934,
-0.00957255344837904,
0.020945370197296143,
0.04448727145791054,
0.00862049125134945,
-0.017846839502453804,
-0.03238742798566818,
0.00866809394210577,
0.034239619970321655,
0.013571214862167835,
0.007932409644126892,
0.02852724678814411,
0.04064440354704857,
0.07457243651151657,
-0.026934705674648285,
-0.03638608753681183,
0.024857480078935623,
0.019681723788380623,
0.030777575448155403,
-0.01943938061594963,
0.02369769476354122,
0.031989291310310364,
-0.004582881461828947,
-0.001066201482899487,
-0.023940037935972214,
0.06543263792991638,
0.014185727573931217,
0.022105153650045395,
0.008810902945697308,
-0.01181422732770443,
-0.0546310618519783,
-0.0408175066113472,
0.020720336586236954,
-0.0011868320871144533,
-0.02156853675842285,
0.004286443814635277,
0.031175710260868073,
-0.026882775127887726,
-0.016384126618504524,
0.005526288412511349,
0.08246590197086334,
0.03960578888654709,
0.05785076320171356,
0.010377478785812855,
-0.03295866400003433,
-0.044071827083826065,
0.05258845537900925,
-0.0013209863100200891,
-0.0077073764987289906,
-0.07180280238389969,
0.011822882108390331,
0.01589944027364254,
0.01592540554702282,
0.01733618788421154,
-0.06089736148715019,
-0.00868107657879591,
-0.0048555172979831696,
-0.07083342969417572,
-0.017699703574180603,
0.08149652928113937,
0.02766173519194126,
-0.05906248092651367,
-0.012982667423784733,
-0.03391072526574135,
-0.004608846735209227,
0.03179888054728508,
0.05733145773410797,
0.02323031798005104,
-0.04410644620656967,
0.05203453078866005,
-0.05501188710331917,
-0.025324854999780655,
0.04857248440384865,
-0.00009209579729940742,
0.013727006502449512,
0.013501973822712898,
0.017916079610586166,
0.026882775127887726,
-0.05549657344818115,
0.007499653846025467,
-0.03261245787143707,
0.05508112907409668,
-0.0667136013507843,
0.06214369833469391,
0.03254321962594986,
-0.06082812324166298,
0.005721028428524733,
0.0002138082927558571,
-0.028734968975186348,
-0.04275624826550484,
-0.018695039674639702,
-0.07969626784324646,
-0.048260901123285294,
-0.009252314455807209,
0.0012192887952551246,
-0.048260901123285294,
0.019110485911369324,
-0.02236480824649334,
-0.03031020052731037,
0.00008012739999685436,
-0.06449788808822632,
0.01152860838919878,
-0.0010299582500010729,
0.0014811059227213264,
-0.02224363572895527,
-0.06865234673023224,
-0.06276686489582062,
-0.04317169636487961,
0.05300390347838402,
-0.0586470328271389,
0.012645117938518524,
-0.014081866480410099,
-0.01124298945069313,
-0.04652987793087959,
0.015362822450697422,
0.01584750972688198,
-0.04230618476867676,
-0.01607254147529602,
-0.011918088421225548,
-0.0758880153298378,
0.03133150190114975,
0.0436910018324852,
0.0390864834189415,
0.018885452300310135,
0.016652435064315796,
-0.012082535773515701,
-0.0011673581320792437,
0.014280933886766434,
0.0014291752595454454,
-0.0007248655892908573,
-0.002414776012301445,
-0.024009278044104576,
0.01616774871945381,
0.08675883710384369,
-0.01589944027364254,
0.02305721677839756,
0.04144067317247391,
0.016687054187059402,
0.059477925300598145,
-0.02828490361571312,
0.0058595105074346066,
0.03439541161060333,
0.009061901830136776,
-0.03531285375356674,
0.005167101509869099,
0.009035936556756496,
0.0764419436454773,
-0.008507974445819855,
0.020512614399194717,
0.03036213107407093,
0.046010572463274,
0.022866804152727127,
0.007335206959396601,
0.03960578888654709,
-0.0678214505314827,
-0.02833683416247368,
0.03230087459087372,
-0.005772959440946579,
0.059997230768203735,
0.0008530694176442921,
0.010879474692046642,
0.000989928375929594,
-0.007045260630548,
-0.05715835466980934,
-0.0025835507549345493,
-0.023420730605721474,
-0.023818867281079292,
0.055635057389736176,
-0.03526092320680618,
-0.009131142869591713,
0.05701987445354462,
-0.017292913049459457,
-0.027800217270851135,
-0.010308237746357918,
0.008274286054074764,
-0.020304890349507332,
0.014592518098652363,
-0.010308237746357918,
-0.0016542081721127033,
-0.10822351276874542,
0.001779707265086472,
0.0030963660683482885,
-0.017985321581363678,
0.04296397417783737,
-0.06501719355583191,
0.07914233952760696,
0.017621805891394615,
-0.02684815600514412,
0.040679022669792175,
0.06865234673023224,
-0.048260901123285294,
-0.0014540586853399873,
0.029133105650544167,
0.03235280513763428,
-0.06273224949836731,
0.018712351098656654,
-0.04639139771461487,
0.04576822742819786,
-0.00708420854061842,
0.029756272211670876,
-0.017517944797873497,
-0.029340827837586403,
0.035105131566524506,
-0.08184273540973663,
-0.03081219643354416,
-0.004474692512303591,
0.002858350519090891,
-0.024805549532175064,
-0.009927412495017052,
0.026744294911623,
0.02587878331542015,
-0.053557828068733215,
0.005894131027162075,
-0.027263600379228592,
-0.024442033842206,
-0.01834883540868759,
-0.004937740974128246,
0.03593602403998375,
-0.013380802236497402,
0.005634477362036705,
0.041475292295217514,
-0.0238534864038229,
-0.0030530905351042747,
-0.04092136770486832,
-0.07079881429672241,
-0.030154407024383545,
0.02006254717707634,
-0.009901447221636772,
0.006950054317712784,
-0.057746902108192444,
-0.010420753620564938,
-0.006599522195756435,
0.04299859330058098,
0.0010240079136565328,
0.029687032103538513,
-0.07249521464109421,
0.035970643162727356,
-0.0003894800029229373,
0.008456043899059296,
-0.04417568817734718,
-0.017007293179631233,
-0.06695593893527985,
-0.026311539113521576,
-0.013709696009755135,
-0.027263600379228592,
0.011736330576241016,
-0.04552588611841202,
-0.03690539300441742,
0.02996399626135826,
-0.028025250881910324,
-0.023420730605721474,
0.018244974315166473,
0.022209014743566513,
0.035797540098428726,
-0.02580954134464264,
0.026086505502462387,
0.025913402438163757,
0.013657765462994576,
0.02857917733490467,
-0.03856717422604561,
-0.0353647843003273,
0.010507305152714252,
0.05653518810868263,
0.02115309238433838,
0.04279087111353874,
0.03915572538971901,
0.035208992660045624,
-0.003195899771526456,
0.0096331387758255,
-0.017812218517065048,
-0.06214369833469391,
0.0007795009878464043,
-0.03167770802974701,
0.005833545234054327,
0.018123803660273552,
-0.008854178711771965,
-0.04517967998981476,
0.06252452731132507,
0.059477925300598145,
-0.03346066176891327,
0.019352829083800316,
-0.017491979524493217,
-0.009356175549328327,
0.08031943440437317,
0.0344819650053978,
0.012039260007441044,
0.010403444059193134,
0.01886814273893833,
0.06976019591093063,
0.03432617336511612,
0.035728298127651215,
-0.04123295098543167,
0.019473999738693237,
0.03822097182273865,
-0.00796270277351141,
-0.0014356665778905153,
-0.02293604426085949,
0.009035936556756496,
-0.02035682275891304,
-0.04095598682761192,
-0.0005820562364533544,
0.010559235699474812,
0.02023565024137497,
-0.008192063309252262,
-0.03403189778327942,
-0.057469937950372696,
0.058854758739471436,
0.05888937786221504,
-0.01834883540868759,
-0.017699703574180603,
-0.03863641619682312,
0.010022618807852268,
-0.038428694009780884,
0.004225858021527529,
-0.03488009795546532,
-0.011364161036908627,
-0.039017241448163986,
0.013467352837324142,
-0.019802894443273544,
-0.06560574471950531,
-0.04822628200054169,
-0.056327465921640396,
-0.05071895197033882,
0.002709049731492996,
0.006305248476564884,
0.015483994036912918,
0.018071873113512993,
0.01253260113298893,
-0.04092136770486832,
0.028423385694622993,
0.03943268582224846,
-0.013657765462994576,
0.007222690619528294,
-0.0007118828943930566,
-0.02811180241405964,
0.04376024380326271,
-0.04227156192064285,
0.04472961649298668,
-0.02979089319705963,
-0.009477347135543823,
0.03408382833003998,
-0.05840469151735306,
0.05397327244281769,
0.02667505294084549,
-0.0026527915615588427,
0.016730330884456635,
-0.04788007587194443,
0.02489210106432438,
-0.05272693932056427,
0.00045601619058288634,
0.0074001201428473,
0.003914274275302887,
0.03977889195084572,
-0.04974957928061485,
0.05958178639411926,
-0.009745655581355095,
0.03905186057090759,
0.02563644014298916,
-0.006132146343588829,
-0.03351259231567383,
-0.03375493362545967,
0.01281822007149458,
0.0027458341792225838,
0.07976550608873367,
-0.02167239785194397,
-0.01055058091878891,
0.0001712089142529294,
-0.010256307199597359,
0.061659011989831924,
0.01777759939432144,
-0.0009244740940630436,
-0.0442795492708683,
0.020304890349507332,
0.028821520507335663,
-0.02672698348760605,
-0.02754056453704834,
-0.01885083317756653,
0.02144736610352993,
0.061659011989831924,
-0.04621829465031624,
0.024303551763296127,
0.046772222965955734,
-0.05483878403902054,
0.0022827857173979282,
0.013008632697165012,
0.018089182674884796,
-0.049645718187093735,
0.0002335527678951621,
-0.0034880097955465317,
-0.01514644455164671,
-0.002737178932875395,
-0.010515959933400154,
-0.011537263169884682,
-0.011312230490148067,
-0.021776260808110237,
-0.017223671078681946,
0.03295866400003433,
0.03474161773920059,
-0.06539802253246307,
-0.05161908268928528,
0.004353520926088095,
0.00047332639223895967,
0.006621160078793764,
0.056950632482767105,
0.011069887317717075,
0.04365638270974159,
-0.019075864925980568,
0.034585826098918915,
-0.04652987793087959,
-0.02362845465540886,
-0.017829529941082,
0.0008692977717146277,
-0.03217970207333565,
0.06986405700445175,
-0.024407414719462395,
-0.08357375860214233,
-0.03790938854217529,
-0.03479354828596115,
-0.028786899521946907,
-0.050165023654699326,
-0.024944031611084938,
0.04846862331032753,
-0.03970964998006821,
-0.02724629081785679,
-0.06013571470975876,
-0.0373554602265358,
-0.010723683051764965,
-0.010282272472977638,
-0.027055878192186356,
-0.033322177827358246,
-0.035399407148361206,
-0.06543263792991638,
-0.05123825743794441,
-0.0339280366897583,
-0.0011413928586989641,
0.02548064850270748,
0.02719436027109623,
0.015994645655155182,
-0.07658042758703232,
0.025376785546541214,
0.07381078600883484,
0.03552057594060898,
-0.019006624817848206,
-0.0218455009162426,
-0.02387079782783985,
0.026242297142744064,
0.028163732960820198,
-0.0006339868996292353,
0.01994137652218342,
0.01374431699514389,
0.04652987793087959,
0.00034972059074789286,
0.024822859093546867,
-0.007014967501163483,
0.014930066652595997,
-0.020097168162465096,
0.046772222965955734,
0.028769589960575104,
0.046772222965955734,
-0.043829482048749924,
0.0002276023878948763,
0.058854758739471436,
0.048330143094062805,
0.01862579956650734,
0.017725668847560883,
-0.025151753798127174,
0.054596442729234695,
-0.03434348106384277,
0.04635677486658096,
-0.013337526470422745,
-0.01733618788421154,
0.0546310618519783,
0.005993664730340242,
0.004717035684734583,
0.03127957135438919,
0.05653518810868263,
0.037978626787662506,
-0.018019942566752434,
-0.06297458708286285,
0.02409582957625389,
-0.03065640479326248,
0.0014573043445125222,
-0.021603157743811607,
-0.05248459428548813,
0.00772035913541913,
0.04853786528110504,
-0.00041436345782130957,
0.0500265434384346,
0.019473999738693237,
0.04299859330058098,
0.019820205867290497,
0.006223025266081095,
-0.039467308670282364,
0.025688370689749718,
0.000022398480723495595,
-0.05165370553731918,
-0.007205380126833916,
0.05040736868977547,
-0.023005286231637,
-0.023905416950583458,
-0.021430056542158127,
0.019854824990034103,
0.02231287769973278,
0.08440464735031128,
0.04978420212864876,
-0.0068505206145346165,
0.04265238717198372,
0.018383456394076347,
-0.08862833678722382,
0.06629814952611923,
0.0115026431158185,
-0.005573891568928957,
-0.011762295849621296,
-0.05013040453195572,
-0.02097998932003975,
0.015388787724077702,
-0.011822882108390331,
0.012645117938518524,
-0.03707849606871605,
-0.004777621477842331,
-0.007729014381766319,
0.0805271565914154,
0.057123735547065735,
-0.08606642484664917,
-0.000015163349416980054,
-0.008672421798110008,
0.013553904369473457,
0.01229891274124384,
-0.007006312720477581,
0.02362845465540886,
-0.020149098709225655,
-0.022901425138115883,
-0.03898262232542038,
0.014064555987715721,
0.023766934871673584,
0.049022551625967026,
0.029635101556777954,
0.053904034197330475,
-0.04057516157627106,
0.004176091402769089,
0.004286443814635277,
0.052692316472530365,
-0.04289473220705986,
-0.047983936965465546,
-0.02317838743329048,
-0.024511275812983513,
0.001740759238600731,
0.014410760253667831,
0.0695870965719223,
0.016557227820158005,
0.009390795603394508,
0.010412098839879036,
-0.02226094715297222,
-0.012930735945701599,
-0.013501973822712898,
0.014947377145290375,
-0.06522491574287415,
-0.019525930285453796,
0.036074504256248474,
0.013250975869596004,
0.017197705805301666,
0.0307602658867836,
0.008737334981560707,
-0.07394926995038986,
0.029583171010017395,
-0.018244974315166473,
-0.018314216285943985,
-0.03295866400003433,
-0.008503646589815617,
-0.058162346482276917,
-0.037632424384355545,
0.01345004327595234,
-0.04109446704387665,
-0.019335519522428513,
-0.06813303381204605,
0.051722943782806396,
-0.018089182674884796,
0.01698998361825943,
-0.0029773584101349115,
0.008711369708180428,
0.019802894443273544,
-0.0037519908510148525,
-0.0004698102711699903,
-0.08378148078918457,
-0.03467237576842308,
0.02104923129081726,
0.053211625665426254,
-0.034239619970321655,
-0.017647771164774895,
0.018729660660028458,
0.07754980027675629,
0.007741997018456459,
0.047222286462783813,
0.04909178987145424,
-0.011069887317717075,
0.05265769734978676,
0.036143746227025986,
0.009797586128115654,
-0.013250975869596004,
-0.016306228935718536,
0.030552543699741364,
0.02156853675842285,
-0.031366124749183655,
0.0695870965719223,
-0.003959713503718376,
0.09915295243263245,
0.027454013004899025,
-0.024338172748684883,
-0.00576430419459939,
0.023126456886529922,
-0.015657097101211548,
-0.030673714354634285,
-0.06013571470975876,
-0.0011219187872484326,
-0.0419599786400795,
0.00513248099014163,
-0.0425485260784626,
0.015942715108394623,
0.011364161036908627,
0.023559212684631348,
0.060101091861724854,
-0.0465645007789135,
-0.043275557458400726,
0.055738918483257294,
0.12311030179262161,
0.05158446356654167,
0.022693701088428497,
-0.006179749500006437,
-0.06425554305315018,
0.02013178914785385,
0.012601842172443867,
0.029531240463256836,
0.005716701038181782,
-0.04279087111353874,
0.008932074531912804,
-0.0037887750659137964,
-0.0030054873786866665,
-0.0816350132226944,
-0.03290673345327377,
0.00997068826109171,
0.00772035913541913,
-0.020616475492715836,
0.015362822450697422,
0.011493987403810024,
-0.025428717955946922,
-0.039121102541685104,
-0.019854824990034103,
-0.0060455952771008015,
-0.03863641619682312,
0.012342188507318497,
-0.06750986725091934,
-0.013908764347434044,
-0.022295566275715828,
-0.06003185361623764,
-0.007079881150275469,
-0.03635146841406822,
-0.0002626285422593355,
-0.043898724019527435,
0.03449927270412445,
-0.002603024709969759,
-0.01966441236436367,
0.03569367900490761,
0.0408175066113472,
-0.0055392710492014885,
0.027350151911377907,
-0.010559235699474812,
-0.048503242433071136,
0.035208992660045624,
0.02132619358599186,
0.012428740039467812,
-0.007006312720477581,
0.06460174918174744,
0.05151522159576416,
-0.01840076595544815,
-0.01718905195593834,
0.007131811697036028,
0.02915041521191597,
0.021914741024374962,
0.026294227689504623,
-0.017266947776079178,
-0.006863503251224756,
0.05927020311355591,
0.019266277551651,
-0.034118447452783585,
0.026086505502462387,
0.0030833834316581488,
0.07851917296648026,
0.017898770049214363,
-0.04514506086707115,
0.051307499408721924,
-0.03759780526161194,
0.02046068385243416,
0.04292935132980347,
-0.029392758384346962,
-0.019993307068943977,
0.011459367349743843,
-0.016877466812729836,
0.016332194209098816,
0.007971357554197311,
0.07838068902492523,
-0.010472685098648071,
-0.028821520507335663,
0.011831536889076233,
0.02714242972433567,
0.007413102779537439,
-0.0010488913394510746,
0.020668406039476395
] |
23,266 | cov_core | DistSlave | Implementation for distributed slaves. | class DistSlave(CovController):
"""Implementation for distributed slaves."""
def start(self):
"""Determine what data file and suffix to contribute to and start coverage."""
# Determine whether we are collocated with master.
self.is_collocated = bool(socket.gethostname() == self.config.slaveinput['cov_master_host'] and
self.topdir == self.config.slaveinput['cov_master_topdir'])
# If we are not collocated then rewrite master paths to slave paths.
if not self.is_collocated:
master_topdir = self.config.slaveinput['cov_master_topdir']
slave_topdir = self.topdir
self.cov_source = [source.replace(master_topdir, slave_topdir) for source in self.cov_source]
self.cov_data_file = self.cov_data_file.replace(master_topdir, slave_topdir)
self.cov_config = self.cov_config.replace(master_topdir, slave_topdir)
# Our slave node id makes us unique from all other slaves so
# adjust the data file that we contribute to and the master
# will combine our data with other slaves later.
self.cov_data_file += '.%s' % self.nodeid
# Erase any previous data and start coverage.
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.set_env()
def finish(self):
"""Stop coverage and send relevant info back to the master."""
self.unset_env()
self.cov.stop()
self.cov.combine()
self.cov.save()
if self.is_collocated:
# If we are collocated then just inform the master of our
# data file to indicate that we have finished.
self.config.slaveoutput['cov_slave_node_id'] = self.nodeid
else:
# If we are not collocated then add the current path
# and coverage data to the output so we can combine
# it on the master node.
# Send all the data to the master over the channel.
self.config.slaveoutput['cov_slave_path'] = self.topdir
self.config.slaveoutput['cov_slave_node_id'] = self.nodeid
self.config.slaveoutput['cov_slave_lines'] = self.cov.data.lines
self.config.slaveoutput['cov_slave_arcs'] = self.cov.data.arcs
def summary(self, stream):
"""Only the master reports so do nothing."""
pass
| (cov_source, cov_report, cov_config, config=None, nodeid=None) | [
-0.00808490626513958,
-0.01293232198804617,
-0.03237491101026535,
0.02759365737438202,
-0.02441791631281376,
-0.0211892481893301,
-0.04798896983265877,
0.05472859740257263,
0.012535354122519493,
-0.060833077877759933,
-0.018948586657643318,
0.004697449505329132,
0.03198676556348801,
0.01117684319615364,
-0.0006081322790123522,
0.0056325290352106094,
0.04813011363148689,
-0.027734801173210144,
0.06559668481349945,
0.015975739806890488,
-0.05850420147180557,
0.0014886284479871392,
0.06220922991633415,
-0.029851961880922318,
-0.04431922361254692,
0.01041819341480732,
-0.004843004513531923,
-0.08080495893955231,
0.041355200111866,
-0.016619710251688957,
-0.05928049236536026,
-0.05642232671380043,
-0.01095630507916212,
0.03807360306382179,
0.05744561925530434,
-0.008428945206105709,
-0.0037160576321184635,
-0.01886037178337574,
-0.09738937765359879,
0.04057890921831131,
-0.02904038317501545,
-0.04950626939535141,
0.030787041410803795,
-0.033239420503377914,
0.010982769541442394,
0.025317709892988205,
-0.06390295922756195,
0.059950925409793854,
0.005742797628045082,
-0.05698690190911293,
-0.006594072561711073,
-0.026923224329948425,
-0.02244190126657486,
0.013990901410579681,
0.04174334555864334,
0.05472859740257263,
0.04026133567094803,
0.048729974776506424,
0.013885043561458588,
-0.0011225361377000809,
0.01293232198804617,
0.006951343268156052,
0.04548366367816925,
0.02558235451579094,
0.03800303116440773,
-0.0007470709388144314,
-0.046436384320259094,
0.04640109837055206,
0.03466850146651268,
0.026235146448016167,
0.03362756595015526,
-0.05172928795218468,
0.031351618468761444,
0.027134940028190613,
0.07939351350069046,
0.004064506851136684,
-0.11213893443346024,
0.01773121953010559,
0.05755147710442543,
-0.002703790320083499,
-0.03359228000044823,
-0.01530530583113432,
0.042096205055713654,
-0.08560385555028915,
0.029587317258119583,
-0.006205926649272442,
0.012561818584799767,
-0.0029882837552577257,
0.0613623671233654,
0.0016099241329357028,
0.015569950453937054,
0.040720053017139435,
-0.009730116464197636,
0.012173672206699848,
0.03136926144361496,
-0.0056325290352106094,
0.010109441354870796,
0.037897173315286636,
-0.025723500177264214,
-0.0002554100356064737,
-0.035374220460653305,
0.06789027899503708,
0.015614057891070843,
0.020412955433130264,
-0.036379873752593994,
-0.03532129153609276,
-0.04523666203022003,
0.04911812022328377,
-0.010047690942883492,
0.0184192955493927,
-0.06270323693752289,
0.0027920054271817207,
0.012014885433018208,
-0.05776319280266762,
-0.022494830191135406,
-0.01692846231162548,
-0.047353822737932205,
0.004031426273286343,
-0.062279801815748215,
-0.014370226301252842,
0.031228115782141685,
0.03461557254195213,
-0.02895216830074787,
-0.018913300707936287,
-0.024806063622236252,
0.023094691336154938,
-0.009977118112146854,
0.023588696494698524,
0.027558371424674988,
-0.012138386256992817,
0.025988144800066948,
-0.06549082696437836,
0.006505857687443495,
0.01681378297507763,
0.07713521271944046,
0.0028493450954556465,
-0.026552719995379448,
-0.015517021529376507,
0.015014195814728737,
0.0055840108543634415,
0.05218800529837608,
-0.018278151750564575,
0.04093176871538162,
-0.06390295922756195,
0.047389108687639236,
0.056563470512628555,
-0.03431564196944237,
-0.05444630980491638,
-0.03216319531202316,
-0.01810172200202942,
-0.02312997728586197,
-0.011688489466905594,
-0.07854665070772171,
0.000542246678378433,
0.0004747070779558271,
-0.004088765941560268,
-0.02759365737438202,
0.021700894460082054,
0.011750240810215473,
0.00625444483011961,
-0.044142793864011765,
-0.04424865171313286,
0.01789000630378723,
0.004432804882526398,
-0.016355063766241074,
-0.003599172690883279,
-0.04262549802660942,
-0.046330526471138,
-0.06824313849210739,
0.019125016406178474,
-0.08553328365087509,
-0.03390985354781151,
-0.01480248011648655,
-0.004569537937641144,
-0.04280192777514458,
0.009606615640223026,
-0.002423707628622651,
-0.02404741384088993,
-0.04862411692738533,
-0.014696622267365456,
-0.05190571770071983,
-0.025564711540937424,
-0.015393520705401897,
0.0037733973003923893,
0.0071895238943398,
0.06270323693752289,
0.02228311263024807,
-0.01359393447637558,
0.07953465729951859,
-0.00031481735641136765,
-0.002112749731168151,
-0.03662687540054321,
-0.00287580955773592,
-0.005032666958868504,
0.08299268782138824,
-0.03944975510239601,
0.031792692840099335,
-0.0037359059788286686,
0.0064705717377364635,
0.022106682881712914,
-0.004333562683314085,
0.026235146448016167,
0.04583652317523956,
-0.022300757467746735,
0.01870158314704895,
0.04594238102436066,
-0.01387622207403183,
0.07501804828643799,
-0.0201130248606205,
0.030734112486243248,
-0.013108751736581326,
0.006982218474149704,
0.04449565336108208,
-0.004377670120447874,
0.06736098974943161,
-0.041884489357471466,
-0.0046753957867622375,
0.021383320912718773,
0.01568463072180748,
0.04481323063373566,
0.05546960234642029,
-0.007290971465408802,
-0.01571991667151451,
0.02533535286784172,
-0.08151067793369293,
0.017422465607523918,
-0.000308476883219555,
-0.012526532635092735,
0.06503210961818695,
-0.025000136345624924,
-0.012156029231846333,
0.023676911368966103,
0.011168021708726883,
-0.0025979322381317616,
-0.02256540209054947,
0.006205926649272442,
-0.0034050997346639633,
0.08729758113622665,
-0.05490502715110779,
0.059703923761844635,
-0.0765000656247139,
0.03286891430616379,
0.04922398179769516,
0.00024713989114388824,
0.02240661531686783,
-0.06414996087551117,
0.04668338596820831,
0.022071396932005882,
0.023694554343819618,
0.045342519879341125,
0.032074980437755585,
-0.030434181913733482,
-0.036379873752593994,
0.010162370279431343,
0.02372984029352665,
-0.03620344400405884,
-0.015993382781744003,
-0.04400165006518364,
0.03542714938521385,
-0.028175877407193184,
-0.031228115782141685,
0.02134803496301174,
-0.024347344413399696,
0.04601295292377472,
-0.07388889789581299,
0.022671259939670563,
-0.02432970143854618,
-0.029657889157533646,
-0.017263678833842278,
0.02404741384088993,
0.022459544241428375,
0.07021915167570114,
-0.04026133567094803,
0.02722315490245819,
-0.051941003650426865,
-0.02103045955300331,
-0.002328876405954361,
-0.031792692840099335,
-0.023800412192940712,
0.023835698142647743,
0.035727083683013916,
0.051976289600133896,
-0.02979903295636177,
-0.05868063122034073,
0.036132872104644775,
-0.06270323693752289,
-0.02341226488351822,
-0.014079117216169834,
-0.01063873153179884,
0.009227290749549866,
-0.06263266503810883,
-0.002776567591354251,
0.01554348599165678,
0.0047371466644108295,
0.04315478727221489,
0.0057251546531915665,
-0.048800546675920486,
0.04322535917162895,
-0.016857890412211418,
-0.004053479991853237,
-0.07201874256134033,
-0.0034359749406576157,
-0.0480242557823658,
-0.03863817825913429,
0.010656374506652355,
-0.02706436812877655,
0.03117518685758114,
-0.05289372429251671,
-0.0023310817778110504,
0.011415023356676102,
0.022706545889377594,
0.0033764299005270004,
0.04424865171313286,
-0.005888352636247873,
-0.020060095936059952,
0.00866712536662817,
-0.010197656229138374,
0.017078427597880363,
0.040402479469776154,
0.037509024143218994,
-0.03825003281235695,
-0.017907649278640747,
0.005875120405107737,
0.042131491005420685,
0.07727635651826859,
0.04657752811908722,
0.03216319531202316,
0.06630241125822067,
-0.04611881077289581,
0.02429441548883915,
-0.038744036108255386,
-0.026288075372576714,
-0.005054720677435398,
-0.030910542234778404,
0.03313355892896652,
-0.02247718721628189,
-0.0136733278632164,
-0.03549772500991821,
0.06584368646144867,
0.011617917567491531,
0.01737835817039013,
0.0046312883496284485,
-0.03184562176465988,
0.015702273696660995,
0.002395037794485688,
-0.014864230528473854,
0.024541417136788368,
0.02291826158761978,
-0.023359335958957672,
0.008499517105519772,
0.03828531876206398,
0.06831371039152145,
-0.0007884217193350196,
0.05935106426477432,
0.039590898901224136,
0.012517711147665977,
0.027646586298942566,
-0.08447469770908356,
0.017237214371562004,
-0.053670015186071396,
-0.049047548323869705,
0.006827842444181442,
-0.0029309440869838,
0.006263266317546368,
-0.0670081302523613,
-0.018842726945877075,
-0.04378993436694145,
-0.002575878519564867,
0.03523307666182518,
-0.007749689277261496,
-0.03417449817061424,
-0.015834596008062363,
0.01332928892225027,
-0.01453783456236124,
0.010700481943786144,
-0.03863817825913429,
-0.026252789422869682,
-0.060586076229810715,
0.00905086100101471,
-0.027646586298942566,
-0.06591425836086273,
-0.011485595256090164,
-0.02630571834743023,
-0.0002034458884736523,
-0.02637629024684429,
-0.02879338152706623,
0.051376424729824066,
-0.0021028255578130484,
-0.026552719995379448,
0.008106959983706474,
0.0654202550649643,
0.0014632665552198887,
-0.02835230715572834,
-0.03274541348218918,
-0.006126532796770334,
-0.05112942308187485,
0.047071535140275955,
0.04753025248646736,
0.04057890921831131,
-0.04601295292377472,
0.0013563059037551284,
-0.0029287387151271105,
-0.031351618468761444,
0.05631646886467934,
0.017237214371562004,
-0.045024946331977844,
0.09583679586648941,
-0.03221612423658371,
0.032798342406749725,
0.005015023984014988,
-0.008556856773793697,
-0.0036873877979815006,
0.02822880633175373,
0.05733976140618324,
-0.053070154041051865,
0.004644520580768585,
-0.023165263235569,
-0.03860289230942726,
0.056810472160577774,
0.012676497921347618,
0.0038792553823441267,
0.010312335565686226,
0.08525099605321884,
-0.042131491005420685,
0.06503210961818695,
-0.026041073724627495,
0.003246312728151679,
-0.016637353226542473,
-0.021700894460082054,
-0.0012394209625199437,
-0.0011313576251268387,
-0.003195588942617178,
-0.05374059081077576,
0.03269248455762863,
0.02678207866847515,
0.010912197642028332,
-0.025370638817548752,
0.02630571834743023,
0.05631646886467934,
0.023112334311008453,
-0.05663404241204262,
0.012641211971640587,
0.006236801855266094,
-0.016460921615362167,
-0.039873186498880386,
0.006236801855266094,
-0.019795449450612068,
-0.06326781213283539,
0.006871949881315231,
-0.0240121278911829,
-0.04262549802660942,
0.02706436812877655,
-0.0720893144607544,
0.014925980940461159,
-0.006086836103349924,
0.01309110876172781,
0.03020482137799263,
0.02127746306359768,
0.03228669613599777,
-0.06559668481349945,
0.0035286007914692163,
-0.029552031308412552,
-0.0007696760585531592,
0.007696760352700949,
0.018119364976882935,
0.03507428988814354,
0.04855354502797127,
0.009624258615076542,
-0.0006610613199882209,
-0.03172212094068527,
-0.03108697198331356,
0.01530530583113432,
-0.02477077767252922,
-0.02690558135509491,
0.03278069943189621,
-0.001366230077110231,
-0.08122839033603668,
-0.03052239678800106,
-0.04251964017748833,
-0.017193106934428215,
-0.06538496911525726,
0.013188145123422146,
0.02706436812877655,
0.011185664683580399,
-0.027276083827018738,
-0.10141198337078094,
0.0569516159594059,
-0.04438979551196098,
-0.002476636553183198,
-0.014229082502424717,
-0.0006450723158195615,
-0.020730528980493546,
-0.03502136096358299,
-0.029940176755189896,
-0.0480242557823658,
0.07777035981416702,
0.009315505623817444,
-0.0136733278632164,
0.0019396276911720634,
-0.05571660399436951,
0.029146242886781693,
0.04611881077289581,
-0.02722315490245819,
0.003762370441108942,
0.0008997931727208197,
-0.02718786895275116,
-0.0345802865922451,
-0.002895657904446125,
-0.04608352482318878,
0.03599172830581665,
0.005958924535661936,
0.025194209069013596,
-0.009686009027063847,
-0.008852376602590084,
0.016796140000224113,
0.02134803496301174,
-0.035691797733306885,
0.017757683992385864,
0.030787041410803795,
0.027417227625846863,
-0.016434457153081894,
-0.023623982444405556,
0.04668338596820831,
0.04089648276567459,
0.010021226480603218,
0.030187178403139114,
0.01564052328467369,
0.03203969448804855,
-0.02574114315211773,
0.0652085393667221,
-0.051058851182460785,
-0.006280909292399883,
-0.018366366624832153,
0.07614720612764359,
0.03623872995376587,
0.015278841368854046,
0.01021529920399189,
-0.013761542737483978,
-0.0038594070356339216,
-0.05158814415335655,
-0.020801100879907608,
0.007573259528726339,
0.015146519057452679,
-0.033362921327352524,
-0.00579131580889225,
-0.01826050877571106,
0.05815133824944496,
-0.025564711540937424,
0.037509024143218994,
0.012156029231846333,
0.021224534139037132,
0.04110819846391678,
0.01954844780266285,
0.0008540316484868526,
0.05172928795218468,
0.0017488626763224602,
-0.020448241382837296,
-0.02046588435769081,
0.0351448617875576,
0.04435450956225395,
0.04174334555864334,
0.00858773197978735,
-0.007013094145804644,
-0.041002340614795685,
0.018807440996170044,
0.06753741949796677,
0.03313355892896652,
0.023394621908664703,
0.02477077767252922,
-0.07600606232881546,
-0.012403031811118126,
-0.013135216198861599,
-0.03161626309156418,
0.02240661531686783,
-0.06729041785001755,
0.02388862706720829,
0.026976153254508972,
0.010576981119811535,
-0.014396690763533115,
-0.022583045065402985,
-0.0019175739726051688,
-0.008852376602590084,
0.043013643473386765,
-0.0180223286151886,
-0.08489813655614853,
0.025988144800066948,
-0.017748862504959106,
0.002395037794485688,
0.021789109334349632,
0.0013166090939193964,
0.012994072400033474,
-0.005116471089422703,
-0.04431922361254692,
-0.03443914279341698,
0.01665499620139599,
0.03620344400405884,
-0.025511782616376877,
0.015172983519732952,
0.07925236970186234,
-0.02404741384088993,
-0.032957129180431366,
-0.032798342406749725,
0.01910737343132496,
-0.011847277171909809,
-0.006620537023991346,
0.00191316322889179,
0.001049758750014007,
-0.041284628212451935,
-0.01208545733243227,
0.046330526471138,
0.004803307820111513,
0.0343509279191494,
0.00043776704114861786,
-0.03145747631788254,
-0.006849896162748337,
-0.04580123722553253,
-0.03283362835645676,
-0.03560358285903931,
-0.030187178403139114,
0.0014643693575635552,
0.06556139886379242,
-0.021295106038451195,
-0.014167332090437412,
-0.007851136848330498,
-0.07120716571807861,
0.049612127244472504,
0.0002463128766976297,
-0.02360633946955204,
-0.023235835134983063,
0.015049481764435768,
-0.016707925125956535,
-0.036697447299957275,
0.02866988070309162,
-0.007396829314529896,
0.030116606503725052,
-0.06390295922756195,
0.0306811835616827,
-0.0035087524447590113,
0.01986602135002613,
-0.0175724308937788,
0.02988724783062935,
-0.003599172690883279,
0.004613645374774933,
0.004640109837055206,
-0.10889261960983276,
-0.06764327734708786,
-0.02907566912472248,
0.04827125743031502,
-0.017237214371562004,
-0.0240121278911829,
0.006704341154545546,
0.05748090520501137,
-0.0059721567668020725,
0.03498607501387596,
-0.010823982767760754,
0.020448241382837296,
0.015702273696660995,
0.019619019702076912,
0.040473051369190216,
0.025476496666669846,
0.0056281182914972305,
0.060021497309207916,
0.058821775019168854,
-0.06012735515832901,
0.06386767327785492,
-0.03563886880874634,
0.09132018685340881,
0.003857201663777232,
-0.008799447678029537,
-0.0003592005232349038,
0.08793272823095322,
-0.02420620061457157,
-0.056528184562921524,
0.011282701045274734,
-0.016399171203374863,
-0.06852542608976364,
0.029710818082094193,
-0.03705030679702759,
0.015296484343707561,
-0.016681460663676262,
0.02417091466486454,
0.035338934510946274,
-0.00466657429933548,
-0.021012816578149796,
0.07685292512178421,
0.07046615332365036,
0.05056484788656235,
-0.055081456899642944,
0.00439531309530139,
-0.05067070573568344,
0.03447442874312401,
0.023818055167794228,
0.036097586154937744,
-0.032957129180431366,
-0.029340315610170364,
0.025388281792402267,
-0.010453479364514351,
-0.07145416736602783,
-0.08659186214208603,
-0.018913300707936287,
-0.011203307658433914,
0.002950792433694005,
-0.024806063622236252,
0.04403693601489067,
-0.02263597398996353,
0.024911921471357346,
-0.00021860783454030752,
-0.01534059178084135,
0.05010613054037094,
-0.04537780582904816,
0.053952306509017944,
-0.004221088718622923,
0.044142793864011765,
0.027964159846305847,
-0.009686009027063847,
0.021894967183470726,
-0.02071288600564003,
0.011609096080064774,
0.014899516478180885,
0.01612570509314537,
0.01192667055875063,
0.01180316973477602,
-0.008239282295107841,
-0.0066117155365645885,
0.034121569246053696,
-0.031263403594493866,
0.023359335958957672,
0.0006676774355582893,
0.03941446915268898,
0.00820840708911419,
-0.01676967553794384,
-0.02872280962765217,
0.05984506756067276,
0.019160302355885506,
-0.041849203407764435,
-0.01009179838001728,
-0.01001240499317646,
-0.018401652574539185,
-0.03560358285903931,
0.037861887365579605,
-0.03779131546616554,
-0.047953683882951736,
0.024700205773115158,
-0.003314679255709052,
-0.03620344400405884,
0.02432970143854618,
0.024947207421064377,
0.057375047355890274,
0.05698690190911293,
-0.02570585533976555,
0.054516881704330444,
-0.019918950274586678,
0.02131274901330471,
-0.000510268728248775,
-0.029446173459291458,
-0.0635148137807846,
0.029252100735902786,
0.002476636553183198,
0.0009731219033710659,
-0.016840247437357903,
0.05522260069847107,
-0.06707870215177536,
-0.018348723649978638,
0.040473051369190216,
0.0619269423186779,
0.045024946331977844,
0.022212540730834007,
0.04199034720659256
] |
23,268 | cov_core | finish | Stop coverage and send relevant info back to the master. | def finish(self):
"""Stop coverage and send relevant info back to the master."""
self.unset_env()
self.cov.stop()
self.cov.combine()
self.cov.save()
if self.is_collocated:
# If we are collocated then just inform the master of our
# data file to indicate that we have finished.
self.config.slaveoutput['cov_slave_node_id'] = self.nodeid
else:
# If we are not collocated then add the current path
# and coverage data to the output so we can combine
# it on the master node.
# Send all the data to the master over the channel.
self.config.slaveoutput['cov_slave_path'] = self.topdir
self.config.slaveoutput['cov_slave_node_id'] = self.nodeid
self.config.slaveoutput['cov_slave_lines'] = self.cov.data.lines
self.config.slaveoutput['cov_slave_arcs'] = self.cov.data.arcs
| (self) | [
-0.011234145611524582,
0.017759159207344055,
-0.02596104145050049,
0.029262645170092583,
-0.013345434330403805,
-0.060575760900974274,
-0.05619679018855095,
0.0420520193874836,
0.03614388406276703,
-0.05491090193390846,
-0.03355473279953003,
-0.03729075938463211,
0.036039624363183975,
-0.0012163807405158877,
-0.00008688434172654524,
0.007589347194880247,
0.013076093047857285,
-0.03833337128162384,
0.03590060770511627,
0.056370560079813004,
-0.029088877141475677,
0.01758539117872715,
0.032338351011276245,
-0.028758715838193893,
-0.009565966203808784,
-0.016551466658711433,
0.013571334071457386,
-0.038090094923973083,
0.027889873832464218,
-0.0012663392117246985,
-0.08549419045448303,
-0.056752849370241165,
-0.01650802418589592,
0.028185280039906502,
0.05383353680372238,
0.014414112083613873,
-0.015534919686615467,
-0.034493084996938705,
0.023319756612181664,
0.05213060602545738,
-0.04997587203979492,
-0.01821095682680607,
-0.006863862741738558,
0.011216768063604832,
0.019774876534938812,
0.011720697395503521,
-0.04250381886959076,
0.019653238356113434,
0.0176201444119215,
-0.04420675337314606,
0.0009236891637556255,
0.0032212368678301573,
-0.01862800307571888,
0.010408744215965271,
0.07416447252035141,
0.01508312113583088,
0.03525766357779503,
-0.0011012590257450938,
0.0077804927714169025,
-0.04465854912996292,
0.011746763251721859,
-0.005321665666997433,
0.014970172196626663,
0.017880797386169434,
0.053555507212877274,
0.023858439177274704,
-0.009539900347590446,
0.05164405331015587,
0.029766574501991272,
0.01862800307571888,
0.011859712190926075,
-0.028880354017019272,
-0.004311635624617338,
0.022694189101457596,
0.03951499983668327,
-0.03555307164788246,
-0.08313093334436417,
0.007854344323277473,
0.0272990595549345,
-0.010582512244582176,
-0.04222578927874565,
0.032720644026994705,
0.016499336808919907,
-0.0439634770154953,
0.007719673682004213,
0.027889873832464218,
0.05477188900113106,
-0.026273824274539948,
-0.009392197243869305,
-0.005473713390529156,
0.03892418369650841,
0.047960154712200165,
-0.018958162516355515,
0.016273437067866325,
0.0579344779253006,
-0.024240730330348015,
-0.0026521445252001286,
0.03961925953626633,
-0.038090094923973083,
-0.020834865048527718,
-0.01691638119518757,
0.018958162516355515,
0.019045047461986542,
0.000487095327116549,
-0.023441394791007042,
-0.01421427819877863,
0.006385998800396919,
0.025926286354660988,
-0.03254687413573265,
0.015743441879749298,
-0.06526751816272736,
-0.026325955986976624,
-0.022416159510612488,
-0.06113182008266449,
-0.01371034886687994,
-0.03437144681811333,
-0.05758694186806679,
0.026708247140049934,
-0.040974654257297516,
-0.012563475407660007,
0.07520708441734314,
0.009122855961322784,
-0.03139999881386757,
-0.028758715838193893,
-0.032720644026994705,
0.03282490372657776,
0.016012784093618393,
0.05550171807408333,
0.00561272818595171,
0.007550249341875315,
-0.0019722746219486,
-0.028359048068523407,
-0.018384726718068123,
-0.0009274903568439186,
0.03979302942752838,
0.04017531871795654,
-0.008914333768188953,
-0.05706563591957092,
0.033189818263053894,
0.005934200249612331,
0.031260985881090164,
-0.018732264637947083,
0.044484782963991165,
-0.06783929467201233,
0.05018439516425133,
0.055744994431734085,
-0.007737050298601389,
-0.07583265006542206,
-0.07499856501817703,
-0.044484782963991165,
0.0033276702743023634,
-0.015448035672307014,
-0.07777886092662811,
-0.020608965307474136,
-0.004552739206701517,
-0.026968900114297867,
-0.041322194039821625,
0.062035419046878815,
0.0006429441273212433,
-0.005117487628012896,
-0.03358948603272438,
-0.03200818970799446,
0.021008633077144623,
0.026204317808151245,
0.009626785293221474,
-0.012207250110805035,
-0.020539458841085434,
0.02649972401559353,
-0.060610514134168625,
-0.021078141406178474,
-0.08000309765338898,
-0.015282955020666122,
0.017185723409056664,
-0.003201687941327691,
-0.07430348545312881,
0.027524959295988083,
-0.003653486492112279,
-0.03211245313286781,
-0.018019812181591988,
-0.01459656935185194,
-0.05734366551041603,
-0.045214612036943436,
-0.008883924223482609,
0.03478848934173584,
0.03221671283245087,
0.0202788058668375,
-0.013814610429108143,
-0.010773657821118832,
0.038715660572052,
-0.04160022363066673,
0.004192169290035963,
-0.023424018174409866,
-0.025196459144353867,
-0.014996237121522427,
0.08980365097522736,
-0.016203928738832474,
0.05404205992817879,
0.02074798010289669,
0.009887438267469406,
-0.019948644563555717,
-0.011885778047144413,
-0.022920088842511177,
0.03416292369365692,
-0.06735274195671082,
0.023702047765254974,
0.05543220788240433,
-0.00782827939838171,
0.033224571496248245,
-0.004752573557198048,
0.05491090193390846,
0.018541118130087852,
0.014683453366160393,
0.045840177685022354,
-0.013632153160870075,
0.06019347161054611,
-0.044484782963991165,
-0.01315428875386715,
0.021234532818198204,
0.029714444652199745,
0.061618372797966,
-0.019462091848254204,
-0.04577067121863365,
0.03763829544186592,
0.038437630981206894,
-0.07131467014551163,
0.018767017871141434,
-0.04316414147615433,
-0.016082290560007095,
0.06617111712694168,
-0.059915442019701004,
-0.03355473279953003,
-0.015604427084326744,
-0.04215628281235695,
-0.03937598317861557,
-0.054667625576257706,
0.009661538526415825,
-0.024901051074266434,
0.06380786001682281,
-0.06690093874931335,
0.04955882951617241,
-0.06624062359333038,
0.002904109191149473,
-0.004661344923079014,
-0.011651189997792244,
-0.002278541913256049,
-0.034805867820978165,
0.08952562510967255,
-0.005821250844746828,
0.058490537106990814,
0.02653447724878788,
0.05734366551041603,
-0.02606530301272869,
-0.007333038374781609,
-0.01469214167445898,
0.050775207579135895,
-0.06669241935014725,
-0.0024783757980912924,
-0.07221826165914536,
0.06050625443458557,
-0.007684919983148575,
0.024675153195858,
0.01894078589975834,
0.005560597870498896,
0.039167460054159164,
-0.03913270682096481,
0.0158477034419775,
-0.006464194972068071,
-0.0386461541056633,
-0.012954454869031906,
0.014961483888328075,
0.03624814748764038,
0.001105060218833387,
-0.06634487956762314,
0.006590177305042744,
-0.07037631422281265,
0.04844670742750168,
-0.024901051074266434,
-0.03649142384529114,
-0.04504084214568138,
0.012433148920536041,
0.05633580684661865,
0.0474388487637043,
-0.01548278983682394,
-0.06683143228292465,
-0.00016752387455198914,
-0.03829861804842949,
-0.02109551802277565,
-0.014257720671594143,
-0.005087078083306551,
0.03715174272656441,
-0.05946364253759384,
0.014474931173026562,
-0.020191920921206474,
0.033380962908267975,
0.057100389152765274,
-0.023458771407604218,
-0.02969706803560257,
0.013719037175178528,
0.004722164012491703,
0.010130713693797588,
-0.035500939935445786,
-0.032842282205820084,
-0.04472805932164192,
-0.04066187143325806,
-0.024848921224474907,
0.02988821268081665,
0.06040199473500252,
-0.07499856501817703,
-0.0017051051836460829,
0.04910703003406525,
0.03522291034460068,
0.018228335306048393,
0.02637808583676815,
-0.007719673682004213,
-0.010104648768901825,
-0.014414112083613873,
0.007619756739586592,
-0.004361594095826149,
0.024709906429052353,
0.020000774413347244,
-0.05421582981944084,
-0.08514665067195892,
0.04531887173652649,
0.033224571496248245,
0.09453016519546509,
0.0404185950756073,
-0.017446376383304596,
0.08243586122989655,
-0.025248588994145393,
-0.03624814748764038,
-0.03913270682096481,
-0.03642191365361214,
0.011520863510668278,
-0.017116215080022812,
0.0492112897336483,
-0.022659435868263245,
-0.01675998978316784,
-0.04643099009990692,
0.061618372797966,
0.007954261265695095,
-0.015343774110078812,
-0.023649917915463448,
0.0017930755857378244,
0.011390537023544312,
-0.007585003040730953,
0.031869176775217056,
0.019879136234521866,
-0.017055395990610123,
0.01859324797987938,
0.04643099009990692,
-0.019462091848254204,
0.07339989393949509,
-0.00026784813962876797,
0.05584925413131714,
0.022155506536364555,
0.024848921224474907,
0.029088877141475677,
-0.0473693422973156,
0.03054853342473507,
-0.04705655947327614,
-0.026325955986976624,
0.015395904891192913,
0.0002537294349167496,
0.02394532412290573,
-0.05546696111559868,
-0.044450029730796814,
-0.05515417829155922,
0.0341455452144146,
0.01909717731177807,
-0.004344217013567686,
-0.010678085498511791,
0.00825401209294796,
0.028567571192979813,
-0.012563475407660007,
0.01465738844126463,
-0.013432319276034832,
-0.007893442176282406,
-0.02922789193689823,
0.019583730027079582,
-0.03463209792971611,
-0.09543375670909882,
-0.03020099736750126,
-0.04601394757628441,
-0.005656170658767223,
-0.019114555791020393,
0.010078583844006062,
0.0421910360455513,
-0.03294654190540314,
-0.03232097625732422,
0.019566353410482407,
0.07416447252035141,
-0.015769507735967636,
-0.007137548644095659,
-0.0666576623916626,
0.00827138964086771,
0.004635279532521963,
0.03631765395402908,
0.014744272455573082,
0.010347925126552582,
0.016907691955566406,
-0.017846044152975082,
-0.028949862346053123,
-0.06283475458621979,
0.015665246173739433,
0.03937598317861557,
-0.05595351383090019,
0.047265082597732544,
-0.07346940040588379,
0.049002766609191895,
-0.015230825170874596,
-0.011851023882627487,
-0.014735584147274494,
0.005912479478865862,
0.047577865421772,
-0.028185280039906502,
0.03501439094543457,
0.015960654243826866,
-0.03466685116291046,
0.07423397898674011,
0.031139347702264786,
0.0001002563803922385,
0.04441527649760246,
0.059950195252895355,
-0.022398782894015312,
0.010817100293934345,
-0.014874598942697048,
0.003538364777341485,
-0.03219933807849884,
-0.05581450089812279,
-0.013023962266743183,
-0.01897553913295269,
-0.022885335609316826,
-0.057482678443193436,
0.08014211803674698,
0.03178229182958603,
0.052929941564798355,
-0.017880797386169434,
-0.00902728270739317,
0.03501439094543457,
0.028862977400422096,
-0.05063619464635849,
0.04100940749049187,
-0.02842855639755726,
-0.0077674598433077335,
-0.006564111914485693,
0.004804703872650862,
0.02444925345480442,
-0.07416447252035141,
-0.008688434027135372,
0.0298534594476223,
-0.008545074611902237,
0.023632541298866272,
-0.05543220788240433,
-0.016977200284600258,
0.002068933332338929,
0.02549186535179615,
0.00492634205147624,
0.04191300645470619,
0.022694189101457596,
-0.07107139378786087,
-0.01679474301636219,
-0.0035666022449731827,
0.002391491550952196,
0.027889873832464218,
0.04813392460346222,
0.003138696774840355,
0.013258550316095352,
0.0037903294432908297,
-0.02514432743191719,
-0.017568014562129974,
-0.05456336587667465,
-0.018801771104335785,
-0.03951499983668327,
-0.00005033182605984621,
0.036004871129989624,
0.00134236307349056,
-0.07249629497528076,
0.008827448822557926,
-0.025231212377548218,
-0.019427338615059853,
-0.07173170894384384,
0.008792695589363575,
0.007819591090083122,
0.012129053473472595,
-0.018714886158704758,
-0.0597069188952446,
0.04740409553050995,
-0.06088854745030403,
-0.02726430632174015,
-0.004389831330627203,
-0.014735584147274494,
-0.034614719450473785,
-0.03614388406276703,
-0.030704926699399948,
-0.027351191267371178,
0.04601394757628441,
-0.010035141371190548,
-0.022033868357539177,
0.0015280783409252763,
-0.0986311063170433,
0.05981117859482765,
0.033033426851034164,
-0.029905589297413826,
0.016907691955566406,
-0.024084338918328285,
-0.02842855639755726,
0.006194853689521551,
-0.025318097323179245,
-0.044172000139951706,
0.034493084996938705,
-0.04611820727586746,
0.031869176775217056,
0.006616242695599794,
-0.010278417728841305,
0.016308190301060677,
0.023580409586429596,
-0.032025568187236786,
-0.023389264941215515,
0.03868090733885765,
0.04007105901837349,
-0.034110791981220245,
0.003603528020903468,
0.059915442019701004,
0.06290426105260849,
0.012546098791062832,
0.04045334830880165,
0.034354068338871,
0.06641439348459244,
-0.03732551261782646,
0.061409853398799896,
-0.047265082597732544,
-0.007871720939874649,
0.0013619119999930263,
0.052547648549079895,
0.044137243181467056,
-0.00869712233543396,
0.009209739975631237,
-0.013944936916232109,
0.01320641953498125,
-0.05880331993103027,
-0.021269286051392555,
0.010643331333994865,
-0.002168850274756551,
-0.04462379589676857,
-0.017220476642251015,
-0.0210607647895813,
0.04855097085237503,
-0.009574654512107372,
0.02267681248486042,
0.04643099009990692,
0.01029579434543848,
0.058525290340185165,
0.042747095227241516,
0.026430215686559677,
0.025926286354660988,
0.03173016011714935,
-0.022728944197297096,
0.016490647569298744,
0.041634976863861084,
0.009835307486355305,
0.03279015049338341,
0.03536192700266838,
0.013840675354003906,
-0.026708247140049934,
0.04754311218857765,
0.059950195252895355,
0.021651577204465866,
0.05546696111559868,
0.029783951118588448,
-0.05341649428009987,
-0.01008727215230465,
-0.002958411816507578,
-0.0018701854860410094,
-0.017064085230231285,
-0.005213060416281223,
0.006946403067559004,
0.04118317738175392,
0.03485799580812454,
-0.02583940327167511,
-0.020678473636507988,
-0.00014444522093981504,
0.006416408345103264,
0.03736026585102081,
-0.0074199228547513485,
-0.07221826165914536,
0.005391173530369997,
-0.027090536430478096,
-0.0272990595549345,
0.04420675337314606,
0.023771556094288826,
0.006047150120139122,
0.024883674457669258,
-0.01805456541478634,
-0.05543220788240433,
-0.003649142337962985,
0.043407417833805084,
0.017628831788897514,
0.056752849370241165,
0.06460719555616379,
-0.03153901547193527,
0.013162977993488312,
-0.03802058845758438,
0.02688201516866684,
0.01459656935185194,
-0.04594443738460541,
0.02606530301272869,
-0.028550194576382637,
0.01091267354786396,
0.013962313532829285,
0.07263530790805817,
0.007380824536085129,
-0.010843166150152683,
0.0005245641805231571,
-0.03240785747766495,
-0.031417377293109894,
-0.038159601390361786,
-0.0077804927714169025,
-0.021078141406178474,
-0.046257223933935165,
0.04775163531303406,
0.051852572709321976,
-0.04858572408556938,
-0.020608965307474136,
0.026204317808151245,
-0.05789972469210625,
0.06439867615699768,
-0.009948257356882095,
0.008436469361186028,
-0.0017985058948397636,
0.04180874302983284,
-0.04010581225156784,
-0.020000774413347244,
0.00649894867092371,
-0.019931267946958542,
0.024814167991280556,
-0.03239048272371292,
0.035153403878211975,
0.009183675050735474,
0.014057885855436325,
-0.04365069419145584,
0.033189818263053894,
0.021564694121479988,
0.023667294532060623,
0.0048394575715065,
-0.10975229740142822,
-0.1018284484744072,
-0.0006212230073288083,
0.020226674154400826,
-0.02217288315296173,
-0.03475373610854149,
0.014136082492768764,
0.08306142687797546,
0.01689031533896923,
-0.002504441188648343,
-0.007159269880503416,
-0.03409341350197792,
0.018801771104335785,
0.0421215295791626,
-0.005330354440957308,
0.045214612036943436,
-0.02163420058786869,
0.03590060770511627,
0.02672562375664711,
-0.05226961895823479,
0.06380786001682281,
0.011381848715245724,
0.05171355977654457,
0.02815052680671215,
-0.016151798889040947,
-0.04354643076658249,
0.03539668023586273,
-0.029488544911146164,
-0.04080088809132576,
-0.0014053542399778962,
-0.06269574165344238,
-0.03497963398694992,
0.009505147114396095,
-0.04542313143610954,
-0.00012347078882157803,
-0.014414112083613873,
0.04045334830880165,
0.004778638947755098,
0.0025413669645786285,
-0.016716547310352325,
0.09883962571620941,
0.08382601290941238,
0.041356947273015976,
-0.036004871129989624,
0.00622960738837719,
-0.013458384200930595,
0.04504084214568138,
0.01575213111937046,
0.018263088539242744,
-0.05174831300973892,
-0.04354643076658249,
0.019618483260273933,
-0.030322635546326637,
-0.05557122454047203,
-0.06617111712694168,
-0.03200818970799446,
-0.008792695589363575,
0.018836524337530136,
0.007537216413766146,
0.023788932710886,
0.0006934456177987158,
0.045874930918216705,
0.034962259232997894,
-0.01692507043480873,
0.016820808872580528,
-0.029940344393253326,
0.03729075938463211,
-0.006572800222784281,
-0.029453791677951813,
0.019427338615059853,
-0.021112894639372826,
0.01222462672740221,
-0.022242391481995583,
0.013432319276034832,
0.021234532818198204,
0.01932307705283165,
-0.013753791339695454,
0.03482324257493019,
-0.0015389388427138329,
0.0001187193047371693,
0.02865445613861084,
-0.04316414147615433,
0.014883287250995636,
0.014996237121522427,
0.029106253758072853,
0.02564825676381588,
-0.06922943890094757,
-0.056440066546201706,
0.04848146066069603,
0.08507714420557022,
-0.054667625576257706,
0.0017746126977726817,
0.0071114832535386086,
-0.007146236952394247,
0.007619756739586592,
0.023076480254530907,
-0.04118317738175392,
-0.03240785747766495,
0.038785170763731,
0.01726391911506653,
-0.0008601549779996276,
0.03555307164788246,
-0.0027216519229114056,
0.047960154712200165,
0.023267626762390137,
-0.06040199473500252,
0.056092530488967896,
-0.00694205891340971,
0.043025124818086624,
-0.016186552122235298,
-0.00738516915589571,
-0.011616436764597893,
0.0020309214014559984,
0.014353292994201183,
0.005356419365853071,
0.01894078589975834,
0.07534609735012054,
-0.060367241501808167,
-0.03263375908136368,
0.01424903143197298,
0.057830218225717545,
0.01866275630891323,
0.015630492940545082,
0.023545656353235245
] |
23,272 | cov_core | start | Determine what data file and suffix to contribute to and start coverage. | def start(self):
"""Determine what data file and suffix to contribute to and start coverage."""
# Determine whether we are collocated with master.
self.is_collocated = bool(socket.gethostname() == self.config.slaveinput['cov_master_host'] and
self.topdir == self.config.slaveinput['cov_master_topdir'])
# If we are not collocated then rewrite master paths to slave paths.
if not self.is_collocated:
master_topdir = self.config.slaveinput['cov_master_topdir']
slave_topdir = self.topdir
self.cov_source = [source.replace(master_topdir, slave_topdir) for source in self.cov_source]
self.cov_data_file = self.cov_data_file.replace(master_topdir, slave_topdir)
self.cov_config = self.cov_config.replace(master_topdir, slave_topdir)
# Our slave node id makes us unique from all other slaves so
# adjust the data file that we contribute to and the master
# will combine our data with other slaves later.
self.cov_data_file += '.%s' % self.nodeid
# Erase any previous data and start coverage.
self.cov = coverage.coverage(source=self.cov_source,
data_file=self.cov_data_file,
config_file=self.cov_config)
self.cov.erase()
self.cov.start()
self.set_env()
| (self) | [
-0.017721790820360184,
-0.01058772299438715,
0.0154804028570652,
0.02478608675301075,
-0.03068172186613083,
-0.01331750676035881,
-0.019239306449890137,
0.029286304488778114,
-0.007670430466532707,
-0.04123456031084061,
-0.02591986209154129,
0.002969620982185006,
0.06464267522096634,
0.02107078954577446,
0.0006562818307429552,
-0.03129221498966217,
0.041757840663194656,
-0.031745728105306625,
0.023617425933480263,
0.021437086164951324,
-0.04245555028319359,
0.0058607496321201324,
0.0454556941986084,
-0.01724211499094963,
-0.04018799588084221,
0.034344691783189774,
-0.031745728105306625,
-0.036385487765073776,
0.043955620378255844,
-0.025972191244363785,
-0.04894423484802246,
-0.037222735583782196,
-0.02890256606042385,
-0.0010612796759232879,
0.07256165891885757,
-0.014782694168388844,
0.00559910899028182,
-0.04112990200519562,
-0.056932996958494186,
0.052711859345436096,
-0.022692961618304253,
-0.039804257452487946,
0.01460826676338911,
0.011015069670975208,
-0.012994816526770592,
0.02426280453801155,
-0.012480257079005241,
0.017747953534126282,
0.029286304488778114,
-0.04876980930566788,
-0.011878483928740025,
0.008965551853179932,
-0.005071467254310846,
0.0023176996037364006,
0.027838559821248055,
0.05072339251637459,
0.040222883224487305,
0.0063404240645468235,
0.018210185691714287,
0.004310528747737408,
0.020582394674420357,
0.010160377249121666,
0.040850818157196045,
0.01343088410794735,
0.025483794510364532,
-0.030280539765954018,
-0.04419982060790062,
0.02489074319601059,
0.03146664425730705,
0.003222540020942688,
0.026303602382540703,
-0.013343670405447483,
0.005939241964370012,
0.016588013619184494,
0.0640496164560318,
0.02768157608807087,
-0.11819178611040115,
0.007574495393782854,
0.04461844637989998,
-0.00492756487801671,
-0.03973448649048805,
0.02084403485059738,
0.0004047253169119358,
-0.08149232715368271,
0.018820680677890778,
0.04200203716754913,
0.031170116737484932,
0.020878920331597328,
0.04266486316919327,
-0.007295412011444569,
0.01691942662000656,
0.05672368407249451,
-0.007626823615282774,
0.015733322128653526,
0.06446824222803116,
0.005211008712649345,
-0.002681816229596734,
0.03488541394472122,
-0.03833907097578049,
0.038059987127780914,
-0.05026988312602043,
0.06879403442144394,
0.049502402544021606,
0.010657493956387043,
-0.03448422998189926,
-0.039490289986133575,
-0.007779447361826897,
0.06310771405696869,
-0.02335578389465809,
0.015532730147242546,
-0.08491110056638718,
-0.058502838015556335,
0.012000582180917263,
-0.07625951617956161,
-0.022483648732304573,
-0.025117497891187668,
-0.01808808743953705,
0.01053539477288723,
-0.023303456604480743,
-0.003222540020942688,
0.027385050430893898,
0.022448763251304626,
-0.017495034262537956,
0.010509231127798557,
-0.015733322128653526,
-0.02230922318994999,
0.021733613684773445,
0.02612917497754097,
0.031013133004307747,
-0.056444600224494934,
0.0846320167183876,
-0.05672368407249451,
-0.01181743387132883,
0.004648481495678425,
0.050234995782375336,
0.013038423843681812,
-0.001278768409974873,
-0.02323368564248085,
0.0027646690141409636,
0.02466398850083351,
0.05006057024002075,
-0.05546780675649643,
0.007988760247826576,
-0.060875046998262405,
0.004835990723222494,
0.07008479535579681,
-0.045281268656253815,
-0.05449101701378822,
-0.022483648732304573,
0.004256020300090313,
0.02180338464677334,
-0.04835118353366852,
-0.05525849759578705,
-0.029774701222777367,
-0.0196230448782444,
-0.03389117866754532,
-0.03760647773742676,
0.034222591668367386,
0.0242802482098341,
0.025762878358364105,
-0.049537286162376404,
-0.02653035707771778,
0.03190271183848381,
0.01611706055700779,
-0.028972337022423744,
0.0012417027028277516,
-0.10981928557157516,
-0.024733759462833405,
-0.05637482926249504,
-0.016779884696006775,
-0.02394883707165718,
-0.026896653696894646,
0.0030197687447071075,
0.007430593017488718,
-0.01589902676641941,
-0.04936286062002182,
0.006807016208767891,
-0.02612917497754097,
-0.04608363285660744,
0.016910703852772713,
-0.044164933264255524,
-0.009436504915356636,
0.009157421067357063,
0.01981491595506668,
-0.007491642609238625,
0.05403750762343407,
0.03322835639119148,
-0.0126459626480937,
0.08846940845251083,
0.011669171042740345,
0.026582686230540276,
-0.03066427819430828,
-0.052921172231435776,
0.007256166078150272,
0.07814332842826843,
-0.011799991130828857,
0.053235143423080444,
0.0021977811120450497,
-0.038792580366134644,
-0.0024855858646333218,
-0.015585058368742466,
0.03792044520378113,
0.04978148639202118,
-0.0299665704369545,
0.02747226320207119,
0.041443873196840286,
-0.02283250354230404,
0.08867872506380081,
0.006436358671635389,
0.028780465945601463,
-0.015262369066476822,
-0.03239110857248306,
0.019745144993066788,
0.013291343115270138,
0.035269152373075485,
-0.05006057024002075,
0.005764814559370279,
-0.005882552824914455,
0.013875673525035381,
0.06980571150779724,
0.0475139357149601,
-0.015445517376065254,
-0.01847182586789131,
0.008110858500003815,
-0.0650961846113205,
0.01631765253841877,
-0.006619507446885109,
-0.015201319009065628,
0.027733903378248215,
-0.03284461796283722,
-0.016561850905418396,
-0.03962983191013336,
-0.001435752841643989,
-0.04262997582554817,
-0.06575900316238403,
-0.000504203257150948,
0.035670336335897446,
0.0980977863073349,
-0.07807355374097824,
0.028832795098423958,
-0.0619216114282608,
0.05016522482037544,
0.04876980930566788,
-0.02396627888083458,
-0.019378848373889923,
-0.0784921795129776,
0.033507440239191055,
-0.0011795631144195795,
0.02879790961742401,
0.0578051321208477,
0.03708319365978241,
-0.002766849473118782,
-0.04112990200519562,
-0.0012209895066916943,
0.010448181070387363,
-0.04224623739719391,
0.00913125742226839,
-0.019029993563890457,
0.026896653696894646,
-0.009314405731856823,
-0.015567615628242493,
0.011433694511651993,
0.00996850710362196,
0.03847861289978027,
-0.06227046251296997,
0.03729250654578209,
-0.04092058911919594,
-0.02755947783589363,
-0.026390815153717995,
-0.010439460165798664,
-0.017634576186537743,
0.06314259767532349,
0.015166433528065681,
0.04974659904837608,
-0.037118081003427505,
-0.03183294087648392,
-0.043746307492256165,
-0.03635060042142868,
-0.01527981087565422,
0.03254809230566025,
0.04929308965802193,
0.052711859345436096,
-0.030507294461131096,
-0.04800232872366905,
0.009680702351033688,
-0.08735307306051254,
-0.02623383142054081,
0.022954601794481277,
-0.005699404515326023,
-0.011738942004740238,
-0.07088716328144073,
0.043118372559547424,
-0.01125926710665226,
-0.013570426031947136,
0.047479048371315,
-0.023059258237481117,
-0.021454529836773872,
0.03471098840236664,
-0.014311741106212139,
0.013866951689124107,
-0.047234851866960526,
-0.025169827044010162,
-0.07932943105697632,
-0.016465915367007256,
-0.012279666028916836,
0.005987209267914295,
0.019902128726243973,
-0.035495907068252563,
-0.01993701420724392,
0.008184989914298058,
-0.0012089976808056235,
0.01664034277200699,
0.06886380910873413,
-0.02808275818824768,
-0.0008977543329820037,
-0.008956830017268658,
-0.004373758565634489,
0.0444091334939003,
0.04158341512084007,
0.004862154368311167,
-0.03315858542919159,
-0.014721645042300224,
0.016910703852772713,
0.03676922619342804,
0.05954940244555473,
0.07381753623485565,
0.04346722736954689,
0.07249189168214798,
-0.06900335103273392,
0.004613596014678478,
-0.028274627402424812,
-0.01652696542441845,
0.024716315791010857,
-0.030629392713308334,
0.014111150056123734,
-0.019186977297067642,
-0.027297835797071457,
-0.04493241384625435,
0.048386070877313614,
0.00006806744204368442,
0.047339506447315216,
0.004639760125428438,
0.0001929599529830739,
0.00032132735941559076,
0.03586220741271973,
-0.020285869017243385,
0.03914143517613411,
-0.024594217538833618,
-0.01764329895377159,
0.02023353986442089,
0.00428654532879591,
0.06774747371673584,
-0.010613887570798397,
0.017503757029771805,
0.04329279810190201,
-0.00420805299654603,
-0.00845971331000328,
-0.09907457232475281,
0.02180338464677334,
-0.028135085478425026,
-0.02035563997924328,
0.01878579519689083,
-0.01664034277200699,
-0.006807016208767891,
-0.06792189925909042,
-0.052711859345436096,
-0.030175883322954178,
0.025030285120010376,
-0.013622754253447056,
0.01176510564982891,
0.004526382312178612,
-0.015454238280653954,
-0.014582103118300438,
-0.01930907741189003,
-0.010160377249121666,
-0.04629294574260712,
-0.006152914837002754,
-0.03523426875472069,
-0.01652696542441845,
-0.012855274602770805,
-0.05846795439720154,
0.0012504240730777383,
-0.051072247326374054,
0.027332721278071404,
-0.03746693581342697,
-0.04057173803448677,
0.03239110857248306,
-0.018559040501713753,
0.018541596829891205,
-0.0016298029804602265,
0.08009690791368484,
-0.005503173917531967,
0.004870875738561153,
-0.008167547173798084,
0.00990745797753334,
-0.044967297464609146,
0.07988759875297546,
0.01622171700000763,
0.013064587488770485,
0.004430447705090046,
0.01527981087565422,
-0.04946751892566681,
-0.007312854751944542,
0.046118516474962234,
0.0402926541864872,
-0.06998013705015182,
0.08016668260097504,
-0.08379476517438889,
0.025693107396364212,
0.007875381968915462,
-0.01755608431994915,
-0.015663551166653633,
0.01074470765888691,
0.07723630964756012,
-0.07605019956827164,
-0.0006132201524451375,
-0.013395998626947403,
-0.0588865801692009,
0.02923397719860077,
0.02241387777030468,
-0.01693686842918396,
0.0009740661480464041,
0.06070062145590782,
-0.008878338150680065,
0.055816661566495895,
0.010378411039710045,
0.030803820118308067,
-0.03676922619342804,
-0.016247881576418877,
-0.005315665155649185,
-0.025884976610541344,
0.04067639261484146,
-0.035670336335897446,
0.07179418206214905,
0.033106256276369095,
0.019064879044890404,
-0.041060131043195724,
0.023268571123480797,
0.04500218480825424,
0.010735985822975636,
-0.059933140873909,
-0.017303165048360825,
0.002104026498273015,
-0.04451378807425499,
-0.05389796569943428,
0.018349727615714073,
-0.021541742607951164,
-0.052921172231435776,
-0.011294152587652206,
0.01197441853582859,
-0.023791851475834846,
0.036141287535429,
-0.033734194934368134,
0.012907602824270725,
0.0015905568143352866,
0.023617425933480263,
0.008751878514885902,
0.0588865801692009,
0.05316537246108055,
-0.05658414214849472,
-0.026809440925717354,
-0.020093997940421104,
0.01425069198012352,
-0.0015938273863866925,
0.04315325617790222,
0.011451137252151966,
0.06265420466661453,
0.043118372559547424,
-0.01756480522453785,
-0.045176610350608826,
-0.030716607347130775,
-0.012044189497828484,
-0.01358786877244711,
-0.018750909715890884,
0.04119967296719551,
0.0019655751530081034,
-0.09237657487392426,
-0.015968797728419304,
0.007696594577282667,
-0.015611222945153713,
-0.046851109713315964,
0.019535832107067108,
0.041060131043195724,
0.0557817779481411,
-0.011320317164063454,
-0.11184263974428177,
0.03739716485142708,
-0.05700276792049408,
-0.04908377677202225,
-0.04015311226248741,
0.005987209267914295,
-0.014172199182212353,
-0.02497795596718788,
-0.010971462354063988,
-0.018210185691714287,
0.09579534828662872,
0.031850382685661316,
-0.026774555444717407,
0.00495372898876667,
-0.05030476674437523,
0.026303602382540703,
0.07067784667015076,
-0.00991617888212204,
0.0413043312728405,
-0.019483502954244614,
0.028466498479247093,
-0.03903677687048912,
-0.005311304237693548,
-0.051176901906728745,
0.023931393399834633,
0.0196230448782444,
0.021001018583774567,
-0.014233249239623547,
0.002052788622677326,
0.007613741792738438,
0.033821407705545425,
0.0030873592477291822,
0.027385050430893898,
-0.007173313293606043,
0.023879066109657288,
-0.02209991030395031,
-0.040850818157196045,
0.05546780675649643,
0.015000727958977222,
0.017634576186537743,
0.027908330783247948,
0.04824652895331383,
0.03973448649048805,
-0.039908912032842636,
0.05721208080649376,
-0.028117643669247627,
-0.015340860933065414,
0.0068200984969735146,
0.05490964278578758,
0.03697853907942772,
-0.005145598668605089,
0.05937497317790985,
-0.01971025951206684,
0.048072099685668945,
-0.04451378807425499,
0.0011948253959417343,
0.012872717343270779,
0.0371529646217823,
-0.03190271183848381,
0.016396144405007362,
-0.028344398364424706,
0.04137410223484039,
-0.025047726929187775,
0.01817530021071434,
0.022797618061304092,
0.07618974149227142,
0.003569213906303048,
-0.0037458213046193123,
0.02447211742401123,
0.043327685445547104,
-0.015471681021153927,
0.031135231256484985,
0.00044805952347815037,
0.0268617682158947,
0.05449101701378822,
0.021123118698596954,
0.0024114542175084352,
-0.0007533069001510739,
-0.025780320167541504,
-0.0014390232972800732,
0.01591647043824196,
0.0043890210799872875,
0.053339798003435135,
0.012131402269005775,
-0.07800378650426865,
0.00868210755288601,
0.03146664425730705,
-0.015454238280653954,
0.04985125735402107,
-0.0774456188082695,
0.011547071859240532,
-0.01754736341536045,
0.048386070877313614,
-0.05400262027978897,
-0.04479287192225456,
-0.0009598939795978367,
-0.019343962892889977,
0.02455933205783367,
0.037013422697782516,
-0.057874903082847595,
0.00006476286216638982,
-0.06275886297225952,
-0.004430447705090046,
-0.0016875818837434053,
-0.020791707560420036,
0.014372790232300758,
-0.03757159039378166,
-0.008211154490709305,
-0.02147197164595127,
-0.0071558705531060696,
0.02304181642830372,
0.011067397892475128,
-0.021123118698596954,
0.08714376389980316,
-0.03490285575389862,
-0.03746693581342697,
-0.011808712966740131,
0.02035563997924328,
0.0032290811650455,
-0.024105820804834366,
-0.011887204833328724,
0.00835941731929779,
0.004314889665693045,
-0.02745482139289379,
0.03244343400001526,
0.03596686199307442,
0.03708319365978241,
-0.012576191686093807,
-0.026565242558717728,
-0.03057706542313099,
-0.03708319365978241,
-0.023565096780657768,
-0.04357188194990158,
-0.009558603167533875,
0.004299627151340246,
0.030507294461131096,
-0.019343962892889977,
-0.030716607347130775,
0.018541596829891205,
-0.042071808129549026,
0.02211735211312771,
0.033210914582014084,
-0.0330539308488369,
0.0034994431771337986,
-0.0011555793462321162,
0.01725083775818348,
-0.030123554170131683,
0.005376714281737804,
-0.0485604964196682,
0.04287417232990265,
-0.047862786799669266,
0.03540869429707527,
0.02283250354230404,
0.003130965866148472,
-0.01890789531171322,
0.026059404015541077,
-0.01538446731865406,
0.03057706542313099,
-0.0028518824838101864,
-0.06310771405696869,
-0.08923689275979996,
-0.04936286062002182,
0.03110034577548504,
-0.004774941131472588,
-0.005232811905443668,
0.010256311856210232,
0.028885122388601303,
0.006750327534973621,
0.08721353858709335,
-0.01219245232641697,
0.005974126979708672,
-0.01826251484453678,
-0.02438490465283394,
0.013395998626947403,
0.008612336590886116,
-0.025658221915364265,
0.07214303314685822,
0.036908768117427826,
-0.026164060458540916,
0.07311982661485672,
-0.027733903378248215,
0.06701488047838211,
-0.03345511108636856,
-0.010919134132564068,
0.02623383142054081,
0.04193226620554924,
-0.007783807814121246,
-0.06279374659061432,
0.0284141693264246,
-0.01971025951206684,
-0.05068850517272949,
0.015585058368742466,
-0.03935074806213379,
0.001347449142485857,
-0.0010416567092761397,
0.011878483928740025,
0.014721645042300224,
0.04294394329190254,
-0.026896653696894646,
0.0702243372797966,
0.059654057025909424,
0.0341179333627224,
-0.09774892777204514,
0.0454208105802536,
0.018210185691714287,
0.022274337708950043,
0.04563011974096298,
0.027838559821248055,
-0.005751732736825943,
-0.043432340025901794,
0.0141983637586236,
-0.038583267480134964,
-0.0743059292435646,
-0.07078250497579575,
-0.03160618618130684,
0.007500363979488611,
0.038757696747779846,
-0.019954456016421318,
0.025937305763363838,
-0.01130287442356348,
0.028954893350601196,
-0.006065701134502888,
0.018053201958537102,
0.02497795596718788,
-0.04140898585319519,
0.05756093189120293,
-0.009497554041445255,
0.012550028041005135,
0.03429236263036728,
-0.013622754253447056,
0.00250520883128047,
-0.027332721278071404,
0.022954601794481277,
-0.00026041417731903493,
0.018419498577713966,
0.0142070846632123,
0.005459567066282034,
-0.012096517719328403,
-0.009584767743945122,
0.03997868299484253,
-0.015942635014653206,
0.016771161928772926,
-0.0299665704369545,
0.025832649320364,
0.005633994471281767,
-0.023425554856657982,
-0.060770392417907715,
0.04018799588084221,
0.021925482898950577,
-0.024943070486187935,
-0.011137168854475021,
-0.020320754498243332,
-0.0033228357788175344,
-0.022972045466303825,
0.0031658513471484184,
-0.03551335260272026,
-0.06586366146802902,
-0.008965551853179932,
0.017809003591537476,
-0.036420371383428574,
0.04772324487566948,
0.044164933264255524,
0.01815785840153694,
0.05403750762343407,
0.00010315726103726774,
0.004731334280222654,
-0.010151655413210392,
0.03781579062342644,
-0.008655942976474762,
-0.051281560212373734,
-0.0010007752571254969,
-0.0017268280498683453,
0.021018462255597115,
0.01664034277200699,
-0.029390960931777954,
0.07932943105697632,
-0.07660836726427078,
-0.01347449142485857,
0.013448326848447323,
0.04695576801896095,
0.024105820804834366,
0.030629392713308334,
0.04667668417096138
] |
23,273 | cov_core | summary | Only the master reports so do nothing. | def summary(self, stream):
"""Only the master reports so do nothing."""
pass
| (self, stream) | [
-0.02374434471130371,
-0.012175076641142368,
0.02110234461724758,
0.021035032346844673,
0.01254529319703579,
-0.0256627406924963,
-0.007467436604201794,
-0.02189326286315918,
0.023778000846505165,
0.0046866051852703094,
-0.058662500232458115,
-0.0005442814435809851,
0.028085974976420403,
-0.014042987488210201,
-0.018224751576781273,
0.0196383073925972,
0.0066807265393435955,
-0.006238990928977728,
0.028691785410046577,
0.03594466298818588,
-0.014732937328517437,
0.016785956919193268,
-0.020227286964654922,
0.03897370770573616,
-0.03377384692430496,
0.03167034685611725,
0.03441331535577774,
-0.10372795164585114,
-0.02108551748096943,
0.01876324974000454,
-0.04907052591443062,
-0.06647070497274399,
0.011510370299220085,
0.014791835099458694,
-0.00785868801176548,
0.058258626610040665,
-0.03197325021028519,
0.04930611699819565,
-0.10756473988294601,
0.0770050510764122,
-0.004732882138341665,
0.02005900628864765,
-0.022482242435216904,
-0.027278229594230652,
0.0033277422189712524,
-0.0027955558616667986,
0.0228524599224329,
0.01876324974000454,
0.0020814165472984314,
-0.00792179349809885,
0.0073664686642587185,
0.06862469017505646,
-0.02421553060412407,
0.023138536140322685,
-0.019116638228297234,
-0.011830102652311325,
0.016895338892936707,
0.014833904802799225,
0.0014451066963374615,
0.04186812788248062,
-0.00844346173107624,
0.06647070497274399,
0.04156522452831268,
-0.03678606450557709,
0.02302074059844017,
-0.0216408409178257,
0.010997114703059196,
-0.006398857105523348,
-0.013462420552968979,
0.029213452711701393,
-0.00817842036485672,
-0.0320742167532444,
-0.00431218184530735,
0.061455950140953064,
0.0011064427671954036,
-0.0585615299642086,
-0.062196385115385056,
-0.006083331536501646,
-0.016541950404644012,
-0.052166882902383804,
0.055532485246658325,
0.013773739337921143,
0.02598247304558754,
0.0010207250015810132,
0.016138076782226562,
-0.04392114654183388,
0.0938330739736557,
0.0034581592772156,
-0.016895338892936707,
0.047993529587984085,
0.03397578373551369,
0.037257250398397446,
0.03358874097466469,
-0.01773674041032791,
0.026420000940561295,
0.004396321717649698,
-0.07424525171518326,
0.025309352204203606,
-0.06088379770517349,
-0.04721944034099579,
-0.043348994106054306,
0.041094038635492325,
0.016087593510746956,
-0.010054745711386204,
-0.0324612632393837,
-0.025965644046664238,
0.030357759445905685,
-0.03158620372414589,
0.02037874050438404,
0.07108158618211746,
-0.03806499391794205,
-0.025393491610884666,
-0.06986996531486511,
-0.026100268587470055,
0.015742618590593338,
-0.012570535764098167,
0.011215879581868649,
0.02100137621164322,
-0.06024433299899101,
-0.03136743977665901,
0.024114562198519707,
0.042776841670274734,
-0.022482242435216904,
-0.05748453736305237,
0.014497344382107258,
0.019840242341160774,
0.01716458611190319,
0.002091933973133564,
0.08885198086500168,
0.026335861533880234,
0.02630220539867878,
-0.03762746602296829,
-0.004619293380528688,
0.009802325628697872,
0.04516642168164253,
-0.040622856467962265,
0.05671044811606407,
-0.009726598858833313,
-0.012856611981987953,
0.04237297177314758,
-0.013411937281489372,
0.0063315448351204395,
-0.026571452617645264,
-0.007429573684930801,
0.02027777209877968,
0.033235352486371994,
-0.04553663730621338,
0.015204121358692646,
-0.03984876722097397,
-0.03867080435156822,
0.04843106120824814,
-0.05539786070585251,
-0.05748453736305237,
0.0352715440094471,
0.022095197811722755,
0.021775465458631516,
0.04297877848148346,
0.02027777209877968,
-0.01788819208741188,
-0.013066962361335754,
0.029819263145327568,
-0.006285267882049084,
0.04964267835021019,
-0.0007567353313788772,
-0.07350482046604156,
-0.014707694761455059,
-0.050955262035131454,
0.0026630351785570383,
-0.03806499391794205,
-0.02519155479967594,
-0.045839544385671616,
-0.00003401759022381157,
-0.03353825584053993,
0.03550713509321213,
0.024804510176181793,
0.06620145589113235,
0.018544483929872513,
0.06559564918279648,
-0.03422820568084717,
-0.0020414500031620264,
-0.047185786068439484,
-0.026032956317067146,
-0.06872566044330597,
0.0300716832280159,
-0.01669340208172798,
-0.0010170438326895237,
0.005540627520531416,
-0.08777498453855515,
-0.0021297971252352,
-0.026201236993074417,
0.01094663143157959,
0.016129663214087486,
-0.035810038447380066,
0.0029575256630778313,
0.06589855253696442,
-0.06636973470449448,
-0.025443974882364273,
-0.021624013781547546,
0.024198701605200768,
-0.03358874097466469,
-0.018813733011484146,
0.042070064693689346,
-0.003018527291715145,
-0.022482242435216904,
0.0020403980743139982,
0.052570752799510956,
-0.013984089717268944,
0.04755600169301033,
-0.10036234557628632,
0.03463207930326462,
0.018106956034898758,
-0.003241498488932848,
0.015549096278846264,
0.0440894290804863,
0.012494808994233608,
-0.042305659502744675,
0.010761522687971592,
-0.03907467797398567,
-0.02332364395260811,
0.03870445862412453,
0.022566383704543114,
-0.06610048562288284,
-0.017366522923111916,
-0.0009760255343280733,
-0.02702580951154232,
0.039579518139362335,
0.07949559390544891,
-0.060513582080602646,
0.020883580669760704,
-0.07572611421346664,
0.0009181791683658957,
-0.008203662931919098,
-0.03675241023302078,
0.044459644705057144,
-0.022347617894411087,
0.02621806412935257,
-0.06068186089396477,
0.010887732729315758,
-0.03671875223517418,
-0.014371134340763092,
-0.04482986032962799,
-0.03984876722097397,
0.05028214305639267,
0.052335161715745926,
-0.030694318935275078,
-0.07094696164131165,
-0.0188473891466856,
0.05378236994147301,
-0.022280307486653328,
0.00938162487000227,
0.06596586108207703,
-0.05267172306776047,
-0.012334942817687988,
-0.039343927055597305,
0.0216408409178257,
-0.06118670478463173,
-0.03974779695272446,
-0.004341630730777979,
0.01891470141708851,
-0.07256244868040085,
0.0016638711094856262,
-0.0049600605852901936,
-0.019621478393673897,
0.056003671139478683,
0.01029875222593546,
0.026638764888048172,
-0.00619692075997591,
-0.026571452617645264,
-0.007025700993835926,
0.02053019218146801,
0.10204514861106873,
0.018224751576781273,
-0.01496011484414339,
-0.03722359240055084,
-0.028590817004442215,
-0.02904517389833927,
0.01995803974568844,
0.018494000658392906,
-0.04419039562344551,
0.026840701699256897,
0.0505513921380043,
0.017265554517507553,
0.030492383986711502,
-0.02662193775177002,
0.04725309833884239,
-0.039175644516944885,
0.02495596371591091,
0.025730052962899208,
-0.06371090561151505,
-0.04496448487043381,
0.0016312667867168784,
0.021926918998360634,
-0.007795582991093397,
-0.04513276740908623,
-0.013613873161375523,
0.08286119997501373,
-0.020429223775863647,
-0.004859092645347118,
-0.03601197525858879,
0.03303341567516327,
-0.010618484579026699,
-0.038199618458747864,
-0.0008403495303355157,
-0.013083790428936481,
-0.04876761883497238,
0.027564307674765587,
0.012334942817687988,
-0.02943221852183342,
0.027210919186472893,
-0.04954170808196068,
-0.001265257247723639,
0.053041938692331314,
0.0633406937122345,
0.009970605373382568,
-0.03426185995340347,
0.021708153188228607,
-0.009936949238181114,
0.03904101997613907,
0.02302074059844017,
0.0721585750579834,
-0.04947439581155777,
0.00045435671927407384,
0.05142644792795181,
-0.0160371083766222,
0.014825491234660149,
-0.037964027374982834,
-0.025544943287968636,
-0.014707694761455059,
-0.011342089623212814,
0.02268417924642563,
-0.053681403398513794,
-0.05462377145886421,
0.08366894721984863,
-0.014909631572663784,
-0.08326507359743118,
0.006722796242684126,
-0.016222218051552773,
-0.030593352392315865,
0.028927376493811607,
-0.0260666124522686,
0.024669885635375977,
-0.010963459499180317,
0.008380357176065445,
0.06037895753979683,
0.03167034685611725,
0.009280656464397907,
-0.006769073661416769,
-0.03978145495057106,
0.0697353407740593,
-0.055532485246658325,
0.04116135090589523,
0.058426905423402786,
-0.03648316115140915,
0.04900321364402771,
0.10635312646627426,
0.039983391761779785,
0.006238990928977728,
-0.00573414983227849,
-0.029701465740799904,
-0.016794370487332344,
-0.007829239591956139,
0.03200690448284149,
-0.005443866364657879,
0.02125379629433155,
0.011215879581868649,
0.005161996930837631,
0.012301286682486534,
0.05590270459651947,
0.04348361864686012,
-0.010004261508584023,
-0.04267587512731552,
-0.064215749502182,
-0.032124701887369156,
-0.009920121170580387,
-0.04546932503581047,
0.03358874097466469,
-0.012721987441182137,
-0.0160371083766222,
-0.053681403398513794,
-0.015658479183912277,
-0.01006315927952528,
0.04196909815073013,
-0.05021483078598976,
0.00009018769924296066,
-0.01283137034624815,
0.014202853664755821,
-0.050719670951366425,
0.020580675452947617,
-0.045267391949892044,
0.017105689272284508,
0.08151496201753616,
-0.0569123849272728,
-0.03907467797398567,
-0.018864218145608902,
-0.007904965430498123,
0.0021645049564540386,
0.011560853570699692,
0.023996764793992043,
-0.02542714774608612,
-0.04314705729484558,
0.03776209056377411,
-0.06845641136169434,
-0.046781912446022034,
0.01194789819419384,
0.003666406264528632,
-0.050315797328948975,
-0.0011769101256504655,
-0.10244902223348618,
0.02133793756365776,
-0.021758638322353363,
0.061960794031620026,
-0.09241952002048492,
-0.02150621823966503,
0.025460803881287575,
-0.008708503097295761,
0.020799441263079643,
0.040454573929309845,
-0.018578140065073967,
0.04597416892647743,
-0.017063617706298828,
0.07121620327234268,
0.05267172306776047,
0.06805253773927689,
0.059133682399988174,
0.044459644705057144,
-0.04069016873836517,
-0.023289987817406654,
-0.03318486735224724,
0.01931857317686081,
0.026520969346165657,
0.001119063701480627,
-0.04933977127075195,
-0.051291823387145996,
0.01098870113492012,
0.006058089435100555,
-0.006053882651031017,
-0.05078698322176933,
-0.01620538905262947,
-0.008005933836102486,
0.07660117745399475,
0.03313438221812248,
-0.0026230686344206333,
0.05034945532679558,
-0.01837620511651039,
0.04459426924586296,
0.032360292971134186,
-0.01771991141140461,
-0.02381165698170662,
-0.006819557398557663,
-0.002963836072012782,
-0.04301243647933006,
-0.03313438221812248,
-0.0244511216878891,
-0.0184435173869133,
-0.00251578981988132,
-0.05788841098546982,
0.03328583762049675,
-0.002843936439603567,
-0.021842777729034424,
-0.015902483835816383,
0.020631160587072372,
0.0016123352106660604,
-0.10904560983181,
0.006247404497116804,
0.016062350943684578,
-0.04371921345591545,
0.004341630730777979,
0.0029995955992490053,
-0.026032956317067146,
-0.010677382349967957,
0.03379067778587341,
0.01307537592947483,
-0.007450608536601067,
-0.02436698228120804,
-0.022246651351451874,
-0.006335752084851265,
-0.04664728790521622,
0.004947439767420292,
-0.009835981763899326,
0.03094674088060856,
-0.059234652668237686,
0.007332812529057264,
0.026891184970736504,
-0.007147704251110554,
-0.015616408549249172,
-0.015591165982186794,
0.020025352016091347,
-0.06263391673564911,
0.05284000188112259,
-0.005401796195656061,
0.006129608489573002,
-0.017534803599119186,
-0.01569213531911373,
-0.03343728929758072,
-0.03718993812799454,
0.006318924017250538,
0.042238347232341766,
0.044224053621292114,
0.004276422318071127,
0.010568000376224518,
0.01575944572687149,
-0.023592893034219742,
-0.01547337044030428,
0.02406407706439495,
0.04560394957661629,
-0.0033109141513705254,
0.02510741539299488,
-0.02598247304558754,
-0.011232707649469376,
0.02677338942885399,
-0.016297943890094757,
0.02150621823966503,
-0.046781912446022034,
0.053849682211875916,
0.0037820988800376654,
-0.014177612029016018,
-0.017105689272284508,
0.011123325675725937,
0.06435037404298782,
-0.0016743886517360806,
0.009499420411884785,
0.0057383570820093155,
-0.00817842036485672,
0.015978211537003517,
-0.01571737602353096,
-0.05045042186975479,
-0.03988242149353027,
0.008435048162937164,
-0.04987826943397522,
0.024737197905778885,
0.01763577200472355,
-0.0156332366168499,
-0.014286994002759457,
-0.0172318983823061,
0.025612255558371544,
0.05896540358662605,
-0.004379493650048971,
-0.06108573451638222,
-0.024484777823090553,
0.006928939837962389,
0.001092769904062152,
-0.05745088309049606,
0.02517472766339779,
-0.053849682211875916,
0.02894420549273491,
0.03984876722097397,
0.004228041507303715,
-0.0026777596212923527,
0.06118670478463173,
0.008977752178907394,
-0.01055117230862379,
-0.020799441263079643,
-0.015321917831897736,
0.0023622342851012945,
0.06636973470449448,
0.07592805474996567,
-0.004745503421872854,
0.04560394957661629,
0.03914199024438858,
-0.00411655567586422,
0.023778000846505165,
-0.017383351922035217,
0.004530946258455515,
0.041262321174144745,
0.007694615051150322,
0.005443866364657879,
0.0480944998562336,
0.008607535623013973,
-0.026420000940561295,
-0.04482986032962799,
-0.031047707423567772,
-0.010997114703059196,
-0.03759381175041199,
-0.016895338892936707,
0.019470026716589928,
0.006247404497116804,
0.030509211122989655,
0.053277529776096344,
0.005759391933679581,
-0.01787136308848858,
-0.03776209056377411,
-0.04122866317629814,
0.06071551889181137,
-0.06704285740852356,
-0.02589833177626133,
0.03225932642817497,
-0.020496536046266556,
-0.042945124208927155,
0.04025263711810112,
0.04419039562344551,
-0.0033088107593357563,
-0.07034114748239517,
-0.007147704251110554,
-0.041094038635492325,
-0.015641650184988976,
0.0142280962318182,
0.02751382254064083,
-0.08387088030576706,
0.0176525991410017,
0.05872981250286102,
-0.04829643666744232,
0.0817842036485672,
-0.016062350943684578,
-0.001206359127536416,
0.02118648588657379,
0.014606726355850697,
0.003422399749979377,
0.054657429456710815,
-0.03143475204706192,
0.02551128715276718,
-0.03358874097466469,
0.028439363464713097,
0.0006920525920577347,
0.012208732776343822,
0.01642415300011635,
-0.027210919186472893,
0.03343728929758072,
-0.027867211028933525,
-0.01803964376449585,
0.02189326286315918,
0.009406866505742073,
0.02751382254064083,
-0.07687042653560638,
-0.006562930066138506,
-0.04099307209253311,
0.08326507359743118,
-0.0005132547812536359,
-0.025141071528196335,
-0.007071977946907282,
-0.04244028031826019,
-0.02549446001648903,
0.01763577200472355,
0.01013888604938984,
-0.005502764601260424,
0.024972790852189064,
-0.04923880472779274,
-0.025326179340481758,
0.029970714822411537,
-0.027614790946245193,
-0.026335861533880234,
0.015591165982186794,
0.02662193775177002,
0.029381733387708664,
-0.05502764508128166,
-0.02061433158814907,
-0.022801974788308144,
-0.044055771082639694,
-0.02317219227552414,
0.023390956223011017,
-0.02461940236389637,
-0.017366522923111916,
0.048397403210401535,
0.0034034682903438807,
0.05815766006708145,
0.057383570820093155,
0.06293682008981705,
-0.011022357270121574,
0.012646261602640152,
0.028674956411123276,
-0.017265554517507553,
-0.022549554705619812,
-0.057854752987623215,
0.03182179853320122,
0.0160539373755455,
0.054724741727113724,
0.015565924346446991,
-0.015254605561494827,
-0.016407325863838196,
-0.029852919280529022,
-0.043315339833498,
0.016196975484490395,
0.08602487295866013,
0.03961317241191864,
-0.026891184970736504,
-0.00031237024813890457,
0.016575606539845467,
0.026520969346165657,
0.028405707329511642,
-0.018157441169023514,
-0.025763707235455513,
-0.011098083108663559,
0.0009697150089778006,
-0.015708962455391884,
-0.05014751851558685,
-0.019066153094172478,
0.06906221807003021,
-0.07734160870313644,
-0.057383570820093155,
-0.013857879675924778,
-0.04435867816209793,
-0.026487313210964203,
-0.08790960907936096,
0.04038726165890694,
0.031098192557692528,
-0.008085866458714008,
0.04684922471642494,
-0.03463207930326462,
-0.0021771257743239403,
0.038367900997400284,
-0.04604148119688034,
0.006617621518671513,
-0.0017679944867268205,
0.02838888019323349,
0.044695235788822174,
0.007564197760075331,
0.0006058089202269912,
-0.022633695974946022,
-0.022263478487730026,
0.04324802756309509,
-0.002572584431618452,
0.007156118284910917,
0.047421377152204514,
-0.02710995078086853,
0.03870445862412453,
0.006966802757233381,
-0.02302074059844017,
-0.001100132241845131,
0.02872544154524803,
0.006415685173124075,
-0.011182223446667194,
-0.0028376260306686163,
0.013083790428936481,
-0.012629433535039425,
0.0513254813849926,
0.024754026904702187,
0.03887274116277695,
-0.005666838027536869,
0.008052210323512554,
0.045738574117422104,
0.019099809229373932,
0.023037567734718323,
-0.0066681052558124065,
-0.036516815423965454,
0.0060118124820292,
0.026588281616568565,
0.0641147792339325,
-0.0027408648747950792,
0.02615075185894966,
0.0513254813849926,
-0.04681557044386864,
0.0065713440999388695,
-0.047589659690856934,
-0.006049675401300192,
0.00833828654140234,
-0.031098192557692528,
-0.05139279365539551,
0.061960794031620026,
0.04883493110537529,
-0.010786764323711395,
-0.013756911270320415,
0.04873396456241608,
-0.01980658620595932,
-0.00511151272803545,
0.055296894162893295,
0.008165800012648106,
0.007383296266198158,
0.0408921018242836,
-0.014017745852470398,
0.04523373395204544,
0.005746771115809679,
0.0333026647567749,
-0.016895338892936707,
0.03094674088060856,
0.04267587512731552,
0.04065651074051857,
0.0561046376824379,
-0.01358863152563572,
0.023508751764893532
] |
23,278 | cov_core | multiprocessing_finish | null | def multiprocessing_finish(cov):
cov.stop()
cov.save()
| (cov) | [
0.0017120459815487266,
0.032563384622335434,
-0.05388186126947403,
0.09999937564134598,
-0.024966377764940262,
-0.02776087261736393,
-0.05080289766192436,
0.025468382984399796,
0.04022732749581337,
-0.03279765322804451,
-0.018758250400424004,
-0.014876078814268112,
0.01870805025100708,
-0.017419571056962013,
-0.024414172396063805,
0.026823796331882477,
0.017093267291784286,
-0.03427020087838173,
0.004664462525397539,
0.009454426355659962,
-0.04277081787586212,
0.03324946016073227,
-0.005396552849560976,
-0.03888864815235138,
-0.0014547683531418443,
-0.020113663747906685,
0.0011242817854508758,
0.0031563558150082827,
0.0014976479578763247,
0.004710479639470577,
-0.05763016268610954,
-0.02864774689078331,
-0.027543336153030396,
0.029350554570555687,
0.08500616252422333,
0.017486505210399628,
0.012315853498876095,
0.022657155990600586,
-0.029317086562514305,
0.033299658447504044,
-0.019929595291614532,
-0.022657155990600586,
0.0008105287561193109,
0.030070094391703606,
0.012274020351469517,
0.03888864815235138,
-0.049798887223005295,
0.027493136003613472,
0.039993058890104294,
-0.026940930634737015,
0.030605565756559372,
-0.034638337790966034,
0.004392542876303196,
0.006668298505246639,
0.036579426378011703,
0.03430366888642311,
0.024681909009814262,
-0.014282039366662502,
0.00935402512550354,
-0.05023396015167236,
0.006003142334520817,
-0.017319168895483017,
0.028430212289094925,
-0.001572948764078319,
0.056492287665605545,
0.02063240110874176,
0.01172181498259306,
0.047723934054374695,
0.04317242279648781,
-0.01454977598041296,
-0.021920882165431976,
-0.03577621653676033,
-0.01959492452442646,
0.04273735359311104,
0.024230103939771652,
-0.04410949721932411,
-0.026807062327861786,
-0.034236736595630646,
-0.029618289321660995,
-0.01492627989500761,
-0.02523411437869072,
0.004743946250528097,
-0.03982572257518768,
0.01887538470327854,
0.026539325714111328,
0.013236196711659431,
0.08192720264196396,
-0.056927356868982315,
-0.06954441219568253,
0.030705967918038368,
0.0017256418941542506,
0.07402899116277695,
0.004371626302599907,
0.05197424069046974,
0.06730212271213531,
-0.006388012319803238,
-0.023125693202018738,
0.04434376582503319,
-0.0495980866253376,
-0.04591671749949455,
0.05659268796443939,
-0.024447638541460037,
0.040762800723314285,
-0.018222779035568237,
0.016574528068304062,
0.0013637800002470613,
0.025200646370649338,
-0.008433682844042778,
0.007588640786707401,
-0.0165996290743351,
-0.06067566201090813,
0.005852540489286184,
-0.0646917000412941,
-0.04471190273761749,
-0.027978407219052315,
-0.0537479929625988,
-0.0314924418926239,
0.05297825112938881,
-0.0071033695712685585,
0.028162475675344467,
0.013587599620223045,
-0.005986408796161413,
-0.04096360132098198,
-0.01142061222344637,
-0.025769585743546486,
0.022623687982559204,
0.04812553897500038,
0.1167328730225563,
0.01194771658629179,
0.011763648129999638,
-0.05595681443810463,
-0.016733497381210327,
-0.00027218079776503146,
0.011696714907884598,
-0.0011096399975940585,
0.014616710133850574,
0.004518044181168079,
-0.04166640713810921,
0.012550123035907745,
-0.02719193324446678,
-0.028078807517886162,
0.007488240022212267,
-0.0002983268932439387,
-0.028999149799346924,
0.055153608322143555,
0.04835980758070946,
-0.005731222685426474,
-0.05749629810452461,
-0.10435009002685547,
-0.024246837943792343,
0.0008894899510778487,
0.005095350090414286,
-0.01166324783116579,
-0.031224705278873444,
-0.005237584467977285,
-0.03351719304919243,
-0.025618983432650566,
0.06592997908592224,
-0.007588640786707401,
-0.04009345918893814,
-0.00978909619152546,
0.027225399389863014,
-0.031994447112083435,
0.02402930147945881,
0.002698276424780488,
0.021251540631055832,
0.020280998200178146,
0.067134790122509,
-0.05013355612754822,
0.005020048934966326,
-0.05923657864332199,
0.008935687132179737,
0.04859407618641853,
-0.004810880403965712,
-0.06308528780937195,
0.07188710570335388,
0.01634862646460533,
-0.0026187922339886427,
-0.0013334505492821336,
0.017168568447232246,
-0.05980551987886429,
-0.02285795658826828,
-0.023677898570895195,
0.03055536560714245,
-0.002018478000536561,
-0.018306445330381393,
-0.01492627989500761,
-0.0002923132851719856,
0.042670417577028275,
-0.04705459251999855,
-0.0037754953373223543,
0.01381350215524435,
0.017419571056962013,
-0.02580305188894272,
0.061679668724536896,
-0.0222555510699749,
0.04317242279648781,
0.00641729636117816,
-0.007672308478504419,
-0.01618129201233387,
-0.033333126455545425,
0.0013376339338719845,
0.040294259786605835,
-0.08420296013355255,
0.04146560654044151,
0.022222084924578667,
-0.018825184553861618,
0.018758250400424004,
-0.04464497044682503,
0.04230228066444397,
0.03443753719329834,
-0.0000896810888662003,
0.0347052738070488,
0.041800275444984436,
0.08326587826013565,
-0.035374611616134644,
0.012951727025210857,
0.0450800396502018,
0.030471697449684143,
0.03226218372583389,
-0.05066902935504913,
-0.03831970691680908,
0.021134406328201294,
0.01463344320654869,
-0.04531431198120117,
0.018908852711319923,
-0.013052127324044704,
0.003664635820314288,
0.06579611450433731,
-0.03360086306929588,
-0.03252992033958435,
0.0010385226923972368,
-0.034052666276693344,
-0.05863417312502861,
-0.0015980489552021027,
0.014499574899673462,
-0.03400246798992157,
0.04096360132098198,
-0.059604715555906296,
0.015553785488009453,
-0.005112083163112402,
-0.014566509053111076,
-0.003932371735572815,
-0.037014495581388474,
-0.003049679799005389,
0.01655779592692852,
0.10937013477087021,
-0.026606259867548943,
0.0507359616458416,
0.04819247126579285,
0.0701468214392662,
-0.022523287683725357,
-0.013688000850379467,
-0.022606953978538513,
0.033634331077337265,
-0.07951758056879044,
0.024280304089188576,
-0.06087646260857582,
0.06248287856578827,
-0.006187210790812969,
0.032764188945293427,
-0.013110695406794548,
0.03728223219513893,
0.04879487678408623,
-0.0009747262229211628,
0.015101981349289417,
0.029768891632556915,
-0.041030533611774445,
0.0022799388971179724,
-0.001982919406145811,
0.0588349774479866,
-0.04320589080452919,
-0.06820573657751083,
-0.02061566896736622,
-0.060508325695991516,
0.06238247826695442,
-0.07074922323226929,
0.0046811955980956554,
-0.04574938118457794,
0.02908281795680523,
0.10803145915269852,
0.013403531163930893,
-0.0294174887239933,
-0.06900893896818161,
0.002187904668971896,
0.005915291141718626,
0.007839643396437168,
0.002966012340039015,
0.04049506410956383,
0.0008309227414429188,
-0.03172671049833298,
0.017093267291784286,
-0.025468382984399796,
-0.020230798050761223,
0.016306793317198753,
-0.022339219227433205,
-0.017001233994960785,
-0.017268968746066093,
0.010324567556381226,
0.06157926842570305,
-0.016758596524596214,
-0.024280304089188576,
-0.027710670605301857,
-0.01618129201233387,
-0.060776062309741974,
0.06710132211446762,
0.06281755119562149,
-0.0694105476140976,
-0.03217851370573044,
0.046385254710912704,
0.010659237392246723,
0.03611088544130325,
-0.03842011094093323,
0.018908852711319923,
-0.0009511947282589972,
0.0036207104567438364,
-0.0067854332737624645,
-0.01425693929195404,
0.0011608863715082407,
0.001476731151342392,
-0.04109746962785721,
-0.09337291121482849,
0.06398889422416687,
-0.00003134262442472391,
0.061679668724536896,
0.02981909178197384,
-0.028078807517886162,
0.06552837789058685,
0.02327629365026951,
-0.06730212271213531,
-0.061679668724536896,
-0.03831970691680908,
-0.007743425667285919,
0.004237757995724678,
0.021167874336242676,
-0.02315915934741497,
0.004099706653505564,
-0.05160610377788544,
0.05980551987886429,
-0.009881130419671535,
-0.0013407714432105422,
-0.029902759939432144,
-0.022473087534308434,
0.0017287794034928083,
-0.053379856050014496,
0.01765383966267109,
0.0056642889976501465,
-0.022908156737685204,
0.039089448750019073,
-0.002566500101238489,
-0.010450068861246109,
0.05719509348273277,
0.005672655533999205,
0.10187353193759918,
0.030036628246307373,
0.03239605203270912,
0.028078807517886162,
-0.03396899998188019,
0.03176017850637436,
-0.06927667558193207,
-0.045046575367450714,
0.01492627989500761,
0.015244215726852417,
0.013721467927098274,
0.034086134284734726,
-0.03611088544130325,
-0.07322578132152557,
0.025602251291275024,
-0.0005276280571706593,
-0.01736937090754509,
-0.014106337912380695,
0.03534114733338356,
0.019042719155550003,
0.0033927166368812323,
0.00369182787835598,
-0.0016607996076345444,
-0.02463170699775219,
0.014081237837672234,
-0.008684685453772545,
0.04203454405069351,
-0.0614788681268692,
-0.04049506410956383,
-0.03888864815235138,
-0.027409467846155167,
-0.016775330528616905,
-0.0022569303400814533,
-0.02076626941561699,
-0.027677204459905624,
0.002698276424780488,
0.010977174155414104,
0.05267705023288727,
-0.025769585743546486,
-0.0039030881598591805,
-0.0639219582080841,
0.039424117654561996,
0.03194424510002136,
0.0028405110351741314,
0.000842949899379164,
0.031860578805208206,
0.008379298262298107,
-0.051137566566467285,
0.00031009261147119105,
-0.10133805871009827,
0.01128674391657114,
0.036880627274513245,
-0.06512676924467087,
-0.007521707098931074,
-0.05398226156830788,
0.07858050614595413,
0.023661164566874504,
0.0037587617989629507,
-0.059002310037612915,
-0.012583590112626553,
-0.04989928752183914,
-0.0584668405354023,
0.006007325369864702,
-0.006446579936891794,
-0.06736905872821808,
0.056324951350688934,
0.05388186126947403,
0.061512336134910583,
0.0775095596909523,
0.04404256492853165,
-0.011596313677728176,
-0.03370126336812973,
-0.05254318192601204,
-0.007141019683331251,
-0.006505147088319063,
-0.02909955196082592,
0.003827787470072508,
-0.02802860736846924,
0.020013263449072838,
-0.05177344009280205,
0.026807062327861786,
0.019276989623904228,
0.017017966136336327,
-0.018339913338422775,
-0.007609557826071978,
0.021452343091368675,
0.03089003637433052,
0.007320905104279518,
0.07570233941078186,
-0.025920186191797256,
-0.009253623895347118,
0.044778838753700256,
0.011847316287457943,
0.04812553897500038,
-0.04257001727819443,
0.023995835334062576,
0.035408079624176025,
-0.017302436754107475,
0.01974552683532238,
-0.02302529290318489,
-0.04899568110704422,
0.06736905872821808,
-0.01417327206581831,
-0.01961165852844715,
0.007571907248347998,
-0.002004882087931037,
-0.041030533611774445,
-0.034220002591609955,
0.008500616997480392,
-0.015277682803571224,
-0.012516655959188938,
0.022757556289434433,
0.02744293585419655,
0.022389419376850128,
0.024397438392043114,
-0.000025655850549810566,
0.01669166423380375,
0.0054258364252746105,
-0.03580968454480171,
0.0032337482552975416,
-0.05311211943626404,
0.0276270043104887,
-0.016549428924918175,
-0.06683358550071716,
0.04939728230237961,
0.05284438282251358,
0.014976480044424534,
0.008375115692615509,
-0.017586905509233475,
0.040461596101522446,
0.037181831896305084,
-0.011328577995300293,
0.008508983068168163,
0.06452436745166779,
-0.048159003257751465,
0.008651218377053738,
-0.019410856068134308,
-0.024849243462085724,
-0.03785116970539093,
0.007931677624583244,
0.011930983513593674,
0.035408079624176025,
-0.0299864262342453,
-0.007136836647987366,
-0.020532000809907913,
0.05267705023288727,
-0.09564866870641708,
0.038553979247808456,
0.02851387858390808,
-0.03858744353055954,
-0.026673194020986557,
-0.006952768191695213,
-0.020883403718471527,
0.015578885562717915,
-0.034671805799007416,
-0.061211131513118744,
0.009830929338932037,
-0.06987908482551575,
-0.0008168038330040872,
0.014374074526131153,
-0.028463678434491158,
-0.00019648786110337824,
-0.021920882165431976,
-0.0511040985584259,
-0.025267580524086952,
0.0294174887239933,
0.01313579548150301,
0.024865977466106415,
-0.005915291141718626,
0.0403611958026886,
0.05140530318021774,
-0.007241420913487673,
-0.0065009635873138905,
0.0041101654060184956,
0.03490607440471649,
-0.002196271438151598,
0.05659268796443939,
-0.016306793317198753,
-0.012884792871773243,
0.003058046568185091,
0.023962367326021194,
0.037181831896305084,
-0.04795820266008377,
0.030471697449684143,
-0.06271714717149734,
0.029584823176264763,
-0.042837753891944885,
-0.027526602149009705,
0.02138540893793106,
-0.004384176339954138,
-0.0063838292844593525,
-0.01885865069925785,
0.04290468618273735,
-0.007387838792055845,
0.010408234782516956,
-0.02346036210656166,
0.04692072421312332,
-0.008885486982762814,
0.03781770542263985,
0.025200646370649338,
0.03959145396947861,
-0.005216667894273996,
0.02655605971813202,
0.020113663747906685,
0.011437345296144485,
0.027058064937591553,
-0.00010072781151393428,
0.012299120426177979,
0.04367442801594734,
0.03234585002064705,
-0.04611751809716225,
0.030622299760580063,
0.022155150771141052,
-0.006392195820808411,
0.059872452169656754,
0.042101480066776276,
-0.04350709170103073,
0.06265021115541458,
-0.054116129875183105,
0.025267580524086952,
-0.02213841676712036,
-0.00979746226221323,
0.02523411437869072,
0.06174660474061966,
-0.0155119514092803,
0.023795032873749733,
-0.03221198171377182,
-0.000404480000725016,
0.030488431453704834,
-0.005668472032994032,
-0.041197869926691055,
-0.02259022183716297,
0.006371279247105122,
-0.048627544194459915,
-0.02981909178197384,
0.046251386404037476,
0.023125693202018738,
-0.02346036210656166,
0.0522419773042202,
-0.03982572257518768,
-0.0639219582080841,
-0.032898057252168655,
0.05629148334264755,
0.0281959418207407,
0.05240931361913681,
-0.019360655918717384,
0.012725824490189552,
-0.01349556539207697,
-0.002265297109261155,
0.06131153181195259,
0.007141019683331251,
-0.04879487678408623,
0.022355951368808746,
-0.04618445038795471,
0.007990244776010513,
0.053513724356889725,
0.0805215910077095,
-0.018724782392382622,
-0.014859345741569996,
0.029718691483139992,
0.01870805025100708,
-0.00911975558847189,
-0.016549428924918175,
-0.05863417312502861,
-0.04012692719697952,
-0.009914597496390343,
0.054283466190099716,
0.022958358749747276,
-0.043440159410238266,
0.0016691663768142462,
-0.01490954589098692,
-0.0115042794495821,
0.03176017850637436,
-0.008592651225626469,
0.0015928198117762804,
-0.004660279024392366,
-0.02674012817442417,
-0.059002310037612915,
0.002330139512196183,
0.05585641413927078,
-0.020732803270220757,
0.038386642932891846,
-0.012600323185324669,
0.00392191344872117,
0.042101480066776276,
-0.004534777719527483,
-0.058266036212444305,
0.017603639513254166,
0.0009109297534450889,
0.00798606127500534,
-0.04277081787586212,
-0.06114419922232628,
-0.07817889750003815,
0.023209361359477043,
-0.004095523618161678,
0.03544154763221741,
0.0019410856766626239,
0.030956970527768135,
0.05612415075302124,
-0.01708490028977394,
-0.03012029454112053,
0.008446232415735722,
-0.04678685963153839,
0.028078807517886162,
0.021268274635076523,
-0.004685379099100828,
0.02981909178197384,
-0.020314466208219528,
-0.015394817106425762,
-0.045648980885744095,
-0.0501670241355896,
0.05274398252367973,
-0.008140846155583858,
0.0412982702255249,
0.06867427378892899,
-0.03604395315051079,
-0.02372809872031212,
0.002708734944462776,
-0.017620371654629707,
-0.017904842272400856,
-0.04086320102214813,
-0.04795820266008377,
0.012198719196021557,
-0.0015290232840925455,
-0.04444416984915733,
-0.019410856068134308,
0.02299182489514351,
0.025501849129796028,
0.008985888212919235,
0.013671266846358776,
0.011362044140696526,
0.04257001727819443,
0.05665962025523186,
0.0230085588991642,
-0.03594355285167694,
-0.015076881274580956,
-0.006551164202392101,
0.015771321952342987,
0.008019528351724148,
0.019695326685905457,
-0.0775095596909523,
-0.06178007274866104,
0.0012089951196685433,
-0.0021220166236162186,
-0.028748149052262306,
-0.026940930634737015,
-0.03343352675437927,
-0.008057178929448128,
0.002160712843760848,
0.00653861416503787,
0.0070197018794715405,
0.007856376469135284,
0.0744975283741951,
0.0013303130399435759,
-0.010885139927268028,
0.01869131624698639,
-0.03885518014431,
0.04220188036561012,
0.008734885603189468,
-0.0028739781118929386,
0.04568244889378548,
-0.02210495062172413,
0.0012069034855812788,
-0.0714854970574379,
-0.008308181539177895,
0.03500647470355034,
0.014005936682224274,
0.0011106858728453517,
0.04246961697936058,
-0.007839643396437168,
-0.00553460419178009,
-0.07161936908960342,
-0.0620478056371212,
-0.005655921995639801,
0.04839327558875084,
0.04661952331662178,
0.014298773370683193,
-0.05950431525707245,
-0.05612415075302124,
-0.02078300341963768,
0.06934361159801483,
-0.07951758056879044,
-0.026338525116443634,
0.004969848785549402,
-0.04277081787586212,
0.003468017326667905,
0.001030155923217535,
-0.03801850602030754,
-0.04769046604633331,
0.062114741653203964,
0.0204650666564703,
0.019109653308987617,
0.029484422877430916,
-0.013897169381380081,
0.015771321952342987,
0.03155937418341637,
-0.0818602666258812,
0.05970511958003044,
0.032713986933231354,
0.00978909619152546,
0.01571275293827057,
0.037349164485931396,
0.0012236370239406824,
0.01869131624698639,
-0.0025916004087775946,
-0.03400246798992157,
-0.0250835120677948,
0.01582152210175991,
-0.04748966544866562,
-0.039691854268312454,
-0.017285702750086784,
0.04825940728187561,
-0.009253623895347118,
0.015344616957008839,
0.02212168276309967
] |
23,279 | cov_core | multiprocessing_start | null | def multiprocessing_start(obj):
cov = cov_core_init.init()
import multiprocessing.util
multiprocessing.util.Finalize(
None, multiprocessing_finish, args=(cov,), exitpriority=1000)
| (obj) | [
-0.017850680276751518,
0.015620450489223003,
0.008832413703203201,
0.06262340396642685,
-0.00989442691206932,
-0.015027493238449097,
-0.02184208109974861,
-0.0027545979246497154,
-0.011956503614783287,
-0.023718304932117462,
-0.02235538698732853,
0.017523225396871567,
0.032391417771577835,
-0.0025886583607643843,
-0.050835054367780685,
-0.008735062554478645,
-0.012337058782577515,
-0.0258423313498497,
-0.013133568689227104,
0.018726840615272522,
-0.010398883372545242,
0.079084612429142,
0.015611600130796432,
-0.019222447648644447,
0.00912446714937687,
-0.0010620136745274067,
-0.03502875193953514,
-0.006230480037629604,
0.007363294716924429,
-0.0006952870753593743,
-0.009336870163679123,
0.018142733722925186,
-0.08000502735376358,
-0.0020244636107236147,
0.06510143727064133,
-0.022957194596529007,
0.03848029300570488,
0.01950564980506897,
-0.050658050924539566,
0.05526011064648628,
0.009053666144609451,
-0.04389656335115433,
0.013328270986676216,
0.015354947187006474,
-0.01358492486178875,
0.014708888716995716,
0.020355261862277985,
0.054906103760004044,
0.04626839607954025,
-0.021523475646972656,
0.00992982741445303,
-0.06800427287817001,
0.037028875201940536,
-0.03170110657811165,
-0.02796635963022709,
0.10570576041936874,
0.03315252438187599,
-0.03812628984451294,
-0.026939745992422104,
-0.01277956459671259,
0.023594403639435768,
0.010664386674761772,
0.03607306256890297,
0.026691943407058716,
0.02085086703300476,
-0.042976152151823044,
-0.036214664578437805,
0.038869697600603104,
0.01019533071666956,
0.005695048253983259,
-0.01978885382413864,
-0.024567915126681328,
-0.01430178340524435,
0.010319232940673828,
0.010726338252425194,
0.030054986476898193,
-0.04736580699682236,
-0.0523572713136673,
-0.008009352721273899,
-0.02601933479309082,
-0.034249939024448395,
0.030001886188983917,
-0.053242284804582596,
-0.008146530017256737,
0.04184333607554436,
0.025098921731114388,
0.06931409239768982,
-0.013390221633017063,
-0.03476324677467346,
0.02184208109974861,
-0.03855109587311745,
0.0925367921590805,
0.014770839363336563,
0.08616470545530319,
0.029523979872465134,
0.019133945927023888,
-0.018921542912721634,
0.057950545102357864,
-0.052251070737838745,
-0.009336870163679123,
0.03529425337910652,
-0.07844740897417068,
0.04775521531701088,
-0.020355261862277985,
-0.000996190938167274,
-0.019718052819371223,
0.04159553349018097,
0.0007837882149033248,
0.016151458024978638,
0.009416520595550537,
-0.027594653889536858,
-0.03178960829973221,
-0.027860157191753387,
-0.02520512416958809,
-0.03890509903430939,
-0.04046272113919258,
-0.00035981243127025664,
0.029824882745742798,
-0.0018651614664122462,
0.023629803210496902,
-0.032373715192079544,
-0.006920788902789354,
-0.01438143476843834,
0.008150954730808735,
-0.014505336061120033,
-0.019664952531456947,
0.06563244014978409,
0.05869395285844803,
0.036232367157936096,
-0.0589771568775177,
0.03030278906226158,
-0.023045696318149567,
-0.0413123294711113,
0.002628483809530735,
-0.012257407419383526,
-0.021983683109283447,
-0.004387443885207176,
-0.020461462438106537,
0.0007738317945040762,
-0.004281242378056049,
-0.007080091163516045,
-0.037772286683321,
-0.041560135781764984,
-0.0023408550769090652,
0.008487259037792683,
0.07320813834667206,
-0.02378910593688488,
-0.019664952531456947,
-0.03717047721147537,
0.01523104589432478,
0.004761361051350832,
-0.029081473127007484,
0.024532515555620193,
-0.006071177776902914,
-0.057242535054683685,
-0.048852626234292984,
0.011390096507966518,
0.00888108927756548,
0.03163030743598938,
0.010115680284798145,
-0.02763005532324314,
0.061171986162662506,
-0.006097728386521339,
-0.002236866159364581,
-0.04474617540836334,
0.012399009428918362,
-0.007650923449546099,
-0.017974581569433212,
-0.031842708587646484,
0.006920788902789354,
-0.03819708898663521,
-0.03734748065471649,
0.033736634999513626,
-0.009460771456360817,
0.04495857656002045,
0.058127548545598984,
-0.0030046135652810335,
0.01824893429875374,
-0.036745671182870865,
0.054339699447155,
-0.011611348949372768,
-0.0011671087704598904,
-0.026426440104842186,
-0.009195268154144287,
-0.052074067294597626,
0.05341928452253342,
0.04109992831945419,
-0.009876727126538754,
0.05717173591256142,
-0.030762994661927223,
0.014770839363336563,
0.00021226445096544921,
-0.01515139453113079,
0.026585740968585014,
0.06683605909347534,
0.012363608926534653,
0.011204243637621403,
-0.04071052372455597,
-0.0514722615480423,
0.0038343118503689766,
-0.027913259342312813,
0.06191539391875267,
0.03448004275560379,
-0.0468348003923893,
0.043861161917448044,
0.02529362589120865,
-0.015443447977304459,
0.08984635770320892,
-0.04715340584516525,
0.037736885249614716,
0.03848029300570488,
-0.05614512041211128,
-0.01131044514477253,
0.11653829365968704,
0.04435677081346512,
-0.02547062747180462,
0.043967366218566895,
0.0028364614117890596,
0.04453377053141594,
0.03285162150859833,
0.010885640047490597,
-0.01430178340524435,
-0.007863325998187065,
0.02056766487658024,
-0.054339699447155,
0.02405460923910141,
-0.007628798019140959,
-0.023541303351521492,
0.014992092736065388,
-0.05472910404205322,
-0.03911750391125679,
-0.05780894309282303,
-0.06191539391875267,
-0.04028571769595146,
-0.007119916379451752,
0.011080342344939709,
0.05157846212387085,
0.09480241686105728,
-0.05816294625401497,
-0.012416709214448929,
0.01789492927491665,
0.024001508951187134,
0.045489583164453506,
-0.05104745551943779,
-0.03971930965781212,
0.02394840680062771,
0.03617926314473152,
-0.020426062867045403,
0.002475819317623973,
0.06403942406177521,
0.0096643241122365,
0.002918324898928404,
-0.009575823321938515,
-0.06212779879570007,
-0.01510714367032051,
-0.06103038415312767,
0.055720314383506775,
-0.012991966679692268,
-0.0039183879271149635,
0.0072482433170080185,
-0.004987039137631655,
-0.052180271595716476,
0.017089569941163063,
0.0638270229101181,
-0.01647891104221344,
0.02878057025372982,
-0.027506154030561447,
-0.011505147442221642,
-0.0074562206864356995,
0.0044870078563690186,
0.09614763408899307,
-0.04864022508263588,
0.006181804463267326,
0.04389656335115433,
-0.03171880915760994,
0.001331942155957222,
-0.12276877462863922,
-0.019930455833673477,
-0.029807183891534805,
0.051012054085731506,
0.0903419628739357,
0.01185030210763216,
-0.053065281361341476,
-0.07122571766376495,
-0.027860157191753387,
-0.03189580887556076,
0.009071366861462593,
0.00021212616411503404,
0.004482582677155733,
-0.023913007229566574,
-0.05048104748129845,
0.08510269224643707,
-0.01950564980506897,
-0.0039803385734558105,
0.024621017277240753,
0.0006914151599630713,
-0.02210758440196514,
-0.015284146182239056,
-0.005332193337380886,
0.02387760765850544,
0.018779940903186798,
-0.0003169447008986026,
-0.05593271926045418,
-0.020072057843208313,
-0.02849736623466015,
0.021594276651740074,
0.058127548545598984,
-0.021541176363825798,
-0.05547251179814339,
0.034249939024448395,
-0.011434347368776798,
0.04071052372455597,
0.01541689783334732,
-0.01950564980506897,
0.013452173210680485,
0.006491558626294136,
-0.015558499842882156,
-0.02814336121082306,
-0.006226054858416319,
-0.027559254318475723,
-0.04109992831945419,
-0.033736634999513626,
0.034710146486759186,
0.01246981043368578,
0.03419683873653412,
0.010213031433522701,
0.032391417771577835,
0.013655725866556168,
-0.007411970291286707,
-0.023665204644203186,
-0.0737745463848114,
-0.018319735303521156,
-0.004000251181423664,
0.02246158942580223,
0.016470061615109444,
0.006978314835578203,
-0.007181867491453886,
-0.055826518684625626,
0.01685061678290367,
-0.00997407827526331,
0.040852125734090805,
0.012620261870324612,
-0.057950545102357864,
-0.006141978781670332,
-0.03527655452489853,
-0.024036908522248268,
0.021948281675577164,
-0.02522282488644123,
0.004783486481755972,
-0.04035651683807373,
-0.028284963220357895,
0.04934823513031006,
-0.028355764225125313,
0.051967866718769073,
0.01665591448545456,
0.014310633763670921,
-0.017753327265381813,
-0.05441049858927727,
0.020107459276914597,
-0.030054986476898193,
-0.03741827979683876,
0.027665454894304276,
-0.017859529703855515,
-0.029152274131774902,
0.00719071738421917,
-0.04035651683807373,
-0.03294012323021889,
0.026037033647298813,
-0.030054986476898193,
-0.008925340138375759,
-0.023913007229566574,
0.005761424079537392,
-0.024196211248636246,
0.010230731219053268,
-0.026160936802625656,
-0.0046684350818395615,
0.0035024324897676706,
-0.012549460865557194,
-0.016532013192772865,
0.06131358817219734,
-0.023293498903512955,
-0.009637773968279362,
-0.015797453001141548,
-0.00719071738421917,
-0.08510269224643707,
0.007934127002954483,
0.03894050046801567,
0.010036028921604156,
0.024727217853069305,
-0.001250078552402556,
0.06255260109901428,
-0.00719071738421917,
0.01434603426605463,
-0.029099173843860626,
0.05621592327952385,
0.01789492927491665,
0.06588024646043777,
0.014062830246984959,
0.007832350209355354,
-0.015841703861951828,
0.02849736623466015,
0.017655976116657257,
-0.01377077680081129,
0.013505273498594761,
0.035241153091192245,
-0.057596538215875626,
0.036745671182870865,
-0.10202410817146301,
0.06860607862472534,
0.04906503111124039,
-0.024373212829232216,
-0.048852626234292984,
-0.04177253693342209,
-0.04481697455048561,
-0.07196912169456482,
-0.03770148381590843,
-0.00659333448857069,
-0.03529425337910652,
0.02573613077402115,
0.007513746619224548,
0.048073817044496536,
0.039152901619672775,
0.021257972344756126,
0.01492129173129797,
-0.014903591945767403,
-0.047436609864234924,
0.03163030743598938,
-0.036922674626111984,
0.042622148990631104,
-0.015275295823812485,
-0.036391668021678925,
0.043082352727651596,
-0.003902900032699108,
0.03428534045815468,
0.019027745351195335,
-0.030001886188983917,
-0.01652316190302372,
0.03456854447722435,
0.025877732783555984,
0.028815969824790955,
0.004022376611828804,
0.014859341084957123,
0.008478408679366112,
-0.026798143982887268,
0.015354947187006474,
0.06743786484003067,
0.03476324677467346,
-0.03074529580771923,
0.006451732944697142,
0.06173839420080185,
-0.001475756405852735,
-0.02432011254131794,
-0.009947528131306171,
-0.029718682169914246,
0.04669319838285446,
-0.02394840680062771,
-0.02056766487658024,
0.03587836027145386,
0.0005763636436313391,
-0.04368416219949722,
-0.05253427475690842,
-0.029276175424456596,
-0.01631961017847061,
-0.02368290349841118,
-0.025700729340314865,
0.05667612701654434,
0.014806239865720272,
0.07568617165088654,
-0.020903969183564186,
-0.012354758568108082,
0.021753579378128052,
0.011558248661458492,
0.042091142386198044,
-0.06216320022940636,
0.06658825278282166,
0.0281610619276762,
-0.08524429798126221,
0.024284711107611656,
0.06403942406177521,
-0.02699284628033638,
0.041383132338523865,
-0.014319484122097492,
0.1047145426273346,
0.03400213643908501,
-0.045383382588624954,
-0.002809911035001278,
0.08227065950632095,
-0.0443921722471714,
0.020603064447641373,
-0.03957770764827728,
0.015523099340498447,
0.018071932718157768,
0.0059649767354130745,
0.04251594468951225,
0.062233999371528625,
0.020974770188331604,
0.02407230995595455,
-0.046197593212127686,
0.06435802578926086,
-0.0335773304104805,
0.0357898585498333,
0.07278333604335785,
-0.022868694737553596,
-0.0019492375431582332,
-0.0009563654311932623,
0.0406397208571434,
-0.06308361142873764,
-0.0516846626996994,
-0.077314592897892,
0.03055059164762497,
-0.037205878645181656,
-0.009752824902534485,
-0.04715340584516525,
-0.006509258411824703,
0.01523989625275135,
0.00801820307970047,
-0.04336555674672127,
-0.0018961369059979916,
-0.014620387926697731,
-0.025081222876906395,
0.01978885382413864,
0.019133945927023888,
0.04382576420903206,
0.002253460232168436,
0.025081222876906395,
-0.015098294243216515,
0.01046968437731266,
0.015054043382406235,
0.03200200945138931,
0.06963269412517548,
0.03143560513854027,
-0.03911750391125679,
-0.04025031626224518,
0.03609076514840126,
0.014549586921930313,
-0.0404273197054863,
0.025523727759718895,
-0.03518805280327797,
0.08750992268323898,
-0.04888802766799927,
-0.0032214412931352854,
0.010487385094165802,
0.03724128007888794,
0.006274730432778597,
0.008358932100236416,
0.017240021377801895,
0.0022600977681577206,
0.0443921722471714,
-0.061773791909217834,
0.0021074332762509584,
0.04304695129394531,
-0.01751437596976757,
-0.03492254763841629,
0.07235852628946304,
-0.027205249294638634,
-0.04060432314872742,
0.0499146431684494,
0.0035865085665136576,
0.005942851305007935,
0.03311712667346001,
0.015346096828579903,
0.08368667215108871,
-0.005549021530896425,
-0.015009792521595955,
-0.0018883929587900639,
-0.007031415123492479,
-0.021541176363825798,
0.09126237034797668,
0.04233894497156143,
-0.029470879584550858,
0.032214414328336716,
-0.014788540080189705,
-0.047259606420993805,
0.02451481483876705,
-0.04839242249727249,
0.04754281044006348,
0.011204243637621403,
0.03571905940771103,
-0.0012135718716308475,
-0.05094125494360924,
-0.02966558188199997,
-0.011372395791113377,
0.008589034900069237,
-0.028851371258497238,
0.020426062867045403,
-0.016470061615109444,
-0.06662365794181824,
-0.029612479731440544,
0.0357898585498333,
-0.05855235084891319,
-0.060180772095918655,
-0.012000754475593567,
-0.013673425652086735,
-0.033010922372341156,
-0.014770839363336563,
0.05041024833917618,
0.01460268720984459,
0.013505273498594761,
0.052074067294597626,
-0.006168529391288757,
-0.04888802766799927,
0.037205878645181656,
0.021275673061609268,
0.018036531284451485,
-0.004155128262937069,
-0.010982991196215153,
-0.033895935863256454,
0.02699284628033638,
0.01908084563910961,
0.0413123294711113,
-0.027930958196520805,
-0.008827988058328629,
-0.004413994029164314,
0.010841389186680317,
-0.02522282488644123,
-0.036568671464920044,
-0.05784434452652931,
-0.03003728576004505,
0.048781827092170715,
0.04375496134161949,
0.0059782518073916435,
-0.03695807605981827,
-0.006911939010024071,
-0.026408739387989044,
0.04534798115491867,
0.008385483175516129,
0.005509195849299431,
-0.04403816536068916,
0.029541678726673126,
-0.0832618698477745,
-0.0203198604285717,
0.009053666144609451,
0.011744100600481033,
-0.07009290158748627,
0.07327894121408463,
-0.005805674474686384,
-0.014956692233681679,
0.08142104744911194,
-0.030603693798184395,
-0.022089883685112,
-0.026691943407058716,
-0.005066690035164356,
0.018479038029909134,
-0.041206128895282745,
-0.024390913546085358,
-0.08368667215108871,
-0.0034426942002028227,
-0.0009995097061619163,
0.07802259922027588,
0.021594276651740074,
0.013593774288892746,
0.010549335740506649,
-0.02876286953687668,
0.05568491667509079,
0.0008523765718564391,
0.0008678642916493118,
-0.03272772207856178,
-0.05214487016201019,
0.02129337377846241,
0.0028873495757579803,
-0.03099309839308262,
0.00016345053154509515,
-0.03240911662578583,
-0.01639041118323803,
0.0514722615480423,
-0.03770148381590843,
0.029417777433991432,
-0.021240273490548134,
-0.03787848725914955,
0.011018391698598862,
-0.004073265008628368,
0.032019712030887604,
-0.011593649163842201,
-0.027488453313708305,
-0.049489837139844894,
0.05575571581721306,
-0.01804538257420063,
-0.04159553349018097,
-0.008097854442894459,
0.023665204644203186,
0.028638968244194984,
-0.02074466645717621,
0.0023098797537386417,
-0.015310696326196194,
-0.01842593587934971,
-0.008929764851927757,
-0.023116497322916985,
-0.05890635773539543,
0.007646498270332813,
0.006898663472384214,
0.014354884624481201,
0.048781827092170715,
0.04371955990791321,
-0.042905353009700775,
-0.09296159446239471,
0.04658699780702591,
-0.025683030486106873,
-0.03685187175869942,
0.002949300454929471,
-0.04046272113919258,
0.02246158942580223,
0.03465704619884491,
-0.005018014460802078,
0.010487385094165802,
-0.017753327265381813,
0.06701306253671646,
-0.018337436020374298,
0.01630190946161747,
0.04775521531701088,
-0.018939243629574776,
0.06322520971298218,
0.008960739709436893,
0.007142041809856892,
0.02573613077402115,
-0.01566470041871071,
-0.0027745107654482126,
-0.019983556121587753,
0.03564825654029846,
-0.024373212829232216,
0.01994815655052662,
0.02012515813112259,
0.026355639100074768,
-0.006150829140096903,
-0.023488201200962067,
0.0038586496375501156,
-0.001459162449464202,
0.0011615774128586054,
0.03472784534096718,
0.0038254617247730494,
0.0018032107036560774,
-0.02085086703300476,
-0.046020589768886566,
-0.07943861931562424,
0.03332952782511711,
-0.025966234505176544,
-0.03816169127821922,
0.0033497679978609085,
-0.02191288210451603,
-0.028107961639761925,
-0.030957696959376335,
-0.044604573398828506,
-0.09112077206373215,
0.03936530649662018,
0.0452771820127964,
0.034798648208379745,
0.006504833698272705,
-0.004593208897858858,
-0.016293060034513474,
0.021399574354290962,
0.02147037535905838,
0.035860661417245865,
0.014584987424314022,
0.007535872049629688,
-0.01292116567492485,
-0.006845563184469938,
-0.012930016033351421,
-0.04074592515826225,
0.019558751955628395,
-0.01862064003944397,
-0.0735621452331543,
-0.028922172263264656,
-0.0775269940495491,
0.0013828303199261427,
-0.006252605468034744,
0.054339699447155,
0.021753579378128052,
0.04283455014228821,
0.014399134553968906
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.