index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
sequencelengths 768
768
|
---|---|---|---|---|---|---|
5,603 | flask.blueprints | Blueprint | null | class Blueprint(SansioBlueprint):
def __init__(
self,
name: str,
import_name: str,
static_folder: str | os.PathLike[str] | None = None,
static_url_path: str | None = None,
template_folder: str | os.PathLike[str] | None = None,
url_prefix: str | None = None,
subdomain: str | None = None,
url_defaults: dict[str, t.Any] | None = None,
root_path: str | None = None,
cli_group: str | None = _sentinel, # type: ignore
) -> None:
super().__init__(
name,
import_name,
static_folder,
static_url_path,
template_folder,
url_prefix,
subdomain,
url_defaults,
root_path,
cli_group,
)
#: The Click command group for registering CLI commands for this
#: object. The commands are available from the ``flask`` command
#: once the application has been discovered and blueprints have
#: been registered.
self.cli = AppGroup()
# Set the name of the Click group in case someone wants to add
# the app's commands to another CLI tool.
self.cli.name = self.name
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.
Note this is a duplicate of the same method in the Flask
class.
.. 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 # type: ignore[no-any-return]
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.
Note this is a duplicate of the same method in the Flask
class.
.. 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
)
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".
Note this is a duplicate of the same method in the Flask
class.
"""
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)
| (name: 'str', import_name: 'str', static_folder: 'str | os.PathLike[str] | None' = None, static_url_path: 'str | None' = None, template_folder: 'str | os.PathLike[str] | None' = None, url_prefix: 'str | None' = None, subdomain: 'str | None' = None, url_defaults: 'dict[str, t.Any] | None' = None, root_path: 'str | None' = None, cli_group: 'str | None' = <object object at 0x7f459ae22350>) -> 'None' | [
0.04899578168988228,
-0.09445366263389587,
-0.056400686502456665,
-0.03587264567613602,
0.04138518497347832,
-0.04021274298429489,
-0.0009153284481726587,
0.07824515551328659,
-0.06553339958190918,
-0.02513553574681282,
-0.0000115500752144726,
-0.017617501318454742,
-0.01484066154807806,
0.010613695718348026,
0.0037975844461470842,
0.023983661085367203,
0.08116597682237625,
0.014768670313060284,
0.03930769860744476,
-0.06154298037290573,
0.03973965346813202,
0.013123136013746262,
0.00039081438444554806,
-0.0007012804271653295,
-0.03755931928753853,
0.04640406742691994,
-0.02593773417174816,
0.0183271374553442,
0.05619499459862709,
-0.03315751627087593,
0.03614004701375961,
-0.05895126610994339,
0.07696986198425293,
0.03406256064772606,
0.03690110519528389,
-0.009785786271095276,
-0.0069986628368496895,
0.007404903881251812,
-0.02165934443473816,
-0.02083657681941986,
0.05092928558588028,
0.02295520342886448,
0.03768273442983627,
-0.06647958606481552,
0.03965737670660019,
0.03447394073009491,
-0.033856868743896484,
0.04936602711677551,
-0.06388786435127258,
-0.00013530661817640066,
0.02741871401667595,
-0.014583547599613667,
0.002263895235955715,
0.053233031183481216,
0.013112851418554783,
0.025279520079493523,
-0.02756269834935665,
0.0689067468047142,
-0.0316971018910408,
-0.034679632633924484,
0.011138210073113441,
-0.007775149308145046,
0.019581858068704605,
-0.03585207834839821,
0.034741342067718506,
0.03595492243766785,
-0.04566357657313347,
-0.010541703552007675,
0.0018897932022809982,
0.00039017159724608064,
0.03595492243766785,
0.01945844292640686,
0.0027896948158740997,
0.03179994970560074,
0.006397014483809471,
-0.0633942037820816,
0.05936264619231224,
-0.062160056084394455,
-0.0030390960164368153,
-0.02692505344748497,
0.07334969192743301,
-0.07170415669679642,
-0.03221133351325989,
-0.01775120012462139,
0.06446380168199539,
-0.0201166570186615,
0.03323979303240776,
-0.02902311086654663,
-0.06882447004318237,
0.03576980158686638,
-0.053644414991140366,
0.014902369119226933,
-0.003743590321391821,
0.03221133351325989,
0.024703582748770714,
-0.08836518973112106,
-0.014213302172720432,
0.02571147307753563,
0.04210510849952698,
0.002722844947129488,
-0.0032216475810855627,
0.010377150028944016,
-0.0191499050706625,
0.0032396456226706505,
0.024374475702643394,
-0.016105666756629944,
-0.01813173107802868,
0.010953087359666824,
-0.0068855322897434235,
-0.029125956818461418,
-0.042989581823349,
0.001736809965223074,
0.009343549609184265,
-0.048378705978393555,
-0.02521781250834465,
0.010953087359666824,
-0.018265429884195328,
0.028406035155057907,
0.07816287875175476,
-0.04965399578213692,
-0.05796394497156143,
0.010330869816243649,
0.019972672685980797,
-0.03938997536897659,
0.053397584706544876,
0.0595271997153759,
-0.03208791837096214,
-0.015550298616290092,
0.03690110519528389,
0.02902311086654663,
-0.013441957533359528,
0.04726796969771385,
-0.0325198695063591,
0.0358315072953701,
0.025012120604515076,
-0.0032782128546386957,
0.01650676503777504,
0.07347310334444046,
-0.017545508220791817,
0.11041534692049026,
0.022667234763503075,
-0.00990920141339302,
-0.030792059376835823,
-0.010310300625860691,
-0.003910714760422707,
0.003195936093106866,
0.027192452922463417,
-0.029064249247312546,
-0.034905895590782166,
0.03683939948678017,
0.03502931073307991,
-0.006155326496809721,
-0.045128777623176575,
0.04344210401177406,
0.01438814029097557,
0.05199888348579407,
-0.0559481643140316,
0.017401523888111115,
-0.02157706767320633,
-0.05216343700885773,
-0.01622908189892769,
0.0016481054481118917,
-0.01224894542247057,
-0.03358946740627289,
-0.00198106886819005,
0.011899269185960293,
0.011796423234045506,
0.0289408341050148,
0.03599606081843376,
0.052903927862644196,
-0.03245816379785538,
0.004738624207675457,
0.022564388811588287,
0.034679632633924484,
0.05027107149362564,
0.058827850967645645,
0.00932812225073576,
-0.050723593682050705,
0.04111778736114502,
-0.029249371960759163,
0.013791633769869804,
-0.07474839687347412,
-0.015262329950928688,
0.021926743909716606,
0.00565652409568429,
0.03552297130227089,
-0.05092928558588028,
0.02918766438961029,
0.03274613246321678,
0.0303189679980278,
-0.017710061743855476,
0.04591040685772896,
0.05117611587047577,
-0.009868063032627106,
-0.007985983043909073,
-0.02676049992442131,
-0.052492544054985046,
-0.04467625543475151,
0.022975772619247437,
-0.05644182488322258,
-0.01686672680079937,
0.03932826966047287,
0.0135036651045084,
-0.04541674628853798,
0.03332206979393959,
-0.01975669525563717,
0.0074254730716347694,
-0.02342829294502735,
-0.04677430912852287,
0.008150536566972733,
-0.0603499673306942,
0.010469711385667324,
0.0069009591825306416,
-0.03173824027180672,
0.018944213166832924,
-0.04660975933074951,
0.02984587661921978,
0.007374050561338663,
-0.03398028388619423,
0.028406035155057907,
0.0614607036113739,
0.019746411591768265,
-0.022420404478907585,
0.007039801217615604,
-0.028488311916589737,
-0.00011296978482278064,
0.04167315363883972,
0.01034629624336958,
0.008767612278461456,
-0.00924584548920393,
-0.07075797021389008,
-0.008711046539247036,
0.04558129981160164,
0.028817418962717056,
0.027027899399399757,
-0.0015208335826173425,
0.026143426075577736,
0.04144689440727234,
-0.013287688605487347,
-0.00859791599214077,
0.02513553574681282,
0.05302733927965164,
0.009688083082437515,
-0.019849257543683052,
0.008412794210016727,
-0.009626375511288643,
-0.020497186109423637,
-0.021371375769376755,
-0.03398028388619423,
-0.062077779322862625,
0.006114188116043806,
-0.011220486834645271,
-0.018717952072620392,
-0.0007809859816916287,
-0.08466273546218872,
-0.012259230017662048,
-0.05919809266924858,
-0.024868136271834373,
-0.0347207710146904,
0.044388286769390106,
0.016825588420033455,
-0.03973965346813202,
-0.025588057935237885,
0.05496084317564964,
0.05175205320119858,
-0.01455269381403923,
-0.015910258516669273,
-0.05245140567421913,
-0.02604058012366295,
-0.011868415400385857,
0.06203664094209671,
0.05528995022177696,
-0.01374021079391241,
-0.03486475721001625,
-0.024600736796855927,
-0.061419565230607986,
-0.014244155958294868,
0.01617765799164772,
0.007446042262017727,
-0.027706682682037354,
0.014048748649656773,
-0.05315075442194939,
0.04282502830028534,
0.008896169252693653,
0.023387154564261436,
-0.015097776427865028,
-0.04944830387830734,
0.03346605226397514,
-0.024683013558387756,
-0.00249401293694973,
0.07170415669679642,
0.024189352989196777,
0.017185548320412636,
-0.004034129902720451,
-0.0301749836653471,
0.04185827821493149,
-0.029784169048070908,
0.026451963931322098,
0.03690110519528389,
-0.05426149070262909,
0.014809807762503624,
-0.0071117933839559555,
0.06261257827281952,
0.016331927850842476,
-0.059239231050014496,
-0.03535841777920723,
0.045540161430835724,
-0.03560524806380272,
0.0035893216263502836,
0.008993873372673988,
0.04591040685772896,
-0.04648634418845177,
0.03753874823451042,
0.019694987684488297,
-0.014748101122677326,
0.006283883936703205,
-0.010130319744348526,
0.00047180551337078214,
-0.005065159872174263,
0.04029501974582672,
-0.01313342060893774,
0.03128571808338165,
0.006736405659466982,
0.01540631428360939,
0.05352099984884262,
-0.011621586047112942,
0.09017527848482132,
0.01634221151471138,
-0.01018174272030592,
0.04730910807847977,
-0.007811145391315222,
0.0520811602473259,
-0.00012767352745868266,
-0.019581858068704605,
-0.021391944959759712,
-0.006433010566979647,
-0.04776163026690483,
-0.06709665805101395,
-0.03056579828262329,
-0.0763527899980545,
0.02910538762807846,
-0.014521840028464794,
0.011971261352300644,
0.004854326136410236,
-0.033136945217847824,
-0.03801184147596359,
0.0540146604180336,
-0.010737110860645771,
0.029784169048070908,
-0.023140326142311096,
0.053479861468076706,
0.012063822709023952,
-0.0248064287006855,
0.03461792692542076,
-0.012464921921491623,
-0.08976389467716217,
-0.0017098129028454423,
-0.019828688353300095,
0.01090166438370943,
-0.025156104937195778,
-0.05993858352303505,
0.04290730506181717,
-0.055989302694797516,
-0.00013442279305309057,
0.014439563266932964,
-0.01305114384740591,
0.00420896802097559,
-0.010341154411435127,
0.017350101843476295,
0.02766554430127144,
0.03984249755740166,
0.008263667114078999,
0.0096469447016716,
-0.028344327583909035,
0.01265004463493824,
-0.06425811350345612,
0.022914065048098564,
-0.023777969181537628,
-0.028241481631994247,
0.04173486307263374,
-0.02604058012366295,
0.050476763397455215,
0.01912933588027954,
0.022482112050056458,
-0.0036227465607225895,
-0.0559481643140316,
-0.008304805494844913,
-0.04039786756038666,
-0.03601663187146187,
-0.026493100449442863,
0.04393576458096504,
-0.06384672969579697,
0.008315090090036392,
0.06273598968982697,
-0.007070655003190041,
-0.08087801188230515,
-0.01912933588027954,
0.058416467159986496,
0.07075797021389008,
0.03136799484491348,
0.03706565871834755,
0.007615738082677126,
0.0548374280333519,
0.009801213629543781,
0.015858836472034454,
-0.008459074422717094,
0.0749540850520134,
0.007949987426400185,
-0.00251843873411417,
0.07491294294595718,
-0.024477321654558182,
0.006623275112360716,
-0.08449818193912506,
-0.014964076690375805,
0.038649484515190125,
-0.022564388811588287,
0.02207072824239731,
0.04665089771151543,
0.03698338195681572,
-0.009868063032627106,
0.017247255891561508,
0.0068289670161902905,
0.08466273546218872,
-0.005116582848131657,
-0.01058284193277359,
0.014912653714418411,
-0.006181037984788418,
0.030833197757601738,
-0.05993858352303505,
0.03657199814915657,
0.025978872552514076,
-0.009667513892054558,
-0.03770330175757408,
-0.05368555337190628,
0.03161482512950897,
-0.02441561408340931,
0.024847567081451416,
-0.048625536262989044,
0.009029868990182877,
-0.013647649437189102,
0.02610228769481182,
-0.013297973200678825,
0.06413469463586807,
0.020456047728657722,
-0.011909553781151772,
0.00822767149657011,
-0.03659256920218468,
0.0421668142080307,
0.1016940176486969,
-0.03899916261434555,
-0.007703157141804695,
-0.0388551764190197,
0.0016892437124624848,
-0.010289731435477734,
-0.07462497800588608,
-0.06865991652011871,
0.03408312797546387,
-0.025402935221791267,
-0.021700482815504074,
0.030195552855730057,
-0.004723197314888239,
0.0031033747363835573,
0.04257819801568985,
-0.062077779322862625,
-0.0246624443680048,
-0.04340096563100815,
0.03795013204216957,
-0.018676813691854477,
-0.036284029483795166,
-0.007790576200932264,
0.027069037780165672,
0.00881903525441885,
0.017596932128071785,
-0.03593435510993004,
0.03064807504415512,
0.03326036036014557,
0.04652748256921768,
-0.011930122971534729,
-0.06565681844949722,
0.0026791354175657034,
0.02904368005692959,
-0.03408312797546387,
-0.061748672276735306,
0.01650676503777504,
-0.02237926609814167,
-0.04632179066538811,
0.01576627418398857,
0.01604395918548107,
0.027768390253186226,
-0.03097718209028244,
-0.02336658537387848,
0.01532403752207756,
-0.0009628946427255869,
-0.025238381698727608,
-0.016136519610881805,
0.05306847766041756,
0.025505781173706055,
0.006391872186213732,
-0.0005682235350832343,
-0.02968132309615612,
-0.020929139107465744,
-0.06582137197256088,
-0.018831081688404083,
0.04274275153875351,
-0.040747541934251785,
-0.029701892286539078,
-0.04426487162709236,
-0.008690477348864079,
0.006633559707552195,
-0.03342491388320923,
-0.01342138834297657,
0.026554808020591736,
0.012526629492640495,
0.016475912183523178,
0.012125530280172825,
-0.01609538123011589,
-0.014367571100592613,
0.006391872186213732,
0.03757988661527634,
-0.02538236603140831,
0.01811116188764572,
-0.02554691955447197,
0.03282840922474861,
-0.01200211513787508,
-0.017380954697728157,
-0.012927728705108166,
0.09124487638473511,
-0.01297915168106556,
0.03165596351027489,
0.06635616719722748,
0.03192336484789848,
0.07297944277524948,
0.053973522037267685,
-0.03171767294406891,
0.00479518948122859,
0.060308828949928284,
-0.0468565858900547,
-0.054384905844926834,
-0.05179319158196449,
-0.05261595919728279,
0.01573542132973671,
0.03430938720703125,
0.016383349895477295,
-0.022091297432780266,
-0.05352099984884262,
-0.07289716601371765,
-0.03875233232975006,
-0.024230491369962692,
0.06446380168199539,
-0.048543259501457214,
-0.021186253055930138,
0.048790089786052704,
0.04636292904615402,
0.007960272021591663,
-0.03509101644158363,
-0.0030390960164368153,
0.022914065048098564,
0.021289099007844925,
0.013102566823363304,
0.006186180282384157,
-0.03217019513249397,
0.012989436276257038,
-0.03379515931010246,
-0.01578684337437153,
0.024189352989196777,
0.05204002186655998,
0.031203443184494972,
0.000024747292627580464,
-0.0205280389636755,
-0.04169372469186783,
-0.0418994165956974,
0.009250988252460957,
0.05635954812169075,
-0.022975772619247437,
0.016383349895477295,
0.016887295991182327,
-0.01711355708539486,
0.030030999332666397,
0.020661739632487297,
-0.02935221791267395,
0.022399835288524628,
-0.02293463423848152,
-0.0611727349460125,
-0.03869062289595604,
-0.07125163078308105,
-0.017206117510795593,
0.035317279398441315,
0.05960947647690773,
-0.018717952072620392,
-0.011241056025028229,
-0.06084362789988518,
-0.0018473693635314703,
0.014367571100592613,
-0.0603499673306942,
-0.009276699274778366,
0.07738124579191208,
-0.015128630213439465,
0.006792970933020115,
0.010089182294905186,
0.0322524718940258,
-0.03414483740925789,
0.03552297130227089,
0.004761764779686928,
-0.0009448966011404991,
0.020137226209044456,
0.03406256064772606,
0.005990772973746061,
-0.03916371613740921,
-0.01593082770705223,
0.009868063032627106,
-0.05771711468696594,
-0.01722668670117855,
-0.030689213424921036,
0.03893745318055153,
-0.030606936663389206,
-0.03957509994506836,
-0.04533446952700615,
0.01604395918548107,
0.0394105464220047,
-0.04516991600394249,
-0.018234577029943466,
0.017247255891561508,
0.012094676494598389,
0.016527334228157997,
-0.013493380509316921,
0.05710003897547722,
-0.017843762412667274,
0.005605101119726896,
-0.08425135165452957,
0.010839956812560558,
0.005558820441365242,
-0.03737419843673706,
0.004975169897079468,
0.029722461476922035,
0.01703128032386303,
0.00441723084077239,
-0.0023525997530668974,
-0.01183756161481142,
-0.014737816527485847,
0.024436183273792267,
0.05853988230228424,
-0.06812512129545212,
-0.009765217080712318,
-0.0017959463875740767,
-0.0014989788178354502,
0.00850021280348301,
0.004206397105008364,
-0.07273261249065399,
0.026554808020591736,
-0.04969513416290283,
-0.04200226068496704,
0.018316853791475296,
-0.040912095457315445,
-0.022584958001971245,
-0.042866166681051254,
0.022153005003929138,
-0.0007115650223568082,
-0.07734011113643646,
0.023819107562303543,
0.028899695724248886,
0.019283603876829147,
-0.056236132979393005,
0.05730573087930679,
-0.05084700882434845,
-0.030277829617261887,
-0.04800846055150032,
0.07980841398239136,
-0.04866667464375496,
0.017545508220791817,
0.017452947795391083,
0.022564388811588287,
0.030956612899899483,
0.019407019019126892,
-0.06351762264966965,
0.03478248044848442,
0.04665089771151543,
-0.029804738238453865,
0.038484930992126465,
0.061584118753671646,
-0.025834888219833374,
-0.001784376217983663,
0.028570588678121567,
-0.025649765506386757,
0.03869062289595604,
0.0025634337216615677,
-0.009235560894012451,
0.030051568523049355,
-0.028015220537781715,
0.023387154564261436,
-0.01004804391413927,
0.006124472711235285,
-0.01714440993964672,
0.007847141474485397,
0.00908129196614027,
-0.043195273727178574,
-0.02207072824239731,
0.016002820804715157,
-0.011354186572134495,
-0.034823618829250336,
0.026287410408258438,
0.022996341809630394,
-0.0010933803860098124,
0.06528656929731369,
0.031429704278707504,
-0.02028120867908001,
0.015396029688417912,
-0.019448157399892807,
-0.059156958013772964,
0.0008619771106168628,
0.023140326142311096,
0.02157706767320633,
0.018666530027985573,
0.06919471174478531,
0.013040859252214432,
-0.015118345618247986,
-0.022440973669290543,
-0.05352099984884262,
-0.0011679437011480331,
-0.02976359985768795,
-0.0060216267593204975,
-0.04142632335424423,
0.0023178893607109785,
0.04874895140528679,
-0.03145027160644531,
0.0352761410176754,
-0.04335982725024223,
-0.059568338096141815,
0.0012290084268897772,
0.05068245530128479,
0.00890131201595068,
0.02359284646809101,
-0.013616795651614666,
-0.022584958001971245,
0.04722683131694794,
0.029228802770376205,
-0.012670613825321198,
0.013935618102550507,
-0.05278051272034645,
-0.04698000103235245,
-0.029228802770376205,
-0.023304879665374756,
-0.0018113732803612947,
-0.06569795310497284,
0.010053185746073723,
0.03350719064474106,
0.03918428346514702,
0.002119910903275013,
0.010109751485288143,
0.024374475702643394,
0.05171091482043266,
0.0388551764190197,
0.002454160014167428,
-0.05845760554075241,
0.019602427259087563,
0.018121445551514626,
-0.005502255167812109,
0.000015276229532901198,
0.0030210979748517275,
-0.029455063864588737,
-0.02254381962120533,
0.018501976504921913,
0.024785859510302544,
-0.0010901663918048143,
-0.0006177181494422257,
0.13855397701263428,
0.05306847766041756,
-0.03408312797546387,
0.005646239500492811
] |
5,604 | flask.blueprints | __init__ | null | def __init__(
self,
name: str,
import_name: str,
static_folder: str | os.PathLike[str] | None = None,
static_url_path: str | None = None,
template_folder: str | os.PathLike[str] | None = None,
url_prefix: str | None = None,
subdomain: str | None = None,
url_defaults: dict[str, t.Any] | None = None,
root_path: str | None = None,
cli_group: str | None = _sentinel, # type: ignore
) -> None:
super().__init__(
name,
import_name,
static_folder,
static_url_path,
template_folder,
url_prefix,
subdomain,
url_defaults,
root_path,
cli_group,
)
#: The Click command group for registering CLI commands for this
#: object. The commands are available from the ``flask`` command
#: once the application has been discovered and blueprints have
#: been registered.
self.cli = AppGroup()
# Set the name of the Click group in case someone wants to add
# the app's commands to another CLI tool.
self.cli.name = self.name
| (self, name: str, import_name: str, static_folder: Union[str, os.PathLike[str], NoneType] = None, static_url_path: Optional[str] = None, template_folder: Union[str, os.PathLike[str], NoneType] = None, url_prefix: Optional[str] = None, subdomain: Optional[str] = None, url_defaults: Optional[dict[str, Any]] = None, root_path: Optional[str] = None, cli_group: str | None = <object object at 0x7f459ae22350>) -> NoneType | [
-0.002696962794288993,
-0.057683490216732025,
-0.007066783495247364,
-0.030435826629400253,
0.02780373953282833,
-0.027303270995616913,
0.026469159871339798,
0.06784112006425858,
-0.04559813067317009,
0.025987228378653526,
0.02066744677722454,
0.019851868972182274,
-0.007062149699777365,
0.0030908489134162664,
-0.03531074896454811,
0.02166838012635708,
0.0854872316122055,
0.019907476380467415,
0.03336448594927788,
-0.04578348994255066,
0.03710872307419777,
0.02085280418395996,
0.027210593223571777,
0.003911059349775314,
0.015801791101694107,
0.04504205659031868,
-0.0372384749352932,
0.01626518741250038,
0.020148443058133125,
-0.033494237810373306,
0.030120717361569405,
-0.022428350523114204,
0.03082507848739624,
0.045375701040029526,
0.039407167583703995,
-0.07084392756223679,
-0.024393146857619286,
0.003716433187946677,
-0.04022274166345596,
-0.022928817197680473,
0.08259563893079758,
0.021501557901501656,
0.04040810093283653,
-0.05857320874929428,
0.06784112006425858,
0.025004830211400986,
0.024578506126999855,
0.021334735676646233,
-0.08133520185947418,
-0.01254875399172306,
-0.014013084582984447,
0.024133644998073578,
-0.005570015870034695,
0.026728661730885506,
-0.02995389513671398,
0.06165015697479248,
0.03918473795056343,
0.07084392756223679,
-0.05760934576392174,
0.016598831862211227,
-0.034921497106552124,
0.03560732305049896,
-0.00025052326964214444,
0.003102433867752552,
0.04878629371523857,
0.04400405287742615,
-0.07329065352678299,
0.009518146514892578,
-0.02628380060195923,
0.0063531543128192425,
0.006584852002561092,
0.036700934171676636,
-0.01920311525464058,
-0.03360545262694359,
0.03458785265684128,
-0.020834269002079964,
0.022539565339684486,
-0.08237320929765701,
0.023151246830821037,
-0.011927803978323936,
0.026357945054769516,
-0.042298756539821625,
-0.052752960473299026,
-0.0013739680871367455,
0.061613086611032486,
-0.02374439314007759,
-0.016571028158068657,
-0.04055638611316681,
0.012196573428809643,
0.03482881560921669,
-0.08178006857633591,
0.013271651230752468,
-0.027117913588881493,
0.03634875640273094,
-0.01128831785172224,
-0.06554268300533295,
0.026487695053219795,
-0.007437500171363354,
0.027099378407001495,
0.023966822773218155,
-0.008971340022981167,
-0.04708099737763405,
-0.02485654316842556,
-0.010676635429263115,
-0.0046872468665242195,
-0.009416199289262295,
0.001236107898876071,
0.02671012468636036,
-0.05156666785478592,
-0.007951869629323483,
-0.03088068589568138,
0.03640436381101608,
-0.004430062603205442,
0.010176168754696846,
-0.05772056430578232,
0.005620989482849836,
-0.028007633984088898,
-0.006631191819906235,
0.10439377278089523,
-0.0541616827249527,
-0.05590405315160751,
0.059462931007146835,
0.006334618665277958,
0.02806324139237404,
0.0781470462679863,
0.038739874958992004,
-0.03063972108066082,
-0.022317133843898773,
0.030065109953284264,
0.0054912385530769825,
0.06754454970359802,
0.01822071708738804,
-0.05149252340197563,
-0.01338286604732275,
0.03733115270733833,
-0.0006539670866914093,
0.0372384749352932,
0.04544984549283981,
-0.0664324015378952,
0.11662741750478745,
-0.05219688639044762,
-0.01417990680783987,
0.0002721001219470054,
0.027896419167518616,
-0.02687694877386093,
-0.022724922746419907,
-0.00036115897819399834,
-0.05249346047639847,
-0.035774145275354385,
0.020889876410365105,
0.011241978965699673,
-0.005505140405148268,
-0.013484813272953033,
-0.007034345995634794,
0.00920303724706173,
0.030102182179689407,
-0.009610826149582863,
-0.02517165243625641,
0.044708412140607834,
-0.0393700934946537,
-0.03247476741671562,
0.007650662213563919,
0.006682165432721376,
-0.028322743251919746,
-0.028508100658655167,
0.03512538969516754,
0.0461542084813118,
-0.015523754060268402,
0.0008816102053970098,
0.05494019016623497,
-0.002206921810284257,
-0.01205755490809679,
0.0008393253665417433,
0.00690459506586194,
-0.026042835786938667,
0.018934346735477448,
-0.006292913109064102,
0.015023287385702133,
0.019666511565446854,
-0.030194859951734543,
0.018239252269268036,
-0.047414641827344894,
-0.02350342832505703,
0.020352337509393692,
0.03740529716014862,
0.012363395653665066,
-0.012011215090751648,
0.09097383171319962,
0.016700780019164085,
0.054421186447143555,
-0.03329034522175789,
-0.001326470053754747,
0.04748878628015518,
-0.0009238951024599373,
-0.013178972527384758,
-0.021742524579167366,
-0.049194082617759705,
-0.05901807174086571,
-0.010528349317610264,
-0.03992617130279541,
-0.013104829005897045,
0.011890732683241367,
0.029249534010887146,
-0.022632243111729622,
0.06620997190475464,
0.025023365393280983,
0.0029935359489172697,
0.013494081795215607,
-0.01073224376887083,
-0.013892601244151592,
-0.04044517129659653,
-0.005366121884435415,
0.000512921076733619,
0.009240109473466873,
0.004976869095116854,
-0.05019501596689224,
0.025635046884417534,
0.013586760498583317,
0.020685981959104538,
0.031900156289339066,
0.06750747561454773,
0.07492180913686752,
0.008466238155961037,
0.0179890189319849,
-0.04908286780118942,
0.0335313081741333,
0.04763707146048546,
0.004430062603205442,
0.007326285354793072,
0.017340265214443207,
-0.05026916041970253,
-0.08570966124534607,
0.033679597079753876,
-0.0009042007732205093,
-0.07303115725517273,
-0.041742678731679916,
0.038295015692710876,
0.038109660148620605,
-0.005426363088190556,
-0.029583178460597992,
0.04834143444895744,
0.06824891269207001,
0.01501401886343956,
-0.03039875440299511,
0.015208645723760128,
0.0010727609042078257,
-0.07128878682851791,
-0.04326261952519417,
0.014698910526931286,
-0.05438411235809326,
0.013077025301754475,
0.008781347423791885,
-0.027840811759233475,
0.0179890189319849,
-0.055644549429416656,
0.01042640209197998,
-0.047043927013874054,
-0.048934582620859146,
-0.035848286002874374,
0.03438395634293556,
0.02313271164894104,
-0.02116791345179081,
0.004110319539904594,
0.04166853800415993,
0.012975078076124191,
-0.012669237330555916,
-0.008813785389065742,
-0.05267881602048874,
0.003783625550568104,
-0.007094587665051222,
0.09431028366088867,
0.07807289808988571,
0.03729408234357834,
0.008266978897154331,
-0.058610282838344574,
-0.06098286807537079,
-0.03770187124609947,
-0.011937071569263935,
-0.004884190391749144,
-0.03644143417477608,
0.06109408289194107,
-0.04011152684688568,
0.012817523442208767,
0.017488552257418633,
0.05127009376883507,
-0.029249534010887146,
-0.0017829147400334477,
0.013039954006671906,
-0.05557040497660637,
-0.016107633709907532,
0.05568162351846695,
0.03471760079264641,
0.024448754265904427,
-0.02042648009955883,
-0.04456012696027756,
-0.001050749677233398,
-0.03112165257334709,
0.026914019137620926,
0.008002842776477337,
-0.009133527986705303,
0.021816667169332504,
-0.04144610837101936,
-0.01027811598032713,
0.022984424605965614,
-0.01994454860687256,
0.015607165172696114,
0.02915685437619686,
0.005588551517575979,
0.02609844319522381,
0.02289174497127533,
0.07203022390604019,
0.0018026090692728758,
0.017395872622728348,
0.014263317920267582,
-0.04485670104622841,
0.030139252543449402,
0.03114018775522709,
-0.044708412140607834,
-0.01840607449412346,
0.026487695053219795,
0.001495609525591135,
-0.0004862758214585483,
-0.02787788212299347,
0.005834151059389114,
0.06865669786930084,
0.03329034522175789,
0.05401339754462242,
0.0023749028332531452,
-0.009059385396540165,
0.08037134259939194,
-0.018980685621500015,
0.07028785347938538,
-0.03186308592557907,
-0.02628380060195923,
-0.004592251032590866,
-0.014393068850040436,
-0.036941900849342346,
-0.060945797711610794,
-0.05012087523937225,
-0.07558909803628922,
0.023392213508486748,
0.013178972527384758,
-0.038369160145521164,
-0.0025741627905517817,
-0.04333676025271416,
-0.05012087523937225,
0.05241931602358818,
-0.03395763412117958,
0.012465342879295349,
-0.021501557901501656,
0.03371666744351387,
0.030417291447520256,
-0.010166900232434273,
-0.002527823206037283,
0.04329968988895416,
-0.058980997651815414,
-0.04422648251056671,
-0.029490498825907707,
0.03386495262384415,
-0.05575576424598694,
0.003317912807688117,
-0.02381853573024273,
-0.03008364513516426,
0.0009186819079332054,
-0.02424485981464386,
-0.05301246419548988,
0.005157593637704849,
-0.01279898826032877,
-0.014708178117871284,
0.015375467948615551,
0.05512554571032524,
-0.03605218231678009,
0.027785202488303185,
-0.051158878952264786,
0.03280841186642647,
-0.012975078076124191,
0.008897196501493454,
-0.06176137179136276,
-0.06858255714178085,
-0.023540498688817024,
-0.04111246392130852,
0.0812610611319542,
0.031603582203388214,
0.03316059336066246,
0.010528349317610264,
-0.051344238221645355,
0.009527415037155151,
0.010185436345636845,
-0.013188240118324757,
-0.015894470736384392,
0.04819314926862717,
-0.020834269002079964,
0.04774828627705574,
0.019703583791851997,
0.03644143417477608,
-0.08741495758295059,
-0.04392990842461586,
0.022595172747969627,
0.05531090497970581,
0.04474548250436783,
0.049861371517181396,
-0.01609836518764496,
0.06231744587421417,
-0.015987150371074677,
0.05193738639354706,
-0.015254984609782696,
0.011807321570813656,
-0.03482881560921669,
-0.019981620833277702,
0.033197663724422455,
0.00495369965210557,
0.0005436210194602609,
-0.0781470462679863,
-0.040815889835357666,
0.014773053117096424,
0.003028290579095483,
0.008887928910553455,
0.03796137124300003,
0.006112188566476107,
-0.035903893411159515,
-0.02209470421075821,
0.02037087269127369,
0.0781470462679863,
-0.00375350471585989,
0.035218071192502975,
0.04626542329788208,
-0.004603835754096508,
-0.0061863320879638195,
0.012697041034698486,
-0.023762928321957588,
-0.03888816386461258,
0.018748987466096878,
-0.05316074937582016,
0.008665498346090317,
0.020593302324414253,
0.003473150311037898,
0.021334735676646233,
-0.043410904705524445,
0.0029541472904384136,
-0.010380062274634838,
-0.022724922746419907,
-0.057868849486112595,
0.07514423877000809,
0.030991900712251663,
-0.03690483048558235,
0.012585826218128204,
-0.049750156700611115,
0.05742399021983147,
0.0676557645201683,
-0.049750156700611115,
0.009675701148808002,
0.017710981890559196,
0.02135327085852623,
-0.009888863191008568,
-0.043670404702425,
-0.048600934445858,
0.005264174658805132,
-0.010083489120006561,
-0.011102959513664246,
0.01531986054033041,
-0.017525624483823776,
-0.017859268933534622,
0.008266978897154331,
-0.023948287591338158,
-0.018322663381695747,
0.004140440374612808,
0.08385607600212097,
0.011251246556639671,
-0.015746183693408966,
-0.04671028256416321,
-0.006279011256992817,
-0.008614525198936462,
0.011909267865121365,
0.054421186447143555,
0.02706230618059635,
0.059648290276527405,
0.04148317873477936,
-0.03788722679018974,
-0.07162243127822876,
-0.00452274177223444,
0.0009047799976542592,
0.014040888287127018,
-0.0424470417201519,
0.03888816386461258,
-0.046042993664741516,
-0.03636728972196579,
0.009091822430491447,
-0.002852200297638774,
0.0258389413356781,
0.00495369965210557,
-0.005991705693304539,
0.06876791268587112,
-0.020389407873153687,
-0.03351277485489845,
-0.006867523770779371,
0.04793364554643631,
0.021130841225385666,
0.062169160693883896,
0.01498621515929699,
-0.015078894793987274,
-0.011640498414635658,
-0.01782219670712948,
-0.027525702491402626,
0.03840623050928116,
-0.00770626962184906,
-0.0009684968972578645,
-0.051714956760406494,
-0.022354206070303917,
0.0038716706912964582,
-0.04433769732713699,
-0.024133644998073578,
-0.003063045209273696,
0.008962071500718594,
0.029268069192767143,
0.0455239899456501,
-0.008415265008807182,
-0.06391152739524841,
0.0021200350020080805,
0.01591300591826439,
0.008137227967381477,
0.010602492839097977,
-0.016459813341498375,
0.014717445708811283,
-0.011492212302982807,
-0.039777882397174835,
-0.02455996908247471,
0.08652523905038834,
0.029212461784482002,
0.03379081189632416,
0.09705358743667603,
0.005120521876960993,
0.0510847382247448,
0.0023494160268455744,
-0.0035843653604388237,
0.010908333584666252,
0.0959414392709732,
-0.08845296502113342,
0.03531074896454811,
-0.02122352086007595,
-0.01073224376887083,
0.008053816854953766,
0.02650623209774494,
0.007826752960681915,
-0.04114953428506851,
-0.001025842153467238,
-0.05668255686759949,
-0.035477571189403534,
0.02633940801024437,
0.039963241666555405,
-0.005829517263919115,
0.032511837780475616,
0.0077896807342767715,
-0.022298598662018776,
0.026376480236649513,
-0.043670404702425,
0.017951946705579758,
0.0031140188220888376,
0.02281760238111019,
-0.00604731310158968,
0.025134580209851265,
-0.02313271164894104,
-0.005245639011263847,
-0.02257663570344448,
-0.010685903951525688,
-0.019369937479496002,
0.018897274509072304,
-0.015579361468553543,
-0.04541277512907982,
-0.012734112329781055,
-0.004856386221945286,
-0.05772056430578232,
-0.05924050137400627,
0.04392990842461586,
0.04222461208701134,
-0.03364252299070358,
0.07481059432029724,
0.04748878628015518,
0.04129781946539879,
0.024078037589788437,
-0.009990810416638851,
0.01411503180861473,
0.005797079764306545,
-0.03914766386151314,
-0.0043118963949382305,
-0.09764673560857773,
-0.04533863067626953,
0.04856386408209801,
-0.006909229326993227,
-0.019740654155611992,
-0.03531074896454811,
-0.034124456346035004,
0.02135327085852623,
0.007817484438419342,
0.020148443058133125,
-0.009583022445440292,
-0.02257663570344448,
-0.017099300399422646,
-0.025301402434706688,
0.04785950481891632,
-0.016033489257097244,
-0.03145529702305794,
0.03981495276093483,
0.00028629161533899605,
0.015023287385702133,
0.008836954832077026,
0.030250467360019684,
-0.02289174497127533,
-0.04381869360804558,
-0.03888816386461258,
-0.013447741977870464,
0.0010414817370474339,
-0.06965763121843338,
-0.036144860088825226,
0.04578348994255066,
-0.01676565408706665,
-0.03653411194682121,
-0.043596263974905014,
-0.00229149148799479,
0.04585763439536095,
-0.05127009376883507,
0.012530218809843063,
0.007863824255764484,
-0.002327404683455825,
0.021390343084931374,
-0.04177975282073021,
0.024967757984995842,
0.02480093576014042,
0.02122352086007595,
-0.02978707291185856,
0.026432087644934654,
0.03514392673969269,
-0.04374454915523529,
-0.021872274577617645,
-0.004506522789597511,
0.03870280459523201,
-0.02265078015625477,
0.0027641551569104195,
-0.0009696554043330252,
0.04281775653362274,
0.014402336440980434,
0.032270874828100204,
-0.036144860088825226,
0.008063084445893764,
0.04289190098643303,
0.0013739680871367455,
-0.004427745472639799,
-0.025746261700987816,
-0.039777882397174835,
0.03169626370072365,
-0.027896419167518616,
-0.02541261725127697,
0.060019005089998245,
-0.061983801424503326,
-0.0016021904302760959,
-0.06372617185115814,
0.02899003215134144,
-0.02055623196065426,
-0.05801713466644287,
-0.008174299262464046,
0.01294727437198162,
-0.04474548250436783,
-0.004448598250746727,
0.03803551569581032,
-0.03371666744351387,
-0.00833185389637947,
-0.028137383982539177,
0.07733146846294403,
-0.08296635746955872,
0.015505218878388405,
0.006700701080262661,
0.01541253924369812,
0.02313271164894104,
-0.010092757642269135,
-0.003637655870988965,
0.02257663570344448,
0.026172585785388947,
-0.0353848934173584,
-0.0190733652561903,
0.0455239899456501,
-0.04215046763420105,
-0.03851744532585144,
-0.0016693827928975224,
-0.01883239857852459,
-0.014569159597158432,
-0.02129766345024109,
-0.02300295978784561,
0.005495872348546982,
-0.0069833723828196526,
0.025431154295802116,
-0.00518539734184742,
0.005064914468675852,
0.06346666812896729,
-0.0068443538621068,
-0.0021084502805024385,
-0.037071652710437775,
-0.00770626962184906,
-0.001771329902112484,
-0.10409720242023468,
-0.010667367838323116,
0.021130841225385666,
0.011214175261557102,
-0.018026091158390045,
0.001035689259879291,
0.04189096763730049,
-0.05664548650383949,
0.018257789313793182,
-0.029008567333221436,
-0.03278987482190132,
0.015588629990816116,
0.011510748416185379,
0.05519969016313553,
0.025153115391731262,
0.0621320903301239,
0.009861059486865997,
-0.01820218190550804,
-0.031103115528821945,
0.0047405376099050045,
0.017330996692180634,
-0.0405934602022171,
-0.04926822707056999,
0.015078894793987274,
0.008053816854953766,
0.011455141007900238,
-0.021501557901501656,
0.08415265381336212,
-0.055644549429416656,
-0.06976884603500366,
-0.013531153090298176,
0.045375701040029526,
-0.012743380852043629,
-0.032956697046756744,
-0.0132253123447299,
0.008044548332691193,
0.04960187152028084,
0.06465296447277069,
-0.0024536799173802137,
0.009833255782723427,
-0.07458816468715668,
-0.04852679371833801,
-0.024448754265904427,
0.012159502133727074,
-0.03581121563911438,
-0.03253037482500076,
-0.00027050721109844744,
-0.019666511565446854,
0.045561060309410095,
0.024967757984995842,
-0.01833193190395832,
0.049564797431230545,
0.0224468857049942,
-0.023169782012701035,
0.01686760224401951,
-0.024356074631214142,
0.003301694057881832,
-0.028137383982539177,
-0.0164505448192358,
0.00744676822796464,
0.04533863067626953,
0.010472741909325123,
-0.004348968155682087,
-0.010621028020977974,
-0.04300311580300331,
-0.005528310313820839,
-0.027544237673282623,
0.12826791405677795,
0.0541246123611927,
0.00965716503560543,
-0.002627453301101923
] |
5,605 | flask.sansio.scaffold | __repr__ | null | def __repr__(self) -> str:
return f"<{type(self).__name__} {self.name!r}>"
| (self) -> str | [
0.026571054011583328,
-0.041609592735767365,
0.05324888974428177,
0.010696050710976124,
0.01106089074164629,
-0.07157988846302032,
0.00008696936856722459,
0.002867555944249034,
0.043389301747083664,
-0.035736553370952606,
-0.022014999762177467,
0.006909719668328762,
-0.007950849831104279,
0.06449665129184723,
-0.0068429806269705296,
0.03157203644514084,
-0.007158879190683365,
-0.06923067569732666,
-0.014682598412036896,
0.023154012858867645,
0.0019454442663118243,
0.05239462852478027,
0.04709109663963318,
-0.04128924757242203,
0.004943141248077154,
0.061435550451278687,
-0.021819230169057846,
0.0144957285374403,
-0.029311805963516235,
-0.014059700071811676,
-0.0758155956864357,
-0.057591378688812256,
0.012164310552179813,
-0.033476322889328,
-0.010580369271337986,
0.013223237358033657,
-0.06317966431379318,
0.02489812672138214,
-0.04146721586585045,
-0.021801434457302094,
0.06342882663011551,
0.010402398183941841,
-0.04132483899593353,
-0.04399440437555313,
-0.030575398355722427,
-0.01288509275764227,
0.0651017501950264,
0.0066472128964960575,
-0.02005731873214245,
-0.053320080041885376,
0.03397464379668236,
0.059371087700128555,
-0.029116038233041763,
0.012733817100524902,
-0.04406559094786644,
0.007523719221353531,
0.02988131158053875,
-0.007359096314758062,
-0.0071321832947432995,
0.04079092666506767,
-0.05659474432468414,
0.028154995292425156,
0.049297936260700226,
-0.02792363241314888,
-0.028030414134263992,
-0.02434641681611538,
-0.02883128449320793,
0.007439183071255684,
-0.009468051604926586,
0.011078687384724617,
0.033761076629161835,
-0.007768429350107908,
-0.02523627132177353,
0.04039939120411873,
-0.007545965723693371,
-0.027977023273706436,
-0.030130472034215927,
0.008097675628960133,
0.035095859318971634,
-0.05388958379626274,
0.013036367483437061,
0.004760721232742071,
-0.04605886712670326,
-0.021481085568666458,
-0.0017986182356253266,
-0.06620517373085022,
-0.040719740092754364,
-0.042143505066633224,
-0.055348947644233704,
0.007149980403482914,
-0.033689890056848526,
0.026909198611974716,
-0.030806761234998703,
0.035647567361593246,
-0.04427915811538696,
-0.046521589159965515,
0.004800764843821526,
-0.05869479849934578,
0.04755382239818573,
0.008075429126620293,
0.028226183727383614,
0.01753903180360794,
-0.04798095300793648,
0.0018909407081082463,
-0.05435230955481529,
-0.01624874211847782,
-0.035006873309612274,
0.013819439336657524,
-0.01391732320189476,
-0.013801642693579197,
-0.01685384288430214,
0.05057932808995247,
0.003966526128351688,
0.017601320520043373,
0.04556054621934891,
-0.029738934710621834,
-0.01615975610911846,
0.013098657131195068,
0.06834082305431366,
-0.025182880461215973,
0.024150649085640907,
0.011808368377387524,
-0.03950953856110573,
0.003926482517272234,
-0.03468652442097664,
0.03801458328962326,
-0.03128728270530701,
-0.02194381132721901,
0.001486056949943304,
-0.07001374661922455,
0.03593232110142708,
0.012466860935091972,
-0.06374917179346085,
0.0090364720672369,
0.08756167441606522,
0.031625427305698395,
0.0209827683866024,
0.035718757659196854,
0.016417814418673515,
0.13241034746170044,
0.010073152370750904,
-0.03326275944709778,
0.023438766598701477,
0.034775510430336,
-0.03397464379668236,
-0.009726108983159065,
0.007319052703678608,
0.08877187967300415,
-0.008551500737667084,
-0.03523823618888855,
0.009975268505513668,
0.03683997318148613,
0.046699561178684235,
0.011843962594866753,
0.012048629112541676,
0.03712472692131996,
-0.015332192182540894,
-0.014780482277274132,
0.014905061572790146,
-0.036982350051403046,
-0.04168078303337097,
-0.030913542956113815,
0.020929375663399696,
-0.03461533784866333,
0.025645604357123375,
0.020573435351252556,
0.0231896061450243,
-0.049369122833013535,
0.0191674642264843,
0.020395463332533836,
-0.02294044755399227,
-0.07731055468320847,
-0.05043695122003555,
0.05542013421654701,
-0.010615963488817215,
0.05342686176300049,
-0.004460395313799381,
0.10920293629169464,
-0.020039521157741547,
-0.036092497408390045,
0.05627439543604851,
-0.05602523684501648,
-0.041787564754486084,
-0.020929375663399696,
0.06770012527704239,
-0.05905074253678322,
0.03105591982603073,
0.008956384845077991,
0.0534980483353138,
-0.011185470037162304,
-0.007488125003874302,
0.009076515212655067,
-0.029827920719981194,
0.0038552943151444197,
-0.004725127015262842,
-0.04111127555370331,
-0.010571470484137535,
-0.053035326302051544,
0.024470997974276543,
-0.008128819987177849,
-0.01517201866954565,
0.06980018317699432,
-0.02052004262804985,
0.010865123011171818,
0.024737954139709473,
-0.0010561459930613637,
0.02738972008228302,
-0.03196357190608978,
0.027247343212366104,
-0.03016606532037258,
0.006398053374141455,
0.00870277639478445,
0.004188989754766226,
0.015403380617499352,
0.021908216178417206,
-0.041929941624403,
-0.03705354034900665,
-0.03452635183930397,
-0.03587893024086952,
0.03397464379668236,
0.06819844245910645,
0.002220186870545149,
-0.006673908326774836,
-0.042962171137332916,
-0.06271693855524063,
-0.023171810433268547,
0.0005083293654024601,
-0.02256670780479908,
-0.0031144905369728804,
-0.016124162822961807,
0.02909824065864086,
-0.048052139580249786,
-0.0070342994295060635,
0.008636037819087505,
-0.0012268867576494813,
0.05146918073296547,
-0.04182315990328789,
-0.0027162807527929544,
-0.04118246212601662,
-0.007443632464855909,
-0.018153030425310135,
0.022281955927610397,
0.012680426239967346,
-0.010998601093888283,
0.06584922969341278,
-0.05154037103056908,
0.009432457387447357,
0.05755578354001045,
-0.026873603463172913,
-0.020644623786211014,
0.013481294736266136,
-0.028884675353765488,
-0.04118246212601662,
-0.01787717640399933,
0.015412279404699802,
-0.08065640926361084,
-0.040826521813869476,
-0.011505817994475365,
0.039758697152137756,
0.051682744175195694,
-0.006171140354126692,
-0.002602824242785573,
0.010464687831699848,
0.03847730532288551,
0.025930358096957207,
0.0029231717344373465,
-0.06702383607625961,
0.001722980639897287,
0.002018857281655073,
-0.00870277639478445,
0.1533397138118744,
-0.00016406690701842308,
-0.05203868821263313,
0.044207967817783356,
-0.048230111598968506,
-0.0517183393239975,
-0.016044076532125473,
0.01865134947001934,
-0.06634754687547684,
-0.06122198700904846,
0.012315585277974606,
-0.03548739477992058,
0.006273473612964153,
0.01342790387570858,
0.005775155499577522,
-0.02032427489757538,
0.004329141695052385,
-0.008088776841759682,
0.019559001550078392,
0.017725899815559387,
0.06883914023637772,
0.013944019563496113,
-0.018953898921608925,
0.016417814418673515,
0.05876598879694939,
-0.034561946988105774,
0.03235510736703873,
0.018108537420630455,
-0.012644832022488117,
-0.003285787533968687,
0.005009880289435387,
-0.006891922559589148,
0.08243611454963684,
0.029027052223682404,
-0.0490487776696682,
-0.03441957011818886,
-0.013828338123857975,
0.02418624423444271,
0.004831909667700529,
-0.0008431370952166617,
-0.010135442018508911,
0.04289098456501961,
0.026179518550634384,
0.06446105241775513,
0.041253652423620224,
0.058125291019678116,
-0.010571470484137535,
-0.01725427806377411,
0.03201696276664734,
0.06303729116916656,
-0.03514925017952919,
0.014237671159207821,
-0.03506026417016983,
0.024595577269792557,
0.021445492282509804,
-0.026624444872140884,
-0.04039939120411873,
0.0410400852560997,
0.0196301881223917,
0.024043867364525795,
-0.014647004194557667,
-0.05965584143996239,
0.025574415922164917,
0.025111692026257515,
-0.008320138789713383,
0.009298979304730892,
0.04050617292523384,
0.008925240486860275,
-0.04324692487716675,
-0.056238800287246704,
0.0839310735464096,
0.034045830368995667,
-0.009886282496154308,
-0.006727299652993679,
-0.034757714718580246,
0.04363846033811569,
-0.003132287645712495,
0.030664384365081787,
0.06673908233642578,
0.015011844225227833,
-0.037694234400987625,
-0.04524020105600357,
0.011470223776996136,
-0.013899526558816433,
-0.028866877779364586,
-0.004553830251097679,
-0.0081377187743783,
0.05111324042081833,
-0.03320936858654022,
0.04495544731616974,
0.04164518788456917,
-0.01543007604777813,
-0.016622481867671013,
0.0196301881223917,
-0.0330313965678215,
-0.020644623786211014,
0.013098657131195068,
0.008684979751706123,
0.04556054621934891,
-0.003047751495614648,
-0.05011660233139992,
0.021801434457302094,
-0.03050420992076397,
-0.054993003606796265,
-0.06880354881286621,
0.04666396602988243,
0.030094876885414124,
0.028083806857466698,
-0.033939048647880554,
-0.0812259167432785,
0.047055501490831375,
0.004418127238750458,
0.020626826211810112,
0.02754989266395569,
-0.018242016434669495,
0.00034676515497267246,
0.01970137655735016,
0.020662419497966766,
0.020235290750861168,
0.009468051604926586,
-0.04556054621934891,
-0.024150649085640907,
0.005646126344799995,
0.006349111441522837,
-0.039118003100156784,
-0.06225421652197838,
0.00791525561362505,
-0.02934739924967289,
-0.07157988846302032,
0.012013034895062447,
0.020769203081727028,
-0.01333891786634922,
-0.0090364720672369,
-0.022335346788167953,
-0.010580369271337986,
0.028510935604572296,
0.03310258686542511,
-0.0008653834229335189,
-0.007541516330093145,
-0.03990107402205467,
0.017191987484693527,
-0.013614772818982601,
-0.08442939072847366,
-0.05876598879694939,
0.08855831623077393,
-0.009912978857755661,
-0.02151668071746826,
-0.007207821123301983,
0.025129489600658417,
-0.007470327895134687,
-0.05513538047671318,
0.06129317358136177,
0.01945221796631813,
0.0615779273211956,
-0.03797898814082146,
0.056167613714933395,
-0.018847117200493813,
0.06837641447782516,
0.057057466357946396,
0.030272848904132843,
-0.02970334142446518,
0.019398827105760574,
0.008395777083933353,
-0.008831805549561977,
0.03861968219280243,
-0.07688342034816742,
0.0032679904252290726,
-0.05221666023135185,
-0.032960209995508194,
0.05986940860748291,
0.005690619349479675,
-0.027443110942840576,
0.002458222908899188,
0.004117801319807768,
0.0001909015845740214,
-0.0068162851966917515,
-0.050543732941150665,
-0.007038748823106289,
0.03399243950843811,
-0.0005033239140175283,
0.032586470246315,
0.03854849562048912,
-0.003514925017952919,
-0.023225201293826103,
-0.0032946860883384943,
-0.055704887956380844,
-0.013045266270637512,
-0.05915752425789833,
-0.012733817100524902,
-0.014326656237244606,
-0.05413874611258507,
0.058303263038396835,
0.016355523839592934,
0.03401023522019386,
-0.01743224821984768,
-0.0209827683866024,
0.06645432859659195,
-0.00003486422065179795,
-0.06791368871927261,
-0.014629206620156765,
0.04844367504119873,
0.015047438442707062,
-0.023509955033659935,
-0.01618645153939724,
-0.03648403286933899,
0.06759334355592728,
-0.022904854267835617,
-0.012707121670246124,
-0.032960209995508194,
-0.03726710379123688,
-0.06446105241775513,
-0.06994255632162094,
-0.02479134500026703,
0.027692269533872604,
-0.005521547049283981,
0.031109310686588287,
0.013863932341337204,
0.04022141918540001,
0.003105591982603073,
0.021694650873541832,
-0.010179935023188591,
0.07026290893554688,
-0.07773768156766891,
0.01221770141273737,
0.007594907656311989,
0.03673319146037102,
-0.013748250901699066,
-0.00819111056625843,
-0.06616957485675812,
-0.012377874925732613,
0.012787207961082458,
-0.02685580775141716,
0.00876061711460352,
-0.01508303266018629,
0.02792363241314888,
-0.011087586171925068,
0.06104401499032974,
0.030023688450455666,
0.0011039756936952472,
-0.03602130711078644,
0.042677417397499084,
-0.05477944016456604,
0.044385939836502075,
-0.017975060269236565,
-0.015910597518086433,
-0.035985711961984634,
-0.0020878210198134184,
0.013855033554136753,
-0.028386356309056282,
0.019309841096401215,
0.026802415028214455,
-0.006994255818426609,
-0.060616884380578995,
-0.008462515659630299,
-0.042606230825185776,
0.046450402587652206,
0.014041903428733349,
0.03712472692131996,
-0.015901699662208557,
0.07752411812543869,
0.014193178154528141,
0.0116037018597126,
0.0095926309004426,
-0.006438096985220909,
-0.03196357190608978,
0.0901244580745697,
-0.09396862983703613,
0.03370768576860428,
-0.008195559494197369,
0.03249748423695564,
0.030664384365081787,
-0.023331983014941216,
-0.0010450228583067656,
-0.0374806709587574,
-0.020448854193091393,
-0.05132680386304855,
0.02507609874010086,
-0.005383619572967291,
0.02311841771006584,
-0.020662419497966766,
0.0365908145904541,
-0.04602327197790146,
-0.019025087356567383,
-0.025734590366482735,
-0.003804127685725689,
0.053213294595479965,
0.004943141248077154,
0.021730246022343636,
0.011407934129238129,
0.027371922507882118,
-0.011034195311367512,
0.050009820610284805,
0.060616884380578995,
-0.00819111056625843,
0.024115055799484253,
0.04467069357633591,
0.009717210195958614,
0.021445492282509804,
-0.01936323195695877,
-0.015332192182540894,
0.006366908550262451,
-0.00755931343883276,
0.08143948018550873,
0.011568107642233372,
-0.0374806709587574,
0.03363649919629097,
0.013347816653549671,
0.052679382264614105,
-0.013365613296627998,
-0.020573435351252556,
-0.0374806709587574,
0.0027007083408534527,
-0.03619927912950516,
-0.05111324042081833,
-0.03986547887325287,
-0.014157583937048912,
-0.05307091772556305,
-0.0009932999964803457,
0.004255728796124458,
-0.02845754474401474,
-0.03356530889868736,
-0.026980387046933174,
0.004938692320138216,
-0.016213148832321167,
0.05485062673687935,
-0.04449272155761719,
0.0012691549491137266,
-0.02552102506160736,
-0.00849366094917059,
0.03427719324827194,
0.036003511399030685,
0.020769203081727028,
0.014513526111841202,
0.04513341560959816,
0.048123329877853394,
-0.012395672500133514,
0.015590249560773373,
0.029507573693990707,
-0.03936716169118881,
0.03829933702945709,
-0.010687151923775673,
0.02327859215438366,
0.01605297438800335,
-0.037160322070121765,
-0.011754977516829967,
-0.044563911855220795,
-0.008297892287373543,
0.0005044362624175847,
-0.03550519049167633,
0.035736553370952606,
0.0039687505923211575,
0.0445995032787323,
-0.042962171137332916,
0.03386785835027695,
-0.010144340805709362,
-0.0069364155642688274,
0.0018041798612102866,
-0.02187262289226055,
0.04709109663963318,
-0.04221469536423683,
0.02801261842250824,
0.00874726939946413,
-0.008337936364114285,
-0.09532120823860168,
-0.054921817034482956,
-0.0036283815279603004,
0.003766309004276991,
0.0245243888348341,
-0.03819255158305168,
0.014246569946408272,
-0.0007802910986356437,
-0.03105591982603073,
-0.08250730484724045,
0.012021933682262897,
-0.04360286891460419,
-0.008253400214016438,
-0.011924049817025661,
-0.08321918547153473,
0.025930358096957207,
-0.0526437871158123,
-0.049013182520866394,
0.03086015209555626,
0.017058510333299637,
0.01365036703646183,
0.011123180389404297,
-0.0020066217985004187,
-0.021694650873541832,
0.021000564098358154,
-0.042606230825185776,
-0.0023069477174431086,
-0.02559221349656582,
-0.0526437871158123,
0.0024849185720086098,
-0.023972678929567337,
0.04182315990328789,
0.01811743713915348,
-0.026037141680717468,
0.009672718122601509,
-0.009023124352097511,
-0.04477747529745102,
-0.02221076749265194,
0.05154037103056908,
-0.011310050264000893,
-0.06481699645519257,
-0.07602916657924652,
0.006740647368133068,
0.008974182419478893,
0.024844735860824585,
0.04630802571773529,
-0.0329958014190197,
0.020288681611418724,
0.007577110547572374,
-0.06517294049263,
-0.05225225165486336,
0.04588089510798454,
0.05577607825398445,
-0.008814007975161076,
0.03226612135767937,
0.004974286537617445,
-0.06698824465274811,
-0.0374450758099556,
-0.03283562883734703,
0.0003473213000688702,
0.014824975281953812,
0.04833689332008362,
0.009307877160608768,
0.04502663388848305,
-0.06410511583089828,
0.020092913880944252,
-0.016996219754219055,
0.037516262382268906,
0.031269483268260956,
0.026998184621334076,
-0.009975268505513668,
0.04306895658373833,
0.021730246022343636,
0.04200112819671631,
0.021427694708108902,
0.029276210814714432,
0.0034281641710549593,
0.02178363688290119,
0.10379262268543243,
0.00871612410992384,
-0.027514299377799034,
-0.006260125897824764,
-0.030557600781321526,
0.021196333691477776,
0.042428258806467056,
-0.02356334589421749,
0.015839409083127975,
-0.009023124352097511,
0.027710067108273506,
0.06275253742933273,
-0.014139787293970585,
0.021338708698749542,
0.0874193012714386,
-0.049831848591566086,
-0.053213294595479965,
-0.048764023929834366,
-0.004222359508275986,
0.016346625983715057,
0.049013182520866394,
-0.042962171137332916,
0.011407934129238129,
0.042321477085351944,
-0.019220855087041855,
0.03908240795135498,
0.00494759064167738,
0.014406743459403515,
0.03523823618888855,
0.00419566361233592,
0.03150084614753723,
0.004478192422538996,
0.010135442018508911,
0.0187403354793787,
0.02069801464676857,
0.017574625089764595,
0.06563566625118256,
-0.02585916966199875,
0.03765863925218582,
0.04986744374036789,
0.034775510430336,
-0.044207967817783356,
0.011514716781675816,
0.04064854979515076,
-0.02952537126839161,
0.011977440677583218,
0.011274456046521664,
0.00840467493981123,
-0.027816850692033768,
-0.048835210502147675,
-0.013632570393383503,
0.03514925017952919,
0.02167685329914093,
-0.017174189910292625,
0.049013182520866394,
-0.017458943650126457,
-0.012698222883045673
] |
5,606 | flask.sansio.blueprints | _check_setup_finished | null | def _check_setup_finished(self, f_name: str) -> None:
if self._got_registered_once:
raise AssertionError(
f"The setup method '{f_name}' can no longer be called on the blueprint"
f" '{self.name}'. It has already been registered at least once, any"
" changes will not be applied consistently.\n"
"Make sure all imports, decorators, functions, etc. needed to set up"
" the blueprint are done before registering it."
)
| (self, f_name: str) -> NoneType | [
0.00597626157104969,
-0.02205555886030197,
-0.023179078474640846,
0.031320277601480484,
-0.01107099186629057,
-0.003409450640901923,
0.01419956237077713,
0.015867557376623154,
0.0045372918248176575,
0.01715528406202793,
0.01595398224890232,
-0.003402968868613243,
0.07287322729825974,
-0.0047101411037147045,
0.0080763790756464,
-0.035918064415454865,
0.049227453768253326,
0.07062618434429169,
-0.02845098078250885,
-0.025737248361110687,
-0.007207812275737524,
0.05258072912693024,
0.02544340305030346,
0.007073854096233845,
-0.00440117297694087,
0.00989561714231968,
0.01062158402055502,
0.035313092172145844,
0.055380888283252716,
0.04974600300192833,
-0.061430610716342926,
-0.0029751670081168413,
0.0375082790851593,
0.042866602540016174,
0.05821561440825462,
0.019082553684711456,
0.033878445625305176,
0.034829117357730865,
0.0015664459206163883,
-0.013335316441953182,
0.03514024615287781,
-0.015037881210446358,
0.01569470763206482,
-0.012108087539672852,
0.03524395450949669,
0.021813569590449333,
-0.03424143046140671,
0.08193052560091019,
-0.08379729837179184,
-0.0015361973783001304,
0.025132276117801666,
0.001217506593093276,
0.030611595138907433,
0.09375341236591339,
0.05849217250943184,
0.03024861216545105,
0.06827543675899506,
0.01880599372088909,
0.04041214659810066,
-0.020430777221918106,
0.0031653011683374643,
0.05835389345884323,
0.01745777018368244,
-0.02219383791089058,
0.026515068486332893,
-0.01522801537066698,
0.03154497966170311,
-0.01949739083647728,
0.016533026471734047,
0.07034962624311447,
0.017682474106550217,
0.03189067915081978,
-0.05116336792707443,
0.007855996489524841,
0.045079074800014496,
0.0027331782039254904,
0.019428251311182976,
-0.058976151049137115,
0.03830338642001152,
-0.041967786848545074,
0.004943487234413624,
0.00887580681592226,
-0.005302149336785078,
0.012306863442063332,
-0.004271536134183407,
0.020638195797801018,
0.03109557367861271,
-0.022332118824124336,
0.014890959486365318,
0.026117514818906784,
-0.03074987418949604,
-0.03398215398192406,
0.028520120307803154,
0.019860373809933662,
0.03244379535317421,
-0.06322824209928513,
-0.03854537382721901,
-0.029609069228172302,
-0.02345563843846321,
-0.013231607154011726,
-0.0202924981713295,
-0.04870890825986862,
0.012255009263753891,
0.045079074800014496,
0.06654694676399231,
0.0053972164168953896,
-0.013802009634673595,
-0.03246108070015907,
-0.05385981500148773,
-0.032720357179641724,
-0.015772489830851555,
-0.017613334581255913,
0.024319883435964584,
0.01685279794037342,
0.0017565800808370113,
-0.0920940563082695,
0.02145058661699295,
-0.00045399926602840424,
0.018010888248682022,
-0.03536494821310043,
0.05738593637943268,
0.015660138800740242,
0.0034072899725288153,
-0.046876706182956696,
0.08600977063179016,
0.013240249827504158,
0.0016636736690998077,
0.07162871211767197,
0.03145855665206909,
-0.0161527581512928,
0.034016724675893784,
0.042866602540016174,
-0.07183612883090973,
-0.03595263510942459,
-0.013568663038313389,
-0.008988158777356148,
0.024734722450375557,
-0.020741906017065048,
-0.037681128829717636,
-0.004325551446527243,
-0.02240125834941864,
0.0033187048975378275,
-0.008132555522024632,
0.005306470673531294,
0.041483812034130096,
0.07999461144208908,
-0.08393557369709015,
0.05520803853869438,
0.02184814028441906,
-0.003992816898971796,
0.016740446910262108,
-0.03816510736942291,
-0.033671025186777115,
-0.002888742368668318,
-0.07384118437767029,
-0.01405264064669609,
-0.0005433947080746293,
0.06388507038354874,
-0.011814243160188198,
-0.013292104005813599,
0.024682866409420967,
0.00243069208227098,
-0.03201167285442352,
-0.042071498930454254,
-0.021986419335007668,
0.024561872705817223,
-0.04089612141251564,
0.004705819766968489,
0.007359055336564779,
0.038026824593544006,
-0.04618531093001366,
0.03640204295516014,
0.034293282777071,
0.01875413954257965,
0.03183882310986519,
0.048674337565898895,
0.04279746487736702,
-0.042382627725601196,
0.031112857162952423,
-0.00819737371057272,
-0.0012207475956529379,
-0.09147179871797562,
-0.0023593916557729244,
-0.02480386197566986,
0.030663449317216873,
0.06799887865781784,
-0.02654963918030262,
0.006879398599267006,
0.017328133806586266,
0.02750030905008316,
0.03465626761317253,
0.020275212824344635,
0.012756271287798882,
0.019825804978609085,
0.03228823095560074,
-0.020033223554491997,
-0.02404332533478737,
0.03349817544221878,
0.053133849054574966,
-0.04680756479501724,
-0.001438969629816711,
0.0019024215871468186,
-0.011062349192798138,
0.02525326982140541,
0.03674774244427681,
0.04950401559472084,
0.0662703886628151,
-0.007125708740204573,
-0.0024414951913058758,
-0.02750030905008316,
0.044525954872369766,
-0.04065413400530815,
-0.029159661382436752,
0.011606824584305286,
-0.025512542575597763,
-0.08289848268032074,
0.09700297564268112,
-0.04303945228457451,
-0.0241470355540514,
0.037370000034570694,
0.018391156569123268,
0.05911443009972572,
0.0488126166164875,
-0.009161008521914482,
-0.0357106477022171,
0.015271227806806564,
-0.006598518695682287,
-0.010742578655481339,
0.01092407014220953,
-0.047982942312955856,
-0.038476232439279556,
0.022090129554271698,
-0.018460296094417572,
-0.015867557376623154,
-0.02914237603545189,
-0.0008939545368775725,
0.03204624354839325,
-0.02924608625471592,
-0.02340378239750862,
0.0028476908337324858,
0.0033554353285580873,
0.008288119919598103,
-0.007242382038384676,
0.0003640636568889022,
0.0333944670855999,
-0.024682866409420967,
-0.02169257588684559,
0.002211389597505331,
-0.035313092172145844,
-0.007696111220866442,
-0.05299556627869606,
0.027085471898317337,
0.02824356034398079,
-0.035468656569719315,
-0.023075370118021965,
-0.10232673585414886,
0.010725293308496475,
-0.013119255192577839,
0.05178562179207802,
0.02514955960214138,
0.0062830690294504166,
0.010768505744636059,
0.010414164513349533,
0.08324418216943741,
-0.0748782753944397,
-0.025616252794861794,
0.014372412115335464,
0.0006498050061054528,
-0.05410180240869522,
-0.007315842900425196,
0.05486233904957771,
-0.04480251669883728,
-0.03344632312655449,
-0.008335652761161327,
-0.016178686171770096,
-0.026860767975449562,
0.01495145633816719,
-0.02580638788640499,
-0.01047466229647398,
-0.0014335681917145848,
0.11746831983327866,
-0.06091206148266792,
0.0707644671201706,
0.06226028501987457,
-0.058768730610609055,
0.022090129554271698,
-0.027915148064494133,
0.02340378239750862,
-0.0021130815148353577,
-0.039375051856040955,
-0.027690444141626358,
-0.026515068486332893,
0.05430922284722328,
0.03985902667045593,
0.020983893424272537,
0.008093664422631264,
-0.02475200779736042,
0.020776474848389626,
0.011217913590371609,
-0.01044873520731926,
-0.021433301270008087,
-0.003623351687565446,
-0.10716651380062103,
0.02335192821919918,
0.017284920439124107,
-0.04850148782134056,
0.053721535950899124,
-0.005647847894579172,
-0.06060093268752098,
0.018615860491991043,
-0.01915169321000576,
0.050126269459724426,
-0.028278131037950516,
0.02380133606493473,
0.08635546267032623,
-0.029073236510157585,
-0.02105303294956684,
-0.007864639163017273,
-0.026031091809272766,
0.036782313138246536,
-0.03514024615287781,
0.044525954872369766,
-0.0035088390577584505,
0.00927336048334837,
0.02615208551287651,
-0.024216175079345703,
0.02544340305030346,
0.037024300545454025,
-0.03764655813574791,
-0.03225366398692131,
-0.08912105113267899,
-0.07072989642620087,
0.035434089601039886,
-0.0028563332743942738,
0.012263651937246323,
0.0006368412869051099,
0.011615467257797718,
-0.062122005969285965,
0.03574521839618683,
-0.024769291281700134,
-0.03149312734603882,
-0.006157753057777882,
-0.025823671370744705,
-0.018909703940153122,
-0.006032437551766634,
0.03985902667045593,
-0.00927336048334837,
0.025011280551552773,
0.10315641015768051,
-0.06585554778575897,
-0.016368819400668144,
-0.022211123257875443,
0.008201695047318935,
0.0306980200111866,
0.05140535533428192,
-0.015547786839306355,
-0.06291711330413818,
0.009800550527870655,
0.008417756296694279,
0.015470004640519619,
-0.010396880097687244,
-0.01044873520731926,
-0.020275212824344635,
0.0017900696257129312,
-0.0016409872332587838,
-0.04860519617795944,
-0.0649913027882576,
0.008780740201473236,
-0.0357106477022171,
-0.05341040715575218,
0.0011008334113284945,
-0.01062158402055502,
0.0024414951913058758,
-0.033722881227731705,
0.014139065518975258,
0.0041570235043764114,
0.06917425245046616,
0.03030046634376049,
-0.04383455961942673,
-0.011753746308386326,
0.0277422983199358,
0.018788708373904228,
-0.0777130052447319,
-0.02625579573214054,
-0.009584488347172737,
-0.06606297194957733,
-0.014398339204490185,
0.0040619564242661,
0.010085751302540302,
0.001792230294086039,
0.02964363992214203,
-0.009256075136363506,
-0.0021011983044445515,
0.03809596598148346,
-0.006006509996950626,
0.01904798299074173,
-0.07017678022384644,
-0.012177227064967155,
-0.00205582519993186,
0.04456052556633949,
0.01504652388393879,
-0.008927661925554276,
0.005591671913862228,
-0.009454851970076561,
0.026463214308023453,
0.011131488718092442,
-0.029937483370304108,
0.04044671356678009,
-0.0016982435481622815,
0.00974869541823864,
-0.051820192486047745,
-0.02464829757809639,
-0.018183736130595207,
-0.036574892699718475,
-0.06226028501987457,
0.005825018510222435,
-0.011148774065077305,
0.01604904979467392,
0.028537403792142868,
0.040826983749866486,
-0.00005016678187530488,
0.05814647302031517,
0.01885784976184368,
0.07328806817531586,
-0.013585948385298252,
0.016126831993460655,
-0.03353274613618851,
0.10564544051885605,
0.005181155167520046,
0.025737248361110687,
-0.04079241305589676,
0.019324541091918945,
-0.015279870480298996,
-0.006265783682465553,
-0.02744845487177372,
-0.024337168782949448,
-0.024060610681772232,
-0.009714125655591488,
-0.016515742987394333,
0.023663057014346123,
-0.02089747041463852,
0.024458162486553192,
-0.01660216599702835,
0.0027655872981995344,
0.015132948756217957,
0.009912902489304543,
0.010163533501327038,
0.019929513335227966,
0.04494079574942589,
-0.0008204936166293919,
-0.058768730610609055,
0.017086144536733627,
-0.09223233908414841,
-0.05392895266413689,
-0.01735405996441841,
-0.035572368651628494,
0.043869130313396454,
-0.02350749261677265,
-0.004228323698043823,
-0.026566924527287483,
-0.035572368651628494,
0.04570133239030838,
-0.054482072591781616,
0.025184130296111107,
0.048674337565898895,
-0.003441859968006611,
0.002985970117151737,
0.020932039245963097,
0.002787193516269326,
0.03460441157221794,
0.03386116027832031,
0.002491189166903496,
0.0473952516913414,
-0.010301812551915646,
-0.010301812551915646,
-0.037024300545454025,
-0.012790841981768608,
0.055069759488105774,
0.03109557367861271,
0.007138672284781933,
0.03996273875236511,
0.062329426407814026,
0.027586733922362328,
-0.0369897298514843,
0.011753746308386326,
-0.04155294969677925,
-0.0013190555619075894,
-0.07916493713855743,
-0.014744037762284279,
0.011269768700003624,
-0.052822720259428024,
-0.0784735381603241,
0.008607890456914902,
-0.024026039987802505,
-0.018840564414858818,
-0.04660014808177948,
0.012462427839636803,
0.05258072912693024,
0.014804534614086151,
-0.0016690752236172557,
0.020862899720668793,
-0.002463101176545024,
0.009869690053164959,
0.05392895266413689,
-0.015176160261034966,
-0.06900140643119812,
-0.008884449489414692,
-0.022211123257875443,
-0.01814916729927063,
0.003050788538530469,
-0.0064904880709946156,
-0.004005780443549156,
-0.009316571988165379,
0.01889241859316826,
0.06741119176149368,
-0.003044306766241789,
-0.012790841981768608,
-0.052373312413692474,
0.01209944486618042,
0.053272128105163574,
-0.019082553684711456,
0.02705090120434761,
0.062467705458402634,
0.013050115667283535,
-0.050368260592222214,
-0.04411111772060394,
0.03420685976743698,
0.025927381590008736,
-0.00009094839333556592,
-0.020378921180963516,
0.015176160261034966,
-0.015037881210446358,
-0.009385712444782257,
-0.053133849054574966,
0.015547786839306355,
0.015573713928461075,
-0.06979651004076004,
-0.010699366219341755,
0.0012866463512182236,
-0.013905718922615051,
0.04055042564868927,
0.015279870480298996,
-0.016066333279013634,
-0.004649643786251545,
-0.057869914919137955,
-0.05320298671722412,
0.0005855266936123371,
-0.0180454570800066,
0.0341031476855278,
-0.01934182643890381,
-0.037681128829717636,
0.016040407121181488,
0.052269600331783295,
-0.04850148782134056,
0.030058477073907852,
-0.07197441160678864,
0.02499399520456791,
0.051474496722221375,
0.05800819396972656,
0.013758797198534012,
-0.04245176538825035,
0.05475863069295883,
0.018978843465447426,
-0.003882625373080373,
0.034811832010746,
-0.018373871222138405,
0.01979123428463936,
-0.021658005192875862,
0.00009169110126094893,
-0.017509624361991882,
0.007393625099211931,
-0.02070733532309532,
-0.014260060153901577,
0.0008177928393706679,
-0.004835456609725952,
-0.0680680200457573,
0.00035272040986455977,
-0.013784724287688732,
-0.02205555886030197,
-0.06198372691869736,
0.0035304450429975986,
-0.03090543858706951,
0.00829676166176796,
-0.020880185067653656,
-0.030663449317216873,
-0.04189864918589592,
0.02750030905008316,
0.03009304776787758,
-0.00041024680831469595,
-0.008439362980425358,
-0.0651295855641365,
0.008668388240039349,
-0.007912172935903072,
-0.10799618810415268,
0.025875527411699295,
0.01552185881882906,
0.041068971157073975,
0.0012250688159838319,
0.016688590869307518,
0.023818621411919594,
0.023179078474640846,
0.043523430824279785,
0.003977692686021328,
-0.05631427466869354,
0.010699366219341755,
-0.008858522400259972,
-0.042970314621925354,
-0.008201695047318935,
-0.004636680241674185,
0.025823671370744705,
-0.020672766491770744,
-0.01447612140327692,
0.045217353850603104,
-0.033273473381996155,
-0.008793703280389309,
-0.0032798137981444597,
-0.03161412104964256,
-0.0323055163025856,
0.012453785166144371,
0.07183612883090973,
-0.004658285994082689,
-0.0017717044102028012,
0.001992087112739682,
0.004671250004321337,
-0.03463898226618767,
0.02475200779736042,
0.006149110849946737,
-0.010604298673570156,
-0.0037875582929700613,
-0.009221505373716354,
-0.0022708065807819366,
-0.024423593655228615,
-0.005963297560811043,
-0.09562018513679504,
0.03899478167295456,
-0.016783658415079117,
-0.03975531831383705,
0.020811045542359352,
-0.00929928757250309,
-0.01574656367301941,
0.020067794248461723,
0.006088613532483578,
-0.01405264064669609,
0.03868365287780762,
-0.042417194694280624,
0.003251725807785988,
-0.024786576628684998,
-0.08566407114267349,
0.06941623985767365,
-0.05486233904957771,
-0.014847747050225735,
0.021416017785668373,
-0.005029912106692791,
0.03194253519177437,
0.015599641017615795,
-0.0732189267873764,
-0.03861451521515846,
-0.010275885462760925,
-0.013689657673239708,
0.0006352208438329399,
0.0105005893856287,
-0.013067400082945824,
0.016775015741586685,
0.009835120290517807,
0.044975366443395615,
0.014934171922504902,
0.03539951890707016,
-0.030265897512435913,
-0.08697772026062012,
-0.023870475590229034,
-0.03503653407096863,
-0.005630563013255596,
0.04514821246266365,
-0.0344834178686142,
-0.0357106477022171,
0.013231607154011726,
-0.028485549613833427,
0.04276289418339729,
0.03709344193339348,
0.014527976512908936,
-0.030335037037730217,
0.011529042385518551,
-0.03496739640831947,
0.016014479100704193,
0.05745507776737213,
0.04435310885310173,
-0.03284135088324547,
-0.0069053261540830135,
-0.0016809585504233837,
-0.009238790720701218,
-0.03291048854589462,
-0.01989494450390339,
0.00458482513204217,
0.03823424503207207,
-0.050368260592222214,
0.034120433032512665,
-0.027534879744052887,
-0.043523430824279785,
-0.028986813500523567,
-0.04120725020766258,
0.04120725020766258,
0.008456647396087646,
0.04653100669384003,
0.030162187293171883,
-0.016524383798241615,
0.01909983716905117,
-0.0572822280228138,
-0.012168584391474724,
-0.0578007772564888,
0.0023680340964347124,
-0.013093328103423119,
-0.019117122516036034,
-0.01999865286052227,
-0.034466132521629333,
-0.018322017043828964,
-0.07722903043031693,
-0.05054111033678055,
-0.00829676166176796,
0.02673977240920067,
-0.01064751110970974,
-0.04345429316163063,
0.04227891564369202,
-0.03425871208310127,
-0.048570629209280014,
0.03294505923986435,
0.013387171551585197,
0.007743644528090954,
-0.04414568841457367,
0.013888434506952763,
0.006615803577005863,
-0.007795499172061682,
-0.011166059412062168,
-0.08172310888767242,
0.1609571874141693,
0.04030843451619148,
-0.03920220211148262,
0.013076042756438255,
0.09465222805738449,
0.008344295434653759,
-0.0241470355540514,
0.007013356778770685,
-0.026031091809272766,
0.05659083276987076,
0.0012888069031760097,
0.06661608815193176,
0.050575677305459976,
-0.018840564414858818,
0.010932712815701962,
-0.029678208753466606,
-0.03164869174361229,
0.012306863442063332,
0.0314067006111145,
0.014363769441843033,
0.006023794878274202,
0.0005455553182400763,
-0.04615074023604393,
-0.0039496044628322124,
0.03934048116207123,
-0.005405859090387821,
-0.015910770744085312,
-0.010725293308496475,
0.043074022978544235,
0.021519726142287254,
0.0007621569675393403,
0.109171561896801,
0.06264055520296097,
0.02224569395184517,
0.021813569590449333
] |
5,607 | flask.sansio.scaffold | _get_exc_class_and_code | Get the exception class being handled. For HTTP status codes
or ``HTTPException`` subclasses, return both the exception and
status code.
:param exc_class_or_code: Any exception class, or an HTTP status
code as an integer.
| @staticmethod
def _get_exc_class_and_code(
exc_class_or_code: type[Exception] | int,
) -> tuple[type[Exception], int | None]:
"""Get the exception class being handled. For HTTP status codes
or ``HTTPException`` subclasses, return both the exception and
status code.
:param exc_class_or_code: Any exception class, or an HTTP status
code as an integer.
"""
exc_class: type[Exception]
if isinstance(exc_class_or_code, int):
try:
exc_class = default_exceptions[exc_class_or_code]
except KeyError:
raise ValueError(
f"'{exc_class_or_code}' is not a recognized HTTP"
" error code. Use a subclass of HTTPException with"
" that code instead."
) from None
else:
exc_class = exc_class_or_code
if isinstance(exc_class, Exception):
raise TypeError(
f"{exc_class!r} is an instance, not a class. Handlers"
" can only be registered for Exception classes or HTTP"
" error codes."
)
if not issubclass(exc_class, Exception):
raise ValueError(
f"'{exc_class.__name__}' is not a subclass of Exception."
" Handlers can only be registered for Exception classes"
" or HTTP error codes."
)
if issubclass(exc_class, HTTPException):
return exc_class, exc_class.code
else:
return exc_class, None
| (exc_class_or_code: type[Exception] | int) -> tuple[type[Exception], int | None] | [
0.025074172765016556,
-0.06828870624303818,
-0.029009582474827766,
0.005069180857390165,
-0.006708934437483549,
-0.054233673959970474,
-0.025224093347787857,
-0.009524624794721603,
0.04523845762014389,
-0.03450041264295578,
0.05794420465826988,
-0.0043125515803694725,
0.05434611439704895,
-0.05948088690638542,
0.013014957308769226,
-0.002572070574387908,
0.017484456300735474,
0.03905424475669861,
0.041190605610609055,
-0.07499764114618301,
-0.0027641558554023504,
0.03099602647125721,
0.01013836171478033,
0.0298716239631176,
-0.0004667441244237125,
0.021850885823369026,
0.01203110534697771,
-0.03759251907467842,
0.0627041757106781,
-0.05831900238990784,
-0.007795856334269047,
-0.04002872481942177,
-0.021700965240597725,
-0.009412185288965702,
-0.013043067418038845,
0.0036566501948982477,
0.003239684272557497,
0.035812217742204666,
-0.007983257062733173,
-0.008686008863151073,
-0.09624884277582169,
-0.03153948858380318,
-0.05258455127477646,
-0.03431301191449165,
0.006830744445323944,
0.006554328836500645,
-0.027248017489910126,
-0.05367147549986839,
-0.03695535659790039,
-0.05843144282698631,
-0.010428831912577152,
-0.026198575273156166,
0.03577473759651184,
-0.036224495619535446,
0.04430145397782326,
0.051984868943691254,
0.01483274158090353,
0.01879625953733921,
-0.061467330902814865,
0.009697970934212208,
0.0011085905134677887,
0.06292905658483505,
-0.04490113630890846,
-0.009355965070426464,
-0.011328354477882385,
0.007898926734924316,
-0.007182120345532894,
-0.007257080636918545,
-0.03969140350818634,
0.03759251907467842,
0.021757185459136963,
-0.005701656918972731,
-0.037198979407548904,
0.009604270569980145,
0.09392508119344711,
-0.0244744922965765,
-0.02754785865545273,
0.01203110534697771,
0.028241239488124847,
0.05554547905921936,
0.05741948261857033,
-0.01026954222470522,
0.00978230033069849,
-0.026966916397213936,
0.09609892219305038,
-0.039241641759872437,
-0.0434768907725811,
-0.020370423793792725,
-0.021419866010546684,
0.008625103160738945,
-0.07154947519302368,
-0.06116748973727226,
-0.031089726835489273,
0.003136614104732871,
0.007280505262315273,
-0.010147731751203537,
0.02117624506354332,
-0.05610767751932144,
0.007645936217159033,
-0.020220503211021423,
0.029196981340646744,
0.05419619381427765,
0.022394347935914993,
-0.03240152820944786,
0.009801040403544903,
-0.03802353888750076,
-0.01223724614828825,
0.003028858918696642,
0.032139167189598083,
-0.009941590949892998,
0.03886684402823448,
-0.08860290795564651,
0.008180027827620506,
-0.009801040403544903,
0.02790392003953457,
-0.020932624116539955,
0.04156540706753731,
0.031239645555615425,
-0.016022734344005585,
0.01794358901679516,
-0.0021644746884703636,
-0.018777519464492798,
-0.014101879671216011,
0.04490113630890846,
0.051010388880968094,
0.03901676461100578,
0.00564543716609478,
-0.057119641453027725,
-0.0010722816223278642,
0.01627572439610958,
0.016500605270266533,
-0.01725957728922367,
-0.04992346465587616,
0.01472967118024826,
-0.012443386018276215,
0.07166191190481186,
-0.09879749268293381,
0.08852794766426086,
0.013951960019767284,
-0.018355868756771088,
-0.0031740942504256964,
0.059218525886535645,
-0.01956460066139698,
0.014888961799442768,
-0.02623605541884899,
0.01844020001590252,
0.022975288331508636,
0.028728481382131577,
0.04002872481942177,
0.01984570175409317,
0.007168065290898085,
-0.022075766697525978,
0.04647529870271683,
0.03954148292541504,
-0.07511007785797119,
-0.020370423793792725,
0.013211728073656559,
-0.01880563050508499,
0.006498108617961407,
-0.011422053910791874,
0.018065398558974266,
-0.06079268828034401,
0.0980478897690773,
-0.0819314569234848,
0.02391229011118412,
-0.012818187475204468,
0.006868224591016769,
0.014888961799442768,
0.0012251300504431129,
-0.052846912294626236,
-0.05513319745659828,
-0.010363241657614708,
0.004994220566004515,
0.008967109024524689,
0.01300558727234602,
0.043289490044116974,
-0.018355868756771088,
-0.02546771429479122,
0.0314270481467247,
0.011937404982745647,
0.05378391593694687,
-0.0023366487585008144,
-0.05771932378411293,
0.05026078596711159,
-0.00529406126588583,
0.05805664509534836,
-0.006198268383741379,
0.014270540326833725,
0.011450164020061493,
0.04002872481942177,
0.02112002484500408,
-0.009070179425179958,
-0.010466312058269978,
-0.0077208965085446835,
0.019377201795578003,
0.06337881088256836,
-0.014148729853332043,
-0.01318361796438694,
0.0600430890917778,
0.04044100642204285,
0.024418272078037262,
0.04718742147088051,
0.0458381362259388,
0.06319141387939453,
0.01639753393828869,
0.011347094550728798,
0.04966110363602638,
-0.025561414659023285,
-0.07233655452728271,
-0.019021140411496162,
-0.026873217895627022,
-0.02265670895576477,
-0.06682698428630829,
0.0383046418428421,
0.038829363882541656,
0.02897210232913494,
0.04538837820291519,
-0.03331978991627693,
0.025430234149098396,
-0.021232465282082558,
0.0325327105820179,
0.026835737749934196,
-0.010475682094693184,
0.03260767087340355,
0.09999684989452362,
0.005884372629225254,
-0.03135208785533905,
-0.009632380679249763,
0.02025798335671425,
0.038604483008384705,
-0.00039910429040901363,
0.05404627323150635,
-0.023874809965491295,
-0.013614638708531857,
0.022263167425990105,
0.001293062698096037,
0.06307897716760635,
-0.029084540903568268,
0.007271135225892067,
0.008615733124315739,
0.008362743072211742,
0.021213725209236145,
-0.026873217895627022,
0.02434331178665161,
0.014682820998132229,
-0.05741948261857033,
-0.00710247503593564,
0.03431301191449165,
-0.06611485779285431,
-0.031089726835489273,
-0.04366429150104523,
0.04160288721323013,
-0.00022195234487298876,
-0.0702376663684845,
0.005186305847018957,
0.011225284077227116,
-0.05520815774798393,
-0.029140761122107506,
0.012152915820479393,
0.024455752223730087,
0.05082298815250397,
0.00946372002363205,
0.06319141387939453,
-0.017231466248631477,
-0.0370490588247776,
-0.044563814997673035,
0.04403909295797348,
0.04122808575630188,
0.006395038682967424,
0.05756940320134163,
0.07139955461025238,
0.03058374486863613,
-0.01026954222470522,
-0.004462472163140774,
-0.008001997135579586,
-0.019049249589443207,
-0.01997688226401806,
0.008981163613498211,
-0.035999614745378494,
0.003513757372274995,
-0.01992066204547882,
-0.016650525853037834,
-0.019470902159810066,
-0.022338127717375755,
0.009426239877939224,
0.04647529870271683,
-0.023949770256876945,
-0.004574912134557962,
0.01273385714739561,
0.013802039436995983,
0.018674449995160103,
0.00487241055816412,
0.0185245294123888,
-0.03616827726364136,
0.013024327345192432,
0.037423860281705856,
-0.006371613591909409,
-0.01350219827145338,
0.03015272319316864,
-0.013520938344299793,
-0.002026266884058714,
0.02966548316180706,
0.07863320410251617,
-0.023462530225515366,
0.01697847619652748,
-0.04943622648715973,
0.06843862682580948,
-0.029328161850571632,
-0.014223690144717693,
0.002417465206235647,
0.000768341647926718,
0.04636285826563835,
-0.028241239488124847,
-0.02005184255540371,
-0.011150323785841465,
0.02713557705283165,
0.03744259849190712,
0.04523845762014389,
-0.04268981143832207,
0.038604483008384705,
-0.00659180898219347,
0.016116434708237648,
0.0021164531353861094,
-0.00632944842800498,
0.021644745022058487,
-0.010887962765991688,
-0.038829363882541656,
0.010456942021846771,
0.004104068502783775,
0.014448571018874645,
-0.04220256954431534,
-0.041003208607435226,
-0.0029749812092632055,
0.011909294873476028,
0.08995219320058823,
-0.03693661838769913,
0.03318861126899719,
-0.030208943411707878,
-0.006544958800077438,
-0.055920280516147614,
-0.02651715651154518,
-0.04366429150104523,
0.01675359532237053,
0.055995237082242966,
-0.019414681941270828,
-0.04984850436449051,
0.016931625083088875,
0.0384545624256134,
-0.0045163496397435665,
-0.0190773606300354,
-0.037836141884326935,
-0.05933096632361412,
-0.053184233605861664,
0.0066058640368282795,
0.018749410286545753,
-0.010784893296658993,
0.0040173958986997604,
-0.09684852510690689,
0.06015552952885628,
0.03247648850083351,
0.043851692229509354,
0.011393943801522255,
-0.05217226967215538,
-0.006882279645651579,
-0.028241239488124847,
0.034387972205877304,
-0.002658743178471923,
0.024249611422419548,
-0.02496173232793808,
0.009524624794721603,
0.03153948858380318,
0.009594900533556938,
-0.03165192902088165,
-0.02245056815445423,
0.003895585658028722,
0.021626006811857224,
-0.03420057147741318,
0.006207637954503298,
-0.053896352648735046,
0.006812004372477531,
0.030377604067325592,
-0.039728883653879166,
-0.035100094974040985,
-0.0409657284617424,
0.043102093040943146,
-0.040216125547885895,
0.03212042897939682,
-0.00834400299936533,
-0.063153937458992,
0.061617251485586166,
-0.040778327733278275,
-0.03242027014493942,
-0.016378793865442276,
-0.0065777539275586605,
0.009679230861365795,
-0.026385976001620293,
-0.03050878457725048,
0.023406310006976128,
0.017203357070684433,
-0.0027524433098733425,
0.0001840330514824018,
0.044713735580444336,
0.02790392003953457,
0.04804946109652519,
0.014448571018874645,
0.06349125504493713,
-0.0156385637819767,
0.018468309193849564,
0.003340412164106965,
-0.023687411099672318,
-0.039803843945264816,
0.010335131548345089,
0.024736853316426277,
-0.04216508939862251,
-0.00425867410376668,
0.04280225187540054,
-0.010606862604618073,
0.03871692344546318,
-0.006165473256260157,
-0.0028367736376821995,
0.004300839267671108,
-0.03135208785533905,
0.06135489046573639,
-0.020876403898000717,
-0.024174651131033897,
-0.005748507101088762,
-0.008924944326281548,
0.005458036437630653,
-0.038529522716999054,
0.026273535564541817,
0.017006585374474525,
0.019527122378349304,
-0.03774243965744972,
-0.04655025899410248,
0.006413778755813837,
-0.0486491434276104,
-0.024437012150883675,
0.03301994875073433,
0.03294498845934868,
-0.004612392280250788,
-0.005092605948448181,
0.01143142394721508,
-0.02245056815445423,
0.03995376452803612,
0.04992346465587616,
-0.07840832322835922,
-0.039166681468486786,
0.021757185459136963,
0.024455752223730087,
-0.038192201405763626,
-0.04887402430176735,
-0.021513566374778748,
-0.0002825646661221981,
0.006722989492118359,
0.05981820821762085,
0.0015167719684541225,
-0.11184056103229523,
0.022619228810071945,
0.014926441945135593,
0.004535089712589979,
0.008001997135579586,
-0.021138764917850494,
0.023462530225515366,
-0.05888120457530022,
-0.040366046130657196,
-0.026029914617538452,
0.07282379269599915,
-0.04381421208381653,
0.0298716239631176,
-0.002897678641602397,
-0.009252894669771194,
0.0015507382340729237,
0.008906204253435135,
-0.013146137818694115,
-0.04647529870271683,
0.012677636928856373,
0.06184213235974312,
-0.03421931341290474,
0.017231466248631477,
-0.019105469807982445,
0.11783736944198608,
0.01507636159658432,
0.07840832322835922,
-0.02812879905104637,
-0.013417868874967098,
-0.06480305641889572,
0.021476086229085922,
-0.015825964510440826,
-0.01433613058179617,
-0.024774333462119102,
0.04418901354074478,
-0.031576968729496,
-0.023218909278512,
-0.007182120345532894,
-0.00771621149033308,
-0.03759251907467842,
-0.04145296663045883,
-0.004462472163140774,
-0.03603709489107132,
-0.016032103449106216,
0.05033574625849724,
-0.0930255576968193,
-0.012612046673893929,
-0.044001612812280655,
0.0655151754617691,
-0.02754785865545273,
0.0189274400472641,
0.023256389424204826,
0.045613255351781845,
-0.007847392000257969,
-0.034818995743989944,
0.0405159667134285,
0.017559416592121124,
0.00023337206221185625,
-0.018421459943056107,
-0.008076957426965237,
0.01430802047252655,
0.00128017901442945,
0.05202234908938408,
0.07376080006361008,
0.011065993458032608,
0.012939997017383575,
0.06708934158086777,
0.08110689371824265,
-0.00978230033069849,
0.05018582567572594,
0.026142355054616928,
-0.0026446881238371134,
0.008615733124315739,
0.08448009938001633,
-0.01950838230550289,
0.014223690144717693,
0.006610549055039883,
-0.0029515563510358334,
-0.0029562413692474365,
0.0016549797728657722,
-0.05104786902666092,
0.027529118582606316,
-0.009487145580351353,
0.0047224899753928185,
0.0030874216463416815,
0.056482478976249695,
-0.05981820821762085,
0.04782458022236824,
-0.022694189101457596,
-0.08095697313547134,
-0.06023048609495163,
0.03309490904211998,
-0.04227752983570099,
-0.04550081491470337,
0.007894242182374,
-0.014888961799442768,
0.050598107278347015,
-0.006095197983086109,
-0.0010488566476851702,
0.04235249012708664,
0.03401317074894905,
0.04801198095083237,
0.02342505007982254,
0.013661488890647888,
-0.0074679059907794,
-0.052846912294626236,
-0.04497609660029411,
-0.03920416161417961,
-0.0622544139623642,
-0.0185245294123888,
0.0014500105753540993,
0.03665551915764809,
-0.026479676365852356,
-0.058731283992528915,
-0.04501357674598694,
0.05097290873527527,
-0.000016736099496483803,
-0.03871692344546318,
0.0487990640103817,
0.041415486484766006,
-0.011140953749418259,
-0.0010137190110981464,
0.0337882898747921,
0.011094103567302227,
0.012640156783163548,
-0.03912920132279396,
0.00251585035584867,
-0.049136385321617126,
-0.04115312919020653,
-0.013455349020659924,
-0.050598107278347015,
-0.03331978991627693,
-0.007809911388903856,
0.061392370611429214,
-0.02398725040256977,
0.0005894328351132572,
0.04257737100124359,
-0.015385572798550129,
0.05033574625849724,
0.06911326944828033,
-0.029721703380346298,
0.019049249589443207,
-0.05670735985040665,
0.027248017489910126,
0.0018822026904672384,
0.0004275071551091969,
-0.017578156664967537,
-0.04516349732875824,
0.07005026936531067,
-0.03856700286269188,
0.04220256954431534,
-0.02516787312924862,
-0.020576564595103264,
-0.02734171785414219,
0.017165876924991608,
-0.03695535659790039,
0.019808221608400345,
0.0273604579269886,
-0.03905424475669861,
0.014692191034555435,
-0.018618229776620865,
0.008957738988101482,
-0.01850578933954239,
-0.002543960465118289,
-0.03206420689821243,
-0.026123614981770515,
0.003089764155447483,
0.02483055181801319,
0.013923849910497665,
0.03420057147741318,
-0.0008555999374948442,
0.004150918684899807,
-0.0516100712120533,
0.006779209244996309,
0.03588717803359032,
0.04651277884840965,
0.026385976001620293,
-0.09722332656383514,
-0.04700002074241638,
0.05659491941332817,
0.019602080807089806,
0.0005446323775686324,
0.016453754156827927,
0.015319982543587685,
0.04265233129262924,
-0.010119621641933918,
-0.0754099190235138,
0.0023659300059080124,
0.034462932497262955,
0.014804631471633911,
0.0016807473730295897,
-0.04928630590438843,
0.07548487931489944,
-0.03367585316300392,
-0.013549048453569412,
-0.03701157867908478,
-0.0458381362259388,
-0.008845298551023006,
-0.10464438050985336,
0.00634350348263979,
-0.04756221920251846,
-0.04321453347802162,
0.0012825215235352516,
0.01773744821548462,
-0.04047848656773567,
-0.005331541411578655,
0.08612922579050064,
-0.022544268518686295,
0.01472967118024826,
-0.011600084602832794,
-0.008329947479069233,
-0.052771952003240585,
0.11146575957536697,
-0.04002872481942177,
0.05359651520848274,
-0.027604078873991966,
0.0007244196604005992,
-0.013698969036340714,
-0.05903112515807152,
0.021138764917850494,
-0.005945277400314808,
-0.003502044826745987,
-0.03725519776344299,
-0.03337601199746132,
0.016153914853930473,
0.005767247173935175,
-0.08028233051300049,
0.02587999403476715,
0.027116836979985237,
0.007496016100049019,
0.005027015693485737,
-0.012096695601940155,
0.035512376576662064,
-0.009477775543928146,
-0.022750407457351685,
-0.006699564401060343,
-0.03371333330869675,
0.01859011873602867,
-0.10599366575479507,
0.02951556257903576,
-0.006835429463535547,
-0.06828870624303818,
-0.0029398438055068254,
0.037124019116163254,
-0.015291872434318066,
-0.043177053332328796,
0.0059265377931296825,
-0.005912482738494873,
0.010672452859580517,
-0.035231273621320724,
0.030771145597100258,
-0.032232869416475296,
0.00643251882866025,
0.026535896584391594,
-0.04951118677854538,
-0.028016358613967896,
0.040853288024663925,
0.009032699279487133,
-0.021644745022058487,
0.021476086229085922,
0.004387511871755123,
0.031089726835489273,
-0.03912920132279396,
0.03386325016617775,
-0.03050878457725048,
0.01100977323949337,
0.04032856598496437,
0.00841896329075098,
-0.015310612507164478,
-0.02938438206911087,
0.05730704218149185,
-0.04823686182498932,
0.017756188288331032,
0.035999614745378494,
0.013511568307876587,
-0.006882279645651579,
-0.05805664509534836,
-0.0129774771630764,
0.013745819218456745,
-0.015741633251309395,
0.005762562155723572,
0.025711335241794586,
-0.009102974086999893,
0.04516349732875824,
0.004389854148030281,
0.0037995430175215006,
-0.038604483008384705,
-0.020670263096690178,
0.009679230861365795,
-0.03864196315407753,
0.030115243047475815,
0.011037883348762989,
0.011150323785841465,
0.037423860281705856,
0.03444419428706169,
-0.013445978984236717,
0.05517067760229111,
-0.020370423793792725,
0.029777923598885536,
-0.038098499178886414,
0.02672329731285572,
-0.025186613202095032,
0.00978230033069849,
0.02966548316180706,
0.04557577520608902,
0.04340193048119545,
-0.010719303041696548,
-0.04692506045103073,
0.052771952003240585,
0.035868436098098755,
-0.023406310006976128,
-0.003096791682764888
] |
5,608 | flask.sansio.blueprints | _merge_blueprint_funcs | null | def _merge_blueprint_funcs(self, app: App, name: str) -> None:
def extend(
bp_dict: dict[ft.AppOrBlueprintKey, list[t.Any]],
parent_dict: dict[ft.AppOrBlueprintKey, list[t.Any]],
) -> None:
for key, values in bp_dict.items():
key = name if key is None else f"{name}.{key}"
parent_dict[key].extend(values)
for key, value in self.error_handler_spec.items():
key = name if key is None else f"{name}.{key}"
value = defaultdict(
dict,
{
code: {exc_class: func for exc_class, func in code_values.items()}
for code, code_values in value.items()
},
)
app.error_handler_spec[key] = value
for endpoint, func in self.view_functions.items():
app.view_functions[endpoint] = func
extend(self.before_request_funcs, app.before_request_funcs)
extend(self.after_request_funcs, app.after_request_funcs)
extend(
self.teardown_request_funcs,
app.teardown_request_funcs,
)
extend(self.url_default_functions, app.url_default_functions)
extend(self.url_value_preprocessors, app.url_value_preprocessors)
extend(self.template_context_processors, app.template_context_processors)
| (self, app: 'App', name: 'str') -> 'None' | [
-0.018309706822037697,
-0.1228405013680458,
-0.04418330639600754,
0.004809252917766571,
-0.05611097812652588,
-0.014700494706630707,
-0.0065411292016506195,
-0.037746723741292953,
-0.011473113670945168,
-0.01261860691010952,
-0.003668305231258273,
-0.05109262838959694,
0.03243745490908623,
0.00924122054129839,
-0.007672985550016165,
0.00898666586726904,
0.07229334115982056,
0.058038316667079926,
0.03243745490908623,
-0.0627293810248375,
0.03836492821574211,
-0.028110036626458168,
-0.03347385302186012,
-0.0007074101595208049,
-0.012818613089621067,
0.0749843418598175,
0.002288713352754712,
0.03112832084298134,
0.05774739757180214,
-0.027710024267435074,
0.005486548412591219,
-0.045674264430999756,
0.05243812873959541,
-0.022818950936198235,
0.025455402210354805,
-0.014082292094826698,
0.019200647249817848,
0.0262372475117445,
-0.005131991114467382,
0.025146301835775375,
0.0760025605559349,
-0.03667396306991577,
-0.06702043861150742,
-0.050874438136816025,
0.053892724215984344,
0.041092291474342346,
-0.036001212894916534,
0.07043873518705368,
0.03007373958826065,
0.0051819924265146255,
-0.03458298370242119,
-0.0732024610042572,
0.03527391329407692,
0.06582039594650269,
0.004459240939468145,
0.05200175195932388,
-0.017009664326906204,
0.020509781315922737,
0.0019250648329034448,
-0.010500353761017323,
-0.010427623987197876,
-0.013100440613925457,
0.024746287614107132,
-0.003800127888098359,
0.0013398178853094578,
0.03811037540435791,
-0.03136469051241875,
-0.03316475450992584,
-0.04927438497543335,
0.024091720581054688,
0.03283746913075447,
-0.000516778789460659,
-0.04160140082240105,
-0.007732078433036804,
-0.008163911290466785,
0.00769116822630167,
0.06454762816429138,
-0.04945620894432068,
0.020673424005508423,
-0.056220073252916336,
0.0581110455095768,
-0.03749217092990875,
-0.05029260367155075,
0.02221892960369587,
0.06069295108318329,
-0.004154685419052839,
-0.01814606599509716,
-0.01108219102025032,
-0.023964442312717438,
-0.005854742601513863,
-0.01990976184606552,
-0.05411091074347496,
-0.019509747624397278,
0.025637226179242134,
-0.00354557391256094,
-0.02687363140285015,
-0.02410990186035633,
0.017491497099399567,
0.035055726766586304,
-0.012391326017677784,
0.02027340978384018,
-0.0330192930996418,
-0.021055255085229874,
-0.01824606955051422,
0.03949223831295967,
-0.07163877785205841,
-0.015655072405934334,
0.00935486052185297,
-0.038764942437410355,
-0.0190733689814806,
-0.0032796559389680624,
-0.013882285915315151,
0.06691133975982666,
-0.02127344347536564,
0.0038933129981160164,
0.016527829691767693,
0.006618404760956764,
0.04181959107518196,
0.048001617193222046,
-0.004813798237591982,
-0.006836593616753817,
0.0062593016773462296,
0.04858345538377762,
-0.04436513036489487,
0.028219131752848625,
0.03611030802130699,
-0.017773326486349106,
0.03031011112034321,
0.026019057258963585,
-0.02600087597966194,
-0.0019352923845872283,
0.03847402334213257,
-0.06083841249346733,
-0.06916596740484238,
0.0404377244412899,
-0.04123775288462639,
-0.015518704429268837,
0.04141957685351372,
0.010945823043584824,
0.03271019086241722,
-0.023509882390499115,
-0.004904710687696934,
-0.04072864353656769,
-0.020327957347035408,
-0.019200647249817848,
-0.01742785982787609,
0.021618910133838654,
0.011854944750666618,
0.008518468588590622,
0.0229098629206419,
0.02083706483244896,
0.06636586785316467,
-0.02272803708910942,
0.02723728120326996,
0.01889154501259327,
0.015209603123366833,
-0.004963803570717573,
0.008773022331297398,
-0.0368557870388031,
-0.06891141086816788,
0.0195824783295393,
-0.014745950698852539,
-0.006800228729844093,
-0.08858480304479599,
-0.0035637563560158014,
-0.04363783448934555,
0.05956564098596573,
-0.017264217138290405,
0.03623758256435394,
0.03178288787603378,
-0.04476514458656311,
-0.02045523375272751,
0.037383075803518295,
0.05651099234819412,
0.058911073952913284,
0.07265698909759521,
-0.02190982922911644,
-0.07222061604261398,
0.029400989413261414,
-0.005245631095021963,
0.02447355166077614,
0.01840061880648136,
-0.03214653581380844,
0.04549244046211243,
-0.010100340470671654,
0.02183709852397442,
-0.010218526236712933,
0.020746152848005295,
-0.006222936790436506,
0.009250311180949211,
-0.029219165444374084,
0.019618842750787735,
0.05141991376876831,
-0.006122933235019445,
0.0013875466538593173,
0.023000774905085564,
-0.055274587124586105,
0.07411158829927444,
0.028546415269374847,
-0.07018417865037918,
0.008163911290466785,
-0.00035597788519226015,
-0.017600592225790024,
0.026509983465075493,
0.023255327716469765,
0.011754941195249557,
0.0401831716299057,
-0.016364187002182007,
-0.007195696700364351,
-0.040328629314899445,
0.02398262545466423,
-0.003779672784730792,
-0.017209669575095177,
-0.01689147762954235,
-0.022146200761198997,
-0.011436748318374157,
0.057965587824583054,
-0.006704770959913731,
-0.03316475450992584,
0.06669315695762634,
-0.03414660319685936,
0.005845651496201754,
0.026291795074939728,
-0.022309841588139534,
-0.02272803708910942,
0.020255226641893387,
-0.018946092575788498,
-0.06171116977930069,
0.04025590047240257,
0.006527492310851812,
-0.02723728120326996,
-0.0009432135848328471,
-0.0317465215921402,
-0.020491598173975945,
-0.01852789707481861,
0.06385669857263565,
0.0012466328917071223,
-0.02103707194328308,
0.010873093269765377,
-0.013045893982052803,
0.07767534255981445,
0.025909963995218277,
0.0012954981066286564,
0.024837199598550797,
0.009391224943101406,
-0.04338327795267105,
0.02247348427772522,
-0.03434661030769348,
-0.0290555227547884,
-0.007772989105433226,
-0.013373177498579025,
-0.030182834714651108,
0.016900569200515747,
0.024437187239527702,
-0.0985487699508667,
-0.016927842050790787,
-0.006695679854601622,
0.035255733877420425,
-0.006527492310851812,
-0.012754974886775017,
0.06803865730762482,
-0.022800767794251442,
0.003941041883081198,
0.022437119856476784,
-0.021618910133838654,
-0.01755513623356819,
0.04392874985933304,
-0.04752887412905693,
-0.062365736812353134,
0.0012773157795891166,
0.049128927290439606,
0.019800666719675064,
-0.004763796925544739,
0.008350281044840813,
0.015027778223156929,
0.017527863383293152,
-0.017155123874545097,
0.022437119856476784,
0.00018921091395895928,
-0.07527526468038559,
0.09374861419200897,
-0.07665712386369705,
0.017464224249124527,
0.03271019086241722,
0.026600895449519157,
-0.01528233289718628,
-0.046874307096004486,
-0.010927640832960606,
0.016527829691767693,
-0.029346441850066185,
0.042146872729063034,
-0.0018080153968185186,
0.015336879529058933,
0.07298427820205688,
0.011600390076637268,
0.07382066547870636,
0.02600087597966194,
0.02851005084812641,
0.0003704670234583318,
-0.05909289792180061,
0.045419711619615555,
0.008445738814771175,
0.10189434140920639,
0.03611030802130699,
-0.0003295565547887236,
-0.06949324905872345,
0.04600154981017113,
-0.0337829552590847,
-0.035437557846307755,
-0.0001671931240707636,
-0.04461968317627907,
-0.013300447724759579,
0.003131923731416464,
-0.01522778533399105,
-0.004231960512697697,
-0.021000707522034645,
0.010882184840738773,
0.01456412672996521,
-0.0044637867249548435,
0.03572847694158554,
-0.036055758595466614,
0.0290555227547884,
-0.03238290920853615,
0.0018796087242662907,
0.09665779769420624,
-0.024437187239527702,
0.07687531411647797,
-0.02574632130563259,
-0.015682345256209373,
-0.0034773896913975477,
-0.09083942323923111,
-0.005041078664362431,
0.04571063071489334,
0.03491026535630226,
-0.05832923576235771,
0.00903666764497757,
-0.012773157097399235,
-0.02272803708910942,
-0.038692209869623184,
-0.030528301373124123,
0.009345768950879574,
0.03476480767130852,
-0.006886595394462347,
0.014982322230935097,
0.0033023839350789785,
-0.015736892819404602,
-0.003581938799470663,
0.038328561931848526,
0.0058411057107150555,
-0.0295646321028471,
0.040655914694070816,
-0.08305734395980835,
-0.051201723515987396,
0.022509848698973656,
0.02836459130048752,
-0.03465571254491806,
-0.0404377244412899,
-0.039455872029066086,
0.04200141504406929,
0.011373110115528107,
0.04869254678487778,
0.007150240708142519,
-0.04916528984904289,
0.02774638868868351,
0.07392976433038712,
0.030982861295342445,
-0.015355062671005726,
0.030419206246733665,
-0.022328024730086327,
-0.06102023646235466,
0.03627394884824753,
-0.0003102377231698483,
0.06916596740484238,
-0.04763796553015709,
-0.03347385302186012,
-0.05763830244541168,
0.04218323901295662,
0.012482238002121449,
-0.06207481771707535,
0.04952894151210785,
0.01158220786601305,
0.03571029379963875,
0.033855684101581573,
-0.022637125104665756,
0.01602781191468239,
-0.04025590047240257,
-0.009445772506296635,
-0.007450250908732414,
-0.01860971748828888,
-0.01666419766843319,
0.03621939942240715,
0.021146167069673538,
-0.0463288314640522,
0.05403818190097809,
-0.031546518206596375,
-0.010191252455115318,
-0.038401294499635696,
-0.004295599181205034,
0.008504832163453102,
-0.022073470056056976,
0.009682144038379192,
-0.03792855143547058,
0.08909390866756439,
-0.00830482505261898,
0.04821980372071266,
-0.027019090950489044,
0.009013939648866653,
0.08451193571090698,
0.02674635499715805,
0.062365736812353134,
-0.034928448498249054,
0.006036567036062479,
-0.06418398022651672,
-0.010745815932750702,
0.006900232285261154,
-0.024528099223971367,
0.027528200298547745,
0.05462002009153366,
-0.006609313189983368,
0.0052865417674183846,
0.03861948102712631,
0.021418903023004532,
0.019364288076758385,
0.029237348586320877,
-0.03265564516186714,
-0.016809657216072083,
-0.029110070317983627,
0.04258325323462486,
-0.043274182826280594,
0.005059261340647936,
0.01412774808704853,
0.02600087597966194,
-0.01576416753232479,
-0.048001617193222046,
0.011573117226362228,
-0.029237348586320877,
0.03778309002518654,
-0.05331088602542877,
0.03547392040491104,
0.03909222409129143,
0.01500050537288189,
0.010445806197822094,
-0.0014841408701613545,
-0.0023523520212620497,
-0.01791878417134285,
-0.020418869331479073,
-0.03818310424685478,
0.006895686499774456,
0.038583118468523026,
-0.0389104001224041,
0.019164280965924263,
-0.005404727533459663,
-0.0017557409591972828,
0.014836862683296204,
-0.019746119156479836,
0.022128017619252205,
0.039528604596853256,
-0.032601095736026764,
-0.02585541643202305,
0.0593838170170784,
-0.024018989875912666,
-0.01346408948302269,
0.0012716336641460657,
0.00664113275706768,
-0.01909155212342739,
0.057856492698192596,
0.04280143976211548,
-0.0325101837515831,
-0.03749217092990875,
0.011164012365043163,
0.03778309002518654,
-0.020127950236201286,
0.03281928598880768,
-0.037564899772405624,
-0.014136839658021927,
0.015491430647671223,
0.04251052066683769,
-0.02001885510981083,
0.015573251992464066,
0.02963736094534397,
0.03076467290520668,
-0.04938348010182381,
-0.04036499559879303,
0.014582308940589428,
-0.0010363985784351826,
0.03240109235048294,
0.01512778177857399,
-0.013127714395523071,
-0.017009664326906204,
0.007150240708142519,
-0.0366012305021286,
-0.06112933158874512,
-0.023509882390499115,
0.027291828766465187,
-0.01701875403523445,
0.012918616645038128,
0.058911073952913284,
0.00891848187893629,
0.02749183401465416,
-0.03396477922797203,
-0.01748240739107132,
-0.00790935754776001,
-0.0532381571829319,
0.017809690907597542,
-0.02298259176313877,
-0.024946294724941254,
-0.030346475541591644,
0.005927472375333309,
-0.049056198447942734,
-0.019509747624397278,
-0.048619817942380905,
-0.00880484189838171,
-0.01035489421337843,
-0.007236607372760773,
-0.013591366820037365,
-0.0668022483587265,
0.00007557072240160778,
-0.0296919085085392,
0.03880130499601364,
-0.01963702403008938,
0.025819050148129463,
-0.011327654123306274,
0.012164046056568623,
0.011473113670945168,
-0.017236944288015366,
-0.002208028919994831,
0.08305734395980835,
0.04098319634795189,
-0.019473383203148842,
-0.01528233289718628,
-0.03516482189297676,
0.04021953418850899,
0.03672850877046585,
-0.024782652035355568,
-0.012545877136290073,
0.050074413418769836,
-0.06905686855316162,
-0.04501969739794731,
-0.05574733018875122,
0.014509579166769981,
0.01717330515384674,
0.07062055915594101,
0.010936731472611427,
-0.01617327146232128,
-0.05003804713487625,
-0.07454796135425568,
-0.02398262545466423,
-0.026164516806602478,
0.00324101815931499,
-0.06429307162761688,
-0.020000673830509186,
0.04363783448934555,
0.024582644924521446,
0.026073604822158813,
-0.02329169400036335,
-0.07665712386369705,
-0.016109632328152657,
0.019946126267313957,
0.014818680472671986,
-0.035873934626579285,
-0.03245563805103302,
0.044474225491285324,
-0.058911073952913284,
-0.046983398497104645,
-0.0007574118790216744,
0.0527290478348732,
-0.022018922492861748,
0.046183373779058456,
-0.05611097812652588,
-0.025964509695768356,
-0.040655914694070816,
0.01035489421337843,
0.0008449148153886199,
-0.07542072236537933,
0.01333681307733059,
0.0046251555904746056,
0.002934189746156335,
0.015464156866073608,
-0.016982389613986015,
-0.08160274475812912,
-0.03701942786574364,
-0.009782147593796253,
-0.020000673830509186,
-0.04091046750545502,
-0.00797299575060606,
-0.018136974424123764,
-0.0009767374722287059,
0.05356543883681297,
0.05869288370013237,
-0.008932119235396385,
-0.07556618005037308,
0.0073638842441141605,
-0.006177480798214674,
-0.048183441162109375,
-0.004104683641344309,
0.06240209937095642,
-0.0877847746014595,
0.03220108523964882,
-0.050692614167928696,
0.027982760220766068,
-0.021146167069673538,
-0.0034887539222836494,
0.024637192487716675,
-0.06771136820316315,
0.00903666764497757,
0.0073638842441141605,
-0.0008574152016080916,
0.004750160034745932,
-0.0020602967124432325,
0.03589211776852608,
-0.0009028713102452457,
0.029619179666042328,
0.033801138401031494,
0.00963668804615736,
-0.0026205426547676325,
-0.04338327795267105,
-0.024200813844799995,
0.0103003466501832,
0.0634930431842804,
0.006659314967691898,
-0.05756557360291481,
0.007600255776196718,
0.006563857197761536,
0.03560119867324829,
-0.005545641295611858,
0.0340375080704689,
-0.016309639438986778,
-0.01506414357572794,
-0.027637293562293053,
0.0320010781288147,
0.016473282128572464,
-0.03829219937324524,
0.025709956884384155,
-0.05178356170654297,
0.03007373958826065,
0.0017216488486155868,
0.030928313732147217,
-0.010663995519280434,
-0.05214720964431763,
0.007577527780085802,
0.0593838170170784,
-0.06862049549818039,
-0.009223037399351597,
-0.030473753809928894,
0.03332839533686638,
0.06418398022651672,
-0.03471025824546814,
-0.04651065543293953,
0.04701976478099823,
-0.016646014526486397,
-0.0033773863688111305,
-0.017718778923153877,
-0.02825549617409706,
0.03441933915019035,
-0.012100406922399998,
0.03771036118268967,
-0.011691302992403507,
-0.053710900247097015,
0.028037307783961296,
0.03578302264213562,
-0.02058251015841961,
-0.03978315740823746,
0.04894710332155228,
-0.006022930145263672,
-0.002668271539732814,
0.02323714643716812,
0.044037844985723495,
-0.03974679112434387,
0.029273713007569313,
-0.003766035893931985,
0.006691134534776211,
0.01080036349594593,
-0.013545910827815533,
0.006732044741511345,
-0.011327654123306274,
0.03338294103741646,
-0.022273477166891098,
0.0862574502825737,
0.03294656425714493,
-0.03854675218462944,
-0.010936731472611427,
0.009900333359837532,
-0.01691875047981739,
0.012691336683928967,
0.0022875769063830376,
0.0013648186577484012,
-0.017236944288015366,
0.01136401854455471,
0.03345566987991333,
0.02989191561937332,
0.025637226179242134,
-0.03672850877046585,
0.007527526002377272,
0.02441900409758091,
-0.047310683876276016,
0.050692614167928696,
0.01300043798983097,
-0.11833125352859497,
-0.027291828766465187,
0.03358294814825058,
0.02718273364007473,
0.026946362107992172,
0.005404727533459663,
-0.03394659608602524,
0.006013839039951563,
0.024964476004242897,
0.032546550035476685,
-0.03547392040491104,
-0.04647429287433624,
0.023764437064528465,
-0.014055018313229084,
-0.021437086164951324,
0.05600188672542572,
-0.00842301081866026,
0.00709114782512188,
-0.019200647249817848,
-0.010018519125878811,
-0.0074229771271348,
-0.020946159958839417,
0.03691033273935318,
-0.0391649566590786,
0.041710495948791504,
0.07476615160703659,
-0.033182933926582336,
0.034182969480752945,
-0.0034432976972311735,
-0.027600929141044617,
-0.011373110115528107,
0.017064210027456284,
0.024309908971190453,
0.001315953442826867,
-0.01290043443441391,
-0.01418229565024376,
0.06287484616041183,
0.03514663875102997,
-0.04436513036489487,
0.040328629314899445,
0.0391649566590786,
-0.055274587124586105,
-0.044292401522397995,
-0.02334623970091343,
-0.028546415269374847,
-0.03265564516186714,
0.04061954841017723,
0.03445570543408394,
0.011264015920460224,
0.036510318517684937,
0.0038160376716405153,
-0.01450048852711916,
0.08116637170314789,
0.018855180591344833,
0.07840263843536377,
-0.017118757590651512,
-0.0024046264588832855,
-0.00011015995551133528,
-0.013591366820037365,
0.0236735250800848,
-0.02001885510981083,
-0.004479696042835712,
-0.03463752940297127,
-0.0019671116024255753,
0.06432943791151047,
-0.0057183741591870785,
-0.005381999537348747,
0.1822606772184372,
0.0057183741591870785,
-0.014555035158991814,
-0.011754941195249557
] |
5,609 | flask.sansio.scaffold | _method_route | null | def _method_route(
self,
method: str,
rule: str,
options: dict[str, t.Any],
) -> t.Callable[[T_route], T_route]:
if "methods" in options:
raise TypeError("Use the 'route' decorator to use the 'methods' argument.")
return self.route(rule, methods=[method], **options)
| (self, method: str, rule: str, options: dict[str, typing.Any]) -> Callable[[~T_route], ~T_route] | [
0.03922354057431221,
0.006689954083412886,
0.06364300847053528,
-0.05809147655963898,
-0.0216074176132679,
-0.03962266817688942,
-0.014214451424777508,
0.019611770287156105,
0.02971700206398964,
0.006562958005815744,
0.0019117393530905247,
-0.028392618522047997,
0.06908567994832993,
-0.018441595137119293,
0.043940525501966476,
0.0451379120349884,
0.036574773490428925,
0.007764881942421198,
-0.04593617096543312,
-0.006517602596431971,
0.0537373386323452,
0.012019239366054535,
0.03592165187001228,
-0.029535580426454544,
0.02013789489865303,
0.08904214948415756,
0.0024786845315247774,
-0.028447045013308525,
0.029825855046510696,
0.038316428661346436,
-0.008957735262811184,
0.029916567727923393,
0.0010942043736577034,
0.019212640821933746,
0.020645877346396446,
0.00019857256847899407,
0.016690868884325027,
0.0424528606235981,
-0.0806967169046402,
0.03962266817688942,
-0.06585635989904404,
0.017969897016882896,
0.021788839250802994,
-0.041944876313209534,
-0.017062785103917122,
-0.03929610922932625,
-0.02088172733783722,
0.06523952633142471,
0.0181694608181715,
-0.06814227998256683,
-0.03187593072652817,
-0.04209001362323761,
0.04619016498327255,
0.009175442159175873,
-0.00969703122973442,
0.024655314162373543,
-0.03597607836127281,
0.0432148352265358,
0.04840351641178131,
-0.008504178375005722,
0.021117577329277992,
-0.019303351640701294,
-0.033799007534980774,
0.0004960771184414625,
0.05123370885848999,
-0.020337460562586784,
-0.04176345467567444,
0.019194498658180237,
0.08628453314304352,
0.006562958005815744,
0.04430336877703667,
0.03354501724243164,
0.011738034896552563,
0.010359223932027817,
0.0230406541377306,
-0.010368295013904572,
0.049709759652614594,
-0.046806998550891876,
0.08584911376237869,
0.01799711026251316,
-0.034415844827890396,
-0.020736590027809143,
0.003081914270296693,
-0.030297555029392242,
-0.05159655213356018,
0.017334917560219765,
0.04096519574522972,
-0.05685780569911003,
-0.07097247242927551,
-0.027412936091423035,
-0.06516695767641068,
-0.05907116085290909,
-0.047859251499176025,
-0.042271438986063004,
-0.05257623642683029,
-0.020010899752378464,
0.02933601476252079,
-0.03788101300597191,
-0.02868289314210415,
-0.038715556263923645,
-0.01639152131974697,
0.026342544704675674,
0.020010899752378464,
0.009043910540640354,
0.03035198152065277,
-0.0035785583313554525,
0.005628632381558418,
0.0047895535826683044,
-0.058853451162576675,
0.04622644931077957,
-0.008304613642394543,
0.047859251499176025,
-0.010350152850151062,
-0.02752179093658924,
0.0019378188299015164,
0.05874459818005562,
-0.03000727854669094,
-0.05272137373685837,
-0.06364300847053528,
-0.006290824618190527,
0.0023925090208649635,
-0.056349821388721466,
-0.020972438156604767,
-0.07902763038873672,
-0.038280144333839417,
-0.0357583723962307,
-0.05123370885848999,
-0.03147679939866066,
0.023929625749588013,
-0.045827317982912064,
-0.014432158321142197,
0.05863574519753456,
0.008576747961342335,
0.05224967375397682,
-0.04633530229330063,
0.008694672025740147,
-0.030605971813201904,
0.028102342039346695,
-0.016917645931243896,
0.09825841337442398,
0.0332728810608387,
0.039767809212207794,
0.01168360747396946,
-0.029535580426454544,
0.021335283294320107,
-0.019303351640701294,
-0.03156751021742821,
0.03419813886284828,
0.02044631354510784,
0.0014706560177728534,
0.020754732191562653,
-0.013924174942076206,
0.04764154180884361,
-0.006463175639510155,
0.08737306296825409,
0.004812231287360191,
0.023076940327882767,
0.03350873291492462,
0.024546461179852486,
-0.06607406586408615,
0.011375189758837223,
-0.002141919219866395,
-0.031621936708688736,
-0.032383911311626434,
0.05083457753062248,
-0.017915470525622368,
-0.012182519771158695,
0.006748916115611792,
-0.015058065764605999,
0.0026601071003824472,
-0.024655314162373543,
-0.01629173941910267,
0.013243841007351875,
0.005206825211644173,
0.029553722590208054,
-0.039078403264284134,
0.022841090336441994,
0.03998551517724991,
0.02329464629292488,
0.00734761031344533,
0.03494197130203247,
-0.04361396282911301,
-0.0014037564396858215,
-0.022133542224764824,
-0.0038892445154488087,
0.06734402477741241,
0.022532671689987183,
-0.03784472867846489,
-0.10457191616296768,
-0.020718447864055634,
-0.03222063183784485,
0.007238756865262985,
0.01822388730943203,
-0.023076940327882767,
-0.06422355771064758,
-0.059833135455846786,
-0.023203935474157333,
0.0627358928322792,
0.0034107426181435585,
-0.04089262709021568,
0.023095082491636276,
0.016872290521860123,
0.016953930258750916,
0.009370471350848675,
-0.009551893919706345,
0.03572208806872368,
0.01500363927334547,
-0.0004544066032394767,
-0.03243833780288696,
0.0030751109588891268,
0.022768521681427956,
-0.018105963245034218,
-0.001869785482995212,
-0.020936153829097748,
-0.02971700206398964,
0.009851240552961826,
0.02470974251627922,
-0.015375555492937565,
-0.0004733992973342538,
0.0008260392351076007,
0.025743849575519562,
0.02079101651906967,
-0.03390786051750183,
0.00732946814969182,
0.000961539160925895,
0.002293860539793968,
0.054245322942733765,
-0.03223877400159836,
-0.05018145963549614,
-0.008286471478641033,
0.004762339871376753,
0.009211726486682892,
0.012663288973271847,
0.027630643919110298,
-0.08737306296825409,
-0.05841803923249245,
0.00937954243272543,
0.05830918624997139,
0.007025585509836674,
-0.012545364908874035,
-0.0019786388147622347,
0.053229354321956635,
-0.021770697087049484,
0.03915097191929817,
-0.0032361235935240984,
0.0437953881919384,
-0.011982955038547516,
-0.005546992179006338,
0.004138700198382139,
-0.007256899029016495,
-0.01658201403915882,
-0.003512792754918337,
-0.03321845456957817,
0.008762706071138382,
-0.017969897016882896,
-0.035141535103321075,
-0.060921669006347656,
-0.005075294058769941,
0.01201016828417778,
0.023058796301484108,
0.005869017448276281,
-0.004347336012870073,
0.0677068680524826,
-0.03991294652223587,
0.03813500702381134,
0.013561330735683441,
-0.04619016498327255,
0.006168364081531763,
0.013642970472574234,
0.028846174478530884,
0.12917280197143555,
-0.06476782262325287,
-0.00023712485563009977,
0.031930357217788696,
0.05693037435412407,
0.017443770542740822,
-0.039767809212207794,
-0.010867206379771233,
-0.015420910902321339,
-0.051487699151039124,
0.012246017344295979,
-0.03252905234694481,
-0.011239122599363327,
-0.019611770287156105,
-0.014668007381260395,
0.08251094073057175,
0.03390786051750183,
0.11008716374635696,
0.02469160035252571,
0.011774319224059582,
0.054209038615226746,
-0.004605863243341446,
-0.04412194713950157,
0.047859251499176025,
0.02294994331896305,
0.029245303943753242,
-0.02683238498866558,
-0.01856859028339386,
0.060595110058784485,
-0.07772138714790344,
-0.03733674809336662,
-0.03398042917251587,
0.000025477102099102922,
-0.011747105978429317,
-0.02010161057114601,
0.0028392618987709284,
-0.040820058435201645,
0.008037015795707703,
0.02224239520728588,
-0.01591075211763382,
-0.010549717582762241,
-0.003032023087143898,
-0.10587815940380096,
-0.09658932685852051,
0.033091459423303604,
0.10653127729892731,
-0.0594702884554863,
0.03820757567882538,
0.04597245529294014,
0.024292470887303352,
-0.034488413482904434,
0.07427436113357544,
-0.0042724995873868465,
0.002329010982066393,
-0.039767809212207794,
0.003721428569406271,
0.009030303917825222,
-0.030587829649448395,
-0.032347626984119415,
0.04909292235970497,
0.029190877452492714,
0.06074024736881256,
0.002285923343151808,
0.0042724995873868465,
-0.07685056328773499,
0.010205014608800411,
-0.000514219340402633,
0.006490389350801706,
-0.006449569016695023,
0.05700294300913811,
0.013062418438494205,
0.0036057718098163605,
0.06835999339818954,
-0.020573308691382408,
0.030188700184226036,
0.01866837404668331,
-0.013924174942076206,
-0.006780665367841721,
0.0011514658108353615,
0.013933246023952961,
0.006984765641391277,
-0.09579107165336609,
0.01908564567565918,
0.0033880649134516716,
-0.009660746902227402,
-0.020736590027809143,
-0.018958648666739464,
-0.029082022607326508,
0.03987666219472885,
-0.06886797398328781,
-0.05181426182389259,
-0.018886080011725426,
-0.03715532273054123,
0.008594890125095844,
0.046879567205905914,
0.0012143966741859913,
0.021335283294320107,
-0.017625194042921066,
0.0020421368535608053,
0.010341081768274307,
0.007479141931980848,
-0.027648786082863808,
0.004297445062547922,
-0.0007750141667202115,
0.0032021068036556244,
0.002097697462886572,
0.06933967024087906,
0.023403499275445938,
0.013642970472574234,
0.01357947289943695,
-0.014722433872520924,
-0.012246017344295979,
0.04640787094831467,
0.003955009859055281,
0.03817129135131836,
-0.04492020606994629,
0.009624462574720383,
0.04107404872775078,
0.005175076425075531,
-0.017425628378987312,
-0.01908564567565918,
-0.030497118830680847,
-0.024981874972581863,
-0.05515243485569954,
-0.02115386165678501,
-0.0051614693365991116,
-0.04560961201786995,
-0.008880630135536194,
0.01621916890144348,
0.005982406437397003,
0.02191583625972271,
-0.0317489355802536,
0.016055889427661896,
0.07184330374002457,
0.05025402829051018,
0.03773587569594383,
0.021063148975372314,
0.014595438726246357,
0.02117200382053852,
-0.04557332769036293,
-0.004617202095687389,
-0.008576747961342335,
-0.0032588012982159853,
0.014014886692166328,
0.010731139220297337,
-0.007968982681632042,
0.04873007908463478,
0.03664734214544296,
0.02440132386982441,
0.005170540884137154,
0.055261287838220596,
-0.023113224655389786,
0.008871559053659439,
0.024165473878383636,
0.048947785049676895,
0.012962636537849903,
-0.001556831644847989,
-0.03245647996664047,
-0.026723532006144524,
0.04709727689623833,
0.02149856463074684,
0.01984761841595173,
-0.03809871897101402,
0.010150588117539883,
0.008349969983100891,
-0.03681062161922455,
-0.028029773384332657,
-0.027412936091423035,
0.012690502218902111,
0.014250735752284527,
-0.007043727673590183,
-0.009869382716715336,
-0.05725693330168724,
-0.05268508940935135,
-0.037300460040569305,
-0.03980409353971481,
0.021353425458073616,
-0.048548657447099686,
0.049310628324747086,
-0.036211926490068436,
0.027812065556645393,
0.03523224592208862,
0.005066222976893187,
0.04267056658864021,
-0.04067492112517357,
0.0013153129257261753,
0.008563141338527203,
-0.016545729711651802,
0.016609227284789085,
0.03650220111012459,
0.05468073487281799,
0.008785383775830269,
-0.035595089197158813,
-0.0025263079442083836,
-0.05932515114545822,
0.015275772660970688,
-0.020283034071326256,
0.05337449535727501,
-0.0395863838493824,
-0.04981861263513565,
-0.015275772660970688,
-0.05170540511608124,
-0.03744560107588768,
-0.0038552277255803347,
0.026306260377168655,
0.08955013751983643,
0.04027578979730606,
0.0028437974397093058,
-0.08113213628530502,
0.002239433815702796,
-0.045754749327898026,
-0.05199568346142769,
-0.0261066947132349,
-0.0000912781833903864,
-0.0014819948701187968,
-0.017407486215233803,
-0.04814952611923218,
0.02750364877283573,
-0.029535580426454544,
-0.03256533667445183,
0.0036488596815615892,
0.03394414484500885,
0.0017495930660516024,
0.04056606814265251,
0.004980047233402729,
0.10667641460895538,
-0.015030852518975735,
-0.027793923392891884,
-0.03955009952187538,
-0.005878088530153036,
0.023076940327882767,
-0.022369392216205597,
0.03427070751786232,
0.04408566281199455,
-0.008159476332366467,
0.024455750361084938,
-0.02222425304353237,
-0.003739570965990424,
-0.030642256140708923,
0.0017121746204793453,
0.03719160705804825,
-0.007111761253327131,
-0.023095082491636276,
0.005524314474314451,
-0.005701201502233744,
0.06259075552225113,
-0.04695213958621025,
-0.025036301463842392,
-0.04727869853377342,
-0.004188591614365578,
-0.030986959114670753,
-0.017552625387907028,
0.040820058435201645,
-0.008259258233010769,
0.01239115558564663,
0.0009904532926157117,
0.006776129826903343,
0.00428383843973279,
0.04746012017130852,
-0.057148080319166183,
0.04310598224401474,
0.07743111252784729,
-0.009470253251492977,
-0.0173077043145895,
0.03889697790145874,
0.08773591369390488,
-0.03501453995704651,
-0.01518506184220314,
0.011783390305936337,
0.012019239366054535,
-0.024655314162373543,
0.026596534997224808,
-0.06734402477741241,
0.003505989443510771,
-0.04274313524365425,
-0.05595069378614426,
0.029209019616246223,
-0.06803342700004578,
0.04553704336285591,
-0.05402761325240135,
-0.010159659199416637,
0.07242385298013687,
-0.009588178247213364,
0.013534116558730602,
0.009443040005862713,
0.014795003458857536,
-0.013534116558730602,
-0.02226053737103939,
0.02153484895825386,
-0.018595803529024124,
-0.09782300144433975,
-0.008486036211252213,
-0.04568218067288399,
0.018314599990844727,
-0.004857586696743965,
0.037590738385915756,
0.07605230063199997,
-0.018423452973365784,
0.012037381529808044,
-0.06190134957432747,
0.01148404274135828,
0.015937965363264084,
0.013243841007351875,
-0.07539918273687363,
0.03864298760890961,
0.018423452973365784,
0.012318585999310017,
-0.052866511046886444,
-0.027685070410370827,
-0.013352694921195507,
-0.022750379517674446,
-0.011819674633443356,
-0.005991477519273758,
-0.0010630222968757153,
-0.08134984225034714,
-0.0064541045576334,
-0.01946663297712803,
0.032637905329465866,
-0.020047184079885483,
0.00937954243272543,
-0.002097697462886572,
-0.06690861284732819,
0.030243126675486565,
-0.03737303242087364,
-0.022913658991456032,
0.047895535826683044,
-0.028047915548086166,
0.017416557297110558,
-0.0017427897546440363,
0.04299712926149368,
-0.0075653172098100185,
0.005347427446395159,
-0.025181440636515617,
-0.016146600246429443,
0.038280144333839417,
0.00661738496273756,
-0.06074024736881256,
-0.000008747788342589047,
-0.04140061140060425,
0.006095795426517725,
0.00610486650839448,
-0.017062785103917122,
0.05874459818005562,
-0.014459371566772461,
0.06854141503572464,
-0.011084913276135921,
-0.015175990760326385,
0.010268512181937695,
0.031240951269865036,
-0.02258709818124771,
-0.0453193336725235,
-0.03113209828734398,
-0.0070709409192204475,
0.003106859978288412,
0.04060235247015953,
0.07481863349676132,
-0.009157299995422363,
-0.004785018041729927,
-0.0313679464161396,
-0.01150218490511179,
-0.028737321496009827,
-0.02861032448709011,
-0.005732950288802385,
0.03860670328140259,
-0.019031217321753502,
-0.023820770904421806,
0.02053702436387539,
0.022042831405997276,
-0.02082730084657669,
0.0023108688183128834,
-0.0019854423590004444,
-0.03719160705804825,
-0.00863570999354124,
0.00742925051599741,
0.014867572113871574,
0.042924556881189346,
0.01738027296960354,
0.000026859032004722394,
0.015665831044316292,
-0.008431609719991684,
-0.04495649039745331,
0.03769959136843681,
-0.08272865414619446,
0.04945576936006546,
0.07427436113357544,
-0.021770697087049484,
-0.0032565335277467966,
-0.05722064897418022,
-0.0031680900137871504,
-0.0077240620739758015,
-0.04633530229330063,
0.007823844440281391,
0.024637171998620033,
-0.052793942391872406,
-0.04626273363828659,
-0.027739496901631355,
0.013851606287062168,
-0.0010919366031885147,
0.015375555492937565,
0.05341077968478203,
0.03191221505403519,
-0.02334907278418541,
0.011819674633443356,
0.0029730608221143484,
0.04306969791650772,
0.054245322942733765,
-0.008114119991660118,
-0.069992795586586,
-0.010195943526923656,
0.036266352981328964,
-0.026578392833471298,
-0.001432103686966002,
-0.06886797398328781,
0.022079115733504295,
-0.024800453335046768,
0.08447030931711197,
0.07177073508501053,
0.02621554769575596,
-0.02617926336824894,
-0.039441246539354324,
0.037663307040929794,
-0.006254539825022221,
0.003859763266518712,
-0.025707565248012543,
0.015357413329184055,
0.03430699184536934,
-0.0644412636756897,
-0.06574750691652298,
0.0010936374310404062,
-0.009424897842109203,
-0.006358857732266188,
-0.026632819324731827,
0.022042831405997276,
0.012436510995030403,
0.015556978061795235,
-0.034415844827890396,
0.037300460040569305,
-0.02048259787261486,
-0.0033222991041839123,
0.05134256184101105,
0.025907130911946297,
-0.018278315663337708,
0.049310628324747086,
0.011039557866752148,
-0.008272864855825901,
0.00309325335547328,
0.01767054945230484,
-0.013896961696445942,
-0.06342530250549316,
0.013343623839318752,
-0.023185793310403824,
-0.08737306296825409,
0.06371557712554932,
-0.11429616063833237,
0.05878088250756264,
-0.004229411482810974,
-0.030896248295903206,
0.02265966683626175,
-0.01941220462322235,
-0.041182901710271835,
-0.004912013653665781,
0.02331278845667839,
0.032692331820726395,
0.06487667560577393,
-0.003310960251837969,
-0.027449220418930054,
-0.03494197130203247,
0.00042719324119389057,
0.012309514917433262,
0.002196345943957567,
-0.033037032932043076,
0.007515426259487867,
0.003671537386253476,
-0.024455750361084938,
0.06538466364145279,
0.01518506184220314,
-0.005587812513113022,
0.030134273692965508,
0.0332728810608387,
-0.04673442989587784,
-0.0012143966741859913,
-0.023584922775626183,
0.0523948110640049,
0.04735126718878746,
-0.02226053737103939,
-0.031168382614850998,
0.04074748978018761,
0.014232593588531017,
0.023802628740668297,
-0.028174910694360733,
-0.04031207412481308,
0.008141334168612957,
-0.00026518863160163164,
0.006853234022855759,
0.024256184697151184,
0.010313867591321468,
0.015321128070354462,
0.0529753640294075
] |
5,610 | flask.sansio.blueprints | add_app_template_filter | Register a template filter, available in any template rendered by the
application. Works like the :meth:`app_template_filter` decorator. Equivalent to
:meth:`.Flask.add_template_filter`.
:param name: the optional name of the filter, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: Callable[..., Any], name: str | None = None) -> NoneType | [
-0.013656978495419025,
-0.018781986087560654,
-0.025896815583109856,
-0.03657391294836998,
0.013142536394298077,
0.0004458901530597359,
0.006503323093056679,
-0.0011987468460574746,
-0.007372050546109676,
-0.007245867047458887,
-0.008895963430404663,
0.009696746245026588,
0.016753336414694786,
0.02682863548398018,
0.01752985268831253,
-0.001512993243522942,
0.0579669363796711,
0.01740366965532303,
0.03389493376016617,
-0.047134533524513245,
0.03191481530666351,
0.04600858688354492,
0.015025588683784008,
0.040029410272836685,
-0.03199246898293495,
0.03461321070790291,
-0.046940404921770096,
0.04624154046177864,
0.048260483890771866,
0.008221365511417389,
0.05183245614171028,
-0.020267073065042496,
0.036399196833372116,
0.029721157625317574,
0.05361844599246979,
-0.01535560842603445,
-0.00026374252047389746,
0.061383605003356934,
-0.04402846843004227,
0.02463497593998909,
0.05882110446691513,
-0.018500499427318573,
0.008895963430404663,
-0.049929991364479065,
0.05664685741066933,
0.044339075684547424,
0.030885932967066765,
0.07268191874027252,
-0.04216482862830162,
-0.015569149516522884,
-0.00628978107124567,
-0.02694511227309704,
-0.007653537672013044,
0.040107063949108124,
-0.03309900313615799,
0.05070650950074196,
0.02228601463139057,
0.0978410392999649,
0.008794046007096767,
0.02531442791223526,
-0.0030939318239688873,
-0.0237225703895092,
0.026013292372226715,
-0.025042647495865822,
0.03203129395842552,
-0.00007325338810915127,
-0.039349958300590515,
-0.0019194510532543063,
-0.0015736586647108197,
0.003982072230428457,
0.06227659806609154,
0.0077748685143888,
-0.029876461252570152,
0.0007516434416174889,
0.025896815583109856,
-0.0387287475168705,
0.03853461518883705,
-0.0698864609003067,
-0.026304487138986588,
-0.02127654477953911,
0.028575796633958817,
-0.004295105114579201,
-0.0465521477162838,
0.006265514995902777,
0.029682332649827003,
-0.009822930209338665,
0.03585563600063324,
-0.020422376692295074,
0.017626918852329254,
0.007968997582793236,
-0.06293664127588272,
-0.020868873223662376,
0.04204835370182991,
0.036554500460624695,
0.016083592548966408,
-0.05455026403069496,
-0.025760924443602562,
0.01972351223230362,
0.014307310804724693,
-0.03125477582216263,
-0.024460259824991226,
-0.052803102880716324,
-0.05097828805446625,
0.040145888924598694,
0.03086651861667633,
0.010686804540455341,
-0.019344959408044815,
-0.010230600833892822,
-0.041427139192819595,
-0.017102768644690514,
-0.030128829181194305,
0.021858930587768555,
0.04239778593182564,
0.03527325019240379,
-0.023567266762256622,
-0.015142066404223442,
0.032400138676166534,
0.0012369659962132573,
0.04530972242355347,
-0.05773397907614708,
-0.028420493006706238,
-0.01519059855490923,
0.00014787174586672336,
0.01569533348083496,
0.049852341413497925,
0.05458908900618553,
0.006153890863060951,
-0.010415023192763329,
0.0364186093211174,
-0.04266956448554993,
0.0621989481151104,
0.05610329657793045,
-0.07974821329116821,
-0.021936582401394844,
0.041349489241838455,
-0.025625035166740417,
0.024304958060383797,
0.012395139783620834,
-0.06907111406326294,
0.06503323465585709,
-0.059597618877887726,
0.012637801468372345,
-0.03721453994512558,
0.008124301210045815,
0.02323724702000618,
0.006532442755997181,
-0.022227777168154716,
-0.01585063710808754,
0.0026134622748941183,
0.035680919885635376,
0.02251897007226944,
0.009633653797209263,
0.027216892689466476,
0.020383549854159355,
-0.03967997804284096,
0.015365314669907093,
-0.035758569836616516,
0.007740895729511976,
0.005954908672720194,
-0.013249307870864868,
0.0055326782166957855,
0.012744572013616562,
-0.042824868112802505,
-0.03698158264160156,
-0.061383605003356934,
-0.013074591755867004,
0.017199834808707237,
-0.02479027956724167,
0.02100476436316967,
0.07380786538124084,
0.009949114173650742,
-0.013511382043361664,
-0.021936582401394844,
0.04496029019355774,
0.0009299995144829154,
0.06662508845329285,
0.04620271548628807,
-0.05909288302063942,
0.014045236632227898,
-0.018733453005552292,
0.05734572187066078,
-0.030167654156684875,
-0.044300250709056854,
-0.010240307077765465,
0.027022764086723328,
0.028653448447585106,
-0.042747218161821365,
0.08044707775115967,
0.06662508845329285,
0.09038648754358292,
0.024964995682239532,
0.014423788525164127,
0.009531736373901367,
-0.010453849099576473,
0.008182539604604244,
-0.007779721636325121,
-0.011929229833185673,
-0.04721218720078468,
0.0008851071470417082,
-0.004680936690419912,
-0.016665978357195854,
0.035001467913389206,
-0.029798809438943863,
-0.019024647772312164,
0.045503851026296616,
0.033836692571640015,
0.039194654673337936,
0.03713688626885414,
-0.0230819433927536,
-0.026401551440358162,
-0.02271309867501259,
-0.0251979511231184,
-0.033759042620658875,
-0.013064885511994362,
-0.00828445702791214,
-0.08332018554210663,
0.006056826561689377,
-0.019257601350545883,
0.011900111101567745,
0.019539089873433113,
0.035836223512887955,
0.0034943229984492064,
0.049891166388988495,
-0.008837725035846233,
-0.07081827521324158,
0.04721218720078468,
0.030614150688052177,
-0.04228130728006363,
-0.0031376108527183533,
0.04034001752734184,
-0.031118886545300484,
-0.007507941219955683,
0.026576267555356026,
0.0006612520664930344,
0.030652977526187897,
-0.00414222851395607,
0.01131772343069315,
0.03570033237338066,
-0.03649626299738884,
-0.011084768921136856,
0.05031824856996536,
0.051211245357990265,
0.02096593752503395,
-0.04674627631902695,
0.007173068355768919,
0.02088828571140766,
-0.04092240333557129,
-0.022227777168154716,
-0.010638272389769554,
-0.0627036839723587,
-0.06794516742229462,
-0.003948099445551634,
0.019626447930932045,
0.026013292372226715,
-0.0668192207813263,
-0.06223777309060097,
-0.020267073065042496,
-0.014326724223792553,
-0.03234190121293068,
0.04030119255185127,
0.015219717286527157,
-0.009376433677971363,
0.014219952747225761,
0.0682169497013092,
-0.024266131222248077,
0.008813459426164627,
0.006993499118834734,
-0.014996469020843506,
-0.008347549475729465,
0.0007152442121878266,
0.15778809785842896,
0.014025824144482613,
0.004054870456457138,
0.013977291993796825,
0.001623404212296009,
-0.07803987711668015,
-0.029565853998064995,
-0.022538382560014725,
-0.01800546981394291,
-0.041465964168310165,
0.05664685741066933,
-0.04860991612076759,
0.061111826449632645,
0.01461791805922985,
0.007561326492577791,
-0.01828695647418499,
-0.019344959408044815,
0.08992058038711548,
0.01732601784169674,
-0.02467380277812481,
0.018956702202558517,
0.01295811403542757,
0.02152891270816326,
0.06712982803583145,
-0.024460259824991226,
0.005309429485350847,
-0.019189657643437386,
0.06561561673879623,
0.006027706898748875,
-0.04045649617910385,
-0.0033705655951052904,
-0.013074591755867004,
0.006047119852155447,
0.04678510129451752,
-0.02380022220313549,
-0.018461672589182854,
0.030575325712561607,
0.014122888445854187,
0.02515912428498268,
0.040262363851070404,
0.0180831216275692,
-0.010482968762516975,
0.0019437171285972,
0.06697452068328857,
-0.014501440338790417,
-0.0012982380576431751,
-0.026207422837615013,
-0.058122240006923676,
-0.009915141388773918,
0.03162362426519394,
-0.03952467441558838,
0.027527499943971634,
-0.020344724878668785,
-0.0010719563579186797,
0.005023089237511158,
0.026537440717220306,
0.038398727774620056,
0.0232760738581419,
-0.018034588545560837,
0.021063001826405525,
-0.0656544417142868,
0.014986762776970863,
0.007886492647230625,
-0.017481321468949318,
-0.007498234510421753,
-0.04678510129451752,
-0.027643976733088493,
-0.02671215683221817,
-0.03391434624791145,
-0.08906640857458115,
0.019772043451666832,
-0.03544796630740166,
-0.05505499988794327,
0.004877492319792509,
-0.023567266762256622,
-0.0361662432551384,
-0.03106064908206463,
-0.05183245614171028,
0.011473027057945728,
-0.10653802752494812,
0.01361815258860588,
-0.022751925513148308,
-0.0037952230777591467,
0.032846637070178986,
0.026304487138986588,
-0.04721218720078468,
-0.05746220052242279,
0.006789663806557655,
0.044300250709056854,
-0.005226924549788237,
-0.00822621863335371,
-0.009614241309463978,
-0.1078580990433693,
-0.0046299779787659645,
0.033836692571640015,
-0.02479027956724167,
-0.020014705136418343,
-0.0037199980579316616,
-0.0029070826712995768,
-0.06930407136678696,
0.05773397907614708,
-0.020694157108664513,
0.013802575878798962,
-0.023023705929517746,
0.02663450688123703,
-0.02055826596915722,
0.025741511955857277,
0.0029604679439216852,
-0.02539207972586155,
-0.014268484897911549,
-0.049813516438007355,
0.048687566071748734,
0.016753336414694786,
0.027100415900349617,
-0.040184713900089264,
-0.07939878106117249,
-0.029818221926689148,
0.013754043728113174,
0.03698158264160156,
-0.0013843828346580267,
0.0203253123909235,
-0.02966291829943657,
-0.014938230626285076,
0.036069177091121674,
-0.014336430467665195,
-0.0444943793118,
-0.029255248606204987,
0.015607975423336029,
0.01118183322250843,
0.03329313173890114,
0.07722453773021698,
-0.055404432117938995,
0.04453320428729057,
0.007308959029614925,
0.05994705110788345,
0.019742924720048904,
0.059636443853378296,
0.06495557725429535,
0.015569149516522884,
0.06973115354776382,
-0.011220659129321575,
-0.0008760073687881231,
-0.06569327414035797,
-0.049929991364479065,
-0.037311602383852005,
-0.04651332274079323,
0.01637478545308113,
0.08766867965459824,
0.02931348606944084,
0.02750808745622635,
0.013453143648803234,
0.048571087419986725,
0.04379551485180855,
-0.0015360461547970772,
-0.009803516790270805,
0.05528795346617699,
0.02315959520637989,
0.040107063949108124,
0.023780809715390205,
0.026304487138986588,
-0.03465203568339348,
0.021140653640031815,
-0.026964524760842323,
-0.005804458633065224,
0.030614150688052177,
0.003800076199695468,
0.020072944462299347,
0.008696981705725193,
-0.015792397782206535,
0.009172597900032997,
-0.0000925904605537653,
-0.06759573519229889,
0.018073415383696556,
0.019878815859556198,
-0.034244365990161896,
-0.0028536971658468246,
-0.036438021808862686,
-0.03331254422664642,
0.07497263699769974,
0.0007498234626837075,
-0.006843049079179764,
-0.045503851026296616,
-0.006561561953276396,
-0.018519911915063858,
-0.05493852123618126,
-0.04305782541632652,
0.02323724702000618,
0.004321798216551542,
-0.0043606236577034,
0.0066586267203092575,
-0.014084062539041042,
-0.019626447930932045,
0.02255779504776001,
-0.025605622678995132,
-0.024615563452243805,
0.012336901389062405,
0.06049061194062233,
0.04224248230457306,
-0.051133591681718826,
0.0017629344947636127,
-0.023625506088137627,
0.029080532491207123,
0.04775574803352356,
-0.02104358933866024,
-0.00820680521428585,
0.0315459705889225,
0.009934553876519203,
-0.030206480994820595,
-0.031118886545300484,
-0.04958055913448334,
0.010560620576143265,
0.023528441786766052,
0.01437525637447834,
0.018820811063051224,
-0.017995763570070267,
-0.03480733931064606,
0.003004146972671151,
-0.00026237755082547665,
0.03030354529619217,
0.03509853407740593,
-0.03570033237338066,
-0.02319842204451561,
-0.046901579946279526,
-0.027838105335831642,
-0.01357932761311531,
0.02108241431415081,
0.030652977526187897,
0.04266956448554993,
0.0036423462443053722,
0.024227306246757507,
-0.017199834808707237,
-0.03529266268014908,
0.005493852309882641,
0.0001904891396407038,
-0.006571268197149038,
-0.0655379667878151,
-0.13200776278972626,
0.004748881794512272,
-0.051133591681718826,
-0.014229659922420979,
-0.018898462876677513,
0.0027687656693160534,
-0.011783633381128311,
-0.000892993644811213,
0.02927466109395027,
0.01565650850534439,
-0.036515675485134125,
0.009187157265841961,
0.017102768644690514,
0.010395610705018044,
-0.010046178475022316,
0.015045001171529293,
0.0575786754488945,
0.04926995187997818,
-0.010347078554332256,
-0.04255308955907822,
0.05513264983892441,
0.022130712866783142,
0.01125948503613472,
0.028090473264455795,
0.011725394986569881,
0.032400138676166534,
0.006280074827373028,
0.01465674303472042,
-0.004734322428703308,
0.02259662188589573,
-0.03903935104608536,
-0.02655685506761074,
0.025062059983611107,
-0.030400609597563744,
0.06538266688585281,
0.06856638193130493,
-0.006047119852155447,
-0.036476850509643555,
-0.07703040540218353,
-0.13488087058067322,
-0.008638742379844189,
0.008755220100283623,
0.03397258371114731,
-0.033720217645168304,
-0.0046736570075154305,
0.01539443340152502,
0.03505970537662506,
0.007493381388485432,
-0.038398727774620056,
-0.002846417250111699,
0.0292358361184597,
0.07264309376478195,
0.04053414613008499,
0.00072131073102355,
-0.054239656776189804,
0.012084533460438251,
-0.029002880677580833,
0.008837725035846233,
0.02878933772444725,
0.007998117245733738,
0.000998551258817315,
-0.0364186093211174,
-0.029177596792578697,
-0.008696981705725193,
-0.012336901389062405,
-0.0546279139816761,
-0.015316782519221306,
0.05575386434793472,
-0.041504792869091034,
-0.02335372567176819,
0.01222042366862297,
0.04631919041275978,
-0.005644302349537611,
-0.012531029991805553,
0.0012217997573316097,
-0.0006703519029542804,
-0.052492495626211166,
-0.03618565574288368,
-0.0546279139816761,
0.0019594901241362095,
0.049735862761735916,
0.03521500900387764,
-0.019995292648673058,
-0.10560620576143265,
-0.052647799253463745,
0.005838431417942047,
-0.014588798396289349,
-0.06794516742229462,
0.010046178475022316,
0.022130712866783142,
0.0018976115388795733,
-0.0439896434545517,
0.03740866854786873,
0.049852341413497925,
-0.0072846924886107445,
0.04934760555624962,
0.027022764086723328,
-0.052764277905225754,
-0.0003554988361429423,
-0.016665978357195854,
-0.022538382560014725,
0.0044067297130823135,
-0.023780809715390205,
-0.05524912849068642,
-0.004824107047170401,
-0.005008529406040907,
-0.000822621863335371,
0.0452708937227726,
-0.04092240333557129,
-0.042863693088293076,
-0.048454612493515015,
0.005353108514100313,
0.02292664162814617,
-0.03226424753665924,
-0.032244835048913956,
0.02364491857588291,
0.016423318535089493,
0.050046470016241074,
-0.048687566071748734,
-0.011065356433391571,
0.041465964168310165,
-0.05587034299969673,
-0.05055120587348938,
0.013356078416109085,
0.04798870161175728,
-0.024091415107250214,
-0.033759042620658875,
-0.07481733709573746,
0.03445790708065033,
-0.01289987564086914,
0.011473027057945728,
0.022790750488638878,
-0.004304811824113131,
0.014957643114030361,
-0.028769925236701965,
-0.0656544417142868,
-0.00784766674041748,
0.02331489883363247,
-0.0010137176141142845,
0.02296546660363674,
-0.02467380277812481,
-0.05901523306965828,
0.041465964168310165,
-0.026304487138986588,
-0.03733101487159729,
0.048221655189991,
-0.0419318750500679,
0.0410388819873333,
-0.03758338466286659,
0.019315840676426888,
0.005527824629098177,
-0.02055826596915722,
-0.012171891517937183,
0.0016998425126075745,
-0.012074827216565609,
-0.04445555433630943,
0.07974821329116821,
-0.05606447160243988,
0.006003440823405981,
-0.01445290818810463,
0.09116300195455551,
-0.031177125871181488,
-0.03901993855834007,
0.03135184198617935,
-0.012696039862930775,
0.0021706053521484137,
-0.019587621092796326,
0.006280074827373028,
0.028323428705334663,
0.012647507712244987,
-0.04204835370182991,
0.013113417662680149,
0.06072356924414635,
-0.005057062022387981,
0.0017483747797086835,
-0.007702070288360119,
-0.015404140576720238,
-0.0014947936870157719,
0.01792781800031662,
-0.032400138676166534,
0.020771808922290802,
0.0014681009342893958,
0.012647507712244987,
-0.025722099468111992,
-0.029604680836200714,
0.004654244054108858,
0.03486557677388191,
0.04926995187997818,
-0.03754455968737602,
0.015248836949467659,
-0.018073415383696556,
-0.10661567747592926,
0.006614947225898504,
-0.0053725214675068855,
0.015957407653331757,
0.005362815223634243,
0.02974057011306286,
0.009803516790270805,
-0.027119828388094902,
0.02527560293674469,
0.006988645996898413,
-0.039427611976861954,
0.030536500737071037,
0.007192481309175491,
0.02875051274895668,
0.034923817962408066,
0.06747926026582718,
-0.015637096017599106,
-0.045814454555511475,
-0.047367487102746964,
-0.04100005701184273,
-0.008541678078472614,
-0.06161656230688095,
0.019053766503930092,
-0.01788899302482605,
0.001082269474864006,
0.023450789973139763,
-0.06740161031484604,
0.12261191010475159,
-0.03403082117438316,
-0.008046649396419525,
-0.017937524244189262,
-0.0011738741304725409,
-0.025527970865368843,
0.0018490792717784643,
-0.016306839883327484,
-0.04204835370182991,
0.074118472635746,
0.002117220079526305,
-0.049929991364479065,
0.05392904952168465,
-0.016753336414694786,
0.012230129912495613,
0.021393021568655968,
-0.014161714352667332,
0.006614947225898504,
0.005605476442724466,
0.03212835639715195,
0.02335372567176819,
0.04600858688354492,
-0.019869107753038406,
-0.029604680836200714,
0.049813516438007355,
0.0012424259912222624,
-0.017102768644690514,
0.020383549854159355,
-0.03249720484018326,
0.0064402311109006405,
-0.01597682014107704,
-0.037796925753355026,
-0.014006410725414753,
0.031448908150196075,
-0.018781986087560654,
-0.03884522244334221,
-0.028381668031215668,
-0.02131536975502968,
0.03969939053058624,
-0.013734630309045315,
0.12354373186826706,
0.06087886914610863,
-0.007114829961210489,
-0.008347549475729465
] |
5,611 | flask.sansio.blueprints | add_app_template_global | Register a template global, available in any template rendered by the
application. Works like the :meth:`app_template_global` decorator. Equivalent to
:meth:`.Flask.add_template_global`.
.. versionadded:: 0.10
:param name: the optional name of the global, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: Callable[..., Any], name: str | None = None) -> NoneType | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,612 | flask.sansio.blueprints | add_app_template_test | Register a template test, available in any template rendered by the
application. Works like the :meth:`app_template_test` decorator. Equivalent to
:meth:`.Flask.add_template_test`.
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: Callable[..., bool], name: str | None = None) -> NoneType | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,613 | flask.sansio.blueprints | add_url_rule | Register a URL rule with the blueprint. See :meth:`.Flask.add_url_rule` for
full documentation.
The URL rule is prefixed with the blueprint's URL prefix. The endpoint name,
used with :func:`url_for`, is prefixed with the blueprint's name.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, rule: 'str', endpoint: 'str | None' = None, view_func: 'ft.RouteCallable | None' = None, provide_automatic_options: 'bool | None' = None, **options: 't.Any') -> 'None' | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,614 | flask.sansio.blueprints | after_app_request | Like :meth:`after_request`, but after every request, not only those handled
by the blueprint. Equivalent to :meth:`.Flask.after_request`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_after_request) -> ~T_after_request | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,615 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,616 | flask.sansio.blueprints | app_context_processor | Like :meth:`context_processor`, but for templates rendered by every view, not
only by the blueprint. Equivalent to :meth:`.Flask.context_processor`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_template_context_processor) -> ~T_template_context_processor | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,617 | flask.sansio.blueprints | app_errorhandler | Like :meth:`errorhandler`, but for every request, not only those handled by
the blueprint. Equivalent to :meth:`.Flask.errorhandler`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, code: type[Exception] | int) -> Callable[[~T_error_handler], ~T_error_handler] | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,618 | flask.sansio.blueprints | app_template_filter | Register a template filter, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_filter`.
:param name: the optional name of the filter, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, name: str | None = None) -> Callable[[~T_template_filter], ~T_template_filter] | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,619 | flask.sansio.blueprints | app_template_global | Register a template global, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_global`.
.. versionadded:: 0.10
:param name: the optional name of the global, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, name: str | None = None) -> Callable[[~T_template_global], ~T_template_global] | [
-0.013646034523844719,
-0.018867632374167442,
-0.026030344888567924,
-0.036551184952259064,
0.013063699938356876,
0.00048194231931120157,
0.006531849969178438,
-0.0011501102708280087,
-0.007347118109464645,
-0.00717241782695055,
-0.008895156905055046,
0.009666750207543373,
0.016732405871152878,
0.026787379756569862,
0.017557380720973015,
-0.0015832214849069715,
0.05800050124526024,
0.01740209199488163,
0.03396950289607048,
-0.04720790311694145,
0.03193133324384689,
0.046004414558410645,
0.014956287108361721,
0.03998695686459541,
-0.03198956698179245,
0.034610070288181305,
-0.046936146914958954,
0.04627617076039314,
0.0482172816991806,
0.008230325765907764,
0.05182775482535362,
-0.020304057747125626,
0.03649295121431351,
0.029815519228577614,
0.05373004823923111,
-0.015305687673389912,
-0.00027175602735951543,
0.06137803941965103,
-0.04410212114453316,
0.024613332003355026,
0.058854591101408005,
-0.01851823180913925,
0.008919420652091503,
-0.05000310763716698,
0.05671936646103859,
0.044373877346515656,
0.0308443084359169,
0.07279179245233536,
-0.0421610064804554,
-0.015596854500472546,
-0.0062989164143800735,
-0.026903847232460976,
-0.007560641039162874,
0.040064603090286255,
-0.033154234290122986,
0.05070190876722336,
0.022245172411203384,
0.09783217310905457,
0.008730161935091019,
0.025331543758511543,
-0.0031543110962957144,
-0.023739829659461975,
0.025972111150622368,
-0.024982143193483353,
0.03202838823199272,
-0.000022595786504098214,
-0.039404623210430145,
-0.001943540875799954,
-0.0015747291035950184,
0.003923477604985237,
0.06234859675168991,
0.0077644577249884605,
-0.029951395466923714,
0.0007570346351712942,
0.025952700525522232,
-0.03872523456811905,
0.038608767092227936,
-0.06988012045621872,
-0.026243867352604866,
-0.021352259442210197,
0.028573205694556236,
-0.004299568478018045,
-0.04654792323708534,
0.00617274409160018,
0.029718462377786636,
-0.009822038933634758,
0.03587179630994797,
-0.020342878997325897,
0.017673848196864128,
0.007977980189025402,
-0.06293093413114548,
-0.020866980776190758,
0.042044539004564285,
0.03649295121431351,
0.01605301722884178,
-0.05446767061948776,
-0.02573917806148529,
0.019750839099287987,
0.01436424721032381,
-0.03129076585173607,
-0.024438630789518356,
-0.05268184840679169,
-0.05112895369529724,
0.040103424340486526,
0.0308443084359169,
0.010637307539582253,
-0.019304383546113968,
-0.010229673236608505,
-0.04146220535039902,
-0.017062395811080933,
-0.030203741043806076,
0.0218181274831295,
0.042393941432237625,
0.03521181643009186,
-0.023565130308270454,
-0.015111575834453106,
0.03239719942212105,
0.0013102522352710366,
0.045344434678554535,
-0.05772874504327774,
-0.028456738218665123,
-0.015101870521903038,
0.00014421873493120074,
0.015684204176068306,
0.049925465136766434,
0.054584138095378876,
0.0061533330008387566,
-0.010384962894022465,
0.03639589622616768,
-0.04266569763422012,
0.062193308025598526,
0.05609820783138275,
-0.0797409862279892,
-0.021934593096375465,
0.04130691662430763,
-0.02560329996049404,
0.024263931438326836,
0.01243283785879612,
-0.0691036731004715,
0.06502733379602432,
-0.05959221348166466,
0.012559010647237301,
-0.03721116483211517,
0.008167238906025887,
0.0232351403683424,
0.00652214465662837,
-0.022245172411203384,
-0.01587831601500511,
0.0026496213395148516,
0.03573591634631157,
0.022555749863386154,
0.009715277701616287,
0.027272658422589302,
0.020304057747125626,
-0.03961814567446709,
0.015354215167462826,
-0.035755328834056854,
0.0077401939779520035,
0.006022307556122541,
-0.013345162384212017,
0.00556614575907588,
0.012714299373328686,
-0.04285980761051178,
-0.0370364636182785,
-0.0614168606698513,
-0.013083111494779587,
0.01725650765001774,
-0.024826854467391968,
0.020964035764336586,
0.07376234978437424,
0.009860861115157604,
-0.01351015642285347,
-0.02191518247127533,
0.04491738975048065,
0.0009766232687979937,
0.06665787100791931,
0.04615970328450203,
-0.05908752605319023,
0.014005141332745552,
-0.0187220498919487,
0.0573793426156044,
-0.030164919793605804,
-0.044373877346515656,
-0.010210261680185795,
0.027097957208752632,
0.02865085005760193,
-0.042743340134620667,
0.08043978363275528,
0.06650257855653763,
0.09045593440532684,
0.024846265092492104,
0.014422480948269367,
0.009574547410011292,
-0.010462607257068157,
0.008206061087548733,
-0.007793574593961239,
-0.011850504204630852,
-0.04720790311694145,
0.0008431716123595834,
-0.004675659351050854,
-0.016625644639134407,
0.03494006022810936,
-0.029815519228577614,
-0.018945276737213135,
0.04549972340464592,
0.03383362665772438,
0.03917168825864792,
0.037075284868478775,
-0.023118672892451286,
-0.026379745453596115,
-0.022672217339277267,
-0.025234488770365715,
-0.033736567944288254,
-0.01316075585782528,
-0.008337086997926235,
-0.08331263065338135,
0.0060950992628932,
-0.019217032939195633,
0.01196697074919939,
0.019595550373196602,
0.03581356257200241,
0.003460036590695381,
0.04984781891107559,
-0.008802954107522964,
-0.0708506777882576,
0.04724672809243202,
0.030689019709825516,
-0.04227747395634651,
-0.0031761485151946545,
0.04029753804206848,
-0.03119370900094509,
-0.007570346351712942,
0.026554446667432785,
0.0006921286112628877,
0.030766664072871208,
-0.004166116937994957,
0.011306991800665855,
0.035755328834056854,
-0.036415308713912964,
-0.011093469336628914,
0.050313688814640045,
0.05120659992098808,
0.02104168012738228,
-0.046664390712976456,
0.007153006736189127,
0.020866980776190758,
-0.04087987169623375,
-0.022245172411203384,
-0.010598485358059406,
-0.06262034922838211,
-0.06793900579214096,
-0.004010827746242285,
0.019673194736242294,
0.025933289900422096,
-0.06677433848381042,
-0.062115661799907684,
-0.020265234634280205,
-0.014267191290855408,
-0.03233896568417549,
0.04033635929226875,
0.015189221128821373,
-0.00934161338955164,
0.014218663796782494,
0.06821076571941376,
-0.024263931438326836,
0.008817512542009354,
0.007031687069684267,
-0.014995109289884567,
-0.008395319804549217,
0.0007006209925748408,
0.15761849284172058,
0.014053668826818466,
0.004103030543774366,
0.013966318219900131,
0.00164509448222816,
-0.0779939815402031,
-0.029601994901895523,
-0.02253633923828602,
-0.017965015023946762,
-0.041423384100198746,
0.05668054148554802,
-0.048605505377054214,
0.06110628321766853,
0.014626297168433666,
0.007570346351712942,
-0.018314415588974953,
-0.019362617284059525,
0.08999006450176239,
0.017305035144090652,
-0.024671565741300583,
0.019022921100258827,
0.012947233393788338,
0.02156578190624714,
0.06712374091148376,
-0.024613332003355026,
0.00532350642606616,
-0.019149094820022583,
0.06564848870038986,
0.006046571768820286,
-0.040452826768159866,
-0.0033508487977087498,
-0.01304428931325674,
0.0061339219100773335,
0.04681967943906784,
-0.023798063397407532,
-0.018459998071193695,
0.03063078597187996,
0.014092491008341312,
0.025156844407320023,
0.04021989181637764,
0.018120303750038147,
-0.010452901013195515,
0.0019605255220085382,
0.06685198098421097,
-0.014538947492837906,
-0.0013066126266494393,
-0.026166222989559174,
-0.058155789971351624,
-0.009923947975039482,
0.03167898952960968,
-0.03952109068632126,
0.0275444146245718,
-0.02028464712202549,
-0.001043955679051578,
0.005027486477047205,
0.026476802304387093,
0.03845347836613655,
0.023312784731388092,
-0.018032953143119812,
0.021061092615127563,
-0.06564848870038986,
0.015014520846307278,
0.007793574593961239,
-0.017460323870182037,
-0.007560641039162874,
-0.04681967943906784,
-0.027622058987617493,
-0.026787379756569862,
-0.033911269158124924,
-0.08905833214521408,
0.01976054534316063,
-0.03552239388227463,
-0.0550888292491436,
0.004850359633564949,
-0.02354571782052517,
-0.03616296127438545,
-0.031096654012799263,
-0.05186657980084419,
0.011433164589107037,
-0.10652836412191391,
0.013733385130763054,
-0.02278868481516838,
-0.0037900260649621487,
0.032804835587739944,
0.026302101090550423,
-0.047285549342632294,
-0.057495810091495514,
0.006706550717353821,
0.04425740987062454,
-0.005173069890588522,
-0.00826429482549429,
-0.009618221782147884,
-0.10777067393064499,
-0.00461014686152339,
0.03383362665772438,
-0.024749210104346275,
-0.019993478432297707,
-0.003719660686329007,
-0.002882554894313216,
-0.06929778307676315,
0.05768992379307747,
-0.020653458312153816,
0.013840146362781525,
-0.023079851642251015,
0.026632091030478477,
-0.020575813949108124,
0.025758588686585426,
0.0028728493489325047,
-0.02535095438361168,
-0.014218663796782494,
-0.04984781891107559,
0.048683151602745056,
0.016790639609098434,
0.027117369696497917,
-0.04021989181637764,
-0.07958569377660751,
-0.02983492985367775,
0.0137722073122859,
0.03691999614238739,
-0.0012993335258215666,
0.020381702110171318,
-0.029679641127586365,
-0.014917464926838875,
0.03616296127438545,
-0.014306013472378254,
-0.04460681229829788,
-0.029272006824612617,
0.0155580323189497,
0.011200230568647385,
0.033251289278268814,
0.07721753418445587,
-0.0553605854511261,
0.04460681229829788,
0.007327707018703222,
0.05998043715953827,
0.019702311605215073,
0.05959221348166466,
0.06494969129562378,
0.015655087307095528,
0.06968601047992706,
-0.011209935881197453,
-0.0008995852549560368,
-0.06564848870038986,
-0.049964286386966705,
-0.037308219820261,
-0.04654792323708534,
0.016402417793869972,
0.08773837238550186,
0.02934965118765831,
0.02750559151172638,
0.013548978604376316,
0.04852786287665367,
0.04383036494255066,
-0.0015443991869688034,
-0.00979292206466198,
0.055244117975234985,
0.023157496005296707,
0.040103424340486526,
0.023739829659461975,
0.026302101090550423,
-0.03457124903798103,
0.021196970716118813,
-0.02688443474471569,
-0.005823343526571989,
0.03063078597187996,
0.003857965115457773,
0.020090535283088684,
0.00872045662254095,
-0.01580067165195942,
0.009166913107037544,
-0.00006092521289247088,
-0.06758960336446762,
0.017935898154973984,
0.01983818970620632,
-0.03414420410990715,
-0.002785499207675457,
-0.03643471747636795,
-0.033290114253759384,
0.07500465959310532,
0.0007024407968856394,
-0.006890956312417984,
-0.04546090215444565,
-0.00658037792891264,
-0.01854734867811203,
-0.05501118302345276,
-0.04297627508640289,
0.023332195356488228,
0.00430684769526124,
-0.004365080967545509,
0.006740519776940346,
-0.013976024463772774,
-0.019673194736242294,
0.02253633923828602,
-0.025642123073339462,
-0.024671565741300583,
0.01245224941521883,
0.060485128313302994,
0.0421610064804554,
-0.05112895369529724,
0.0017190994694828987,
-0.023565130308270454,
0.029058484360575676,
0.04779023677110672,
-0.021022269502282143,
-0.008312822319567204,
0.03160134330391884,
0.009957917034626007,
-0.030203741043806076,
-0.03101900964975357,
-0.04949842020869255,
0.010472312569618225,
0.023565130308270454,
0.014306013472378254,
0.01878998801112175,
-0.018032953143119812,
-0.03480418398976326,
0.00302571221254766,
-0.00022838424774818122,
0.030242564156651497,
0.03511476144194603,
-0.035658273845911026,
-0.02309926226735115,
-0.04689732566475868,
-0.027796758338809013,
-0.013578095473349094,
0.02115814760327339,
0.030727842822670937,
0.04266569763422012,
0.0037269399035722017,
0.024128053337335587,
-0.01718856953084469,
-0.0352894626557827,
0.005512765143066645,
0.0001518012140877545,
-0.006570672616362572,
-0.06553202122449875,
-0.1319957822561264,
0.0048333751037716866,
-0.05112895369529724,
-0.014247780665755272,
-0.01889674924314022,
0.0028073368594050407,
-0.011811682023108006,
-0.0008534837979823351,
0.029194362461566925,
0.0156259723007679,
-0.036590006202459335,
0.009108679369091988,
0.017101218923926353,
0.010375256650149822,
-0.010025856085121632,
0.015082459896802902,
0.057573456317186356,
0.04918783903121948,
-0.010355846025049686,
-0.04254923015832901,
0.055205296725034714,
0.022148115560412407,
0.011229347437620163,
0.028107337653636932,
0.011685509234666824,
0.03241661190986633,
0.0062795053236186504,
0.014665120281279087,
-0.004653822164982557,
0.02271103858947754,
-0.03913286700844765,
-0.026612678542733192,
0.02500155381858349,
-0.030378442257642746,
0.06537673622369766,
0.0685601606965065,
-0.006143627222627401,
-0.03657059744000435,
-0.07702342420816422,
-0.13486863672733307,
-0.008652517572045326,
0.008783542551100254,
0.033988915383815765,
-0.033736567944288254,
-0.004644116386771202,
0.015480387955904007,
0.03505652770400047,
0.00741505715996027,
-0.038434065878391266,
-0.0028728493489325047,
0.029252594336867332,
0.07255885750055313,
0.04053046926856041,
0.0006969814421609044,
-0.054234739392995834,
0.012005792930722237,
-0.029058484360575676,
0.00872045662254095,
0.0286896713078022,
0.007987686432898045,
0.0009820825653150678,
-0.03639589622616768,
-0.02917494997382164,
-0.008773837238550186,
-0.012335782870650291,
-0.05470060557126999,
-0.015305687673389912,
0.05574880912899971,
-0.04150102660059929,
-0.023312784731388092,
0.012277549132704735,
0.04615970328450203,
-0.005483648274093866,
-0.01253959909081459,
0.0012210822897031903,
-0.0006757504888810217,
-0.05244891345500946,
-0.03616296127438545,
-0.05470060557126999,
0.001893799751996994,
0.04977017641067505,
0.03521181643009186,
-0.01989642344415188,
-0.10567427426576614,
-0.05268184840679169,
0.0058718714863061905,
-0.014626297168433666,
-0.06793900579214096,
0.010045267641544342,
0.022109294310212135,
0.0018367795273661613,
-0.044024474918842316,
0.03740527480840683,
0.049886640161275864,
-0.007298590615391731,
0.04942077398300171,
0.02702031284570694,
-0.05275949090719223,
-0.0003333257627673447,
-0.016664467751979828,
-0.022594572976231575,
0.004396624397486448,
-0.023817474022507668,
-0.055244117975234985,
-0.004867344629019499,
-0.005032339133322239,
-0.0008522705757059157,
0.04526678845286369,
-0.04091869294643402,
-0.04293745383620262,
-0.04856668412685394,
0.0053817396983504295,
0.022905150428414345,
-0.03226132318377495,
-0.03216426819562912,
0.02362336404621601,
0.016470355913043022,
0.05000310763716698,
-0.048683151602745056,
-0.01102553028613329,
0.04146220535039902,
-0.05582645162940025,
-0.050624266266822815,
0.013413101434707642,
0.047984350472688675,
-0.024128053337335587,
-0.033736567944288254,
-0.07481054961681366,
0.034435369074344635,
-0.01293752808123827,
0.011471986770629883,
0.022769272327423096,
-0.004268025513738394,
0.014995109289884567,
-0.02872849442064762,
-0.06564848870038986,
-0.007817838340997696,
0.02327396161854267,
-0.00100513338111341,
0.023002207279205322,
-0.024632742628455162,
-0.05897105857729912,
0.041423384100198746,
-0.026340924203395844,
-0.03728880733251572,
0.04810081794857979,
-0.04192807152867317,
0.041035160422325134,
-0.037560563534498215,
0.019401438534259796,
0.0055030593648552895,
-0.020536990836262703,
-0.01210284885019064,
0.0016996883787214756,
-0.012083437293767929,
-0.0444515198469162,
0.0797409862279892,
-0.05609820783138275,
0.006056277081370354,
-0.014471008442342281,
0.09123238176107407,
-0.0312519446015358,
-0.03895816579461098,
0.031310174614191055,
-0.012626949697732925,
0.0021655557211488485,
-0.0196634903550148,
0.006318327505141497,
0.028282037004828453,
0.012597832828760147,
-0.04208336025476456,
0.013141345232725143,
0.06071805953979492,
-0.0051002781838178635,
0.0018125156639143825,
-0.007725635543465614,
-0.01544156577438116,
-0.0014400642830878496,
0.01792619191110134,
-0.03233896568417549,
0.02076992578804493,
0.0014121608110144734,
0.012617244385182858,
-0.025622710585594177,
-0.029601994901895523,
0.00467323325574398,
0.0348818264901638,
0.049265485256910324,
-0.037560563534498215,
0.015198926441371441,
-0.01809118688106537,
-0.10676129907369614,
0.006585231050848961,
-0.0053526232950389385,
0.016004489734768867,
0.005362328607589006,
0.029757285490632057,
0.009880272671580315,
-0.027097957208752632,
0.025273310020565987,
0.006949189584702253,
-0.03942403569817543,
0.030475497245788574,
0.007235504221171141,
0.028767315670847893,
0.03484300523996353,
0.06751196086406708,
-0.0156259723007679,
-0.045732658356428146,
-0.047324370592832565,
-0.04099633917212486,
-0.008536051027476788,
-0.06161097437143326,
0.019022921100258827,
-0.01784854754805565,
0.001071252510882914,
0.02340983971953392,
-0.06739549338817596,
0.12260078638792038,
-0.03402773663401604,
-0.008070182986557484,
-0.01792619191110134,
-0.0010797448921948671,
-0.025583889335393906,
0.0017482162220403552,
-0.01632477343082428,
-0.042044539004564285,
0.074072927236557,
0.002106109168380499,
-0.049925465136766434,
0.05380769446492195,
-0.016858579590916634,
0.01220961008220911,
0.021371670067310333,
-0.014170135371387005,
0.006575525272637606,
0.005527323577553034,
0.03212544322013855,
0.023390429094433784,
0.046004414558410645,
-0.019789662212133408,
-0.02956317365169525,
0.049886640161275864,
0.0012690036091953516,
-0.01705269142985344,
0.020381702110171318,
-0.03251366689801216,
0.006410530768334866,
-0.01601419411599636,
-0.03779349848628044,
-0.013956612907350063,
0.03146546706557274,
-0.018741460517048836,
-0.03880287706851959,
-0.028437327593564987,
-0.02133284881711006,
0.03961814567446709,
-0.013675151392817497,
0.12353252619504929,
0.06095099449157715,
-0.007060803938657045,
-0.00837105605751276
] |
5,620 | flask.sansio.blueprints | app_template_test | Register a template test, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_test`.
.. versionadded:: 0.10
:param name: the optional name of the test, otherwise the
function name will be used.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, name: str | None = None) -> Callable[[~T_template_test], ~T_template_test] | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,621 | flask.sansio.blueprints | app_url_defaults | Like :meth:`url_defaults`, but for every request, not only those handled by
the blueprint. Equivalent to :meth:`.Flask.url_defaults`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_url_defaults) -> ~T_url_defaults | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,622 | flask.sansio.blueprints | app_url_value_preprocessor | Like :meth:`url_value_preprocessor`, but for every request, not only those
handled by the blueprint. Equivalent to :meth:`.Flask.url_value_preprocessor`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_url_value_preprocessor) -> ~T_url_value_preprocessor | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,623 | flask.sansio.blueprints | before_app_request | Like :meth:`before_request`, but before every request, not only those handled
by the blueprint. Equivalent to :meth:`.Flask.before_request`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_before_request) -> ~T_before_request | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,624 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,625 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,626 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,627 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,628 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,629 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,630 | flask.blueprints | 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.
Note this is a duplicate of the same method in the Flask
class.
.. 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.
Note this is a duplicate of the same method in the Flask
class.
.. 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 # type: ignore[no-any-return]
| (self, filename: str | None) -> int | None | [
0.06919094175100327,
-0.014132542535662651,
-0.02713022567331791,
0.017324334010481834,
0.041209571063518524,
0.010036410763859749,
-0.020232411101460457,
0.00007272962102433667,
-0.011428385972976685,
-0.04138689488172531,
-0.009087739512324333,
-0.012740567326545715,
-0.05124598369002342,
-0.00973496399819851,
0.0628073588013649,
0.026030831038951874,
0.0347905270755291,
-0.04404671862721443,
0.03443588316440582,
-0.05557263270020485,
0.05865803360939026,
-0.05096226930618286,
-0.05848070979118347,
-0.04553622379899025,
-0.0032538538798689842,
0.026740118861198425,
0.022431200370192528,
0.01046198233962059,
0.019664980471134186,
0.01783856749534607,
-0.01723567396402359,
-0.02340647019445896,
0.019274873659014702,
0.005660996772348881,
-0.0025622991379350424,
0.017191343009471893,
-0.06560904532670975,
-0.021739644929766655,
-0.11759977787733078,
-0.027077030390501022,
0.017891762778162956,
0.04358568415045738,
0.03510970622301102,
0.006680596619844437,
-0.03918810561299324,
0.01422120351344347,
-0.04418857768177986,
0.012270664796233177,
-0.022058824077248573,
-0.00980589259415865,
0.04301825538277626,
0.013112942688167095,
-0.035570740699768066,
0.008387317880988121,
-0.00832082238048315,
0.041209571063518524,
-0.03301730751991272,
0.054437775164842606,
-0.021278608590364456,
-0.0006195178139023483,
-0.002253094455227256,
-0.06067949905991554,
0.023229148238897324,
-0.08483072370290756,
0.01451378408819437,
0.05610460042953491,
0.00154602387920022,
0.010364456102252007,
0.0004111647722311318,
0.013263666070997715,
0.05553716793656349,
-0.02271491475403309,
-0.014478320255875587,
0.04018110781908035,
0.0013576195342466235,
-0.03165192902088165,
-0.02977232076227665,
0.023902971297502518,
-0.03667013719677925,
0.04152875021100044,
0.054756954312324524,
-0.048125121742486954,
0.037060242146253586,
-0.0392235703766346,
0.032786790281534195,
-0.0028992104344069958,
0.03652827814221382,
-0.0448269359767437,
-0.06355211138725281,
0.03709570690989494,
-0.0008600104483775795,
0.041493289172649384,
0.03612043708562851,
0.02684651128947735,
0.0201969463378191,
-0.06929733604192734,
-0.028495604172348976,
0.035127438604831696,
0.035003311932086945,
-0.03342514857649803,
0.013033147901296616,
0.027449404820799828,
0.042663611471652985,
-0.053125593811273575,
0.03447134792804718,
-0.0024381738621741533,
-0.004973874893039465,
-0.04170607402920723,
0.05039484053850174,
-0.018388263881206512,
-0.014753168448805809,
-0.02136727049946785,
-0.0006588610704056919,
0.024789579212665558,
0.018601050600409508,
0.06060856953263283,
-0.04777047783136368,
0.015072347596287727,
0.06440325826406479,
-0.018902497366070747,
-0.026030831038951874,
0.015453590080142021,
-0.008577939122915268,
-0.03172285854816437,
0.00818783137947321,
0.025729384273290634,
0.005904813762754202,
-0.09376773983240128,
0.06454511731863022,
0.04092585667967796,
0.024825043976306915,
0.005483674816787243,
0.06443872302770615,
0.009522177278995514,
-0.017040619626641273,
-0.001354294829070568,
0.05404766649007797,
0.11667770892381668,
-0.015161008574068546,
0.0330350399017334,
-0.007146066054701805,
0.0324498787522316,
0.053409308195114136,
-0.04408218339085579,
0.036776527762413025,
-0.006130899302661419,
0.035003311932086945,
0.01918621174991131,
-0.04003924876451492,
-0.016570717096328735,
0.03769860044121742,
-0.018299603834748268,
-0.04475600644946098,
0.026172688230872154,
0.05674295872449875,
0.016721440479159355,
-0.03791138902306557,
0.06997115910053253,
-0.07000662386417389,
-0.05716852843761444,
-0.026704654097557068,
0.038833461701869965,
-0.01077229529619217,
-0.08632022142410278,
0.03936542570590973,
-0.05351570248603821,
-0.020569322630763054,
0.11029412597417831,
0.018671980127692223,
0.09206544607877731,
-0.03209523484110832,
-0.0014307647943496704,
0.010302392765879631,
-0.001558214775286615,
0.007824322208762169,
0.027945905923843384,
0.037485815584659576,
-0.011401788331568241,
0.054721489548683167,
0.0952572375535965,
-0.003967573866248131,
-0.06763051450252533,
-0.034258559346199036,
0.0469193309545517,
0.06252364814281464,
0.027378477156162262,
-0.008413916453719139,
0.016393395140767097,
-0.012873558327555656,
0.03709570690989494,
0.04436589777469635,
0.002879261737689376,
0.023902971297502518,
-0.04241536185145378,
-0.0081745320931077,
0.027928173542022705,
-0.012182003818452358,
-0.014744303189218044,
0.01362717617303133,
0.03612043708562851,
-0.009380320087075233,
0.024434935301542282,
-0.007199262734502554,
-0.0780215635895729,
0.013307997025549412,
-0.044153112918138504,
0.02386750653386116,
-0.03613816946744919,
-0.029878713190555573,
0.055749956518411636,
-0.07270191609859467,
-0.021189948543906212,
-0.01989549957215786,
-0.011907154694199562,
-0.02340647019445896,
-0.002058040350675583,
-0.03652827814221382,
0.04773501306772232,
-0.042344432324171066,
0.032112967222929,
0.06057310849428177,
-0.011969217099249363,
-0.06940373033285141,
0.01209334284067154,
0.06039578467607498,
-0.015834830701351166,
0.029293552041053772,
0.008994645439088345,
-0.017359798774123192,
0.040322963148355484,
-0.030570268630981445,
0.04702572524547577,
0.04773501306772232,
0.00435324851423502,
0.08532722294330597,
0.019505390897393227,
0.021402733400464058,
0.01680123433470726,
-0.01755485311150551,
-0.00012973579578101635,
0.04081946611404419,
0.04284093156456947,
0.015728438273072243,
0.057097598910331726,
0.015426991507411003,
-0.059012673795223236,
0.0006001232541166246,
0.06376489996910095,
-0.044436827301979065,
-0.0070441062562167645,
0.08646208047866821,
-0.0007824322092346847,
-0.05706213787198067,
0.0246299896389246,
-0.015285134315490723,
0.06479336321353912,
-0.04585540294647217,
-0.01872517541050911,
-0.026881976053118706,
0.04819604754447937,
0.06869444251060486,
-0.041918858885765076,
-0.027183422818779945,
-0.02932901680469513,
-0.0024758547078818083,
0.019700445234775543,
-0.007203695829957724,
-0.02255532518029213,
-0.06270096451044083,
0.00020295027934480458,
0.034205362200737,
-0.019664980471134186,
-0.02610176056623459,
-0.07188623398542404,
-0.03140367940068245,
-0.059048138558864594,
0.020214678719639778,
-0.006653998512774706,
-0.04085493087768555,
-0.00855577364563942,
-0.05404766649007797,
-0.024860508739948273,
0.05230991169810295,
-0.03918810561299324,
-0.064225934445858,
0.05422498658299446,
-0.03507424145936966,
0.02743167243897915,
-0.03289318457245827,
0.03377979248762131,
-0.014992552809417248,
-0.028477871790528297,
-0.014247802086174488,
-0.04745129868388176,
-0.009460114873945713,
-0.0462455116212368,
-0.003202873980626464,
-0.029116230085492134,
0.06876537203788757,
0.03674106299877167,
-0.028247352689504623,
0.0023982764687389135,
0.013724702410399914,
-0.0049162451177835464,
-0.010506313294172287,
0.022307075560092926,
-0.037663139402866364,
-0.0436566136777401,
0.047522228211164474,
0.030605731531977654,
0.02473638206720352,
-0.015825964510440826,
-0.0064101810567080975,
-0.023211415857076645,
0.05670749396085739,
0.036599207669496536,
0.01946992799639702,
0.017492789775133133,
-0.0203210711479187,
0.00021237049077171832,
0.021704180166125298,
0.04660015180706978,
-0.0005757415201514959,
-0.009841356426477432,
0.057452242821455,
-0.021172216162085533,
0.03422309458255768,
0.058587104082107544,
0.025144223123788834,
0.01216427143663168,
-0.037343960255384445,
0.036918386816978455,
0.020728912204504013,
-0.02888571098446846,
-0.006445645354688168,
0.02062251791357994,
0.0009353721980005503,
-0.010000946000218391,
0.031740590929985046,
0.002697506919503212,
-0.023246880620718002,
-0.08213543146848679,
0.003655044361948967,
0.03776952996850014,
0.00409169914200902,
-0.013733568601310253,
0.07305655628442764,
0.014974821358919144,
0.021136751398444176,
-0.05986382067203522,
-0.020587055012583733,
-0.005758523475378752,
-0.03549981117248535,
0.016827832907438278,
-0.010869822464883327,
-0.05567902699112892,
0.012802629731595516,
0.022519860416650772,
-0.0069554452784359455,
0.02915169484913349,
-0.07589370757341385,
0.006614101119339466,
-0.009992079809308052,
-0.0007951771840453148,
0.005075834691524506,
0.02622588537633419,
0.03932996094226837,
-0.014558115042746067,
-0.006724927108734846,
-0.031581003218889236,
-0.054615095257759094,
-0.007212562020868063,
0.04227350279688835,
-0.02608402818441391,
0.03179378807544708,
-0.02711249329149723,
-0.04351475462317467,
0.010080740787088871,
0.018299603834748268,
0.041918858885765076,
-0.005315219052135944,
0.012492316775023937,
0.02314048632979393,
0.0016790152294561267,
0.0021489178761839867,
0.01603875122964382,
-0.01017826795578003,
-0.0693328008055687,
0.010125071741640568,
-0.002622145228087902,
0.023371005430817604,
0.015568848699331284,
-0.0010594973573461175,
0.008910417556762695,
-0.020693447440862656,
0.006068836431950331,
-0.029240354895591736,
0.05684934929013252,
0.05117505416274071,
-0.007522874977439642,
-0.006574203725904226,
0.04979194328188896,
-0.021189948543906212,
0.018317336216568947,
-0.00825432687997818,
0.025747116655111313,
0.03298184275627136,
0.013059746474027634,
-0.029985105618834496,
-0.012882424518465996,
-0.012962219305336475,
-0.036918386816978455,
-0.021331805735826492,
-0.0021411599591374397,
0.02179284207522869,
0.03370886296033859,
-0.022218413650989532,
-0.03507424145936966,
0.025711651891469955,
-0.03837242349982262,
-0.0021156701259315014,
-0.02064025029540062,
-0.019700445234775543,
-0.032644931226968765,
-0.027343012392520905,
0.024062560871243477,
0.0010822167387232184,
0.003834582632407546,
-0.08390864729881287,
0.0345422737300396,
0.008068139664828777,
0.011880557052791119,
-0.04681294038891792,
0.0014784199884161353,
0.09298752248287201,
-0.021455930545926094,
0.004792119842022657,
-0.052522700279951096,
-0.04993380233645439,
-0.015958957374095917,
0.014168007299304008,
-0.024966901168227196,
0.012137672863900661,
0.015994420275092125,
0.024647722020745277,
-0.047203049063682556,
-0.04188339412212372,
0.0052398573607206345,
0.017581449821591377,
-0.03326555714011192,
-0.01046198233962059,
-0.01842372864484787,
0.007416481617838144,
-0.01578163541853428,
0.0009941100142896175,
0.02989644557237625,
-0.07103508710861206,
-0.005683161783963442,
-0.012057878077030182,
-0.01620720699429512,
-0.04805419221520424,
0.05025298148393631,
0.08809343725442886,
-0.06830433756113052,
-0.055643562227487564,
0.038549747318029404,
0.008648867718875408,
-0.02830054983496666,
-0.04124503582715988,
0.00832525547593832,
0.0073677184991538525,
-0.03273359313607216,
-0.06128239259123802,
-0.035872187465429306,
-0.056210990995168686,
-0.0336202010512352,
0.024949168786406517,
0.027165690436959267,
0.01222633384168148,
-0.0115613779053092,
0.037804994732141495,
0.06156610697507858,
0.005944711156189442,
0.015152142383158207,
0.0012811495689675212,
-0.033832989633083344,
-0.04479147121310234,
-0.007061838172376156,
-0.025126490741968155,
-0.02576484903693199,
-0.05869349464774132,
-0.004118297249078751,
-0.020303338766098022,
0.00600234093144536,
-0.012173137627542019,
0.03698931634426117,
0.08568186312913895,
0.03003830276429653,
0.02282130718231201,
0.015666374936699867,
-0.061530642211437225,
-0.026314545422792435,
0.009185265749692917,
0.05525345355272293,
-0.031474608927965164,
0.018512390553951263,
-0.03628002852201462,
-0.01797155849635601,
0.002316265134140849,
0.00040257576620206237,
0.029275819659233093,
0.01000981219112873,
-0.015426991507411003,
0.03989739343523979,
-0.013449854217469692,
0.013582845218479633,
0.03232575207948685,
-0.039117176085710526,
0.00600677402690053,
-0.029240354895591736,
0.002462555654346943,
-0.03335421904921532,
0.02372564934194088,
-0.023388737812638283,
-0.002894777338951826,
-0.013671506196260452,
0.04316011071205139,
-0.014407391659915447,
0.02104809135198593,
0.0424862876534462,
0.01038218755275011,
-0.011366323567926884,
0.020959429442882538,
0.022466665133833885,
0.03459547087550163,
0.014496052637696266,
-0.05156516283750534,
-0.02445266768336296,
-0.1120673418045044,
-0.030126964673399925,
-0.0415642149746418,
-0.040322963148355484,
0.028850248083472252,
0.02844240702688694,
-0.038514282554388046,
-0.0539412721991539,
-0.013343460857868195,
0.03404577448964119,
0.09504445642232895,
-0.037343960255384445,
-0.007035240065306425,
0.022076556459069252,
0.03901078179478645,
-0.07915642857551575,
0.02120768092572689,
0.009619704447686672,
0.04592633247375488,
-0.027449404820799828,
-0.00021666500833816826,
-0.045607153326272964,
0.0036262297071516514,
-0.006982043385505676,
0.015462455339729786,
-0.009912285022437572,
-0.05582088232040405,
-0.008804024197161198,
0.044720541685819626,
0.024115756154060364,
-0.04454322159290314,
-0.00994774978607893,
-0.002555649494752288,
0.06589275598526001,
0.042521752417087555,
-0.04645829647779465,
0.04500425606966019,
0.011002814397215843,
-0.0165175199508667,
0.05801967531442642,
0.03975553438067436,
0.03406350687146187,
0.030978107824921608,
-0.01575503684580326,
0.031279556453228,
0.01842372864484787,
-0.07071591168642044,
-0.04245082288980484,
0.018654247745871544,
0.005621099378913641,
-0.02062251791357994,
0.03656374290585518,
-0.03698931634426117,
0.01608308218419552,
-0.006711627822369337,
0.009194131940603256,
-0.005501407198607922,
0.04071307182312012,
-0.025268347933888435,
0.0008566856849938631,
-0.01810454949736595,
0.06408407539129257,
0.028672926127910614,
0.0010522936936467886,
-0.020392000675201416,
0.08433421701192856,
-0.023229148238897324,
-0.011676636524498463,
-0.011916020885109901,
0.019487658515572548,
-0.0014617961132898927,
0.011534779332578182,
-0.03879799693822861,
-0.025020098313689232,
-0.004597065970301628,
0.028513336554169655,
-0.002697506919503212,
0.048586156219244,
-0.027608994394540787,
0.028389209881424904,
-0.036918386816978455,
-0.06635379791259766,
-0.05734585225582123,
0.019789107143878937,
0.03776952996850014,
0.0008694306598044932,
0.04433043673634529,
-0.016872163861989975,
0.003686075797304511,
0.027608994394540787,
-0.06926187127828598,
0.023796577006578445,
-0.017342066392302513,
-0.04525250941514969,
0.05840978026390076,
-0.020108286291360855,
-0.018210941925644875,
0.01430099830031395,
-0.008679899387061596,
0.03463093563914299,
-0.015435857698321342,
-0.00021375581854954362,
0.03431175649166107,
-0.046777475625276566,
-0.025729384273290634,
-0.02225387841463089,
-0.005723059177398682,
-0.005510272923856974,
0.00995661597698927,
0.04511065036058426,
0.030605731531977654,
-0.018512390553951263,
-0.017865166068077087,
-0.08483072370290756,
0.048408836126327515,
0.005315219052135944,
-0.0707513764500618,
-0.040606677532196045,
0.009451248683035374,
0.025906706228852272,
0.026598261669278145,
-0.061388786882162094,
-0.013733568601310253,
-0.05376395210623741,
-0.009291659109294415,
-0.04227350279688835,
-0.028850248083472252,
-0.08993759006261826,
-0.009557642042636871,
-0.05309012904763222,
-0.004543869756162167,
0.016118546947836876,
0.016242671757936478,
-0.010719099082052708,
0.021420465782284737,
0.010993948206305504,
0.045749008655548096,
0.010125071741640568,
-0.02727208286523819,
0.07263098657131195,
-0.01061270572245121,
0.004712325055152178,
0.024523597210645676,
0.02493143640458584,
-0.03415216878056526,
0.007420914713293314,
0.026420939713716507,
0.004395362455397844,
0.03464866802096367,
0.008143501356244087,
0.004827584605664015,
0.04539436474442482,
-0.013538515195250511,
-0.03872706741094589,
-0.033496078103780746,
0.0022896670270711184,
-0.054615095257759094,
-0.051955271512269974,
0.011330858804285526,
0.10107339173555374,
-0.023938434198498726,
-0.021881502121686935,
-0.058551639318466187,
0.03592538461089134,
0.029524069279432297,
-0.01828187145292759,
-0.03815963864326477,
-0.06294921785593033,
-0.04837337136268616,
0.009344855323433876,
-0.045749008655548096,
-0.02725435234606266,
-0.035730332136154175,
-0.002568948781117797,
0.07110601663589478,
0.05124598369002342,
-0.034843720495700836,
0.03773406520485878,
-0.015728438273072243,
0.018671980127692223,
0.0020048439037054777,
0.007620401680469513,
-0.03862067684531212,
0.06550265103578568,
0.018042488023638725,
0.010745697654783726,
-0.0562819205224514,
-0.013804497197270393,
0.025747116655111313,
-0.011126939207315445,
0.012031280435621738,
0.025888973847031593,
0.020072821527719498,
-0.0201969463378191,
0.048125121742486954,
-0.05557263270020485,
-0.020959429442882538,
0.03181152045726776,
-0.009708365425467491,
-0.02815869264304638,
-0.024807311594486237,
0.06585729122161865,
0.0032427713740617037,
0.031190894544124603,
-0.06479336321353912,
0.005173361860215664,
0.017608048394322395,
-0.05145876854658127,
-0.02548113465309143,
0.033974844962358475,
0.028655193746089935,
-0.003524269675835967,
-0.0006943254265934229,
-0.04213164374232292,
0.022484397515654564,
0.02104809135198593,
0.011029412038624287,
0.027768583968281746,
-0.06043124943971634,
-0.008657733909785748,
0.03549981117248535,
0.05362209305167198,
0.008826189674437046,
0.052983734756708145,
-0.005545737221837044,
0.010745697654783726,
0.015338330529630184,
-0.013059746474027634,
0.000972498906776309,
0.029683658853173256
] |
5,631 | flask.sansio.blueprints | make_setup_state | Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
object that is later passed to the register callback functions.
Subclasses can override this to return a subclass of the setup state.
| def make_setup_state(
self, app: App, options: dict[str, t.Any], first_registration: bool = False
) -> BlueprintSetupState:
"""Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
object that is later passed to the register callback functions.
Subclasses can override this to return a subclass of the setup state.
"""
return BlueprintSetupState(self, app, options, first_registration)
| (self, app: 'App', options: 'dict[str, t.Any]', first_registration: 'bool' = False) -> 'BlueprintSetupState' | [
-0.03352496773004532,
-0.033971451222896576,
0.002928824396803975,
-0.05831442028284073,
0.022984113544225693,
0.010657329112291336,
-0.006478840950876474,
0.00014407535491045564,
-0.017645742744207382,
-0.04519173502922058,
-0.0016027245437726378,
0.03148668259382248,
0.03092372603714466,
0.04181400313973427,
0.03220493346452713,
0.03705799952149391,
0.04169752821326256,
-0.00036094666575081646,
0.02224644646048546,
-0.013753584586083889,
0.06662286818027496,
0.056101422756910324,
0.03571855276823044,
0.05198602378368378,
0.0005113916704431176,
0.012404432520270348,
-0.06805937737226486,
0.0268277395516634,
0.05858619138598442,
-0.006702081765979528,
-0.000866271962877363,
-0.014714491553604603,
0.020674053579568863,
0.01706337369978428,
0.028147773817181587,
-0.03327260911464691,
0.023644128814339638,
0.09776012599468231,
-0.006867086049169302,
-0.0029919142834842205,
0.01440389547497034,
-0.044298771768808365,
0.020771116018295288,
0.0060663302429020405,
0.014889201149344444,
0.00932758953422308,
0.023974137380719185,
-0.021664079278707504,
0.01805339939892292,
-0.021101124584674835,
0.033971451222896576,
-0.038164496421813965,
0.014229184947907925,
0.06937941163778305,
0.006930175703018904,
0.020188746973872185,
0.04655059427022934,
0.024653567001223564,
0.011695885099470615,
0.03925158455967903,
-0.016830427572131157,
0.0263036098331213,
0.032418470829725266,
-0.04445406794548035,
0.025565942749381065,
-0.02275116555392742,
-0.06654521822929382,
-0.005532493349164724,
-0.0018502307357266545,
0.018373701721429825,
0.03336967155337334,
0.01546186301857233,
0.022945288568735123,
0.03606797382235527,
0.027157748118042946,
0.01155999954789877,
0.010337026789784431,
-0.07931848615407944,
0.01082233339548111,
-0.020596405491232872,
-0.01231707725673914,
0.030147235840559006,
-0.04612352326512337,
0.06891351193189621,
0.006910763680934906,
0.0170342568308115,
0.019062837585806847,
-0.017014844343066216,
0.010958218947052956,
-0.03486441448330879,
-0.05093776434659958,
0.021450543776154518,
0.010890276171267033,
0.04930713400244713,
0.02191643789410591,
-0.05303428694605827,
-0.036883290857076645,
0.05109306052327156,
-0.04022219777107239,
-0.015393920242786407,
-0.02176113985478878,
-0.03496147692203522,
-0.0536554791033268,
0.020072273910045624,
0.018383407965302467,
-0.01714102365076542,
-0.011530880816280842,
0.0015384213766083121,
0.0001697055995464325,
-0.05419902130961418,
-0.021664079278707504,
-0.004231872037053108,
0.033583205193281174,
0.03467029333114624,
-0.027041275054216385,
-0.02244056947529316,
0.07042767107486725,
-0.021411720663309097,
0.012957681901752949,
-0.04344463348388672,
-0.0020710451062768698,
-0.03195257484912872,
-0.006634138990193605,
-0.0010913328733295202,
0.0389021635055542,
0.02570182830095291,
0.012307371012866497,
-0.035602081567049026,
0.03719388693571091,
-0.0659240260720253,
0.03428204730153084,
0.03633974492549896,
-0.09426592290401459,
-0.05986740067601204,
-0.004163929261267185,
-0.004877329804003239,
0.024245910346508026,
-0.002407119842246175,
-0.02898249961435795,
0.04057161882519722,
-0.0497342050075531,
0.04666706547141075,
-0.039717480540275574,
0.033738505095243454,
0.03599032387137413,
0.01634512096643448,
-0.015850108116865158,
0.012880032882094383,
0.029545456171035767,
0.05066599324345589,
0.05532493442296982,
0.0010707073379307985,
0.006338102277368307,
0.04690001532435417,
-0.06196392700076103,
0.018266934901475906,
-0.023022936657071114,
-0.010278790257871151,
0.014374776743352413,
0.01839311420917511,
-0.011453231796622276,
0.014238891191780567,
-0.032263170927762985,
-0.026711266487836838,
-0.023217059671878815,
0.01570451632142067,
-0.029079562053084373,
0.0009718261426314712,
0.0234305951744318,
0.02838071994483471,
-0.0034141307696700096,
-0.0374656580388546,
0.00528013426810503,
0.029196035116910934,
-0.00026843513478524983,
0.0331561341881752,
0.04410465061664581,
-0.06871939450502396,
0.014064180664718151,
-0.0038436269387602806,
0.062080398201942444,
-0.008919931948184967,
-0.04231872037053108,
-0.02327529713511467,
0.015151266939938068,
0.02115936018526554,
-0.020693466067314148,
0.08727750927209854,
0.08238562196493149,
0.049074187874794006,
0.03008899837732315,
-0.0014328672550618649,
0.012947975657880306,
-0.004731737542897463,
-0.00921596959233284,
0.009604214690625668,
-0.042939912527799606,
-0.013646816834807396,
0.003945541568100452,
-0.022945288568735123,
-0.0261094868183136,
0.05272369086742401,
-0.025371819734573364,
-0.014792140573263168,
0.0020310075487941504,
0.04620117321610451,
0.04985067620873451,
0.008356977254152298,
0.012249134480953217,
-0.03812567517161369,
-0.0009214755846187472,
-0.056489668786525726,
-0.024556506425142288,
0.03917393460869789,
-0.0008844709955155849,
-0.09690599143505096,
0.07698900997638702,
0.0006879218854010105,
0.011579412035644054,
0.011084399186074734,
0.033893801271915436,
0.01839311420917511,
0.008488009683787823,
-0.014326246455311775,
-0.042862266302108765,
0.02486710250377655,
-0.07066062092781067,
-0.0892963856458664,
-0.02981722727417946,
0.02047993242740631,
-0.027876000851392746,
0.0025405792985111475,
0.004891888704150915,
-0.008492862805724144,
0.010802920907735825,
0.01326827798038721,
0.05536375939846039,
-0.023022936657071114,
-0.02869131602346897,
-0.0008316939347423613,
0.040028076618909836,
0.07097121328115463,
0.06588520109653473,
-0.027720702812075615,
0.01122028473764658,
0.012977094389498234,
-0.027429519221186638,
-0.0223240964114666,
-0.05878031626343727,
0.002271234057843685,
-0.06817584484815598,
-0.02255704253911972,
0.02486710250377655,
0.02228527143597603,
-0.04495878890156746,
-0.050471868366003036,
0.027410106733441353,
-0.021508781239390373,
-0.026730678975582123,
0.0450364388525486,
0.021314658224582672,
-0.020421694964170456,
0.003433543024584651,
0.036844465881586075,
-0.04779297858476639,
-0.016034524887800217,
-0.01424859743565321,
0.0024216792080551386,
-0.03208846226334572,
0.031506095081567764,
0.17144906520843506,
0.017170142382383347,
-0.006993265822529793,
0.02678891457617283,
0.0033631736878305674,
-0.09201410412788391,
-0.05284016579389572,
-0.05761558189988136,
-0.03643680736422539,
-0.0454246811568737,
0.033971451222896576,
-0.02550770714879036,
0.04231872037053108,
0.0749313160777092,
-0.03583502769470215,
0.00003162074790452607,
-0.0076921069994568825,
0.09053876996040344,
0.05004480108618736,
-0.03296201303601265,
-0.012365608476102352,
0.035291485488414764,
0.01941225677728653,
0.034573230892419815,
0.0497342050075531,
0.01827664114534855,
-0.04682236537337303,
0.09325648844242096,
0.016248060390353203,
-0.0403386726975441,
0.02550770714879036,
-0.031079024076461792,
-0.08549158275127411,
0.07411599904298782,
0.003351040882989764,
0.0003245486877858639,
-0.009419797919690609,
-0.019460787996649742,
-0.011365876533091068,
-0.0045303357765078545,
-0.019218135625123978,
0.004326506983488798,
0.026128899306058884,
0.02172231674194336,
-0.010764096863567829,
-0.03020547330379486,
-0.02940957061946392,
-0.038960400968790054,
0.020771116018295288,
0.0261094868183136,
-0.04165870323777199,
0.005741175264120102,
-0.011880301870405674,
-0.0005129082128405571,
-0.01748073846101761,
0.008366682566702366,
0.007085474207997322,
-0.010783509351313114,
-0.02335294522345066,
0.003508765483275056,
-0.11942420899868011,
0.01900460012257099,
0.08331740647554398,
0.007900788448750973,
-0.01929578371345997,
-0.010502031072974205,
0.030554892495274544,
-0.01345269475132227,
-0.039950426667928696,
-0.06794290244579315,
0.06149803102016449,
-0.02308117412030697,
-0.06638991832733154,
0.00563926063477993,
-0.00625560013577342,
-0.01930548995733261,
-0.0223240964114666,
-0.02690538950264454,
0.049151837825775146,
-0.09022817015647888,
0.0038217881228774786,
-0.04061044380068779,
-0.004988950211554766,
0.05148130655288696,
0.04402700066566467,
-0.02678891457617283,
-0.05369430407881737,
0.010084668174386024,
0.04631764814257622,
-0.006046918220818043,
-0.031661391258239746,
-0.012569436803460121,
-0.04926830902695656,
-0.00022581915254704654,
0.016548950225114822,
-0.027992475777864456,
-0.01820869743824005,
-0.004724458325654268,
-0.021139947697520256,
-0.021625254303216934,
0.054859038442373276,
-0.05536375939846039,
-0.0032903775572776794,
0.0069690002128481865,
0.03909628838300705,
-0.009041259065270424,
-0.032263170927762985,
-0.021664079278707504,
-0.027293633669614792,
0.014093299396336079,
0.0005823677056469023,
0.03076842799782753,
-0.04325050860643387,
0.009812896139919758,
0.018150459975004196,
-0.05152013152837753,
-0.015131854452192783,
0.0298948772251606,
0.04204694926738739,
-0.04635646939277649,
-0.03356379270553589,
0.01002643071115017,
-0.004838505294173956,
0.02236292138695717,
0.009400385431945324,
-0.008609335869550705,
-0.05097658932209015,
0.03340849652886391,
0.037562716752290726,
0.031777866184711456,
0.07695019245147705,
-0.03622327372431755,
0.056567318737506866,
-0.031777866184711456,
0.01476302184164524,
0.03280671685934067,
0.016150997951626778,
0.05066599324345589,
-0.008949050679802895,
-0.0030816958751529455,
-0.014423307031393051,
0.02558535523712635,
-0.0896846279501915,
-0.03921275958418846,
-0.06604050099849701,
-0.021741729229688644,
-0.00963333249092102,
0.05284016579389572,
0.013491518795490265,
0.01470478530973196,
0.030457831919193268,
0.05120953544974327,
0.019936388358473778,
0.028904851526021957,
0.025449469685554504,
0.0908493623137474,
0.015617161057889462,
0.06817584484815598,
0.021489368751645088,
0.05054951831698418,
-0.001491104019805789,
0.014792140573263168,
-0.0031714774668216705,
-0.016481006518006325,
0.005804264917969704,
0.005925591569393873,
0.0017058521043509245,
-0.034495580941438675,
-0.0425516702234745,
0.042706966400146484,
0.006648698356002569,
-0.026885977014899254,
0.02607066184282303,
0.009400385431945324,
-0.006372073665261269,
-0.02909897454082966,
-0.023372357711195946,
-0.021508781239390373,
0.07722195982933044,
0.01820869743824005,
-0.004469672217965126,
-0.008958756923675537,
-0.0046152640134096146,
-0.007852258160710335,
0.0023925607092678547,
-0.003069563303142786,
-0.03144785761833191,
0.02690538950264454,
-0.05120953544974327,
-0.020188746973872185,
0.00817741360515356,
-0.05734380707144737,
-0.026711266487836838,
0.01091939490288496,
0.01896577514708042,
-0.012491787783801556,
-0.0041687823832035065,
0.0005041120457462966,
-0.069961778819561,
0.035291485488414764,
-0.016034524887800217,
0.014898907393217087,
0.07663959264755249,
-0.0037320065312087536,
0.01061850506812334,
0.007541662082076073,
-0.008507422171533108,
-0.023372357711195946,
-0.03216611221432686,
-0.0745430663228035,
0.011792946606874466,
0.03932923451066017,
0.025332996621727943,
0.01424859743565321,
-0.03523324802517891,
-0.023780016228556633,
0.0053383708000183105,
-0.019247252494096756,
0.02550770714879036,
0.031506095081567764,
-0.05571318045258522,
-0.04332815855741501,
-0.03812567517161369,
-0.02224644646048546,
0.009390679188072681,
-0.0070563554763793945,
0.024362383410334587,
0.03573796525597572,
0.008881107904016972,
0.02127583511173725,
0.03208846226334572,
-0.0356409065425396,
-0.024537093937397003,
0.0028827202040702105,
-0.0024131862446665764,
-0.06693346053361893,
-0.11018397659063339,
-0.028128361329436302,
-0.03232140839099884,
0.020829351618885994,
0.028846614062786102,
0.015015381388366222,
-0.010084668174386024,
-0.028671903535723686,
0.05687791481614113,
0.015025087632238865,
-0.009774072095751762,
0.012695616111159325,
0.015015381388366222,
0.011433819308876991,
-0.03335025906562805,
0.026691854000091553,
0.06701111048460007,
0.02119818516075611,
0.0038678923156112432,
-0.016257764771580696,
0.07489249110221863,
0.016481006518006325,
0.022227033972740173,
-0.005775146652013063,
0.007124298717826605,
-0.01127852126955986,
-0.006939881946891546,
0.06518635898828506,
-0.007444600574672222,
-0.06650639325380325,
-0.02160584181547165,
0.016946900635957718,
0.004023190587759018,
-0.0757078006863594,
0.07209712266921997,
0.025488294661045074,
-0.017325440421700478,
0.01665571704506874,
-0.0698453038930893,
-0.06662286818027496,
0.011967657133936882,
-0.012423845008015633,
-0.021528193727135658,
-0.06289571523666382,
-0.0868116170167923,
-0.0024277453776448965,
0.05388842523097992,
0.011831770651042461,
0.0008899306994862854,
-0.048647116869688034,
0.05563553050160408,
0.07333950698375702,
0.042629316449165344,
-0.008153147995471954,
-0.08052204549312592,
0.05582965165376663,
-0.056489668786525726,
0.0012969814706593752,
0.03808685019612312,
0.031389620155096054,
-0.01002643071115017,
-0.006998118944466114,
-0.035407956689596176,
-0.036126211285591125,
0.03478676453232765,
0.0076678418554365635,
0.00038217881228774786,
0.04643411934375763,
-0.03482558950781822,
-0.055053163319826126,
0.02315882407128811,
0.06704993546009064,
0.0017398236086592078,
-0.02032463438808918,
-0.001033096108585596,
-0.023217059671878815,
-0.07027237117290497,
-0.016927488148212433,
-0.05831442028284073,
-0.030399594455957413,
0.016626598313450813,
0.03476735204458237,
-0.030710190534591675,
-0.03622327372431755,
-0.030341358855366707,
-0.007944466546177864,
0.007274743635207415,
-0.033214371651411057,
0.013336220756173134,
-0.003530604299157858,
0.0018368848832324147,
-0.013831233605742455,
0.027604229748249054,
0.055014338344335556,
-0.012598555535078049,
0.06965117901563644,
0.027681879699230194,
-0.06836996972560883,
0.024265320971608162,
-0.019897563382983208,
-0.025041813030838966,
0.02906014956533909,
-0.02543005719780922,
-0.012045306153595448,
-0.0066098738461732864,
0.006143979728221893,
0.01929578371345997,
0.005328664556145668,
-0.008832577615976334,
-0.0203634575009346,
-0.026478318497538567,
-0.021178772673010826,
0.0016767337219789624,
-0.030787840485572815,
-0.04371640458703041,
-0.0016488286200910807,
0.0018611501436680555,
0.026633616536855698,
-0.0006709361332468688,
-0.027914825826883316,
0.048802416771650314,
-0.03323378413915634,
-0.030147235840559006,
-0.049113012850284576,
0.04391052573919296,
-0.01706337369978428,
0.015025087632238865,
-0.09923546016216278,
0.04196929931640625,
0.008250209502875805,
-0.022071735933423042,
0.05004480108618736,
0.0153065649792552,
0.008196826092898846,
-0.008337564766407013,
-0.03864980489015579,
-0.018752241507172585,
0.006702081765979528,
0.006697228644043207,
-0.036165036261081696,
-0.0008504995494149625,
-0.03129255771636963,
0.008560805581510067,
-0.016820721328258514,
-0.03925158455967903,
0.018674591556191444,
-0.045696455985307693,
0.05594612658023834,
-0.05361665412783623,
-0.012093836441636086,
-0.0011799013009294868,
-0.024537093937397003,
0.032224345952272415,
-0.016908075660467148,
-0.041270460933446884,
0.0370774120092392,
0.05532493442296982,
-0.0025357261765748262,
0.006415751297026873,
0.025798890739679337,
0.05804264917969704,
-0.005129688885062933,
-0.04818122461438179,
0.016626598313450813,
0.0007595045608468354,
-0.007633870467543602,
-0.00481423968449235,
-0.036650341004133224,
0.025565942749381065,
0.02694421261548996,
-0.011356170289218426,
0.022964701056480408,
0.08820930123329163,
0.031777866184711456,
-0.032185524702072144,
0.008987875655293465,
-0.0351167730987072,
0.039950426667928696,
0.047210611402988434,
-0.07089356333017349,
0.0065273717045784,
0.017801040783524513,
0.007231066003441811,
-0.02577947825193405,
-0.035485606640577316,
0.02267351746559143,
0.011511468328535557,
0.048802416771650314,
-0.042668141424655914,
-0.004353198688477278,
-0.056295547634363174,
-0.09348943084478378,
0.007866817526519299,
-0.0261094868183136,
0.0685252696275711,
0.008259915746748447,
0.0016184969572350383,
-0.01721867173910141,
-0.025643592700362206,
-0.008793752640485764,
-0.018519293516874313,
-0.019916975870728493,
0.038999225944280624,
0.008609335869550705,
0.006799143273383379,
0.00543057918548584,
0.025876538828015327,
0.0007461586501449347,
-0.04387170076370239,
-0.07151475548744202,
-0.04534703493118286,
-0.005741175264120102,
-0.05738263204693794,
0.04189165309071541,
-0.04988950118422508,
-0.0018368848832324147,
0.02566300518810749,
-0.07524190843105316,
0.047443557530641556,
-0.01616070419549942,
-0.01562686637043953,
0.01381182111799717,
-0.03830038383603096,
-0.008182266727089882,
0.037290945649147034,
-0.048763591796159744,
-0.05823677405714989,
0.06479811668395996,
-0.00034790404606610537,
-0.024498268961906433,
0.048996537923812866,
0.04534703493118286,
0.014481544494628906,
-0.012365608476102352,
-0.003499059472233057,
0.03678622841835022,
0.008623895235359669,
-0.00048803628305904567,
0.03179727867245674,
0.022576455026865005,
0.003945541568100452,
-0.050471868366003036,
0.0061051552183926105,
-0.001982476795092225,
-0.039717480540275574,
0.023721778765320778,
0.016597479581832886,
0.010841745883226395,
-0.006643845234066248,
-0.015539512038230896,
-0.048802416771650314,
-0.024304145947098732,
-0.024731216952204704,
-0.05722733587026596,
-0.00838124193251133,
-0.029797814786434174,
0.025565942749381065,
-0.032107874751091,
0.08580217510461807,
0.03500030189752579,
0.0002672218543011695,
0.014772728085517883
] |
5,632 | flask.blueprints | 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".
Note this is a duplicate of the same method in the Flask
class.
| 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".
Note this is a duplicate of the same method in the Flask
class.
"""
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.06786364316940308,
-0.03759964928030968,
0.020837504416704178,
-0.023194126784801483,
0.05322777479887009,
-0.050180114805698395,
0.07112393528223038,
0.0741361603140831,
0.010277001187205315,
-0.042171139270067215,
0.006343390326946974,
0.017603794112801552,
0.011455312371253967,
-0.01696591079235077,
-0.003692189697176218,
0.03231939673423767,
-0.042879898101091385,
-0.016150837764143944,
-0.0658082440495491,
0.0547870472073555,
0.012669061310589314,
0.03244342654943466,
-0.0075527094304561615,
-0.0034396944101899862,
0.013253787532448769,
0.08760257065296173,
-0.03774140030145645,
0.0010708901099860668,
0.003929181024432182,
-0.07654593884944916,
0.01776326447725296,
-0.007326792925596237,
0.05687788501381874,
0.01588505320250988,
-0.030866440385580063,
0.0016057813772931695,
0.02588741108775139,
0.058897845447063446,
-0.03139800950884819,
-0.0839170292019844,
-0.04631737992167473,
0.03795402869582176,
-0.04305708780884743,
-0.02280431054532528,
0.0035305041819810867,
0.0081285759806633,
-0.015752160921692848,
-0.044049352407455444,
0.006808512844145298,
-0.03919435292482376,
0.0605279915034771,
0.0053245495073497295,
-0.025586187839508057,
0.017329148948192596,
-0.033630598336458206,
0.022875186055898666,
-0.06598543375730515,
0.021315917372703552,
-0.026436697691679,
-0.05273164436221123,
0.0003900941228494048,
-0.02884647808969021,
0.02280431054532528,
-0.02847437933087349,
-0.013891669921576977,
-0.0004299618012737483,
-0.02477111481130123,
-0.05662981793284416,
0.011286981403827667,
0.006148481275886297,
0.002290176460519433,
0.042879898101091385,
-0.010303579270839691,
0.002582539338618517,
0.043305154889822006,
-0.013723339885473251,
-0.042879898101091385,
-0.0164254829287529,
0.010826288722455502,
-0.03806034103035927,
0.002369911875575781,
-0.06070518121123314,
-0.038379281759262085,
0.009559382684528828,
0.0180556271225214,
-0.0682888999581337,
-0.0015249386196956038,
-0.012394417077302933,
-0.03168151155114174,
0.005151789635419846,
-0.02138679288327694,
0.03494180366396904,
-0.03492408245801926,
-0.025586187839508057,
0.045466870069503784,
-0.05457441881299019,
-0.0026268367655575275,
0.027747901156544685,
0.051101502031087875,
0.0033533144742250443,
-0.035384777933359146,
0.01705450564622879,
0.011862847954034805,
0.011393295601010323,
0.01813536323606968,
-0.005010037682950497,
0.06006729602813721,
0.028031405061483383,
0.011074353940784931,
-0.040257491171360016,
-0.03898172825574875,
-0.005616912618279457,
0.005196087062358856,
0.0419585146009922,
-0.015557252801954746,
-0.004197180271148682,
0.016567233949899673,
0.0071584624238312244,
0.0051119220443069935,
-0.0561336874961853,
-0.03784771263599396,
0.0007569321314804256,
0.0004515567852649838,
-0.020500844344496727,
0.10135249048471451,
0.030742406845092773,
-0.039548732340335846,
-0.06726119667291641,
0.00664904247969389,
0.013041159138083458,
0.027659306302666664,
0.013555009849369526,
-0.017772123217582703,
-0.009041102603077888,
-0.02372569590806961,
-0.0470261387526989,
0.024328140541911125,
0.08420053124427795,
0.005293541122227907,
0.038591910153627396,
0.0839170292019844,
0.014370081946253777,
-0.06956466287374496,
0.010011216625571251,
-0.05567299202084541,
-0.0046822368167340755,
0.03605809807777405,
-0.013732199557125568,
-0.028651569038629532,
0.02985645830631256,
0.05181025713682175,
-0.055141422897577286,
-0.019366830587387085,
0.037174392491579056,
0.00944420974701643,
0.008513963781297207,
-0.020607158541679382,
-0.021581701934337616,
0.004206039942800999,
-0.0335242860019207,
-0.002012210199609399,
0.03145116567611694,
-0.04599843919277191,
0.047593146562576294,
0.002436358015984297,
0.010108670219779015,
-0.05166850611567497,
-0.05946485325694084,
0.03357744216918945,
-0.061520252376794815,
-0.029324889183044434,
-0.030033648014068604,
0.015442079864442348,
0.0335242860019207,
0.011207246221601963,
0.042171139270067215,
0.025905128568410873,
-0.02397376298904419,
0.045431431382894516,
-0.0013023440260440111,
0.026241790503263474,
-0.05120781436562538,
0.004265841096639633,
0.01572558283805847,
-0.02585197240114212,
0.027198614552617073,
-0.011286981403827667,
-0.0035681568551808596,
0.047841209918260574,
-0.020111028105020523,
-0.04727420210838318,
-0.004580352921038866,
-0.041214317083358765,
0.005913705099374056,
-0.03820209205150604,
-0.0689622163772583,
-0.02252080664038658,
-0.022148707881569862,
0.03230167552828789,
0.05429091304540634,
-0.05595649778842926,
0.07151374965906143,
0.03056521713733673,
0.03834384307265282,
-0.009860605001449585,
0.013891669921576977,
0.0033068021293729544,
0.02622407115995884,
-0.02122732251882553,
0.014494114555418491,
-0.02151082642376423,
-0.05886240676045418,
-0.025550751015543938,
0.032833244651556015,
0.0631149634718895,
0.05808277428150177,
-0.07668768614530563,
0.024363579228520393,
-0.016159698367118835,
0.02535584196448326,
0.05294427275657654,
0.011614782735705376,
-0.03756421059370041,
-0.013510712422430515,
0.03639475628733635,
-0.033293940126895905,
0.01956173963844776,
-0.007778626400977373,
-0.024328140541911125,
0.05776383355259895,
-0.04674263298511505,
-0.021546263247728348,
0.07881396263837814,
-0.023158689960837364,
0.03299271687865257,
0.006981272716075182,
0.009382192976772785,
0.04791208729147911,
-0.006675620563328266,
-0.023991480469703674,
0.023566225543618202,
-0.0032071329187601805,
-0.028669288381934166,
-0.05290883406996727,
-0.039796799421310425,
-0.02197151817381382,
-0.017001349478960037,
0.006458563264459372,
-0.011995740234851837,
-0.08972884714603424,
0.031220819801092148,
0.024487612769007683,
-0.03749333322048187,
-0.029502078890800476,
-0.029803302139043808,
0.01486621331423521,
-0.006276944186538458,
-0.04057643562555313,
-0.0012979143066331744,
0.014228329993784428,
0.005656780209392309,
-0.020376812666654587,
0.024841992184519768,
0.06343390047550201,
0.02021734043955803,
-0.07626243680715561,
-0.07052148878574371,
-0.008598128333687782,
0.054680731147527695,
-0.03208904713392258,
-0.014502974227070808,
0.08094023913145065,
-0.010764271952211857,
-0.009789729490876198,
0.006587025709450245,
-0.043340593576431274,
0.002843894064426422,
0.012598185800015926,
0.06424897164106369,
-0.02905910648405552,
-0.07449053972959518,
0.010294719599187374,
0.02526724711060524,
0.016372324898838997,
0.0017774339066818357,
-0.05673613026738167,
-0.026826515793800354,
-0.0033068021293729544,
-0.01826825551688671,
0.013670182786881924,
0.044722672551870346,
0.033417969942092896,
-0.05666525661945343,
0.012855110689997673,
0.0451124906539917,
0.06602086871862411,
0.02585197240114212,
-0.04915241524577141,
0.05056993290781975,
-0.05875609442591667,
0.026153195649385452,
-0.04344690591096878,
0.046388253569602966,
-0.005647920537739992,
-0.06793452054262161,
-0.03077784553170204,
0.0070920162834227085,
-0.06024448573589325,
-0.060598865151405334,
0.023282721638679504,
0.04493530094623566,
-0.013324663043022156,
0.029324889183044434,
-0.0006173952715471387,
-0.0008499567047692835,
0.055354051291942596,
0.014511833898723125,
0.02806684374809265,
0.010152967646718025,
0.006090894807130098,
-0.04390760138630867,
0.03940698131918907,
0.048514530062675476,
-0.030760126188397408,
-0.002203796524554491,
-0.0009252622839994729,
0.028651569038629532,
0.008354492485523224,
0.012828531675040722,
0.04858540743589401,
0.01993383839726448,
0.03621756657958031,
0.02551531232893467,
-0.010959181003272533,
-0.049683984369039536,
0.04865628108382225,
0.006733207497745752,
-0.028917353600263596,
-0.007096446119248867,
-0.00873545091599226,
0.07179725170135498,
0.012119772844016552,
0.0515267550945282,
-0.019792085513472557,
-0.03556196764111519,
-0.03327621892094612,
0.023123251274228096,
-0.029945053160190582,
0.005262533202767372,
-0.03552652895450592,
-0.025710221379995346,
-0.018746666610240936,
-0.034587424248456955,
-0.07498666644096375,
-0.07654593884944916,
-0.049932047724723816,
-0.028616132214665413,
0.045218802988529205,
0.020624877884984016,
0.0009451961377635598,
-0.030051367357373238,
0.005244814325124025,
-0.037422459572553635,
-0.00280402647331357,
-0.02889963425695896,
0.02230818010866642,
0.027871934697031975,
0.06074061989784241,
-0.05429091304540634,
0.02517865225672722,
0.016700126230716705,
-0.019526300951838493,
0.0009208325645886362,
0.014759899117052555,
-0.01596478931605816,
-0.013023440726101398,
0.020500844344496727,
-0.05758664384484291,
-0.018374567851424217,
-0.002080871257930994,
0.01221722736954689,
0.0515267550945282,
0.03749333322048187,
-0.0044784690253436565,
-0.057480327785015106,
-0.07498666644096375,
-0.07541192322969437,
-0.059606604278087616,
-0.027871934697031975,
0.017993610352277756,
0.00831905473023653,
0.00328243849799037,
0.04008030146360397,
0.03689089044928551,
-0.016443200409412384,
-0.01879982464015484,
0.013696761801838875,
-0.006981272716075182,
0.026578450575470924,
0.05645262822508812,
-0.021652577444911003,
0.005138500593602657,
0.007583717815577984,
0.006307952105998993,
-0.0015769880264997482,
0.02967926859855652,
0.05769295617938042,
0.0077254693023860455,
-0.02330044098198414,
0.006666761357337236,
-0.0001967082207556814,
0.012748796492815018,
-0.05432635173201561,
0.01755949668586254,
0.03749333322048187,
-0.029502078890800476,
0.04730964079499245,
0.024859709665179253,
-0.0027287208940833807,
-0.0034064713399857283,
0.033045873045921326,
-0.006392117124050856,
0.04337603226304054,
0.005439722910523415,
-0.030884159728884697,
-0.026507575064897537,
0.02748211659491062,
0.027411241084337234,
0.016159698367118835,
0.02376113459467888,
-0.042383767664432526,
0.018250536173582077,
0.02117416448891163,
-0.03417988866567612,
-0.000533783866558224,
-0.03370147570967674,
-0.019030170515179634,
0.01660267263650894,
0.026667045429348946,
-0.02705686166882515,
0.0678282082080841,
-0.02464708313345909,
0.048266466706991196,
0.03244342654943466,
-0.08519279211759567,
-0.004850567318499088,
-0.007862791419029236,
0.0438721626996994,
-0.003771925112232566,
0.011455312371253967,
0.004188320599496365,
-0.02918313816189766,
0.014370081946253777,
0.010268141515552998,
-0.04720332846045494,
-0.05248358100652695,
0.036040376871824265,
-0.000003257417574786814,
-0.03214220702648163,
0.01956173963844776,
-0.02305237576365471,
0.021670296788215637,
0.09100461006164551,
-0.10964496433734894,
-0.031220819801092148,
-0.08278301358222961,
-0.006276944186538458,
0.016726704314351082,
0.067721888422966,
-0.0071673220954835415,
0.0064275553449988365,
0.05046361684799194,
-0.03439251333475113,
0.005187227390706539,
0.05262533202767372,
0.02259168215095997,
0.02939576655626297,
0.02280431054532528,
-0.0048549966886639595,
0.009585960768163204,
-0.005581474397331476,
-0.018197378143668175,
0.021829767152667046,
0.000349672744050622,
-0.011233825236558914,
-0.05787014588713646,
0.02523180842399597,
-0.01639004424214363,
-0.0035504379775375128,
0.026791077107191086,
0.05779926851391792,
0.09795045107603073,
0.013103175908327103,
-0.021670296788215637,
-0.021865205839276314,
0.03619984909892082,
0.01660267263650894,
0.024257265031337738,
-0.034835487604141235,
0.006874958984553814,
-0.0032425709068775177,
-0.05177482217550278,
-0.041675008833408356,
0.04266727343201637,
-0.040222056210041046,
0.06687138229608536,
-0.0032558601815253496,
-0.02872244454920292,
0.08249951153993607,
-0.041675008833408356,
-0.013617025688290596,
-0.018604915589094162,
0.038875412195920944,
0.041675008833408356,
-0.010232703760266304,
-0.010994618758559227,
0.02105013281106949,
0.0735691487789154,
-0.019313674420118332,
0.007721039932221174,
0.021670296788215637,
-0.053263213485479355,
-0.029129981994628906,
0.004722104873508215,
-0.005156219471246004,
-0.032248519361019135,
0.03355972468852997,
-0.04163957014679909,
0.014511833898723125,
0.04589212313294411,
0.01947314478456974,
0.002943563275039196,
0.04932960495352745,
-0.026489855721592903,
-0.0014906080905348063,
0.08434227854013443,
-0.04365953430533409,
-0.0037962887436151505,
-0.01713424175977707,
0.026879671961069107,
-0.000576420163270086,
0.024540768936276436,
-0.026631606742739677,
-0.00399119732901454,
0.04245464503765106,
-0.07208075374364853,
0.00835892278701067,
-0.03324078023433685,
0.07789257913827896,
-0.02264484018087387,
0.02813771925866604,
-0.026844235137104988,
-0.02551531232893467,
0.06045711413025856,
-0.002857183339074254,
0.017284851521253586,
0.038379281759262085,
0.0060731759294867516,
-0.031840983778238297,
-0.008066559210419655,
-0.0011583775049075484,
0.003880453761667013,
-0.018161941319704056,
0.056062810122966766,
-0.015619269572198391,
0.012190649285912514,
0.04844365641474724,
0.003003364894539118,
-0.01685073785483837,
0.01897701434791088,
0.015610409900546074,
0.051597632467746735,
0.06453247368335724,
-0.019951555877923965,
0.03240799158811569,
-0.013643604703247547,
-0.010755413211882114,
0.02243221178650856,
0.06343390047550201,
0.03293956071138382,
-0.00024460480199195445,
-0.0392652302980423,
-0.06336302310228348,
-0.013315803371369839,
-0.017896156758069992,
0.051633067429065704,
-0.010976900346577168,
0.09298913925886154,
-0.01149075012654066,
-0.027995968237519264,
-0.009621398523449898,
-0.062477078288793564,
0.011207246221601963,
-0.043553221970796585,
0.0444391705095768,
-0.00046816832036711276,
0.0019169707084074616,
0.0021783255506306887,
0.034959521144628525,
-0.02175889164209366,
-0.09306001663208008,
0.004113015253096819,
-0.06385915726423264,
0.0024717957712709904,
0.023495350033044815,
0.037918590009212494,
-0.017479760572314262,
-0.027535274624824524,
-0.059429414570331573,
0.07909746468067169,
-0.011428733356297016,
-0.05166850611567497,
-0.01684187725186348,
0.005333409179002047,
0.019402269273996353,
0.02877560257911682,
-0.03410901129245758,
-0.03139800950884819,
0.04493530094623566,
-0.030831001698970795,
-0.005364417098462582,
0.03820209205150604,
0.0567006953060627,
0.014715601690113544,
-0.031167661771178246,
0.0959659218788147,
-0.0373515821993351,
-0.006644612643867731,
-0.05662981793284416,
-0.013909389264881611,
-0.026985986158251762,
-0.03628844395279884,
0.043127965182065964,
0.037209831178188324,
-0.015876194462180138,
-0.02572794072329998,
0.040505558252334595,
0.030051367357373238,
0.03901716321706772,
-0.002270242664963007,
-0.015256030485033989,
-0.0321776419878006,
0.010657958686351776,
-0.04369497299194336,
0.0027752332389354706,
0.006755356211215258,
0.027340365573763847,
-0.02322956547141075,
-0.013253787532448769,
-0.07293126732110977,
0.00927587877959013,
0.002458506729453802,
-0.023158689960837364,
0.00014881163951940835,
0.05404284968972206,
-0.04085993766784668,
0.04514792561531067,
-0.07923921942710876,
0.040718186646699905,
0.049719419330358505,
0.03231939673423767,
-0.023814290761947632,
-0.005404284689575434,
0.011721096932888031,
-0.02696826681494713,
-0.039548732340335846,
0.001468459377065301,
-0.04791208729147911,
-0.0196857713162899,
0.0367845743894577,
0.011295841075479984,
0.06346933543682098,
0.046423692256212234,
-0.011614782735705376,
0.04323427751660347,
0.038095779716968536,
0.00020584455342032015,
-0.0022658128291368484,
0.030706970021128654,
0.0016522936057299376,
0.022325897589325905,
-0.001368790166452527,
0.022627120837569237,
-0.020164184272289276,
-0.01763923093676567,
0.04351778328418732,
-0.00888163223862648,
0.032709211111068726,
-0.005289111752063036,
-0.019419986754655838,
0.006507290527224541,
-0.0060333083383738995,
-0.021333636716008186,
-0.006392117124050856,
-0.04479354992508888,
-0.020571719855070114,
-0.028385784476995468,
0.026383541524410248,
0.03806034103035927,
0.04124975576996803,
0.0457858107984066,
0.03355972468852997,
0.05071168392896652,
-0.06903309375047684,
-0.02138679288327694,
-0.055105987936258316,
-0.030582936480641365,
-0.029289452359080315,
-0.0064275553449988365,
0.010321298614144325,
0.005758664105087519,
0.013785355724394321,
-0.004500617738813162,
-0.057515766471624374,
0.04603387415409088,
-0.01655837520956993,
-0.05333409085869789,
0.018693510442972183,
-0.022325897589325905,
-0.07576630264520645,
-0.020500844344496727,
-0.06020905077457428,
0.014556131325662136,
-0.048975225538015366,
0.010197265073657036,
0.005962432362139225,
-0.06066974252462387,
0.0586143434047699,
0.0671548843383789,
0.025160932913422585,
-0.02163485810160637,
-0.01576102152466774,
-0.05131412670016289,
-0.010223844088613987,
0.030653811991214752,
0.014378941617906094,
0.03891085088253021,
-0.0248065534979105,
0.04047011956572533,
0.01888841949403286,
-0.01817966066300869,
0.08824045211076736,
-0.06155569106340408,
-0.008230459876358509,
0.06832433491945267,
-0.00788051076233387,
0.024115514010190964,
-0.0042968494817614555,
-0.04631737992167473,
0.06357565522193909,
0.008682293817400932,
0.00655601778998971,
0.03777683898806572,
0.06276058405637741,
0.020288217812776566,
-0.01267792098224163,
-0.004312353674322367,
0.009249300695955753,
-0.00923158135265112,
-0.01048962865024805,
-0.06137850135564804,
0.04234832897782326,
-0.019579458981752396,
0.01667354814708233,
-0.008456377312541008,
0.028917353600263596,
-0.021121008321642876,
0.0012037822743877769
] |
5,633 | flask.sansio.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: Scaffold, *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.006471922621130943,
-0.013276892714202404,
0.028120007365942,
0.035321034491062164,
-0.006395411677658558,
0.03812943398952484,
-0.004365622065961361,
0.03263865411281586,
0.014600081369280815,
0.00505422055721283,
-0.018254602327942848,
0.015788249671459198,
0.05411571264266968,
0.003208957379683852,
0.03343076631426811,
0.030460340902209282,
0.008510713465511799,
0.020450914278626442,
0.03773337975144386,
0.01203471515327692,
0.0487869530916214,
-0.005202741362154484,
0.0048966980539262295,
-0.006579937878996134,
0.004851691424846649,
-0.004136089701205492,
-0.012412769719958305,
0.02444748394191265,
0.06203684210777283,
-0.0017563753062859178,
0.0019589043222367764,
0.04644662141799927,
-0.0207749605178833,
0.05145133286714554,
0.05678009241819382,
0.006840975023806095,
-0.039569638669490814,
0.04371023178100586,
-0.003920058719813824,
0.013006853871047497,
-0.00585983507335186,
-0.017210453748703003,
0.06624944508075714,
0.006467422004789114,
0.03996569663286209,
0.006035360042005777,
0.00931632798165083,
0.019910838454961777,
0.011089581064879894,
0.025815680623054504,
0.04284610599279404,
-0.009676379151642323,
0.007894124835729599,
0.004199098329991102,
0.022449199110269547,
0.04788682609796524,
0.01667937822639942,
-0.022881262004375458,
0.058760374784469604,
-0.024357471615076065,
-0.0000895205739652738,
0.03982167690992355,
0.03762536123394966,
0.009140802547335625,
-0.002824152586981654,
-0.03510500490665436,
0.0018711417214944959,
-0.01969480700790882,
0.03406085446476936,
0.03920958936214447,
0.006098369136452675,
0.032656654715538025,
0.020864974707365036,
-0.003179703140631318,
0.044826388359069824,
0.003253963775932789,
-0.02743590995669365,
-0.041333891451358795,
0.006899483501911163,
-0.027417907491326332,
0.012529785744845867,
0.04201798886060715,
-0.03492497652769089,
0.03659921512007713,
-0.015050144866108894,
0.005846333224326372,
0.04356620833277702,
-0.011053575202822685,
-0.00027299203793518245,
0.02217916212975979,
-0.012943845242261887,
0.014978135004639626,
0.00004623705899575725,
-0.018668660894036293,
0.005013714544475079,
-0.03751734644174576,
-0.021063001826405525,
-0.00793463084846735,
-0.05721215531229973,
0.011359618976712227,
-0.021063001826405525,
0.05335960537195206,
0.026013707742094994,
0.03033432364463806,
0.0840359777212143,
-0.011791680939495564,
-0.016616368666291237,
-0.02361936680972576,
-0.004505142103880644,
-0.01409600954502821,
0.010738530196249485,
-0.052747517824172974,
-0.03679724410176277,
0.03346677124500275,
-0.02839004620909691,
-0.06603341549634933,
-0.01063951663672924,
0.004968708381056786,
0.004937203601002693,
-0.05112728849053383,
0.0035667584743350744,
0.031144440174102783,
-0.027075858786702156,
-0.07561077922582626,
0.02444748394191265,
0.021387048065662384,
0.004021323285996914,
0.04619458317756653,
0.0695619136095047,
-0.06779766082763672,
-0.01143162976950407,
0.031522493809461594,
-0.006687953136861324,
-0.04493440315127373,
-0.0044196299277246,
-0.0022064396180212498,
0.028480060398578644,
0.0025406121276319027,
-0.0462665930390358,
0.02432146668434143,
-0.0286420825868845,
0.0609566904604435,
0.010882550850510597,
0.02369137667119503,
-0.00921731349080801,
0.03654520958662033,
-0.01631932705640793,
0.036131151020526886,
-0.01305186003446579,
0.024753527715802193,
0.012340758927166462,
-0.008375694043934345,
0.015761246904730797,
0.022323181852698326,
-0.04662664607167244,
-0.006282895337790251,
0.014600081369280815,
0.04713071882724762,
0.07467464357614517,
0.008254176937043667,
-0.012574792839586735,
0.01672438345849514,
-0.008821257390081882,
-0.02640976384282112,
-0.000782549032010138,
0.03629317134618759,
-0.019154731184244156,
-0.014492065645754337,
0.0058373319916427135,
0.055591922253370285,
-0.01843462698161602,
-0.018254602327942848,
0.04010971635580063,
0.030262313783168793,
0.04662664607167244,
0.03206257149577141,
0.040325749665498734,
-0.014483064413070679,
0.05037118121981621,
0.036779243499040604,
0.00394256180152297,
-0.02109900675714016,
-0.013312897644937038,
-0.024357471615076065,
0.0634770467877388,
0.0904448926448822,
-0.021189020946621895,
0.01843462698161602,
0.009212813340127468,
-0.0058778380043804646,
0.05562793090939522,
0.004187847021967173,
0.02059493586421013,
-0.0016708631301298738,
-0.04288211092352867,
-0.040757808834314346,
-0.011089581064879894,
-0.01086454838514328,
0.043746236711740494,
-0.03681524842977524,
0.03292669355869293,
0.04641061648726463,
0.029128151014447212,
0.02577967382967472,
-0.012475778348743916,
0.0757547989487648,
0.04237804189324379,
0.013564933091402054,
-0.0794273242354393,
-0.011107583530247211,
0.014690093696117401,
-0.08324386179447174,
-0.037661369889974594,
-0.0034092359710484743,
0.0027498919516801834,
-0.07327044755220413,
0.07604283839464188,
-0.0012106725480407476,
-0.026265744119882584,
0.012340758927166462,
0.018704665824770927,
0.0548718199133873,
-0.03845348209142685,
-0.02432146668434143,
0.0049822102300822735,
0.0003901493619196117,
-0.017993565648794174,
-0.08972478657960892,
-0.02572566643357277,
-0.06894982606172562,
-0.02666180022060871,
0.012070720084011555,
0.020756958052515984,
-0.01828160509467125,
0.019748814404010773,
-0.019748814404010773,
0.030316321179270744,
-0.006035360042005777,
-0.05674408748745918,
-0.03794940933585167,
0.014843115583062172,
-0.0025248599704355,
0.08345989882946014,
0.03249463066458702,
-0.024033425375819206,
0.011305611580610275,
-0.02243119664490223,
0.05858035013079643,
-0.009919414296746254,
0.02952420897781849,
-0.03368280082941055,
-0.009167807176709175,
-0.013960990123450756,
0.03339476138353348,
-0.01964079961180687,
-0.0008286806405521929,
0.006543932948261499,
-0.03199056163430214,
-0.0023268316872417927,
0.03629317134618759,
-0.01606729067862034,
-0.04554649069905281,
0.08864463865756989,
0.034294888377189636,
-0.052747517824172974,
-0.01919073611497879,
-0.0720822736620903,
0.008231673389673233,
-0.07006599009037018,
-0.004815686494112015,
0.02160307951271534,
-0.013276892714202404,
0.007322543766349554,
0.02520359307527542,
-0.004721173085272312,
-0.01805657334625721,
-0.06171279773116112,
-0.05206342041492462,
-0.0094693498685956,
-0.016868405044078827,
0.07676294445991516,
-0.07913927733898163,
0.0451144315302372,
0.045582495629787445,
-0.040397759526968,
0.02914615534245968,
0.02027088962495327,
0.047850821167230606,
0.018794678151607513,
-0.04921901598572731,
-0.03242262080311775,
-0.002244694856926799,
0.026301749050617218,
0.005729316733777523,
0.024213451892137527,
-0.01292584277689457,
-0.06804969906806946,
-0.010513498447835445,
0.014690093696117401,
-0.05771622806787491,
0.03209857642650604,
-0.04921901598572731,
-0.10815941542387009,
0.06984995305538177,
0.049687083810567856,
-0.022773245349526405,
-0.021387048065662384,
-0.0009220689535140991,
-0.03217058628797531,
-0.017939556390047073,
-0.014051002450287342,
0.0939013808965683,
-0.07161420583724976,
-0.00021420240227598697,
0.016562361270189285,
0.02261122316122055,
-0.05505184829235077,
-0.0025901191402226686,
0.023745384067296982,
0.05721215531229973,
0.003276467090472579,
-0.03483496606349945,
-0.00009697476343717426,
0.051595352590084076,
0.01631932705640793,
-0.009176808409392834,
0.006804970093071461,
-0.024285461753606796,
-0.0316845178604126,
-0.0004300925647839904,
-0.03164851292967796,
-0.005085724871605635,
0.025941697880625725,
-0.011683665215969086,
-0.07669093459844589,
0.03605914115905762,
0.047166723757982254,
0.02009086310863495,
0.028552070260047913,
-0.03555506840348244,
0.03440290316939354,
0.026013707742094994,
-0.048174865543842316,
0.00008234767301473767,
-0.006863478105515242,
0.05912042781710625,
0.007520571816712618,
0.0015065897023305297,
0.09404540807008743,
-0.040757808834314346,
0.03204456716775894,
-0.07719500362873077,
-0.004271108657121658,
-0.0045006414875388145,
0.00231107953004539,
-0.01219673827290535,
-0.05278352275490761,
-0.010675521567463875,
0.003490247530862689,
-0.04896698147058487,
-0.04471837356686592,
-0.04860692843794823,
-0.014915126375854015,
0.01095456164330244,
0.018794678151607513,
0.040829818695783615,
-0.06063264235854149,
-0.002880410524085164,
-0.04227002337574959,
0.008569221012294292,
0.03634718060493469,
-0.01599528081715107,
0.02889411896467209,
-0.03587911278009415,
0.03456492722034454,
0.01432104129344225,
0.006120872683823109,
0.05022715777158737,
-0.02387140318751335,
0.053251590579748154,
0.03982167690992355,
-0.024879546836018562,
-0.06138874962925911,
-0.04064979404211044,
0.02743590995669365,
-0.0389215461909771,
-0.029866257682442665,
0.0033642295747995377,
-0.00139744917396456,
-0.009811398573219776,
0.013168876990675926,
0.012835829518735409,
-0.011215598322451115,
-0.012403767555952072,
0.023331325501203537,
-0.02786797285079956,
-0.05202741548418999,
0.021495064720511436,
0.07870721817016602,
0.01571623980998993,
0.03982167690992355,
-0.07319843024015427,
0.10297467559576035,
0.0024573502596467733,
0.04471837356686592,
0.02831803634762764,
-0.04252206161618233,
0.01180968340486288,
0.010360476560890675,
0.01687740534543991,
0.010918556712567806,
-0.031954552978277206,
-0.029488204047083855,
0.015023141168057919,
-0.05407970771193504,
-0.001190419658087194,
0.012637801468372345,
-0.005504284519702196,
0.000631214992608875,
-0.011899695731699467,
0.02837204374372959,
0.04338618367910385,
-0.0013929485576227307,
0.07222629338502884,
0.022629225626587868,
0.03605914115905762,
-0.01946077309548855,
0.057932257652282715,
-0.008029144257307053,
0.020234884694218636,
-0.03047834523022175,
0.01054950337857008,
-0.02286325953900814,
0.03217058628797531,
-0.06239689514040947,
-0.029794245958328247,
-0.03211657702922821,
-0.028174016624689102,
-0.03881353139877319,
0.0671495720744133,
0.013816969469189644,
-0.013123870827257633,
-0.003175202524289489,
-0.013312897644937038,
-0.022143155336380005,
-0.01843462698161602,
0.013591937720775604,
0.030874401330947876,
0.010990566574037075,
0.004145090933889151,
0.007997640408575535,
0.04561850056052208,
-0.06675351411104202,
0.01710243709385395,
0.019406765699386597,
-0.01539219357073307,
0.02153106965124607,
-0.0830998420715332,
-0.022701235488057137,
0.03971366211771965,
0.0060218581929802895,
0.031450483947992325,
-0.06574536859989166,
-0.03762536123394966,
0.011602654121816158,
-0.013429914601147175,
-0.00047172349877655506,
-0.0030356827192008495,
-0.05840032547712326,
-0.026391761377453804,
0.04410628601908684,
-0.0743866041302681,
-0.005657306406646967,
-0.013834971934556961,
0.05807627737522125,
0.005418772343546152,
-0.04705870896577835,
0.022917266935110092,
0.008470207452774048,
0.024987561628222466,
-0.0020016604103147984,
0.053107570856809616,
0.003920058719813824,
0.026697805151343346,
0.010990566574037075,
-0.03314272314310074,
0.044502343982458115,
-0.04597855359315872,
0.006984995678067207,
0.029128151014447212,
-0.022089147940278053,
0.014906125143170357,
0.04871494323015213,
-0.024555500596761703,
-0.01886668987572193,
-0.01812858320772648,
0.04623058810830116,
0.04230603203177452,
-0.023277318105101585,
-0.04723873361945152,
0.006629445124417543,
-0.005585296079516411,
-0.03359278663992882,
0.0696699321269989,
-0.024465486407279968,
-0.019046714529395103,
-0.07402655482292175,
-0.011035572737455368,
-0.03555506840348244,
-0.01717444881796837,
0.022773245349526405,
0.012754818424582481,
-0.052423473447561264,
-0.004806685261428356,
0.023403335362672806,
-0.0391375795006752,
-0.06189282238483429,
-0.038345467299222946,
0.010900553315877914,
-0.003956064116209745,
-0.046158578246831894,
0.011620656587183475,
0.04194597899913788,
-0.02064894326031208,
-0.028029995039105415,
0.010675521567463875,
0.09937416762113571,
0.01438404992222786,
0.026247741654515266,
-0.02648177556693554,
-0.03989368677139282,
-0.03674323856830597,
-0.021891120821237564,
0.03906556963920593,
0.021891120821237564,
0.03560907393693924,
-0.0966377779841423,
-0.029236167669296265,
0.008857262320816517,
-0.033088717609643936,
-0.0030311821028590202,
0.018776675686240196,
-0.028084002435207367,
0.04630260169506073,
-0.0006357156089507043,
-0.08259577304124832,
0.01054950337857008,
-0.0487869530916214,
-0.012268749065697193,
-0.05364764854311943,
-0.11723271012306213,
-0.034420907497406006,
0.0378773994743824,
0.027669943869113922,
0.017651516944169998,
-0.027129866182804108,
0.003917808644473553,
0.05706813558936119,
0.029560213908553123,
0.00985640473663807,
-0.05353963002562523,
0.059264447540044785,
0.026085717603564262,
-0.02793998271226883,
-0.0158422589302063,
0.012187737040221691,
0.051343318074941635,
0.024537498131394386,
-0.08763649314641953,
-0.0941174179315567,
0.019028712064027786,
0.040397759526968,
-0.03827345371246338,
0.0016596115892753005,
-0.02957821637392044,
-0.006768964696675539,
0.037409331649541855,
-0.02482553943991661,
-0.016589364036917686,
-0.07028201967477798,
-0.08367592841386795,
-0.030622364953160286,
-0.011935701593756676,
0.02135104313492775,
-0.07193825393915176,
-0.034240879118442535,
-0.010558504611253738,
0.04695069044828415,
-0.08065149933099747,
-0.0389215461909771,
-0.05263950303196907,
-0.03694126382470131,
-0.020378904417157173,
-0.06912985444068909,
0.03838147222995758,
-0.0464826263487339,
0.00015189664554782212,
-0.03465494140982628,
0.06448519229888916,
-0.017534499987959862,
-0.030244311317801476,
0.04569051414728165,
-0.05562793090939522,
-0.013330900110304356,
0.03566308319568634,
-0.031000418588519096,
-0.019082719460129738,
-0.01589626632630825,
-0.0438542515039444,
0.01994684338569641,
-0.020450914278626442,
0.011872692033648491,
0.051019273698329926,
-0.030622364953160286,
-0.0010914055164903402,
-0.010648517869412899,
-0.05440375581383705,
-0.03098241612315178,
0.03262064978480339,
-0.037481341511011124,
0.00287365959957242,
-0.008906769566237926,
-0.007844618521630764,
0.013753960840404034,
0.024051427841186523,
0.045330461114645004,
0.03033432364463806,
-0.03629317134618759,
-0.025959700345993042,
-0.017624512314796448,
0.014447059482336044,
-0.010378479026257992,
0.057860247790813446,
-0.0389215461909771,
0.0842520073056221,
-0.043170154094696045,
-0.04464636370539665,
0.06707756221294403,
-0.008195668458938599,
-0.03805742412805557,
0.02603171020746231,
0.007390053477138281,
-0.006768964696675539,
-0.004052827600389719,
0.0026711307000368834,
-0.04129788652062416,
-0.002035415032878518,
-0.05829231068491936,
0.02577967382967472,
-0.045258451253175735,
-0.03591511771082878,
0.014798109419643879,
-0.08230773359537125,
0.05966050550341606,
0.04489839822053909,
-0.03395283967256546,
0.010135444812476635,
-0.009973421692848206,
0.024429481476545334,
-0.016391336917877197,
-0.02615772932767868,
-0.0015662232181057334,
0.004676166456192732,
0.05213543027639389,
0.038237448781728745,
0.01134161651134491,
0.00846120622009039,
-0.011854689568281174,
-0.028336038812994957,
-0.04911100119352341,
0.05465579032897949,
0.020108865574002266,
-0.049507055431604385,
-0.03548305854201317,
0.013150874525308609,
-0.0027993989642709494,
-0.017309466376900673,
0.022449199110269547,
0.027453912422060966,
0.01757950522005558,
-0.024987561628222466,
0.040757808834314346,
-0.03343076631426811,
0.05832831561565399,
0.03492497652769089,
-0.010882550850510597,
0.01336690504103899,
-0.03469094634056091,
-0.028156014159321785,
-0.007619586307555437,
-0.021711094304919243,
-0.016292322427034378,
-0.0030176800210028887,
0.0250235665589571,
0.008807755075395107,
0.019046714529395103,
-0.03470894694328308,
-0.05512385815382004,
0.02496955916285515,
-0.011080579832196236,
0.018722668290138245,
0.0033529780339449644,
-0.003938061185181141,
0.009676379151642323,
0.006219886709004641,
-0.01848863624036312,
0.009577365592122078,
-0.010315470397472382,
-0.029236167669296265,
0.0006925362395122647,
0.024051427841186523,
0.019730811938643456,
0.001057088142260909,
-0.010675521567463875,
-0.001193795120343566,
-0.05620400980114937,
0.019226741045713425,
-0.03476295620203018,
0.006944489665329456,
0.018848687410354614,
-0.006962492596358061,
0.029812250286340714,
-0.002039915882050991,
-0.04723873361945152,
0.020360901951789856,
0.010684522800147533,
0.002862408058717847,
0.03584310784935951,
0.0035870112478733063,
-0.02084697224199772,
0.03629317134618759,
-0.03744533658027649,
-0.0696699321269989,
0.06293696910142899,
0.03805742412805557,
-0.018326612189412117,
-0.015050144866108894,
0.07546675950288773,
-0.07618685811758041,
-0.073126420378685,
0.003397984430193901,
-0.0097843948751688,
-0.037841394543647766,
0.008645731955766678,
0.09570164233446121,
0.0599125400185585,
0.0171294417232275,
0.009730386547744274,
0.004354370757937431,
0.010000425390899181,
0.003467744216322899,
0.03335875645279884,
-0.017435485497117043,
0.012259747833013535,
0.03920958936214447,
-0.021008994430303574,
-0.024105435237288475,
-0.010513498447835445,
-0.018524641171097755,
-0.014150016941130161,
-0.04770680144429207,
-0.024375474080443382,
0.024537498131394386,
0.01352892816066742,
0.09627772122621536,
0.07993139326572418,
0.04515043646097183,
0.09577365219593048
] |
5,634 | flask.sansio.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: Scaffold, *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.0064815739169716835,
-0.013260219246149063,
0.028194846585392952,
0.035306572914123535,
-0.006342039909213781,
0.038169268518686295,
-0.004368310794234276,
0.03262392058968544,
0.014583541080355644,
0.004987210966646671,
-0.01824743114411831,
0.01575382426381111,
0.05415714904665947,
0.0031845232006162405,
0.03347012773156166,
0.030427386984229088,
0.008417043834924698,
0.02047097124159336,
0.0377371609210968,
0.012080932967364788,
0.048755839467048645,
-0.005270779598504305,
0.004919694736599922,
-0.006540087983012199,
0.004825171548873186,
-0.004201770294457674,
-0.012423016130924225,
0.024449937045574188,
0.062115080654621124,
-0.0017104153521358967,
0.0020074874628335238,
0.046343252062797546,
-0.02072303183376789,
0.05145649239420891,
0.05674977973103523,
0.006859665736556053,
-0.039573609828948975,
0.04375062137842178,
-0.003886693622916937,
0.0129451435059309,
-0.005914436187595129,
-0.017221180722117424,
0.0662560909986496,
0.00649957824498415,
0.039969705045223236,
0.0059774513356387615,
0.009344268590211868,
0.01987682655453682,
0.011063686572015285,
0.02580026350915432,
0.04292242228984833,
-0.009632338769733906,
0.007948930375277996,
0.004228776786476374,
0.022397438064217567,
0.04781961068511009,
0.016699055209755898,
-0.022919565439224243,
0.05876626819372177,
-0.024377919733524323,
-0.00007729220669716597,
0.03989768773317337,
0.037521108984947205,
0.009141719900071621,
-0.002815433545038104,
-0.03507251664996147,
0.0018690788419917226,
-0.019696783274412155,
0.03411828354001045,
0.03924952819943428,
0.006049468647688627,
0.03262392058968544,
0.02088507078588009,
-0.003186773741617799,
0.044866893440485,
0.0032430374994874,
-0.027438662946224213,
-0.041374046355485916,
0.006846162490546703,
-0.027384649962186813,
0.012450022622942924,
0.04205821081995964,
-0.03494648635387421,
0.036656901240348816,
-0.01506065670400858,
0.005860422737896442,
0.043534569442272186,
-0.011063686572015285,
-0.00017526130250189453,
0.022109368816018105,
-0.012927139177918434,
0.01497963722795248,
0.000013239542568044271,
-0.01867053285241127,
0.005005215294659138,
-0.037521108984947205,
-0.021065114066004753,
-0.00785890780389309,
-0.05721789225935936,
0.011378763243556023,
-0.02117314003407955,
0.05340096727013588,
0.026034321635961533,
0.030355369672179222,
0.08404440432786942,
-0.011810868047177792,
-0.0165910292416811,
-0.023657744750380516,
-0.004501092713326216,
-0.014160438440740108,
0.010730605572462082,
-0.052824825048446655,
-0.03678293153643608,
0.03347012773156166,
-0.028392894193530083,
-0.06600402295589447,
-0.010631581768393517,
0.004924195818603039,
0.0049512023106217384,
-0.05113241448998451,
0.0035963731352239847,
0.031129557639360428,
-0.02706057019531727,
-0.0756903812289238,
0.024431932717561722,
0.02142520248889923,
0.004005972761660814,
0.046199217438697815,
0.06960490345954895,
-0.06784047186374664,
-0.01136976107954979,
0.031597673892974854,
-0.006675120908766985,
-0.044866893440485,
-0.004462833516299725,
-0.002198783913627267,
0.028482915833592415,
0.002531864680349827,
-0.04627123475074768,
0.024323906749486923,
-0.028680963441729546,
0.06096280366182327,
0.010874640196561813,
0.02369375340640545,
-0.009281253442168236,
0.03647685796022415,
-0.016329964622855186,
0.03615277633070946,
-0.0130531694740057,
0.024701997637748718,
0.012369003146886826,
-0.008426045998930931,
0.015735819935798645,
0.0223794337362051,
-0.04666732996702194,
-0.006189002655446529,
0.014583541080355644,
0.047207463532686234,
0.07468213140964508,
0.008227997459471226,
-0.01264807116240263,
0.016663046553730965,
-0.008849148638546467,
-0.026340395212173462,
-0.0007876912713982165,
0.03627881035208702,
-0.019156651571393013,
-0.014448508620262146,
0.005914436187595129,
0.05556149035692215,
-0.018373461440205574,
-0.018211422488093376,
0.04018575698137283,
0.030229339376091957,
0.046559303998947144,
0.03206578642129898,
0.04029378294944763,
-0.014529528096318245,
0.050268206745386124,
0.03678293153643608,
0.004023977089673281,
-0.02113713137805462,
-0.013314233161509037,
-0.02428789809346199,
0.0635194256901741,
0.09045396000146866,
-0.0212271548807621,
0.01833745278418064,
0.00916872639209032,
-0.005905434023588896,
0.05556149035692215,
0.004068987909704447,
0.02057899720966816,
-0.0016395230777561665,
-0.042886413633823395,
-0.04068987816572189,
-0.011117699556052685,
-0.010829629376530647,
0.04371461272239685,
-0.03687295317649841,
0.0329119898378849,
0.04637926071882248,
0.02916708216071129,
0.02580026350915432,
-0.012522040866315365,
0.0756903812289238,
0.0423462800681591,
0.013530285097658634,
-0.07943528890609741,
-0.01116271037608385,
0.01468256488442421,
-0.08318019658327103,
-0.037629134953022,
-0.0034455866552889347,
0.002777174348011613,
-0.0732777938246727,
0.07605046778917313,
-0.001144965528510511,
-0.02625037357211113,
0.012341996654868126,
0.018652528524398804,
0.05484131723642349,
-0.03838532045483589,
-0.02428789809346199,
0.0049962131306529045,
0.0004124126280657947,
-0.018067386001348495,
-0.08973378688097,
-0.025710241869091988,
-0.06884871423244476,
-0.02659245766699314,
0.012134946882724762,
0.020759040489792824,
-0.01839146576821804,
0.019696783274412155,
-0.019732791930437088,
0.03040938265621662,
-0.005950444843620062,
-0.05667776241898537,
-0.03798922523856163,
0.014880613423883915,
-0.0024778516963124275,
0.08332423120737076,
0.03256990760564804,
-0.02403583563864231,
0.011360757984220982,
-0.022397438064217567,
0.05862223356962204,
-0.009956417605280876,
0.02950916439294815,
-0.03368617966771126,
-0.009177728556096554,
-0.013863366097211838,
0.03343411907553673,
-0.019588755443692207,
-0.000837203289847821,
0.006594100967049599,
-0.031939756125211716,
-0.002336067147552967,
0.03627881035208702,
-0.016014888882637024,
-0.04555106163024902,
0.08865352720022202,
0.034208305180072784,
-0.05275280773639679,
-0.019192660227417946,
-0.07201748341321945,
0.00819648988544941,
-0.07007301598787308,
-0.00476665748283267,
0.021695267409086227,
-0.01327822357416153,
0.007327779196202755,
0.02518811635673046,
-0.0047171451151371,
-0.018067386001348495,
-0.06171898543834686,
-0.052068643271923065,
-0.009398281574249268,
-0.016888100653886795,
0.07662660628557205,
-0.07914721965789795,
0.045154962688684464,
0.045695096254348755,
-0.040473826229572296,
0.02920309081673622,
0.020254917442798615,
0.047963645309209824,
0.018850576132535934,
-0.04922395199537277,
-0.032389864325523376,
-0.002214537700638175,
0.02630438655614853,
0.005738893523812294,
0.024269893765449524,
-0.01287312526255846,
-0.06805652379989624,
-0.01046053972095251,
0.01470957137644291,
-0.057794034481048584,
0.03211979940533638,
-0.04922395199537277,
-0.10817026346921921,
0.06985696405172348,
0.049764081835746765,
-0.02273952215909958,
-0.021353185176849365,
-0.0009379152324981987,
-0.032191816717386246,
-0.01794135570526123,
-0.01407941896468401,
0.09376676380634308,
-0.07165739685297012,
-0.0002742853539530188,
0.0165640227496624,
0.022595485672354698,
-0.05502136051654816,
-0.00257237465120852,
0.023729762062430382,
0.057145874947309494,
0.0032452880404889584,
-0.034856464713811874,
-0.00012265477562323213,
0.05163653939962387,
0.016329964622855186,
-0.00916872639209032,
0.006873168982565403,
-0.024269893765449524,
-0.031687695533037186,
-0.00045207852963358164,
-0.03165168687701225,
-0.00506823044270277,
0.0259442999958992,
-0.011657830327749252,
-0.07677064090967178,
0.03613477200269699,
0.047207463532686234,
0.02012888714671135,
0.02855493314564228,
-0.035594642162323,
0.034352339804172516,
0.026016317307949066,
-0.04814368858933449,
0.00008038670785026625,
-0.0068056522868573666,
0.0591263547539711,
0.007471814285963774,
0.0014943628339096904,
0.09405484050512314,
-0.04068987816572189,
0.032047782093286514,
-0.07720274478197098,
-0.004357058089226484,
-0.004537101835012436,
0.002351820934563875,
-0.012332994490861893,
-0.05275280773639679,
-0.010658588260412216,
0.0034815953113138676,
-0.04897189140319824,
-0.044794876128435135,
-0.04857579618692398,
-0.014907619915902615,
0.01099166925996542,
0.018796563148498535,
0.04076189547777176,
-0.06063872203230858,
-0.002835688414052129,
-0.04227426275610924,
0.008601588197052479,
0.03642284497618675,
-0.016095908358693123,
0.028843002393841743,
-0.03584670275449753,
0.03456839174032211,
0.014349483884871006,
0.006112484261393547,
0.05023219808936119,
-0.02389180101454258,
0.053328949958086014,
0.039717644453048706,
-0.024828027933835983,
-0.06139490753412247,
-0.04065386950969696,
0.02751068025827408,
-0.038925450295209885,
-0.02981523983180523,
0.0033240572083741426,
-0.001378459739498794,
-0.009776373393833637,
0.01319720409810543,
0.012864123098552227,
-0.01124372985213995,
-0.012314990162849426,
0.023315660655498505,
-0.027816753834486008,
-0.052068643271923065,
0.02153322845697403,
0.07878713309764862,
0.015762826427817345,
0.039825670421123505,
-0.0732777938246727,
0.10298500210046768,
0.002459847368299961,
0.04472285881638527,
0.028320876881480217,
-0.042562335729599,
0.011765857227146626,
0.010388522408902645,
0.016852091997861862,
0.010928653180599213,
-0.031939756125211716,
-0.029437147080898285,
0.015051654540002346,
-0.05401311442255974,
-0.001129211625084281,
0.012738092802464962,
-0.00541931577026844,
0.0006701002130284905,
-0.01189188752323389,
0.028374889865517616,
0.043282508850097656,
-0.0013728333869948983,
0.07216151803731918,
0.02263149432837963,
0.036062754690647125,
-0.019462725147604942,
0.05797407776117325,
-0.008146977983415127,
0.02027292177081108,
-0.03040938265621662,
0.01048754621297121,
-0.02277553081512451,
0.03217381238937378,
-0.06247517094016075,
-0.029797235503792763,
-0.032101795077323914,
-0.02810482308268547,
-0.03885343298316002,
0.06715630739927292,
0.013836359605193138,
-0.013152193278074265,
-0.0031485145445913076,
-0.013368246145546436,
-0.022163381800055504,
-0.018427474424242973,
0.013557291589677334,
0.030985523015260696,
0.01099166925996542,
0.0041905175894498825,
0.008016446605324745,
0.04555106163024902,
-0.06665218621492386,
0.017140161246061325,
0.019354699179530144,
-0.015393737703561783,
0.021515224128961563,
-0.08318019658327103,
-0.022721515968441963,
0.03975365310907364,
0.006044967565685511,
0.031453635543584824,
-0.0658239796757698,
-0.037665143609046936,
0.01162182167172432,
-0.013386250473558903,
-0.0004982147365808487,
-0.003096751868724823,
-0.058442190289497375,
-0.026484429836273193,
0.04411071166396141,
-0.07432204484939575,
-0.005617363844066858,
-0.013791348785161972,
0.05808210372924805,
0.00540581252425909,
-0.04702742025256157,
0.02288355678319931,
0.00845305249094963,
0.024918049573898315,
-0.002016489626839757,
0.053076885640621185,
0.003904698183760047,
0.02670048363506794,
0.010973664000630379,
-0.033146049827337265,
0.044542815536260605,
-0.04598316550254822,
0.006990197114646435,
0.029149077832698822,
-0.022109368816018105,
0.014916622079908848,
0.04879184812307358,
-0.02459397166967392,
-0.018886586651206017,
-0.018094392493367195,
0.046199217438697815,
0.04227426275610924,
-0.023261647671461105,
-0.047207463532686234,
0.0066301096230745316,
-0.005540845450013876,
-0.033650171011686325,
0.06971292942762375,
-0.024467941373586655,
-0.01901261694729328,
-0.07410599291324615,
-0.01101867575198412,
-0.035612646490335464,
-0.017221180722117424,
0.022703511640429497,
0.012774101458489895,
-0.052428729832172394,
-0.00480716722086072,
0.023369673639535904,
-0.039069484919309616,
-0.06182701140642166,
-0.03838532045483589,
0.01083863154053688,
-0.003996970597654581,
-0.04616320878267288,
0.011747852899134159,
0.04195018485188484,
-0.020615005865693092,
-0.02805081009864807,
0.010694596916437149,
0.0993841290473938,
0.014376490376889706,
0.02625037357211113,
-0.026520438492298126,
-0.039825670421123505,
-0.036710914224386215,
-0.02187531068921089,
0.03899746760725975,
0.021911319345235825,
0.0355406291782856,
-0.09657544642686844,
-0.029221095144748688,
0.00892566703259945,
-0.03316405415534973,
-0.002997727831825614,
0.01877855882048607,
-0.028086818754673004,
0.04627123475074768,
-0.0006875419639982283,
-0.0826040580868721,
0.010550561361014843,
-0.048755839467048645,
-0.012233970686793327,
-0.05368903651833534,
-0.11724446713924408,
-0.03444236144423485,
0.037917207926511765,
0.027672719210386276,
0.017653286457061768,
-0.027186600491404533,
0.0038911947049200535,
0.05707385763525963,
0.02950916439294815,
0.009848391637206078,
-0.05354500189423561,
0.059198372066020966,
0.0259983129799366,
-0.027816753834486008,
-0.015843847766518593,
0.012179957702755928,
0.05131245777010918,
0.02453995868563652,
-0.0876452773809433,
-0.09419887512922287,
0.019048625603318214,
0.04040180891752243,
-0.038313303142786026,
0.0015945121413096786,
-0.02950916439294815,
-0.006769643630832434,
0.03737707436084747,
-0.024828027933835983,
-0.016573024913668633,
-0.07028906792402267,
-0.08368431776762009,
-0.03057142347097397,
-0.012035922147333622,
0.021389193832874298,
-0.07194546610116959,
-0.03428032249212265,
-0.01046053972095251,
0.0470634289085865,
-0.08065958321094513,
-0.038925450295209885,
-0.05260877311229706,
-0.036908961832523346,
-0.02027292177081108,
-0.06913678348064423,
0.03838532045483589,
-0.046559303998947144,
0.0001502239756518975,
-0.034658413380384445,
0.06449165940284729,
-0.01757226698100567,
-0.030283352360129356,
0.04562307894229889,
-0.055633507668972015,
-0.013458267785608768,
0.035612646490335464,
-0.031003527343273163,
-0.019156651571393013,
-0.015789832919836044,
-0.043894656002521515,
0.019840817898511887,
-0.02047097124159336,
0.011837874539196491,
0.05095237120985985,
-0.030535414814949036,
-0.0011286489898338914,
-0.010685594752430916,
-0.05444521829485893,
-0.030877497047185898,
0.03262392058968544,
-0.03748510032892227,
0.002822185168042779,
-0.008921165950596333,
-0.00784540455788374,
0.013719331473112106,
0.02403583563864231,
0.04537101462483406,
0.03026534803211689,
-0.03622479736804962,
-0.0259442999958992,
-0.0176082756370306,
0.014421501196920872,
-0.010280496440827847,
0.057938069105148315,
-0.03888944163918495,
0.08433247357606888,
-0.043282508850097656,
-0.04457882419228554,
0.06708429008722305,
-0.008070459589362144,
-0.03813325986266136,
0.026088334619998932,
0.007359286770224571,
-0.006715630646795034,
-0.0041184998117387295,
0.002716409508138895,
-0.04130202904343605,
-0.001987232593819499,
-0.05826214700937271,
0.02574625052511692,
-0.04537101462483406,
-0.035918720066547394,
0.014727575704455376,
-0.08231598883867264,
0.05966648831963539,
0.044866893440485,
-0.033902231603860855,
0.010118456557393074,
-0.009992426261305809,
0.024359915405511856,
-0.01636597327888012,
-0.02614234760403633,
-0.0015990132233127952,
0.004631624557077885,
0.052068643271923065,
0.03827729448676109,
0.01136976107954979,
0.008399039506912231,
-0.011837874539196491,
-0.028266863897442818,
-0.04918794333934784,
0.05469728261232376,
0.020056869834661484,
-0.049512021243572235,
-0.03546861186623573,
0.013152193278074265,
-0.0028649456799030304,
-0.017257189378142357,
0.0224334467202425,
0.027420658618211746,
0.017653286457061768,
-0.025080090388655663,
0.04083391651511192,
-0.03330808877944946,
0.05833416432142258,
0.03487446904182434,
-0.010856635868549347,
0.013422259129583836,
-0.034694425761699677,
-0.02815883792936802,
-0.007642855867743492,
-0.021659258753061295,
-0.016329964622855186,
-0.002954967552796006,
0.02504408173263073,
0.008840146474540234,
0.019048625603318214,
-0.03478444740176201,
-0.05502136051654816,
0.02484603226184845,
-0.011072688736021519,
0.01872454583644867,
0.0033668174874037504,
-0.0039924695156514645,
0.009677349589765072,
0.0062835258431732655,
-0.01856250688433647,
0.009524312801659107,
-0.01028949860483408,
-0.029347125440835953,
0.0006926056812517345,
0.02403583563864231,
0.019696783274412155,
0.0010515678441151977,
-0.010712601244449615,
-0.0011691588442772627,
-0.05624565854668617,
0.01922866888344288,
-0.03478444740176201,
0.006967691704630852,
0.01897660829126835,
-0.006967691704630852,
0.029689209535717964,
-0.0020344939548522234,
-0.0472794808447361,
0.02032693475484848,
0.01064058393239975,
0.0028942027129232883,
0.035810694098472595,
0.0035153536591678858,
-0.020849062129855156,
0.03622479736804962,
-0.037413083016872406,
-0.06953288614749908,
0.06305130571126938,
0.03809725120663643,
-0.01827443763613701,
-0.015078661032021046,
0.07554634660482407,
-0.07619450241327286,
-0.0731697678565979,
0.0033668174874037504,
-0.009794377721846104,
-0.0378451906144619,
0.008660102263092995,
0.09563922137022018,
0.05988254025578499,
0.01712215691804886,
0.009767371229827404,
0.004312046803534031,
0.010073445737361908,
0.0034658415243029594,
0.03336210176348686,
-0.017347212880849838,
0.012278981506824493,
0.03921351954340935,
-0.02097509242594242,
-0.024107852950692177,
-0.01054155919700861,
-0.01852649822831154,
-0.014115427620708942,
-0.04767557606101036,
-0.024359915405511856,
0.024467941373586655,
0.013485274277627468,
0.09621535986661911,
0.07993941009044647,
0.04511895403265953,
0.09578325599431992
] |
5,635 | flask.sansio.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: Scaffold, *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.0064815739169716835,
-0.013260219246149063,
0.028194846585392952,
0.035306572914123535,
-0.006342039909213781,
0.038169268518686295,
-0.004368310794234276,
0.03262392058968544,
0.014583541080355644,
0.004987210966646671,
-0.01824743114411831,
0.01575382426381111,
0.05415714904665947,
0.0031845232006162405,
0.03347012773156166,
0.030427386984229088,
0.008417043834924698,
0.02047097124159336,
0.0377371609210968,
0.012080932967364788,
0.048755839467048645,
-0.005270779598504305,
0.004919694736599922,
-0.006540087983012199,
0.004825171548873186,
-0.004201770294457674,
-0.012423016130924225,
0.024449937045574188,
0.062115080654621124,
-0.0017104153521358967,
0.0020074874628335238,
0.046343252062797546,
-0.02072303183376789,
0.05145649239420891,
0.05674977973103523,
0.006859665736556053,
-0.039573609828948975,
0.04375062137842178,
-0.003886693622916937,
0.0129451435059309,
-0.005914436187595129,
-0.017221180722117424,
0.0662560909986496,
0.00649957824498415,
0.039969705045223236,
0.0059774513356387615,
0.009344268590211868,
0.01987682655453682,
0.011063686572015285,
0.02580026350915432,
0.04292242228984833,
-0.009632338769733906,
0.007948930375277996,
0.004228776786476374,
0.022397438064217567,
0.04781961068511009,
0.016699055209755898,
-0.022919565439224243,
0.05876626819372177,
-0.024377919733524323,
-0.00007729220669716597,
0.03989768773317337,
0.037521108984947205,
0.009141719900071621,
-0.002815433545038104,
-0.03507251664996147,
0.0018690788419917226,
-0.019696783274412155,
0.03411828354001045,
0.03924952819943428,
0.006049468647688627,
0.03262392058968544,
0.02088507078588009,
-0.003186773741617799,
0.044866893440485,
0.0032430374994874,
-0.027438662946224213,
-0.041374046355485916,
0.006846162490546703,
-0.027384649962186813,
0.012450022622942924,
0.04205821081995964,
-0.03494648635387421,
0.036656901240348816,
-0.01506065670400858,
0.005860422737896442,
0.043534569442272186,
-0.011063686572015285,
-0.00017526130250189453,
0.022109368816018105,
-0.012927139177918434,
0.01497963722795248,
0.000013239542568044271,
-0.01867053285241127,
0.005005215294659138,
-0.037521108984947205,
-0.021065114066004753,
-0.00785890780389309,
-0.05721789225935936,
0.011378763243556023,
-0.02117314003407955,
0.05340096727013588,
0.026034321635961533,
0.030355369672179222,
0.08404440432786942,
-0.011810868047177792,
-0.0165910292416811,
-0.023657744750380516,
-0.004501092713326216,
-0.014160438440740108,
0.010730605572462082,
-0.052824825048446655,
-0.03678293153643608,
0.03347012773156166,
-0.028392894193530083,
-0.06600402295589447,
-0.010631581768393517,
0.004924195818603039,
0.0049512023106217384,
-0.05113241448998451,
0.0035963731352239847,
0.031129557639360428,
-0.02706057019531727,
-0.0756903812289238,
0.024431932717561722,
0.02142520248889923,
0.004005972761660814,
0.046199217438697815,
0.06960490345954895,
-0.06784047186374664,
-0.01136976107954979,
0.031597673892974854,
-0.006675120908766985,
-0.044866893440485,
-0.004462833516299725,
-0.002198783913627267,
0.028482915833592415,
0.002531864680349827,
-0.04627123475074768,
0.024323906749486923,
-0.028680963441729546,
0.06096280366182327,
0.010874640196561813,
0.02369375340640545,
-0.009281253442168236,
0.03647685796022415,
-0.016329964622855186,
0.03615277633070946,
-0.0130531694740057,
0.024701997637748718,
0.012369003146886826,
-0.008426045998930931,
0.015735819935798645,
0.0223794337362051,
-0.04666732996702194,
-0.006189002655446529,
0.014583541080355644,
0.047207463532686234,
0.07468213140964508,
0.008227997459471226,
-0.01264807116240263,
0.016663046553730965,
-0.008849148638546467,
-0.026340395212173462,
-0.0007876912713982165,
0.03627881035208702,
-0.019156651571393013,
-0.014448508620262146,
0.005914436187595129,
0.05556149035692215,
-0.018373461440205574,
-0.018211422488093376,
0.04018575698137283,
0.030229339376091957,
0.046559303998947144,
0.03206578642129898,
0.04029378294944763,
-0.014529528096318245,
0.050268206745386124,
0.03678293153643608,
0.004023977089673281,
-0.02113713137805462,
-0.013314233161509037,
-0.02428789809346199,
0.0635194256901741,
0.09045396000146866,
-0.0212271548807621,
0.01833745278418064,
0.00916872639209032,
-0.005905434023588896,
0.05556149035692215,
0.004068987909704447,
0.02057899720966816,
-0.0016395230777561665,
-0.042886413633823395,
-0.04068987816572189,
-0.011117699556052685,
-0.010829629376530647,
0.04371461272239685,
-0.03687295317649841,
0.0329119898378849,
0.04637926071882248,
0.02916708216071129,
0.02580026350915432,
-0.012522040866315365,
0.0756903812289238,
0.0423462800681591,
0.013530285097658634,
-0.07943528890609741,
-0.01116271037608385,
0.01468256488442421,
-0.08318019658327103,
-0.037629134953022,
-0.0034455866552889347,
0.002777174348011613,
-0.0732777938246727,
0.07605046778917313,
-0.001144965528510511,
-0.02625037357211113,
0.012341996654868126,
0.018652528524398804,
0.05484131723642349,
-0.03838532045483589,
-0.02428789809346199,
0.0049962131306529045,
0.0004124126280657947,
-0.018067386001348495,
-0.08973378688097,
-0.025710241869091988,
-0.06884871423244476,
-0.02659245766699314,
0.012134946882724762,
0.020759040489792824,
-0.01839146576821804,
0.019696783274412155,
-0.019732791930437088,
0.03040938265621662,
-0.005950444843620062,
-0.05667776241898537,
-0.03798922523856163,
0.014880613423883915,
-0.0024778516963124275,
0.08332423120737076,
0.03256990760564804,
-0.02403583563864231,
0.011360757984220982,
-0.022397438064217567,
0.05862223356962204,
-0.009956417605280876,
0.02950916439294815,
-0.03368617966771126,
-0.009177728556096554,
-0.013863366097211838,
0.03343411907553673,
-0.019588755443692207,
-0.000837203289847821,
0.006594100967049599,
-0.031939756125211716,
-0.002336067147552967,
0.03627881035208702,
-0.016014888882637024,
-0.04555106163024902,
0.08865352720022202,
0.034208305180072784,
-0.05275280773639679,
-0.019192660227417946,
-0.07201748341321945,
0.00819648988544941,
-0.07007301598787308,
-0.00476665748283267,
0.021695267409086227,
-0.01327822357416153,
0.007327779196202755,
0.02518811635673046,
-0.0047171451151371,
-0.018067386001348495,
-0.06171898543834686,
-0.052068643271923065,
-0.009398281574249268,
-0.016888100653886795,
0.07662660628557205,
-0.07914721965789795,
0.045154962688684464,
0.045695096254348755,
-0.040473826229572296,
0.02920309081673622,
0.020254917442798615,
0.047963645309209824,
0.018850576132535934,
-0.04922395199537277,
-0.032389864325523376,
-0.002214537700638175,
0.02630438655614853,
0.005738893523812294,
0.024269893765449524,
-0.01287312526255846,
-0.06805652379989624,
-0.01046053972095251,
0.01470957137644291,
-0.057794034481048584,
0.03211979940533638,
-0.04922395199537277,
-0.10817026346921921,
0.06985696405172348,
0.049764081835746765,
-0.02273952215909958,
-0.021353185176849365,
-0.0009379152324981987,
-0.032191816717386246,
-0.01794135570526123,
-0.01407941896468401,
0.09376676380634308,
-0.07165739685297012,
-0.0002742853539530188,
0.0165640227496624,
0.022595485672354698,
-0.05502136051654816,
-0.00257237465120852,
0.023729762062430382,
0.057145874947309494,
0.0032452880404889584,
-0.034856464713811874,
-0.00012265477562323213,
0.05163653939962387,
0.016329964622855186,
-0.00916872639209032,
0.006873168982565403,
-0.024269893765449524,
-0.031687695533037186,
-0.00045207852963358164,
-0.03165168687701225,
-0.00506823044270277,
0.0259442999958992,
-0.011657830327749252,
-0.07677064090967178,
0.03613477200269699,
0.047207463532686234,
0.02012888714671135,
0.02855493314564228,
-0.035594642162323,
0.034352339804172516,
0.026016317307949066,
-0.04814368858933449,
0.00008038670785026625,
-0.0068056522868573666,
0.0591263547539711,
0.007471814285963774,
0.0014943628339096904,
0.09405484050512314,
-0.04068987816572189,
0.032047782093286514,
-0.07720274478197098,
-0.004357058089226484,
-0.004537101835012436,
0.002351820934563875,
-0.012332994490861893,
-0.05275280773639679,
-0.010658588260412216,
0.0034815953113138676,
-0.04897189140319824,
-0.044794876128435135,
-0.04857579618692398,
-0.014907619915902615,
0.01099166925996542,
0.018796563148498535,
0.04076189547777176,
-0.06063872203230858,
-0.002835688414052129,
-0.04227426275610924,
0.008601588197052479,
0.03642284497618675,
-0.016095908358693123,
0.028843002393841743,
-0.03584670275449753,
0.03456839174032211,
0.014349483884871006,
0.006112484261393547,
0.05023219808936119,
-0.02389180101454258,
0.053328949958086014,
0.039717644453048706,
-0.024828027933835983,
-0.06139490753412247,
-0.04065386950969696,
0.02751068025827408,
-0.038925450295209885,
-0.02981523983180523,
0.0033240572083741426,
-0.001378459739498794,
-0.009776373393833637,
0.01319720409810543,
0.012864123098552227,
-0.01124372985213995,
-0.012314990162849426,
0.023315660655498505,
-0.027816753834486008,
-0.052068643271923065,
0.02153322845697403,
0.07878713309764862,
0.015762826427817345,
0.039825670421123505,
-0.0732777938246727,
0.10298500210046768,
0.002459847368299961,
0.04472285881638527,
0.028320876881480217,
-0.042562335729599,
0.011765857227146626,
0.010388522408902645,
0.016852091997861862,
0.010928653180599213,
-0.031939756125211716,
-0.029437147080898285,
0.015051654540002346,
-0.05401311442255974,
-0.001129211625084281,
0.012738092802464962,
-0.00541931577026844,
0.0006701002130284905,
-0.01189188752323389,
0.028374889865517616,
0.043282508850097656,
-0.0013728333869948983,
0.07216151803731918,
0.02263149432837963,
0.036062754690647125,
-0.019462725147604942,
0.05797407776117325,
-0.008146977983415127,
0.02027292177081108,
-0.03040938265621662,
0.01048754621297121,
-0.02277553081512451,
0.03217381238937378,
-0.06247517094016075,
-0.029797235503792763,
-0.032101795077323914,
-0.02810482308268547,
-0.03885343298316002,
0.06715630739927292,
0.013836359605193138,
-0.013152193278074265,
-0.0031485145445913076,
-0.013368246145546436,
-0.022163381800055504,
-0.018427474424242973,
0.013557291589677334,
0.030985523015260696,
0.01099166925996542,
0.0041905175894498825,
0.008016446605324745,
0.04555106163024902,
-0.06665218621492386,
0.017140161246061325,
0.019354699179530144,
-0.015393737703561783,
0.021515224128961563,
-0.08318019658327103,
-0.022721515968441963,
0.03975365310907364,
0.006044967565685511,
0.031453635543584824,
-0.0658239796757698,
-0.037665143609046936,
0.01162182167172432,
-0.013386250473558903,
-0.0004982147365808487,
-0.003096751868724823,
-0.058442190289497375,
-0.026484429836273193,
0.04411071166396141,
-0.07432204484939575,
-0.005617363844066858,
-0.013791348785161972,
0.05808210372924805,
0.00540581252425909,
-0.04702742025256157,
0.02288355678319931,
0.00845305249094963,
0.024918049573898315,
-0.002016489626839757,
0.053076885640621185,
0.003904698183760047,
0.02670048363506794,
0.010973664000630379,
-0.033146049827337265,
0.044542815536260605,
-0.04598316550254822,
0.006990197114646435,
0.029149077832698822,
-0.022109368816018105,
0.014916622079908848,
0.04879184812307358,
-0.02459397166967392,
-0.018886586651206017,
-0.018094392493367195,
0.046199217438697815,
0.04227426275610924,
-0.023261647671461105,
-0.047207463532686234,
0.0066301096230745316,
-0.005540845450013876,
-0.033650171011686325,
0.06971292942762375,
-0.024467941373586655,
-0.01901261694729328,
-0.07410599291324615,
-0.01101867575198412,
-0.035612646490335464,
-0.017221180722117424,
0.022703511640429497,
0.012774101458489895,
-0.052428729832172394,
-0.00480716722086072,
0.023369673639535904,
-0.039069484919309616,
-0.06182701140642166,
-0.03838532045483589,
0.01083863154053688,
-0.003996970597654581,
-0.04616320878267288,
0.011747852899134159,
0.04195018485188484,
-0.020615005865693092,
-0.02805081009864807,
0.010694596916437149,
0.0993841290473938,
0.014376490376889706,
0.02625037357211113,
-0.026520438492298126,
-0.039825670421123505,
-0.036710914224386215,
-0.02187531068921089,
0.03899746760725975,
0.021911319345235825,
0.0355406291782856,
-0.09657544642686844,
-0.029221095144748688,
0.00892566703259945,
-0.03316405415534973,
-0.002997727831825614,
0.01877855882048607,
-0.028086818754673004,
0.04627123475074768,
-0.0006875419639982283,
-0.0826040580868721,
0.010550561361014843,
-0.048755839467048645,
-0.012233970686793327,
-0.05368903651833534,
-0.11724446713924408,
-0.03444236144423485,
0.037917207926511765,
0.027672719210386276,
0.017653286457061768,
-0.027186600491404533,
0.0038911947049200535,
0.05707385763525963,
0.02950916439294815,
0.009848391637206078,
-0.05354500189423561,
0.059198372066020966,
0.0259983129799366,
-0.027816753834486008,
-0.015843847766518593,
0.012179957702755928,
0.05131245777010918,
0.02453995868563652,
-0.0876452773809433,
-0.09419887512922287,
0.019048625603318214,
0.04040180891752243,
-0.038313303142786026,
0.0015945121413096786,
-0.02950916439294815,
-0.006769643630832434,
0.03737707436084747,
-0.024828027933835983,
-0.016573024913668633,
-0.07028906792402267,
-0.08368431776762009,
-0.03057142347097397,
-0.012035922147333622,
0.021389193832874298,
-0.07194546610116959,
-0.03428032249212265,
-0.01046053972095251,
0.0470634289085865,
-0.08065958321094513,
-0.038925450295209885,
-0.05260877311229706,
-0.036908961832523346,
-0.02027292177081108,
-0.06913678348064423,
0.03838532045483589,
-0.046559303998947144,
0.0001502239756518975,
-0.034658413380384445,
0.06449165940284729,
-0.01757226698100567,
-0.030283352360129356,
0.04562307894229889,
-0.055633507668972015,
-0.013458267785608768,
0.035612646490335464,
-0.031003527343273163,
-0.019156651571393013,
-0.015789832919836044,
-0.043894656002521515,
0.019840817898511887,
-0.02047097124159336,
0.011837874539196491,
0.05095237120985985,
-0.030535414814949036,
-0.0011286489898338914,
-0.010685594752430916,
-0.05444521829485893,
-0.030877497047185898,
0.03262392058968544,
-0.03748510032892227,
0.002822185168042779,
-0.008921165950596333,
-0.00784540455788374,
0.013719331473112106,
0.02403583563864231,
0.04537101462483406,
0.03026534803211689,
-0.03622479736804962,
-0.0259442999958992,
-0.0176082756370306,
0.014421501196920872,
-0.010280496440827847,
0.057938069105148315,
-0.03888944163918495,
0.08433247357606888,
-0.043282508850097656,
-0.04457882419228554,
0.06708429008722305,
-0.008070459589362144,
-0.03813325986266136,
0.026088334619998932,
0.007359286770224571,
-0.006715630646795034,
-0.0041184998117387295,
0.002716409508138895,
-0.04130202904343605,
-0.001987232593819499,
-0.05826214700937271,
0.02574625052511692,
-0.04537101462483406,
-0.035918720066547394,
0.014727575704455376,
-0.08231598883867264,
0.05966648831963539,
0.044866893440485,
-0.033902231603860855,
0.010118456557393074,
-0.009992426261305809,
0.024359915405511856,
-0.01636597327888012,
-0.02614234760403633,
-0.0015990132233127952,
0.004631624557077885,
0.052068643271923065,
0.03827729448676109,
0.01136976107954979,
0.008399039506912231,
-0.011837874539196491,
-0.028266863897442818,
-0.04918794333934784,
0.05469728261232376,
0.020056869834661484,
-0.049512021243572235,
-0.03546861186623573,
0.013152193278074265,
-0.0028649456799030304,
-0.017257189378142357,
0.0224334467202425,
0.027420658618211746,
0.017653286457061768,
-0.025080090388655663,
0.04083391651511192,
-0.03330808877944946,
0.05833416432142258,
0.03487446904182434,
-0.010856635868549347,
0.013422259129583836,
-0.034694425761699677,
-0.02815883792936802,
-0.007642855867743492,
-0.021659258753061295,
-0.016329964622855186,
-0.002954967552796006,
0.02504408173263073,
0.008840146474540234,
0.019048625603318214,
-0.03478444740176201,
-0.05502136051654816,
0.02484603226184845,
-0.011072688736021519,
0.01872454583644867,
0.0033668174874037504,
-0.0039924695156514645,
0.009677349589765072,
0.0062835258431732655,
-0.01856250688433647,
0.009524312801659107,
-0.01028949860483408,
-0.029347125440835953,
0.0006926056812517345,
0.02403583563864231,
0.019696783274412155,
0.0010515678441151977,
-0.010712601244449615,
-0.0011691588442772627,
-0.05624565854668617,
0.01922866888344288,
-0.03478444740176201,
0.006967691704630852,
0.01897660829126835,
-0.006967691704630852,
0.029689209535717964,
-0.0020344939548522234,
-0.0472794808447361,
0.02032693475484848,
0.01064058393239975,
0.0028942027129232883,
0.035810694098472595,
0.0035153536591678858,
-0.020849062129855156,
0.03622479736804962,
-0.037413083016872406,
-0.06953288614749908,
0.06305130571126938,
0.03809725120663643,
-0.01827443763613701,
-0.015078661032021046,
0.07554634660482407,
-0.07619450241327286,
-0.0731697678565979,
0.0033668174874037504,
-0.009794377721846104,
-0.0378451906144619,
0.008660102263092995,
0.09563922137022018,
0.05988254025578499,
0.01712215691804886,
0.009767371229827404,
0.004312046803534031,
0.010073445737361908,
0.0034658415243029594,
0.03336210176348686,
-0.017347212880849838,
0.012278981506824493,
0.03921351954340935,
-0.02097509242594242,
-0.024107852950692177,
-0.01054155919700861,
-0.01852649822831154,
-0.014115427620708942,
-0.04767557606101036,
-0.024359915405511856,
0.024467941373586655,
0.013485274277627468,
0.09621535986661911,
0.07993941009044647,
0.04511895403265953,
0.09578325599431992
] |
5,636 | flask.sansio.blueprints | record | Registers a function that is called when the blueprint is
registered on the application. This function is called with the
state as argument as returned by the :meth:`make_setup_state`
method.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, func: Callable[[flask.sansio.blueprints.BlueprintSetupState], NoneType]) -> NoneType | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,637 | flask.sansio.blueprints | record_once | Works like :meth:`record` but wraps the function in another
function that will ensure the function is only called once. If the
blueprint is registered a second time on the application, the
function passed is not called.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, func: Callable[[flask.sansio.blueprints.BlueprintSetupState], NoneType]) -> NoneType | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,638 | flask.sansio.blueprints | register | Called by :meth:`Flask.register_blueprint` to register all
views and callbacks registered on the blueprint with the
application. Creates a :class:`.BlueprintSetupState` and calls
each :meth:`record` callback with it.
:param app: The application this blueprint is being registered
with.
:param options: Keyword arguments forwarded from
:meth:`~Flask.register_blueprint`.
.. versionchanged:: 2.3
Nested blueprints now correctly apply subdomains.
.. versionchanged:: 2.1
Registering the same blueprint with the same name multiple
times is an error.
.. versionchanged:: 2.0.1
Nested blueprints are registered with their dotted name.
This allows different blueprints with the same name to be
nested at different locations.
.. 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``.
| def register(self, app: App, options: dict[str, t.Any]) -> None:
"""Called by :meth:`Flask.register_blueprint` to register all
views and callbacks registered on the blueprint with the
application. Creates a :class:`.BlueprintSetupState` and calls
each :meth:`record` callback with it.
:param app: The application this blueprint is being registered
with.
:param options: Keyword arguments forwarded from
:meth:`~Flask.register_blueprint`.
.. versionchanged:: 2.3
Nested blueprints now correctly apply subdomains.
.. versionchanged:: 2.1
Registering the same blueprint with the same name multiple
times is an error.
.. versionchanged:: 2.0.1
Nested blueprints are registered with their dotted name.
This allows different blueprints with the same name to be
nested at different locations.
.. 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``.
"""
name_prefix = options.get("name_prefix", "")
self_name = options.get("name", self.name)
name = f"{name_prefix}.{self_name}".lstrip(".")
if name in app.blueprints:
bp_desc = "this" if app.blueprints[name] is self else "a different"
existing_at = f" '{name}'" if self_name != name else ""
raise ValueError(
f"The name '{self_name}' is already registered for"
f" {bp_desc} blueprint{existing_at}. Use 'name=' to"
f" provide a unique name."
)
first_bp_registration = not any(bp is self for bp in app.blueprints.values())
first_name_registration = name not in app.blueprints
app.blueprints[name] = self
self._got_registered_once = True
state = self.make_setup_state(app, options, first_bp_registration)
if self.has_static_folder:
state.add_url_rule(
f"{self.static_url_path}/<path:filename>",
view_func=self.send_static_file, # type: ignore[attr-defined]
endpoint="static",
)
# Merge blueprint data into parent.
if first_bp_registration or first_name_registration:
self._merge_blueprint_funcs(app, name)
for deferred in self.deferred_functions:
deferred(state)
cli_resolved_group = options.get("cli_group", self.cli_group)
if self.cli.commands:
if cli_resolved_group is None:
app.cli.commands.update(self.cli.commands)
elif cli_resolved_group is _sentinel:
self.cli.name = name
app.cli.add_command(self.cli)
else:
self.cli.name = cli_resolved_group
app.cli.add_command(self.cli)
for blueprint, bp_options in self._blueprints:
bp_options = bp_options.copy()
bp_url_prefix = bp_options.get("url_prefix")
bp_subdomain = bp_options.get("subdomain")
if bp_subdomain is None:
bp_subdomain = blueprint.subdomain
if state.subdomain is not None and bp_subdomain is not None:
bp_options["subdomain"] = bp_subdomain + "." + state.subdomain
elif bp_subdomain is not None:
bp_options["subdomain"] = bp_subdomain
elif state.subdomain is not None:
bp_options["subdomain"] = state.subdomain
if bp_url_prefix is None:
bp_url_prefix = blueprint.url_prefix
if state.url_prefix is not None and bp_url_prefix is not None:
bp_options["url_prefix"] = (
state.url_prefix.rstrip("/") + "/" + bp_url_prefix.lstrip("/")
)
elif bp_url_prefix is not None:
bp_options["url_prefix"] = bp_url_prefix
elif state.url_prefix is not None:
bp_options["url_prefix"] = state.url_prefix
bp_options["name_prefix"] = name
blueprint.register(app, bp_options)
| (self, app: 'App', options: 'dict[str, t.Any]') -> 'None' | [
0.01114390604197979,
-0.04936608299612999,
-0.05622699484229088,
-0.043114129453897476,
-0.013863911852240562,
0.014259734191000462,
0.015274661593139172,
0.002372393384575844,
0.006439716089516878,
-0.03318813443183899,
-0.011681817471981049,
-0.03745083138346672,
0.02780901826918125,
0.020115867257118225,
0.03008245676755905,
-0.0077844951301813126,
0.06641686707735062,
0.030549323186278343,
0.019029894843697548,
-0.04891951382160187,
0.012351670302450657,
0.03874994069337845,
0.04526577517390251,
-0.0068862843327224255,
-0.05013742670416832,
0.054075345396995544,
-0.019923031330108643,
0.03615172579884529,
0.022125422954559326,
0.02734215185046196,
0.00013431932893581688,
-0.05440012365579605,
0.06093625724315643,
-0.0011075398651883006,
0.05971834436058998,
-0.01355943363159895,
-0.003425380913540721,
0.039906956255435944,
-0.013366597704589367,
0.03840486332774162,
0.06268193572759628,
-0.05094936862587929,
-0.009012557566165924,
-0.03925740346312523,
0.08760856091976166,
0.048635333776474,
0.002310229232534766,
0.08160018920898438,
-0.05391295999288559,
-0.014340927824378014,
0.010134052485227585,
-0.07368374615907669,
-0.011225100606679916,
0.04372308403253555,
-0.003917620982974768,
0.028681855648756027,
0.007119717542082071,
0.0692586675286293,
0.019679447636008263,
-0.0012540699681267142,
0.019293775781989098,
-0.016025708988308907,
0.012930179014801979,
-0.005006130784749985,
0.017111681401729584,
-0.004607771523296833,
-0.006033745128661394,
-0.040901586413383484,
-0.027727823704481125,
-0.0014894063351675868,
0.023729009553790092,
0.002444707090035081,
-0.00721106119453907,
-0.01405674871057272,
0.019364820793271065,
-0.01366092637181282,
0.0727500170469284,
-0.06731000542640686,
0.005414639133960009,
-0.020887210965156555,
0.05143653601408005,
-0.042180392891168594,
-0.03359410539269447,
0.0013879135949537158,
0.013072268106043339,
0.0280728992074728,
0.008667482063174248,
-0.01719287410378456,
-0.028174392879009247,
0.006860910914838314,
-0.047173839062452316,
-0.04477860778570175,
0.06381865590810776,
0.0622759610414505,
-0.015112273395061493,
-0.07656614482402802,
-0.03065081685781479,
0.03822217509150505,
0.043966665863990784,
-0.01846153475344181,
-0.02983887307345867,
-0.037613220512866974,
-0.02985917218029499,
0.013468090444803238,
0.01667526178061962,
-0.026956479996442795,
-0.03791769966483116,
0.0057952371425926685,
-0.04713324084877968,
-0.02206452749669552,
-0.02255169302225113,
0.001564257312566042,
0.028478870168328285,
-0.009925993159413338,
-0.01793377287685871,
-0.0003609336563386023,
0.02275467850267887,
0.017832279205322266,
0.043966665863990784,
-0.03471052646636963,
-0.016543321311473846,
0.018045414239168167,
0.018096160143613815,
-0.027179762721061707,
0.033330224454402924,
0.05890640243887901,
0.005368967540562153,
0.03040723316371441,
0.02709857001900673,
-0.02655050903558731,
0.03385798633098602,
0.07766226679086685,
-0.07867719233036041,
-0.03872964158654213,
0.07132911682128906,
-0.00645493995398283,
0.0151731688529253,
0.0055110570974648,
-0.04575293883681297,
0.0547654964029789,
-0.032538581639528275,
-0.011864504776895046,
-0.02581975981593132,
0.009169871918857098,
0.049203693866729736,
0.002128810854628682,
0.0015845558373257518,
0.011214951053261757,
-0.02178034745156765,
0.03663888946175575,
0.03948068618774414,
0.059352971613407135,
0.04778279364109039,
0.022714082151651382,
-0.02476423606276512,
0.03261977434158325,
-0.04372308403253555,
0.005120310001075268,
-0.014716451056301594,
-0.05293862894177437,
-0.0025652297772467136,
0.011377339251339436,
-0.043966665863990784,
-0.05793207138776779,
-0.034304555505514145,
0.013894359581172466,
0.01204719115048647,
-0.01076838281005621,
0.01264599896967411,
0.08622825890779495,
-0.02307945489883423,
0.0019067954272031784,
-0.0027656778693199158,
0.049731455743312836,
0.017608994618058205,
0.0740085244178772,
0.02303885854780674,
-0.04839175194501877,
0.014259734191000462,
-0.026773791760206223,
0.051517728716135025,
-0.013620329089462757,
-0.009418528527021408,
-0.003912546206265688,
0.012108087539672852,
0.0475798100233078,
-0.02908782660961151,
0.05671415850520134,
0.06933985650539398,
0.06714761257171631,
0.0015363467391580343,
0.038364265114068985,
0.0400693453848362,
-0.028397677466273308,
-0.008682706393301487,
-0.004721951205283403,
-0.04110457003116608,
0.006470163818448782,
-0.003143738489598036,
-0.05297922343015671,
-0.008484795689582825,
-0.006094640586525202,
-0.03641560673713684,
-0.025190504267811775,
0.027768421918153763,
-0.0034355302341282368,
0.015234064310789108,
-0.008885691873729229,
0.03389858454465866,
-0.029514096677303314,
-0.0031538878101855516,
-0.0012039579451084137,
-0.019831687211990356,
-0.0004503741511143744,
-0.020075269043445587,
-0.09678350389003754,
0.039886657148599625,
-0.03789740055799484,
0.021963035687804222,
0.015020929276943207,
0.026266328990459442,
0.03872964158654213,
0.01897914707660675,
-0.004597622435539961,
-0.11188562959432602,
0.0020996315870434046,
0.020846614614129066,
-0.03008245676755905,
0.03755232319235802,
0.02076542004942894,
-0.03385798633098602,
0.009012557566165924,
0.03014335222542286,
-0.000780225673224777,
-0.004536726512014866,
0.0314018614590168,
0.020410194993019104,
0.04124666005373001,
0.017131978645920753,
0.022653186693787575,
0.0446162223815918,
0.048716530203819275,
0.004173890221863985,
-0.04246457293629646,
0.011428086087107658,
-0.015396452508866787,
-0.025941550731658936,
-0.02529199793934822,
-0.0012432864168658853,
-0.02661140449345112,
-0.07831182330846786,
-0.016492575407028198,
0.010727785527706146,
0.007013150490820408,
-0.09329215437173843,
-0.08330526202917099,
-0.018887804821133614,
-0.009048080071806908,
-0.02983887307345867,
0.02383050136268139,
-0.021069899201393127,
-0.014391674660146236,
-0.004579861182719469,
0.053060419857501984,
-0.016654962673783302,
0.00002005076930799987,
0.030589919537305832,
-0.05675475671887398,
-0.043438903987407684,
0.011773161590099335,
0.10254829376935959,
0.015163019299507141,
-0.0389123260974884,
0.004957921802997589,
-0.0011912713525816798,
-0.06690403074026108,
-0.021313481032848358,
0.0074800169095396996,
0.006094640586525202,
-0.0542377345263958,
0.05939356982707977,
-0.04258636385202408,
0.04664607718586922,
-0.0077591221779584885,
-0.008855244144797325,
-0.02127288468182087,
-0.032071713358163834,
0.07088255137205124,
-0.002222691662609577,
-0.02275467850267887,
0.04684906080365181,
-0.02506871335208416,
0.001842093770392239,
0.0673506036400795,
-0.005368967540562153,
0.02864125929772854,
-0.03842516243457794,
0.07165389508008957,
-0.020907510071992874,
-0.07011120766401291,
0.01125554833561182,
0.0324573889374733,
0.03611112758517265,
0.06722880899906158,
-0.017324816435575485,
-0.03194992244243622,
0.04936608299612999,
-0.020826315507292747,
-0.0185021311044693,
0.020389897748827934,
-0.015254363417625427,
0.00028449692763388157,
-0.004846279509365559,
0.02104960009455681,
0.013478239998221397,
0.00013043406943324953,
-0.018309295177459717,
-0.010737935081124306,
-0.010164501145482063,
0.008261511102318764,
-0.05716072767972946,
0.03316783532500267,
-0.03619232028722763,
-0.0009978007292374969,
0.03941979259252548,
0.054562512785196304,
0.049975037574768066,
0.04575293883681297,
-0.02354632318019867,
0.01643167994916439,
-0.04043471813201904,
-0.0011005621636286378,
0.005856132600456476,
0.019831687211990356,
-0.033330224454402924,
-0.05094936862587929,
-0.0003170063137076795,
-0.04254576936364174,
-0.04278935119509697,
-0.06053028628230095,
0.041348155587911606,
0.010626292787492275,
-0.024987518787384033,
-0.004437771160155535,
-0.06284432113170624,
-0.02634752355515957,
-0.025494983419775963,
0.005006130784749985,
-0.0012204505037516356,
-0.030427532270550728,
0.013001224026083946,
-0.038628146052360535,
-0.04226158931851387,
0.04230218753218651,
0.01900959573686123,
-0.07291240245103836,
-0.03497440740466118,
-0.0215164665132761,
0.04098277911543846,
-0.01355943363159895,
-0.03588784113526344,
0.024175576865673065,
-0.08354884386062622,
-0.0022112736478447914,
0.037349339574575424,
-0.019588103517889977,
-0.018390489742159843,
-0.002709856955334544,
0.01545734889805317,
-0.0703141912817955,
0.032518282532691956,
0.008099122904241085,
0.030204247683286667,
-0.014361226931214333,
0.01076838281005621,
-0.04094218090176582,
0.05902819335460663,
-0.011499131098389626,
-0.06511776149272919,
-0.0019968701526522636,
-0.02809319831430912,
0.04106397554278374,
0.014127793721854687,
-0.009413454681634903,
0.0072922552935779095,
-0.07413031905889511,
-0.010052858851850033,
0.023201247677206993,
0.002542393747717142,
-0.027910511940717697,
0.013813165947794914,
0.011235249228775501,
-0.029473500326275826,
0.03907471522688866,
-0.042139798402786255,
-0.0692586675286293,
-0.02022750861942768,
0.009525096043944359,
0.022957663983106613,
0.014442420564591885,
0.06938045471906662,
-0.018552878871560097,
0.06556432694196701,
-0.007256732787936926,
0.053831763565540314,
0.01719287410378456,
0.07425210624933243,
0.06495536863803864,
0.009149572812020779,
0.024175576865673065,
-0.03217320889234543,
-0.004643294028937817,
-0.06008371710777283,
-0.04550935700535774,
-0.021699154749512672,
-0.048716530203819275,
0.029920067638158798,
0.10928741097450256,
0.02303885854780674,
0.01820780336856842,
0.02634752355515957,
0.027200061827898026,
0.04944727569818497,
0.038364265114068985,
0.0015109735541045666,
0.057120129466056824,
-0.0167057104408741,
0.07181628048419952,
0.008631959557533264,
0.022186318412423134,
0.008941512554883957,
-0.00025975806056521833,
0.004521502647548914,
-0.02048124000430107,
0.014767197892069817,
-0.05573982745409012,
0.043114129453897476,
-0.031543951481580734,
0.0033517987467348576,
0.053019821643829346,
0.013691374100744724,
-0.03767411410808563,
-0.00007389942038571462,
-0.020866913720965385,
0.0019308999180793762,
0.006992851849645376,
-0.013173761777579784,
-0.015305109322071075,
0.11505220085382462,
-0.042626962065696716,
-0.003590306732803583,
-0.05671415850520134,
-0.0030701563227921724,
-0.020806018263101578,
-0.057120129466056824,
-0.033837687224149704,
0.06182939559221268,
-0.028539765626192093,
-0.038628146052360535,
0.0058104610070586205,
-0.01951705850660801,
0.013508687727153301,
0.018380340188741684,
0.012189281173050404,
-0.0194561630487442,
0.0020235120318830013,
0.06848731637001038,
-0.008733452297747135,
-0.02610393986105919,
0.01648242585361004,
0.0024066471960395575,
0.023424530401825905,
0.04883832111954689,
-0.022429902106523514,
-0.026936180889606476,
0.02784961648285389,
0.02987947128713131,
-0.0324573889374733,
-0.04749861732125282,
-0.027504540979862213,
0.03369560092687607,
0.011823907494544983,
-0.011681817471981049,
0.025515282526612282,
-0.005363892763853073,
-0.025961849838495255,
0.03014335222542286,
0.027545137330889702,
0.005825684871524572,
0.022166021168231964,
-0.041124869138002396,
-0.04404786229133606,
-0.02075527049601078,
-0.0009375394438393414,
-0.007119717542082071,
0.02864125929772854,
0.04222099110484123,
-0.0009990694234147668,
0.046402495354413986,
0.005988073535263538,
-0.024155279621481895,
-0.039115313440561295,
0.013092567212879658,
0.024216175079345703,
-0.027910511940717697,
-0.043398309499025345,
-0.07477986812591553,
0.031198877841234207,
-0.04295174032449722,
-0.006424492225050926,
-0.06142342463135719,
0.030549323186278343,
0.013437642715871334,
0.010149276815354824,
0.005419713910669088,
-0.007322703022509813,
-0.027443643659353256,
0.005105086136609316,
0.018674669787287712,
0.01724362187087536,
0.017101531848311424,
-0.00002144827703887131,
0.04128725826740265,
0.02529199793934822,
-0.0031513504218310118,
-0.006576731335371733,
0.06933985650539398,
0.0019676911178976297,
0.000539497472345829,
0.023911695927381516,
-0.012321221642196178,
0.03570515662431717,
0.022592289373278618,
-0.009078527800738811,
-0.012970775365829468,
0.017842428758740425,
-0.0430329330265522,
-0.02053198777139187,
0.002057765843346715,
-0.03850635513663292,
0.052004896104335785,
0.0459965243935585,
0.022876469418406487,
-0.016878247261047363,
-0.08160018920898438,
-0.08679661899805069,
-0.0029509023297578096,
-0.04818876460194588,
0.048513542860746384,
-0.06856851279735565,
-0.03146275877952576,
0.022429902106523514,
0.025982148945331573,
-0.001366346376016736,
-0.018593475222587585,
-0.0037628444842994213,
0.018857356160879135,
0.07794644683599472,
0.019374970346689224,
0.0019321686122566462,
-0.05192369967699051,
0.05776968225836754,
-0.04372308403253555,
-0.04177442193031311,
0.03268067166209221,
0.0349947065114975,
-0.005257325246930122,
-0.011123607866466045,
-0.0010193679481744766,
-0.021069899201393127,
-0.020400047302246094,
-0.03241679072380066,
0.005749565549194813,
-0.01227047573775053,
-0.01000211201608181,
-0.0007022030767984688,
0.010225396603345871,
0.005577027797698975,
-0.012737342156469822,
-0.07238464057445526,
0.012108087539672852,
0.012848984450101852,
-0.049000710248947144,
-0.0027047821786254644,
-0.045143984258174896,
0.013163612224161625,
0.024500355124473572,
0.06028670445084572,
0.007003000937402248,
-0.06389984488487244,
-0.07445509731769562,
0.021374376490712166,
0.03395948186516762,
-0.07579480111598969,
0.010169574990868568,
0.03600963577628136,
-0.04347950220108032,
-0.012097937986254692,
0.016543321311473846,
0.026956479996442795,
0.024926623329520226,
0.031543951481580734,
0.05293862894177437,
-0.06990821659564972,
0.005922102835029364,
-0.004336278419941664,
0.003904934274032712,
-0.035319484770298004,
-0.02023765817284584,
-0.01796421967446804,
-0.02224721573293209,
-0.006556432694196701,
0.010311665013432503,
-0.002654035808518529,
-0.0606926754117012,
-0.05870341882109642,
-0.051274146884679794,
0.001365077681839466,
0.0220442283898592,
-0.02249079756438732,
-0.033269330859184265,
0.02786991372704506,
0.03339112177491188,
0.03337082266807556,
-0.04017083719372749,
0.013894359581172466,
-0.012493759393692017,
-0.006992851849645376,
-0.045428164303302765,
-0.006089566275477409,
0.027484241873025894,
-0.02555587887763977,
-0.025677669793367386,
-0.05086817592382431,
0.01873556524515152,
-0.048960112035274506,
-0.006942105479538441,
0.013326000422239304,
-0.01846153475344181,
0.021942736580967903,
0.013102716766297817,
-0.0820467546582222,
-0.020694375038146973,
0.0010314203100278974,
0.004597622435539961,
0.03850635513663292,
-0.027971407398581505,
-0.08444198220968246,
0.05675475671887398,
-0.037389934062957764,
-0.01794392056763172,
0.04130755737423897,
-0.06528014689683914,
0.04372308403253555,
-0.007911361753940582,
0.04002874717116356,
0.011072861030697823,
-0.03213261067867279,
-0.025454387068748474,
0.04579353705048561,
0.010514650493860245,
-0.03471052646636963,
0.039358895272016525,
-0.045184578746557236,
-0.02000422403216362,
0.0037526951637119055,
0.08379243314266205,
-0.043154723942279816,
-0.028519468382000923,
-0.00027815363137051463,
-0.02636782079935074,
-0.00393030745908618,
-0.029026931151747704,
-0.009520021267235279,
-0.018126608803868294,
0.017091382294893265,
-0.0649147778749466,
0.057079531252384186,
0.046686671674251556,
0.0036182173062115908,
-0.011661519296467304,
-0.021211989223957062,
-0.00786061491817236,
0.03570515662431717,
0.020054971799254417,
-0.02147587016224861,
0.03722754865884781,
-0.022409602999687195,
0.05090877413749695,
-0.02279527485370636,
0.02405378594994545,
0.029980963096022606,
0.032558880746364594,
0.04384487494826317,
-0.03874994069337845,
0.043926071375608444,
0.006794940680265427,
-0.10693278163671494,
-0.01825854927301407,
-0.007764196954667568,
0.03523828834295273,
-0.01292002946138382,
0.04879772290587425,
-0.0021135869901627302,
-0.0008227257640101016,
0.049975037574768066,
-0.02224721573293209,
-0.060895662754774094,
0.02531229704618454,
0.02535289339721203,
0.01064659096300602,
0.0022061991039663553,
0.062438350170850754,
-0.0014170927461236715,
-0.04965026304125786,
-0.08760856091976166,
-0.03895292431116104,
-0.004255084320902824,
-0.025860358029603958,
0.03903411701321602,
-0.034507542848587036,
0.03010275587439537,
0.06158581003546715,
-0.03574575483798981,
0.07555121928453445,
-0.008210765197873116,
-0.006997926160693169,
0.0013092567678540945,
0.013853763230144978,
-0.004437771160155535,
-0.0035497096832841635,
-0.009225692600011826,
-0.045428164303302765,
0.0622759610414505,
0.03544127568602562,
-0.03316783532500267,
0.047214437276124954,
-0.0005090496852062643,
-0.03247768431901932,
-0.03416246548295021,
-0.0022125423420220613,
0.013376747258007526,
-0.021658556535840034,
0.023668114095926285,
0.039135612547397614,
0.048229362815618515,
0.013244805857539177,
0.014280032366514206,
0.028458572924137115,
-0.009433752857148647,
0.004085083957761526,
0.04883832111954689,
-0.06649806350469589,
0.005967774894088507,
-0.04065800458192825,
-0.011742712929844856,
0.00272000627592206,
0.025271698832511902,
-0.023871099576354027,
-0.03448724374175072,
-0.005067026242613792,
-0.016147499904036522,
0.020623330026865005,
-0.011641220189630985,
0.15751677751541138,
0.04201800748705864,
-0.007754047401249409,
-0.015508094802498817
] |
5,639 | flask.sansio.blueprints | register_blueprint | Register a :class:`~flask.Blueprint` on this blueprint. Keyword
arguments passed to this method will override the defaults set
on the blueprint.
.. 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:: 2.0
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, blueprint: flask.sansio.blueprints.Blueprint, **options: Any) -> NoneType | [
-0.013658538460731506,
-0.018784131854772568,
-0.025899773463606834,
-0.036481015384197235,
0.013085792772471905,
0.00043684025877155364,
0.006552604027092457,
-0.001181288855150342,
-0.007319501135498285,
-0.007227279245853424,
-0.008858149871230125,
0.009736684150993824,
0.016735835000872612,
0.026831699535250664,
0.01751244068145752,
-0.0015689845895394683,
0.057973556220531464,
0.017405657097697258,
0.03389880433678627,
-0.04713991656899452,
0.03187962993979454,
0.04601383954286575,
0.014988474547863007,
0.0400339812040329,
-0.03193787485361099,
0.034655991941690445,
-0.04698459804058075,
0.04620799049735069,
0.04822716489434242,
0.008222304284572601,
0.051877208054065704,
-0.020308218896389008,
0.0364033542573452,
0.02972455322742462,
0.05362456664443016,
-0.01534765399992466,
-0.0002643793704919517,
0.06139061599969864,
-0.044149987399578094,
0.024676620960235596,
0.05882782116532326,
-0.018522026017308235,
0.008896979503333569,
-0.04993569478392601,
0.05657566711306572,
0.044344138354063034,
0.030908875167369843,
0.0728067085146904,
-0.042091984301805496,
-0.01563888043165207,
-0.006285645999014378,
-0.026948189362883568,
-0.007610728032886982,
0.0400339812040329,
-0.03310278430581093,
0.05071229860186577,
0.022269144654273987,
0.09785221517086029,
0.008775635622441769,
0.025317320600152016,
-0.003128261538222432,
-0.0237641092389822,
0.02601626329123974,
-0.025026092305779457,
0.031957291066646576,
-0.00004516291301115416,
-0.03935445472598076,
-0.0019318046979606152,
-0.0016211627516895533,
0.003950977232307196,
0.0622837133705616,
0.007766048889607191,
-0.029899287968873978,
0.0007499090861529112,
0.025958018377423286,
-0.03871375322341919,
0.03853901848196983,
-0.0697779506444931,
-0.026288075372576714,
-0.021278973668813705,
0.028598476201295853,
-0.004256765823811293,
-0.0465574637055397,
0.006251669488847256,
0.029685722663998604,
-0.009824051521718502,
0.03585973009467125,
-0.020385878160595894,
0.017677469179034233,
0.0079213697463274,
-0.06294382363557816,
-0.020871257409453392,
0.04205315560102463,
0.03655867651104927,
0.016066014766693115,
-0.05447883531451225,
-0.02572503685951233,
0.019754886627197266,
0.014299238100647926,
-0.031219517812132835,
-0.024521300569176674,
-0.052809134125709534,
-0.05110060051083565,
0.040072813630104065,
0.03085063025355339,
0.010639486834406853,
-0.01933746226131916,
-0.01026089210063219,
-0.04147070273756981,
-0.017036769539117813,
-0.030171100050210953,
0.021803181618452072,
0.04240262880921364,
0.03533552214503288,
-0.023531127721071243,
-0.015124380588531494,
0.032345592975616455,
0.0012437812983989716,
0.04531489685177803,
-0.05770174413919449,
-0.028423739597201347,
-0.015182625502347946,
0.00014568926417268813,
0.01573595590889454,
0.049858033657073975,
0.05455649271607399,
0.006154594011604786,
-0.01047445833683014,
0.036481015384197235,
-0.04267444089055061,
0.06224488094449043,
0.056109704077243805,
-0.07975732535123825,
-0.022016748785972595,
0.04131538048386574,
-0.025647377595305443,
0.02430773340165615,
0.01239655539393425,
-0.06907900422811508,
0.06500183045864105,
-0.05952676385641098,
0.01261982973664999,
-0.037218790501356125,
0.00814464408904314,
0.023181656375527382,
0.0065380423329770565,
-0.02223031595349312,
-0.015852447599172592,
0.0026453104801476,
0.03562675043940544,
0.022502126172184944,
0.009620193392038345,
0.027278246358036995,
0.020327633246779442,
-0.0396650955080986,
0.015357362106442451,
-0.035743240267038345,
0.007712657563388348,
0.0059555890038609505,
-0.013250821270048618,
0.00555757898837328,
0.012726612389087677,
-0.042829759418964386,
-0.036927562206983566,
-0.06139061599969864,
-0.013076084665954113,
0.017230920493602753,
-0.024870771914720535,
0.020987747237086296,
0.07381629198789597,
0.009969665668904781,
-0.013483802787959576,
-0.02193908765912056,
0.04496542364358902,
0.0009167577954940498,
0.0666327029466629,
0.046169161796569824,
-0.05909963324666023,
0.013978888280689716,
-0.018725885078310966,
0.057391103357076645,
-0.030093438923358917,
-0.044344138354063034,
-0.010212354362010956,
0.027025850489735603,
0.02857905998826027,
-0.04271326959133148,
0.08045626431703568,
0.06667152792215347,
0.09039680659770966,
0.02498726174235344,
0.01443514320999384,
0.009527971036732197,
-0.010464751161634922,
0.008193181827664375,
-0.007800025399774313,
-0.01190146990120411,
-0.04729523882269859,
0.0008663998451083899,
-0.0046838982962071896,
-0.016697004437446594,
0.03496663644909859,
-0.02982162870466709,
-0.018978282809257507,
0.0454702153801918,
0.03387938812375069,
0.03919913247227669,
0.03716054558753967,
-0.023142825812101364,
-0.026346320286393166,
-0.02267686277627945,
-0.025278490036725998,
-0.0337434820830822,
-0.013105208054184914,
-0.00828540325164795,
-0.08325204253196716,
0.006091494578868151,
-0.0192306786775589,
0.011920885182917118,
0.019551027566194534,
0.03576265648007393,
0.0034801606088876724,
0.04989686608314514,
-0.008804758079349995,
-0.07082636654376984,
0.04721757769584656,
0.030637063086032867,
-0.042286135256290436,
-0.0031598112545907497,
0.04038345441222191,
-0.031064195558428764,
-0.007513652555644512,
0.026579301804304123,
0.0006473729736171663,
0.03065647929906845,
-0.004137848038226366,
0.011270478367805481,
0.03568499535322189,
-0.03650043159723282,
-0.011134572327136993,
0.050362829118967056,
0.05121709406375885,
0.02100716158747673,
-0.046712785959243774,
0.007164180278778076,
0.020871257409453392,
-0.04092707857489586,
-0.02223031595349312,
-0.01060065720230341,
-0.06263318657875061,
-0.06795293092727661,
-0.003914574161171913,
0.01963839679956436,
0.025958018377423286,
-0.06682685017585754,
-0.062206052243709564,
-0.020230557769536972,
-0.014308945275843143,
-0.032345592975616455,
0.04034462571144104,
0.01525057852268219,
-0.00932411290705204,
0.014250699430704117,
0.06814707815647125,
-0.024268902838230133,
0.008843588642776012,
0.006984590087085962,
-0.01495935209095478,
-0.008353356271982193,
0.0007238200632855296,
0.15780611336231232,
0.014008010737597942,
0.004152409266680479,
0.013959472998976707,
0.001617522444576025,
-0.0780099630355835,
-0.02956923097372055,
-0.022540956735610962,
-0.01799781806766987,
-0.04143187031149864,
0.056653328239917755,
-0.048537805676460266,
0.061079975217580795,
0.01463900227099657,
0.007542775012552738,
-0.01829875260591507,
-0.019347170367836952,
0.08993084728717804,
0.01731828972697258,
-0.024676620960235596,
0.01893945224583149,
0.012959593906998634,
0.021570201963186264,
0.06713749468326569,
-0.024560129269957542,
0.005334305111318827,
-0.01909477263689041,
0.06562311202287674,
0.006023541558533907,
-0.04038345441222191,
-0.0034000733867287636,
-0.013066377490758896,
0.006106055807322264,
0.04679044336080551,
-0.02380293980240822,
-0.0185026116669178,
0.030559401959180832,
0.014134209603071213,
0.025200828909873962,
0.04022813215851784,
0.018075479194521904,
-0.010435628704726696,
0.0019500063499435782,
0.06694334000349045,
-0.014580757357180119,
-0.0012583426432684064,
-0.02617158554494381,
-0.0580512173473835,
-0.009896858595311642,
0.03162723407149315,
-0.039490360766649246,
0.027511227875947952,
-0.020347047597169876,
-0.0010314283426851034,
0.00504307821393013,
0.026501642540097237,
0.038441941142082214,
0.023239901289343834,
-0.018017234280705452,
0.021084822714328766,
-0.06570077687501907,
0.014939936809241772,
0.007848563604056835,
-0.017502732574939728,
-0.007513652555644512,
-0.04679044336080551,
-0.02764713391661644,
-0.026734624058008194,
-0.033918220549821854,
-0.08907657861709595,
0.019745180383324623,
-0.03552967309951782,
-0.05510011687874794,
0.004887756891548634,
-0.02351171337068081,
-0.03624803200364113,
-0.031064195558428764,
-0.051877208054065704,
0.011406384408473969,
-0.1065501943230629,
0.01364883128553629,
-0.022754523903131485,
-0.0037762413267046213,
0.0327727273106575,
0.02632690593600273,
-0.04717874899506569,
-0.05750759318470955,
0.006805000361055136,
0.044305309653282166,
-0.005169276148080826,
-0.008202889002859592,
-0.009581362828612328,
-0.10779275745153427,
-0.004606237635016441,
0.03376289829611778,
-0.0247931107878685,
-0.02001699060201645,
-0.003647616133093834,
-0.0029098414815962315,
-0.06931198388338089,
0.05774057283997536,
-0.020638275891542435,
0.013804151676595211,
-0.023006919771432877,
0.026637548580765724,
-0.02052178420126438,
0.02572503685951233,
0.002972940681502223,
-0.025394979864358902,
-0.014328360557556152,
-0.04989686608314514,
0.04869312793016434,
0.01677466556429863,
0.027142340317368507,
-0.04030579328536987,
-0.07948551326990128,
-0.029841043055057526,
0.013736199587583542,
0.0370052233338356,
-0.001352991326712072,
0.020308218896389008,
-0.029685722663998604,
-0.014920521527528763,
0.036092713475227356,
-0.014376898296177387,
-0.044499460607767105,
-0.029239173978567123,
0.015590343624353409,
0.011124865151941776,
0.033238690346479416,
0.07723335921764374,
-0.05544959008693695,
0.044538289308547974,
0.007275816984474659,
0.059953898191452026,
0.019745180383324623,
0.05964325740933418,
0.06496299803256989,
0.015590343624353409,
0.06973911821842194,
-0.01119281817227602,
-0.0009234317694790661,
-0.0656619444489479,
-0.04993569478392601,
-0.03733528032898903,
-0.04647980257868767,
0.01638636365532875,
0.0876786932349205,
0.029336249455809593,
0.027472399175167084,
0.01345468033105135,
0.048537805676460266,
0.04372285678982735,
-0.0015726248966529965,
-0.009799783118069172,
0.055216606706380844,
0.023181656375527382,
0.0400339812040329,
0.023822356015443802,
0.026307491585612297,
-0.03463657945394516,
0.0211624838411808,
-0.026948189362883568,
-0.0057954140938818455,
0.030637063086032867,
0.003870890010148287,
0.020055821165442467,
0.008722243830561638,
-0.01579420268535614,
0.009139669127762318,
-0.00008031490142457187,
-0.06752579659223557,
0.01800752617418766,
0.0198325477540493,
-0.03428710624575615,
-0.0028249002061784267,
-0.036481015384197235,
-0.03329693526029587,
0.07494237273931503,
0.0007608301239088178,
-0.006819561589509249,
-0.0454702153801918,
-0.006586580071598291,
-0.01854144223034382,
-0.054905965924263,
-0.04298508167266846,
0.02327873185276985,
0.0043684025295078754,
-0.004329572431743145,
0.00670307083055377,
-0.014056548476219177,
-0.019648103043437004,
0.022560372948646545,
-0.02562796138226986,
-0.024676620960235596,
0.01239655539393425,
0.06049752235412598,
0.04224730655550957,
-0.051139432936906815,
0.0017425072146579623,
-0.023589374497532845,
0.029103267937898636,
0.04776120185852051,
-0.02106540836393833,
-0.008222304284572601,
0.03154957294464111,
0.009950250387191772,
-0.030229344964027405,
-0.031064195558428764,
-0.049586221575737,
0.010464751161634922,
0.02356995828449726,
0.014376898296177387,
0.018774423748254776,
-0.018017234280705452,
-0.03485014662146568,
0.003006917191669345,
-0.0003367310273461044,
0.03024876117706299,
0.03512195497751236,
-0.03566557914018631,
-0.023142825812101364,
-0.04694576561450958,
-0.027860701084136963,
-0.01355175580829382,
0.021143067628145218,
0.03065647929906845,
0.04271326959133148,
0.003669458208605647,
0.02421065792441368,
-0.01722121424973011,
-0.03533552214503288,
0.005494479555636644,
0.00007686416938668117,
-0.006557457614690065,
-0.06562311202287674,
-0.13210049271583557,
0.004744570702314377,
-0.051139432936906815,
-0.014182747341692448,
-0.01889091357588768,
0.002776362467557192,
-0.011843224987387657,
-0.0008882418624125421,
0.029258590191602707,
0.01568741910159588,
-0.036519844084978104,
0.009168791584670544,
0.01706589199602604,
0.01035796757787466,
-0.010047325864434242,
0.015085550025105476,
0.057585254311561584,
0.049275580793619156,
-0.010338552296161652,
-0.04255794733762741,
0.05513894930481911,
0.02213324047625065,
0.011241355910897255,
0.028054852038621902,
0.011726734228432178,
0.03242325410246849,
0.006227400619536638,
0.014697248116135597,
-0.004705740138888359,
0.022599201649427414,
-0.03910205513238907,
-0.026540473103523254,
0.025006677955389023,
-0.030384667217731476,
0.06535129994153976,
0.0685742124915123,
-0.006067225709557533,
-0.036578088998794556,
-0.0770392045378685,
-0.13489626348018646,
-0.008634875528514385,
0.008785342797636986,
0.033976465463638306,
-0.0337434820830822,
-0.004642641171813011,
0.015367069281637669,
0.03506371006369591,
0.007508798502385616,
-0.038403112441301346,
-0.0028394616674631834,
0.02927800454199314,
0.07257372885942459,
0.04049994423985481,
0.0006716419011354446,
-0.05420702323317528,
0.012056791223585606,
-0.029006192460656166,
0.00883388053625822,
0.028753796592354774,
0.007901954464614391,
0.0010205074213445187,
-0.03636452555656433,
-0.029239173978567123,
-0.00871253665536642,
-0.012357725761830807,
-0.05471181496977806,
-0.01534765399992466,
0.055760230869054794,
-0.041548363864421844,
-0.023395221680402756,
0.012241235002875328,
0.046324484050273895,
-0.005615824367851019,
-0.01242567878216505,
0.0011703678173944354,
-0.0007031914428807795,
-0.05249848961830139,
-0.036189787089824677,
-0.054634153842926025,
0.0019924768712371588,
0.04978037253022194,
0.035199616104364395,
-0.019997576251626015,
-0.10561826825141907,
-0.05265381187200546,
0.005800267681479454,
-0.014600171707570553,
-0.06795293092727661,
0.01005703303962946,
0.022152654826641083,
0.001913603045977652,
-0.04403349757194519,
0.03739352524280548,
0.049819204956293106,
-0.00727096339687705,
0.04943090304732323,
0.026987019926309586,
-0.05269264057278633,
-0.00034734868677333,
-0.0166290532797575,
-0.02257978729903698,
0.004399952013045549,
-0.023822356015443802,
-0.05529426783323288,
-0.004851353820413351,
-0.004938721656799316,
-0.0008269628742709756,
0.04527606442570686,
-0.04088824614882469,
-0.04286859184503555,
-0.04846014454960823,
0.00534886633977294,
0.02287101373076439,
-0.03220968693494797,
-0.03219027444720268,
0.023686449974775314,
0.016405778005719185,
0.050013355910778046,
-0.0486154668033123,
-0.011047204956412315,
0.04150953143835068,
-0.05583789199590683,
-0.05051814764738083,
0.013357603922486305,
0.04803301393985748,
-0.02405533753335476,
-0.0337434820830822,
-0.07490354031324387,
0.03444242849946022,
-0.012881933711469173,
0.011454922147095203,
0.02277393825352192,
-0.00428103469312191,
0.014939936809241772,
-0.02877321094274521,
-0.0656619444489479,
-0.007863124832510948,
0.02327873185276985,
-0.000991384731605649,
0.022987505421042442,
-0.02469603531062603,
-0.0590219721198082,
0.04147070273756981,
-0.026307491585612297,
-0.03733528032898903,
0.04811067506670952,
-0.041936665773391724,
0.04104356840252876,
-0.03758767619729042,
0.019395707175135612,
0.005543017294257879,
-0.020541200414299965,
-0.01212474424391985,
0.0016915425658226013,
-0.01210532896220684,
-0.04446063190698624,
0.07975732535123825,
-0.056109704077243805,
0.00601383438333869,
-0.01446426659822464,
0.09117341786623001,
-0.031219517812132835,
-0.03896614909172058,
0.031355421990156174,
-0.012648952193558216,
0.0021805609576404095,
-0.019560735672712326,
0.0063196225091814995,
0.02828783355653286,
0.012668367475271225,
-0.04201432317495346,
0.013076084665954113,
0.060730502009391785,
-0.00504307821393013,
0.0017837643390521407,
-0.0077466340735554695,
-0.015396191738545895,
-0.00156534428242594,
0.017891034483909607,
-0.03240383788943291,
0.020774181932210922,
0.0015083122998476028,
0.01261982973664999,
-0.02568620629608631,
-0.02966630645096302,
0.004635360557585955,
0.03492780402302742,
0.049275580793619156,
-0.037510015070438385,
0.015308824367821217,
-0.018075479194521904,
-0.10662785172462463,
0.006615702994167805,
-0.005344012286514044,
0.015968937426805496,
0.005392550490796566,
0.029685722663998604,
0.00981919839978218,
-0.027142340317368507,
0.02523965947329998,
0.006979736499488354,
-0.039373867213726044,
0.030559401959180832,
0.0072078644298017025,
0.028753796592354774,
0.034947220236063004,
0.0674869641661644,
-0.015609758906066418,
-0.04574202746152878,
-0.04737289994955063,
-0.041004739701747894,
-0.008498969487845898,
-0.061623599380254745,
0.019075358286499977,
-0.01791045069694519,
0.0010817863512784243,
0.023453468456864357,
-0.06740930676460266,
0.1226259171962738,
-0.03399587795138359,
-0.008023299276828766,
-0.01795898750424385,
-0.0012213325826451182,
-0.025569716468453407,
0.0017958987737074494,
-0.01628928817808628,
-0.04205315560102463,
0.07412693649530411,
0.002048295456916094,
-0.04989686608314514,
0.053896378725767136,
-0.016755251213908195,
0.012270357459783554,
0.021414879709482193,
-0.014192454516887665,
0.006601141765713692,
0.0056352391839027405,
0.0321708582341671,
0.023356392979621887,
0.045975010842084885,
-0.0198325477540493,
-0.029588647186756134,
0.049819204956293106,
0.0012935325503349304,
-0.017104722559452057,
0.02036646381020546,
-0.03248149901628494,
0.006474943365901709,
-0.016007767990231514,
-0.03778182715177536,
-0.014066256582736969,
0.03145249933004379,
-0.018706470727920532,
-0.03881083056330681,
-0.028423739597201347,
-0.02129838988184929,
0.03970392420887947,
-0.013697369024157524,
0.1234801784157753,
0.060885824263095856,
-0.007081666029989719,
-0.00831452663987875
] |
5,640 | flask.sansio.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: Scaffold, *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.0064815739169716835,
-0.013260219246149063,
0.028194846585392952,
0.035306572914123535,
-0.006342039909213781,
0.038169268518686295,
-0.004368310794234276,
0.03262392058968544,
0.014583541080355644,
0.004987210966646671,
-0.01824743114411831,
0.01575382426381111,
0.05415714904665947,
0.0031845232006162405,
0.03347012773156166,
0.030427386984229088,
0.008417043834924698,
0.02047097124159336,
0.0377371609210968,
0.012080932967364788,
0.048755839467048645,
-0.005270779598504305,
0.004919694736599922,
-0.006540087983012199,
0.004825171548873186,
-0.004201770294457674,
-0.012423016130924225,
0.024449937045574188,
0.062115080654621124,
-0.0017104153521358967,
0.0020074874628335238,
0.046343252062797546,
-0.02072303183376789,
0.05145649239420891,
0.05674977973103523,
0.006859665736556053,
-0.039573609828948975,
0.04375062137842178,
-0.003886693622916937,
0.0129451435059309,
-0.005914436187595129,
-0.017221180722117424,
0.0662560909986496,
0.00649957824498415,
0.039969705045223236,
0.0059774513356387615,
0.009344268590211868,
0.01987682655453682,
0.011063686572015285,
0.02580026350915432,
0.04292242228984833,
-0.009632338769733906,
0.007948930375277996,
0.004228776786476374,
0.022397438064217567,
0.04781961068511009,
0.016699055209755898,
-0.022919565439224243,
0.05876626819372177,
-0.024377919733524323,
-0.00007729220669716597,
0.03989768773317337,
0.037521108984947205,
0.009141719900071621,
-0.002815433545038104,
-0.03507251664996147,
0.0018690788419917226,
-0.019696783274412155,
0.03411828354001045,
0.03924952819943428,
0.006049468647688627,
0.03262392058968544,
0.02088507078588009,
-0.003186773741617799,
0.044866893440485,
0.0032430374994874,
-0.027438662946224213,
-0.041374046355485916,
0.006846162490546703,
-0.027384649962186813,
0.012450022622942924,
0.04205821081995964,
-0.03494648635387421,
0.036656901240348816,
-0.01506065670400858,
0.005860422737896442,
0.043534569442272186,
-0.011063686572015285,
-0.00017526130250189453,
0.022109368816018105,
-0.012927139177918434,
0.01497963722795248,
0.000013239542568044271,
-0.01867053285241127,
0.005005215294659138,
-0.037521108984947205,
-0.021065114066004753,
-0.00785890780389309,
-0.05721789225935936,
0.011378763243556023,
-0.02117314003407955,
0.05340096727013588,
0.026034321635961533,
0.030355369672179222,
0.08404440432786942,
-0.011810868047177792,
-0.0165910292416811,
-0.023657744750380516,
-0.004501092713326216,
-0.014160438440740108,
0.010730605572462082,
-0.052824825048446655,
-0.03678293153643608,
0.03347012773156166,
-0.028392894193530083,
-0.06600402295589447,
-0.010631581768393517,
0.004924195818603039,
0.0049512023106217384,
-0.05113241448998451,
0.0035963731352239847,
0.031129557639360428,
-0.02706057019531727,
-0.0756903812289238,
0.024431932717561722,
0.02142520248889923,
0.004005972761660814,
0.046199217438697815,
0.06960490345954895,
-0.06784047186374664,
-0.01136976107954979,
0.031597673892974854,
-0.006675120908766985,
-0.044866893440485,
-0.004462833516299725,
-0.002198783913627267,
0.028482915833592415,
0.002531864680349827,
-0.04627123475074768,
0.024323906749486923,
-0.028680963441729546,
0.06096280366182327,
0.010874640196561813,
0.02369375340640545,
-0.009281253442168236,
0.03647685796022415,
-0.016329964622855186,
0.03615277633070946,
-0.0130531694740057,
0.024701997637748718,
0.012369003146886826,
-0.008426045998930931,
0.015735819935798645,
0.0223794337362051,
-0.04666732996702194,
-0.006189002655446529,
0.014583541080355644,
0.047207463532686234,
0.07468213140964508,
0.008227997459471226,
-0.01264807116240263,
0.016663046553730965,
-0.008849148638546467,
-0.026340395212173462,
-0.0007876912713982165,
0.03627881035208702,
-0.019156651571393013,
-0.014448508620262146,
0.005914436187595129,
0.05556149035692215,
-0.018373461440205574,
-0.018211422488093376,
0.04018575698137283,
0.030229339376091957,
0.046559303998947144,
0.03206578642129898,
0.04029378294944763,
-0.014529528096318245,
0.050268206745386124,
0.03678293153643608,
0.004023977089673281,
-0.02113713137805462,
-0.013314233161509037,
-0.02428789809346199,
0.0635194256901741,
0.09045396000146866,
-0.0212271548807621,
0.01833745278418064,
0.00916872639209032,
-0.005905434023588896,
0.05556149035692215,
0.004068987909704447,
0.02057899720966816,
-0.0016395230777561665,
-0.042886413633823395,
-0.04068987816572189,
-0.011117699556052685,
-0.010829629376530647,
0.04371461272239685,
-0.03687295317649841,
0.0329119898378849,
0.04637926071882248,
0.02916708216071129,
0.02580026350915432,
-0.012522040866315365,
0.0756903812289238,
0.0423462800681591,
0.013530285097658634,
-0.07943528890609741,
-0.01116271037608385,
0.01468256488442421,
-0.08318019658327103,
-0.037629134953022,
-0.0034455866552889347,
0.002777174348011613,
-0.0732777938246727,
0.07605046778917313,
-0.001144965528510511,
-0.02625037357211113,
0.012341996654868126,
0.018652528524398804,
0.05484131723642349,
-0.03838532045483589,
-0.02428789809346199,
0.0049962131306529045,
0.0004124126280657947,
-0.018067386001348495,
-0.08973378688097,
-0.025710241869091988,
-0.06884871423244476,
-0.02659245766699314,
0.012134946882724762,
0.020759040489792824,
-0.01839146576821804,
0.019696783274412155,
-0.019732791930437088,
0.03040938265621662,
-0.005950444843620062,
-0.05667776241898537,
-0.03798922523856163,
0.014880613423883915,
-0.0024778516963124275,
0.08332423120737076,
0.03256990760564804,
-0.02403583563864231,
0.011360757984220982,
-0.022397438064217567,
0.05862223356962204,
-0.009956417605280876,
0.02950916439294815,
-0.03368617966771126,
-0.009177728556096554,
-0.013863366097211838,
0.03343411907553673,
-0.019588755443692207,
-0.000837203289847821,
0.006594100967049599,
-0.031939756125211716,
-0.002336067147552967,
0.03627881035208702,
-0.016014888882637024,
-0.04555106163024902,
0.08865352720022202,
0.034208305180072784,
-0.05275280773639679,
-0.019192660227417946,
-0.07201748341321945,
0.00819648988544941,
-0.07007301598787308,
-0.00476665748283267,
0.021695267409086227,
-0.01327822357416153,
0.007327779196202755,
0.02518811635673046,
-0.0047171451151371,
-0.018067386001348495,
-0.06171898543834686,
-0.052068643271923065,
-0.009398281574249268,
-0.016888100653886795,
0.07662660628557205,
-0.07914721965789795,
0.045154962688684464,
0.045695096254348755,
-0.040473826229572296,
0.02920309081673622,
0.020254917442798615,
0.047963645309209824,
0.018850576132535934,
-0.04922395199537277,
-0.032389864325523376,
-0.002214537700638175,
0.02630438655614853,
0.005738893523812294,
0.024269893765449524,
-0.01287312526255846,
-0.06805652379989624,
-0.01046053972095251,
0.01470957137644291,
-0.057794034481048584,
0.03211979940533638,
-0.04922395199537277,
-0.10817026346921921,
0.06985696405172348,
0.049764081835746765,
-0.02273952215909958,
-0.021353185176849365,
-0.0009379152324981987,
-0.032191816717386246,
-0.01794135570526123,
-0.01407941896468401,
0.09376676380634308,
-0.07165739685297012,
-0.0002742853539530188,
0.0165640227496624,
0.022595485672354698,
-0.05502136051654816,
-0.00257237465120852,
0.023729762062430382,
0.057145874947309494,
0.0032452880404889584,
-0.034856464713811874,
-0.00012265477562323213,
0.05163653939962387,
0.016329964622855186,
-0.00916872639209032,
0.006873168982565403,
-0.024269893765449524,
-0.031687695533037186,
-0.00045207852963358164,
-0.03165168687701225,
-0.00506823044270277,
0.0259442999958992,
-0.011657830327749252,
-0.07677064090967178,
0.03613477200269699,
0.047207463532686234,
0.02012888714671135,
0.02855493314564228,
-0.035594642162323,
0.034352339804172516,
0.026016317307949066,
-0.04814368858933449,
0.00008038670785026625,
-0.0068056522868573666,
0.0591263547539711,
0.007471814285963774,
0.0014943628339096904,
0.09405484050512314,
-0.04068987816572189,
0.032047782093286514,
-0.07720274478197098,
-0.004357058089226484,
-0.004537101835012436,
0.002351820934563875,
-0.012332994490861893,
-0.05275280773639679,
-0.010658588260412216,
0.0034815953113138676,
-0.04897189140319824,
-0.044794876128435135,
-0.04857579618692398,
-0.014907619915902615,
0.01099166925996542,
0.018796563148498535,
0.04076189547777176,
-0.06063872203230858,
-0.002835688414052129,
-0.04227426275610924,
0.008601588197052479,
0.03642284497618675,
-0.016095908358693123,
0.028843002393841743,
-0.03584670275449753,
0.03456839174032211,
0.014349483884871006,
0.006112484261393547,
0.05023219808936119,
-0.02389180101454258,
0.053328949958086014,
0.039717644453048706,
-0.024828027933835983,
-0.06139490753412247,
-0.04065386950969696,
0.02751068025827408,
-0.038925450295209885,
-0.02981523983180523,
0.0033240572083741426,
-0.001378459739498794,
-0.009776373393833637,
0.01319720409810543,
0.012864123098552227,
-0.01124372985213995,
-0.012314990162849426,
0.023315660655498505,
-0.027816753834486008,
-0.052068643271923065,
0.02153322845697403,
0.07878713309764862,
0.015762826427817345,
0.039825670421123505,
-0.0732777938246727,
0.10298500210046768,
0.002459847368299961,
0.04472285881638527,
0.028320876881480217,
-0.042562335729599,
0.011765857227146626,
0.010388522408902645,
0.016852091997861862,
0.010928653180599213,
-0.031939756125211716,
-0.029437147080898285,
0.015051654540002346,
-0.05401311442255974,
-0.001129211625084281,
0.012738092802464962,
-0.00541931577026844,
0.0006701002130284905,
-0.01189188752323389,
0.028374889865517616,
0.043282508850097656,
-0.0013728333869948983,
0.07216151803731918,
0.02263149432837963,
0.036062754690647125,
-0.019462725147604942,
0.05797407776117325,
-0.008146977983415127,
0.02027292177081108,
-0.03040938265621662,
0.01048754621297121,
-0.02277553081512451,
0.03217381238937378,
-0.06247517094016075,
-0.029797235503792763,
-0.032101795077323914,
-0.02810482308268547,
-0.03885343298316002,
0.06715630739927292,
0.013836359605193138,
-0.013152193278074265,
-0.0031485145445913076,
-0.013368246145546436,
-0.022163381800055504,
-0.018427474424242973,
0.013557291589677334,
0.030985523015260696,
0.01099166925996542,
0.0041905175894498825,
0.008016446605324745,
0.04555106163024902,
-0.06665218621492386,
0.017140161246061325,
0.019354699179530144,
-0.015393737703561783,
0.021515224128961563,
-0.08318019658327103,
-0.022721515968441963,
0.03975365310907364,
0.006044967565685511,
0.031453635543584824,
-0.0658239796757698,
-0.037665143609046936,
0.01162182167172432,
-0.013386250473558903,
-0.0004982147365808487,
-0.003096751868724823,
-0.058442190289497375,
-0.026484429836273193,
0.04411071166396141,
-0.07432204484939575,
-0.005617363844066858,
-0.013791348785161972,
0.05808210372924805,
0.00540581252425909,
-0.04702742025256157,
0.02288355678319931,
0.00845305249094963,
0.024918049573898315,
-0.002016489626839757,
0.053076885640621185,
0.003904698183760047,
0.02670048363506794,
0.010973664000630379,
-0.033146049827337265,
0.044542815536260605,
-0.04598316550254822,
0.006990197114646435,
0.029149077832698822,
-0.022109368816018105,
0.014916622079908848,
0.04879184812307358,
-0.02459397166967392,
-0.018886586651206017,
-0.018094392493367195,
0.046199217438697815,
0.04227426275610924,
-0.023261647671461105,
-0.047207463532686234,
0.0066301096230745316,
-0.005540845450013876,
-0.033650171011686325,
0.06971292942762375,
-0.024467941373586655,
-0.01901261694729328,
-0.07410599291324615,
-0.01101867575198412,
-0.035612646490335464,
-0.017221180722117424,
0.022703511640429497,
0.012774101458489895,
-0.052428729832172394,
-0.00480716722086072,
0.023369673639535904,
-0.039069484919309616,
-0.06182701140642166,
-0.03838532045483589,
0.01083863154053688,
-0.003996970597654581,
-0.04616320878267288,
0.011747852899134159,
0.04195018485188484,
-0.020615005865693092,
-0.02805081009864807,
0.010694596916437149,
0.0993841290473938,
0.014376490376889706,
0.02625037357211113,
-0.026520438492298126,
-0.039825670421123505,
-0.036710914224386215,
-0.02187531068921089,
0.03899746760725975,
0.021911319345235825,
0.0355406291782856,
-0.09657544642686844,
-0.029221095144748688,
0.00892566703259945,
-0.03316405415534973,
-0.002997727831825614,
0.01877855882048607,
-0.028086818754673004,
0.04627123475074768,
-0.0006875419639982283,
-0.0826040580868721,
0.010550561361014843,
-0.048755839467048645,
-0.012233970686793327,
-0.05368903651833534,
-0.11724446713924408,
-0.03444236144423485,
0.037917207926511765,
0.027672719210386276,
0.017653286457061768,
-0.027186600491404533,
0.0038911947049200535,
0.05707385763525963,
0.02950916439294815,
0.009848391637206078,
-0.05354500189423561,
0.059198372066020966,
0.0259983129799366,
-0.027816753834486008,
-0.015843847766518593,
0.012179957702755928,
0.05131245777010918,
0.02453995868563652,
-0.0876452773809433,
-0.09419887512922287,
0.019048625603318214,
0.04040180891752243,
-0.038313303142786026,
0.0015945121413096786,
-0.02950916439294815,
-0.006769643630832434,
0.03737707436084747,
-0.024828027933835983,
-0.016573024913668633,
-0.07028906792402267,
-0.08368431776762009,
-0.03057142347097397,
-0.012035922147333622,
0.021389193832874298,
-0.07194546610116959,
-0.03428032249212265,
-0.01046053972095251,
0.0470634289085865,
-0.08065958321094513,
-0.038925450295209885,
-0.05260877311229706,
-0.036908961832523346,
-0.02027292177081108,
-0.06913678348064423,
0.03838532045483589,
-0.046559303998947144,
0.0001502239756518975,
-0.034658413380384445,
0.06449165940284729,
-0.01757226698100567,
-0.030283352360129356,
0.04562307894229889,
-0.055633507668972015,
-0.013458267785608768,
0.035612646490335464,
-0.031003527343273163,
-0.019156651571393013,
-0.015789832919836044,
-0.043894656002521515,
0.019840817898511887,
-0.02047097124159336,
0.011837874539196491,
0.05095237120985985,
-0.030535414814949036,
-0.0011286489898338914,
-0.010685594752430916,
-0.05444521829485893,
-0.030877497047185898,
0.03262392058968544,
-0.03748510032892227,
0.002822185168042779,
-0.008921165950596333,
-0.00784540455788374,
0.013719331473112106,
0.02403583563864231,
0.04537101462483406,
0.03026534803211689,
-0.03622479736804962,
-0.0259442999958992,
-0.0176082756370306,
0.014421501196920872,
-0.010280496440827847,
0.057938069105148315,
-0.03888944163918495,
0.08433247357606888,
-0.043282508850097656,
-0.04457882419228554,
0.06708429008722305,
-0.008070459589362144,
-0.03813325986266136,
0.026088334619998932,
0.007359286770224571,
-0.006715630646795034,
-0.0041184998117387295,
0.002716409508138895,
-0.04130202904343605,
-0.001987232593819499,
-0.05826214700937271,
0.02574625052511692,
-0.04537101462483406,
-0.035918720066547394,
0.014727575704455376,
-0.08231598883867264,
0.05966648831963539,
0.044866893440485,
-0.033902231603860855,
0.010118456557393074,
-0.009992426261305809,
0.024359915405511856,
-0.01636597327888012,
-0.02614234760403633,
-0.0015990132233127952,
0.004631624557077885,
0.052068643271923065,
0.03827729448676109,
0.01136976107954979,
0.008399039506912231,
-0.011837874539196491,
-0.028266863897442818,
-0.04918794333934784,
0.05469728261232376,
0.020056869834661484,
-0.049512021243572235,
-0.03546861186623573,
0.013152193278074265,
-0.0028649456799030304,
-0.017257189378142357,
0.0224334467202425,
0.027420658618211746,
0.017653286457061768,
-0.025080090388655663,
0.04083391651511192,
-0.03330808877944946,
0.05833416432142258,
0.03487446904182434,
-0.010856635868549347,
0.013422259129583836,
-0.034694425761699677,
-0.02815883792936802,
-0.007642855867743492,
-0.021659258753061295,
-0.016329964622855186,
-0.002954967552796006,
0.02504408173263073,
0.008840146474540234,
0.019048625603318214,
-0.03478444740176201,
-0.05502136051654816,
0.02484603226184845,
-0.011072688736021519,
0.01872454583644867,
0.0033668174874037504,
-0.0039924695156514645,
0.009677349589765072,
0.0062835258431732655,
-0.01856250688433647,
0.009524312801659107,
-0.01028949860483408,
-0.029347125440835953,
0.0006926056812517345,
0.02403583563864231,
0.019696783274412155,
0.0010515678441151977,
-0.010712601244449615,
-0.0011691588442772627,
-0.05624565854668617,
0.01922866888344288,
-0.03478444740176201,
0.006967691704630852,
0.01897660829126835,
-0.006967691704630852,
0.029689209535717964,
-0.0020344939548522234,
-0.0472794808447361,
0.02032693475484848,
0.01064058393239975,
0.0028942027129232883,
0.035810694098472595,
0.0035153536591678858,
-0.020849062129855156,
0.03622479736804962,
-0.037413083016872406,
-0.06953288614749908,
0.06305130571126938,
0.03809725120663643,
-0.01827443763613701,
-0.015078661032021046,
0.07554634660482407,
-0.07619450241327286,
-0.0731697678565979,
0.0033668174874037504,
-0.009794377721846104,
-0.0378451906144619,
0.008660102263092995,
0.09563922137022018,
0.05988254025578499,
0.01712215691804886,
0.009767371229827404,
0.004312046803534031,
0.010073445737361908,
0.0034658415243029594,
0.03336210176348686,
-0.017347212880849838,
0.012278981506824493,
0.03921351954340935,
-0.02097509242594242,
-0.024107852950692177,
-0.01054155919700861,
-0.01852649822831154,
-0.014115427620708942,
-0.04767557606101036,
-0.024359915405511856,
0.024467941373586655,
0.013485274277627468,
0.09621535986661911,
0.07993941009044647,
0.04511895403265953,
0.09578325599431992
] |
5,641 | flask.sansio.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: Scaffold, *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.0064815739169716835,
-0.013260219246149063,
0.028194846585392952,
0.035306572914123535,
-0.006342039909213781,
0.038169268518686295,
-0.004368310794234276,
0.03262392058968544,
0.014583541080355644,
0.004987210966646671,
-0.01824743114411831,
0.01575382426381111,
0.05415714904665947,
0.0031845232006162405,
0.03347012773156166,
0.030427386984229088,
0.008417043834924698,
0.02047097124159336,
0.0377371609210968,
0.012080932967364788,
0.048755839467048645,
-0.005270779598504305,
0.004919694736599922,
-0.006540087983012199,
0.004825171548873186,
-0.004201770294457674,
-0.012423016130924225,
0.024449937045574188,
0.062115080654621124,
-0.0017104153521358967,
0.0020074874628335238,
0.046343252062797546,
-0.02072303183376789,
0.05145649239420891,
0.05674977973103523,
0.006859665736556053,
-0.039573609828948975,
0.04375062137842178,
-0.003886693622916937,
0.0129451435059309,
-0.005914436187595129,
-0.017221180722117424,
0.0662560909986496,
0.00649957824498415,
0.039969705045223236,
0.0059774513356387615,
0.009344268590211868,
0.01987682655453682,
0.011063686572015285,
0.02580026350915432,
0.04292242228984833,
-0.009632338769733906,
0.007948930375277996,
0.004228776786476374,
0.022397438064217567,
0.04781961068511009,
0.016699055209755898,
-0.022919565439224243,
0.05876626819372177,
-0.024377919733524323,
-0.00007729220669716597,
0.03989768773317337,
0.037521108984947205,
0.009141719900071621,
-0.002815433545038104,
-0.03507251664996147,
0.0018690788419917226,
-0.019696783274412155,
0.03411828354001045,
0.03924952819943428,
0.006049468647688627,
0.03262392058968544,
0.02088507078588009,
-0.003186773741617799,
0.044866893440485,
0.0032430374994874,
-0.027438662946224213,
-0.041374046355485916,
0.006846162490546703,
-0.027384649962186813,
0.012450022622942924,
0.04205821081995964,
-0.03494648635387421,
0.036656901240348816,
-0.01506065670400858,
0.005860422737896442,
0.043534569442272186,
-0.011063686572015285,
-0.00017526130250189453,
0.022109368816018105,
-0.012927139177918434,
0.01497963722795248,
0.000013239542568044271,
-0.01867053285241127,
0.005005215294659138,
-0.037521108984947205,
-0.021065114066004753,
-0.00785890780389309,
-0.05721789225935936,
0.011378763243556023,
-0.02117314003407955,
0.05340096727013588,
0.026034321635961533,
0.030355369672179222,
0.08404440432786942,
-0.011810868047177792,
-0.0165910292416811,
-0.023657744750380516,
-0.004501092713326216,
-0.014160438440740108,
0.010730605572462082,
-0.052824825048446655,
-0.03678293153643608,
0.03347012773156166,
-0.028392894193530083,
-0.06600402295589447,
-0.010631581768393517,
0.004924195818603039,
0.0049512023106217384,
-0.05113241448998451,
0.0035963731352239847,
0.031129557639360428,
-0.02706057019531727,
-0.0756903812289238,
0.024431932717561722,
0.02142520248889923,
0.004005972761660814,
0.046199217438697815,
0.06960490345954895,
-0.06784047186374664,
-0.01136976107954979,
0.031597673892974854,
-0.006675120908766985,
-0.044866893440485,
-0.004462833516299725,
-0.002198783913627267,
0.028482915833592415,
0.002531864680349827,
-0.04627123475074768,
0.024323906749486923,
-0.028680963441729546,
0.06096280366182327,
0.010874640196561813,
0.02369375340640545,
-0.009281253442168236,
0.03647685796022415,
-0.016329964622855186,
0.03615277633070946,
-0.0130531694740057,
0.024701997637748718,
0.012369003146886826,
-0.008426045998930931,
0.015735819935798645,
0.0223794337362051,
-0.04666732996702194,
-0.006189002655446529,
0.014583541080355644,
0.047207463532686234,
0.07468213140964508,
0.008227997459471226,
-0.01264807116240263,
0.016663046553730965,
-0.008849148638546467,
-0.026340395212173462,
-0.0007876912713982165,
0.03627881035208702,
-0.019156651571393013,
-0.014448508620262146,
0.005914436187595129,
0.05556149035692215,
-0.018373461440205574,
-0.018211422488093376,
0.04018575698137283,
0.030229339376091957,
0.046559303998947144,
0.03206578642129898,
0.04029378294944763,
-0.014529528096318245,
0.050268206745386124,
0.03678293153643608,
0.004023977089673281,
-0.02113713137805462,
-0.013314233161509037,
-0.02428789809346199,
0.0635194256901741,
0.09045396000146866,
-0.0212271548807621,
0.01833745278418064,
0.00916872639209032,
-0.005905434023588896,
0.05556149035692215,
0.004068987909704447,
0.02057899720966816,
-0.0016395230777561665,
-0.042886413633823395,
-0.04068987816572189,
-0.011117699556052685,
-0.010829629376530647,
0.04371461272239685,
-0.03687295317649841,
0.0329119898378849,
0.04637926071882248,
0.02916708216071129,
0.02580026350915432,
-0.012522040866315365,
0.0756903812289238,
0.0423462800681591,
0.013530285097658634,
-0.07943528890609741,
-0.01116271037608385,
0.01468256488442421,
-0.08318019658327103,
-0.037629134953022,
-0.0034455866552889347,
0.002777174348011613,
-0.0732777938246727,
0.07605046778917313,
-0.001144965528510511,
-0.02625037357211113,
0.012341996654868126,
0.018652528524398804,
0.05484131723642349,
-0.03838532045483589,
-0.02428789809346199,
0.0049962131306529045,
0.0004124126280657947,
-0.018067386001348495,
-0.08973378688097,
-0.025710241869091988,
-0.06884871423244476,
-0.02659245766699314,
0.012134946882724762,
0.020759040489792824,
-0.01839146576821804,
0.019696783274412155,
-0.019732791930437088,
0.03040938265621662,
-0.005950444843620062,
-0.05667776241898537,
-0.03798922523856163,
0.014880613423883915,
-0.0024778516963124275,
0.08332423120737076,
0.03256990760564804,
-0.02403583563864231,
0.011360757984220982,
-0.022397438064217567,
0.05862223356962204,
-0.009956417605280876,
0.02950916439294815,
-0.03368617966771126,
-0.009177728556096554,
-0.013863366097211838,
0.03343411907553673,
-0.019588755443692207,
-0.000837203289847821,
0.006594100967049599,
-0.031939756125211716,
-0.002336067147552967,
0.03627881035208702,
-0.016014888882637024,
-0.04555106163024902,
0.08865352720022202,
0.034208305180072784,
-0.05275280773639679,
-0.019192660227417946,
-0.07201748341321945,
0.00819648988544941,
-0.07007301598787308,
-0.00476665748283267,
0.021695267409086227,
-0.01327822357416153,
0.007327779196202755,
0.02518811635673046,
-0.0047171451151371,
-0.018067386001348495,
-0.06171898543834686,
-0.052068643271923065,
-0.009398281574249268,
-0.016888100653886795,
0.07662660628557205,
-0.07914721965789795,
0.045154962688684464,
0.045695096254348755,
-0.040473826229572296,
0.02920309081673622,
0.020254917442798615,
0.047963645309209824,
0.018850576132535934,
-0.04922395199537277,
-0.032389864325523376,
-0.002214537700638175,
0.02630438655614853,
0.005738893523812294,
0.024269893765449524,
-0.01287312526255846,
-0.06805652379989624,
-0.01046053972095251,
0.01470957137644291,
-0.057794034481048584,
0.03211979940533638,
-0.04922395199537277,
-0.10817026346921921,
0.06985696405172348,
0.049764081835746765,
-0.02273952215909958,
-0.021353185176849365,
-0.0009379152324981987,
-0.032191816717386246,
-0.01794135570526123,
-0.01407941896468401,
0.09376676380634308,
-0.07165739685297012,
-0.0002742853539530188,
0.0165640227496624,
0.022595485672354698,
-0.05502136051654816,
-0.00257237465120852,
0.023729762062430382,
0.057145874947309494,
0.0032452880404889584,
-0.034856464713811874,
-0.00012265477562323213,
0.05163653939962387,
0.016329964622855186,
-0.00916872639209032,
0.006873168982565403,
-0.024269893765449524,
-0.031687695533037186,
-0.00045207852963358164,
-0.03165168687701225,
-0.00506823044270277,
0.0259442999958992,
-0.011657830327749252,
-0.07677064090967178,
0.03613477200269699,
0.047207463532686234,
0.02012888714671135,
0.02855493314564228,
-0.035594642162323,
0.034352339804172516,
0.026016317307949066,
-0.04814368858933449,
0.00008038670785026625,
-0.0068056522868573666,
0.0591263547539711,
0.007471814285963774,
0.0014943628339096904,
0.09405484050512314,
-0.04068987816572189,
0.032047782093286514,
-0.07720274478197098,
-0.004357058089226484,
-0.004537101835012436,
0.002351820934563875,
-0.012332994490861893,
-0.05275280773639679,
-0.010658588260412216,
0.0034815953113138676,
-0.04897189140319824,
-0.044794876128435135,
-0.04857579618692398,
-0.014907619915902615,
0.01099166925996542,
0.018796563148498535,
0.04076189547777176,
-0.06063872203230858,
-0.002835688414052129,
-0.04227426275610924,
0.008601588197052479,
0.03642284497618675,
-0.016095908358693123,
0.028843002393841743,
-0.03584670275449753,
0.03456839174032211,
0.014349483884871006,
0.006112484261393547,
0.05023219808936119,
-0.02389180101454258,
0.053328949958086014,
0.039717644453048706,
-0.024828027933835983,
-0.06139490753412247,
-0.04065386950969696,
0.02751068025827408,
-0.038925450295209885,
-0.02981523983180523,
0.0033240572083741426,
-0.001378459739498794,
-0.009776373393833637,
0.01319720409810543,
0.012864123098552227,
-0.01124372985213995,
-0.012314990162849426,
0.023315660655498505,
-0.027816753834486008,
-0.052068643271923065,
0.02153322845697403,
0.07878713309764862,
0.015762826427817345,
0.039825670421123505,
-0.0732777938246727,
0.10298500210046768,
0.002459847368299961,
0.04472285881638527,
0.028320876881480217,
-0.042562335729599,
0.011765857227146626,
0.010388522408902645,
0.016852091997861862,
0.010928653180599213,
-0.031939756125211716,
-0.029437147080898285,
0.015051654540002346,
-0.05401311442255974,
-0.001129211625084281,
0.012738092802464962,
-0.00541931577026844,
0.0006701002130284905,
-0.01189188752323389,
0.028374889865517616,
0.043282508850097656,
-0.0013728333869948983,
0.07216151803731918,
0.02263149432837963,
0.036062754690647125,
-0.019462725147604942,
0.05797407776117325,
-0.008146977983415127,
0.02027292177081108,
-0.03040938265621662,
0.01048754621297121,
-0.02277553081512451,
0.03217381238937378,
-0.06247517094016075,
-0.029797235503792763,
-0.032101795077323914,
-0.02810482308268547,
-0.03885343298316002,
0.06715630739927292,
0.013836359605193138,
-0.013152193278074265,
-0.0031485145445913076,
-0.013368246145546436,
-0.022163381800055504,
-0.018427474424242973,
0.013557291589677334,
0.030985523015260696,
0.01099166925996542,
0.0041905175894498825,
0.008016446605324745,
0.04555106163024902,
-0.06665218621492386,
0.017140161246061325,
0.019354699179530144,
-0.015393737703561783,
0.021515224128961563,
-0.08318019658327103,
-0.022721515968441963,
0.03975365310907364,
0.006044967565685511,
0.031453635543584824,
-0.0658239796757698,
-0.037665143609046936,
0.01162182167172432,
-0.013386250473558903,
-0.0004982147365808487,
-0.003096751868724823,
-0.058442190289497375,
-0.026484429836273193,
0.04411071166396141,
-0.07432204484939575,
-0.005617363844066858,
-0.013791348785161972,
0.05808210372924805,
0.00540581252425909,
-0.04702742025256157,
0.02288355678319931,
0.00845305249094963,
0.024918049573898315,
-0.002016489626839757,
0.053076885640621185,
0.003904698183760047,
0.02670048363506794,
0.010973664000630379,
-0.033146049827337265,
0.044542815536260605,
-0.04598316550254822,
0.006990197114646435,
0.029149077832698822,
-0.022109368816018105,
0.014916622079908848,
0.04879184812307358,
-0.02459397166967392,
-0.018886586651206017,
-0.018094392493367195,
0.046199217438697815,
0.04227426275610924,
-0.023261647671461105,
-0.047207463532686234,
0.0066301096230745316,
-0.005540845450013876,
-0.033650171011686325,
0.06971292942762375,
-0.024467941373586655,
-0.01901261694729328,
-0.07410599291324615,
-0.01101867575198412,
-0.035612646490335464,
-0.017221180722117424,
0.022703511640429497,
0.012774101458489895,
-0.052428729832172394,
-0.00480716722086072,
0.023369673639535904,
-0.039069484919309616,
-0.06182701140642166,
-0.03838532045483589,
0.01083863154053688,
-0.003996970597654581,
-0.04616320878267288,
0.011747852899134159,
0.04195018485188484,
-0.020615005865693092,
-0.02805081009864807,
0.010694596916437149,
0.0993841290473938,
0.014376490376889706,
0.02625037357211113,
-0.026520438492298126,
-0.039825670421123505,
-0.036710914224386215,
-0.02187531068921089,
0.03899746760725975,
0.021911319345235825,
0.0355406291782856,
-0.09657544642686844,
-0.029221095144748688,
0.00892566703259945,
-0.03316405415534973,
-0.002997727831825614,
0.01877855882048607,
-0.028086818754673004,
0.04627123475074768,
-0.0006875419639982283,
-0.0826040580868721,
0.010550561361014843,
-0.048755839467048645,
-0.012233970686793327,
-0.05368903651833534,
-0.11724446713924408,
-0.03444236144423485,
0.037917207926511765,
0.027672719210386276,
0.017653286457061768,
-0.027186600491404533,
0.0038911947049200535,
0.05707385763525963,
0.02950916439294815,
0.009848391637206078,
-0.05354500189423561,
0.059198372066020966,
0.0259983129799366,
-0.027816753834486008,
-0.015843847766518593,
0.012179957702755928,
0.05131245777010918,
0.02453995868563652,
-0.0876452773809433,
-0.09419887512922287,
0.019048625603318214,
0.04040180891752243,
-0.038313303142786026,
0.0015945121413096786,
-0.02950916439294815,
-0.006769643630832434,
0.03737707436084747,
-0.024828027933835983,
-0.016573024913668633,
-0.07028906792402267,
-0.08368431776762009,
-0.03057142347097397,
-0.012035922147333622,
0.021389193832874298,
-0.07194546610116959,
-0.03428032249212265,
-0.01046053972095251,
0.0470634289085865,
-0.08065958321094513,
-0.038925450295209885,
-0.05260877311229706,
-0.036908961832523346,
-0.02027292177081108,
-0.06913678348064423,
0.03838532045483589,
-0.046559303998947144,
0.0001502239756518975,
-0.034658413380384445,
0.06449165940284729,
-0.01757226698100567,
-0.030283352360129356,
0.04562307894229889,
-0.055633507668972015,
-0.013458267785608768,
0.035612646490335464,
-0.031003527343273163,
-0.019156651571393013,
-0.015789832919836044,
-0.043894656002521515,
0.019840817898511887,
-0.02047097124159336,
0.011837874539196491,
0.05095237120985985,
-0.030535414814949036,
-0.0011286489898338914,
-0.010685594752430916,
-0.05444521829485893,
-0.030877497047185898,
0.03262392058968544,
-0.03748510032892227,
0.002822185168042779,
-0.008921165950596333,
-0.00784540455788374,
0.013719331473112106,
0.02403583563864231,
0.04537101462483406,
0.03026534803211689,
-0.03622479736804962,
-0.0259442999958992,
-0.0176082756370306,
0.014421501196920872,
-0.010280496440827847,
0.057938069105148315,
-0.03888944163918495,
0.08433247357606888,
-0.043282508850097656,
-0.04457882419228554,
0.06708429008722305,
-0.008070459589362144,
-0.03813325986266136,
0.026088334619998932,
0.007359286770224571,
-0.006715630646795034,
-0.0041184998117387295,
0.002716409508138895,
-0.04130202904343605,
-0.001987232593819499,
-0.05826214700937271,
0.02574625052511692,
-0.04537101462483406,
-0.035918720066547394,
0.014727575704455376,
-0.08231598883867264,
0.05966648831963539,
0.044866893440485,
-0.033902231603860855,
0.010118456557393074,
-0.009992426261305809,
0.024359915405511856,
-0.01636597327888012,
-0.02614234760403633,
-0.0015990132233127952,
0.004631624557077885,
0.052068643271923065,
0.03827729448676109,
0.01136976107954979,
0.008399039506912231,
-0.011837874539196491,
-0.028266863897442818,
-0.04918794333934784,
0.05469728261232376,
0.020056869834661484,
-0.049512021243572235,
-0.03546861186623573,
0.013152193278074265,
-0.0028649456799030304,
-0.017257189378142357,
0.0224334467202425,
0.027420658618211746,
0.017653286457061768,
-0.025080090388655663,
0.04083391651511192,
-0.03330808877944946,
0.05833416432142258,
0.03487446904182434,
-0.010856635868549347,
0.013422259129583836,
-0.034694425761699677,
-0.02815883792936802,
-0.007642855867743492,
-0.021659258753061295,
-0.016329964622855186,
-0.002954967552796006,
0.02504408173263073,
0.008840146474540234,
0.019048625603318214,
-0.03478444740176201,
-0.05502136051654816,
0.02484603226184845,
-0.011072688736021519,
0.01872454583644867,
0.0033668174874037504,
-0.0039924695156514645,
0.009677349589765072,
0.0062835258431732655,
-0.01856250688433647,
0.009524312801659107,
-0.01028949860483408,
-0.029347125440835953,
0.0006926056812517345,
0.02403583563864231,
0.019696783274412155,
0.0010515678441151977,
-0.010712601244449615,
-0.0011691588442772627,
-0.05624565854668617,
0.01922866888344288,
-0.03478444740176201,
0.006967691704630852,
0.01897660829126835,
-0.006967691704630852,
0.029689209535717964,
-0.0020344939548522234,
-0.0472794808447361,
0.02032693475484848,
0.01064058393239975,
0.0028942027129232883,
0.035810694098472595,
0.0035153536591678858,
-0.020849062129855156,
0.03622479736804962,
-0.037413083016872406,
-0.06953288614749908,
0.06305130571126938,
0.03809725120663643,
-0.01827443763613701,
-0.015078661032021046,
0.07554634660482407,
-0.07619450241327286,
-0.0731697678565979,
0.0033668174874037504,
-0.009794377721846104,
-0.0378451906144619,
0.008660102263092995,
0.09563922137022018,
0.05988254025578499,
0.01712215691804886,
0.009767371229827404,
0.004312046803534031,
0.010073445737361908,
0.0034658415243029594,
0.03336210176348686,
-0.017347212880849838,
0.012278981506824493,
0.03921351954340935,
-0.02097509242594242,
-0.024107852950692177,
-0.01054155919700861,
-0.01852649822831154,
-0.014115427620708942,
-0.04767557606101036,
-0.024359915405511856,
0.024467941373586655,
0.013485274277627468,
0.09621535986661911,
0.07993941009044647,
0.04511895403265953,
0.09578325599431992
] |
5,642 | flask.blueprints | 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.
Note this is a duplicate of the same method in the Flask
class.
.. 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.
Note this is a duplicate of the same method in the Flask
class.
.. 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.023615408688783646,
-0.05346217006444931,
-0.06004757434129715,
0.028005678206682205,
0.04627487063407898,
-0.04202622175216675,
-0.01194047462195158,
0.0660310909152031,
-0.029687436297535896,
0.011312028393149376,
0.01806561090052128,
-0.05101919546723366,
0.024128787219524384,
-0.020163381472229958,
0.006080878898501396,
-0.009913514368236065,
0.02754540927708149,
-0.021703515201807022,
-0.008422061800956726,
-0.00523114949464798,
0.019402164965867996,
0.011427096091210842,
0.007798041682690382,
0.011604122817516327,
-0.006682771258056164,
0.006085304543375969,
-0.05413487181067467,
-0.005262129008769989,
0.025226354598999023,
-0.0030072468798607588,
0.023031219840049744,
-0.0669870376586914,
0.06157000735402107,
-0.005213446449488401,
-0.021260948851704597,
0.0034298989921808243,
-0.030820408836007118,
-0.0308558139950037,
-0.05597595125436783,
-0.00632871687412262,
0.017959393560886383,
0.04698297753930092,
0.0517273023724556,
-0.061994872987270355,
0.042309463024139404,
0.007324493955820799,
-0.02609378658235073,
0.052789464592933655,
-0.06567703187465668,
-0.007598885800689459,
0.01460473146289587,
0.02717365138232708,
-0.01496763713657856,
-0.03837946429848671,
-0.007213852368295193,
0.025438787415623665,
-0.03198878839612007,
0.029652031138539314,
-0.036078114062547684,
-0.009816150180995464,
0.020163381472229958,
-0.018251487985253334,
0.03770676255226135,
-0.05562189966440201,
0.023951759561896324,
0.03122757188975811,
-0.020127974450588226,
0.02058824524283409,
0.007094359025359154,
-0.006620811764150858,
0.05342676490545273,
0.03273230046033859,
0.035175275057554245,
0.01532169058918953,
-0.021190138533711433,
-0.00973648764193058,
0.029846759513020515,
-0.02478378638625145,
0.012666285037994385,
0.018481623381376266,
0.059162437915802,
-0.07134190201759338,
-0.0002475612564012408,
-0.053710006177425385,
0.04046838358044624,
-0.025421084836125374,
-0.013958582654595375,
-0.08780541270971298,
-0.06270298361778259,
0.02572203055024147,
0.004107027314603329,
0.017897434532642365,
-0.019773920997977257,
-0.022907299920916557,
-0.01625993475317955,
-0.04259270802140236,
0.017313245683908463,
0.026536354795098305,
0.018977299332618713,
0.0012248058337718248,
0.011382839642465115,
0.03561784327030182,
0.013268177397549152,
0.01524202898144722,
0.07633406668901443,
-0.045283518731594086,
0.007302365731447935,
-0.029598921537399292,
-0.046735141426324844,
0.06245514377951622,
-0.02258865162730217,
0.0067093251273036,
-0.024500543251633644,
-0.035547032952308655,
-0.02736838161945343,
0.02202216535806656,
-0.05038189888000488,
0.0370340570807457,
0.027315273880958557,
-0.030785003677010536,
-0.019614597782492638,
0.029970679432153702,
-0.02058824524283409,
0.004823986906558275,
-0.00247616576962173,
0.0034719430841505527,
0.03841486945748329,
-0.0264478400349617,
0.05732135847210884,
0.062384333461523056,
0.00021077283599879593,
0.04174297675490379,
0.009090338833630085,
0.02735067903995514,
-0.00236552394926548,
0.04648730158805847,
0.04284054413437843,
0.038627300411462784,
0.023243650794029236,
0.1042335256934166,
0.02793486788868904,
-0.037211086601018906,
0.028589868918061256,
0.042344868183135986,
0.06525216996669769,
-0.004472145810723305,
-0.02129635401070118,
-0.007559054996818304,
-0.05604676157236099,
0.03328108415007591,
0.03915838152170181,
0.016640542075037956,
0.003941064700484276,
0.003146655857563019,
0.025598110631108284,
-0.028607571497559547,
0.01672905683517456,
0.027492299675941467,
-0.02605838142335415,
-0.024890003725886345,
-0.02444743551313877,
0.009940069168806076,
-0.03382986783981323,
0.010002028197050095,
-0.0129318255931139,
-0.02664257027208805,
-0.01590587943792343,
0.09141676872968674,
0.01716277189552784,
0.012524663470685482,
-0.02347378619015217,
-0.025226354598999023,
-0.006213649176061153,
0.015684597194194794,
0.04241568222641945,
0.010002028197050095,
-0.009603717364370823,
-0.013595676980912685,
0.054807573556900024,
-0.0072536831721663475,
0.019030407071113586,
-0.09630271047353745,
0.018109867349267006,
0.0008641132735647261,
-0.008280440233647823,
0.024695273488759995,
-0.05275405943393707,
0.03101513907313347,
0.003803868778049946,
0.012772501446306705,
-0.0047841561026871204,
0.0032506592106074095,
-0.017605340108275414,
-0.014826015569269657,
-0.010931420139968395,
-0.022641759365797043,
-0.0028103042859584093,
-0.080724336206913,
-0.007576757576316595,
-0.05845433101058006,
-0.030714193359017372,
0.0021497721318155527,
0.011604122817516327,
-0.01888878643512726,
0.004268564749509096,
-0.01764959655702114,
0.025775138288736343,
0.02018108405172825,
0.003201976651325822,
0.066208116710186,
-0.038875140249729156,
-0.02205757051706314,
-0.02568662539124489,
0.011267771944403648,
-0.012498109601438046,
-0.055728115141391754,
-0.0587729811668396,
0.029439598321914673,
-0.041034869849681854,
0.008183075115084648,
0.05286027491092682,
-0.02111932635307312,
-0.04294676333665848,
0.048045139759778976,
-0.0019616810604929924,
0.008652197197079659,
0.028943922370672226,
-0.0007811318500898778,
-0.0638713613152504,
-0.03581257164478302,
-0.05087757483124733,
0.00908148754388094,
0.05969351902604103,
-0.006319865584373474,
0.024730678647756577,
0.0031444430351257324,
0.035511624068021774,
0.029970679432153702,
0.015162366442382336,
-0.008112264797091484,
0.0024429732002317905,
-0.008723007515072823,
0.011710339225828648,
0.033104058355093,
0.01641925796866417,
-0.0031555071473121643,
-0.006036622449755669,
0.05679027736186981,
-0.007833447307348251,
-0.03457338362932205,
0.04131811112165451,
-0.0360427051782608,
-0.06047243997454643,
0.011435947380959988,
-0.02680189535021782,
0.044150546193122864,
-0.03397149220108986,
0.02866067923605442,
-0.03283851593732834,
0.08922163397073746,
-0.00982500147074461,
0.005992365535348654,
0.009347028099000454,
-0.016029799357056618,
0.027651624754071236,
-0.020889190956950188,
-0.05268324911594391,
0.015038447454571724,
-0.04174297675490379,
0.0268373005092144,
0.03567095100879669,
0.08136162906885147,
0.020659055560827255,
-0.05820649489760399,
-0.0005332939908839762,
-0.03404230251908302,
-0.04082243889570236,
0.0231197327375412,
0.03328108415007591,
-0.009860406629741192,
0.016941487789154053,
-0.034626491367816925,
0.024288110435009003,
-0.004186689853668213,
0.006638514343649149,
0.01635729894042015,
0.014100204221904278,
0.06273838877677917,
-0.028607571497559547,
-0.034980542957782745,
0.033298786729574203,
0.007443987298756838,
0.02090689353644848,
-0.0458500050008297,
-0.05710892379283905,
-0.032767705619335175,
-0.03549392148852348,
0.011135001666843891,
0.0848313644528389,
0.03990189731121063,
0.018286893144249916,
0.014020542614161968,
0.018835678696632385,
0.014675542712211609,
-0.05119622126221657,
-0.0013022552011534572,
-0.011551015079021454,
-0.01679101586341858,
0.018800271674990654,
0.016189124435186386,
0.0014117907267063856,
-0.03767135739326477,
0.0507359504699707,
0.009125743992626667,
0.09092108905315399,
0.024518245831131935,
0.021207841113209724,
0.05937487259507179,
-0.014374596066772938,
0.03280311077833176,
-0.0023411826696246862,
0.05346217006444931,
-0.017233582213521004,
0.04871784523129463,
0.03749432787299156,
-0.0264478400349617,
0.09028379619121552,
-0.015038447454571724,
0.021544191986322403,
0.016189124435186386,
0.03891054540872574,
0.03685703128576279,
-0.04241568222641945,
-0.028731489554047585,
-0.017233582213521004,
0.0020358110778033733,
0.019242839887738228,
-0.036290545016527176,
0.061251357197761536,
-0.02331446297466755,
-0.020092569291591644,
-0.0016684798756614327,
-0.015737704932689667,
0.01340094767510891,
-0.024695273488759995,
0.01764959655702114,
0.021898245438933372,
-0.04262811318039894,
-0.008205203339457512,
-0.04832838475704193,
-0.0024473988451063633,
-0.022659461945295334,
0.01257777214050293,
-0.01532169058918953,
0.012365339323878288,
-0.038698114454746246,
0.01073669083416462,
0.0006511276005767286,
-0.033316489309072495,
0.0021055154502391815,
-0.030236219987273216,
0.03529919311404228,
-0.03944162651896477,
0.002414206275716424,
0.015764258801937103,
-0.04924892634153366,
-0.0023433954920619726,
-0.028182705864310265,
-0.02554500289261341,
0.030820408836007118,
0.013259326107800007,
0.0014859207440167665,
-0.012683987617492676,
-0.007829020731151104,
0.08185730874538422,
-0.05140865594148636,
0.0004489295242819935,
-0.0370340570807457,
0.04004351794719696,
0.02496081404387951,
-0.04723081737756729,
0.044362977147102356,
0.03322797641158104,
0.0354585163295269,
0.010214461013674736,
-0.023225948214530945,
0.03397149220108986,
0.00288996659219265,
-0.06008297950029373,
-0.006213649176061153,
0.06394217163324356,
-0.043230004608631134,
0.0027571963146328926,
-0.004264139104634523,
-0.022836489602923393,
-0.09347028285264969,
-0.024394327774643898,
0.05962270870804787,
0.031156759709119797,
-0.0011628464562818408,
0.005310811568051577,
0.014197569340467453,
-0.09014217555522919,
0.03770676255226135,
0.0237039215862751,
0.0012668498093262315,
0.039547841995954514,
-0.03471500426530838,
-0.010214461013674736,
0.0008646664791740477,
-0.01837540790438652,
0.021030813455581665,
-0.03767135739326477,
-0.01101108267903328,
0.03363513946533203,
0.044327571988105774,
-0.014029393903911114,
0.01009939331561327,
0.06266757845878601,
0.012993785552680492,
0.01055966317653656,
-0.031103651970624924,
0.09290379285812378,
0.01853473111987114,
-0.0007888767868280411,
-0.018959596753120422,
0.0021309631410986185,
-0.028589868918061256,
-0.06351730227470398,
-0.00005213999611441977,
0.014206420630216599,
-0.0346795991063118,
-0.09368271380662918,
-0.010842906311154366,
0.06765973567962646,
-0.028766894713044167,
-0.0008580279536545277,
-0.059976764023303986,
-0.03152851760387421,
0.020605947822332382,
-0.00020233637769706547,
-0.03455568104982376,
0.033882975578308105,
0.023739326745271683,
-0.004186689853668213,
-0.00010020007175626233,
-0.0370340570807457,
-0.01837540790438652,
0.04602703079581261,
-0.06843865662813187,
-0.006350845564156771,
0.022818787023425102,
0.01600324548780918,
-0.005138210020959377,
-0.02476608380675316,
-0.02591675892472267,
-0.03159932792186737,
-0.08107838779687881,
-0.03305095061659813,
-0.016799867153167725,
-0.01966770552098751,
0.017950542271137238,
0.013834663666784763,
-0.06362351775169373,
-0.0370340570807457,
-0.007187298033386469,
0.01837540790438652,
0.005031993612647057,
-0.006315439939498901,
-0.04238027706742287,
0.05675487220287323,
-0.03616662696003914,
-0.024518245831131935,
-0.06195946782827377,
0.03724649176001549,
0.04832838475704193,
-0.03639676049351692,
0.03522838279604912,
-0.0628800094127655,
0.02386324666440487,
-0.02278338186442852,
0.020676760002970695,
-0.0632694661617279,
0.020659055560827255,
0.0013918752083554864,
-0.014144460670650005,
0.006386250723153353,
0.06358811259269714,
0.003270574612542987,
-0.043052978813648224,
0.030236219987273216,
0.02423500269651413,
-0.003128953045234084,
-0.02517324686050415,
-0.047478653490543365,
0.09099189937114716,
-0.015675745904445648,
0.017543381080031395,
0.001839974895119667,
0.006536723580211401,
-0.02188054285943508,
-0.09347028285264969,
-0.018764866515994072,
0.09941838681697845,
-0.008488447405397892,
-0.01496763713657856,
-0.04815135523676872,
-0.0036069261841475964,
-0.013701893389225006,
-0.022854192182421684,
-0.0037994429003447294,
0.02425270527601242,
-0.008183075115084648,
0.018428515642881393,
0.06135757640004158,
-0.008271588943898678,
-0.041601356118917465,
-0.00973648764193058,
-0.005102804861962795,
-0.003396706422790885,
-0.008342399261891842,
-0.06709325313568115,
0.02423500269651413,
0.019579190760850906,
-0.017428312450647354,
0.015596083365380764,
0.04907189682126045,
-0.03538770601153374,
0.028041085228323936,
0.05732135847210884,
-0.01369304209947586,
0.0528956800699234,
0.057569194585084915,
0.00371535518206656,
0.04719541221857071,
0.025279462337493896,
-0.01157756894826889,
0.012728244997560978,
-0.0503464937210083,
0.0030869091860949993,
-0.017118515446782112,
-0.012958379462361336,
0.04241568222641945,
-0.05746297910809517,
-0.03650297597050667,
-0.0724748745560646,
-0.017330948263406754,
-0.043052978813648224,
0.11018163710832596,
-0.03763595223426819,
0.01350716408342123,
0.02481919154524803,
0.03144000470638275,
-0.013135407119989395,
0.002708513755351305,
0.03305095061659813,
0.00743071036413312,
-0.004717770963907242,
-0.013002636842429638,
-0.022694867104291916,
-0.03218351677060127,
0.013356691226363182,
0.004823986906558275,
-0.031351491808891296,
-0.007045676466077566,
0.042911358177661896,
0.038627300411462784,
0.031085949391126633,
0.008882331661880016,
-0.07314757257699966,
0.02517324686050415,
0.11315568536520004,
0.0317409485578537,
-0.05845433101058006,
0.03795459866523743,
0.04825757443904877,
0.06270298361778259,
-0.0012734882766380906,
-0.003965405747294426,
-0.009913514368236065,
-0.030731895938515663,
-0.03292703256011009,
0.00486824382096529,
0.05569270998239517,
-0.10727839171886444,
-0.016932636499404907,
0.040893249213695526,
0.0006218075286597013,
-0.04110568016767502,
0.012223717756569386,
-0.034608788788318634,
0.014020542614161968,
0.02605838142335415,
-0.037565138190984726,
0.029687436297535896,
0.04117649048566818,
0.014232974499464035,
0.017171623185276985,
0.04684135690331459,
0.019154326990246773,
0.007474967278540134,
0.006921757478266954,
-0.014029393903911114,
0.060366224497556686,
0.030767301097512245,
0.007333345245569944,
-0.015551825985312462,
-0.002219476504251361,
-0.02940419316291809,
0.02531486749649048,
-0.07619243860244751,
-0.021898245438933372,
-0.004359290935099125,
0.03512216731905937,
0.027987975627183914,
0.0061339871026575565,
-0.059020817279815674,
-0.020127974450588226,
0.0006046580383554101,
-0.0352637879550457,
-0.019897840917110443,
-0.018269190564751625,
-0.009143446572124958,
0.0474078431725502,
-0.011064190417528152,
0.016782164573669434,
0.053320545703172684,
0.04535432904958725,
-0.07003190368413925,
0.010302973911166191,
-0.019313650205731392,
-0.009568312205374241,
0.007829020731151104,
-0.016861826181411743,
0.0403621681034565,
-0.012028987519443035,
-0.056294601410627365,
0.043690275400877,
-0.016233380883932114,
-0.0063729737885296345,
0.09113352745771408,
0.0072359805926680565,
-0.0433008149266243,
-0.043230004608631134,
-0.005788784474134445,
0.021561894565820694,
0.010524258017539978,
-0.047301627695560455,
0.03234283998608589,
-0.07838757336139679,
-0.045672979205846786,
0.0007667483878321946,
-0.05052351951599121,
-0.0037020782474428415,
-0.012816757895052433,
0.03544081375002861,
-0.0015998819144442677,
-0.08667244017124176,
0.02681959792971611,
0.012498109601438046,
0.026341624557971954,
-0.027633922174572945,
0.038627300411462784,
-0.13305352628231049,
-0.014374596066772938,
-0.04061000421643257,
0.029315678402781487,
-0.07902487367391586,
-0.010878312401473522,
-0.002816942986100912,
0.0017238009022548795,
0.03138689696788788,
0.013188514858484268,
-0.06468567997217178,
0.0403621681034565,
0.08936325460672379,
-0.052789464592933655,
-0.03105054423213005,
-0.005319662857800722,
-0.03485662490129471,
-0.0017791218124330044,
0.012099798768758774,
-0.020163381472229958,
0.006452635861933231,
-0.031333789229393005,
-0.05084216967225075,
0.018640948459506035,
-0.06904055178165436,
0.01816297508776188,
0.041424330323934555,
-0.009789595380425453,
0.027651624754071236,
-0.046912167221307755,
0.011205811984837055,
-0.02609378658235073,
0.003885743673890829,
0.06553541123867035,
0.016569731757044792,
-0.012976082973182201,
0.036290545016527176,
-0.029598921537399292,
-0.022128380835056305,
0.04390270635485649,
0.04145973548293114,
-0.05431189760565758,
0.00022446476214099675,
-0.016233380883932114,
-0.025598110631108284,
0.015914730727672577,
-0.003239594865590334,
0.017189325764775276,
-0.038308653980493546,
0.03806081414222717,
0.0634818971157074,
-0.05937487259507179,
0.0056825680658221245,
-0.0164546649903059,
-0.006700473837554455,
0.03660919517278671,
-0.03696324676275253,
-0.038875140249729156,
-0.03197108581662178,
0.020694462582468987,
0.02389865182340145,
0.008329122327268124,
-0.02791716530919075,
-0.006917331833392382,
-0.010630474425852299,
-0.0237039215862751,
0.03030703030526638,
0.05512622371315956,
-0.0362374372780323,
0.0027439191471785307,
0.03377676010131836,
0.019366759806871414,
0.04057459905743599,
0.006815541535615921,
-0.04847000539302826,
-0.10026811808347702,
0.02186284027993679,
0.0009625845705159009,
-0.03404230251908302,
-0.030183112248778343,
-0.1032421737909317,
0.057781629264354706,
0.043230004608631134,
0.02257094904780388,
0.03951243683695793,
0.023650813847780228,
0.02697892300784588,
0.04386730119585991,
-0.028943922370672226,
-0.010409190319478512,
0.043052978813648224,
0.016286488622426987,
0.03575946390628815,
-0.04847000539302826,
-0.0007639823597855866,
-0.007820169441401958,
-0.02496081404387951,
0.008740710094571114,
0.011081892997026443,
0.007930811494588852,
0.019773920997977257,
0.06270298361778259,
0.08242379128932953,
0.031652435660362244,
0.02023419179022312
] |
5,643 | flask.sansio.blueprints | teardown_app_request | Like :meth:`teardown_request`, but after every request, not only those
handled by the blueprint. Equivalent to :meth:`.Flask.teardown_request`.
| def __init__(
self,
blueprint: Blueprint,
app: App,
options: t.Any,
first_registration: bool,
) -> None:
#: a reference to the current application
self.app = app
#: a reference to the blueprint that created this setup state.
self.blueprint = blueprint
#: a dictionary with all options that were passed to the
#: :meth:`~flask.Flask.register_blueprint` method.
self.options = options
#: as blueprints can be registered multiple times with the
#: application and not everything wants to be registered
#: multiple times on it, this attribute can be used to figure
#: out if the blueprint was registered in the past already.
self.first_registration = first_registration
subdomain = self.options.get("subdomain")
if subdomain is None:
subdomain = self.blueprint.subdomain
#: The subdomain that the blueprint should be active for, ``None``
#: otherwise.
self.subdomain = subdomain
url_prefix = self.options.get("url_prefix")
if url_prefix is None:
url_prefix = self.blueprint.url_prefix
#: The prefix that should be used for all URLs defined on the
#: blueprint.
self.url_prefix = url_prefix
self.name = self.options.get("name", blueprint.name)
self.name_prefix = self.options.get("name_prefix", "")
#: A dictionary with URL defaults that is added to each and every
#: URL that was defined with the blueprint.
self.url_defaults = dict(self.blueprint.url_values_defaults)
self.url_defaults.update(self.options.get("url_defaults", ()))
| (self, f: ~T_teardown) -> ~T_teardown | [
-0.013607559725642204,
-0.018848702311515808,
-0.025933951139450073,
-0.03651329502463341,
0.013122268952429295,
0.0004413115093484521,
0.006512605585157871,
-0.0011713712010532618,
-0.007284217979758978,
-0.007172601297497749,
-0.008880825713276863,
0.009652438573539257,
0.016742540523409843,
0.02674924023449421,
0.017499594017863274,
-0.0015614238800480962,
0.057963158935308456,
0.017431654036045074,
0.03398978337645531,
-0.04713146388530731,
0.031932149082422256,
0.04600558802485466,
0.014946963638067245,
0.04002680256962776,
-0.03195156157016754,
0.03464977815747261,
-0.04693734645843506,
0.046277351677417755,
0.048257339745759964,
0.008201418444514275,
0.051867902278900146,
-0.020362811163067818,
0.036435648798942566,
0.029796868562698364,
0.05361495167016983,
-0.01532549038529396,
-0.00024112897517625242,
0.061379607766866684,
-0.04418089613318443,
0.024672195315361023,
0.05881727114319801,
-0.01849929429590702,
0.008968178182840347,
-0.04996556416153908,
0.05664316937327385,
0.044336188584566116,
0.030883921310305595,
0.07283247262239456,
-0.04212326183915138,
-0.015568136237561703,
-0.006265107076615095,
-0.026943357661366463,
-0.007555981166660786,
0.03998798131942749,
-0.033155083656311035,
0.050780851393938065,
0.022265151143074036,
0.09798996150493622,
0.008701267652213573,
0.02531277947127819,
-0.0031034359708428383,
-0.02375984750688076,
0.02595336362719536,
-0.025041015818715096,
0.03202920779585838,
0.00004291792356525548,
-0.03934739530086517,
-0.0018974879058077931,
-0.0016050999984145164,
0.003952695522457361,
0.06227254495024681,
0.007764656096696854,
-0.029913337901234627,
0.0007661532144993544,
0.02595336362719536,
-0.03876504674553871,
0.038532108068466187,
-0.06984308362007141,
-0.02624453790485859,
-0.0213139820843935,
0.028535112738609314,
-0.004345781169831753,
-0.04651029035449028,
0.0062408423982560635,
0.029758045449852943,
-0.009798025712370872,
0.03587271273136139,
-0.020362811163067818,
0.017713122069835663,
0.007939361035823822,
-0.06293253600597382,
-0.02090633660554886,
0.04204561561346054,
0.036474473774433136,
0.016063133254647255,
-0.05446906387805939,
-0.025701012462377548,
0.01975134387612343,
0.014345202594995499,
-0.03125274181365967,
-0.024419844150543213,
-0.05276083946228027,
-0.05105261504650116,
0.040104448795318604,
0.030883921310305595,
0.01061816792935133,
-0.019353406503796577,
-0.01022022869437933,
-0.04142444208264351,
-0.017062831670045853,
-0.030223924666643143,
0.0217798613011837,
0.04239502176642418,
0.03525153920054436,
-0.023526908829808235,
-0.015179903246462345,
0.032398030161857605,
0.001261756638996303,
0.045306768268346786,
-0.05769139528274536,
-0.028418641537427902,
-0.015150785446166992,
0.00015771957987453789,
0.01568460650742054,
0.049887917935848236,
0.0545855350792408,
0.0061631957069039345,
-0.01040463987737894,
0.036435648798942566,
-0.042666785418987274,
0.06223371997475624,
0.05606081709265709,
-0.07974302023649216,
-0.022012799978256226,
0.04134679585695267,
-0.025642776861786842,
0.02426455169916153,
0.012413743883371353,
-0.06910543888807297,
0.06502899527549744,
-0.0596325621008873,
0.012617566622793674,
-0.03721211478114128,
0.008143182843923569,
0.023158088326454163,
0.006536869797855616,
-0.0222457405179739,
-0.01585930958390236,
0.0026205715257674456,
0.03569800779223442,
0.02257573790848255,
0.009691261686384678,
0.02721511945128441,
0.020304575562477112,
-0.03965798020362854,
0.015315784141421318,
-0.03575624153017998,
0.007716127205640078,
0.005978785455226898,
-0.013306680135428905,
0.0055468762293457985,
0.01274374220520258,
-0.04286090284585953,
-0.0369209423661232,
-0.061379607766866684,
-0.013112563639879227,
0.01723753660917282,
-0.024788664653897285,
0.021003395318984985,
0.0738418847322464,
0.009885378181934357,
-0.013491090387105942,
-0.021915743127465248,
0.044840890914201736,
0.0009645159007050097,
0.06662075221538544,
0.04616088047623634,
-0.05916668102145195,
0.014005498960614204,
-0.018703116104006767,
0.057341985404491425,
-0.0301462784409523,
-0.044336188584566116,
-0.010161994025111198,
0.027059826999902725,
0.028651582077145576,
-0.042705610394477844,
0.08044183999300003,
0.06658192723989487,
0.09038060158491135,
0.024905135855078697,
0.014490789733827114,
0.009550527669489384,
-0.010433756746351719,
0.008206271566450596,
-0.007822890765964985,
-0.01187992375344038,
-0.047286756336688995,
0.0008256013388745487,
-0.004673352465033531,
-0.01669401116669178,
0.03501860052347183,
-0.029758045449852943,
-0.018984584137797356,
0.04550088569521904,
0.033873312175273895,
0.03926974907517433,
0.03713446855545044,
-0.023196911439299583,
-0.026419242843985558,
-0.022692207247018814,
-0.025196310132741928,
-0.0337374322116375,
-0.013151386752724648,
-0.00830818247050047,
-0.08331476151943207,
0.0060321674682199955,
-0.01921752467751503,
0.011909041553735733,
0.019566934555768967,
0.03575624153017998,
0.0034407132770866156,
0.049849092960357666,
-0.008793473243713379,
-0.07081366330385208,
0.047209110110998154,
0.030728626996278763,
-0.042278554290533066,
-0.003130126977339387,
0.04033739119768143,
-0.031097449362277985,
-0.007488040253520012,
0.02657453529536724,
0.0007079182541929185,
0.030709216371178627,
-0.004175929352641106,
0.011297575198113918,
0.03575624153017998,
-0.036474473774433136,
-0.011084047146141529,
0.050353795289993286,
0.05120790749788284,
0.0209839828312397,
-0.04662676155567169,
0.007167748175561428,
0.020925749093294144,
-0.04084209352731705,
-0.02228456363081932,
-0.01063757948577404,
-0.06269960105419159,
-0.06794074177742004,
-0.0039842394180595875,
0.01968340389430523,
0.02599218674004078,
-0.06677604466676712,
-0.06219489872455597,
-0.020246341824531555,
-0.014267556369304657,
-0.03233979269862175,
0.04029856622219086,
0.015189608559012413,
-0.009312734939157963,
0.014209320768713951,
0.0681348592042923,
-0.02426455169916153,
0.008866267278790474,
0.007007602136582136,
-0.014908140525221825,
-0.008351858705282211,
0.0007224769797176123,
0.15770016610622406,
0.014102556742727757,
0.004124973434954882,
0.013956969603896141,
0.0016548424027860165,
-0.07799597084522247,
-0.02964157611131668,
-0.022517504170536995,
-0.01799459010362625,
-0.04150208830833435,
0.05668199062347412,
-0.04856792464852333,
0.06106902286410332,
0.01461696531623602,
0.007541422266513109,
-0.018343999981880188,
-0.019343700259923935,
0.0899147167801857,
0.01730547845363617,
-0.024633372202515602,
0.018994290381669998,
0.012937858700752258,
0.021605156362056732,
0.06712545454502106,
-0.024613959714770317,
0.005381877534091473,
-0.01907193660736084,
0.0656113475561142,
0.006075843703001738,
-0.0403762124478817,
-0.0033630668185651302,
-0.013025211170315742,
0.006104961037635803,
0.046704407781362534,
-0.023818083107471466,
-0.0184604711830616,
0.03057333454489708,
0.014102556742727757,
0.025157487019896507,
0.040220919996500015,
0.018072238191962242,
-0.01047257985919714,
0.0019690683111548424,
0.06685368716716766,
-0.014568435959517956,
-0.0012174738803878427,
-0.026128068566322327,
-0.05811845138669014,
-0.009861113503575325,
0.031679797917604446,
-0.03952210023999214,
0.027564529329538345,
-0.020343398675322533,
-0.0009948465740308166,
0.00510040856897831,
0.0264968890696764,
0.03847387060523033,
0.02325514517724514,
-0.018004296347498894,
0.02106163091957569,
-0.0656113475561142,
0.014995492063462734,
0.007837450131773949,
-0.017470477148890495,
-0.007522010710090399,
-0.046782054007053375,
-0.027681000530719757,
-0.026729829609394073,
-0.03389272466301918,
-0.08906060457229614,
0.01976105011999607,
-0.03558153659105301,
-0.05512905865907669,
0.00488445395603776,
-0.02354631945490837,
-0.036222122609615326,
-0.031097449362277985,
-0.051867902278900146,
0.01137522142380476,
-0.10660873353481293,
0.013675500638782978,
-0.02275044284760952,
-0.0037246085703372955,
0.0328056737780571,
0.026302773505449295,
-0.047209110110998154,
-0.057458456605672836,
0.006760104093700647,
0.044297363609075546,
-0.005207172594964504,
-0.008235388435423374,
-0.009637879207730293,
-0.10777343064546585,
-0.004612691234797239,
0.03381507843732834,
-0.024749841541051865,
-0.01997457817196846,
-0.0036954910028725863,
-0.0028753492515534163,
-0.06929955631494522,
0.05773022025823593,
-0.020634574815630913,
0.013821087777614594,
-0.02304161712527275,
0.026632770895957947,
-0.020595751702785492,
0.025701012462377548,
0.0029165989253669977,
-0.025390425696969032,
-0.014228732325136662,
-0.049887917935848236,
0.04868439584970474,
0.016781363636255264,
0.027137473225593567,
-0.040220919996500015,
-0.07958772778511047,
-0.029796868562698364,
0.013753147795796394,
0.0369209423661232,
-0.001319991541095078,
0.020382223650813103,
-0.029680399224162102,
-0.014946963638067245,
0.03606683015823364,
-0.014413143508136272,
-0.04456912726163864,
-0.02927275374531746,
0.015587547793984413,
0.011151988059282303,
0.03317449241876602,
0.07721950858831406,
-0.055439647287130356,
0.04460795223712921,
0.007337599992752075,
0.059943147003650665,
0.019741639494895935,
0.05959373712539673,
0.06487370282411575,
0.015626370906829834,
0.06976543366909027,
-0.011219928041100502,
-0.0009451042860746384,
-0.0656113475561142,
-0.04996556416153908,
-0.03728976100683212,
-0.04651029035449028,
0.01636401377618313,
0.08774061501026154,
0.02931157685816288,
0.027467472478747368,
0.013529913499951363,
0.04849027842283249,
0.043831486254930496,
-0.0015371593181043863,
-0.009817437268793583,
0.05520670488476753,
0.023158088326454163,
0.04002680256962776,
0.023779259994626045,
0.02628336101770401,
-0.03461095690727234,
0.021119864657521248,
-0.026943357661366463,
-0.0058283451944589615,
0.030631568282842636,
0.003858063602820039,
0.020052224397659302,
0.008735238574445248,
-0.01579136960208416,
0.009157441556453705,
-0.00007673664367757738,
-0.06759133189916611,
0.017965473234653473,
0.01979016698896885,
-0.034300368279218674,
-0.0028680700343102217,
-0.036474473774433136,
-0.03331037610769272,
0.07492893189191818,
0.0007346092606894672,
-0.006910543888807297,
-0.0454232394695282,
-0.0065223113633692265,
-0.0185284111648798,
-0.054896119982004166,
-0.04305502027273178,
0.023274557664990425,
0.004338501486927271,
-0.004355486948043108,
0.006716427858918905,
-0.014024910517036915,
-0.019663991406559944,
0.022517504170536995,
-0.02560395374894142,
-0.024672195315361023,
0.012433155439794064,
0.060486674308776855,
0.042239729315042496,
-0.05116908624768257,
0.0017252095276489854,
-0.02358514443039894,
0.02902040258049965,
0.047830283641815186,
-0.021100454032421112,
-0.008211123757064342,
0.03166038542985916,
0.009958171285688877,
-0.030204512178897858,
-0.03103921376168728,
-0.04946086183190346,
0.010462874546647072,
0.023526908829808235,
0.014345202594995499,
0.018829291686415672,
-0.018052825704216957,
-0.034805070608854294,
0.00296027516014874,
-0.0002582658198662102,
0.030223924666643143,
0.03511565923690796,
-0.03562036156654358,
-0.023158088326454163,
-0.04689852520823479,
-0.02779746986925602,
-0.013597854413092136,
0.02119751088321209,
0.030689803883433342,
0.042705610394477844,
0.003683358896523714,
0.024148080497980118,
-0.017256949096918106,
-0.0353291854262352,
0.005508053116500378,
0.00011525661830091849,
-0.006556281819939613,
-0.0656113475561142,
-0.1319991499185562,
0.004772837273776531,
-0.051130261272192,
-0.014228732325136662,
-0.018906937912106514,
0.002761306008324027,
-0.011811983771622181,
-0.0008577518747188151,
0.02927275374531746,
0.015626370906829834,
-0.03657153248786926,
0.009167147800326347,
0.017140477895736694,
0.010375522077083588,
-0.01000670064240694,
0.01503431610763073,
0.05757492780685425,
0.049227919429540634,
-0.010326992720365524,
-0.04255031794309616,
0.05509023740887642,
0.022109858691692352,
0.011258752085268497,
0.02812746725976467,
0.011724631302058697,
0.03241743892431259,
0.00627481285482645,
0.01465578842908144,
-0.004673352465033531,
0.022595150396227837,
-0.03911445662379265,
-0.02657453529536724,
0.025041015818715096,
-0.030379217118024826,
0.0653395801782608,
0.06856191158294678,
-0.00611951993778348,
-0.03657153248786926,
-0.0770253911614418,
-0.13487207889556885,
-0.008589651435613632,
0.008730385452508926,
0.03398978337645531,
-0.03375684469938278,
-0.004619970452040434,
0.015471077524125576,
0.03511565923690796,
0.007517158053815365,
-0.03847387060523033,
-0.00277586467564106,
0.02917569689452648,
0.07256071269512177,
0.04053150489926338,
0.0006684883846901357,
-0.05423612520098686,
0.011996394023299217,
-0.028981579467654228,
0.008774061687290668,
0.028670992702245712,
0.007963625714182854,
0.0009978796588256955,
-0.036358002573251724,
-0.029253343120217323,
-0.008720679208636284,
-0.012355509214103222,
-0.05470200255513191,
-0.015315784141421318,
0.05575023218989372,
-0.04150208830833435,
-0.023352203890681267,
0.012229333631694317,
0.046238526701927185,
-0.0055468762293457985,
-0.012452567927539349,
0.0011434669140726328,
-0.0006642420776188374,
-0.05245025455951691,
-0.036222122609615326,
-0.05462435632944107,
0.0019763477612286806,
0.049810271710157394,
0.035212717950344086,
-0.019955167546868324,
-0.10559932887554169,
-0.05268319323658943,
0.005930256098508835,
-0.01463637687265873,
-0.06794074177742004,
0.010094053111970425,
0.022129271179437637,
0.0019350979709997773,
-0.04402559995651245,
0.037367407232522964,
0.04992673918604851,
-0.00730848265811801,
0.049383215606212616,
0.027021003887057304,
-0.05268319323658943,
-0.00030740152578800917,
-0.016645481809973717,
-0.022633973509073257,
0.004367619287222624,
-0.02379867248237133,
-0.055284351110458374,
-0.00485048396512866,
-0.004974232986569405,
-0.0008638179861009121,
0.045267947018146515,
-0.04091973975300789,
-0.0428997278213501,
-0.0486067496240139,
0.00531878974288702,
0.022905735298991203,
-0.03226214647293091,
-0.03224273398518562,
0.023623967543244362,
0.016383424401283264,
0.05000438541173935,
-0.04868439584970474,
-0.011025811545550823,
0.04142444208264351,
-0.055827878415584564,
-0.05062555894255638,
0.013345503248274326,
0.04802440106868744,
-0.02408984676003456,
-0.033659785985946655,
-0.07481246441602707,
0.03447507321834564,
-0.012918447144329548,
0.011452867649495602,
0.02275044284760952,
-0.004297251813113689,
0.014956668950617313,
-0.028729228302836418,
-0.06565017253160477,
-0.007885979488492012,
0.023274557664990425,
-0.000990600325167179,
0.023022206500172615,
-0.024711018428206444,
-0.05901138857007027,
0.04142444208264351,
-0.026380419731140137,
-0.03728976100683212,
0.04817969352006912,
-0.04192914441227913,
0.041036207228899,
-0.037619758397340775,
0.019353406503796577,
0.005532317794859409,
-0.020595751702785492,
-0.012132275849580765,
0.0016548424027860165,
-0.011986687779426575,
-0.0444914810359478,
0.0798206701874733,
-0.0561772882938385,
0.006056432146579027,
-0.014529612846672535,
0.0912347137928009,
-0.03125274181365967,
-0.038920339196920395,
0.031310975551605225,
-0.012666095979511738,
0.002177743474021554,
-0.019634874537587166,
0.0063184890896081924,
0.02834099531173706,
0.012598155066370964,
-0.04208443686366081,
0.013141680508852005,
0.06075843423604965,
-0.005085849668830633,
0.0017882974352687597,
-0.007745244540274143,
-0.015393431298434734,
-0.00152987998444587,
0.01787812076508999,
-0.032359205186367035,
0.020789867267012596,
0.00148013758007437,
0.012559331953525543,
-0.025662189349532127,
-0.029583340510725975,
0.004629676230251789,
0.034921541810035706,
0.049266744405031204,
-0.037483878433704376,
0.01526725571602583,
-0.0181304719299078,
-0.10660873353481293,
0.006473782006651163,
-0.0053430539555847645,
0.015927251428365707,
0.00535275973379612,
0.02973863296210766,
0.009856260381639004,
-0.027195708826184273,
0.025254543870687485,
0.006968779023736715,
-0.0394444540143013,
0.030456865206360817,
0.007206571754068136,
0.02876805141568184,
0.034921541810035706,
0.06759133189916611,
-0.015606959350407124,
-0.045772649347782135,
-0.04740322753787041,
-0.04099738597869873,
-0.008473181165754795,
-0.06161254644393921,
0.01907193660736084,
-0.01787812076508999,
0.0010767393978312612,
0.023449262604117393,
-0.06739721447229385,
0.12260392308235168,
-0.034048017114400864,
-0.008050978183746338,
-0.01791694387793541,
-0.0011962424032390118,
-0.025565130636096,
0.0017931503243744373,
-0.016305778175592422,
-0.04204561561346054,
0.07415246963500977,
0.002067339839413762,
-0.049887917935848236,
0.053886715322732925,
-0.016810480505228043,
0.012229333631694317,
0.021352805197238922,
-0.01418990921229124,
0.0065708402544260025,
0.005595405586063862,
0.03212626650929451,
0.023332791402935982,
0.04600558802485466,
-0.01982899010181427,
-0.029583340510725975,
0.049810271710157394,
0.0013515354366973042,
-0.017033714801073074,
0.020421046763658524,
-0.03251449763774872,
0.006420399993658066,
-0.01593695767223835,
-0.03779446333646774,
-0.014015204273164272,
0.03150509297847748,
-0.018741939216852188,
-0.03880387172102928,
-0.02837981842458248,
-0.021294569596648216,
0.039677392691373825,
-0.013656089082360268,
0.12353568524122238,
0.060913730412721634,
-0.007070689927786589,
-0.008337299339473248
] |
5,644 | flask.sansio.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: Scaffold, *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.0064726537093520164,
-0.013269389979541302,
0.028159193694591522,
0.03525300696492195,
-0.006387131754308939,
0.038169749081134796,
-0.004282844252884388,
0.03253431245684624,
0.014574723318219185,
0.0050592925399541855,
-0.018256664276123047,
0.01575402542948723,
0.054121825844049454,
0.0032273244578391314,
0.03339853137731552,
0.03046378307044506,
0.008462161757051945,
0.020507238805294037,
0.0377376414835453,
0.0121080931276083,
0.04875645413994789,
-0.005275347735732794,
0.004856740590184927,
-0.006526667159050703,
0.004843237344175577,
-0.0041973222978413105,
-0.012513197027146816,
0.02445024624466896,
0.0621158666908741,
-0.0016946828691288829,
0.0020198910497128963,
0.04641585797071457,
-0.020759303122758865,
0.051421135663986206,
0.056750498712062836,
0.006819242145866156,
-0.03957410901784897,
0.043751176446676254,
-0.003812473965808749,
0.0129633117467165,
-0.005923513323068619,
-0.0172934178262949,
0.06629293411970139,
0.006432143040001392,
0.03997021168470383,
0.005959522444754839,
0.009389398619532585,
0.01980505883693695,
0.011144846677780151,
0.025800591334700584,
0.04285094514489174,
-0.00963246077299118,
0.007967035286128521,
0.004228830337524414,
0.022361712530255318,
0.04782021790742874,
0.016663257032632828,
-0.022865841165184975,
0.058767013251781464,
-0.024324214085936546,
-0.0001350344973616302,
0.03989819064736366,
0.03752158582210541,
0.009123831056058407,
-0.0028222210239619017,
-0.035144977271556854,
0.0018252162262797356,
-0.01971503719687462,
0.03410071134567261,
0.039250027388334274,
0.006027039606124163,
0.032588325440883636,
0.02088533528149128,
-0.0031485543586313725,
0.0447954423725605,
0.0032453290186822414,
-0.027421005070209503,
-0.04133855924010277,
0.006895761471241713,
-0.027421005070209503,
0.012459183111786842,
0.04209475219249725,
-0.034892912954092026,
0.036657363176345825,
-0.015024838037788868,
0.005892005283385515,
0.04353512078523636,
-0.01100081019103527,
-0.00010141653183382004,
0.022127652540802956,
-0.012945307418704033,
0.01491681020706892,
0.000013564988876169082,
-0.018706778064370155,
0.004996276460587978,
-0.03744956851005554,
-0.02102937176823616,
-0.007845504209399223,
-0.05721861869096756,
0.011378906667232513,
-0.02108338661491871,
0.05336563289165497,
0.02601664699614048,
0.030355755239725113,
0.08404546976089478,
-0.011684984900057316,
-0.01658223569393158,
-0.023586025461554527,
-0.0045079016126692295,
-0.014124608598649502,
0.01078475546091795,
-0.052789486944675446,
-0.036747388541698456,
0.03350656107068062,
-0.02841125801205635,
-0.06600486487150192,
-0.010577701963484287,
0.004892749711871147,
0.004928759299218655,
-0.051133062690496445,
0.003587416373193264,
0.031129952520132065,
-0.027060912922024727,
-0.0756913349032402,
0.02436022274196148,
0.021389463916420937,
0.003999271430075169,
0.04616379365324974,
0.06953376531600952,
-0.06784132868051529,
-0.01136990450322628,
0.03154405951499939,
-0.006733720190823078,
-0.0449034720659256,
-0.0044808946549892426,
-0.0022922104690223932,
0.02846527099609375,
0.002540899207815528,
-0.0463438406586647,
0.024324214085936546,
-0.028699330985546112,
0.060963574796915054,
0.010901784524321556,
0.02376607060432434,
-0.009317380376160145,
0.03649532422423363,
-0.01633017137646675,
0.03615323454141617,
-0.01303532999008894,
0.02475632354617119,
0.012315145693719387,
-0.008394644595682621,
0.01572701707482338,
0.022325703874230385,
-0.046631913632154465,
-0.006193582434207201,
0.014646741561591625,
0.04713604226708412,
0.07475509494543076,
0.00825060810893774,
-0.012576213106513023,
0.01672627218067646,
-0.00886276364326477,
-0.026340728625655174,
-0.0008068311144597828,
0.0362972728908062,
-0.019192902371287346,
-0.014493702910840511,
0.005860497243702412,
0.05559820309281349,
-0.018328681588172913,
-0.018256664276123047,
0.04011424630880356,
0.0302297230809927,
0.046631913632154465,
0.03199417144060135,
0.040330301970243454,
-0.01444869115948677,
0.050304852426052094,
0.03681940585374832,
0.004015025682747364,
-0.021065382286906242,
-0.013260387815535069,
-0.02430620975792408,
0.06348421424627304,
0.09038309007883072,
-0.02122742310166359,
0.018391698598861694,
0.009195849299430847,
-0.005869499407708645,
0.05556219443678856,
0.004132055677473545,
0.020561251789331436,
-0.0016294162487611175,
-0.0429229661822319,
-0.04065438732504845,
-0.011090833693742752,
-0.010847771540284157,
0.04371516779065132,
-0.036855414509773254,
0.0329304113984108,
0.04641585797071457,
0.029131442308425903,
0.02581859566271305,
-0.012513197027146816,
0.07576335221529007,
0.04234681650996208,
0.01359347254037857,
-0.079436294734478,
-0.011126842349767685,
0.014727761968970299,
-0.08325326442718506,
-0.03759360313415527,
-0.0034771382343024015,
0.0027434509247541428,
-0.07327871769666672,
0.07597941160202026,
-0.001208558795042336,
-0.026250705122947693,
0.012306143529713154,
0.018706778064370155,
0.054842010140419006,
-0.03842181712388992,
-0.024324214085936546,
0.004960267338901758,
0.0004515215987339616,
-0.01806761510670185,
-0.0898069441318512,
-0.025800591334700584,
-0.0688495859503746,
-0.026628803461790085,
0.0121080931276083,
0.020759303122758865,
-0.018400700762867928,
0.01971503719687462,
-0.019769050180912018,
0.030409768223762512,
-0.006000032648444176,
-0.05667847767472267,
-0.038025714457035065,
0.014880801551043987,
-0.0025003887712955475,
0.08339730650186539,
0.03253431245684624,
-0.024036141112446785,
0.011414916254580021,
-0.022415725514292717,
0.0585869662463665,
-0.009938539005815983,
0.029509538784623146,
-0.03374062106013298,
-0.00920485146343708,
-0.013971569016575813,
0.033434540033340454,
-0.019625013694167137,
-0.0007961408700793982,
0.006558175198733807,
-0.031958162784576416,
-0.0023248440120369196,
0.0363512858748436,
-0.015997085720300674,
-0.04562365636229515,
0.08872666954994202,
0.034262754023075104,
-0.05275347828865051,
-0.019156893715262413,
-0.07212642580270767,
0.00826411135494709,
-0.07007390260696411,
-0.004762216471135616,
0.021731551736593246,
-0.013296396471560001,
0.007381885778158903,
0.025224443525075912,
-0.004717205185443163,
-0.01804060861468315,
-0.06175577640533447,
-0.05206930264830589,
-0.009407402947545052,
-0.01692432351410389,
0.07669959217309952,
-0.07914821803569794,
0.045119527727365494,
0.04573168233036995,
-0.040474340319633484,
0.029221465811133385,
0.020327193662524223,
0.04792824387550354,
0.01886882074177265,
-0.049224574118852615,
-0.03242628276348114,
-0.002194310538470745,
0.02626871131360531,
0.005747968330979347,
0.024198181927204132,
-0.012873288244009018,
-0.06805738806724548,
-0.010541693307459354,
0.014646741561591625,
-0.05772274732589722,
0.03206619247794151,
-0.049224574118852615,
-0.10802759975194931,
0.06985784322023392,
0.049764711409807205,
-0.02268579602241516,
-0.02142547257244587,
-0.0008811000734567642,
-0.03217421844601631,
-0.01792357861995697,
-0.014079596847295761,
0.09391199052333832,
-0.07162229716777802,
-0.00023912359029054642,
0.016537224873900414,
0.022613776847720146,
-0.0550580658018589,
-0.0026129174511879683,
0.02376607060432434,
0.057146597653627396,
0.0032813381403684616,
-0.034838899970054626,
-0.00015402372810058296,
0.05160118266940117,
0.016294162720441818,
-0.009200350381433964,
0.006855251267552376,
-0.02436022274196148,
-0.03174210712313652,
-0.0003901934251189232,
-0.031670089811086655,
-0.005041287746280432,
0.025998640805482864,
-0.011603964492678642,
-0.07669959217309952,
0.036117225885391235,
0.04720805957913399,
0.020129142329096794,
0.0285192858427763,
-0.03554107993841171,
0.0343707799911499,
0.02601664699614048,
-0.0482163168489933,
0.0000560885455342941,
-0.006765228230506182,
0.059055086225271225,
0.00743139861151576,
0.0015225139213725924,
0.09391199052333832,
-0.04069039598107338,
0.03206619247794151,
-0.07720372080802917,
-0.004300848580896854,
-0.00458892248570919,
0.002282083034515381,
-0.012261131778359413,
-0.05282549560070038,
-0.010712736286222935,
0.0035491567105054855,
-0.04897250980138779,
-0.0446874164044857,
-0.04857641085982323,
-0.014934815466403961,
0.01092879194766283,
0.01877879723906517,
0.040762413293123245,
-0.06063948944211006,
-0.002833473728969693,
-0.04231080785393715,
0.008628704585134983,
0.036513328552246094,
-0.016087109223008156,
0.028843367472290993,
-0.03584715723991394,
0.034550826996564865,
0.014385675080120564,
0.006081053521484137,
0.05023283138871193,
-0.023928113281726837,
0.053329624235630035,
0.039790164679288864,
-0.02475632354617119,
-0.061359673738479614,
-0.04069039598107338,
0.02752903290092945,
-0.038997963070869446,
-0.029869630932807922,
0.003400618676096201,
-0.0013717254623770714,
-0.009821509011089802,
0.013134355656802654,
0.012855283915996552,
-0.011216865852475166,
-0.012369159609079361,
0.023351965472102165,
-0.02787112072110176,
-0.05206930264830589,
0.02151549607515335,
0.07878812402486801,
0.01579003408551216,
0.03986218199133873,
-0.07317069172859192,
0.10298630595207214,
0.0024823842104524374,
0.044723425060510635,
0.028303230181336403,
-0.04256287217140198,
0.011748000979423523,
0.010343641974031925,
0.01687031053006649,
0.01095579843968153,
-0.03188614547252655,
-0.029455523937940598,
0.015078851953148842,
-0.05408581718802452,
-0.0011269754031673074,
0.01273825392127037,
-0.005473398137837648,
0.0006037167040631175,
-0.011955054476857185,
0.028393253684043884,
0.04331906512379646,
-0.00143024034332484,
0.0721624344587326,
0.02268579602241516,
0.0360812172293663,
-0.019444966688752174,
0.057938799262046814,
-0.008061559870839119,
0.020273178815841675,
-0.03046378307044506,
0.010496681556105614,
-0.022775817662477493,
0.03217421844601631,
-0.062475960701704025,
-0.029761603102087975,
-0.03213820978999138,
-0.02812318503856659,
-0.03881791606545448,
0.06715715676546097,
0.013854539021849632,
-0.013197371736168861,
-0.0031057933811098337,
-0.013368414714932442,
-0.022217676043510437,
-0.01849072426557541,
0.013539458625018597,
0.03094990737736225,
0.011027817614376545,
0.004179317504167557,
0.008088566362857819,
0.04555163532495499,
-0.06672504544258118,
0.017140379175543785,
0.019426962360739708,
-0.015312911942601204,
0.021551504731178284,
-0.08310922980308533,
-0.022757813334465027,
0.0398261733353138,
0.006049545481801033,
0.03138201683759689,
-0.06582481414079666,
-0.03766562044620514,
0.011549950577318668,
-0.013386419974267483,
-0.00044139401870779693,
-0.0030405267607420683,
-0.05844293162226677,
-0.02646676078438759,
0.04411127045750618,
-0.07432298362255096,
-0.00562643725425005,
-0.013764516450464725,
0.058082837611436844,
0.0054193842224776745,
-0.047028012573719025,
0.022847836837172508,
0.008417150005698204,
0.024918366223573685,
-0.001998510444536805,
0.05307755991816521,
0.0039565106853842735,
0.026664812117815018,
0.010892782360315323,
-0.03314646705985069,
0.04450736939907074,
-0.04587572067975998,
0.00696778018027544,
0.02914944663643837,
-0.022127652540802956,
0.014970824122428894,
0.04872044548392296,
-0.024540269747376442,
-0.01883281022310257,
-0.01809462159872055,
0.04627181962132454,
0.04231080785393715,
-0.02327994629740715,
-0.04724406823515892,
0.006684207357466221,
-0.0055634211748838425,
-0.03365059569478035,
0.06960578262805939,
-0.024468250572681427,
-0.019048865884542465,
-0.07410693168640137,
-0.011063826270401478,
-0.03559509292244911,
-0.017221398651599884,
0.022757813334465027,
0.012720249593257904,
-0.05242939293384552,
-0.004807228222489357,
0.023405978456139565,
-0.03903397172689438,
-0.06182779371738434,
-0.03838580474257469,
0.01085677370429039,
-0.003974515479058027,
-0.04619980230927467,
0.011639973148703575,
0.041986726224422455,
-0.020669279620051384,
-0.028033161535859108,
0.010667725466191769,
0.09938538819551468,
0.014322659000754356,
0.026232700794935226,
-0.026538779959082603,
-0.03986218199133873,
-0.03672938421368599,
-0.021785564720630646,
0.03903397172689438,
0.021875588223338127,
0.03554107993841171,
-0.09657666832208633,
-0.02920345962047577,
0.008939283899962902,
-0.03314646705985069,
-0.0029730095993727446,
0.01872478425502777,
-0.02812318503856659,
0.04627181962132454,
-0.0006369127077050507,
-0.08260510116815567,
0.010505683720111847,
-0.04875645413994789,
-0.012234125286340714,
-0.05368971452116966,
-0.117173932492733,
-0.03444279730319977,
0.03791768476366997,
0.02772708237171173,
0.01769852079451084,
-0.027114925906062126,
0.0038754900451749563,
0.05711058899760246,
0.029563551768660545,
0.009830511175096035,
-0.053581688553094864,
0.059163112193346024,
0.025998640805482864,
-0.02787112072110176,
-0.01584404706954956,
0.012162107042968273,
0.05124108865857124,
0.02455827407538891,
-0.08764638751745224,
-0.09420006722211838,
0.019084874540567398,
0.04036631062626839,
-0.038313787430524826,
0.0015799036482349038,
-0.029599562287330627,
-0.006787734106183052,
0.037341538816690445,
-0.024828342720866203,
-0.016591237857937813,
-0.07028995454311371,
-0.08361335843801498,
-0.03060781955718994,
-0.011982060968875885,
0.021335450932383537,
-0.07191037386655807,
-0.03428075835108757,
-0.01051468588411808,
0.04699200391769409,
-0.08066060394048691,
-0.03896195441484451,
-0.05260943993926048,
-0.03698144853115082,
-0.02034519799053669,
-0.06910165399312973,
0.038457825779914856,
-0.04652388393878937,
0.0001659799017943442,
-0.03473087400197983,
0.06442045420408249,
-0.01758149079978466,
-0.03026573173701763,
0.045695673674345016,
-0.05570622906088829,
-0.013431430794298649,
0.035685114562511444,
-0.031021924689412117,
-0.019102880731225014,
-0.01587105356156826,
-0.043895214796066284,
0.019841069355607033,
-0.020381206646561623,
0.01181101705878973,
0.050989024341106415,
-0.030499791726469994,
-0.0010752121452242136,
-0.010667725466191769,
-0.054409898817539215,
-0.03094990737736225,
0.03257032111287117,
-0.03744956851005554,
0.0028469772078096867,
-0.008934782817959785,
-0.00785000529140234,
0.013710502535104752,
0.024126162752509117,
0.04522755369544029,
0.03031974472105503,
-0.03627926856279373,
-0.025998640805482864,
-0.017617501318454742,
0.014520709402859211,
-0.010325637646019459,
0.057938799262046814,
-0.03892594575881958,
0.08433354645967484,
-0.043211039155721664,
-0.044579386711120605,
0.06715715676546097,
-0.008088566362857819,
-0.03798970580101013,
0.026034651324152946,
0.00733687449246645,
-0.006787734106183052,
-0.0040802923031151295,
0.0027569544035941362,
-0.0412665419280529,
-0.0019928840920329094,
-0.05819086730480194,
0.025746576488018036,
-0.04522755369544029,
-0.03590117022395134,
0.0146737489849329,
-0.08231703191995621,
0.05966724082827568,
0.044867463409900665,
-0.03390266001224518,
0.010118585079908371,
-0.00995654333382845,
0.024378227069973946,
-0.016348175704479218,
-0.026178687810897827,
-0.0015483956085518003,
0.004663191270083189,
0.05206930264830589,
0.03824177011847496,
0.01136990450322628,
0.008435155265033245,
-0.011865030974149704,
-0.02832123450934887,
-0.049080539494752884,
0.054697971791028976,
0.020021114498376846,
-0.04954865947365761,
-0.035523075610399246,
0.013161362148821354,
-0.002790712984278798,
-0.017275413498282433,
0.02239772118628025,
0.02743900939822197,
0.017653509974479675,
-0.025080407038331032,
0.04083443060517311,
-0.03339853137731552,
0.05833490192890167,
0.03485690429806709,
-0.010937794111669064,
0.013431430794298649,
-0.0346408486366272,
-0.028159193694591522,
-0.007638451177626848,
-0.02165953256189823,
-0.01633017137646675,
-0.0029640072025358677,
0.025062402710318565,
0.008772741071879864,
0.01912088505923748,
-0.03476688265800476,
-0.0550580658018589,
0.024954374879598618,
-0.011081830598413944,
0.018742788583040237,
0.0033443544525653124,
-0.0040037729777395725,
0.009623458608984947,
0.006243094801902771,
-0.018544737249612808,
0.00956044252961874,
-0.010289628989994526,
-0.02923947013914585,
0.0006999287870712578,
0.024036141112446785,
0.01975104585289955,
0.0010414535645395517,
-0.010748745873570442,
-0.0012063081376254559,
-0.056174349039793015,
0.019246917217969894,
-0.03471286594867706,
0.006927269510924816,
0.01886882074177265,
-0.006936272140592337,
0.02968958392739296,
-0.0020390208810567856,
-0.04728007689118385,
0.020381206646561623,
0.010694731958210468,
0.0028784852474927902,
0.03581114858388901,
0.0034928922541439533,
-0.020921343937516212,
0.036369290202856064,
-0.03741355612874031,
-0.06953376531600952,
0.06301610171794891,
0.038025714457035065,
-0.01831967942416668,
-0.015078851953148842,
0.07554730027914047,
-0.07612344622612,
-0.07313468307256699,
0.003420874010771513,
-0.009740488603711128,
-0.037881676107645035,
0.00867371540516615,
0.09571245312690735,
0.059883296489715576,
0.017086364328861237,
0.009713481180369854,
0.00436611520126462,
0.01002856157720089,
0.0034231245517730713,
0.03336252272129059,
-0.017329426482319832,
0.012261131778359413,
0.03921401873230934,
-0.021011367440223694,
-0.024126162752509117,
-0.010532691143453121,
-0.018526732921600342,
-0.014124608598649502,
-0.047712188214063644,
-0.024396231397986412,
0.024468250572681427,
0.013458438217639923,
0.09628859907388687,
0.08001244068145752,
0.045119527727365494,
0.09578447043895721
] |
5,645 | flask.sansio.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: Scaffold, *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.0064726537093520164,
-0.013269389979541302,
0.028159193694591522,
0.03525300696492195,
-0.006387131754308939,
0.038169749081134796,
-0.004282844252884388,
0.03253431245684624,
0.014574723318219185,
0.0050592925399541855,
-0.018256664276123047,
0.01575402542948723,
0.054121825844049454,
0.0032273244578391314,
0.03339853137731552,
0.03046378307044506,
0.008462161757051945,
0.020507238805294037,
0.0377376414835453,
0.0121080931276083,
0.04875645413994789,
-0.005275347735732794,
0.004856740590184927,
-0.006526667159050703,
0.004843237344175577,
-0.0041973222978413105,
-0.012513197027146816,
0.02445024624466896,
0.0621158666908741,
-0.0016946828691288829,
0.0020198910497128963,
0.04641585797071457,
-0.020759303122758865,
0.051421135663986206,
0.056750498712062836,
0.006819242145866156,
-0.03957410901784897,
0.043751176446676254,
-0.003812473965808749,
0.0129633117467165,
-0.005923513323068619,
-0.0172934178262949,
0.06629293411970139,
0.006432143040001392,
0.03997021168470383,
0.005959522444754839,
0.009389398619532585,
0.01980505883693695,
0.011144846677780151,
0.025800591334700584,
0.04285094514489174,
-0.00963246077299118,
0.007967035286128521,
0.004228830337524414,
0.022361712530255318,
0.04782021790742874,
0.016663257032632828,
-0.022865841165184975,
0.058767013251781464,
-0.024324214085936546,
-0.0001350344973616302,
0.03989819064736366,
0.03752158582210541,
0.009123831056058407,
-0.0028222210239619017,
-0.035144977271556854,
0.0018252162262797356,
-0.01971503719687462,
0.03410071134567261,
0.039250027388334274,
0.006027039606124163,
0.032588325440883636,
0.02088533528149128,
-0.0031485543586313725,
0.0447954423725605,
0.0032453290186822414,
-0.027421005070209503,
-0.04133855924010277,
0.006895761471241713,
-0.027421005070209503,
0.012459183111786842,
0.04209475219249725,
-0.034892912954092026,
0.036657363176345825,
-0.015024838037788868,
0.005892005283385515,
0.04353512078523636,
-0.01100081019103527,
-0.00010141653183382004,
0.022127652540802956,
-0.012945307418704033,
0.01491681020706892,
0.000013564988876169082,
-0.018706778064370155,
0.004996276460587978,
-0.03744956851005554,
-0.02102937176823616,
-0.007845504209399223,
-0.05721861869096756,
0.011378906667232513,
-0.02108338661491871,
0.05336563289165497,
0.02601664699614048,
0.030355755239725113,
0.08404546976089478,
-0.011684984900057316,
-0.01658223569393158,
-0.023586025461554527,
-0.0045079016126692295,
-0.014124608598649502,
0.01078475546091795,
-0.052789486944675446,
-0.036747388541698456,
0.03350656107068062,
-0.02841125801205635,
-0.06600486487150192,
-0.010577701963484287,
0.004892749711871147,
0.004928759299218655,
-0.051133062690496445,
0.003587416373193264,
0.031129952520132065,
-0.027060912922024727,
-0.0756913349032402,
0.02436022274196148,
0.021389463916420937,
0.003999271430075169,
0.04616379365324974,
0.06953376531600952,
-0.06784132868051529,
-0.01136990450322628,
0.03154405951499939,
-0.006733720190823078,
-0.0449034720659256,
-0.0044808946549892426,
-0.0022922104690223932,
0.02846527099609375,
0.002540899207815528,
-0.0463438406586647,
0.024324214085936546,
-0.028699330985546112,
0.060963574796915054,
0.010901784524321556,
0.02376607060432434,
-0.009317380376160145,
0.03649532422423363,
-0.01633017137646675,
0.03615323454141617,
-0.01303532999008894,
0.02475632354617119,
0.012315145693719387,
-0.008394644595682621,
0.01572701707482338,
0.022325703874230385,
-0.046631913632154465,
-0.006193582434207201,
0.014646741561591625,
0.04713604226708412,
0.07475509494543076,
0.00825060810893774,
-0.012576213106513023,
0.01672627218067646,
-0.00886276364326477,
-0.026340728625655174,
-0.0008068311144597828,
0.0362972728908062,
-0.019192902371287346,
-0.014493702910840511,
0.005860497243702412,
0.05559820309281349,
-0.018328681588172913,
-0.018256664276123047,
0.04011424630880356,
0.0302297230809927,
0.046631913632154465,
0.03199417144060135,
0.040330301970243454,
-0.01444869115948677,
0.050304852426052094,
0.03681940585374832,
0.004015025682747364,
-0.021065382286906242,
-0.013260387815535069,
-0.02430620975792408,
0.06348421424627304,
0.09038309007883072,
-0.02122742310166359,
0.018391698598861694,
0.009195849299430847,
-0.005869499407708645,
0.05556219443678856,
0.004132055677473545,
0.020561251789331436,
-0.0016294162487611175,
-0.0429229661822319,
-0.04065438732504845,
-0.011090833693742752,
-0.010847771540284157,
0.04371516779065132,
-0.036855414509773254,
0.0329304113984108,
0.04641585797071457,
0.029131442308425903,
0.02581859566271305,
-0.012513197027146816,
0.07576335221529007,
0.04234681650996208,
0.01359347254037857,
-0.079436294734478,
-0.011126842349767685,
0.014727761968970299,
-0.08325326442718506,
-0.03759360313415527,
-0.0034771382343024015,
0.0027434509247541428,
-0.07327871769666672,
0.07597941160202026,
-0.001208558795042336,
-0.026250705122947693,
0.012306143529713154,
0.018706778064370155,
0.054842010140419006,
-0.03842181712388992,
-0.024324214085936546,
0.004960267338901758,
0.0004515215987339616,
-0.01806761510670185,
-0.0898069441318512,
-0.025800591334700584,
-0.0688495859503746,
-0.026628803461790085,
0.0121080931276083,
0.020759303122758865,
-0.018400700762867928,
0.01971503719687462,
-0.019769050180912018,
0.030409768223762512,
-0.006000032648444176,
-0.05667847767472267,
-0.038025714457035065,
0.014880801551043987,
-0.0025003887712955475,
0.08339730650186539,
0.03253431245684624,
-0.024036141112446785,
0.011414916254580021,
-0.022415725514292717,
0.0585869662463665,
-0.009938539005815983,
0.029509538784623146,
-0.03374062106013298,
-0.00920485146343708,
-0.013971569016575813,
0.033434540033340454,
-0.019625013694167137,
-0.0007961408700793982,
0.006558175198733807,
-0.031958162784576416,
-0.0023248440120369196,
0.0363512858748436,
-0.015997085720300674,
-0.04562365636229515,
0.08872666954994202,
0.034262754023075104,
-0.05275347828865051,
-0.019156893715262413,
-0.07212642580270767,
0.00826411135494709,
-0.07007390260696411,
-0.004762216471135616,
0.021731551736593246,
-0.013296396471560001,
0.007381885778158903,
0.025224443525075912,
-0.004717205185443163,
-0.01804060861468315,
-0.06175577640533447,
-0.05206930264830589,
-0.009407402947545052,
-0.01692432351410389,
0.07669959217309952,
-0.07914821803569794,
0.045119527727365494,
0.04573168233036995,
-0.040474340319633484,
0.029221465811133385,
0.020327193662524223,
0.04792824387550354,
0.01886882074177265,
-0.049224574118852615,
-0.03242628276348114,
-0.002194310538470745,
0.02626871131360531,
0.005747968330979347,
0.024198181927204132,
-0.012873288244009018,
-0.06805738806724548,
-0.010541693307459354,
0.014646741561591625,
-0.05772274732589722,
0.03206619247794151,
-0.049224574118852615,
-0.10802759975194931,
0.06985784322023392,
0.049764711409807205,
-0.02268579602241516,
-0.02142547257244587,
-0.0008811000734567642,
-0.03217421844601631,
-0.01792357861995697,
-0.014079596847295761,
0.09391199052333832,
-0.07162229716777802,
-0.00023912359029054642,
0.016537224873900414,
0.022613776847720146,
-0.0550580658018589,
-0.0026129174511879683,
0.02376607060432434,
0.057146597653627396,
0.0032813381403684616,
-0.034838899970054626,
-0.00015402372810058296,
0.05160118266940117,
0.016294162720441818,
-0.009200350381433964,
0.006855251267552376,
-0.02436022274196148,
-0.03174210712313652,
-0.0003901934251189232,
-0.031670089811086655,
-0.005041287746280432,
0.025998640805482864,
-0.011603964492678642,
-0.07669959217309952,
0.036117225885391235,
0.04720805957913399,
0.020129142329096794,
0.0285192858427763,
-0.03554107993841171,
0.0343707799911499,
0.02601664699614048,
-0.0482163168489933,
0.0000560885455342941,
-0.006765228230506182,
0.059055086225271225,
0.00743139861151576,
0.0015225139213725924,
0.09391199052333832,
-0.04069039598107338,
0.03206619247794151,
-0.07720372080802917,
-0.004300848580896854,
-0.00458892248570919,
0.002282083034515381,
-0.012261131778359413,
-0.05282549560070038,
-0.010712736286222935,
0.0035491567105054855,
-0.04897250980138779,
-0.0446874164044857,
-0.04857641085982323,
-0.014934815466403961,
0.01092879194766283,
0.01877879723906517,
0.040762413293123245,
-0.06063948944211006,
-0.002833473728969693,
-0.04231080785393715,
0.008628704585134983,
0.036513328552246094,
-0.016087109223008156,
0.028843367472290993,
-0.03584715723991394,
0.034550826996564865,
0.014385675080120564,
0.006081053521484137,
0.05023283138871193,
-0.023928113281726837,
0.053329624235630035,
0.039790164679288864,
-0.02475632354617119,
-0.061359673738479614,
-0.04069039598107338,
0.02752903290092945,
-0.038997963070869446,
-0.029869630932807922,
0.003400618676096201,
-0.0013717254623770714,
-0.009821509011089802,
0.013134355656802654,
0.012855283915996552,
-0.011216865852475166,
-0.012369159609079361,
0.023351965472102165,
-0.02787112072110176,
-0.05206930264830589,
0.02151549607515335,
0.07878812402486801,
0.01579003408551216,
0.03986218199133873,
-0.07317069172859192,
0.10298630595207214,
0.0024823842104524374,
0.044723425060510635,
0.028303230181336403,
-0.04256287217140198,
0.011748000979423523,
0.010343641974031925,
0.01687031053006649,
0.01095579843968153,
-0.03188614547252655,
-0.029455523937940598,
0.015078851953148842,
-0.05408581718802452,
-0.0011269754031673074,
0.01273825392127037,
-0.005473398137837648,
0.0006037167040631175,
-0.011955054476857185,
0.028393253684043884,
0.04331906512379646,
-0.00143024034332484,
0.0721624344587326,
0.02268579602241516,
0.0360812172293663,
-0.019444966688752174,
0.057938799262046814,
-0.008061559870839119,
0.020273178815841675,
-0.03046378307044506,
0.010496681556105614,
-0.022775817662477493,
0.03217421844601631,
-0.062475960701704025,
-0.029761603102087975,
-0.03213820978999138,
-0.02812318503856659,
-0.03881791606545448,
0.06715715676546097,
0.013854539021849632,
-0.013197371736168861,
-0.0031057933811098337,
-0.013368414714932442,
-0.022217676043510437,
-0.01849072426557541,
0.013539458625018597,
0.03094990737736225,
0.011027817614376545,
0.004179317504167557,
0.008088566362857819,
0.04555163532495499,
-0.06672504544258118,
0.017140379175543785,
0.019426962360739708,
-0.015312911942601204,
0.021551504731178284,
-0.08310922980308533,
-0.022757813334465027,
0.0398261733353138,
0.006049545481801033,
0.03138201683759689,
-0.06582481414079666,
-0.03766562044620514,
0.011549950577318668,
-0.013386419974267483,
-0.00044139401870779693,
-0.0030405267607420683,
-0.05844293162226677,
-0.02646676078438759,
0.04411127045750618,
-0.07432298362255096,
-0.00562643725425005,
-0.013764516450464725,
0.058082837611436844,
0.0054193842224776745,
-0.047028012573719025,
0.022847836837172508,
0.008417150005698204,
0.024918366223573685,
-0.001998510444536805,
0.05307755991816521,
0.0039565106853842735,
0.026664812117815018,
0.010892782360315323,
-0.03314646705985069,
0.04450736939907074,
-0.04587572067975998,
0.00696778018027544,
0.02914944663643837,
-0.022127652540802956,
0.014970824122428894,
0.04872044548392296,
-0.024540269747376442,
-0.01883281022310257,
-0.01809462159872055,
0.04627181962132454,
0.04231080785393715,
-0.02327994629740715,
-0.04724406823515892,
0.006684207357466221,
-0.0055634211748838425,
-0.03365059569478035,
0.06960578262805939,
-0.024468250572681427,
-0.019048865884542465,
-0.07410693168640137,
-0.011063826270401478,
-0.03559509292244911,
-0.017221398651599884,
0.022757813334465027,
0.012720249593257904,
-0.05242939293384552,
-0.004807228222489357,
0.023405978456139565,
-0.03903397172689438,
-0.06182779371738434,
-0.03838580474257469,
0.01085677370429039,
-0.003974515479058027,
-0.04619980230927467,
0.011639973148703575,
0.041986726224422455,
-0.020669279620051384,
-0.028033161535859108,
0.010667725466191769,
0.09938538819551468,
0.014322659000754356,
0.026232700794935226,
-0.026538779959082603,
-0.03986218199133873,
-0.03672938421368599,
-0.021785564720630646,
0.03903397172689438,
0.021875588223338127,
0.03554107993841171,
-0.09657666832208633,
-0.02920345962047577,
0.008939283899962902,
-0.03314646705985069,
-0.0029730095993727446,
0.01872478425502777,
-0.02812318503856659,
0.04627181962132454,
-0.0006369127077050507,
-0.08260510116815567,
0.010505683720111847,
-0.04875645413994789,
-0.012234125286340714,
-0.05368971452116966,
-0.117173932492733,
-0.03444279730319977,
0.03791768476366997,
0.02772708237171173,
0.01769852079451084,
-0.027114925906062126,
0.0038754900451749563,
0.05711058899760246,
0.029563551768660545,
0.009830511175096035,
-0.053581688553094864,
0.059163112193346024,
0.025998640805482864,
-0.02787112072110176,
-0.01584404706954956,
0.012162107042968273,
0.05124108865857124,
0.02455827407538891,
-0.08764638751745224,
-0.09420006722211838,
0.019084874540567398,
0.04036631062626839,
-0.038313787430524826,
0.0015799036482349038,
-0.029599562287330627,
-0.006787734106183052,
0.037341538816690445,
-0.024828342720866203,
-0.016591237857937813,
-0.07028995454311371,
-0.08361335843801498,
-0.03060781955718994,
-0.011982060968875885,
0.021335450932383537,
-0.07191037386655807,
-0.03428075835108757,
-0.01051468588411808,
0.04699200391769409,
-0.08066060394048691,
-0.03896195441484451,
-0.05260943993926048,
-0.03698144853115082,
-0.02034519799053669,
-0.06910165399312973,
0.038457825779914856,
-0.04652388393878937,
0.0001659799017943442,
-0.03473087400197983,
0.06442045420408249,
-0.01758149079978466,
-0.03026573173701763,
0.045695673674345016,
-0.05570622906088829,
-0.013431430794298649,
0.035685114562511444,
-0.031021924689412117,
-0.019102880731225014,
-0.01587105356156826,
-0.043895214796066284,
0.019841069355607033,
-0.020381206646561623,
0.01181101705878973,
0.050989024341106415,
-0.030499791726469994,
-0.0010752121452242136,
-0.010667725466191769,
-0.054409898817539215,
-0.03094990737736225,
0.03257032111287117,
-0.03744956851005554,
0.0028469772078096867,
-0.008934782817959785,
-0.00785000529140234,
0.013710502535104752,
0.024126162752509117,
0.04522755369544029,
0.03031974472105503,
-0.03627926856279373,
-0.025998640805482864,
-0.017617501318454742,
0.014520709402859211,
-0.010325637646019459,
0.057938799262046814,
-0.03892594575881958,
0.08433354645967484,
-0.043211039155721664,
-0.044579386711120605,
0.06715715676546097,
-0.008088566362857819,
-0.03798970580101013,
0.026034651324152946,
0.00733687449246645,
-0.006787734106183052,
-0.0040802923031151295,
0.0027569544035941362,
-0.0412665419280529,
-0.0019928840920329094,
-0.05819086730480194,
0.025746576488018036,
-0.04522755369544029,
-0.03590117022395134,
0.0146737489849329,
-0.08231703191995621,
0.05966724082827568,
0.044867463409900665,
-0.03390266001224518,
0.010118585079908371,
-0.00995654333382845,
0.024378227069973946,
-0.016348175704479218,
-0.026178687810897827,
-0.0015483956085518003,
0.004663191270083189,
0.05206930264830589,
0.03824177011847496,
0.01136990450322628,
0.008435155265033245,
-0.011865030974149704,
-0.02832123450934887,
-0.049080539494752884,
0.054697971791028976,
0.020021114498376846,
-0.04954865947365761,
-0.035523075610399246,
0.013161362148821354,
-0.002790712984278798,
-0.017275413498282433,
0.02239772118628025,
0.02743900939822197,
0.017653509974479675,
-0.025080407038331032,
0.04083443060517311,
-0.03339853137731552,
0.05833490192890167,
0.03485690429806709,
-0.010937794111669064,
0.013431430794298649,
-0.0346408486366272,
-0.028159193694591522,
-0.007638451177626848,
-0.02165953256189823,
-0.01633017137646675,
-0.0029640072025358677,
0.025062402710318565,
0.008772741071879864,
0.01912088505923748,
-0.03476688265800476,
-0.0550580658018589,
0.024954374879598618,
-0.011081830598413944,
0.018742788583040237,
0.0033443544525653124,
-0.0040037729777395725,
0.009623458608984947,
0.006243094801902771,
-0.018544737249612808,
0.00956044252961874,
-0.010289628989994526,
-0.02923947013914585,
0.0006999287870712578,
0.024036141112446785,
0.01975104585289955,
0.0010414535645395517,
-0.010748745873570442,
-0.0012063081376254559,
-0.056174349039793015,
0.019246917217969894,
-0.03471286594867706,
0.006927269510924816,
0.01886882074177265,
-0.006936272140592337,
0.02968958392739296,
-0.0020390208810567856,
-0.04728007689118385,
0.020381206646561623,
0.010694731958210468,
0.0028784852474927902,
0.03581114858388901,
0.0034928922541439533,
-0.020921343937516212,
0.036369290202856064,
-0.03741355612874031,
-0.06953376531600952,
0.06301610171794891,
0.038025714457035065,
-0.01831967942416668,
-0.015078851953148842,
0.07554730027914047,
-0.07612344622612,
-0.07313468307256699,
0.003420874010771513,
-0.009740488603711128,
-0.037881676107645035,
0.00867371540516615,
0.09571245312690735,
0.059883296489715576,
0.017086364328861237,
0.009713481180369854,
0.00436611520126462,
0.01002856157720089,
0.0034231245517730713,
0.03336252272129059,
-0.017329426482319832,
0.012261131778359413,
0.03921401873230934,
-0.021011367440223694,
-0.024126162752509117,
-0.010532691143453121,
-0.018526732921600342,
-0.014124608598649502,
-0.047712188214063644,
-0.024396231397986412,
0.024468250572681427,
0.013458438217639923,
0.09628859907388687,
0.08001244068145752,
0.045119527727365494,
0.09578447043895721
] |
5,646 | flask.sansio.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: Scaffold, *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.0064726537093520164,
-0.013269389979541302,
0.028159193694591522,
0.03525300696492195,
-0.006387131754308939,
0.038169749081134796,
-0.004282844252884388,
0.03253431245684624,
0.014574723318219185,
0.0050592925399541855,
-0.018256664276123047,
0.01575402542948723,
0.054121825844049454,
0.0032273244578391314,
0.03339853137731552,
0.03046378307044506,
0.008462161757051945,
0.020507238805294037,
0.0377376414835453,
0.0121080931276083,
0.04875645413994789,
-0.005275347735732794,
0.004856740590184927,
-0.006526667159050703,
0.004843237344175577,
-0.0041973222978413105,
-0.012513197027146816,
0.02445024624466896,
0.0621158666908741,
-0.0016946828691288829,
0.0020198910497128963,
0.04641585797071457,
-0.020759303122758865,
0.051421135663986206,
0.056750498712062836,
0.006819242145866156,
-0.03957410901784897,
0.043751176446676254,
-0.003812473965808749,
0.0129633117467165,
-0.005923513323068619,
-0.0172934178262949,
0.06629293411970139,
0.006432143040001392,
0.03997021168470383,
0.005959522444754839,
0.009389398619532585,
0.01980505883693695,
0.011144846677780151,
0.025800591334700584,
0.04285094514489174,
-0.00963246077299118,
0.007967035286128521,
0.004228830337524414,
0.022361712530255318,
0.04782021790742874,
0.016663257032632828,
-0.022865841165184975,
0.058767013251781464,
-0.024324214085936546,
-0.0001350344973616302,
0.03989819064736366,
0.03752158582210541,
0.009123831056058407,
-0.0028222210239619017,
-0.035144977271556854,
0.0018252162262797356,
-0.01971503719687462,
0.03410071134567261,
0.039250027388334274,
0.006027039606124163,
0.032588325440883636,
0.02088533528149128,
-0.0031485543586313725,
0.0447954423725605,
0.0032453290186822414,
-0.027421005070209503,
-0.04133855924010277,
0.006895761471241713,
-0.027421005070209503,
0.012459183111786842,
0.04209475219249725,
-0.034892912954092026,
0.036657363176345825,
-0.015024838037788868,
0.005892005283385515,
0.04353512078523636,
-0.01100081019103527,
-0.00010141653183382004,
0.022127652540802956,
-0.012945307418704033,
0.01491681020706892,
0.000013564988876169082,
-0.018706778064370155,
0.004996276460587978,
-0.03744956851005554,
-0.02102937176823616,
-0.007845504209399223,
-0.05721861869096756,
0.011378906667232513,
-0.02108338661491871,
0.05336563289165497,
0.02601664699614048,
0.030355755239725113,
0.08404546976089478,
-0.011684984900057316,
-0.01658223569393158,
-0.023586025461554527,
-0.0045079016126692295,
-0.014124608598649502,
0.01078475546091795,
-0.052789486944675446,
-0.036747388541698456,
0.03350656107068062,
-0.02841125801205635,
-0.06600486487150192,
-0.010577701963484287,
0.004892749711871147,
0.004928759299218655,
-0.051133062690496445,
0.003587416373193264,
0.031129952520132065,
-0.027060912922024727,
-0.0756913349032402,
0.02436022274196148,
0.021389463916420937,
0.003999271430075169,
0.04616379365324974,
0.06953376531600952,
-0.06784132868051529,
-0.01136990450322628,
0.03154405951499939,
-0.006733720190823078,
-0.0449034720659256,
-0.0044808946549892426,
-0.0022922104690223932,
0.02846527099609375,
0.002540899207815528,
-0.0463438406586647,
0.024324214085936546,
-0.028699330985546112,
0.060963574796915054,
0.010901784524321556,
0.02376607060432434,
-0.009317380376160145,
0.03649532422423363,
-0.01633017137646675,
0.03615323454141617,
-0.01303532999008894,
0.02475632354617119,
0.012315145693719387,
-0.008394644595682621,
0.01572701707482338,
0.022325703874230385,
-0.046631913632154465,
-0.006193582434207201,
0.014646741561591625,
0.04713604226708412,
0.07475509494543076,
0.00825060810893774,
-0.012576213106513023,
0.01672627218067646,
-0.00886276364326477,
-0.026340728625655174,
-0.0008068311144597828,
0.0362972728908062,
-0.019192902371287346,
-0.014493702910840511,
0.005860497243702412,
0.05559820309281349,
-0.018328681588172913,
-0.018256664276123047,
0.04011424630880356,
0.0302297230809927,
0.046631913632154465,
0.03199417144060135,
0.040330301970243454,
-0.01444869115948677,
0.050304852426052094,
0.03681940585374832,
0.004015025682747364,
-0.021065382286906242,
-0.013260387815535069,
-0.02430620975792408,
0.06348421424627304,
0.09038309007883072,
-0.02122742310166359,
0.018391698598861694,
0.009195849299430847,
-0.005869499407708645,
0.05556219443678856,
0.004132055677473545,
0.020561251789331436,
-0.0016294162487611175,
-0.0429229661822319,
-0.04065438732504845,
-0.011090833693742752,
-0.010847771540284157,
0.04371516779065132,
-0.036855414509773254,
0.0329304113984108,
0.04641585797071457,
0.029131442308425903,
0.02581859566271305,
-0.012513197027146816,
0.07576335221529007,
0.04234681650996208,
0.01359347254037857,
-0.079436294734478,
-0.011126842349767685,
0.014727761968970299,
-0.08325326442718506,
-0.03759360313415527,
-0.0034771382343024015,
0.0027434509247541428,
-0.07327871769666672,
0.07597941160202026,
-0.001208558795042336,
-0.026250705122947693,
0.012306143529713154,
0.018706778064370155,
0.054842010140419006,
-0.03842181712388992,
-0.024324214085936546,
0.004960267338901758,
0.0004515215987339616,
-0.01806761510670185,
-0.0898069441318512,
-0.025800591334700584,
-0.0688495859503746,
-0.026628803461790085,
0.0121080931276083,
0.020759303122758865,
-0.018400700762867928,
0.01971503719687462,
-0.019769050180912018,
0.030409768223762512,
-0.006000032648444176,
-0.05667847767472267,
-0.038025714457035065,
0.014880801551043987,
-0.0025003887712955475,
0.08339730650186539,
0.03253431245684624,
-0.024036141112446785,
0.011414916254580021,
-0.022415725514292717,
0.0585869662463665,
-0.009938539005815983,
0.029509538784623146,
-0.03374062106013298,
-0.00920485146343708,
-0.013971569016575813,
0.033434540033340454,
-0.019625013694167137,
-0.0007961408700793982,
0.006558175198733807,
-0.031958162784576416,
-0.0023248440120369196,
0.0363512858748436,
-0.015997085720300674,
-0.04562365636229515,
0.08872666954994202,
0.034262754023075104,
-0.05275347828865051,
-0.019156893715262413,
-0.07212642580270767,
0.00826411135494709,
-0.07007390260696411,
-0.004762216471135616,
0.021731551736593246,
-0.013296396471560001,
0.007381885778158903,
0.025224443525075912,
-0.004717205185443163,
-0.01804060861468315,
-0.06175577640533447,
-0.05206930264830589,
-0.009407402947545052,
-0.01692432351410389,
0.07669959217309952,
-0.07914821803569794,
0.045119527727365494,
0.04573168233036995,
-0.040474340319633484,
0.029221465811133385,
0.020327193662524223,
0.04792824387550354,
0.01886882074177265,
-0.049224574118852615,
-0.03242628276348114,
-0.002194310538470745,
0.02626871131360531,
0.005747968330979347,
0.024198181927204132,
-0.012873288244009018,
-0.06805738806724548,
-0.010541693307459354,
0.014646741561591625,
-0.05772274732589722,
0.03206619247794151,
-0.049224574118852615,
-0.10802759975194931,
0.06985784322023392,
0.049764711409807205,
-0.02268579602241516,
-0.02142547257244587,
-0.0008811000734567642,
-0.03217421844601631,
-0.01792357861995697,
-0.014079596847295761,
0.09391199052333832,
-0.07162229716777802,
-0.00023912359029054642,
0.016537224873900414,
0.022613776847720146,
-0.0550580658018589,
-0.0026129174511879683,
0.02376607060432434,
0.057146597653627396,
0.0032813381403684616,
-0.034838899970054626,
-0.00015402372810058296,
0.05160118266940117,
0.016294162720441818,
-0.009200350381433964,
0.006855251267552376,
-0.02436022274196148,
-0.03174210712313652,
-0.0003901934251189232,
-0.031670089811086655,
-0.005041287746280432,
0.025998640805482864,
-0.011603964492678642,
-0.07669959217309952,
0.036117225885391235,
0.04720805957913399,
0.020129142329096794,
0.0285192858427763,
-0.03554107993841171,
0.0343707799911499,
0.02601664699614048,
-0.0482163168489933,
0.0000560885455342941,
-0.006765228230506182,
0.059055086225271225,
0.00743139861151576,
0.0015225139213725924,
0.09391199052333832,
-0.04069039598107338,
0.03206619247794151,
-0.07720372080802917,
-0.004300848580896854,
-0.00458892248570919,
0.002282083034515381,
-0.012261131778359413,
-0.05282549560070038,
-0.010712736286222935,
0.0035491567105054855,
-0.04897250980138779,
-0.0446874164044857,
-0.04857641085982323,
-0.014934815466403961,
0.01092879194766283,
0.01877879723906517,
0.040762413293123245,
-0.06063948944211006,
-0.002833473728969693,
-0.04231080785393715,
0.008628704585134983,
0.036513328552246094,
-0.016087109223008156,
0.028843367472290993,
-0.03584715723991394,
0.034550826996564865,
0.014385675080120564,
0.006081053521484137,
0.05023283138871193,
-0.023928113281726837,
0.053329624235630035,
0.039790164679288864,
-0.02475632354617119,
-0.061359673738479614,
-0.04069039598107338,
0.02752903290092945,
-0.038997963070869446,
-0.029869630932807922,
0.003400618676096201,
-0.0013717254623770714,
-0.009821509011089802,
0.013134355656802654,
0.012855283915996552,
-0.011216865852475166,
-0.012369159609079361,
0.023351965472102165,
-0.02787112072110176,
-0.05206930264830589,
0.02151549607515335,
0.07878812402486801,
0.01579003408551216,
0.03986218199133873,
-0.07317069172859192,
0.10298630595207214,
0.0024823842104524374,
0.044723425060510635,
0.028303230181336403,
-0.04256287217140198,
0.011748000979423523,
0.010343641974031925,
0.01687031053006649,
0.01095579843968153,
-0.03188614547252655,
-0.029455523937940598,
0.015078851953148842,
-0.05408581718802452,
-0.0011269754031673074,
0.01273825392127037,
-0.005473398137837648,
0.0006037167040631175,
-0.011955054476857185,
0.028393253684043884,
0.04331906512379646,
-0.00143024034332484,
0.0721624344587326,
0.02268579602241516,
0.0360812172293663,
-0.019444966688752174,
0.057938799262046814,
-0.008061559870839119,
0.020273178815841675,
-0.03046378307044506,
0.010496681556105614,
-0.022775817662477493,
0.03217421844601631,
-0.062475960701704025,
-0.029761603102087975,
-0.03213820978999138,
-0.02812318503856659,
-0.03881791606545448,
0.06715715676546097,
0.013854539021849632,
-0.013197371736168861,
-0.0031057933811098337,
-0.013368414714932442,
-0.022217676043510437,
-0.01849072426557541,
0.013539458625018597,
0.03094990737736225,
0.011027817614376545,
0.004179317504167557,
0.008088566362857819,
0.04555163532495499,
-0.06672504544258118,
0.017140379175543785,
0.019426962360739708,
-0.015312911942601204,
0.021551504731178284,
-0.08310922980308533,
-0.022757813334465027,
0.0398261733353138,
0.006049545481801033,
0.03138201683759689,
-0.06582481414079666,
-0.03766562044620514,
0.011549950577318668,
-0.013386419974267483,
-0.00044139401870779693,
-0.0030405267607420683,
-0.05844293162226677,
-0.02646676078438759,
0.04411127045750618,
-0.07432298362255096,
-0.00562643725425005,
-0.013764516450464725,
0.058082837611436844,
0.0054193842224776745,
-0.047028012573719025,
0.022847836837172508,
0.008417150005698204,
0.024918366223573685,
-0.001998510444536805,
0.05307755991816521,
0.0039565106853842735,
0.026664812117815018,
0.010892782360315323,
-0.03314646705985069,
0.04450736939907074,
-0.04587572067975998,
0.00696778018027544,
0.02914944663643837,
-0.022127652540802956,
0.014970824122428894,
0.04872044548392296,
-0.024540269747376442,
-0.01883281022310257,
-0.01809462159872055,
0.04627181962132454,
0.04231080785393715,
-0.02327994629740715,
-0.04724406823515892,
0.006684207357466221,
-0.0055634211748838425,
-0.03365059569478035,
0.06960578262805939,
-0.024468250572681427,
-0.019048865884542465,
-0.07410693168640137,
-0.011063826270401478,
-0.03559509292244911,
-0.017221398651599884,
0.022757813334465027,
0.012720249593257904,
-0.05242939293384552,
-0.004807228222489357,
0.023405978456139565,
-0.03903397172689438,
-0.06182779371738434,
-0.03838580474257469,
0.01085677370429039,
-0.003974515479058027,
-0.04619980230927467,
0.011639973148703575,
0.041986726224422455,
-0.020669279620051384,
-0.028033161535859108,
0.010667725466191769,
0.09938538819551468,
0.014322659000754356,
0.026232700794935226,
-0.026538779959082603,
-0.03986218199133873,
-0.03672938421368599,
-0.021785564720630646,
0.03903397172689438,
0.021875588223338127,
0.03554107993841171,
-0.09657666832208633,
-0.02920345962047577,
0.008939283899962902,
-0.03314646705985069,
-0.0029730095993727446,
0.01872478425502777,
-0.02812318503856659,
0.04627181962132454,
-0.0006369127077050507,
-0.08260510116815567,
0.010505683720111847,
-0.04875645413994789,
-0.012234125286340714,
-0.05368971452116966,
-0.117173932492733,
-0.03444279730319977,
0.03791768476366997,
0.02772708237171173,
0.01769852079451084,
-0.027114925906062126,
0.0038754900451749563,
0.05711058899760246,
0.029563551768660545,
0.009830511175096035,
-0.053581688553094864,
0.059163112193346024,
0.025998640805482864,
-0.02787112072110176,
-0.01584404706954956,
0.012162107042968273,
0.05124108865857124,
0.02455827407538891,
-0.08764638751745224,
-0.09420006722211838,
0.019084874540567398,
0.04036631062626839,
-0.038313787430524826,
0.0015799036482349038,
-0.029599562287330627,
-0.006787734106183052,
0.037341538816690445,
-0.024828342720866203,
-0.016591237857937813,
-0.07028995454311371,
-0.08361335843801498,
-0.03060781955718994,
-0.011982060968875885,
0.021335450932383537,
-0.07191037386655807,
-0.03428075835108757,
-0.01051468588411808,
0.04699200391769409,
-0.08066060394048691,
-0.03896195441484451,
-0.05260943993926048,
-0.03698144853115082,
-0.02034519799053669,
-0.06910165399312973,
0.038457825779914856,
-0.04652388393878937,
0.0001659799017943442,
-0.03473087400197983,
0.06442045420408249,
-0.01758149079978466,
-0.03026573173701763,
0.045695673674345016,
-0.05570622906088829,
-0.013431430794298649,
0.035685114562511444,
-0.031021924689412117,
-0.019102880731225014,
-0.01587105356156826,
-0.043895214796066284,
0.019841069355607033,
-0.020381206646561623,
0.01181101705878973,
0.050989024341106415,
-0.030499791726469994,
-0.0010752121452242136,
-0.010667725466191769,
-0.054409898817539215,
-0.03094990737736225,
0.03257032111287117,
-0.03744956851005554,
0.0028469772078096867,
-0.008934782817959785,
-0.00785000529140234,
0.013710502535104752,
0.024126162752509117,
0.04522755369544029,
0.03031974472105503,
-0.03627926856279373,
-0.025998640805482864,
-0.017617501318454742,
0.014520709402859211,
-0.010325637646019459,
0.057938799262046814,
-0.03892594575881958,
0.08433354645967484,
-0.043211039155721664,
-0.044579386711120605,
0.06715715676546097,
-0.008088566362857819,
-0.03798970580101013,
0.026034651324152946,
0.00733687449246645,
-0.006787734106183052,
-0.0040802923031151295,
0.0027569544035941362,
-0.0412665419280529,
-0.0019928840920329094,
-0.05819086730480194,
0.025746576488018036,
-0.04522755369544029,
-0.03590117022395134,
0.0146737489849329,
-0.08231703191995621,
0.05966724082827568,
0.044867463409900665,
-0.03390266001224518,
0.010118585079908371,
-0.00995654333382845,
0.024378227069973946,
-0.016348175704479218,
-0.026178687810897827,
-0.0015483956085518003,
0.004663191270083189,
0.05206930264830589,
0.03824177011847496,
0.01136990450322628,
0.008435155265033245,
-0.011865030974149704,
-0.02832123450934887,
-0.049080539494752884,
0.054697971791028976,
0.020021114498376846,
-0.04954865947365761,
-0.035523075610399246,
0.013161362148821354,
-0.002790712984278798,
-0.017275413498282433,
0.02239772118628025,
0.02743900939822197,
0.017653509974479675,
-0.025080407038331032,
0.04083443060517311,
-0.03339853137731552,
0.05833490192890167,
0.03485690429806709,
-0.010937794111669064,
0.013431430794298649,
-0.0346408486366272,
-0.028159193694591522,
-0.007638451177626848,
-0.02165953256189823,
-0.01633017137646675,
-0.0029640072025358677,
0.025062402710318565,
0.008772741071879864,
0.01912088505923748,
-0.03476688265800476,
-0.0550580658018589,
0.024954374879598618,
-0.011081830598413944,
0.018742788583040237,
0.0033443544525653124,
-0.0040037729777395725,
0.009623458608984947,
0.006243094801902771,
-0.018544737249612808,
0.00956044252961874,
-0.010289628989994526,
-0.02923947013914585,
0.0006999287870712578,
0.024036141112446785,
0.01975104585289955,
0.0010414535645395517,
-0.010748745873570442,
-0.0012063081376254559,
-0.056174349039793015,
0.019246917217969894,
-0.03471286594867706,
0.006927269510924816,
0.01886882074177265,
-0.006936272140592337,
0.02968958392739296,
-0.0020390208810567856,
-0.04728007689118385,
0.020381206646561623,
0.010694731958210468,
0.0028784852474927902,
0.03581114858388901,
0.0034928922541439533,
-0.020921343937516212,
0.036369290202856064,
-0.03741355612874031,
-0.06953376531600952,
0.06301610171794891,
0.038025714457035065,
-0.01831967942416668,
-0.015078851953148842,
0.07554730027914047,
-0.07612344622612,
-0.07313468307256699,
0.003420874010771513,
-0.009740488603711128,
-0.037881676107645035,
0.00867371540516615,
0.09571245312690735,
0.059883296489715576,
0.017086364328861237,
0.009713481180369854,
0.00436611520126462,
0.01002856157720089,
0.0034231245517730713,
0.03336252272129059,
-0.017329426482319832,
0.012261131778359413,
0.03921401873230934,
-0.021011367440223694,
-0.024126162752509117,
-0.010532691143453121,
-0.018526732921600342,
-0.014124608598649502,
-0.047712188214063644,
-0.024396231397986412,
0.024468250572681427,
0.013458438217639923,
0.09628859907388687,
0.08001244068145752,
0.045119527727365494,
0.09578447043895721
] |
5,647 | flask_bower | Bower | null | class Bower(object):
def __init__(self, app=None):
if app is not None:
self.init_app(app)
def init_app(self, app):
app.config.setdefault('BOWER_COMPONENTS_ROOT', 'bower_components')
app.config.setdefault('BOWER_KEEP_DEPRECATED', True)
app.config.setdefault('BOWER_QUERYSTRING_REVVING', True)
app.config.setdefault('BOWER_REPLACE_URL_FOR', False)
app.config.setdefault('BOWER_SUBDOMAIN', None)
app.config.setdefault('BOWER_TRY_MINIFIED', True)
app.config.setdefault('BOWER_URL_PREFIX', '/bower')
blueprint = Blueprint(
'bower',
__name__,
url_prefix=app.config['BOWER_URL_PREFIX'],
subdomain=app.config['BOWER_SUBDOMAIN'])
blueprint.add_url_rule('/<component>/<path:filename>', 'serve', serve)
app.register_blueprint(blueprint)
if app.config['BOWER_KEEP_DEPRECATED'] is True:
app.jinja_env.globals['bower_url_for'] = bower_url_for
if app.config['BOWER_REPLACE_URL_FOR'] is True:
app.jinja_env.globals['url_for'] = replaced_url_for
app.url_build_error_handlers.append(handle_url_error)
| (app=None) | [
0.07003060728311539,
-0.053931619971990585,
-0.018513839691877365,
-0.03702767938375473,
0.02043474093079567,
-0.04957757145166397,
0.0033272772561758757,
0.02592303417623043,
0.021532399579882622,
0.0025977916084229946,
0.0026915499474853277,
-0.03142961859703064,
0.00781624298542738,
0.015550161711871624,
-0.017343003302812576,
-0.014644593000411987,
0.09293507784605026,
0.031722329556941986,
0.027770759537816048,
-0.02592303417623043,
0.008895606733858585,
-0.0018408646574243903,
0.020837215706706047,
-0.00045735767344012856,
-0.03479577228426933,
0.026581628248095512,
0.005081243813037872,
0.04679683968424797,
0.026856042444705963,
-0.0693720132112503,
0.01579713448882103,
-0.06724987179040909,
0.056822117418050766,
-0.014397620223462582,
0.08166579157114029,
0.0077888015657663345,
0.05846860632300377,
0.03882052004337311,
-0.06648151576519012,
-0.01241268776357174,
0.06505455821752548,
-0.01190959382802248,
0.02709386870265007,
-0.04558941349387169,
0.05568787083029747,
0.014214676804840565,
-0.038783930242061615,
0.0627494752407074,
-0.06849388778209686,
0.07120144367218018,
-0.0004925170796923339,
0.038235101848840714,
0.039003461599349976,
0.00852514710277319,
0.038235101848840714,
0.03126497194170952,
0.03936934843659401,
0.06465208530426025,
0.0027715875767171383,
0.05704164877533913,
-0.040284063667058945,
0.0027738744392991066,
-0.005195583216845989,
-0.050711821764707565,
0.03640567138791084,
0.0013068995904177427,
-0.058322250843048096,
-0.017123471945524216,
-0.008108952082693577,
0.04236961528658867,
0.023252064362168312,
0.020123738795518875,
-0.025794973596930504,
0.03410058841109276,
0.016080696135759354,
-0.03680814802646637,
0.056712351739406586,
-0.08634912967681885,
0.026837749406695366,
-0.018029039725661278,
0.022392231971025467,
-0.046284597367048264,
-0.009439862333238125,
-0.047382257878780365,
0.06585950404405594,
-0.01986761763691902,
-0.047162722796201706,
-0.028740357607603073,
0.055321983993053436,
0.04701637104153633,
-0.06666445732116699,
0.03527142480015755,
0.028392765671014786,
0.05513904243707657,
0.005922782234847546,
-0.0158245749771595,
-0.03281998634338379,
0.046321187168359756,
0.016519758850336075,
0.04493081942200661,
0.007496092468500137,
0.030734436586499214,
-0.0644325539469719,
0.019446847960352898,
0.03646055608987808,
0.04880921170115471,
0.02292276732623577,
0.022739823907613754,
-0.022172700613737106,
-0.056492820382118225,
-0.02625233121216297,
0.013684142380952835,
-0.013135313056409359,
-0.0654936209321022,
-0.0360763743519783,
0.026398684829473495,
0.023636244237422943,
0.007079896982759237,
0.10896089673042297,
-0.01931878924369812,
-0.06209087744355202,
0.03671667352318764,
0.002228475408628583,
0.011918741278350353,
0.0782996341586113,
0.025136377662420273,
0.0004030464624520391,
-0.0028493383433669806,
0.020251797512173653,
-0.010317989625036716,
0.024898553267121315,
0.04357704147696495,
-0.08854445070028305,
-0.04043041914701462,
0.03399082273244858,
-0.01685820333659649,
-0.040942661464214325,
-0.010327136144042015,
0.006092004477977753,
0.07376264780759811,
-0.014141499996185303,
-0.010747905820608139,
-0.01169006247073412,
0.015476983971893787,
0.01480009499937296,
0.004450090229511261,
-0.00976916030049324,
-0.015284894034266472,
-0.003158054780215025,
0.036387376487255096,
0.030185606330633163,
0.038344867527484894,
0.029234303161501884,
0.010500932112336159,
-0.01953832060098648,
0.03541778028011322,
-0.028465941548347473,
-0.003914981614798307,
0.008726384490728378,
-0.019355377182364464,
0.0003830370551440865,
0.004875432699918747,
0.01855042763054371,
0.0075509753078222275,
-0.03629590570926666,
0.031832095235586166,
-0.012659660540521145,
0.023508185520768166,
0.01898949034512043,
0.03510677441954613,
0.03254557400941849,
-0.01824857108294964,
0.0010267680045217276,
0.011580296792089939,
0.040284063667058945,
0.042552560567855835,
-0.005195583216845989,
-0.011918741278350353,
-0.004866285715252161,
-0.02166046015918255,
0.022008052095770836,
-0.014754358679056168,
-0.02848423644900322,
0.04613824188709259,
0.014507385902106762,
-0.01274198479950428,
-0.011644327081739902,
0.009311802685260773,
0.023691128939390182,
0.08195849508047104,
-0.036277610808610916,
0.04324774444103241,
0.05202900990843773,
0.03227115795016289,
0.017718037590384483,
-0.03764968365430832,
0.037722863256931305,
-0.026563335210084915,
0.004454663954675198,
0.006860365159809589,
-0.06574974209070206,
-0.01196447666734457,
-0.008291894569993019,
0.03152109310030937,
0.05206559970974922,
0.0012520166346803308,
0.016547201201319695,
-0.015568455681204796,
0.04419904574751854,
0.004692489746958017,
-0.015842869877815247,
0.03677155822515488,
-0.02147751674056053,
-0.023691128939390182,
-0.0167850274592638,
-0.0594199113547802,
0.028246410191059113,
-0.002917942125350237,
0.04258914664387703,
0.01357437577098608,
-0.025301026180386543,
-0.03715573996305466,
0.05298031494021416,
0.007061602547764778,
-0.0416378453373909,
0.01576969213783741,
0.05382185056805611,
0.00011433941836003214,
-0.0005368235870264471,
0.05707823857665062,
-0.04313797503709793,
0.006617965642362833,
0.09622805565595627,
-0.007628726307302713,
-0.0101350462064147,
-0.05451703444123268,
0.03399082273244858,
-0.000552831101231277,
-0.0037869217339903116,
-0.0026595350354909897,
-0.007468651048839092,
0.007697329856455326,
0.00043591903522610664,
-0.011058908887207508,
0.0025909312535077333,
-0.030606376007199287,
-0.005918208509683609,
-0.012366951443254948,
0.013208489865064621,
-0.029691660776734352,
-0.021020159125328064,
0.0372106209397316,
0.025886444374918938,
0.012010212987661362,
-0.03457624092698097,
-0.009979545138776302,
0.011232704855501652,
-0.04097924754023552,
-0.05151677131652832,
0.0660790354013443,
-0.03402741253376007,
-0.029966074973344803,
-0.014928154647350311,
0.01287919282913208,
-0.005236745346337557,
-0.01852298714220524,
0.03377129137516022,
-0.0168033204972744,
-0.041491489857435226,
0.056383054703474045,
0.12154737859964371,
0.023105710744857788,
-0.023306947201490402,
-0.023581361398100853,
-0.009069402702152729,
-0.04430881142616272,
0.0134646100923419,
0.01629108004271984,
0.019885912537574768,
-0.025136377662420273,
-0.01210168469697237,
-0.047821320593357086,
0.015888605266809464,
0.08290980011224747,
-0.02725851722061634,
-0.022410526871681213,
-0.024057013913989067,
0.07083556056022644,
-0.030441727489233017,
-0.009915514849126339,
0.03929617255926132,
0.015275746583938599,
0.029453834518790245,
0.03221627697348595,
-0.024715609848499298,
-0.013894526287913322,
0.0004336322599556297,
0.034722596406936646,
0.024349723011255264,
-0.04379657283425331,
-0.027331694960594177,
0.007711050566285849,
-0.05429750308394432,
0.029581895098090172,
-0.04873603582382202,
-0.018733371049165726,
0.05180947855114937,
-0.0427355021238327,
-0.02016032673418522,
0.041674431413412094,
0.017580829560756683,
-0.03874734416604042,
0.010693022981286049,
0.06037121266126633,
-0.0024537239223718643,
-0.020142031833529472,
-0.007825390435755253,
-0.0051269796676933765,
-0.021111629903316498,
0.02938065677881241,
-0.009613658301532269,
0.042223259806632996,
0.013647553510963917,
-0.019629791378974915,
-0.03249068930745125,
0.05751730129122734,
0.04430881142616272,
0.039662059396505356,
-0.0001783694897312671,
0.031155206263065338,
-0.04152807593345642,
0.039662059396505356,
-0.007770507130771875,
-0.01825771853327751,
0.0036588613875210285,
-0.01882484182715416,
0.03285657614469528,
-0.0871540829539299,
-0.04591871052980423,
-0.060151681303977966,
0.03410058841109276,
0.01382134947925806,
-0.05268760398030281,
0.022245878353714943,
-0.11737627536058426,
0.0027235650923103094,
-0.021111629903316498,
-0.016199609264731407,
-0.03453965112566948,
-0.03587513789534569,
0.029581895098090172,
0.021184807643294334,
-0.03280169144272804,
0.048443324863910675,
0.00476109329611063,
-0.03453965112566948,
-0.026160860434174538,
0.013382285833358765,
0.01812051236629486,
-0.0008140966529026628,
-0.06285923719406128,
-0.008406233973801136,
-0.01571480929851532,
0.0010524943936616182,
0.015312335453927517,
-0.03232604265213013,
0.013162754476070404,
0.007884846068918705,
-0.004733651876449585,
-0.04595530033111572,
0.03640567138791084,
0.054553624242544174,
0.04171102121472359,
-0.06970131397247314,
-0.011113791726529598,
-0.03571048751473427,
0.03554584085941315,
-0.05974920839071274,
-0.005209303926676512,
0.026508450508117676,
-0.032179687172174454,
0.04763837531208992,
0.046284597367048264,
0.02286788448691368,
-0.012568188831210136,
-0.025996210053563118,
0.024715609848499298,
-0.01673014461994171,
-0.027075575664639473,
-0.027880525216460228,
0.009942956268787384,
-0.05312667042016983,
-0.03710085526108742,
0.08649548888206482,
-0.03893028572201729,
-0.09534993022680283,
0.004550708923488855,
-0.018056482076644897,
0.034612830728292465,
0.006704863626509905,
0.04357704147696495,
-0.013601817190647125,
0.02482537552714348,
0.03587513789534569,
0.055102452635765076,
-0.05729776993393898,
0.01948343776166439,
0.04101583734154701,
0.02976483851671219,
0.05590740218758583,
-0.08415381610393524,
0.011507119052112103,
-0.04134513437747955,
-0.06505455821752548,
0.023197181522846222,
-0.003235805546864867,
0.0064990525133907795,
-0.013235931284725666,
0.007843684405088425,
-0.045516237616539,
0.019849322736263275,
-0.01554101426154375,
0.0538584403693676,
-0.0011948469327762723,
0.031905271112918854,
0.024660727009177208,
0.05707823857665062,
0.004774814005941153,
-0.033624935895204544,
0.012943222187459469,
0.046211421489715576,
-0.006979278288781643,
-0.06926225125789642,
-0.07025013864040375,
0.061542049050331116,
-0.04182078689336777,
0.03499700874090195,
-0.021550694480538368,
0.008419955149292946,
-0.023563068360090256,
-0.020178621634840965,
0.03543607518076897,
0.03549095615744591,
-0.005703250411897898,
-0.021934874355793,
0.029289186000823975,
-0.016583789139986038,
0.010217370465397835,
0.018806548789143562,
-0.0777142196893692,
-0.028063466772437096,
-0.04807743802666664,
0.004902874585241079,
-0.05034593492746353,
-0.012723690830171108,
-0.039003461599349976,
0.052541252225637436,
-0.041674431413412094,
-0.028941594064235687,
0.02603279985487461,
0.004783961456269026,
-0.004756520036607981,
0.07035990804433823,
0.017589977011084557,
-0.006869512610137463,
-0.01904437318444252,
0.054443858563899994,
0.02725851722061634,
0.00685579190030694,
0.04141831025481224,
-0.005255039781332016,
-0.027953701093792915,
0.04536988213658333,
-0.0010101888328790665,
0.0011588300112634897,
0.032106511294841766,
-0.008822429925203323,
0.005282481200993061,
-0.0011571149807423353,
-0.053492553532123566,
-0.06933542340993881,
0.058212485164403915,
-0.029014771804213524,
0.04734566807746887,
-0.0017482497496530414,
-0.03014901839196682,
0.0021084188483655453,
-0.020727450028061867,
0.028063466772437096,
-0.0036588613875210285,
-0.05400479584932327,
-0.004315169528126717,
-0.04445516690611839,
0.034722596406936646,
-0.02147751674056053,
0.073872409760952,
0.028795240446925163,
0.018367484211921692,
0.057883188128471375,
-0.04119877889752388,
-0.00888188648968935,
-0.017178354784846306,
0.015440395101904869,
0.008721810765564442,
-0.037832628935575485,
-0.08239755779504776,
-0.06959154456853867,
0.000826673989649862,
-0.00006374422810040414,
-0.017361298203468323,
-0.0004176247457507998,
0.01640084572136402,
-0.018404074013233185,
0.05396820604801178,
0.026453567668795586,
-0.032015036791563034,
-0.021587282419204712,
0.045882124453783035,
0.036442261189222336,
0.05857837200164795,
0.009458157233893871,
-0.029234303161501884,
0.04204031825065613,
-0.0244229007512331,
0.006242932286113501,
-0.038893695920705795,
0.053273022174835205,
-0.025172967463731766,
0.004310596268624067,
0.057261183857917786,
-0.02464243210852146,
0.014150646515190601,
0.022831294685602188,
0.006375566124916077,
-0.005831310525536537,
0.0019174721091985703,
-0.0017756911693140864,
-0.025081494823098183,
-0.07529936730861664,
-0.026325508952140808,
0.019574908539652824,
-0.012979811057448387,
0.0782996341586113,
-0.03838145732879639,
-0.06168840453028679,
0.0005236745346337557,
-0.05140700191259384,
-0.03732038661837578,
0.010930848307907581,
-0.047711554914712906,
-0.004390633665025234,
0.002419422147795558,
0.014873271808028221,
0.020965276286005974,
-0.0177637729793787,
-0.03468600660562515,
-0.060590747743844986,
0.04580894485116005,
-0.010564962401986122,
0.029014771804213524,
-0.02520955540239811,
0.04247938096523285,
-0.0009387266472913325,
0.023855777457356453,
0.032399218529462814,
0.0410890132188797,
-0.0008781267679296434,
-0.016355110332369804,
0.011333323083817959,
-0.037722863256931305,
0.010473490692675114,
0.0084016602486372,
-0.011772386729717255,
0.004751946311444044,
-0.045662589371204376,
0.03265533968806267,
0.04401610419154167,
-0.009586216881871223,
0.033441994339227676,
-0.031191794201731682,
-0.009234051220119,
0.01107720285654068,
-0.0599687397480011,
0.011004026047885418,
-0.04613824188709259,
-0.05301690101623535,
0.027404872700572014,
0.03177721053361893,
-0.032179687172174454,
-0.04240620508790016,
-0.027404872700572014,
-0.041564665734767914,
0.009449009783565998,
-0.058541782200336456,
0.02054450660943985,
-0.030825907364487648,
-0.07690926641225815,
-0.05524880811572075,
-0.00814554002135992,
0.014745212160050869,
0.013601817190647125,
0.01948343776166439,
0.03569219261407852,
-0.01252245344221592,
0.03517995402216911,
0.016464876011013985,
-0.019135845825076103,
-0.059602852910757065,
-0.04343068599700928,
0.023105710744857788,
-0.04412586987018585,
-0.0036314199678599834,
-0.020727450028061867,
0.03958887979388237,
-0.09264237433671951,
-0.046321187168359756,
-0.03596660867333412,
-0.03517995402216911,
-0.011315029114484787,
-0.05235830694437027,
-0.00443408265709877,
0.008602897636592388,
0.0042008301243186,
0.04215008392930031,
-0.02081892266869545,
-0.028740357607603073,
0.021221397444605827,
0.022794706746935844,
-0.02870376780629158,
0.05151677131652832,
0.011882152408361435,
-0.05126065015792847,
0.03009413555264473,
-0.030075840651988983,
-0.0025703501887619495,
-0.012238891795277596,
-0.0060828570276498795,
0.01975785195827484,
0.012376098893582821,
0.030880790203809738,
0.0388571098446846,
-0.06688398867845535,
-0.002380546648055315,
-0.010693022981286049,
0.004491252359002829,
0.037722863256931305,
-0.04160125553607941,
-0.005076670087873936,
-0.010290548205375671,
-0.06633515655994415,
0.013190195895731449,
0.02281300164759159,
-0.016272787004709244,
0.0810803696513176,
-0.07515301555395126,
0.03216139227151871,
0.04321115463972092,
-0.027221929281949997,
-0.0001390653196722269,
0.02070915512740612,
-0.001839721342548728,
-0.055102452635765076,
0.07690926641225815,
-0.06754258275032043,
-0.008538868278265,
-0.0261059757322073,
0.05740753561258316,
-0.042003728449344635,
-0.04225984960794449,
-0.02209952287375927,
0.03397252783179283,
-0.0005336792673915625,
-0.029161125421524048,
-0.08430016785860062,
-0.039771825075149536,
-0.023288654163479805,
-0.04826038330793381,
0.037832628935575485,
0.018568722531199455,
0.015230011194944382,
-0.000799232569988817,
-0.029069654643535614,
-0.022081229835748672,
0.03313099220395088,
0.020087148994207382,
-0.012613925151526928,
-0.01357437577098608,
0.011196115985512733,
0.017617417499423027,
0.007011293433606625,
0.013007252477109432,
0.0025863577611744404,
0.03746674209833145,
0.05612693354487419,
-0.030789319425821304,
0.004456950817257166,
0.05001663789153099,
-0.09366685152053833,
-0.012147420085966587,
-0.014608004130423069,
0.0688231810927391,
-0.010427755303680897,
0.041564665734767914,
0.020837215706706047,
0.008968784473836422,
0.033515170216560364,
-0.052724193781614304,
-0.060590747743844986,
-0.03014901839196682,
-0.00662253936752677,
-0.010766199789941311,
0.008653207682073116,
0.014004291966557503,
-0.02815493941307068,
0.020910393446683884,
-0.057663656771183014,
-0.041893962770700455,
-0.02076403796672821,
-0.01043690275400877,
-0.01002528052777052,
-0.01574225164949894,
-0.022941062226891518,
0.025246143341064453,
0.009449009783565998,
0.08166579157114029,
0.0018728796858340502,
-0.03596660867333412,
-0.0019140419317409396,
0.007775080855935812,
0.0014406767440959811,
0.0020866943523287773,
-0.010592403821647167,
-0.020617684349417686,
0.025301026180386543,
0.03812533617019653,
-0.02048962377011776,
-0.04182078689336777,
-0.017608270049095154,
-0.03582025319337845,
-0.034667711704969406,
0.04712613672018051,
-0.05345596745610237,
-0.057883188128471375,
-0.008072363212704659,
-0.009613658301532269,
0.042003728449344635,
0.006325256545096636,
0.007651594001799822,
0.03309440240263939,
-0.00535565847530961,
-0.009449009783565998,
-0.02725851722061634,
-0.03893028572201729,
0.0016236198134720325,
0.016272787004709244,
-0.03148450329899788,
-0.027496343478560448,
0.03753991797566414,
-0.06135910749435425,
-0.023014238104224205,
0.024349723011255264,
-0.015467836521565914,
0.028173232451081276,
-0.02771587483584881,
0.12315727770328522,
0.05034593492746353,
-0.02242882177233696,
-0.028905006125569344
] |
5,648 | flask_bower | __init__ | null | def __init__(self, app=None):
if app is not None:
self.init_app(app)
| (self, app=None) | [
0.001267211977392435,
-0.03307455778121948,
-0.004474539775401354,
-0.015271143056452274,
0.01734691672027111,
-0.005486586596816778,
0.04651109501719475,
0.04334145039319992,
0.033264048397541046,
0.0336085744202137,
0.013781065121293068,
0.013669094070792198,
0.016408080235123634,
0.03309178352355957,
-0.009870688430964947,
0.005409067962318659,
0.037829022854566574,
0.02964651770889759,
0.050128623843193054,
-0.05943084508180618,
0.009009371511638165,
0.007786301895976067,
-0.016201365739107132,
0.04757912829518318,
0.0010534978937357664,
0.036071937531232834,
-0.004496072418987751,
0.027148699387907982,
0.035899676382541656,
-0.02833731658756733,
0.018070422112941742,
-0.023100510239601135,
0.0758647620677948,
0.04165327176451683,
0.04275575652718544,
-0.04361707344651222,
0.03917267918586731,
0.010516675189137459,
-0.08992145210504532,
0.0029435495380312204,
0.0709724873304367,
-0.04906059429049492,
0.035038359463214874,
-0.0167353805154562,
0.0023363211657851934,
0.012032592669129372,
0.03167922422289848,
0.021687950938940048,
-0.03450434282422066,
0.028130600228905678,
-0.04041297361254692,
0.003983589354902506,
0.007295351475477219,
0.02613234519958496,
-0.03498667851090431,
0.13898204267024994,
0.0029909219592809677,
0.05805273726582527,
-0.00973287783563137,
0.0038371654227375984,
-0.05174789950251579,
0.027148699387907982,
0.05757040157914162,
-0.0166664756834507,
0.003744573798030615,
0.033798061311244965,
-0.05784602090716362,
0.017880931496620178,
0.028440672904253006,
0.04744131863117218,
0.004819066263735294,
0.03359134867787361,
-0.030576739460229874,
0.05023198202252388,
0.0760025754570961,
-0.028388995677232742,
-0.023014379665255547,
-0.029026368632912636,
-0.04051633179187775,
0.012773324735462666,
0.03304010257124901,
0.017631150782108307,
-0.06005099415779114,
0.052161332219839096,
0.04692452773451805,
-0.018035968765616417,
-0.018793927505612373,
-0.0024547523353248835,
0.017217718064785004,
0.0167353805154562,
-0.04606321081519127,
0.036864351481199265,
0.019724149256944656,
0.02613234519958496,
0.003632602747529745,
-0.03441821038722992,
-0.020912766456604004,
-0.011998140253126621,
-0.030783455818891525,
-0.005546879023313522,
-0.005861259531229734,
-0.0032579300459474325,
-0.05198907107114792,
-0.02049933560192585,
0.034969452768564224,
-0.025374386459589005,
-0.02957761101424694,
-0.01196368783712387,
0.003443113062530756,
0.011369379237294197,
-0.01094733364880085,
0.013996394351124763,
-0.02502986043691635,
0.04041297361254692,
-0.05302264913916588,
0.007635571528226137,
0.016054941341280937,
0.020998898893594742,
0.062049247324466705,
-0.0021479083225131035,
-0.05953420326113701,
0.04017180576920509,
-0.0034151202999055386,
-0.002286795526742935,
0.08220405876636505,
-0.00011533567158039659,
0.004237677436321974,
-0.051300015300512314,
0.0008839261718094349,
-0.0553654320538044,
0.09488263726234436,
0.01226514857262373,
-0.06676926463842392,
-0.0871652364730835,
0.00010174301860388368,
-0.014668221585452557,
0.028233958408236504,
0.016201365739107132,
-0.057363685220479965,
0.04361707344651222,
-0.06452983617782593,
0.04516744241118431,
-0.01999977044761181,
0.0411364808678627,
-0.015107492916285992,
0.030852360650897026,
-0.057156968861818314,
0.028940238058567047,
0.0697321891784668,
0.06477100402116776,
0.03558960184454918,
0.004896584898233414,
0.04361707344651222,
0.05336717516183853,
-0.03658872842788696,
0.010482222773134708,
0.007708783261477947,
-0.027424320578575134,
0.0556410513818264,
-0.032764483243227005,
0.005710529163479805,
0.0032794629223644733,
0.001405022689141333,
-0.04540861025452614,
-0.04079195484519005,
0.0051980456337332726,
-0.01280777808278799,
0.014943842776119709,
0.010413317941129208,
0.03000826947391033,
-0.013247049413621426,
-0.09143736958503723,
-0.04471955820918083,
-0.059189677238464355,
0.02863016352057457,
0.03169644996523857,
-0.03197207301855087,
-0.020688824355602264,
-0.02993936464190483,
0.06862970441579819,
0.016881804913282394,
0.01695932447910309,
-0.04943957179784775,
0.015960196033120155,
0.019724149256944656,
0.027028115466237068,
0.0042742835357785225,
0.05653681978583336,
0.044616200029850006,
0.035624053329229355,
-0.004595124162733555,
-0.007786301895976067,
-0.0036132230889052153,
-0.0037704133428633213,
0.020258165895938873,
0.004371181596070528,
-0.017045455053448677,
-0.009827622212469578,
-0.012118724174797535,
0.0006099198362790048,
-0.021946346387267113,
0.03831136226654053,
-0.007553746458142996,
-0.023686205968260765,
-0.004586510825902224,
0.018983418121933937,
0.0060593620873987675,
0.027148699387907982,
-0.04006844758987427,
-0.010008499026298523,
0.01822545938193798,
-0.07703615725040436,
0.015081653371453285,
-0.011300473473966122,
0.029629290103912354,
-0.01072339154779911,
0.02497818134725094,
-0.028647389262914658,
-0.00008741017518332228,
0.03331572562456131,
0.025391612201929092,
0.013772452250123024,
-0.01303172018378973,
0.04006844758987427,
-0.027941109612584114,
0.031524188816547394,
-0.0009334518690593541,
-0.04595985263586044,
-0.012626901268959045,
0.022290874272584915,
-0.03238550201058388,
0.024909276515245438,
0.02072327770292759,
-0.030404476448893547,
-0.014633769169449806,
-0.024202996864914894,
0.05615784227848053,
0.0024353726767003536,
-0.09812118858098984,
-0.07166153937578201,
0.039792828261852264,
0.020085902884602547,
-0.008466742001473904,
-0.028371768072247505,
0.016614796593785286,
0.04806146398186684,
-0.01808764785528183,
-0.019948091357946396,
-0.010843975469470024,
0.0292158592492342,
-0.000573313853237778,
-0.027510451152920723,
0.003389280755072832,
-0.02248036302626133,
-0.028302863240242004,
-0.004547751508653164,
-0.020774956792593002,
0.04217005893588066,
-0.01757085882127285,
0.034090910106897354,
0.03469383344054222,
0.0008139441488310695,
0.042652398347854614,
0.061911437660455704,
-0.03522785007953644,
0.01752779260277748,
0.019827507436275482,
-0.031162433326244354,
-0.02049933560192585,
0.013298728503286839,
0.09191970527172089,
0.011274633929133415,
0.03831136226654053,
0.02079218253493309,
-0.011670839972794056,
-0.07924112677574158,
-0.038759246468544006,
-0.0027196072041988373,
-0.05936193838715553,
0.02826840989291668,
0.10094630718231201,
-0.028544031083583832,
0.0352795273065567,
0.05353944003582001,
-0.03596857935190201,
-0.05698470398783684,
0.018466627225279808,
0.039207130670547485,
-0.019345169886946678,
-0.038690339773893356,
0.04427167400717735,
0.03223046660423279,
-0.00047184000140987337,
0.03727778047323227,
-0.019017869606614113,
-0.007213526405394077,
-0.0009404500597156584,
0.059189677238464355,
-0.026993662118911743,
-0.0382080040872097,
0.07011117041110992,
-0.03111075609922409,
0.000005555660209211055,
0.038759246468544006,
0.019086776301264763,
0.0029823086224496365,
-0.024943727999925613,
0.02797556295990944,
0.03367747738957405,
0.01606355421245098,
0.013548510149121284,
0.010637260042130947,
0.00014171349175740033,
0.02856125868856907,
-0.051506731659173965,
0.02995659038424492,
0.027286509051918983,
-0.059189677238464355,
0.0005835419869981706,
0.02966374345123768,
-0.018070422112941742,
0.02502986043691635,
-0.004844905808568001,
0.013410699553787708,
0.0034904854837805033,
0.022015251219272614,
0.04165327176451683,
-0.020929992198944092,
-0.017984289675951004,
0.008544260635972023,
-0.046235475689172745,
0.05822500213980675,
0.021274520084261894,
-0.03154141455888748,
-0.028612937778234482,
-0.029629290103912354,
-0.017381368204951286,
-0.04847489669919014,
-0.03982727974653244,
-0.07779411226511002,
0.05226469039916992,
-0.043892692774534225,
-0.0442027673125267,
0.037002161145210266,
-0.0007837981102056801,
-0.0010540361981838942,
-0.040826406329870224,
-0.06173917278647423,
-0.006675203796476126,
-0.07758739590644836,
0.013927489519119263,
-0.015934357419610023,
-0.005981843918561935,
0.005994763690978289,
0.0004947187262587249,
0.0019831813406199217,
-0.036071937531232834,
0.028905784711241722,
0.019052322953939438,
-0.046683359891176224,
0.01738998107612133,
0.020223714411258698,
-0.07868988066911697,
0.00006766045407857746,
-0.033436309546232224,
-0.005594251211732626,
0.0030705935787409544,
0.011438284069299698,
-0.00499563617631793,
-0.04041297361254692,
0.012928362004458904,
-0.08220405876636505,
0.012747485190629959,
0.009328058920800686,
0.025098765268921852,
0.005542572122067213,
-0.0025473437272012234,
-0.0203615240752697,
-0.036140844225883484,
0.03140360116958618,
-0.04737241193652153,
0.06001653894782066,
0.053126007318496704,
-0.012351280078291893,
-0.031248565763235092,
-0.06308282911777496,
-0.021102257072925568,
0.02590840309858322,
0.021326199173927307,
0.012730259448289871,
0.02248036302626133,
-0.01614968664944172,
-0.04017180576920509,
0.0013576502678915858,
0.0017495492938905954,
-0.027424320578575134,
-0.00037736434023827314,
0.0015535998390987515,
0.014659608714282513,
0.00030280661303550005,
0.06697598099708557,
-0.033367402851581573,
0.10142864286899567,
0.0014986909227445722,
0.037518952041864395,
0.05119665712118149,
0.005572718568146229,
-0.022876568138599396,
0.009862074628472328,
0.004050341434776783,
-0.016718154773116112,
-0.005740675143897533,
-0.043444808572530746,
-0.05850062146782875,
0.0058095804415643215,
-0.024702560156583786,
0.05133447051048279,
0.045443061739206314,
0.05395287275314331,
-0.014315081760287285,
0.028957463800907135,
0.06115347892045975,
0.06263494491577148,
0.02840622141957283,
0.0132125960662961,
0.017674217000603676,
0.03150695934891701,
-0.01779480092227459,
0.006309144198894501,
-0.009310832247138023,
-0.05212688073515892,
0.05023198202252388,
-0.008776815608143806,
-0.05288483947515488,
0.001186463632620871,
0.0038005595561116934,
0.0013985628029331565,
-0.03390141949057579,
-0.03944829851388931,
0.04241123050451279,
-0.015908516943454742,
-0.023117737844586372,
0.0529881976544857,
0.014590702950954437,
-0.004465926438570023,
-0.013488218188285828,
-0.023531168699264526,
0.033057332038879395,
0.005981843918561935,
-0.0666659027338028,
-0.00026714272098615766,
-0.013281501829624176,
-0.019534660503268242,
-0.02006867714226246,
0.002411686349660158,
-0.041618816554546356,
-0.037002161145210266,
0.026270156726241112,
-0.017949838191270828,
0.06480546295642853,
-0.05464192479848862,
0.014401213265955448,
0.00005302480349200778,
-0.0942624881863594,
0.003255776595324278,
0.05819055065512657,
0.05067986994981766,
-0.0016784906620159745,
-0.06170472130179405,
-0.02180853672325611,
0.007144621107727289,
0.03769121319055557,
0.07393541932106018,
-0.015322822146117687,
-0.015848224982619286,
0.0159688089042902,
0.0124460244551301,
-0.05584776774048805,
-0.004801840055733919,
-0.0203615240752697,
-0.03727778047323227,
0.045718684792518616,
0.017217718064785004,
0.06277275085449219,
-0.0874408632516861,
-0.029267538338899612,
0.006455567665398121,
-0.07269512116909027,
0.046373285353183746,
-0.036347560584545135,
-0.027803299948573112,
0.046304378658533096,
-0.03167922422289848,
0.018104875460267067,
0.005512426141649485,
0.03002549707889557,
0.034073684364557266,
0.02063714526593685,
0.0011660073651000857,
0.0066192178055644035,
-0.007868126966059208,
0.025202123448252678,
-0.0024547523353248835,
-0.022359779104590416,
-0.017743121832609177,
-0.060740046203136444,
-0.1164500042796135,
-0.009638132527470589,
-0.03119688667356968,
0.00028827189817093313,
0.0033655946608632803,
-0.01779480092227459,
-0.033643025904893875,
-0.0043927147053182125,
0.0557788610458374,
-0.00876389630138874,
-0.07421103864908218,
-0.009887914173305035,
-0.006481407210230827,
0.030146081000566483,
0.029301989823579788,
-0.018931739032268524,
0.07104139029979706,
-0.014349534176290035,
0.0026830011047422886,
-0.06494326889514923,
0.052609216421842575,
0.040309615433216095,
0.011653613299131393,
0.027424320578575134,
-0.027562130242586136,
-0.010421930812299252,
-0.020309844985604286,
0.013582962565124035,
-0.01614968664944172,
0.016382241621613503,
-0.06539115309715271,
-0.032764483243227005,
0.03264389932155609,
0.0033246821258217096,
-0.008001631125807762,
0.021343424916267395,
0.09074831753969193,
-0.026700815185904503,
-0.031369149684906006,
-0.0647021010518074,
-0.07076577097177505,
0.0522991418838501,
-0.009948207065463066,
-0.020258165895938873,
-0.029904911294579506,
-0.015012748539447784,
0.04602875933051109,
0.06955992430448532,
-0.01515055913478136,
-0.027183150872588158,
0.022170288488268852,
0.016795674338936806,
0.04334145039319992,
0.013720773160457611,
-0.017243558540940285,
0.026855850592255592,
-0.05302264913916588,
-0.011257408186793327,
0.000611534749623388,
0.005210965406149626,
-0.03310900926589966,
-0.02502986043691635,
-0.03362580016255379,
-0.022721530869603157,
-0.0028918704483658075,
-0.0672171488404274,
-0.024719785898923874,
0.04813037067651749,
-0.02153291553258896,
0.04437503218650818,
-0.010542514733970165,
0.09074831753969193,
-0.006675203796476126,
-0.04234232380986214,
-0.005473666824400425,
0.0073384172283113,
-0.03534843400120735,
-0.004720014985650778,
-0.04530525207519531,
-0.03593412786722183,
0.02453029714524746,
0.016115233302116394,
-0.02056824043393135,
-0.032540541142225266,
-0.00538322888314724,
-0.016123846173286438,
0.002603329485282302,
-0.025064311921596527,
0.03758785501122475,
-0.0015654428862035275,
-0.03968947008252144,
-0.06125683709979057,
0.026097891852259636,
-0.011627773754298687,
-0.011722519062459469,
0.05732923373579979,
-0.010361638851463795,
-0.07365979254245758,
0.0379323810338974,
0.006636444479227066,
-0.0673549547791481,
0.04051633179187775,
-0.04751022160053253,
0.04006844758987427,
-0.009870688430964947,
-0.0010723391314968467,
0.015891291201114655,
0.02020648680627346,
0.009715651161968708,
-0.0008139441488310695,
-0.05050760507583618,
0.029525931924581528,
0.06552896648645401,
-0.02738986723124981,
-0.007743236143141985,
0.01664924994111061,
0.02912972681224346,
0.020240940153598785,
-0.03710551932454109,
0.007605425547808409,
0.016632024198770523,
-0.061532456427812576,
-0.04723460227251053,
-0.03197207301855087,
0.08599384874105453,
-0.046304378658533096,
0.019586339592933655,
-0.05639901012182236,
0.0613601952791214,
-0.02297992631793022,
-0.014409826137125492,
-0.03417704254388809,
0.019861960783600807,
0.04079195484519005,
-0.002304021967574954,
-0.06446093320846558,
0.00009373547072755173,
-0.033505216240882874,
0.021274520084261894,
-0.007088635582476854,
-0.03565850853919983,
0.02437525987625122,
-0.005921551492065191,
-0.03689880296587944,
-0.02504708617925644,
-0.045443061739206314,
-0.031248565763235092,
0.0440649576485157,
-0.03448711708188057,
0.01709713414311409,
0.011360765434801579,
0.018759476020932198,
-0.009104115888476372,
0.005206658970564604,
-0.05347053334116936,
-0.021722404286265373,
0.003061980474740267,
0.0058095804415643215,
0.06577013432979584,
0.0032600832637399435,
0.0308179073035717,
-0.060808952897787094,
-0.004114939831197262,
0.06384078413248062,
-0.0017150966450572014,
0.0673549547791481,
0.018139326944947243,
0.0465800017118454,
0.03359134867787361,
-0.021774083375930786,
-0.028905784711241722,
-0.005602864548563957,
0.015960196033120155,
-0.018690569326281548,
-0.04413386061787605,
0.009405577555298805,
-0.019414076581597328,
-0.024926502257585526,
-0.001731246360577643,
-0.0018023049924522638,
-0.018931739032268524,
0.0264251921325922,
0.05798383429646492,
-0.04527080059051514,
-0.043513715267181396,
0.013669094070792198,
0.028716295957565308,
0.0673549547791481,
0.003703661262989044,
-0.00018181855557486415,
-0.06783729791641235,
-0.0764160081744194,
-0.01002572476863861,
0.02592562884092331,
0.06625247001647949,
0.002932782983407378,
-0.004965490195900202,
-0.006774255074560642,
-0.03031834401190281,
-0.000672903610393405,
-0.003145958762615919,
-0.009345284663140774,
-0.02392737567424774,
-0.02437525987625122,
-0.02180853672325611,
0.04802701249718666,
0.043444808572530746,
-0.023186642676591873,
0.0015073040267452598,
-0.021050577983260155,
-0.00595169747248292,
0.011317700147628784,
-0.0555032417178154,
-0.05533097684383392,
-0.025460518896579742,
-0.02401350624859333,
0.02561555616557598,
-0.032023750245571136,
0.07214387506246567,
-0.02277320995926857,
-0.059844277799129486,
-0.03755340352654457,
0.01303172018378973,
0.015934357419610023,
-0.019155681133270264,
-0.07331527024507523,
-0.020706050097942352,
0.060671139508485794,
0.009948207065463066,
-0.02876797318458557,
0.025753365829586983,
-0.0006346826558001339,
-0.015942970290780067,
-0.03398755192756653,
-0.005921551492065191,
-0.03548624366521835,
-0.04137764871120453,
0.0202926192432642,
0.029112501069903374,
0.011515802703797817,
0.01750195398926735,
-0.04723460227251053,
-0.0021769776940345764,
0.04888832941651344,
0.013272888958454132,
0.023737885057926178,
0.016899030655622482,
0.029749875888228416,
-0.0007057412876747549,
0.04334145039319992,
-0.04933621361851692,
-0.0006206862744875252,
0.0054908930324018,
-0.019310718402266502,
-0.031386375427246094,
-0.00030872816569171846,
0.02291102148592472,
-0.051575638353824615,
0.1390509456396103,
0.031455282121896744,
0.0522991418838501,
-0.0015352967893704772
] |
5,649 | flask_bower | init_app | null | def init_app(self, app):
app.config.setdefault('BOWER_COMPONENTS_ROOT', 'bower_components')
app.config.setdefault('BOWER_KEEP_DEPRECATED', True)
app.config.setdefault('BOWER_QUERYSTRING_REVVING', True)
app.config.setdefault('BOWER_REPLACE_URL_FOR', False)
app.config.setdefault('BOWER_SUBDOMAIN', None)
app.config.setdefault('BOWER_TRY_MINIFIED', True)
app.config.setdefault('BOWER_URL_PREFIX', '/bower')
blueprint = Blueprint(
'bower',
__name__,
url_prefix=app.config['BOWER_URL_PREFIX'],
subdomain=app.config['BOWER_SUBDOMAIN'])
blueprint.add_url_rule('/<component>/<path:filename>', 'serve', serve)
app.register_blueprint(blueprint)
if app.config['BOWER_KEEP_DEPRECATED'] is True:
app.jinja_env.globals['bower_url_for'] = bower_url_for
if app.config['BOWER_REPLACE_URL_FOR'] is True:
app.jinja_env.globals['url_for'] = replaced_url_for
app.url_build_error_handlers.append(handle_url_error)
| (self, app) | [
0.0409703366458416,
-0.0515066497027874,
-0.020447267219424248,
-0.0389237143099308,
0.01785109005868435,
-0.016894103959202766,
0.030585626140236855,
0.018940726295113564,
-0.0001520457590231672,
0.02052306942641735,
-0.006438331212848425,
-0.0176142118871212,
0.0220580343157053,
0.024123607203364372,
0.0013004576321691275,
0.0005353431915864348,
0.07276877760887146,
0.04536678269505501,
0.03443251550197601,
-0.05271946266293526,
-0.00139047100674361,
-0.020219866186380386,
-0.005362906958907843,
0.014127375558018684,
-0.01083951536566019,
0.017273109406232834,
-0.021906433627009392,
0.05965523421764374,
0.05135504528880119,
-0.07231397181749344,
0.036403339356184006,
-0.05950363352894783,
0.09133997559547424,
-0.02436995878815651,
0.06253566592931747,
-0.019215503707528114,
0.0765967145562172,
0.004763606935739517,
-0.05950363352894783,
0.02431310899555683,
0.10756134241819382,
-0.04669329896569252,
0.05090024322271347,
-0.037426646798849106,
0.04851251468062401,
0.016941480338573456,
-0.010384710505604744,
0.056850604712963104,
-0.054349180310964584,
0.056244198232889175,
-0.0599963404238224,
0.0071726515889167786,
0.03361765667796135,
0.0566990040242672,
0.012980888597667217,
0.0204851683229208,
0.03638438880443573,
0.05343956872820854,
0.007921184413135052,
0.037938304245471954,
-0.03566427901387215,
-0.0033091790974140167,
-0.01435477752238512,
-0.0620429590344429,
0.03505787253379822,
0.007973297499120235,
-0.049081023782491684,
0.0033660295885056257,
-0.007921184413135052,
0.04043973237276077,
0.04115983843803406,
0.016306648030877113,
-0.03393981233239174,
0.03060457669198513,
0.014212651178240776,
-0.03953012079000473,
0.07076005637645721,
-0.08444210141897202,
-0.008830794133245945,
-0.020636769011616707,
0.04684489965438843,
-0.016590900719165802,
-0.013123014941811562,
-0.008996608667075634,
0.04430557042360306,
-0.01135117094963789,
-0.0547281838953495,
-0.003486837027594447,
0.05840452015399933,
0.021565329283475876,
-0.04036393016576767,
0.02173588052392006,
0.04877781867980957,
0.03621383383870125,
-0.010138357989490032,
-0.02761044353246689,
-0.03452726826071739,
0.027705194428563118,
0.03574008122086525,
0.028861157596111298,
0.008916069753468037,
0.002405491191893816,
-0.03968172147870064,
-0.007186864037066698,
0.026340780779719353,
0.012118654325604439,
0.02224753610789776,
0.013871547766029835,
-0.01756683737039566,
-0.056054696440696716,
-0.01955660805106163,
0.026985086500644684,
0.0036455451045185328,
-0.031457334756851196,
-0.04934632405638695,
0.036687590181827545,
0.03356080874800682,
0.008726567961275578,
0.1093805655837059,
-0.019992463290691376,
-0.06363477557897568,
0.00894923321902752,
0.020788371562957764,
-0.0025606460403651,
0.07837803661823273,
0.0262649804353714,
0.018827024847269058,
-0.022778142243623734,
0.023706702515482903,
-0.038449957966804504,
0.06264936923980713,
0.05848032236099243,
-0.08785313367843628,
-0.07443638890981674,
0.03401561081409454,
-0.038582611829042435,
-0.01213760394603014,
0.011796500533819199,
-0.0075753433629870415,
0.05188565328717232,
-0.03708554431796074,
0.0040340241976082325,
-0.03259434551000595,
0.008574966341257095,
0.009351924993097782,
0.002636446850374341,
-0.022437039762735367,
-0.002662503393366933,
0.022455988451838493,
0.03426196426153183,
0.01042261067777872,
0.05976893752813339,
0.03592958301305771,
-0.0035294750705361366,
-0.038393110036849976,
0.03560742735862732,
-0.008612866513431072,
0.003927429206669331,
0.03348500654101372,
0.004370390437543392,
0.039226919412612915,
0.02436995878815651,
0.010631063021719456,
-0.01433582790195942,
-0.047223903238773346,
0.03536107763648033,
-0.028444252908229828,
0.027951547876000404,
0.012563983909785748,
0.04051553085446358,
0.02131897769868374,
-0.03736979886889458,
-0.005993001163005829,
-0.024388909339904785,
0.05381857231259346,
0.03746454790234566,
-0.005353432148694992,
-0.03337130695581436,
0.010981641709804535,
-0.00581297418102622,
0.01770896278321743,
0.011654374189674854,
-0.028690606355667114,
0.06530239433050156,
0.003944010939449072,
-0.0063293674029409885,
-0.014316877350211143,
0.031457334756851196,
0.03606223315000534,
0.0744742900133133,
-0.02389620430767536,
0.02963811531662941,
0.027894696220755577,
0.010375235229730606,
0.021982233971357346,
-0.012848236598074436,
0.029202260076999664,
-0.009778304025530815,
0.002534589497372508,
0.0027619919274002314,
-0.0578739158809185,
0.005808237008750439,
-0.019575558602809906,
0.014506379142403603,
0.04953582584857941,
0.004844145383685827,
0.014193701557815075,
-0.005064441356807947,
0.03380715847015381,
0.004010336473584175,
0.00802067294716835,
0.007442691829055548,
0.009584064595401287,
-0.019016526639461517,
-0.02164112962782383,
-0.06223246082663536,
0.02209593541920185,
-0.015406513586640358,
0.02274024300277233,
0.029979219660162926,
-0.03852576017379761,
-0.028557954356074333,
0.03721819445490837,
0.00435854634270072,
-0.04377496615052223,
0.02899380959570408,
0.023687751963734627,
-0.013227241113781929,
-0.0011778734624385834,
0.07466379553079605,
-0.04180414602160454,
0.05173405259847641,
0.08072786033153534,
-0.031229931861162186,
-0.01886492595076561,
-0.025999676436185837,
0.042145248502492905,
0.014165275730192661,
-0.06431698799133301,
-0.01955660805106163,
0.02029566653072834,
-0.0020039838273078203,
-0.022759191691875458,
-0.03721819445490837,
-0.0027904172893613577,
0.015198062174022198,
-0.007395316381007433,
-0.021243175491690636,
-0.002539327135309577,
-0.0005143203306943178,
-0.04225894808769226,
0.01798374205827713,
0.027913646772503853,
-0.0021472948137670755,
-0.06268727034330368,
-0.015302288345992565,
0.010735289193689823,
-0.0017789502162486315,
-0.044684574007987976,
0.0535532683134079,
-0.0017469717422500253,
-0.00278094201348722,
0.006869448348879814,
0.05010433495044708,
-0.011711224913597107,
0.0039155855774879456,
0.03439461439847946,
-0.016429824754595757,
-0.03695289418101311,
0.03445146605372429,
0.11718805134296417,
0.02334664948284626,
-0.014743257313966751,
-0.03945431858301163,
0.0041358815506100655,
-0.05086234211921692,
-0.00410271855071187,
0.01682777889072895,
0.008726567961275578,
-0.021281076595187187,
0.03236694633960724,
-0.0682586282491684,
0.0400228276848793,
0.07837803661823273,
-0.04559418559074402,
-0.023422449827194214,
-0.028728505596518517,
0.061739757657051086,
-0.01729205995798111,
-0.04483617842197418,
0.027117738500237465,
-0.0019246299052610993,
0.003140995977446437,
0.07197286933660507,
-0.014155800454318523,
-0.012999838218092918,
0.04578368738293648,
0.05294686555862427,
-0.032291144132614136,
-0.05866982415318489,
-0.01162594836205244,
0.013236716389656067,
-0.015046460554003716,
0.0399470254778862,
-0.014383203350007534,
-0.014440054073929787,
0.022493889555335045,
-0.025090066716074944,
0.0016285330057144165,
0.011796500533819199,
0.014373728074133396,
-0.028330551460385323,
0.019670309498906136,
0.0566990040242672,
-0.013700995594263077,
-0.018609097227454185,
-0.02093997225165367,
-0.03740769997239113,
-0.024540511891245842,
0.02543117105960846,
0.019101804122328758,
0.02145162783563137,
-0.0018701480003073812,
-0.018296420574188232,
-0.022683391347527504,
0.04354756325483322,
0.07724102586507797,
0.016808828338980675,
-0.00005440780660137534,
0.029713915660977364,
-0.06571929901838303,
0.06886503100395203,
-0.006111440248787403,
-0.01223235484212637,
0.03327655419707298,
-0.0331060029566288,
0.004602530039846897,
-0.08080366253852844,
-0.08012145012617111,
-0.0883079394698143,
0.03212059289216995,
-0.009645652957260609,
-0.03291650116443634,
0.03579693287611008,
-0.08065205812454224,
-0.006987886969000101,
-0.05885932594537735,
-0.04525308310985565,
-0.04373706504702568,
-0.03536107763648033,
0.025791224092245102,
0.001643929979763925,
-0.03329550474882126,
0.04597318917512894,
0.008892382495105267,
-0.02903170883655548,
-0.05798761919140816,
0.015510739758610725,
0.023403499275445938,
0.014620080590248108,
-0.03666863963007927,
0.03384505957365036,
-0.04241055250167847,
-0.0015965545317158103,
0.0070921131409704685,
-0.029334912076592445,
0.004623849410563707,
0.02607547678053379,
-0.005073916632682085,
-0.054576579481363297,
0.04305486008524895,
0.019215503707528114,
0.05442497879266739,
-0.03361765667796135,
-0.00047227455070242286,
-0.037009745836257935,
0.001710255746729672,
-0.057684414088726044,
-0.04241055250167847,
0.03731294721364975,
-0.035759031772613525,
0.047602906823158264,
0.04881571978330612,
0.0027217227034270763,
-0.009669340215623379,
-0.055789392441511154,
-0.008034885860979557,
-0.01623084768652916,
-0.005808237008750439,
-0.0362517349421978,
0.014582180418074131,
-0.008935020305216312,
-0.016941480338573456,
0.0714043602347374,
-0.02662503346800804,
-0.0641653835773468,
0.007238977123051882,
-0.025867026299238205,
0.05506928637623787,
0.01900705322623253,
0.06185345724225044,
-0.015662342309951782,
0.058745626360177994,
0.0184006467461586,
0.06367267668247223,
-0.009645652957260609,
0.002626971807330847,
0.015434939414262772,
0.026416581124067307,
0.032063741236925125,
-0.0725034698843956,
0.028747456148266792,
-0.0463142916560173,
-0.05317426472902298,
0.03221534192562103,
-0.02353615127503872,
0.02251284010708332,
0.018779650330543518,
0.014440054073929787,
-0.03454621881246567,
0.0165530014783144,
0.01563391648232937,
0.07640721648931503,
0.0009563930216245353,
0.011986002326011658,
0.04210734739899635,
0.056471601128578186,
0.00871709268540144,
-0.025127967819571495,
0.00383741594851017,
0.027799945324659348,
0.011209044605493546,
-0.05029383674263954,
-0.052681561559438705,
0.038070954382419586,
-0.023270847275853157,
0.03276490047574043,
-0.03397771343588829,
-0.003039138624444604,
-0.013066164217889309,
-0.026662934571504593,
0.007314777933061123,
0.0382983572781086,
0.02829265035688877,
-0.029240161180496216,
0.022171735763549805,
-0.015832893550395966,
-0.003619488561525941,
0.046162690967321396,
-0.06909243762493134,
0.005400807596743107,
-0.05006643384695053,
-0.012592408806085587,
-0.03483046963810921,
-0.015368613414466381,
-0.032158493995666504,
0.03231009468436241,
-0.011635423637926579,
-0.037748802453279495,
0.043812867254018784,
-0.019821910187602043,
0.0018997577717527747,
0.04449507221579552,
-0.011910201981663704,
-0.005111816804856062,
0.001909232814796269,
0.06981254369020462,
0.01483800821006298,
-0.011692274361848831,
0.015292813070118427,
-0.028595853596925735,
-0.0064430683851242065,
0.06177765876054764,
0.014885383658111095,
-0.006030901800841093,
0.011891251429915428,
-0.0005223149200901389,
-0.006125652696937323,
-0.018087968230247498,
-0.045935288071632385,
-0.037559300661087036,
0.06393798440694809,
-0.02829265035688877,
0.032708048820495605,
-0.03532317653298378,
-0.03388296067714691,
-0.021091574802994728,
-0.03295440226793289,
0.02177378162741661,
-0.015397039242088795,
-0.061247050762176514,
-0.026283929124474525,
-0.04165254160761833,
0.01859014853835106,
-0.01780371367931366,
0.057911816984415054,
0.06113335117697716,
0.02131897769868374,
0.07204866409301758,
-0.003899004077538848,
-0.011066918261349201,
0.005865087267011404,
-0.002083337865769863,
0.028425302356481552,
-0.05366697162389755,
-0.07614190876483917,
-0.09308338910341263,
-0.018798600882291794,
-0.010280484333634377,
-0.01807849295437336,
0.0006561507470905781,
-0.0046143741346895695,
-0.03227219358086586,
0.027629394084215164,
0.03875316306948662,
-0.025165867060422897,
-0.0268145352602005,
0.007963822223246098,
-0.002733566565439105,
0.04146303981542587,
0.002600915264338255,
-0.0472618043422699,
0.03473572060465813,
-0.022114885970950127,
0.011493297293782234,
-0.05400807410478592,
0.0620429590344429,
-0.002676716074347496,
-0.011805975809693336,
0.04286535456776619,
-0.0441160686314106,
0.004171413369476795,
0.034205112606287,
-0.0019992461893707514,
-0.021925384178757668,
-0.0013229609467089176,
0.00846126489341259,
-0.02418045699596405,
-0.038487859070301056,
-0.014828532934188843,
0.019765060395002365,
0.011085867881774902,
0.09308338910341263,
-0.05885932594537735,
-0.07276877760887146,
-0.03746454790234566,
-0.0556756928563118,
-0.021432677283883095,
0.011986002326011658,
-0.0398712232708931,
0.00818648748099804,
0.00521130533888936,
0.019575558602809906,
0.0257533248513937,
-0.03149523586034775,
-0.05510718747973442,
-0.03903741389513016,
0.0683344304561615,
0.0036929205525666475,
0.027762046083807945,
-0.0204851683229208,
0.03213954344391823,
-0.027667295187711716,
0.039643820375204086,
0.027496742084622383,
0.060868047177791595,
-0.03611908480525017,
-0.029145410284399986,
-0.02829265035688877,
-0.03079407848417759,
0.015397039242088795,
-0.04263795539736748,
-0.013037738390266895,
0.00366923282854259,
-0.047186002135276794,
0.004742288030683994,
0.010830040089786053,
0.03219639137387276,
0.015889743342995644,
-0.041084036231040955,
-0.021432677283883095,
0.03663073852658272,
-0.037104494869709015,
0.025544872507452965,
-0.002998869400471449,
-0.03865841031074524,
0.05105184391140938,
0.03750244900584221,
-0.01483800821006298,
-0.04798191040754318,
-0.042372651398181915,
-0.04873991757631302,
0.022759191691875458,
-0.059162531048059464,
0.02232333831489086,
-0.0013004576321691275,
-0.08444210141897202,
-0.04373706504702568,
-0.01151224784553051,
0.02774309553205967,
0.007395316381007433,
0.05192355439066887,
0.03185528889298439,
-0.056661102920770645,
0.01748156175017357,
-0.00741900410503149,
-0.022399138659238815,
-0.013748371042311192,
-0.027345141395926476,
0.015614965930581093,
-0.02690928615629673,
-0.004154831636697054,
-0.011426971293985844,
0.02668188326060772,
-0.06575720012187958,
-0.03282174840569496,
-0.00853232853114605,
-0.023744603618979454,
0.033087052404880524,
-0.046769097447395325,
-0.024616312235593796,
0.0010807537473738194,
0.013710470870137215,
0.045745786279439926,
-0.006902610883116722,
-0.027534643188118935,
0.025506971403956413,
-0.020238814875483513,
-0.029581265524029732,
0.03088882938027382,
0.02584807574748993,
-0.03998492658138275,
0.02006826363503933,
-0.031078331172466278,
0.013236716389656067,
0.00843757763504982,
-0.016941480338573456,
0.010915316641330719,
0.018192194402217865,
0.04919472336769104,
0.053287968039512634,
-0.0905061662197113,
0.00042489904444664717,
-0.007319515570998192,
0.031059380620718002,
0.04885362088680267,
-0.040894534438848495,
0.017727913334965706,
-0.01974610984325409,
-0.03801410645246506,
0.0065283444710075855,
0.0028235800564289093,
-0.024351010099053383,
0.06905453652143478,
-0.08936914801597595,
0.02482476457953453,
0.03930271789431572,
-0.014639031141996384,
-0.02399095520377159,
0.029334912076592445,
-0.006310417316854,
-0.0493842251598835,
0.05177194997668266,
-0.06886503100395203,
-0.00018506056221667677,
-0.023744603618979454,
0.0588214248418808,
-0.047375503927469254,
-0.01932920515537262,
0.0017706594662740827,
0.009854105301201344,
0.009901480749249458,
-0.023232948035001755,
-0.037142395973205566,
-0.005675585474818945,
-0.0023320592008531094,
-0.05025593563914299,
0.03634648770093918,
0.028633754700422287,
0.018940726295113564,
-0.03435671702027321,
-0.0048938896507024765,
-0.02029566653072834,
0.005381857510656118,
0.030301373451948166,
-0.03371240943670273,
-0.03615698590874672,
0.03903741389513016,
0.043661266565322876,
0.013947348110377789,
-0.007385841105133295,
0.0023510095197707415,
0.037331897765398026,
0.05722960829734802,
-0.04252425208687782,
0.017358385026454926,
0.017784764990210533,
-0.10240688920021057,
-0.010962692089378834,
0.0006460834410972893,
0.046806998550891876,
0.006637308280915022,
0.03532317653298378,
0.004526729229837656,
-0.011749125085771084,
0.0051212920807302,
-0.040250226855278015,
-0.06029954180121422,
-0.0630662739276886,
-0.019708210602402687,
-0.014203175902366638,
0.027913646772503853,
0.01178702525794506,
-0.04252425208687782,
-0.00037071332917548716,
-0.05480398237705231,
-0.050483338534832,
-0.0018369852332398295,
-0.029562314972281456,
-0.02260759100317955,
-0.03458411991596222,
-0.006210928782820702,
0.04021232947707176,
-0.004289851989597082,
0.09331079572439194,
-0.005045491270720959,
-0.038487859070301056,
-0.021205276250839233,
-0.013511493802070618,
-0.006561507470905781,
0.016761453822255135,
-0.03606223315000534,
-0.021243175491690636,
0.056850604712963104,
0.02469211257994175,
-0.021906433627009392,
-0.013321992009878159,
-0.019708210602402687,
-0.04062923416495323,
-0.047602906823158264,
0.045101478695869446,
-0.04244845360517502,
-0.07113905996084213,
0.012677685357630253,
-0.01599396951496601,
0.06026164069771767,
-0.0028472677804529667,
-0.0210347231477499,
0.014269501902163029,
0.0257533248513937,
-0.027477793395519257,
-0.005471870768815279,
-0.03162788599729538,
0.017453135922551155,
0.00298702553845942,
0.009835154749453068,
-0.03524737432599068,
0.024104656651616096,
-0.05681270360946655,
-0.010981641709804535,
0.01049841195344925,
0.0026743472553789616,
0.05090024322271347,
-0.030813027173280716,
0.14333932101726532,
0.049497928470373154,
-0.018618572503328323,
-0.028652705252170563
] |
5,650 | flask.helpers | abort | Raise an :exc:`~werkzeug.exceptions.HTTPException` for the given
status code.
If :data:`~flask.current_app` is available, it will call its
:attr:`~flask.Flask.aborter` object, otherwise it will use
:func:`werkzeug.exceptions.abort`.
:param code: The status code for the exception, which must be
registered in ``app.aborter``.
:param args: Passed to the exception.
:param kwargs: Passed to the exception.
.. versionadded:: 2.2
Calls ``current_app.aborter`` if available instead of always
using Werkzeug's default ``abort``.
| def abort(code: int | BaseResponse, *args: t.Any, **kwargs: t.Any) -> t.NoReturn:
"""Raise an :exc:`~werkzeug.exceptions.HTTPException` for the given
status code.
If :data:`~flask.current_app` is available, it will call its
:attr:`~flask.Flask.aborter` object, otherwise it will use
:func:`werkzeug.exceptions.abort`.
:param code: The status code for the exception, which must be
registered in ``app.aborter``.
:param args: Passed to the exception.
:param kwargs: Passed to the exception.
.. versionadded:: 2.2
Calls ``current_app.aborter`` if available instead of always
using Werkzeug's default ``abort``.
"""
if current_app:
current_app.aborter(code, *args, **kwargs)
_wz_abort(code, *args, **kwargs)
| (code: int | werkzeug.wrappers.response.Response, *args: Any, **kwargs: Any) -> NoReturn | [
0.027999546378850937,
-0.019067727029323578,
-0.042161062359809875,
-0.018348868936300278,
-0.034828703850507736,
-0.05930584296584129,
-0.0324384979903698,
0.031270354986190796,
-0.006361899431794882,
-0.01667752116918564,
0.026651686057448387,
-0.05794001370668411,
0.017692910507321358,
-0.035655390471220016,
-0.014143545180559158,
0.005288104526698589,
0.013864987529814243,
0.036643821746110916,
0.03134223818778992,
-0.10531280189752579,
0.016506792977452278,
0.040903061628341675,
-0.018726268783211708,
0.048630792647600174,
0.012193640694022179,
0.024549024179577827,
-0.046150729060173035,
0.007395259104669094,
0.008841962553560734,
-0.05524429306387901,
0.014925303868949413,
0.025052225217223167,
0.012849599123001099,
-0.003198921214789152,
0.017198694869875908,
-0.016884194687008858,
-0.07799617201089859,
-0.037416595965623856,
-0.0042592380195856094,
0.0027676059398800135,
-0.038387056440114975,
-0.05898235738277435,
-0.015203861519694328,
-0.016578679904341698,
0.06890260428190231,
0.0050185322761535645,
-0.013226999901235104,
-0.08640681952238083,
0.005948555655777454,
0.036302365362644196,
-0.050931140780448914,
-0.030515551567077637,
0.046330444514751434,
-0.022644048556685448,
0.008927326649427414,
0.11408288031816483,
-0.007902952842414379,
-0.021152418106794357,
-0.035313934087753296,
-0.06315173953771591,
-0.035403791815042496,
0.049457479268312454,
-0.036068737506866455,
-0.008792540989816189,
0.049457479268312454,
-0.011241152882575989,
-0.010827809572219849,
0.012274512089788914,
-0.043490953743457794,
-0.0014770299894735217,
0.010189821943640709,
0.029581036418676376,
-0.020469501614570618,
0.023812195286154747,
0.07698976993560791,
0.0006143995560705662,
-0.028754347935318947,
-0.024099737405776978,
0.009160955436527729,
-0.024980340152978897,
0.07655845582485199,
-0.037200938910245895,
0.030874982476234436,
0.029832636937499046,
0.05686172470450401,
-0.044389523565769196,
-0.009417048655450344,
-0.03394810110330582,
-0.014988204464316368,
0.015787934884428978,
-0.008347746916115284,
-0.018474668264389038,
-0.0324384979903698,
-0.016767378896474838,
0.037704139947891235,
-0.021943161264061928,
0.029365377500653267,
-0.006734807509928942,
0.010135907679796219,
-0.06843534857034683,
0.021943161264061928,
0.018025381490588188,
-0.0016780857695266604,
-0.043850380927324295,
0.032061100006103516,
0.003073120955377817,
0.019265413284301758,
-0.07583959400653839,
0.003394360886886716,
-0.010953609831631184,
0.013802086934447289,
-0.018816126510500908,
-0.007583959493786097,
-0.041082777082920074,
-0.038890257477760315,
0.020056158304214478,
-0.038602713495492935,
0.005368975922465324,
0.011564639396965504,
0.014341231435537338,
0.020631244406104088,
-0.030623381957411766,
-0.009169941768050194,
-0.020631244406104088,
0.041693806648254395,
0.008850947953760624,
0.007377287372946739,
-0.038782428950071335,
-0.022500278428196907,
-0.0030371779575943947,
-0.0017106591258198023,
0.036428164690732956,
-0.06951363384723663,
-0.015239804983139038,
0.036571938544511795,
0.05808378383517265,
0.0013984048273414373,
0.054705146700143814,
-0.0017870378214865923,
-0.07055598497390747,
0.022608106955885887,
0.024495109915733337,
0.035942934453487396,
0.05402223393321037,
0.035242047160863876,
0.052368856966495514,
0.026471972465515137,
-0.024854540824890137,
0.048055704683065414,
0.0013130403822287917,
0.015356618911027908,
0.005301583092659712,
0.036302365362644196,
0.014278330840170383,
-0.002163315424695611,
0.002590137766674161,
-0.041621919721364975,
-0.038279227912425995,
0.028305061161518097,
-0.0011293943971395493,
0.0041379304602742195,
0.0008721777703613043,
0.051470283418893814,
-0.07044815272092819,
0.027352573350071907,
-0.022104905918240547,
-0.018905984237790108,
0.043634723871946335,
-0.005076939705759287,
-0.013343814760446548,
-0.006667414680123329,
-0.05506457760930061,
0.017001008614897728,
-0.015491405501961708,
-0.030084237456321716,
0.015392562374472618,
-0.0021228797268122435,
0.005243175663053989,
-0.050643596798181534,
0.021961133927106857,
0.07062786817550659,
-0.025842970237135887,
-0.06031224504113197,
-0.020253844559192657,
-0.018438726663589478,
0.0005071323830634356,
0.005283611360937357,
0.023812195286154747,
0.07756485790014267,
-0.003603279357776046,
0.022482305765151978,
-0.05869481340050697,
0.035727277398109436,
0.016380993649363518,
-0.017036952078342438,
0.021493876352906227,
-0.0016196785727515817,
-0.048522964119911194,
0.11221384257078171,
0.024081766605377197,
0.015446476638317108,
0.07361113280057907,
0.06293608248233795,
0.004306412767618895,
-0.0035853078588843346,
0.052872058004140854,
-0.0052970899268984795,
-0.065056711435318,
0.012606984935700893,
-0.020163986831903458,
-0.007925417274236679,
-0.039932601153850555,
-0.041550032794475555,
-0.0009289002628065646,
0.0323486402630806,
0.017567109316587448,
-0.022158820182085037,
-0.047408733516931534,
0.07016061246395111,
0.002531730569899082,
-0.006361899431794882,
0.027370546013116837,
-0.023452766239643097,
-0.049816910177469254,
0.053267430514097214,
0.003971694502979517,
-0.0015163426287472248,
0.037811968475580215,
0.046725817024707794,
0.014673703350126743,
-0.031108610332012177,
-0.004221048671752214,
-0.020864874124526978,
-0.056322578340768814,
-0.05819161236286163,
0.030156122520565987,
0.003926765639334917,
-0.05535212159156799,
-0.030785124748945236,
0.001227675937116146,
0.06919015198945999,
0.006307985167950392,
0.030479609966278076,
0.020792989060282707,
-0.005881162825971842,
0.012777713127434254,
-0.048091646283864975,
0.08482532948255539,
-0.010432437062263489,
-0.021170388907194138,
-0.022608106955885887,
-0.030785124748945236,
-0.022895649075508118,
-0.022877678275108337,
0.06692574918270111,
0.05998875945806503,
0.014925303868949413,
-0.06077950447797775,
-0.021961133927106857,
0.06591934710741043,
0.011933054774999619,
-0.005373469088226557,
0.007597438059747219,
-0.0014871389139443636,
0.0037919797468930483,
-0.03335504233837128,
0.011331010609865189,
0.041478145867586136,
0.055208347737789154,
0.020613273605704308,
0.010719980113208294,
0.0031899355817586184,
-0.004924182314425707,
0.005355497356504202,
-0.024908455088734627,
0.042520493268966675,
0.008487025275826454,
-0.011735368520021439,
-0.035978879779577255,
-0.010540265589952469,
0.0044883741065859795,
-0.041334375739097595,
0.007840053178369999,
-0.047408733516931534,
-0.048379190266132355,
0.013209029100835323,
0.0028349990025162697,
-0.00017213296086993068,
0.018357854336500168,
0.009363134391605854,
0.06868694722652435,
0.015051104128360748,
0.024980340152978897,
0.00031478150049224496,
-0.0018757719080895185,
-0.051470283418893814,
0.010252722539007664,
-0.027298659086227417,
0.014547903090715408,
0.011609568260610104,
0.07432998716831207,
0.022212734445929527,
0.06351117044687271,
-0.025699198246002197,
-0.03173761069774628,
-0.034702904522418976,
0.07555205374956131,
0.022518249228596687,
-0.03222284093499184,
-0.019678756594657898,
-0.005692462436854839,
0.013379757292568684,
-0.07483319193124771,
-0.044425468891859055,
-0.027208801358938217,
0.007696281187236309,
0.06149836257100105,
-0.013388743624091148,
-0.048810508102178574,
0.0049466462805867195,
-0.005126361269503832,
0.006600021384656429,
0.014997189864516258,
0.021943161264061928,
-0.009116026572883129,
-0.036230478435754776,
0.08216555416584015,
0.022662021219730377,
0.037272825837135315,
-0.022877678275108337,
0.026579800993204117,
-0.0009064358891919255,
-0.006716836243867874,
-0.07213747501373291,
0.009893292561173439,
-0.042448606342077255,
0.06020441651344299,
-0.011052452959120274,
-0.034073904156684875,
-0.010791866108775139,
-0.07220935821533203,
-0.023866109549999237,
0.046977415680885315,
0.046761758625507355,
-0.041801635175943375,
-0.003926765639334917,
0.007700773887336254,
0.011043466627597809,
0.05161405727267265,
0.0012063347967341542,
-0.022697964683175087,
0.020056158304214478,
-0.004353587981313467,
0.030317865312099457,
-0.032420527189970016,
-0.042089179158210754,
-0.002551948418840766,
-0.043347179889678955,
0.010073008015751839,
0.017827695235610008,
-0.030946867540478706,
0.002700213110074401,
-0.05833538621664047,
0.042843978852033615,
-0.035188134759664536,
-0.041550032794475555,
-0.017989439889788628,
-0.06329550594091415,
-0.07073570042848587,
0.06965740770101547,
-0.00036616864963434637,
-0.038027625530958176,
-0.031036725267767906,
0.022446364164352417,
0.03464898839592934,
0.022985506802797318,
-0.010064021684229374,
-0.019642814993858337,
-0.013990787789225578,
0.08051217347383499,
0.035655390471220016,
-0.036122649908065796,
0.013873972930014133,
-0.044425468891859055,
-0.009435020387172699,
-0.01697405055165291,
0.049780964851379395,
-0.042484547942876816,
-0.033426929265260696,
0.001096259569749236,
-0.0023699873127043247,
-0.050427939742803574,
0.011564639396965504,
0.039860714226961136,
-0.019984271377325058,
-0.026076599955558777,
-0.09251711517572403,
-0.023614509031176567,
0.026813430711627007,
0.020487472414970398,
0.018798155710101128,
0.08417835831642151,
-0.043562836945056915,
0.014907332137227058,
0.07792428135871887,
0.013739187270402908,
0.011214195750653744,
-0.06627877056598663,
0.014161516912281513,
-0.043203409761190414,
-0.052045371383428574,
0.024764683097600937,
0.003980679903179407,
0.05574749410152435,
0.018205096945166588,
0.050787366926670074,
-0.044030096381902695,
-0.008266875520348549,
0.024782653898000717,
-0.030641352757811546,
0.039069969207048416,
0.023866109549999237,
0.08626304566860199,
-0.05880264192819595,
-0.039645057171583176,
-0.006240592338144779,
-0.015455462038516998,
-0.040615517646074295,
-0.005553183611482382,
-0.013550486415624619,
0.017180724069476128,
-0.026687629520893097,
0.021080531179904938,
-0.005638548173010349,
-0.006824664771556854,
0.049924738705158234,
-0.050571709871292114,
0.016758393496274948,
0.043958209455013275,
-0.011798268184065819,
0.012148711830377579,
-0.043383121490478516,
0.001785914646461606,
-0.002646298613399267,
0.0006014825776219368,
-0.021799391135573387,
0.008621811866760254,
-0.024135680869221687,
-0.0015781194670125842,
-0.0032775464933365583,
0.047444675117731094,
-0.015194876119494438,
-0.0007194203208200634,
-0.0020363919902592897,
0.03303155675530434,
-0.023722337558865547,
-0.06904637813568115,
-0.005984498653560877,
0.0027114450931549072,
0.0039043014403432608,
0.025789055973291397,
0.034199703484773636,
0.027406487613916397,
-0.06954958289861679,
0.038530826568603516,
0.048091646283864975,
0.024962369352579117,
0.003598786424845457,
0.040903061628341675,
-0.008172525092959404,
0.016443893313407898,
0.038962140679359436,
0.024441195651888847,
0.06671008467674255,
0.021044589579105377,
0.055388063192367554,
0.0077591813169419765,
-0.017342466861009598,
0.025321798399090767,
-0.021332131698727608,
0.08964168280363083,
0.023722337558865547,
0.05664606764912605,
-0.025717170909047127,
-0.039285629987716675,
-0.049601249396800995,
0.012364369817078114,
0.033624615520238876,
0.016713464632630348,
0.027496345341205597,
0.045683469623327255,
0.015877792611718178,
-0.009569806978106499,
0.017558123916387558,
0.037416595965623856,
-0.007822081446647644,
-0.06893855333328247,
-0.042304836213588715,
-0.040435802191495895,
0.003329214407131076,
0.037200938910245895,
-0.08288440853357315,
-0.015850834548473358,
-0.022967536002397537,
0.035493649542331696,
-0.004009883850812912,
0.035116247832775116,
0.06771649420261383,
-0.0012040883302688599,
0.0042861951515078545,
-0.037093110382556915,
-0.005508254747837782,
0.050320111215114594,
0.0020712115801870823,
-0.009659663774073124,
-0.005562169477343559,
-0.05959338694810867,
-0.021224303171038628,
0.053483087569475174,
0.07533638924360275,
-0.0004812983679585159,
0.003405593102797866,
0.027460401877760887,
0.046006958931684494,
0.001807255670428276,
-0.048882391303777695,
0.07706165313720703,
0.004090755246579647,
0.041442204266786575,
0.10912275314331055,
-0.052872058004140854,
0.008446590043604374,
0.058910470455884933,
-0.012157698161900043,
0.062145333737134933,
-0.030120179057121277,
-0.10617543011903763,
-0.024081766605377197,
0.033588673919439316,
-0.018798155710101128,
-0.043347179889678955,
0.034918561577796936,
-0.015087047591805458,
-0.013820058666169643,
-0.023237107321619987,
-0.07483319193124771,
-0.033588673919439316,
0.009785464033484459,
-0.0017937771044671535,
0.032761987298727036,
-0.011106367222964764,
-0.050104450434446335,
0.07357519119977951,
0.0034258109517395496,
-0.10768503695726395,
0.06796809285879135,
0.036302365362644196,
0.03464898839592934,
0.041334375739097595,
0.00008459226228296757,
-0.026687629520893097,
0.034181732684373856,
0.027496345341205597,
-0.045144326984882355,
-0.027640117332339287,
0.07375490665435791,
0.046653930097818375,
-0.018151182681322098,
0.009196898899972439,
-0.06329550594091415,
-0.05617880821228027,
-0.032294727861881256,
0.0029226099140942097,
-0.018834097310900688,
-0.004441198892891407,
0.05905424430966377,
-0.003630236489698291,
-0.030317865312099457,
0.005674491170793772,
-0.0037403118330985308,
-0.034343473613262177,
-0.025231940671801567,
-0.06232504919171333,
-0.046222615987062454,
-0.015886778011918068,
-0.004346848931163549,
-0.005072447005659342,
-0.023955967277288437,
-0.009641692042350769,
0.002628327114507556,
-0.052548572421073914,
-0.0009597886819392443,
0.043886322528123856,
-0.07447376102209091,
0.05930584296584129,
0.041801635175943375,
-0.033013585954904556,
-0.017171736806631088,
-0.051506225019693375,
0.023255079984664917,
0.05574749410152435,
0.005638548173010349,
0.010414465330541134,
0.007970346137881279,
0.030335837975144386,
0.015239804983139038,
-0.019373241811990738,
-0.06681791692972183,
-0.06847129017114639,
-0.01697405055165291,
-0.022428391501307487,
-0.010953609831631184,
-0.027406487613916397,
0.0010445915395393968,
-0.034289561212062836,
-0.0007705267053097486,
-0.018959898501634598,
0.010099965147674084,
0.036230478435754776,
-0.0077816457487642765,
-0.021026616916060448,
-0.054201945662498474,
-0.012364369817078114,
0.022805793210864067,
0.028916090726852417,
0.07069975137710571,
0.05977310240268707,
0.037344709038734436,
-0.061642132699489594,
0.019984271377325058,
-0.021224303171038628,
0.038674600422382355,
-0.017153766006231308,
-0.013640344142913818,
-0.027172859758138657,
0.007646859623491764,
0.022895649075508118,
0.012732785195112228,
-0.032186899334192276,
0.0006587665993720293,
0.019175555557012558,
-0.01591373421251774,
-0.017441309988498688,
0.057005494832992554,
0.00791193824261427,
-0.015455462038516998,
-0.019103670492768288,
-0.023830166086554527,
-0.009641692042350769,
-0.050643596798181534,
-0.016255192458629608,
-0.011241152882575989,
-0.07368301600217819,
-0.005935077089816332,
-0.10675051808357239,
0.043383121490478516,
-0.012804671190679073,
0.023165222257375717,
-0.0014725371729582548,
0.050751425325870514,
0.002967538544908166,
-0.013721215538680553,
0.0000825564275146462,
-0.020864874124526978,
0.036715708673000336,
0.0006531505496241152,
0.013379757292568684,
-0.07411433011293411,
0.06182184815406799,
-0.050248224288225174,
0.010055036284029484,
-0.002228461904451251,
0.005283611360937357,
0.008163539692759514,
-0.021062560379505157,
0.05779623985290527,
-0.029239578172564507,
-0.011187238618731499,
-0.020361673086881638,
0.021188359707593918,
-0.014269345439970493,
0.035817135125398636,
-0.01651577837765217,
0.039681002497673035,
0.06297202408313751,
0.012157698161900043,
-0.029616978019475937,
0.034577105194330215,
-0.023003479465842247,
-0.013334829360246658,
-0.009965178556740284,
0.009650678373873234,
-0.054166004061698914,
0.013613387010991573,
-0.045827243477106094,
0.010728966444730759,
-0.003306749975308776,
-0.11494550853967667,
-0.021152418106794357,
0.049852851778268814,
0.023434793576598167,
-0.039537228643894196,
0.03384027257561684,
0.0009597886819392443,
0.010360551066696644,
-0.007134672719985247,
0.040974944829940796,
-0.017719866707921028,
0.004227787721902132,
0.010324608534574509,
0.03233066946268082,
0.029041891917586327,
0.027208801358938217,
0.07037626951932907,
0.006065370514988899,
0.029886551201343536,
-0.010046050883829594,
-0.0316297821700573,
-0.005135347135365009,
0.0036841509863734245,
-0.033732444047927856,
0.014467031694948673,
0.008415140211582184,
-0.021727504208683968,
0.019517013803124428,
-0.03213298320770264,
0.008900369517505169,
-0.021332131698727608,
-0.015904748812317848,
0.040292032063007355,
0.017459280788898468,
-0.05502863600850105,
-0.045503757894039154,
0.015644162893295288,
0.024045823141932487,
0.00047118941438384354,
-0.039788831025362015,
0.039501287043094635,
0.0019600132945924997,
0.025106141343712807,
-0.034846674650907516,
-0.011762325651943684,
-0.05233291536569595,
-0.041585978120565414,
0.027927661314606667,
0.003446029033511877,
0.014745589345693588,
0.004009883850812912,
0.024027852341532707,
0.00029035151237621903,
0.021691560745239258,
-0.009704592637717724,
-0.015239804983139038,
0.041334375739097595,
0.044892728328704834,
-0.0020947991870343685,
0.010369536466896534,
0.0053465114906430244,
0.030641352757811546,
0.014431088231503963,
0.030821066349744797,
0.040795233100652695,
-0.045827243477106094,
-0.0008221946773119271,
0.036949336528778076,
0.023488707840442657,
0.017423337325453758,
0.030569465830922127
] |
5,651 | flask_bower | bower_url_for |
DEPRECATED
This function provides backward compatibility - please migrate to the approach using "bower.static"
:param component: bower component (package)
:type component: str
:param filename: filename in bower component - can contain directories (like dist/jquery.js)
:type filename: str
:param values: additional url parameters
:type values: dict[str, str]
:return: url
:rtype: str
| def bower_url_for(component, filename, **values):
"""
DEPRECATED
This function provides backward compatibility - please migrate to the approach using "bower.static"
:param component: bower component (package)
:type component: str
:param filename: filename in bower component - can contain directories (like dist/jquery.js)
:type filename: str
:param values: additional url parameters
:type values: dict[str, str]
:return: url
:rtype: str
"""
return build_url(component, filename, **values)
| (component, filename, **values) | [
0.047743938863277435,
-0.02133425883948803,
-0.027389759197831154,
-0.034075308591127396,
0.010885898023843765,
-0.01735268160700798,
-0.03232516720890999,
0.025709619745612144,
0.03309522941708565,
0.011270929127931595,
-0.004668510053306818,
0.02315440960228443,
-0.008107543922960758,
0.01620633713901043,
0.024502020329236984,
0.023171911016106606,
0.05043916031718254,
0.021001731976866722,
-0.01844652183353901,
0.01638135127723217,
0.01700265146791935,
0.009328269399702549,
-0.017956480383872986,
0.0007120899972505867,
0.005714221391826868,
0.04921405762434006,
-0.0069743250496685505,
-0.0024195746518671513,
-0.021841801702976227,
-0.08890733122825623,
0.0317126139998436,
-0.02689971774816513,
0.0512092225253582,
-0.003390904748812318,
0.02590213529765606,
0.012644792906939983,
0.04270352050662041,
0.08036662638187408,
-0.09191758185625076,
-0.02814231999218464,
0.03934324532747269,
0.005635464563965797,
0.03073253482580185,
-0.045153722167015076,
0.09058747440576553,
0.05652966350317001,
-0.05628463998436928,
0.026672199368476868,
-0.07336605340242386,
0.03594796359539032,
0.04018331319093704,
0.011489697732031345,
-0.0121109988540411,
-0.020634202286601067,
-0.023906972259283066,
0.05439448729157448,
0.02339942939579487,
0.04287853464484215,
0.030855044722557068,
0.09583790600299835,
-0.026917219161987305,
-0.037698108702898026,
0.009695800021290779,
-0.030960053205490112,
0.0015860683051869273,
0.027599776163697243,
0.012251010164618492,
-0.01809649169445038,
-0.012548535130918026,
0.0400082990527153,
0.056179631501436234,
0.06552540510892868,
0.017903976142406464,
-0.03615798056125641,
0.02038918063044548,
-0.04130340740084648,
0.07154589891433716,
-0.021106740459799767,
0.01635509915649891,
-0.002957743825390935,
-0.026024647057056427,
-0.08645713329315186,
0.004992286674678326,
-0.0782664567232132,
0.0005228556110523641,
-0.023766960948705673,
-0.02598964422941208,
-0.06818562000989914,
0.012662294320762157,
0.025324588641524315,
-0.06734555214643478,
0.017282675951719284,
-0.019969146698713303,
-0.038993217051029205,
0.04651883617043495,
-0.047568924725055695,
-0.012084746733307838,
0.028072314336895943,
0.04914405196905136,
0.010465863160789013,
0.08253680914640427,
-0.03190512955188751,
-0.027617277577519417,
-0.00732872961089015,
0.012391021475195885,
-0.01676638238132,
0.027302252128720284,
0.038293156772851944,
-0.033637773245573044,
-0.026777207851409912,
0.002592401346191764,
0.008444446139037609,
-0.006479909177869558,
-0.042948540300130844,
0.0077356379479169846,
0.016635121777653694,
-0.009704550728201866,
0.001057743444107473,
0.05904987081885338,
0.010395857505500317,
-0.06636547297239304,
0.023871969431638718,
-0.052784353494644165,
-0.019514109939336777,
0.04417364299297333,
-0.01623258925974369,
-0.06601544469594955,
-0.00516292592510581,
0.015900060534477234,
-0.02478204295039177,
0.008466322906315327,
0.04487369954586029,
-0.06269016861915588,
-0.04249350354075432,
0.03237767145037651,
0.010019576177001,
-0.004699137527495623,
0.029594941064715385,
0.04224848374724388,
0.12188005447387695,
0.003935636952519417,
-0.023259418085217476,
-0.015217505395412445,
0.03895821422338486,
0.05330939590930939,
-0.027862297371029854,
0.021001731976866722,
-0.009923318400979042,
-0.0381881482899189,
0.0155850350856781,
0.029944969341158867,
0.0660504475235939,
0.03836316242814064,
0.02082671783864498,
-0.012898563407361507,
-0.03146759420633316,
0.020721709355711937,
-0.03337525203824043,
0.0006426311447285116,
-0.017107659950852394,
0.04686886444687843,
0.042738523334264755,
0.028719868510961533,
0.044383659958839417,
0.0024151992984116077,
0.023206913843750954,
0.023609446361660957,
0.050754185765981674,
0.025937138125300407,
-0.03090754896402359,
0.018936561420559883,
-0.004220035392791033,
-0.013336099684238434,
0.013222340494394302,
0.022961894050240517,
-0.004139091353863478,
0.019461605697870255,
-0.03580795228481293,
0.03741808608174324,
-0.024904554709792137,
0.011577204801142216,
0.005456075072288513,
0.01944410428404808,
0.023871969431638718,
-0.002236903179436922,
-0.03309522941708565,
-0.013143584132194519,
0.006790560204535723,
0.02763477899134159,
-0.01779896765947342,
-0.05992494150996208,
0.008269432000815868,
0.014596203342080116,
0.03225516155362129,
0.04816397279500961,
-0.07959656417369843,
0.06580542773008347,
0.006313645746558905,
0.012986071407794952,
0.039168231189250946,
0.01655636541545391,
-0.013869893737137318,
-0.020966729149222374,
0.03285020962357521,
0.021316757425665855,
-0.02654968947172165,
0.049809109419584274,
-0.04165343567728996,
0.0614650696516037,
0.02112424187362194,
-0.00042933228542096913,
0.008068165741860867,
-0.053169384598731995,
0.003756247228011489,
-0.013353601098060608,
0.005736098159104586,
-0.025359591469168663,
0.01010708324611187,
-0.010912150144577026,
0.02297939546406269,
-0.014456192031502724,
-0.058209799230098724,
0.06906069815158844,
-0.00014151557115837932,
0.01062337588518858,
-0.008387566544115543,
0.05218930542469025,
0.004412551410496235,
-0.030715033411979675,
0.01935659721493721,
-0.007420612033456564,
0.013362351804971695,
0.08470698446035385,
0.01726517453789711,
0.04543374851346016,
-0.057054705917835236,
-0.03202764317393303,
0.018341513350605965,
0.03185262531042099,
0.0251320730894804,
-0.004576627630740404,
0.004003455396741629,
0.01935659721493721,
0.026007145643234253,
0.03215015307068825,
-0.013458609580993652,
0.005202304106205702,
0.05176926776766777,
0.0018617160385474563,
-0.038818202912807465,
0.01144594419747591,
0.04872401803731918,
-0.04340358078479767,
0.020196665078401566,
-0.03710306063294411,
-0.011839726008474827,
-0.0012141626793891191,
-0.03029499761760235,
0.011813473887741566,
0.04455867409706116,
-0.054289478808641434,
-0.07280600070953369,
0.004996662028133869,
-0.02171929180622101,
-0.005569834262132645,
-0.09331769496202469,
-0.010168338194489479,
0.008562581613659859,
-0.011297181248664856,
0.09205759316682816,
-0.010807141661643982,
-0.0020345428492873907,
-0.013484861701726913,
-0.040883373469114304,
0.005530456081032753,
-0.010255846194922924,
0.026024647057056427,
-0.013808638788759708,
0.04798895865678787,
-0.02987496368587017,
-0.04315856099128723,
-0.029367422685027122,
-0.013913647271692753,
0.06129005551338196,
-0.03292021527886391,
-0.008685091510415077,
0.028614860028028488,
0.0006595856393687427,
0.0014318368630483747,
0.0181489959359169,
0.05992494150996208,
0.008208177052438259,
-0.04154842719435692,
-0.004180657211691141,
-0.03853817656636238,
-0.02056419663131237,
0.03745308890938759,
-0.0142024215310812,
0.050579171627759933,
-0.0034193445462733507,
-0.0437186062335968,
-0.006248015444725752,
-0.027652280405163765,
0.03386529162526131,
-0.07378608733415604,
-0.0022150264121592045,
0.014193670824170113,
-0.06962074339389801,
-0.036052972078323364,
0.03370777890086174,
0.028124818578362465,
-0.032692696899175644,
0.04154842719435692,
0.04448866844177246,
0.017807718366384506,
0.015208754688501358,
-0.01150719914585352,
-0.009170756675302982,
0.019164079800248146,
0.01926908828318119,
0.0011058724485337734,
0.055969614535570145,
-0.012959818355739117,
-0.014097413048148155,
-0.07154589891433716,
0.018761547282338142,
-0.0012907314812764525,
0.03654301539063454,
-0.012093497440218925,
-0.013301096856594086,
0.014158667996525764,
0.0400082990527153,
0.0109296515583992,
-0.02999747358262539,
-0.00941577646881342,
-0.01168221328407526,
0.038993217051029205,
-0.03986828774213791,
0.02082671783864498,
-0.003460910404101014,
0.03780311718583107,
-0.00875072181224823,
-0.03556293249130249,
0.0185865331441164,
-0.08295684307813644,
0.0007202937849797308,
-0.02030167356133461,
-0.02884237840771675,
0.003764997934922576,
-0.07308603078126907,
-0.010465863160789013,
0.008693842217326164,
-0.02607715129852295,
0.033602770417928696,
-0.016722628846764565,
0.04469868540763855,
0.03647300973534584,
-0.0021198622416704893,
0.0026908470317721367,
0.022139325737953186,
-0.07000577449798584,
-0.06398527324199677,
0.0071012107655406,
-0.012067245319485664,
0.028264831751585007,
0.021019233390688896,
0.03619298338890076,
-0.017833970487117767,
0.010360854677855968,
-0.009004492312669754,
-0.0069830757565796375,
0.05995994433760643,
0.06304019689559937,
-0.02633967250585556,
-0.024414513260126114,
-0.06899069249629974,
0.034075308591127396,
-0.03162510693073273,
0.03608797490596771,
0.002371445531025529,
-0.02892988547682762,
-0.0011140762362629175,
0.03647300973534584,
0.012968569062650204,
0.010150836780667305,
-0.007744388654828072,
0.033602770417928696,
-0.01064962800592184,
-0.039553262293338776,
-0.06013495847582817,
0.009888315573334694,
-0.0708458423614502,
-0.014666209928691387,
0.039938293397426605,
-0.024292003363370895,
-0.1041685938835144,
0.0024108237121254206,
-0.022139325737953186,
0.00038585212314501405,
-0.00523730693385005,
-0.010247095488011837,
-0.027862297371029854,
-0.006598044186830521,
0.034810371696949005,
0.032867711037397385,
-0.04350858926773071,
0.03836316242814064,
0.035877957940101624,
0.01823650486767292,
-0.016346348449587822,
-0.0781264454126358,
0.026829712092876434,
-0.10143836587667465,
-0.023591944947838783,
0.07000577449798584,
-0.001412147656083107,
-0.05691469460725784,
-0.07497618347406387,
-0.01752769574522972,
-0.03300772234797478,
0.0023823839146643877,
-0.051279228180646896,
0.024081986397504807,
0.029192406684160233,
0.020231667906045914,
0.009275765158236027,
0.04494370520114899,
-0.021964311599731445,
0.004007830750197172,
0.0659804418683052,
-0.0035462300293147564,
-0.024904554709792137,
-0.06594543904066086,
-0.055794600397348404,
0.06360024213790894,
-0.016136331483721733,
0.04109339043498039,
-0.0010090676369145513,
0.010859645903110504,
-0.05103420838713646,
-0.050579171627759933,
-0.008903859183192253,
0.008903859183192253,
0.0056442152708768845,
-0.05162925645709038,
0.028562355786561966,
-0.006116754375398159,
-0.06703052669763565,
-0.021001731976866722,
-0.05439448729157448,
-0.02693472057580948,
0.003944387659430504,
0.02245435118675232,
-0.03180012106895447,
-0.009100750088691711,
-0.0763762965798378,
-0.060765013098716736,
-0.0502641461789608,
0.02465953305363655,
-0.006296144332736731,
0.011095914989709854,
-0.010667129419744015,
0.06941072642803192,
-0.01122717559337616,
-0.03311273083090782,
-0.03169511258602142,
0.023171911016106606,
0.005044790916144848,
0.008230053819715977,
0.032832708209753036,
-0.0047822692431509495,
-0.0036599894519895315,
0.010247095488011837,
0.041233401745557785,
-0.027144739404320717,
0.05022914335131645,
-0.023294420912861824,
0.0446636825799942,
0.004756017122417688,
-0.06332021951675415,
-0.06055499240756035,
0.012601039372384548,
-0.029034893959760666,
0.07102085649967194,
0.04557375982403755,
0.023206913843750954,
-0.020704207941889763,
0.013274844735860825,
0.030189989134669304,
0.005714221391826868,
-0.01523500680923462,
-0.0016254466027021408,
-0.01741393655538559,
0.03300772234797478,
-0.003905009478330612,
0.042353492230176926,
0.037873122841119766,
0.014622455462813377,
-0.010859645903110504,
-0.014814971946179867,
0.028212327510118484,
-0.03776811435818672,
0.05974992737174034,
0.014018655754625797,
-0.03302522376179695,
-0.035545431077480316,
0.0007066207472234964,
0.06258516013622284,
0.0016035697190091014,
-0.010168338194489479,
0.02159678190946579,
0.03029499761760235,
0.0586298368871212,
0.06279517710208893,
0.03794312849640846,
-0.05183927342295647,
-0.020266670733690262,
0.013843641616404057,
0.00904824584722519,
0.015628788620233536,
0.02633967250585556,
-0.026654697954654694,
0.03986828774213791,
-0.007547497283667326,
-0.021194247528910637,
0.00239769765175879,
0.02595464140176773,
-0.02189430594444275,
-0.010124584659934044,
0.040533341467380524,
-0.00785377249121666,
0.009888315573334694,
0.03055752068758011,
0.025639614090323448,
0.004843524657189846,
0.0015915374970063567,
0.03531791269779205,
-0.02038918063044548,
-0.07504618912935257,
0.02198181301355362,
0.007801268249750137,
-0.0021515837870538235,
0.04175844416022301,
-0.07245597243309021,
-0.03643800690770149,
-0.014849974773824215,
-0.06220012903213501,
-0.016993900761008263,
0.09254763275384903,
-0.06178009510040283,
0.035580433905124664,
0.017632704228162766,
0.0035506053827703,
-0.004878527484834194,
0.022209331393241882,
0.007284975610673428,
-0.07840646803379059,
0.0174751915037632,
-0.0381181426346302,
0.000048983532906277105,
-0.04091837629675865,
0.01897156424820423,
-0.03759310021996498,
0.0274947676807642,
0.009844562038779259,
0.028422344475984573,
0.043473586440086365,
-0.040148310363292694,
-0.015681292861700058,
-0.030207490548491478,
0.02612965553998947,
0.08862730860710144,
-0.006781809497624636,
-0.016398852691054344,
-0.014919980429112911,
0.008033162914216518,
0.08169674128293991,
-0.08617711067199707,
0.06920070946216583,
-0.00950328353792429,
-0.05362442135810852,
-0.012907314114272594,
-0.0381881482899189,
0.03521290421485901,
-0.010675880126655102,
-0.01995164528489113,
-0.00876384787261486,
0.02156177908182144,
0.022086821496486664,
-0.08449696749448776,
0.020354177802801132,
-0.030715033411979675,
-0.03153759986162186,
-0.029192406684160233,
0.002697410061955452,
0.0016145081026479602,
-0.06629546731710434,
-0.009617042727768421,
0.0371730662882328,
0.026742205023765564,
0.007508119102567434,
0.007503743749111891,
-0.01541002094745636,
0.05173426494002342,
0.028422344475984573,
0.006755556911230087,
0.01611883006989956,
-0.03668302670121193,
-0.05488452687859535,
0.02115924470126629,
-0.0028986765537410975,
0.007831895723938942,
-0.00040171280852518976,
0.026094652712345123,
-0.012942316941916943,
-0.02000414952635765,
0.0005223086918704212,
-0.011375938542187214,
-0.032605189830064774,
0.017833970487117767,
0.0018792174523696303,
0.029209908097982407,
0.003878757357597351,
0.06902569532394409,
-0.016005070880055428,
-0.0632152110338211,
0.0010424297070130706,
0.028474848717451096,
-0.02966494672000408,
0.06090502440929413,
0.0015466900076717138,
-0.013196088373661041,
0.04872401803731918,
-0.02318941242992878,
-0.02297939546406269,
-0.03923823684453964,
0.014149917289614677,
0.02017916366457939,
-0.022559359669685364,
0.01541002094745636,
-0.01187472976744175,
-0.009109501726925373,
-0.03591296076774597,
-0.019689124077558517,
0.01228601299226284,
0.03246517851948738,
-0.01506874244660139,
-0.01691514439880848,
-0.021194247528910637,
-0.06426530331373215,
0.03969327360391617,
-0.00935452152043581,
0.03029499761760235,
0.048689015209674835,
0.017431437969207764,
0.028089815750718117,
0.05089419707655907,
-0.02590213529765606,
0.046098802238702774,
0.02082671783864498,
-0.004970409907400608,
-0.03706805780529976,
0.06832563132047653,
-0.004900404252111912,
-0.06108003854751587,
-0.029104899615049362,
0.05831480771303177,
-0.07903651893138885,
-0.08533703535795212,
-0.029332419857382774,
0.02569211833178997,
0.02969994954764843,
-0.026987224817276,
-0.0780564397573471,
0.00591548765078187,
-0.024502020329236984,
-0.04399862885475159,
0.03619298338890076,
0.006226138677448034,
-0.009091999381780624,
0.048303984105587006,
-0.04154842719435692,
-0.006182384677231312,
0.005806103814393282,
0.042913537472486496,
0.011524700559675694,
0.014517446979880333,
0.005092919804155827,
-0.03388279303908348,
0.011087164282798767,
0.010850895196199417,
0.007656881585717201,
-0.08141671121120453,
-0.017457690089941025,
-0.032272662967443466,
0.028474848717451096,
0.06353023648262024,
-0.016897642984986305,
0.08064664900302887,
-0.001509499503299594,
0.07060082256793976,
0.03533541411161423,
0.037138063460588455,
0.03762810304760933,
0.005456075072288513,
0.01116592064499855,
0.02710973657667637,
-0.0762362852692604,
-0.06829062849283218,
-0.03421531990170479,
-0.022699372842907906,
-0.02465953305363655,
-0.03533541411161423,
-0.005049166269600391,
0.03073253482580185,
-0.050159137696027756,
-0.07469616085290909,
-0.0053598168306052685,
-0.02250685542821884,
-0.01446494273841381,
0.019251586869359016,
-0.06020496413111687,
0.030400007963180542,
-0.007586875464767218,
0.07154589891433716,
-0.0041959709487855434,
-0.03594796359539032,
0.013957400806248188,
-0.0014252738328650594,
0.03309522941708565,
0.00911825243383646,
0.018901558592915535,
-0.00069240084849298,
-0.0036162356846034527,
0.040883373469114304,
-0.022524356842041016,
-0.0027936678379774094,
-0.047183889895677567,
-0.008400692604482174,
0.02082671783864498,
0.02224433422088623,
-0.016906393691897392,
-0.03643800690770149,
-0.04781394451856613,
0.05974992737174034,
-0.00917950738221407,
-0.018219003453850746,
0.017991483211517334,
-0.01688014157116413,
-0.026234664022922516,
0.007070583291351795,
0.0016035697190091014,
-0.03341025486588478,
0.017081407830119133,
0.03682303801178932,
-0.09996824711561203,
0.008129420690238476,
0.003631549421697855,
-0.0381181426346302,
-0.03738308325409889,
-0.04487369954586029,
0.038258153945207596,
0.06300519406795502,
-0.03335775062441826,
0.028737369924783707,
0.06825562566518784,
-0.03832815960049629,
-0.03477536886930466
] |
5,652 | flask_bower | build_url |
search bower asset and build url
:param component: bower component (package)
:type component: str
:param filename: filename in bower component - can contain directories (like dist/jquery.js)
:type filename: str
:param values: additional url parameters
:type values: dict[str, str]
:return: url
:rtype: str | None
| def build_url(component, filename, **values):
"""
search bower asset and build url
:param component: bower component (package)
:type component: str
:param filename: filename in bower component - can contain directories (like dist/jquery.js)
:type filename: str
:param values: additional url parameters
:type values: dict[str, str]
:return: url
:rtype: str | None
"""
root = current_app.config['BOWER_COMPONENTS_ROOT']
bower_data = None
package_data = None
# check if component exists in bower_components directory
if not os.path.isdir(os.path.join(current_app.root_path, root, component)):
# FallBack to default url_for flask
return None
# load bower.json of specified component
bower_file_path = os.path.join(current_app.root_path, root, component, '.bower.json')
if os.path.exists(bower_file_path):
with open(bower_file_path, 'r') as bower_file:
bower_data = json.load(bower_file)
# check if package.json exists and load package.json data
package_file_path = os.path.join(current_app.root_path, root, component, 'package.json')
if os.path.exists(package_file_path):
with open(package_file_path, 'r') as package_file:
package_data = json.load(package_file)
# check if specified file actually exists
if not os.path.exists(os.path.join(current_app.root_path, root, component, filename)):
return None
# check if minified file exists (by pattern <filename>.min.<ext>
# returns filename if successful
if current_app.config['BOWER_TRY_MINIFIED']:
if '.min.' not in filename:
minified_filename = '%s.min.%s' % tuple(filename.rsplit('.', 1))
minified_path = os.path.join(root, component, minified_filename)
if os.path.exists(os.path.join(current_app.root_path, minified_path)):
filename = minified_filename
# determine version of component and append as ?version= parameter to allow cache busting
if current_app.config['BOWER_QUERYSTRING_REVVING']:
if bower_data is not None and 'version' in bower_data:
values['version'] = bower_data['version']
elif package_data is not None and 'version' in package_data:
values['version'] = package_data['version']
else:
values['version'] = os.path.getmtime(os.path.join(current_app.root_path, root, component, filename))
return url_for('bower.serve', component=component, filename=filename, **values)
| (component, filename, **values) | [
0.08984731137752533,
-0.06813973188400269,
-0.0614067018032074,
-0.029893916100263596,
0.03125523775815964,
-0.04216421768069267,
-0.03322364017367363,
0.019408050924539566,
0.0007709180936217308,
-0.02178116701543331,
0.02902929298579693,
0.0059143961407244205,
-0.008411687798798084,
0.0045645711943507195,
0.02045663632452488,
-0.007096355780959129,
0.09205486625432968,
0.023142490535974503,
0.017605217173695564,
-0.012454265728592873,
0.013613229617476463,
0.013659220188856125,
0.003302128054201603,
0.04838215187191963,
0.027851931750774384,
0.026269853115081787,
0.034474585205316544,
0.021670790389180183,
-0.0015280389925464988,
-0.05732273310422897,
0.03169674798846245,
-0.05507839098572731,
0.06972181051969528,
0.0008364547393284738,
0.06026613339781761,
0.012113934382796288,
0.07947182655334473,
0.052981216460466385,
-0.11464546620845795,
-0.038668930530548096,
0.0370868518948555,
-0.01457903254777193,
0.03625902161002159,
-0.05408499389886856,
0.04481327906250954,
0.024467021226882935,
-0.062473684549331665,
0.052944425493478775,
-0.051509518176317215,
0.053459521383047104,
0.049154795706272125,
0.036516569554805756,
-0.001322230906225741,
0.005661447998136282,
0.008241523057222366,
0.0721869096159935,
0.015692006796598434,
0.07888314872980118,
0.025515606626868248,
0.07593974471092224,
-0.0197391826659441,
-0.0055556693114340305,
0.01679578237235546,
-0.05507839098572731,
-0.009156736545264721,
0.023308057337999344,
-0.01922408677637577,
-0.020603807643055916,
-0.035431187599897385,
0.038227420300245285,
0.042568936944007874,
0.03848496824502945,
-0.01905852183699608,
0.0013475257437676191,
0.0016349672805517912,
-0.03285571187734604,
0.055262353271245956,
-0.06026613339781761,
0.03885289281606674,
-0.021155694499611855,
0.031402409076690674,
-0.08528504520654678,
0.004847413394600153,
-0.10522658377885818,
0.04518120363354683,
-0.015747195109725,
-0.023620793595910072,
-0.03609345480799675,
0.0197391826659441,
0.02639862708747387,
-0.07601332664489746,
0.03360996022820473,
-0.009184330701828003,
0.032450996339321136,
0.034272223711013794,
-0.01905852183699608,
0.014358277432620525,
0.028459008783102036,
0.04025100916624069,
0.02711608074605465,
0.03134721890091896,
0.004139157477766275,
-0.08675674349069595,
-0.006622652057558298,
0.04142836853861809,
0.015701204538345337,
0.010301903821527958,
0.01190237794071436,
-0.03384911268949509,
-0.05073687434196472,
-0.02312409318983555,
-0.03478731960058212,
-0.02827504649758339,
-0.04702083021402359,
-0.018046727403998375,
0.02796230837702751,
-0.018681397661566734,
-0.005275126546621323,
0.06446047872304916,
-0.0111665278673172,
-0.044923655688762665,
0.022443432360887527,
-0.02181795984506607,
-0.004539276007562876,
0.09374731779098511,
-0.010761809535324574,
-0.007565460167825222,
-0.018681397661566734,
0.014882571063935757,
-0.00959364790469408,
0.013650022447109222,
0.04334158077836037,
-0.08167937397956848,
-0.03841138258576393,
0.0195368230342865,
0.0011118237162008882,
-0.06320953369140625,
0.0055280751548707485,
0.02879014052450657,
0.11354169249534607,
0.03360996022820473,
-0.021468430757522583,
-0.01606912910938263,
0.00355967553332448,
0.025258058682084084,
-0.013530446216464043,
0.031567975878715515,
-0.03281892091035843,
-0.026141079142689705,
0.028845328837633133,
0.06843407452106476,
0.03165995702147484,
0.01158964168280363,
-0.0055556693114340305,
-0.009331501089036465,
-0.03478731960058212,
-0.002407609950751066,
-0.009906384162604809,
-0.01268421858549118,
-0.01598634570837021,
0.04459252581000328,
-0.004415101371705532,
0.038227420300245285,
-0.0006179992342367768,
-0.018892955034971237,
0.025037305429577827,
-0.00940968468785286,
0.06361425668001175,
0.021155694499611855,
0.015130920335650444,
0.015443656593561172,
0.021284468472003937,
-0.042458560317754745,
0.011019357480108738,
0.0007318260613828897,
0.047683097422122955,
-0.011470065452158451,
-0.05460008978843689,
0.00517394719645381,
-0.020291069522500038,
-0.009676430374383926,
-0.021155694499611855,
-0.004769229330122471,
0.026987306773662567,
0.005712037440389395,
-0.016041535884141922,
-0.00791498925536871,
-0.005256730131804943,
0.037270814180374146,
0.0478670597076416,
-0.06067085266113281,
0.02260899916291237,
0.04095006734132767,
0.0197391826659441,
0.02512928657233715,
-0.042532142251729965,
0.056329336017370224,
-0.017375264316797256,
0.012932567857205868,
0.0002792494196910411,
-0.03752836212515831,
-0.0494491346180439,
-0.0058868019841611385,
0.03337080776691437,
0.038705721497535706,
-0.014413466677069664,
0.036590151488780975,
-0.016142714768648148,
0.07454162836074829,
0.009225722402334213,
-0.041060443967580795,
0.01778917945921421,
-0.037822701036930084,
-0.002335174707695842,
0.0014671013923361897,
-0.03281892091035843,
0.00749647431075573,
0.024798152968287468,
0.008581853471696377,
0.02369437739253044,
-0.011304499581456184,
-0.04702083021402359,
0.059162359684705734,
0.030960898846387863,
-0.028367027640342712,
-0.015618421137332916,
0.06258406490087509,
0.030887313187122345,
-0.007054964080452919,
0.025938721373677254,
-0.013374078087508678,
-0.010734215378761292,
0.13421908020973206,
0.021762771531939507,
-0.014735400676727295,
-0.06876520812511444,
-0.0031342620495706797,
0.032450996339321136,
0.007289516273885965,
-0.01457903254777193,
0.00393679877743125,
-0.007312511559575796,
0.024135887622833252,
0.008043763227760792,
0.02902929298579693,
-0.05125197023153305,
0.0167497918009758,
0.02441183105111122,
-0.011396480724215508,
-0.05894160270690918,
-0.011368886567652225,
0.06710954010486603,
-0.0018212293507531285,
-0.011479264125227928,
-0.026012305170297623,
-0.010403082706034184,
0.03039061464369297,
-0.047241587191820145,
-0.0005642476608045399,
0.03646137937903404,
-0.03855855390429497,
-0.07104633748531342,
0.011617235839366913,
-0.00510496087372303,
-0.029047688469290733,
-0.0689859613776207,
0.018295075744390488,
0.01794554851949215,
-0.04367271065711975,
0.07733786106109619,
0.03716043755412102,
0.019003331661224365,
-0.01807432249188423,
-0.037822701036930084,
-0.012021953240036964,
-0.030519388616085052,
0.030409011989831924,
-0.013852381147444248,
0.026895325630903244,
-0.01811111345887184,
-0.03848496824502945,
-0.029305236414074898,
0.03405147045850754,
0.07244445383548737,
-0.037307608872652054,
-0.0066640437580645084,
0.030924106016755104,
0.0026467612478882074,
0.0060017784126102924,
0.02667457051575184,
0.03449298068881035,
0.004100065678358078,
-0.02021748572587967,
0.005822414997965097,
-0.05088404566049576,
-0.016087526455521584,
0.04381988197565079,
0.001617720816284418,
0.048271775245666504,
-0.03603826463222504,
-0.04282648488879204,
-0.0030790732707828283,
-0.013981154188513756,
-0.006834208965301514,
-0.06894917041063309,
-0.005316517781466246,
0.035633549094200134,
-0.08955297619104385,
-0.053459521383047104,
0.033481184393167496,
0.01986795663833618,
-0.029250046238303185,
0.0709727555513382,
0.021229280158877373,
0.01591276191174984,
-0.0032906304113566875,
0.007662040647119284,
0.0005240058526396751,
0.008347300812602043,
0.032450996339321136,
0.002250092104077339,
0.05805858597159386,
-0.0067422278225421906,
0.010614640079438686,
-0.04209063574671745,
0.017844367772340775,
0.012822190299630165,
0.04702083021402359,
0.008402490057051182,
0.014854976907372475,
-0.035100057721138,
0.053459521383047104,
0.015250496566295624,
-0.010117940604686737,
0.014864174649119377,
-0.019996730610728264,
0.005827014334499836,
-0.09345298260450363,
0.01846984028816223,
-0.028826933354139328,
0.05047932639718056,
-0.031917504966259,
-0.045880261808633804,
0.03885289281606674,
-0.07347464561462402,
-0.015167713165283203,
0.043930258601903915,
-0.0032906304113566875,
-0.015646016225218773,
-0.07159823179244995,
0.02093493938446045,
0.014946958050131798,
-0.031567975878715515,
0.04175950214266777,
0.00008098663965938613,
-0.0029365024529397488,
-0.017338471487164497,
-0.0018994134152308106,
0.011755207553505898,
0.03688449412584305,
-0.06228972226381302,
-0.03083212487399578,
-0.0279255174100399,
0.007229728624224663,
0.032009486109018326,
-0.012408275157213211,
0.0307033509016037,
0.009234920144081116,
0.013006152585148811,
-0.052392538636922836,
0.029452405869960785,
0.056329336017370224,
0.03568873554468155,
-0.06228972226381302,
-0.022001922130584717,
-0.04477648809552193,
0.018892955034971237,
-0.057175565510988235,
0.006774421315640211,
0.0109641682356596,
-0.0418698787689209,
0.0518406480550766,
0.01807432249188423,
0.010237516835331917,
-0.008177136071026325,
-0.012058746069669724,
0.03234061971306801,
-0.03852175921201706,
-0.0430840328335762,
-0.034125056117773056,
0.014441060833632946,
-0.04981706291437149,
-0.018442247062921524,
0.07134068012237549,
-0.029010895639657974,
-0.06644728034734726,
0.034235432744026184,
-0.005610858090221882,
0.007257323246449232,
0.011939169839024544,
0.029967501759529114,
-0.027428817003965378,
0.008646240457892418,
0.05320197343826294,
0.02137644961476326,
-0.058205753564834595,
0.051987819373607635,
0.03955195099115372,
0.008765815757215023,
0.021983526647090912,
-0.10684545338153839,
-0.010145534761250019,
-0.10500583052635193,
-0.051546309143304825,
0.014680212363600731,
0.013981154188513756,
-0.016501441597938538,
-0.038779307156801224,
-0.0021397145465016365,
-0.03239580616354942,
0.013769597746431828,
-0.023547207936644554,
0.058168962597846985,
0.019886352121829987,
0.0019821966998279095,
0.023841548711061478,
0.04525478929281235,
-0.01905852183699608,
-0.04900762438774109,
0.04381988197565079,
0.03793308138847351,
-0.010918177664279938,
-0.0845491960644722,
-0.06626331806182861,
0.059051983058452606,
-0.025350041687488556,
0.021155694499611855,
-0.023105697706341743,
0.03386750817298889,
-0.04610101878643036,
-0.05147272348403931,
0.02041984349489212,
0.00711935106664896,
0.024264661595225334,
-0.045769885182380676,
0.0223330557346344,
-0.01627148874104023,
-0.02544202283024788,
0.00033400702523067594,
-0.07358502596616745,
-0.026619382202625275,
-0.01352124847471714,
-0.007666639517992735,
-0.0466529056429863,
-0.01306134182959795,
-0.07432087510824203,
-0.013585635460913181,
-0.0110653480514884,
-0.0005217063007876277,
-0.006825011223554611,
0.011920774355530739,
-0.010862989351153374,
0.09654355049133301,
0.036958079785108566,
-0.030133066698908806,
-0.017531631514430046,
0.042568936944007874,
0.007680437061935663,
0.0029824930243194103,
0.04698403924703598,
0.002465098397806287,
-0.030813729390501976,
0.018055925145745277,
0.033922694623470306,
-0.012454265728592873,
0.04072931036353111,
-0.0072251297533512115,
0.033554770052433014,
0.019573615863919258,
-0.04518120363354683,
-0.06122273951768875,
0.02820146083831787,
-0.04794064164161682,
0.07284917682409286,
0.011644829995930195,
-0.018525030463933945,
0.0035182840656489134,
-0.005118758417665958,
0.02895570732653141,
0.002892811316996813,
-0.06287840008735657,
0.006962982937693596,
-0.008434683084487915,
0.03719722852110863,
-0.016538234427571297,
0.06287840008735657,
0.016455451026558876,
0.01966559700667858,
0.019720787182450294,
-0.03521043434739113,
0.011635632254183292,
-0.02595711685717106,
0.032598163932561874,
0.02448541671037674,
-0.03521043434739113,
-0.0817529633641243,
-0.018525030463933945,
0.008844000287353992,
-0.016768187284469604,
-0.0013314289972186089,
-0.009722420945763588,
-0.0020960234105587006,
0.01726488582789898,
0.06747746467590332,
0.020199088379740715,
-0.023105697706341743,
-0.010274308733642101,
0.03762034326791763,
0.02748400717973709,
0.01507573202252388,
0.03454816713929176,
-0.005863806698471308,
0.05838971585035324,
-0.04595384746789932,
0.0028146272525191307,
-0.020677391439676285,
0.04760951176285744,
-0.04047176241874695,
0.010761809535324574,
0.05448970943689346,
-0.05169348046183586,
0.01140567846596241,
0.027263252064585686,
0.015508043579757214,
0.028311837464571,
-0.0033274227753281593,
0.021597204729914665,
-0.028771745041012764,
-0.0721869096159935,
-0.016409460455179214,
0.008434683084487915,
-0.007666639517992735,
0.06287840008735657,
-0.06416614353656769,
-0.0674038827419281,
0.020033523440361023,
-0.018929747864603996,
-0.0026191668584942818,
0.03384911268949509,
-0.07034728676080704,
-0.0083748959004879,
0.03736279532313347,
0.03438260406255722,
0.01926087960600853,
0.01719130203127861,
-0.041575539857149124,
-0.05658688396215439,
0.01719130203127861,
-0.01234388817101717,
0.011138932779431343,
-0.01778917945921421,
0.05360668897628784,
-0.026729760691523552,
0.01333728525787592,
-0.016372667625546455,
0.043930258601903915,
0.02178116701543331,
-0.027336835861206055,
0.02895570732653141,
-0.03752836212515831,
0.016933754086494446,
0.063835009932518,
-0.0057350327260792255,
-0.02073257975280285,
-0.025018908083438873,
0.00433691730722785,
0.05173027142882347,
-0.04418780654668808,
0.04897083342075348,
-0.011911575682461262,
0.006516873836517334,
-0.030611369758844376,
-0.02512928657233715,
0.014441060833632946,
-0.02571796625852585,
-0.008163338527083397,
0.014312286861240864,
0.031807128340005875,
0.01194836851209402,
-0.040140632539987564,
-0.00905555672943592,
-0.02827504649758339,
0.0009169384138658643,
-0.05268687754869461,
0.01353964488953352,
0.022792961448431015,
-0.06836048513650894,
-0.02397032082080841,
-0.0030192856211215258,
0.01826748251914978,
0.014542240649461746,
0.019205691292881966,
0.011396480724215508,
0.012932567857205868,
0.02376796305179596,
0.012822190299630165,
-0.023197678849101067,
-0.044371768832206726,
-0.04451894015073776,
0.01726488582789898,
-0.010945772752165794,
-0.015324081294238567,
-0.027502402663230896,
0.016621017828583717,
-0.06872840970754623,
-0.018727388232946396,
-0.026049097999930382,
-0.006792817730456591,
-0.004656552337110043,
-0.008439282886683941,
-0.004192046821117401,
0.020567014813423157,
0.019923144951462746,
0.06162745878100395,
-0.019959937781095505,
-0.04128119722008705,
0.0007910390268079937,
0.008623245172202587,
-0.027447214350104332,
0.026472212746739388,
0.01066982839256525,
-0.04120761528611183,
0.08697749674320221,
-0.03984628990292549,
-0.012031151913106441,
-0.018175501376390457,
0.04319440945982933,
0.026012305170297623,
-0.03145759925246239,
0.02376796305179596,
0.044923655688762665,
-0.059051983058452606,
-0.024706171825528145,
-0.00026171549689024687,
-0.004401304293423891,
0.05599820241332054,
0.012031151913106441,
-0.014201909303665161,
-0.006585859693586826,
-0.05261329188942909,
0.01802833005785942,
0.0017372964648529887,
0.028698159381747246,
0.044445354491472244,
-0.009602845646440983,
0.032800525426864624,
0.05746990442276001,
-0.027815138921141624,
-0.0008358798804692924,
0.025625985115766525,
-0.0019557520281523466,
-0.031292032450437546,
0.07115671783685684,
-0.043967053294181824,
-0.057653866708278656,
-0.03285571187734604,
0.060523681342601776,
-0.081385038793087,
-0.03125523775815964,
-0.011276905424892902,
0.013125728815793991,
0.0010135187767446041,
-0.00993397831916809,
-0.09360015392303467,
-0.024135887622833252,
-0.01801913231611252,
-0.040582139045000076,
0.05883122608065605,
0.00333432131446898,
-0.006903195288032293,
0.040582139045000076,
-0.03725241869688034,
-0.012251906096935272,
0.03384911268949509,
0.03888968378305435,
0.00012503705511335284,
-0.022590601816773415,
0.014395070262253284,
-0.0027364431880414486,
0.007133148144930601,
0.008292112499475479,
-0.017522433772683144,
-0.01627148874104023,
0.02014390006661415,
-0.04698403924703598,
-0.0011135484091937542,
0.025625985115766525,
-0.007832205854356289,
0.024503812193870544,
-0.015747195109725,
0.07527747750282288,
-0.0048520127311348915,
0.041980255395174026,
0.021229280158877373,
-0.010237516835331917,
0.028109479695558548,
-0.024393435567617416,
-0.06916992366313934,
-0.049154795706272125,
-0.014468654990196228,
-0.01154365111142397,
0.0002043709100689739,
0.010127139277756214,
-0.024227868765592575,
0.03342599794268608,
-0.048639699816703796,
-0.0952926054596901,
-0.012426670640707016,
-0.010357092134654522,
-0.0030468800105154514,
-0.03557835891842842,
-0.0259203240275383,
0.03811704367399216,
-0.020235881209373474,
0.06905954331159592,
-0.021321261301636696,
-0.004106963984668255,
-0.006912393029779196,
0.011709216982126236,
0.030096275731921196,
-0.018322670832276344,
0.008724424056708813,
-0.019003331661224365,
0.015103326179087162,
0.050994422286748886,
-0.04003025218844414,
0.004410502500832081,
-0.037675533443689346,
-0.030758541077375412,
0.0005274551804177463,
0.024632586166262627,
-0.027851931750774384,
-0.060597267001867294,
-0.033278826624155045,
0.025901928544044495,
0.030500993132591248,
0.02950759418308735,
-0.0031043682247400284,
-0.027667969465255737,
-0.03955195099115372,
0.01862620934844017,
-0.021836355328559875,
-0.02465098351240158,
0.013889173045754433,
0.03719722852110863,
-0.05368027463555336,
-0.014946958050131798,
0.04617460444569588,
-0.03114486113190651,
-0.033959489315748215,
-0.008931382559239864,
0.006475482136011124,
0.01739365980029106,
-0.02544202283024788,
0.07501993328332901,
0.07251804322004318,
-0.025331644341349602,
-0.022425036877393723
] |
5,653 | flask_bower | handle_url_error |
Intercept BuildErrors of url_for() using flasks build_error_handler API
| def handle_url_error(error, endpoint, values):
"""
Intercept BuildErrors of url_for() using flasks build_error_handler API
"""
url = overlay_url_for(endpoint, **values)
if url is None:
exc_type, exc_value, tb = sys.exc_info()
if exc_value is error:
raise exc_type(exc_value, endpoint, values).with_traceback(tb)
else:
raise error
# url_for will use this result, instead of raising BuildError.
return url
| (error, endpoint, values) | [
-0.01066640019416809,
-0.04800758510828018,
-0.04990539699792862,
0.05665316805243492,
-0.0108860544860363,
0.020454183220863342,
0.028344158083200455,
0.019470134750008583,
-0.003090532263740897,
-0.01075426209717989,
0.03205191716551781,
0.004265681374818087,
0.05240066722035408,
-0.07759937644004822,
0.0254974402487278,
0.0682157576084137,
0.05236552283167839,
0.040908366441726685,
0.09446880966424942,
-0.036409854888916016,
-0.006541297305375338,
-0.0029763123020529747,
-0.04547717049717903,
-0.04234929755330086,
-0.023107605054974556,
0.05060829222202301,
-0.004346953239291906,
0.0384833887219429,
0.046953245997428894,
-0.08617467433214188,
-0.010929984971880913,
-0.03718303516507149,
0.03147203102707863,
0.04913221672177315,
0.028748320415616035,
-0.03598811849951744,
-0.0024096048437058926,
0.06326036155223846,
-0.0665288120508194,
-0.022545291110873222,
-0.06006219983100891,
-0.008641189895570278,
-0.01637740433216095,
-0.04495000094175339,
0.07197623699903488,
0.011878889985382557,
-0.08139500021934509,
0.027781842276453972,
-0.06273319572210312,
-0.022615579888224602,
-0.0435442179441452,
0.009146394208073616,
0.030663704499602318,
-0.002120759803801775,
-0.007226618006825447,
0.0840659961104393,
-0.0036045226734131575,
0.033510420471429825,
0.011219928041100502,
0.01495404727756977,
-0.02546229586005211,
0.025743452832102776,
0.0006930084782652557,
0.02748311311006546,
0.03308868408203125,
0.02873074822127819,
-0.014725606888532639,
0.024056510999798775,
-0.04987025260925293,
0.003958165645599365,
0.028590170666575432,
0.04115438088774681,
-0.04635578766465187,
-0.009102463722229004,
0.03686673566699028,
-0.02062990702688694,
0.05844554677605629,
-0.03319411724805832,
0.07113276422023773,
-0.0058647627010941505,
-0.004924643784761429,
-0.012731147930026054,
0.0009329805034212768,
-0.015393354929983616,
0.03099757805466652,
-0.03844824433326721,
0.026797791942954063,
-0.01271357573568821,
0.0004151461471337825,
0.06283862888813019,
-0.04396595433354378,
-0.025304146111011505,
-0.03792107477784157,
-0.0384833887219429,
-0.016720065847039223,
0.050327133387327194,
0.042454734444618225,
-0.012775079347193241,
0.048464465886354446,
-0.05500137060880661,
0.09678835421800613,
-0.035601526498794556,
-0.008786161430180073,
0.01339010987430811,
0.03298325091600418,
-0.03697216883301735,
0.05651259049773216,
-0.04024061933159828,
-0.01035009790211916,
0.008452287875115871,
0.008891595527529716,
-0.04210328683257103,
-0.00719147315248847,
-0.00829852931201458,
-0.0445634126663208,
-0.008368819020688534,
0.012195192277431488,
0.010719116777181625,
-0.012256694957613945,
-0.019364699721336365,
-0.010183161124587059,
-0.04716411605477333,
-0.057391207665205,
-0.04892134666442871,
0.05359558388590813,
0.022176271304488182,
-0.06779402494430542,
-0.004520480055361986,
0.03389701247215271,
-0.059675607830286026,
-0.021631529554724693,
0.0509948804974556,
-0.05391188710927963,
-0.019399844110012054,
-0.04705868288874626,
0.0398540273308754,
-0.06877807527780533,
0.010323739610612392,
-0.00950662698596716,
0.030681276693940163,
-0.04407138749957085,
0.0026358484756201506,
-0.02880103699862957,
-0.003966951742768288,
0.03936200216412544,
-0.02180725336074829,
0.030312256887555122,
0.026024609804153442,
0.047796718776226044,
0.030540697276592255,
0.059710752218961716,
0.044985149055719376,
0.05911329388618469,
0.01622804068028927,
-0.0388348326086998,
-0.026692358776926994,
0.045863762497901917,
-0.012977160513401031,
0.03525007888674736,
-0.05226008966565132,
0.054439056664705276,
-0.026622069999575615,
0.015604223124682903,
-0.061503130942583084,
-0.00938362069427967,
-0.010850909166038036,
0.0945390984416008,
0.011791029013693333,
0.007854828611016273,
0.02704380452632904,
-0.025374434888362885,
0.04484456777572632,
0.013530689291656017,
0.0227913036942482,
-0.017906196415424347,
0.03089214488863945,
0.023986220359802246,
-0.03247365355491638,
-0.014365374110639095,
-0.0025743453297764063,
0.019434988498687744,
-0.005645108874887228,
-0.014356588013470173,
0.006800489034503698,
0.007986620999872684,
0.011228714138269424,
-0.07612330466508865,
-0.0254974402487278,
-0.04266560077667236,
0.0367964431643486,
-0.025673164054751396,
-0.032227639108896255,
0.044352542608976364,
0.003290417604148388,
0.017317524179816246,
0.012247908860445023,
-0.013987569138407707,
0.014049072749912739,
0.03426602855324745,
0.02444310113787651,
-0.022984597831964493,
0.020243316888809204,
-0.0388348326086998,
0.00728372810408473,
0.004434815142303705,
0.05479050427675247,
0.011624091304838657,
-0.0199270136654377,
0.0066511244513094425,
0.049448516219854355,
-0.0611165389418602,
0.04551231861114502,
-0.027201956138014793,
0.04547717049717903,
-0.004832388833165169,
0.045020293444395065,
-0.04055692255496979,
0.016148965805768967,
-0.025708308443427086,
0.03143688663840294,
-0.0244782455265522,
-0.05387674272060394,
0.0975615382194519,
-0.02265072427690029,
0.02866045944392681,
0.027939993888139725,
0.04832388833165169,
-0.02033117786049843,
-0.00024354142078664154,
0.024689113721251488,
0.001784689025953412,
-0.0038241767324507236,
0.04020547494292259,
0.023476622998714447,
0.06733714044094086,
-0.02822115086019039,
0.002175673143938184,
-0.035232506692409515,
0.055704265832901,
0.0297147985547781,
0.01693093404173851,
0.010877268388867378,
-0.012449990957975388,
0.02627062238752842,
0.019329555332660675,
-0.003890072926878929,
-0.05043256655335426,
0.05103002488613129,
-0.05661802366375923,
-0.05949988588690758,
-0.005517709534615278,
0.04298190400004387,
-0.021315228193998337,
-0.01482225488871336,
0.006053665187209845,
-0.07781025022268295,
0.0082282405346632,
-0.03932685777544975,
0.024267379194498062,
0.0032662556041032076,
-0.009234256111085415,
0.014795895665884018,
0.08322252333164215,
0.0086499759927392,
-0.08216818422079086,
-0.07211681455373764,
0.0003415620303712785,
0.030347401276230812,
0.04234929755330086,
0.0844174399971962,
0.007252976298332214,
0.048288743942976,
-0.001863764482550323,
0.03477562591433525,
0.035706959664821625,
0.030031099915504456,
-0.0006243666284717619,
0.05173292011022568,
0.025989465415477753,
-0.008070089854300022,
0.027623692527413368,
-0.020805630832910538,
-0.02781698666512966,
0.02802785485982895,
-0.02678021974861622,
0.022615579888224602,
0.002758854767307639,
0.03718303516507149,
0.044317398220300674,
-0.027623692527413368,
0.03929171338677406,
0.0014332425780594349,
-0.02326575666666031,
0.04480942338705063,
-0.10592596232891083,
-0.026147617027163506,
0.017581108957529068,
-0.01809949241578579,
0.040802933275699615,
-0.0022844020277261734,
-0.033035967499017715,
0.0039120386354625225,
0.007028929423540831,
0.02120979316532612,
-0.0177304744720459,
-0.033334698528051376,
0.05985133349895477,
-0.0479372963309288,
-0.03082185424864292,
-0.014057858847081661,
0.018995681777596474,
0.01357461977750063,
-0.0584104023873806,
-0.02019059844315052,
0.0194174163043499,
0.013934852555394173,
0.014620172791182995,
-0.04958909749984741,
-0.013759128749370575,
0.02393350377678871,
-0.044422831386327744,
0.026832938194274902,
-0.0023788532707840204,
-0.015103411860764027,
0.006866385228931904,
0.0006600603810511529,
0.033914584666490555,
0.008641189895570278,
-0.017616253346204758,
0.013091380707919598,
-0.004230536986142397,
-0.023318473249673843,
-0.0006529216188937426,
-0.02586646005511284,
0.009910790249705315,
-0.0449148565530777,
-0.01751082018017769,
-0.044985149055719376,
-0.008860844187438488,
-0.02967965416610241,
-0.012766292318701744,
0.005148690659552813,
-0.0489564910531044,
0.05169777572154999,
-0.04312248155474663,
0.004893891979008913,
0.02532171830534935,
-0.03136659786105156,
0.0185739453881979,
-0.08863479644060135,
-0.029521502554416656,
-0.006365573965013027,
-0.06972698122262955,
0.010692758485674858,
0.0334225594997406,
0.006576442159712315,
-0.05464992672204971,
-0.04020547494292259,
0.026586925610899925,
0.03363342583179474,
0.04280617833137512,
-0.06013248860836029,
-0.022879164665937424,
-0.02026088908314705,
0.017976487055420876,
0.009849287569522858,
0.008184309117496014,
-0.010622469708323479,
-0.02245742827653885,
-0.021631529554724693,
0.014848613180220127,
0.010587324388325214,
0.07471752166748047,
-0.015850234776735306,
0.019434988498687744,
0.004314005374908447,
-0.007472630590200424,
-0.0077230362221598625,
-0.026376057416200638,
0.05830496922135353,
-0.026007037609815598,
0.026463918387889862,
0.01593809761106968,
-0.023406334221363068,
0.07317115366458893,
-0.0827304944396019,
0.005078401416540146,
0.008548934943974018,
-0.0014738786267116666,
0.023617202416062355,
0.0064622219651937485,
-0.05180320888757706,
0.01443566381931305,
0.04621521010994911,
0.05394703149795532,
-0.03542580455541611,
-0.022879164665937424,
-0.03528522327542305,
0.02147337980568409,
0.04147068411111832,
0.028941616415977478,
0.03349284827709198,
-0.0278521329164505,
0.028133289888501167,
0.05324413999915123,
-0.022527718916535378,
0.01036767102777958,
0.06276834011077881,
0.006506152451038361,
-0.0418572723865509,
-0.038905125111341476,
-0.008434714749455452,
-0.09749124944210052,
-0.05609085410833359,
-0.016254398971796036,
-0.01894296519458294,
0.0024161944165825844,
0.03584754094481468,
-0.06730199605226517,
-0.0033409378957003355,
0.05753178521990776,
-0.02917005680501461,
0.0398540273308754,
0.010262236930429935,
-0.04987025260925293,
-0.00701574981212616,
-0.023441478610038757,
-0.001366248121485114,
-0.018204927444458008,
0.0422087199985981,
-0.011703167110681534,
-0.02055961824953556,
-0.05310355871915817,
-0.002791802864521742,
0.005693432874977589,
-0.035267651081085205,
-0.03335227072238922,
0.06072995066642761,
0.01456745620816946,
-0.015542719513177872,
-0.001697925734333694,
-0.0067829168401658535,
-0.026586925610899925,
0.0435442179441452,
0.06340093910694122,
-0.014743179082870483,
0.019540423527359962,
-0.025058133527636528,
0.01583266258239746,
-0.054579634219408035,
-0.02707895077764988,
-0.023318473249673843,
0.031278736889362335,
0.001927464152686298,
-0.031103011220693588,
-0.03493377938866615,
-0.09053260833024979,
0.03328197821974754,
0.02309003286063671,
0.06164370849728584,
0.0006919102161191404,
0.006343608722090721,
-0.014628958888351917,
-0.02876589260995388,
0.002083418658003211,
0.01901325397193432,
0.0769667774438858,
-0.027465540915727615,
-0.03166532516479492,
-0.009005815722048283,
0.02106921561062336,
-0.03978373855352402,
0.049448516219854355,
0.03669100999832153,
-0.009401192888617516,
0.01693093404173851,
0.014910115860402584,
0.01784469373524189,
0.045160870999097824,
0.0028664851561188698,
-0.010121658444404602,
-0.029433641582727432,
-0.01264328695833683,
0.004924643784761429,
-0.010376457124948502,
0.005451813340187073,
-0.006923495326191187,
0.02714923955500126,
0.028537452220916748,
0.02572588063776493,
-0.015560291707515717,
-0.025954321026802063,
-0.010394029319286346,
-0.02012030966579914,
0.014057858847081661,
0.00829852931201458,
0.003112497739493847,
0.03591782972216606,
0.01773926056921482,
-0.014725606888532639,
0.041576117277145386,
-0.04364965111017227,
0.04547717049717903,
-0.011668022722005844,
0.015033122152090073,
-0.036655865609645844,
0.04649636521935463,
0.04473913460969925,
0.001377230859361589,
-0.01853880099952221,
-0.021385516971349716,
0.06477158516645432,
0.08258991688489914,
0.053736165165901184,
0.012766292318701744,
-0.03103272244334221,
-0.017941342666745186,
-0.020805630832910538,
0.01002501044422388,
0.03686673566699028,
0.052014075219631195,
-0.006334822624921799,
0.03551366552710533,
-0.016605844721198082,
0.0053551653400063515,
-0.016509197652339935,
0.07310086488723755,
0.0388348326086998,
-0.022141126915812492,
0.040697500109672546,
-0.020032448694109917,
0.04375508427619934,
0.05043256655335426,
0.016482839360833168,
0.011290217749774456,
0.01802920363843441,
-0.033404987305402756,
-0.032666947692632675,
-0.06294406205415726,
0.03203434497117996,
-0.0044721560552716255,
0.04238444194197655,
-0.021315228193998337,
-0.027272244915366173,
-0.07506896555423737,
-0.08385512977838516,
-0.056161146610975266,
0.004946609027683735,
0.010016224347054958,
-0.08097326755523682,
0.02359963022172451,
0.07338201999664307,
0.09334418177604675,
0.019329555332660675,
-0.010525821708142757,
0.008399570360779762,
0.010842123068869114,
0.052857547998428345,
0.010631255805492401,
0.0050915805622935295,
-0.04572318494319916,
0.0038812868297100067,
-0.02393350377678871,
-0.021157076582312584,
-0.030698848888278008,
0.021895114332437515,
-0.03407273441553116,
0.009234256111085415,
-0.05215465649962425,
-0.03704245761036873,
-0.026323340833187103,
-0.029222773388028145,
-0.01700122281908989,
-0.06761830300092697,
-0.00009149963443633169,
0.016403764486312866,
0.02974994294345379,
-0.045898906886577606,
0.0881427749991417,
-0.0005024585989303887,
0.004423832520842552,
-0.04579347372055054,
0.0004113022005185485,
-0.0010169981978833675,
-0.008606045506894588,
-0.058094099164009094,
-0.003510071663185954,
0.005526495631784201,
-0.010965129360556602,
-0.027096522971987724,
-0.04530144855380058,
-0.05749664083123207,
-0.025550158694386482,
-0.04544202610850334,
0.0011114494409412146,
0.07408491522073746,
-0.02718438394367695,
-0.04825359955430031,
0.02117464877665043,
0.05303326994180679,
-0.009787783958017826,
0.023898359388113022,
0.0012739934027194977,
0.0002932381466962397,
0.0018022613367065787,
-0.021192220970988274,
0.009260614402592182,
-0.03549609333276749,
-0.058796994388103485,
-0.022088410332798958,
0.03129630908370018,
0.002111973473802209,
0.017906196415424347,
0.04308733716607094,
-0.05939445272088051,
-0.02491755411028862,
-0.010104086250066757,
0.05085430294275284,
0.032596658915281296,
0.010850909166038036,
0.028344158083200455,
-0.023353617638349533,
-0.012080972082912922,
0.03718303516507149,
-0.000735841051209718,
0.008755410090088844,
0.02653420716524124,
-0.0342836007475853,
-0.07851313799619675,
0.04741012677550316,
-0.012370915152132511,
0.03619898483157158,
0.02829143963754177,
-0.06097596138715744,
-0.02829143963754177,
-0.000667748274281621,
0.09763182699680328,
0.014391732402145863,
-0.0054869577288627625,
0.027623692527413368,
-0.007771359756588936,
-0.06319007277488708,
-0.079005166888237,
0.03366857022047043,
0.02883618138730526,
0.06645852327346802,
0.0008335870807059109,
-0.05644230172038078,
0.027430396527051926,
-0.012739934027194977,
0.047761574387550354,
0.024899981915950775,
0.01641255058348179,
0.002424980513751507,
-0.016553128138184547,
0.015999600291252136,
0.001403589267283678,
-0.01703636720776558,
-0.021385516971349716,
0.04140039160847664,
-0.018749669194221497,
-0.015349424444139004,
-0.004136085510253906,
-0.04403624311089516,
-0.04547717049717903,
-0.012871726416051388,
0.06709112972021103,
-0.05218980088829994,
0.0054474202916026115,
-0.009102463722229004,
-0.018169783055782318,
-0.0631549283862114,
-0.011993110179901123,
-0.0071782940067350864,
0.04473913460969925,
-0.03539066016674042,
-0.03554880991578102,
0.018292788416147232,
-0.006044879090040922,
-0.01700122281908989,
0.01813463680446148,
0.04987025260925293,
-0.06210058927536011,
0.045231159776449203,
0.0020801236387342215,
0.009524199180305004,
0.020278461277484894,
-0.00011305318912491202,
0.03690188005566597,
0.01559543702751398,
0.01249392144382,
-0.026885654777288437,
-0.03711274638772011,
0.0055221025831997395,
-0.09341447055339813,
0.0254974402487278,
-0.026376057416200638,
-0.07570156455039978,
0.027166811749339104,
0.06891865283250809,
0.04210328683257103,
0.029047049582004547,
0.00224925740621984,
-0.023441478610038757,
0.02927548997104168,
-0.016254398971796036,
0.022088410332798958,
-0.014778323471546173,
-0.06023792549967766,
-0.030944861471652985,
-0.023213038221001625,
-0.06512302905321121,
0.029556646943092346,
-0.04066235572099686,
-0.03542580455541611,
-0.04066235572099686,
-0.049448516219854355,
-0.004564411006867886,
-0.021244939416646957,
0.02133280038833618,
0.0001821755722630769,
-0.016280757263302803,
0.04326305910944939,
-0.0217721089720726,
-0.00470938254147768,
-0.007999800145626068,
-0.02400379255414009,
-0.02667478658258915,
0.05693432688713074,
0.005640715826302767,
-0.021666673943400383,
0.015156128443777561,
-0.02876589260995388,
0.04031090810894966,
0.01836307719349861,
-0.034758053719997406,
-0.056336868554353714,
0.00996350683271885,
-0.0005098719266243279,
-0.006260140333324671,
0.010859695263206959,
-0.019188977777957916,
-0.025708308443427086,
-0.04192756488919258,
0.082379050552845,
0.015876593068242073,
0.011334148235619068,
0.022510146722197533,
-0.041576117277145386,
0.038131941109895706,
0.020893491804599762,
0.011465940624475479,
-0.02484726533293724,
0.014611386694014072,
0.019470134750008583,
-0.06083538383245468,
0.00685320608317852,
0.008311708457767963,
0.009612061083316803,
-0.003318972419947386,
0.005548460874706507,
0.03672615438699722,
-0.016843071207404137,
0.0007786735659465194,
0.022967025637626648,
0.1036767065525055,
-0.03143688663840294,
-0.030364975333213806
] |
5,656 | flask_bower | overlay_url_for |
Replace flasks url_for() function to allow usage without template changes
If the requested endpoint is static or ending in .static, it tries to serve a bower asset, otherwise it will pass
the arguments to flask.url_for()
See http://flask.pocoo.org/docs/0.10/api/#flask.url_for
| def overlay_url_for(endpoint, filename=None, **values):
"""
Replace flasks url_for() function to allow usage without template changes
If the requested endpoint is static or ending in .static, it tries to serve a bower asset, otherwise it will pass
the arguments to flask.url_for()
See http://flask.pocoo.org/docs/0.10/api/#flask.url_for
"""
default_url_for_args = values.copy()
if filename:
default_url_for_args['filename'] = filename
if endpoint == 'static' or endpoint.endswith('.static'):
if os.path.sep in filename:
filename_parts = filename.split(os.path.sep)
component = filename_parts[0]
# Using * magic here to expand list
filename = os.path.join(*filename_parts[1:])
returned_url = build_url(component, filename, **values)
if returned_url is not None:
return returned_url
return None
| (endpoint, filename=None, **values) | [
0.05959306284785271,
-0.058070480823516846,
-0.044331856071949005,
-0.0004326516354922205,
0.0027397582307457924,
0.02062564343214035,
0.01440254133194685,
0.03431115671992302,
-0.016403140500187874,
0.024591432884335518,
0.0036891575437039137,
-0.017376882955431938,
-0.006324902176856995,
-0.042986318469047546,
0.03084109164774418,
0.04387154057621956,
0.05024512857198715,
0.003888332052156329,
0.032646942883729935,
-0.025228790938854218,
0.05208639055490494,
0.025866150856018066,
-0.03285939618945122,
-0.01912076771259308,
0.008157309144735336,
0.01989976316690445,
-0.049749407917261124,
0.003335069166496396,
0.03547964617609978,
-0.08873452991247177,
0.028327064588665962,
-0.05428173765540123,
0.060690734535455704,
0.03222203627228737,
0.07329627871513367,
-0.01064035389572382,
0.04372990503907204,
0.11833631247282028,
-0.03301873430609703,
-0.0016874520806595683,
0.038843486458063126,
-0.0014606142649427056,
0.031230587512254715,
-0.04036606475710869,
0.07000325620174408,
0.0688701719045639,
-0.039516255259513855,
0.026609735563397408,
-0.04599606990814209,
-0.010268560610711575,
0.0038684147875756025,
0.005404272582381964,
0.016279209405183792,
0.021776430308818817,
-0.011118372902274132,
0.05555645376443863,
0.00028520706109702587,
0.055273182690143585,
-0.0026866449043154716,
0.05081167072057724,
-0.0025450095999985933,
-0.04957236349582672,
-0.022803286090493202,
-0.021015141159296036,
-0.0011994740925729275,
0.05814129859209061,
-0.018979132175445557,
0.004541182424873114,
-0.02749495580792427,
0.037427134811878204,
0.03022143617272377,
0.030646342784166336,
-0.017651302739977837,
-0.015641851350665092,
0.018713567405939102,
-0.03824153542518616,
0.12747178971767426,
-0.0438007228076458,
0.043623678386211395,
-0.021156776696443558,
-0.012587838806211948,
-0.08207766711711884,
-0.04606688767671585,
-0.05697280913591385,
0.02191806584596634,
-0.01095018070191145,
-0.024255048483610153,
-0.06660401076078415,
0.04344663396477699,
0.0014705730136483908,
-0.045748207718133926,
0.017651302739977837,
-0.015199240297079086,
-0.026326464489102364,
0.027672000229358673,
-0.02753036469221115,
-0.004501347430050373,
0.023777030408382416,
0.05757475644350052,
-0.023670803755521774,
0.06586042791604996,
-0.03636486828327179,
-0.007745681796222925,
-0.0006030566291883588,
0.03905593976378441,
-0.04620852321386337,
0.03232826292514801,
0.019740423187613487,
-0.07343791425228119,
0.011065259575843811,
-0.0035762919578701258,
-0.04011820629239082,
-0.022874103859066963,
-0.03346134349703789,
-0.034045591950416565,
0.001353281200863421,
-0.02066105231642723,
0.03301873430609703,
0.04210110008716583,
-0.031850241124629974,
-0.055202364921569824,
0.012180637568235397,
-0.06423161923885345,
-0.05074085295200348,
0.036754366010427475,
-0.018014242872595787,
-0.0385248064994812,
-0.0011939414544031024,
-0.006059336010366678,
-0.029690304771065712,
0.0023192784283310175,
0.08335238695144653,
-0.09843654930591583,
-0.001080522546544671,
-0.0038595625665038824,
0.0020769492257386446,
-0.0066214511170983315,
0.03505474328994751,
-0.0008138498524203897,
0.11444134265184402,
-0.017925720661878586,
-0.030628638342022896,
-0.02753036469221115,
0.0481560081243515,
0.012446204200387001,
-0.0030628638342022896,
0.017509667202830315,
-0.026468100026249886,
0.027618886902928352,
0.025954673066735268,
0.060053374618291855,
0.08498119562864304,
0.028167724609375,
0.022183632478117943,
0.012986188754439354,
-0.058672431856393814,
0.0026136143133044243,
-0.01443795021623373,
0.04192405566573143,
-0.0659666508436203,
0.04004738852381706,
0.018253251910209656,
0.013287163339555264,
-0.0030739291105419397,
0.01651821844279766,
0.015606441535055637,
0.03393936529755592,
0.05141362175345421,
0.07241106033325195,
0.010118072852492332,
-0.016580184921622276,
0.02128070779144764,
0.02815002016723156,
0.029938165098428726,
0.0441548116505146,
-0.029318511486053467,
0.007396019529551268,
-0.054706644266843796,
0.017146725207567215,
-0.029247693717479706,
0.015801191329956055,
-0.012791439890861511,
0.004740356933325529,
0.010365935042500496,
-0.016323471441864967,
0.0019021180924028158,
-0.03714386373758316,
0.00481117470189929,
-0.042313553392887115,
-0.01443795021623373,
-0.0879555344581604,
-0.010489866137504578,
-0.0011264433851465583,
0.03300102800130844,
0.012897666543722153,
-0.04047229140996933,
0.03569209948182106,
-0.008825651369988918,
0.019032245501875877,
-0.014951378107070923,
-0.022484607994556427,
-0.026414986699819565,
-0.01403074897825718,
-0.002710988512262702,
0.03142533823847771,
0.03087650053203106,
0.03101813606917858,
0.0039525106549263,
0.012021297588944435,
0.03650650382041931,
-0.04337581619620323,
0.03156697377562523,
-0.047022927552461624,
0.01095903292298317,
-0.00098702113609761,
0.01543825026601553,
-0.024308161810040474,
0.03629405051469803,
-0.0323459655046463,
0.05424632877111435,
-0.002582631539553404,
-0.059522245079278946,
0.04613770544528961,
0.03714386373758316,
0.03174401447176933,
0.004651835188269615,
0.05693740025162697,
0.013535025529563427,
-0.014774334616959095,
0.02809690684080124,
-0.028681151568889618,
-0.0016498301411047578,
0.06316935271024704,
0.010808545164763927,
0.034753765910863876,
-0.006289493292570114,
0.0016398713923990726,
0.004868714138865471,
0.04790814593434334,
0.016978533938527107,
0.03549735248088837,
0.029336215928196907,
-0.005209524184465408,
-0.0007131559541448951,
0.02894671820104122,
0.010843954049050808,
-0.05406928434967995,
0.048474688082933426,
-0.008037804625928402,
-0.048510096967220306,
0.004069802351295948,
0.0643378421664238,
-0.02549435757100582,
0.010339378379285336,
-0.014694664627313614,
-0.022944921627640724,
-0.009843654930591583,
-0.0328948050737381,
0.018147025257349014,
0.0565124936401844,
-0.029885051771998405,
-0.01860734075307846,
0.04889959469437599,
-0.01402189675718546,
-0.027689704671502113,
-0.08391892910003662,
-0.025228790938854218,
-0.01864274963736534,
-0.009100069291889668,
0.06777250021696091,
-0.006435554940253496,
0.019811240956187248,
0.025883855298161507,
-0.002220797585323453,
0.04465053603053093,
0.016332322731614113,
-0.010419048368930817,
0.015588737092912197,
0.03717927262187004,
-0.005736230406910181,
0.0011181444860994816,
-0.028167724609375,
-0.02485699951648712,
0.025175677612423897,
0.010348230600357056,
-0.016217244789004326,
0.006085892673581839,
0.03342593461275101,
0.020236145704984665,
-0.03227514773607254,
0.06518765538930893,
0.01748310960829258,
-0.011056407354772091,
0.0039525106549263,
-0.09879063814878464,
-0.015234649181365967,
0.06773709505796432,
-0.02878737822175026,
0.06529388576745987,
-0.008436153642833233,
-0.028645744547247887,
-0.015748078003525734,
0.01062264945358038,
0.029867349192500114,
-0.024166526272892952,
-0.019634196534752846,
0.03654191270470619,
-0.06249658390879631,
0.005355585366487503,
-0.011977036483585835,
0.040861789137125015,
-0.00795813463628292,
0.009170887060463428,
0.0033461344428360462,
0.034612130373716354,
0.030398480594158173,
0.003768827300518751,
-0.02188265696167946,
-0.013287163339555264,
0.01915617659687996,
-0.029973573982715607,
0.06713514029979706,
-0.010056108236312866,
0.014198941178619862,
0.007732403464615345,
-0.016606740653514862,
0.03693141043186188,
0.013154380023479462,
0.001981788082048297,
0.040224432945251465,
-0.00531575083732605,
0.01786375418305397,
-0.00931252259761095,
-0.01402189675718546,
-0.04273845627903938,
-0.02071416564285755,
-0.004326516296714544,
-0.03859562426805496,
0.03358527645468712,
0.0006982178892940283,
0.025936968624591827,
-0.008918599225580692,
-0.021510863676667213,
0.02204199694097042,
-0.07350873202085495,
0.015358580276370049,
0.024609137326478958,
-0.0414283312857151,
0.02406029962003231,
-0.07527917623519897,
0.0016885586082935333,
-0.0020160903222858906,
-0.027229391038417816,
0.009144330397248268,
0.000052767456509172916,
0.03455901890993118,
-0.010268560610711575,
-0.014013044536113739,
0.014013044536113739,
0.019474856555461884,
-0.01233997754752636,
-0.07889087498188019,
-0.027583478018641472,
-0.022112814709544182,
0.03142533823847771,
0.020200736820697784,
0.05626463145017624,
-0.012021297588944435,
-0.019598787650465965,
-0.004957236349582672,
-0.002474192064255476,
0.03866644203662872,
0.08498119562864304,
-0.03202728554606438,
-0.002584844594821334,
-0.07046357542276382,
0.003441295586526394,
-0.013331424444913864,
0.028344769030809402,
0.02885819599032402,
-0.03643568605184555,
0.04302172735333443,
0.04734160751104355,
0.04808519035577774,
0.018961427733302116,
-0.059557653963565826,
0.02942473813891411,
0.0025140270590782166,
-0.03013291396200657,
-0.01133967749774456,
0.049820225685834885,
-0.05789343640208244,
0.03356757014989853,
0.04305713623762131,
0.01986435428261757,
-0.09546220302581787,
-0.03994116187095642,
-0.010755431838333607,
0.03595766797661781,
0.02204199694097042,
0.04408399388194084,
0.008980564773082733,
0.030646342784166336,
0.040153615176677704,
0.06497520208358765,
-0.03342593461275101,
0.04666883870959282,
0.025848446413874626,
0.003219990525394678,
0.009365635924041271,
-0.05307783558964729,
-0.014225497841835022,
-0.07747451961040497,
-0.026326464489102364,
0.04454430937767029,
0.007661585696041584,
-0.008374188095331192,
0.016978533938527107,
-0.006740956101566553,
-0.013242902234196663,
0.02200658805668354,
-0.05916815623641014,
0.053892239928245544,
0.021493159234523773,
-0.010551831685006618,
0.0022661651019006968,
-0.017058204859495163,
-0.049041230231523514,
-0.03450590372085571,
0.028521813452243805,
-0.025087155401706696,
-0.04305713623762131,
-0.06026582792401314,
-0.05729148909449577,
0.07598734647035599,
-0.01784604974091053,
0.028999831527471542,
-0.008170587942004204,
0.007798794656991959,
-0.05449419096112251,
-0.0025007487274706364,
-0.024290457367897034,
-0.0255297664552927,
0.013844852335751057,
-0.051838528364896774,
0.009693167172372341,
-0.036754366010427475,
-0.019775832071900368,
0.0024321440141648054,
-0.05219261720776558,
-0.003844071179628372,
0.003514326410368085,
-0.013287163339555264,
0.026308760046958923,
-0.02064334787428379,
-0.06610828638076782,
-0.025618288666009903,
0.009542679414153099,
-0.029212284833192825,
0.03349675238132477,
0.002091333968564868,
-0.017323769629001617,
0.04036606475710869,
-0.03774581477046013,
-0.016730671748518944,
-0.0246268417686224,
0.051980163902044296,
-0.018235547468066216,
-0.030522411689162254,
-0.008719424717128277,
0.027016937732696533,
-0.06440865993499756,
0.011578687466681004,
0.007714699022471905,
0.007329627871513367,
0.06600205600261688,
0.026308760046958923,
0.03183253854513168,
0.024502910673618317,
-0.01619068719446659,
-0.045110851526260376,
0.0003134234866593033,
-0.059416018426418304,
0.06200086325407028,
0.013269458897411823,
0.015641851350665092,
-0.004102998413145542,
0.040861789137125015,
0.00792272575199604,
0.015358580276370049,
-0.02209511026740074,
0.013508468866348267,
-0.01265865657478571,
0.0220774058252573,
-0.016589036211371422,
0.06408998370170593,
0.06263822317123413,
-0.002916802419349551,
-0.005798195954412222,
-0.03280628100037575,
0.06536470353603363,
-0.06536470353603363,
0.04326958954334259,
0.02949555590748787,
-0.04178242012858391,
-0.014305167831480503,
-0.028999831527471542,
0.027884453535079956,
-0.017713267356157303,
0.002469765953719616,
0.034116409718990326,
0.042915500700473785,
0.08066131174564362,
0.05442337319254875,
0.03767499700188637,
-0.0038064492400735617,
-0.004625278525054455,
-0.012260307557880878,
0.008653032593429089,
-0.0031779424753040075,
0.017474258318543434,
-0.01919158548116684,
0.027672000229358673,
-0.006046057678759098,
-0.02067875675857067,
0.02273246832191944,
0.03774581477046013,
0.015376284718513489,
-0.022785581648349762,
0.042844682931900024,
-0.043552860617637634,
0.043588269501924515,
0.04341122508049011,
-0.005045758094638586,
0.011437051929533482,
0.04302172735333443,
-0.02823854237794876,
-0.06915344297885895,
-0.06348802894353867,
0.008015673607587814,
-0.001726180431433022,
0.019527969881892204,
0.013402242213487625,
-0.06756004691123962,
-0.03657732158899307,
-0.04273845627903938,
-0.06504601985216141,
-0.05502532050013542,
0.11160863190889359,
-0.08073212951421738,
0.04036606475710869,
0.0478019192814827,
0.05930979177355766,
-0.004494708497077227,
-0.020324667915701866,
-0.01274717878550291,
-0.04185323789715767,
0.029831940308213234,
-0.05084707960486412,
0.012118672020733356,
-0.0427030473947525,
0.03930380195379257,
-0.000021248755729175173,
0.006581616122275591,
-0.003627191996201873,
0.013481912203133106,
0.039551664143800735,
-0.035426534712314606,
-0.01866045407950878,
-0.058707840740680695,
-0.017376882955431938,
0.032700054347515106,
-0.00704193115234375,
-0.07846596837043762,
0.0007126026903279126,
0.032611533999443054,
0.06819740682840347,
-0.118123859167099,
0.08554773032665253,
-0.013782886788249016,
-0.07945741713047028,
-0.031903356313705444,
-0.006254084408283234,
0.013880261220037937,
-0.040755562484264374,
-0.003215564414858818,
0.01919158548116684,
0.025972377508878708,
0.0006539568421430886,
-0.04861632362008095,
-0.016589036211371422,
-0.0287165604531765,
-0.0005596255068667233,
-0.010746579617261887,
-0.027601182460784912,
0.02404259517788887,
-0.027866749092936516,
-0.0038706278428435326,
0.029761122539639473,
0.013570434413850307,
-0.01134852971881628,
0.039516255259513855,
-0.014508767984807491,
0.0427030473947525,
0.008356483653187752,
0.006125727668404579,
-0.019085358828306198,
-0.03351445868611336,
-0.07379200309515,
0.01446450687944889,
0.009215148165822029,
0.027902157977223396,
0.02531731314957142,
0.025742219761013985,
0.008546805940568447,
-0.041534557938575745,
-0.0550607293844223,
0.022449199110269547,
-0.008595493622124195,
-0.008108622394502163,
-0.008108622394502163,
0.01748310960829258,
-0.018979132175445557,
0.06554174423217773,
-0.017730971798300743,
-0.02466225065290928,
0.03615241497755051,
-0.009941029362380505,
-0.05545022711157799,
0.06950753182172775,
-0.0014362706569954753,
-0.020094512030482292,
0.021687908098101616,
-0.035975370556116104,
-0.008400744758546352,
-0.04337581619620323,
0.03342593461275101,
0.026237942278385162,
-0.03632945939898491,
-0.010082663968205452,
0.014260906726121902,
-0.06720595806837082,
-0.0033040863927453756,
-0.015243501402437687,
0.04387154057621956,
0.028327064588665962,
0.005638856440782547,
-0.055981360375881195,
-0.005930979270488024,
-0.03657732158899307,
0.031956467777490616,
0.01750081405043602,
0.029991278424859047,
0.007608472369611263,
-0.0040587373077869415,
0.016022495925426483,
0.04096801578998566,
-0.0619654543697834,
0.0537860132753849,
0.03650650382041931,
-0.02138693258166313,
-0.06455029547214508,
0.03429345041513443,
-0.004957236349582672,
-0.03347904980182648,
-0.032682351768016815,
0.04245518893003464,
-0.08646836131811142,
-0.024166526272892952,
0.0005267063388600945,
-0.0033616258297115564,
0.024485206231474876,
-0.008445005863904953,
-0.02273246832191944,
0.0410742424428463,
-0.030398480594158173,
-0.0372500903904438,
0.02060793898999691,
-0.015783486887812614,
-0.031159769743680954,
0.047093745321035385,
-0.016234949231147766,
-0.0071525839157402515,
0.018784385174512863,
0.005501647014170885,
-0.006267362739890814,
0.03287709876894951,
-0.049218274652957916,
0.017438849434256554,
0.026538917794823647,
0.03930380195379257,
-0.03496621921658516,
-0.04865173250436783,
0.00702422671020031,
-0.08278584480285645,
-0.0018788810120895505,
-0.010126925073564053,
-0.07127797603607178,
0.04578361660242081,
0.025936968624591827,
0.04323418065905571,
0.03636486828327179,
0.04072015359997749,
0.009799393825232983,
0.0029898330103605986,
0.010206595063209534,
-0.013968783430755138,
-0.05902652069926262,
-0.05336110666394234,
-0.04935991019010544,
-0.028539517894387245,
-0.02004139870405197,
0.0282562468200922,
-0.02668055333197117,
0.03277087211608887,
-0.029761122539639473,
-0.05640626698732376,
-0.00955153163522482,
-0.01933322101831436,
0.0003964129136875272,
0.01604905165731907,
-0.042880091816186905,
0.05151984840631485,
-0.059486836194992065,
0.020377781242132187,
-0.03293021395802498,
-0.04900582134723663,
0.0038949712179601192,
-0.004432742949575186,
0.000835980346892029,
-0.019368629902601242,
0.0010008526733145118,
-0.006342606619000435,
0.03020373173058033,
0.009755132719874382,
-0.03301873430609703,
-0.018412591889500618,
-0.038135308772325516,
-0.0770496129989624,
-0.03227514773607254,
0.0019331008661538363,
-0.03521408140659332,
-0.0741460919380188,
-0.01410156674683094,
0.031071249395608902,
0.0113131208345294,
0.026521213352680206,
-0.003766614245250821,
-0.025936968624591827,
0.05279456451535225,
0.01435828022658825,
0.01573922485113144,
-0.05442337319254875,
0.019545674324035645,
0.013481912203133106,
-0.045641981065273285,
-0.0005477303639054298,
0.012950779870152473,
-0.020979732275009155,
-0.025565175339579582,
-0.03863103315234184,
0.03551505506038666,
0.017421144992113113,
-0.004625278525054455,
0.05569808930158615,
0.09956963360309601,
-0.02331671491265297,
-0.0006611492717638612
] |
5,657 | flask_bower | replaced_url_for |
This function acts as "replacement" for the default url_for() and intercepts if it is a request for bower assets
If the file is not available in bower, the result is passed to flasks url_for().
This is useful - but not recommended - for "overlaying" the static directory (see README.rst).
| def replaced_url_for(endpoint, filename=None, **values):
"""
This function acts as "replacement" for the default url_for() and intercepts if it is a request for bower assets
If the file is not available in bower, the result is passed to flasks url_for().
This is useful - but not recommended - for "overlaying" the static directory (see README.rst).
"""
lookup_result = overlay_url_for(endpoint, filename, **values)
if lookup_result is not None:
return lookup_result
return url_for(endpoint, filename=filename, **values)
| (endpoint, filename=None, **values) | [
0.057210054248571396,
-0.07576844096183777,
-0.02515149489045143,
0.00450005941092968,
-0.01581125520169735,
0.015392644330859184,
0.005101811606436968,
0.02515149489045143,
-0.008947792463004589,
0.012671678327023983,
0.0017572905635461211,
-0.030977152287960052,
-0.01800023764371872,
-0.03249461576342583,
0.012950751930475235,
0.014180419035255909,
0.06139615923166275,
0.026477092877030373,
0.0012972555123269558,
-0.037500493228435516,
0.030610868707299232,
0.03305276110768318,
-0.024052642285823822,
-0.02019794099032879,
-0.005699202883988619,
0.021314233541488647,
-0.03826794773340225,
-0.004033483564853668,
0.025953831151127815,
-0.08295457810163498,
0.019849099218845367,
-0.05825658142566681,
0.05096578598022461,
0.03514581173658371,
0.07234978675842285,
-0.017668837681412697,
0.042000554502010345,
0.1106526181101799,
-0.05208208039402962,
-0.0016995136393234134,
0.003595250891521573,
0.008193422108888626,
0.020006077364087105,
-0.05410536378622055,
0.07015208899974823,
0.08497786521911621,
-0.061605460941791534,
0.03153529763221741,
-0.028413165360689163,
0.03511092811822891,
0.017215343192219734,
0.004188281949609518,
0.01629091240465641,
0.021436328068375587,
0.014625192619860172,
0.055849574506282806,
0.01203504204750061,
0.05986125394701958,
0.01995375193655491,
0.05884961411356926,
0.019151415675878525,
-0.047965746372938156,
-0.015035081654787064,
-0.04412848874926567,
-0.009331517852842808,
0.04398895055055618,
0.0050276825204491615,
-0.016561264172196388,
-0.03174460306763649,
0.036767926067113876,
0.02539568394422531,
0.015514738857746124,
-0.009392565116286278,
-0.017346158623695374,
0.029372479766607285,
0.0023481412790715694,
0.1300482302904129,
-0.04901227355003357,
0.02977364882826805,
-0.018645593896508217,
-0.010351880453526974,
-0.08204758912324905,
-0.013386804610490799,
-0.0680241510272026,
-0.018820015713572502,
-0.021453771740198135,
0.010369322262704372,
-0.07144280523061752,
0.048349473625421524,
-0.028186418116092682,
-0.06505899876356125,
0.002061437116935849,
-0.0046090721152722836,
-0.04545408859848976,
0.05316349118947983,
-0.01112805400043726,
0.0051061720587313175,
0.003896126989275217,
0.06310547888278961,
-0.02628522925078869,
0.06516364961862564,
0.004299475345760584,
-0.013543782755732536,
-0.017189180478453636,
0.055640269070863724,
-0.02089562453329563,
0.0425935834646225,
0.024174736812710762,
-0.0547332800924778,
-0.0024963992182165384,
-0.025343356654047966,
-0.018296752125024796,
-0.02932015433907509,
-0.028378279879689217,
-0.023808453232049942,
-0.005516061093658209,
-0.02468055672943592,
0.018767688423395157,
0.04510524496436119,
-0.0047834934666752815,
-0.06854741275310516,
0.014503098092973232,
-0.04765179008245468,
-0.039837732911109924,
0.05511700361967087,
-0.012732725590467453,
-0.029581785202026367,
0.01435483992099762,
0.016596149653196335,
-0.022709600627422333,
-0.015959512442350388,
0.04977972432971001,
-0.10046643763780594,
-0.007814056240022182,
0.004421569872647524,
0.013421688228845596,
-0.013221104629337788,
0.017119411379098892,
0.016465332359075546,
0.10765258222818375,
-0.007072767708450556,
-0.027802692726254463,
-0.013901346363127232,
0.03256438300013542,
0.03174460306763649,
-0.009898385964334011,
0.036314431577920914,
0.013334478251636028,
-0.0033510616049170494,
0.009096049703657627,
0.0742335394024849,
0.08839651197195053,
0.036314431577920914,
0.02420962043106556,
-0.00978501234203577,
-0.024227064102888107,
0.0019622351974248886,
0.00961059145629406,
0.00293463165871799,
-0.06484968960285187,
0.06362874805927277,
0.031308550387620926,
0.013133893720805645,
-0.003667199518531561,
0.009898385964334011,
-0.0006497178692370653,
0.022186338901519775,
0.056582141667604446,
0.04915181174874306,
0.012872262857854366,
-0.037535376846790314,
0.02052934095263481,
0.019238624721765518,
0.03976796567440033,
0.06757065653800964,
0.0071076517924666405,
0.019378162920475006,
-0.05375652387738228,
0.014851939864456654,
0.012331557460129261,
0.027436407282948494,
-0.017947910353541374,
-0.004268951714038849,
0.027052681893110275,
-0.027506176382303238,
-0.0071076517924666405,
-0.03687257692217827,
-0.0073823644779622555,
-0.023616589605808258,
0.012601910158991814,
-0.03076784685254097,
0.010988516733050346,
0.03462255001068115,
0.014084488153457642,
0.0243317149579525,
-0.0571751706302166,
0.02993062697350979,
-0.005651237443089485,
0.001431341515854001,
0.007482656743377447,
-0.028395723551511765,
-0.0340818427503109,
-0.018767688423395157,
0.03151785582304001,
0.0328434556722641,
0.03565163165330887,
0.05748913064599037,
-0.0010852250270545483,
0.029616668820381165,
0.05012856796383858,
-0.03851213678717613,
0.030802730470895767,
-0.038965631276369095,
-0.01215713657438755,
-0.02093050815165043,
0.021192139014601707,
-0.009628034196794033,
0.040430765599012375,
-0.034343477338552475,
0.04636107757687569,
-0.012410047464072704,
-0.048105284571647644,
0.029041079804301262,
0.013378082774579525,
0.005838739685714245,
0.012113532051444054,
0.048349473625421524,
0.0007162158144637942,
-0.024663114920258522,
0.0285701435059309,
-0.006039323750883341,
-0.0003444812900852412,
0.06969859451055527,
-0.004957914352416992,
0.058919381350278854,
-0.027139892801642418,
-0.0007963404059410095,
0.017607789486646652,
0.03694234788417816,
0.04266335442662239,
0.010796654038131237,
0.0340469591319561,
0.01179085299372673,
0.013151336461305618,
0.00045213167322799563,
-0.0028605028055608273,
-0.040430765599012375,
0.02907596528530121,
-0.009505938738584518,
-0.04336103796958923,
0.025500336661934853,
0.04555873945355415,
-0.04451221600174904,
0.019046762958168983,
-0.019273510202765465,
-0.052954185754060745,
0.008101850748062134,
-0.01836652122437954,
0.0315701849758625,
0.055884458124637604,
-0.04632619023323059,
-0.028378279879689217,
0.036035358905792236,
-0.03015737421810627,
-0.043709877878427505,
-0.07367538660764694,
-0.026302672922611237,
-0.0075219012796878815,
-0.003564727259799838,
0.07500098645687103,
0.007378004025667906,
0.005555305629968643,
-0.0033488813787698746,
0.003457894315943122,
0.04824482277035713,
0.014555424451828003,
0.003385945688933134,
0.025988714769482613,
0.04482617229223251,
-0.010404206812381744,
0.014904266223311424,
-0.026930587366223335,
-0.0027057041879743338,
0.033157411962747574,
-0.020006077364087105,
-0.014154256321489811,
-0.0015447151381522417,
0.06101243197917938,
0.020093288272619247,
-0.025953831151127815,
0.05860542133450508,
0.0182444266974926,
-0.041651710867881775,
0.010517580434679985,
-0.0790475532412529,
-0.014546703547239304,
0.03600047528743744,
-0.0038110967725515366,
0.039593543857336044,
0.008633834309875965,
-0.057837970554828644,
-0.03115157224237919,
-0.014459492638707161,
0.03976796567440033,
-0.018785130232572556,
-0.036174893379211426,
0.05741935968399048,
-0.0693846344947815,
-0.01629091240465641,
0.020703760907053947,
0.02588406205177307,
-0.0012536502908915281,
-0.010875143110752106,
-0.01641300693154335,
0.03620978072285652,
0.008241388015449047,
0.002500759670510888,
0.012078647501766682,
-0.0025661676190793514,
0.01800023764371872,
-0.03586093708872795,
0.06718692928552628,
-0.03589582070708275,
-0.013273430988192558,
-0.004192642401903868,
0.0077704512514173985,
0.02577940933406353,
0.017607789486646652,
-0.003488417947664857,
0.0076134721748530865,
-0.004726806655526161,
0.004587269853800535,
-0.010003038682043552,
-0.03150041401386261,
-0.04336103796958923,
-0.03249461576342583,
0.0064317709766328335,
-0.0571751706302166,
0.02649453468620777,
0.021959591656923294,
0.025238703936338425,
-0.02297123335301876,
-0.017843257635831833,
0.016866501420736313,
-0.0815592110157013,
0.026354998350143433,
0.01958746649324894,
-0.017686279490590096,
0.026058482006192207,
-0.07486145198345184,
-0.0033227181993424892,
-0.005311116576194763,
-0.02129679173231125,
0.02652941830456257,
0.00007794434350216761,
0.027541060000658035,
-0.010552464984357357,
0.0050451247952878475,
-0.0008197782444767654,
0.008110571652650833,
-0.058675192296504974,
-0.0644659623503685,
-0.03013993240892887,
-0.02651197649538517,
0.04681456834077835,
0.00036737401387654245,
0.03137832134962082,
-0.022081686183810234,
-0.014197861775755882,
-0.03955866023898125,
0.0017147754551842809,
0.07119861245155334,
0.05291930213570595,
-0.04147728905081749,
-0.013255988247692585,
-0.09293145686388016,
0.012628072872757912,
-0.0340818427503109,
0.03293066471815109,
0.0273666400462389,
-0.003244228893890977,
0.048105284571647644,
-0.0008056065416894853,
0.05497746914625168,
0.0023764846846461296,
-0.05386117473244667,
0.045419201254844666,
-0.00287358439527452,
-0.0273666400462389,
-0.019849099218845367,
0.039349354803562164,
-0.07339631766080856,
0.027209660038352013,
0.04716341197490692,
-0.004543664399534464,
-0.10269902646541595,
-0.055500730872154236,
-0.015715323388576508,
0.021209580823779106,
0.006562586408108473,
0.022290991619229317,
0.03990750387310982,
0.015296713449060917,
0.029215501621365547,
0.06491945683956146,
-0.05302395299077034,
0.0595472976565361,
0.04329126700758934,
0.023320075124502182,
-0.007334399037063122,
-0.09865245968103409,
-0.0072471885941922665,
-0.06223337724804878,
-0.06069847568869591,
0.024471253156661987,
0.006331478711217642,
-0.019796771928668022,
-0.008319877088069916,
-0.029825974255800247,
-0.0050451247952878475,
0.014721124432981014,
-0.056617025285959244,
0.0364539697766304,
0.0057384478859603405,
-0.006680320482701063,
-0.0015905005857348442,
0.013849020004272461,
-0.03732607141137123,
-0.033506255596876144,
0.05061694607138634,
-0.019256068393588066,
-0.032529499381780624,
-0.04064007103443146,
-0.04179124906659126,
0.08246619999408722,
-0.03844236582517624,
0.03357602283358574,
-0.021192139014601707,
-0.004931751172989607,
-0.04440756142139435,
-0.004308196250349283,
-0.016508938744664192,
-0.026442209258675575,
0.006314036436378956,
-0.054175131022930145,
0.027174776419997215,
-0.03102947771549225,
-0.016378123313188553,
-0.017442090436816216,
-0.06021009385585785,
-0.012261789292097092,
-0.010875143110752106,
-0.018331637606024742,
0.010936190374195576,
-0.020389802753925323,
-0.050896018743515015,
-0.023546822369098663,
0.0005426125135272741,
-0.007923069410026073,
0.02079097181558609,
0.0017507497686892748,
-0.0050582061521708965,
0.04904715716838837,
-0.017703721299767494,
-0.019674677401781082,
-0.009253028780221939,
0.0462215393781662,
-0.03249461576342583,
-0.008786452934145927,
-0.0023982874117791653,
0.03816329315304756,
-0.05131462961435318,
0.01452926080673933,
-0.01958746649324894,
-0.03272136300802231,
0.0632101371884346,
0.0053023952059447765,
0.04817505180835724,
0.03973308205604553,
-0.0029804171063005924,
-0.0645008459687233,
0.0041206940077245235,
-0.0498494952917099,
0.05117509141564369,
0.028430607169866562,
-0.001316877780482173,
0.004292934667319059,
0.02555266208946705,
0.008899826556444168,
0.012628072872757912,
-0.013081567361950874,
0.0026468371506780386,
-0.026651514694094658,
0.0279771126806736,
-0.024104969576001167,
0.04158194363117218,
0.05291930213570595,
0.022657275199890137,
0.017197901383042336,
-0.03443068638443947,
0.06457062065601349,
-0.08769883215427399,
0.03235507756471634,
0.040430765599012375,
-0.03258182480931282,
-0.03514581173658371,
-0.023773569613695145,
0.03552953898906708,
-0.018575826659798622,
0.02604104019701481,
0.03669815883040428,
0.0742335394024849,
0.06746600568294525,
0.05012856796383858,
0.035459768027067184,
-0.010604790411889553,
-0.017328716814517975,
0.0010879504261538386,
0.01605544425547123,
-0.0026359357871115208,
0.028308512642979622,
-0.04203543812036514,
0.04294242709875107,
-0.006008800119161606,
-0.014381003566086292,
-0.0011991437058895826,
0.040674954652786255,
0.0048445407301187515,
-0.03087249957025051,
0.014058324508368969,
-0.05134951323270798,
0.02091306634247303,
0.02262239158153534,
-0.023320075124502182,
0.02993062697350979,
0.04768667370080948,
0.013569946400821209,
-0.06879160553216934,
-0.07807079702615738,
-0.0014160796999931335,
-0.015567065216600895,
0.020721202716231346,
-0.003486237721517682,
-0.037395842373371124,
-0.04608200117945671,
-0.033244624733924866,
-0.0741637647151947,
-0.05120997503399849,
0.09983852505683899,
-0.08700114488601685,
0.018558384850621223,
0.052116964012384415,
0.053791407495737076,
-0.020756088197231293,
-0.012401326559484005,
-0.027907343581318855,
-0.061117082834243774,
0.0437796451151371,
-0.05019833520054817,
0.020285150036215782,
-0.030366679653525352,
0.04775644466280937,
0.0279771126806736,
0.00941872876137495,
0.010003038682043552,
0.023041000589728355,
0.03219809755682945,
-0.0046134330332279205,
0.004452093504369259,
-0.056372836232185364,
0.03249461576342583,
0.021227024495601654,
-0.002864863257855177,
-0.04705876111984253,
-0.02284913882613182,
0.04350057244300842,
0.09209423512220383,
-0.11567594110965729,
0.07507075369358063,
-0.02126190811395645,
-0.0766754299402237,
-0.023285189643502235,
-0.0008083318825811148,
0.012497257441282272,
-0.03708188235759735,
-0.0058300187811255455,
0.0047486089169979095,
0.059756599366664886,
0.036907464265823364,
-0.03561674803495407,
-0.025325914844870567,
-0.02005840465426445,
-0.010988516733050346,
-0.04046564921736717,
-0.036767926067113876,
0.027331754565238953,
-0.03833771497011185,
-0.017101969569921494,
0.02101771906018257,
0.036767926067113876,
-0.00936640240252018,
0.015087408013641834,
-0.01192166842520237,
0.02722710371017456,
-0.014381003566086292,
0.015881022438406944,
-0.02710500732064247,
-0.053791407495737076,
-0.04695410653948784,
0.010552464984357357,
0.0012340279063209891,
0.017215343192219734,
0.04398895055055618,
0.014450771734118462,
-0.012017600238323212,
-0.03858190402388573,
-0.03673304244875908,
0.014032161794602871,
-0.03865167126059532,
-0.014564145356416702,
-0.02178516983985901,
0.019029321148991585,
-0.009715244174003601,
0.04486105591058731,
-0.002470236038789153,
-0.010491417720913887,
0.043221499770879745,
0.004944832529872656,
-0.04077960550785065,
0.09286168962717056,
-0.013526340946555138,
-0.02869223803281784,
0.024732884019613266,
-0.0327911302447319,
-0.010186180472373962,
-0.04827970638871193,
0.032512057572603226,
0.03976796567440033,
-0.04472151771187782,
-0.008607671596109867,
0.02468055672943592,
-0.054523974657058716,
-0.006902707275003195,
0.013343199156224728,
0.023267747834324837,
0.01834907941520214,
-0.005917229223996401,
-0.03205856308341026,
-0.0024658755864948034,
-0.03298299387097359,
0.03427370637655258,
0.018994435667991638,
0.03711676970124245,
0.01932583563029766,
0.003366323420777917,
0.022064244374632835,
0.025203820317983627,
-0.027052681893110275,
0.0717916414141655,
0.0340469591319561,
-0.015305434353649616,
-0.03366323560476303,
0.018157215788960457,
0.007487017195671797,
-0.02297123335301876,
-0.027453849092125893,
0.03868655487895012,
-0.09174539148807526,
-0.039837732911109924,
0.005795134697109461,
-0.004007320385426283,
0.015349039807915688,
-0.025971272960305214,
-0.03948889300227165,
0.0182269848883152,
-0.029337596148252487,
-0.030959710478782654,
0.027907343581318855,
-0.01447693444788456,
-0.005912868771702051,
0.03249461576342583,
-0.032180655747652054,
-0.0034535338636487722,
0.03195390850305557,
-0.015000198036432266,
0.005590189713984728,
0.00302402232773602,
-0.0352330207824707,
0.009261749684810638,
0.03376788645982742,
0.041651710867881775,
-0.0340120755136013,
-0.04876808449625969,
0.02091306634247303,
-0.06718692928552628,
0.03589582070708275,
-0.014825776219367981,
-0.08323365449905396,
0.03614000976085663,
0.021104929968714714,
0.07015208899974823,
0.04416337236762047,
0.04353545606136322,
-0.0007527351845055819,
-0.0018673937302082777,
0.008219584822654724,
-0.03430858999490738,
-0.0741637647151947,
-0.07548936456441879,
-0.040326111018657684,
-0.03237251937389374,
-0.0425935834646225,
0.009157096967101097,
-0.006540783680975437,
0.040570300072431564,
-0.016360681504011154,
-0.0814894437789917,
-0.029337596148252487,
-0.00038345344364643097,
0.012383883818984032,
0.0076178330928087234,
-0.045523855835199356,
0.033384159207344055,
-0.015715323388576508,
0.022936347872018814,
-0.014738566242158413,
-0.030977152287960052,
0.008633834309875965,
-0.007805335335433483,
0.026773609220981598,
0.002130115171894431,
0.026703840121626854,
-0.019500257447361946,
0.004896866623312235,
0.004635235294699669,
-0.035564422607421875,
-0.04514012858271599,
-0.015776369720697403,
-0.04636107757687569,
-0.028500376269221306,
0.010779211297631264,
-0.0388958603143692,
-0.06879160553216934,
0.0022870940156280994,
0.03980284929275513,
0.017825815826654434,
0.018680479377508163,
0.025465451180934906,
-0.019971193745732307,
0.06593110412359238,
0.00905244518071413,
-0.0032006234396249056,
-0.03491906449198723,
0.033628348261117935,
0.0145903080701828,
-0.0693148672580719,
-0.006571307312697172,
0.0450005941092968,
0.008577147498726845,
-0.013325757347047329,
-0.0413377545773983,
0.021436328068375587,
0.0188548993319273,
-0.004216625355184078,
0.046988990157842636,
0.08797790110111237,
-0.022709600627422333,
-0.01834907941520214
] |
5,658 | flask.helpers | send_file | Send the contents of a file to the client.
The first argument can be a file path or a file-like object. Paths
are preferred in most cases because Werkzeug can manage the file and
get extra information from the path. Passing a file-like object
requires that the file is opened in binary mode, and is mostly
useful when building a file in memory with :class:`io.BytesIO`.
Never pass file paths provided by a user. The path is assumed to be
trusted, so a user could craft a path to access a file you didn't
intend. Use :func:`send_from_directory` to safely serve
user-requested paths from within a directory.
If the WSGI server sets a ``file_wrapper`` in ``environ``, it is
used, otherwise Werkzeug's built-in wrapper is used. Alternatively,
if the HTTP server supports ``X-Sendfile``, configuring Flask with
``USE_X_SENDFILE = True`` will tell the server to send the given
path, which is much more efficient than reading it in Python.
:param path_or_file: The path to the file to send, relative to the
current working directory if a relative path is given.
Alternatively, a file-like object opened in binary mode. Make
sure the file pointer is seeked to the start of the data.
:param mimetype: The MIME type to send for the file. If not
provided, it will try to detect it from the file name.
:param as_attachment: Indicate to a browser that it should offer to
save the file instead of displaying it.
:param download_name: The default name browsers will use when saving
the file. Defaults to the passed file name.
:param conditional: Enable conditional and range responses based on
request headers. Requires passing a file path and ``environ``.
:param etag: Calculate an ETag for the file, which requires passing
a file path. Can also be a string to use instead.
:param last_modified: The last modified time to send for the file,
in seconds. If not provided, it will try to detect it from the
file path.
:param max_age: How long the client should cache the file, in
seconds. If set, ``Cache-Control`` will be ``public``, otherwise
it will be ``no-cache`` to prefer conditional caching.
.. versionchanged:: 2.0
``download_name`` replaces the ``attachment_filename``
parameter. If ``as_attachment=False``, it is passed with
``Content-Disposition: inline`` instead.
.. versionchanged:: 2.0
``max_age`` replaces the ``cache_timeout`` parameter.
``conditional`` is enabled and ``max_age`` is not set by
default.
.. versionchanged:: 2.0
``etag`` replaces the ``add_etags`` parameter. It can be a
string to use instead of generating one.
.. versionchanged:: 2.0
Passing a file-like object that inherits from
:class:`~io.TextIOBase` will raise a :exc:`ValueError` rather
than sending an empty file.
.. versionadded:: 2.0
Moved the implementation to Werkzeug. This is now a wrapper to
pass some Flask-specific arguments.
.. versionchanged:: 1.1
``filename`` may be a :class:`~os.PathLike` object.
.. versionchanged:: 1.1
Passing a :class:`~io.BytesIO` object supports range requests.
.. versionchanged:: 1.0.3
Filenames are encoded with ASCII instead of Latin-1 for broader
compatibility with WSGI servers.
.. versionchanged:: 1.0
UTF-8 filenames as specified in :rfc:`2231` are supported.
.. versionchanged:: 0.12
The filename is no longer automatically inferred from file
objects. If you want to use automatic MIME and etag support,
pass a filename via ``filename_or_fp`` or
``attachment_filename``.
.. versionchanged:: 0.12
``attachment_filename`` is preferred over ``filename`` for MIME
detection.
.. versionchanged:: 0.9
``cache_timeout`` defaults to
:meth:`Flask.get_send_file_max_age`.
.. versionchanged:: 0.7
MIME guessing and etag support for file-like objects was
removed because it was unreliable. Pass a filename if you are
able to, otherwise attach an etag yourself.
.. versionchanged:: 0.5
The ``add_etags``, ``cache_timeout`` and ``conditional``
parameters were added. The default behavior is to add etags.
.. versionadded:: 0.2
| def send_file(
path_or_file: os.PathLike[t.AnyStr] | str | t.BinaryIO,
mimetype: str | None = None,
as_attachment: bool = False,
download_name: str | None = None,
conditional: bool = True,
etag: bool | str = True,
last_modified: datetime | int | float | None = None,
max_age: None | (int | t.Callable[[str | None], int | None]) = None,
) -> Response:
"""Send the contents of a file to the client.
The first argument can be a file path or a file-like object. Paths
are preferred in most cases because Werkzeug can manage the file and
get extra information from the path. Passing a file-like object
requires that the file is opened in binary mode, and is mostly
useful when building a file in memory with :class:`io.BytesIO`.
Never pass file paths provided by a user. The path is assumed to be
trusted, so a user could craft a path to access a file you didn't
intend. Use :func:`send_from_directory` to safely serve
user-requested paths from within a directory.
If the WSGI server sets a ``file_wrapper`` in ``environ``, it is
used, otherwise Werkzeug's built-in wrapper is used. Alternatively,
if the HTTP server supports ``X-Sendfile``, configuring Flask with
``USE_X_SENDFILE = True`` will tell the server to send the given
path, which is much more efficient than reading it in Python.
:param path_or_file: The path to the file to send, relative to the
current working directory if a relative path is given.
Alternatively, a file-like object opened in binary mode. Make
sure the file pointer is seeked to the start of the data.
:param mimetype: The MIME type to send for the file. If not
provided, it will try to detect it from the file name.
:param as_attachment: Indicate to a browser that it should offer to
save the file instead of displaying it.
:param download_name: The default name browsers will use when saving
the file. Defaults to the passed file name.
:param conditional: Enable conditional and range responses based on
request headers. Requires passing a file path and ``environ``.
:param etag: Calculate an ETag for the file, which requires passing
a file path. Can also be a string to use instead.
:param last_modified: The last modified time to send for the file,
in seconds. If not provided, it will try to detect it from the
file path.
:param max_age: How long the client should cache the file, in
seconds. If set, ``Cache-Control`` will be ``public``, otherwise
it will be ``no-cache`` to prefer conditional caching.
.. versionchanged:: 2.0
``download_name`` replaces the ``attachment_filename``
parameter. If ``as_attachment=False``, it is passed with
``Content-Disposition: inline`` instead.
.. versionchanged:: 2.0
``max_age`` replaces the ``cache_timeout`` parameter.
``conditional`` is enabled and ``max_age`` is not set by
default.
.. versionchanged:: 2.0
``etag`` replaces the ``add_etags`` parameter. It can be a
string to use instead of generating one.
.. versionchanged:: 2.0
Passing a file-like object that inherits from
:class:`~io.TextIOBase` will raise a :exc:`ValueError` rather
than sending an empty file.
.. versionadded:: 2.0
Moved the implementation to Werkzeug. This is now a wrapper to
pass some Flask-specific arguments.
.. versionchanged:: 1.1
``filename`` may be a :class:`~os.PathLike` object.
.. versionchanged:: 1.1
Passing a :class:`~io.BytesIO` object supports range requests.
.. versionchanged:: 1.0.3
Filenames are encoded with ASCII instead of Latin-1 for broader
compatibility with WSGI servers.
.. versionchanged:: 1.0
UTF-8 filenames as specified in :rfc:`2231` are supported.
.. versionchanged:: 0.12
The filename is no longer automatically inferred from file
objects. If you want to use automatic MIME and etag support,
pass a filename via ``filename_or_fp`` or
``attachment_filename``.
.. versionchanged:: 0.12
``attachment_filename`` is preferred over ``filename`` for MIME
detection.
.. versionchanged:: 0.9
``cache_timeout`` defaults to
:meth:`Flask.get_send_file_max_age`.
.. versionchanged:: 0.7
MIME guessing and etag support for file-like objects was
removed because it was unreliable. Pass a filename if you are
able to, otherwise attach an etag yourself.
.. versionchanged:: 0.5
The ``add_etags``, ``cache_timeout`` and ``conditional``
parameters were added. The default behavior is to add etags.
.. versionadded:: 0.2
"""
return werkzeug.utils.send_file( # type: ignore[return-value]
**_prepare_send_file_kwargs(
path_or_file=path_or_file,
environ=request.environ,
mimetype=mimetype,
as_attachment=as_attachment,
download_name=download_name,
conditional=conditional,
etag=etag,
last_modified=last_modified,
max_age=max_age,
)
)
| (path_or_file: 'os.PathLike[t.AnyStr] | str | t.BinaryIO', mimetype: 'str | None' = None, as_attachment: 'bool' = False, download_name: 'str | None' = None, conditional: 'bool' = True, etag: 'bool | str' = True, last_modified: 'datetime | int | float | None' = None, max_age: 'None | (int | t.Callable[[str | None], int | None])' = None) -> 'Response' | [
0.0527181476354599,
-0.027804763987660408,
-0.032498303800821304,
0.01358551811426878,
0.030102021992206573,
-0.06646209955215454,
0.004094469361007214,
0.08547390252351761,
0.007619574666023254,
-0.0190811175853014,
0.029923787340521812,
-0.026161033660173416,
-0.0033245901577174664,
-0.03572634980082512,
0.01029806025326252,
0.02764633111655712,
-0.0018727121641859412,
-0.047054216265678406,
0.026814565062522888,
-0.008352321572601795,
0.06994759291410446,
-0.030755553394556046,
-0.021724946796894073,
0.014407382346689701,
0.012644830159842968,
0.011743749491870403,
-0.0458659753203392,
-0.005594619549810886,
0.0025027256924659014,
0.0002384211402386427,
0.07422525435686111,
-0.0868205726146698,
0.026953192427754402,
-0.001852908288128674,
0.05267854034900665,
0.035290662199258804,
-0.002827015705406666,
0.012357672676444054,
0.007178936153650284,
-0.01616993546485901,
-0.013951891101896763,
0.0229329876601696,
0.018863273784518242,
-0.018932588398456573,
-0.012595320120453835,
0.02915143221616745,
-0.031923986971378326,
0.049905985593795776,
-0.012545810081064701,
0.024339070543646812,
0.04253891110420227,
0.00248787272721529,
0.015843169763684273,
0.013169635087251663,
-0.029705943539738655,
0.014585617929697037,
-0.027903782203793526,
0.0551738403737545,
-0.05069814249873161,
-0.007386878132820129,
0.03497379645705223,
-0.01137737650424242,
0.06416483968496323,
-0.08452331274747849,
-0.0021375901997089386,
0.03608281910419464,
0.006431336980313063,
0.0005306843086145818,
-0.02077435702085495,
-0.025329267606139183,
-0.005520354490727186,
0.037092819809913635,
0.0012358910171315074,
-0.0070700147189199924,
0.0025868925731629133,
0.010822865180671215,
0.0017637903802096844,
0.0269928015768528,
0.03208241984248161,
0.002948314882814884,
0.08381036669015884,
-0.06570954620838165,
-0.025883778929710388,
-0.014219244942069054,
0.008000800386071205,
-0.04998520016670227,
0.0067531513050198555,
-0.030220847576856613,
-0.03675615414977074,
0.02321024425327778,
0.008228546008467674,
0.028002802282571793,
0.019061313942074776,
-0.01393208745867014,
0.009099920280277729,
-0.07592839002609253,
0.0084612425416708,
0.006763053126633167,
0.0016325891483575106,
-0.0015756527427583933,
-0.04107341915369034,
0.017368074506521225,
0.0011282069608569145,
-0.005421334877610207,
0.030577318742871284,
-0.042618125677108765,
-0.007877025753259659,
-0.03897419944405556,
-0.005535207688808441,
-0.024477697908878326,
-0.036637332290410995,
-0.043845973908901215,
-0.05469854548573494,
-0.04146949574351311,
-0.027448292821645737,
-0.01967523619532585,
-0.00366620859131217,
0.025408484041690826,
0.00568868825212121,
-0.000029938020816189237,
0.0338449701666832,
-0.04634127393364906,
-0.014951991848647594,
-0.01926925592124462,
0.02572534792125225,
-0.012872575782239437,
-0.011733847670257092,
-0.04677695780992508,
0.03929106146097183,
-0.005916433874517679,
0.0009140766342170537,
0.0018170136027038097,
0.00823844876140356,
0.06444209069013596,
-0.02002180553972721,
0.04226165637373924,
-0.0004886008682660758,
0.06345189362764359,
0.018655331805348396,
0.0818299725651741,
0.04034067317843437,
-0.044598523527383804,
-0.005540158599615097,
0.025685738772153854,
0.04982677102088928,
-0.02031886577606201,
-0.006451140623539686,
-0.05640168488025665,
-0.04131106659770012,
0.055609527975320816,
-0.0059609925374388695,
0.027190839871764183,
-0.01756611466407776,
0.040875378996133804,
0.047687940299510956,
-0.03077535703778267,
-0.01810082234442234,
-0.01017923653125763,
-0.05620364472270012,
0.0066689844243228436,
-0.01791268400847912,
-0.002619073959067464,
0.032141830772161484,
0.0062877582386136055,
0.052044812589883804,
-0.01651650480926037,
-0.05715423449873924,
0.08713743835687637,
0.05553030967712402,
0.02572534792125225,
-0.05667893961071968,
0.035112425684928894,
0.01706111431121826,
-0.022715145722031593,
0.05937227979302406,
0.026458093896508217,
0.024299461394548416,
-0.030993200838565826,
0.022200241684913635,
-0.00544113852083683,
0.03136947751045227,
-0.04606401547789574,
0.04895539581775665,
0.012555711902678013,
0.03952870890498161,
0.02677495777606964,
-0.03636007383465767,
-0.010025756433606148,
0.02746809646487236,
0.0021821490954607725,
0.004002876114100218,
-0.013684538193047047,
0.004995549563318491,
0.020932788029313087,
0.019110823050141335,
-0.028616726398468018,
0.004049910232424736,
-0.06883857399225235,
0.026081819087266922,
-0.03129025921225548,
-0.04578676074743271,
-0.026854172348976135,
0.00644618971273303,
-0.020734747871756554,
-0.05109422281384468,
0.020031707361340523,
0.05410442501306534,
-0.009010802954435349,
-0.035468894988298416,
0.0484008826315403,
-0.03691458702087402,
0.0033815265633165836,
-0.029250452294945717,
-0.01207051519304514,
0.01821964606642723,
-0.009971295483410358,
-0.04808402061462402,
0.03095359355211258,
-0.0645609200000763,
0.0676107257604599,
0.008188938722014427,
0.005916433874517679,
-0.06986837834119797,
0.05014363303780556,
0.0675315111875534,
-0.004517778754234314,
0.004139028023928404,
0.009798010811209679,
-0.008911782875657082,
-0.0011851433664560318,
-0.008505801670253277,
0.015318364836275578,
0.07434407621622086,
-0.0024136079009622335,
-0.029527708888053894,
0.029191041365265846,
-0.01646699383854866,
0.03538968041539192,
-0.036280859261751175,
0.00201629102230072,
0.02059612050652504,
0.004871774930506945,
-0.020259452983736992,
0.02503220923244953,
-0.020378276705741882,
-0.0527181476354599,
0.007733447477221489,
0.04935147613286972,
-0.03467673808336258,
-0.06539268046617508,
0.043845973908901215,
0.009491048753261566,
-0.05707501992583275,
0.0036959145218133926,
0.013021104969084263,
0.09656412154436111,
0.009114773944020271,
-0.049311865121126175,
-0.010278256610035896,
0.03887517750263214,
-0.02035847306251526,
0.02031886577606201,
-0.0072185443714261055,
-0.030696142464876175,
0.01682346686720848,
-0.04376675561070442,
-0.05180716514587402,
-0.0073670740239322186,
-0.05014363303780556,
0.02396279387176037,
0.043727148324251175,
0.053906384855508804,
0.01930886320769787,
-0.06040208414196968,
0.016615524888038635,
-0.015843169763684273,
0.01938807964324951,
0.0009846282191574574,
0.035647131502628326,
0.044242050498723984,
-0.02629966288805008,
-0.01056541409343481,
0.020398082211613655,
0.0034681688994169235,
0.017150230705738068,
0.03933066874742508,
-0.05343108996748924,
0.03222104534506798,
-0.031211044639348984,
-0.006995749659836292,
0.05192599073052406,
0.037964195013046265,
0.02891378477215767,
-0.043093420565128326,
-0.04487577825784683,
-0.038736552000045776,
-0.03711262717843056,
-0.04317263886332512,
0.08642449229955673,
-0.03929106146097183,
0.02653731033205986,
0.04249930381774902,
0.05893659219145775,
-0.03146849572658539,
-0.0319833979010582,
-0.008000800386071205,
0.02635907381772995,
-0.04598480090498924,
-0.021665534004569054,
0.004468269180506468,
0.024477697908878326,
-0.059847574681043625,
0.003141403431072831,
-0.02822064608335495,
0.06281816959381104,
0.055886782705783844,
0.06040208414196968,
0.013545909896492958,
0.03245869278907776,
-0.0027329467702656984,
0.012733947485685349,
0.00299039832316339,
0.010902081616222858,
0.04634127393364906,
0.045945193618535995,
-0.04539068043231964,
0.04511342570185661,
0.021309062838554382,
-0.014456892386078835,
0.029943590983748436,
0.027428487315773964,
0.08420644700527191,
-0.014209343120455742,
-0.022160634398460388,
-0.0440044030547142,
0.0021858622785657644,
0.021724946796894073,
0.005119324196130037,
0.048559315502643585,
-0.00980791263282299,
-0.006891779135912657,
-0.004094469361007214,
0.032557714730501175,
0.026339270174503326,
-0.03923165053129196,
0.0175166055560112,
0.03554811328649521,
0.03055751323699951,
0.011426886543631554,
-0.034003403037786484,
-0.03760772570967674,
-0.0016759103164076805,
-0.01230816263705492,
-0.059966396540403366,
-0.040994200855493546,
-0.06155071407556534,
0.03929106146097183,
0.010199041105806828,
-0.028715744614601135,
0.03134967386722565,
-0.005540158599615097,
0.048559315502643585,
-0.04166753590106964,
0.009847519919276237,
-0.0032305214554071426,
0.00737697584554553,
0.03519164025783539,
0.042855773121118546,
-0.07961192727088928,
-0.0052728052251040936,
0.030181238427758217,
0.014843069948256016,
0.0037677038926631212,
-0.011981396935880184,
0.025467894971370697,
-0.04170714318752289,
-0.03194379061460495,
-0.06844249367713928,
0.02485397271811962,
0.015793660655617714,
-0.005758001934736967,
-0.005307462066411972,
-0.008248350583016872,
0.021309062838554382,
-0.008099820464849472,
0.0029012805316597223,
0.03083476983010769,
-0.02554711140692234,
-0.03834047168493271,
-0.0021437788382172585,
0.07157152146100998,
-0.06547190248966217,
0.04828206077218056,
0.014456892386078835,
-0.015140129253268242,
-0.03218143805861473,
-0.025091620162129402,
0.03228046000003815,
0.005282707046717405,
-0.011931887827813625,
0.007976045832037926,
0.053153835237026215,
-0.062065619975328445,
0.03857811912894249,
-0.005530256312340498,
0.04305381327867508,
0.030577318742871284,
-0.010397080332040787,
0.02124965190887451,
0.007857222110033035,
0.007292808964848518,
0.022675536572933197,
-0.05671854689717293,
-0.005144079215824604,
0.031052613630890846,
0.08135467767715454,
-0.0484008826315403,
0.007674035616219044,
0.050658535212278366,
-0.0381622351706028,
-0.0030473347287625074,
0.009085067547857761,
0.05101500824093819,
0.015060913749039173,
0.0015558487502858043,
-0.01419944129884243,
-0.003916233777999878,
-0.04816323518753052,
-0.05739188194274902,
-0.004530156496912241,
0.022596322000026703,
-0.02489358000457287,
-0.0428161658346653,
-0.005926335696130991,
0.0614318922162056,
0.025527307763695717,
-0.02734927274286747,
-0.06238248199224472,
0.0182790569961071,
-0.004955941811203957,
-0.012634928338229656,
-0.014347970485687256,
-0.02582436613738537,
-0.029606923460960388,
-0.03699380159378052,
0.0034533159341663122,
-0.030478298664093018,
-0.0313100628554821,
0.061709146946668625,
-0.024358874186873436,
0.023527108132839203,
-0.053272657096385956,
0.05034167319536209,
0.012417084537446499,
-0.04871774837374687,
-0.006129326298832893,
-0.012605221942067146,
-0.01233786903321743,
-0.017714643850922585,
-0.03944949433207512,
0.002948314882814884,
0.046460095793008804,
0.047054216265678406,
-0.08032487332820892,
-0.0019469771068543196,
0.0288543738424778,
-0.0002255795116070658,
-0.035647131502628326,
-0.030418885871767998,
0.0035152032505720854,
0.07327466458082199,
-0.0477275513112545,
-0.02134867198765278,
-0.0022217570804059505,
0.09284097701311111,
0.03980596363544464,
0.0009592544520273805,
0.050935789942741394,
-0.0313100628554821,
-0.03798399865627289,
0.02164573036134243,
-0.024240050464868546,
-0.08230526745319366,
0.018368175253272057,
0.021625926718115807,
-0.008614723570644855,
0.03451830521225929,
0.030913986265659332,
0.018318666145205498,
0.009837618097662926,
0.027388880029320717,
0.019160334020853043,
-0.03309242054820061,
0.007005651481449604,
-0.015912484377622604,
0.05101500824093819,
0.010921885259449482,
-0.0229329876601696,
-0.02041788585484028,
0.0032552762422710657,
0.004535107407718897,
-0.06444209069013596,
0.0012327966978773475,
0.06780876964330673,
-0.014120224863290787,
-0.035587720572948456,
-0.019160334020853043,
-0.01532826665788889,
0.009377175942063332,
-0.01966533437371254,
0.002851770492270589,
-0.004129126202315092,
0.013941989280283451,
-0.0016759103164076805,
0.002335629891604185,
0.013991499319672585,
-0.01303100772202015,
-0.007169034332036972,
0.030973397195339203,
-0.05164873227477074,
-0.00799584947526455,
0.00044156648800708354,
-0.005718394182622433,
0.0059758457355201244,
0.0023257278371602297,
0.014347970485687256,
0.0601644366979599,
-0.03879596292972565,
0.02782456763088703,
0.0421428307890892,
0.020873377099633217,
0.03572634980082512,
0.035468894988298416,
0.00963462796062231,
0.03786517679691315,
0.00544113852083683,
-0.05160912498831749,
-0.0363006629049778,
-0.08060212433338165,
-0.01245669275522232,
0.013951891101896763,
0.06519464403390884,
-0.0033394431229680777,
-0.06345189362764359,
-0.04451930895447731,
-0.06935347616672516,
0.017536409199237823,
-0.08083977550268173,
0.04982677102088928,
-0.07291819155216217,
-0.06325385719537735,
-0.008684037253260612,
0.04550950601696968,
0.022972596809267998,
-0.0626993477344513,
0.03194379061460495,
0.006475895643234253,
-0.04638088122010231,
0.009228646755218506,
-0.046578921377658844,
-0.01125855278223753,
0.025923386216163635,
-0.001240842044353485,
-0.04440048336982727,
-0.01451630424708128,
0.0775919258594513,
0.09070214629173279,
-0.00936727412045002,
-0.010476295836269855,
-0.08444409817457199,
-0.026735348626971245,
0.07778996229171753,
-0.024061813950538635,
-0.027329467236995697,
0.08206762373447418,
0.02485397271811962,
0.04550950601696968,
0.026576917618513107,
-0.0021771981846541166,
-0.0018504327163100243,
0.005119324196130037,
-0.05418363958597183,
-0.057867176830768585,
-0.025052012875676155,
-0.05707501992583275,
-0.006678886245936155,
0.005446089897304773,
0.05010402575135231,
-0.08270134776830673,
-0.029943590983748436,
-0.030181238427758217,
-0.03548870235681534,
0.04515303298830986,
-0.04455891624093056,
0.01931876502931118,
0.07208642363548279,
0.023764755576848984,
0.04638088122010231,
0.0452718585729599,
0.06151110678911209,
0.014852971769869328,
-0.0032577519305050373,
-0.004525205586105585,
0.029745550826191902,
-0.008327566087245941,
0.021051611751317978,
-0.046182841062545776,
0.03170614317059517,
0.00252500525675714,
-0.00295326579362154,
-0.05683737248182297,
0.00927815679460764,
-0.028299862518906593,
0.04895539581775665,
-0.01079315971583128,
-0.006565013434737921,
-0.061352673918008804,
0.03194379061460495,
0.027903782203793526,
-0.009882177226245403,
-0.059213846921920776,
-0.06911583244800568,
0.0009140766342170537,
0.0347757562994957,
-0.009986148215830326,
0.012120025232434273,
-0.011832867749035358,
-0.0029408885166049004,
-0.055886782705783844,
0.05046049505472183,
-0.031567517668008804,
-0.030458495020866394,
0.022596322000026703,
0.0607585571706295,
0.0676107257604599,
-0.04016243666410446,
-0.03497379645705223,
0.015080717392265797,
-0.003440938424319029,
0.0004904575180262327,
0.07755231857299805,
-0.026398681104183197,
0.005094569176435471,
-0.021903183311223984,
-0.017823565751314163,
0.012278457172214985,
0.07240328937768936,
-0.05335187539458275,
0.03618184104561806,
-0.03834047168493271,
-0.00395831698551774,
-0.005297559779137373,
-0.05208441987633705,
-0.030993200838565826,
-0.03287457674741745,
0.027091819792985916,
0.04709382355213165,
-0.049668338149785995,
0.027626527473330498,
0.00493118679150939,
0.05255971476435661,
-0.061827972531318665,
0.05572834983468056,
-0.0421428307890892,
-0.02758692018687725,
-0.03608281910419464,
0.026854172348976135,
-0.07371034473180771,
0.035528309643268585,
0.007956242188811302,
-0.00493118679150939,
0.07188838720321655,
0.004512827843427658,
-0.03263692930340767,
0.05200520530343056,
0.02612142637372017,
-0.007169034332036972,
0.006456091534346342,
-0.018526606261730194,
-0.00561442319303751,
0.043845973908901215,
0.01629866100847721,
-0.03828106075525284,
0.03711262717843056,
0.03501340374350548,
-0.04982677102088928,
0.047054216265678406,
-0.007223495282232761,
-0.015348071232438087,
-0.03643929213285446,
0.007891879417002201,
-0.024002403020858765,
-0.0446777381002903,
-0.0016808613436296582,
-0.03746909648180008,
-0.018298860639333725,
0.009416784159839153,
-0.004700965713709593,
-0.004106846638023853,
0.048321668058633804,
-0.012248750776052475,
0.01169423945248127,
0.027903782203793526,
0.05640168488025665,
-0.062303267419338226,
-0.043212246149778366,
-0.07331427186727524,
-0.006876925937831402,
0.0533122681081295,
-0.018982097506523132,
-0.006456091534346342,
0.0028988050762563944,
0.03944949433207512,
0.018249351531267166,
-0.0165858194231987,
0.03338947892189026,
-0.05410442501306534,
-0.022121025249361992,
-0.011337768286466599,
-0.00794138852506876,
-0.04301420599222183,
-0.017130427062511444,
0.03960792347788811,
-0.012179437093436718,
-0.0021759604569524527,
-0.06729386746883392,
-0.050777360796928406,
0.02065553329885006,
-0.010050510987639427,
0.0378255695104599,
0.07268054038286209,
-0.021051611751317978,
0.007649280596524477,
-0.002762652700766921,
-0.00514903012663126,
-0.02798299863934517,
0.015922386199235916,
-0.016962094232439995,
-0.07410642504692078,
0.023546911776065826,
-0.06028326228260994,
0.0004035057208966464,
-0.06741268932819366,
-0.0595703199505806,
0.0533122681081295,
-0.006664033513516188,
0.05311422795057297,
0.013486498035490513,
0.0032379478216171265,
0.02491338551044464,
0.011981396935880184,
-0.05865933746099472,
-0.03980596363544464,
0.04701460525393486,
0.04808402061462402,
0.06024365499615669,
-0.06840288639068604,
0.029804963618516922,
-0.00913952849805355,
-0.03142888844013214,
-0.023249851539731026,
0.039588119834661484,
-0.019219744950532913,
-0.0038815767038613558,
-0.0051787360571324825,
0.04998520016670227,
-0.0325775183737278,
0.06127345934510231
] |
5,659 | flask_bower | serve | null | def serve(component, filename):
validate_parameter(component)
validate_parameter(filename)
root = current_app.config['BOWER_COMPONENTS_ROOT']
return send_file(os.path.join(root, component, filename), conditional=True)
| (component, filename) | [
0.075726717710495,
-0.014617489650845528,
-0.06699682772159576,
-0.004364944528788328,
0.034919556230306625,
-0.04554430767893791,
-0.012967946007847786,
0.05369897186756134,
-0.03285551443696022,
0.013247099705040455,
0.021638620644807816,
-0.020826539024710655,
-0.049401700496673584,
0.0008036235230974853,
0.04649173840880394,
-0.0423298142850399,
0.03288935124874115,
-0.028947366401553154,
-0.0029649478383362293,
0.012020516209304333,
0.00020606070756912231,
-0.007600586861371994,
0.03436125069856644,
0.009364329278469086,
0.008497261442244053,
-0.008361914195120335,
-0.0070634279400110245,
0.012341965921223164,
-0.007630194071680307,
-0.05143190547823906,
0.0628010630607605,
-0.10523238778114319,
0.039724379777908325,
0.0017658569850027561,
0.01759512536227703,
0.05620289221405983,
-0.011259188875555992,
-0.007452550809830427,
-0.0663539245724678,
-0.002038666047155857,
0.024260971695184708,
0.003931411076337099,
0.05437570810317993,
-0.01957457698881626,
-0.023787256330251694,
0.02847365103662014,
-0.022129254415631294,
0.039758216589689255,
-0.010472483932971954,
0.01893167942762375,
-0.016047094017267227,
0.044630713760852814,
0.003337152535095811,
-0.006530498620122671,
0.025699034333229065,
0.03742348030209541,
-0.003984280861914158,
0.08614844083786011,
0.0010663872817531228,
0.029099632054567337,
-0.009288196451961994,
-0.02158786542713642,
0.05501860752701759,
-0.04253283515572548,
0.04145005717873573,
0.0008681248873472214,
0.03437817096710205,
0.029031958431005478,
-0.03542710840702057,
0.0031637391075491905,
0.043040383607149124,
0.008015087805688381,
0.029979387298226357,
-0.014727459289133549,
0.009355870075523853,
-0.010049523785710335,
0.009914176538586617,
0.027086343616247177,
0.03607000783085823,
0.016055552288889885,
0.03542710840702057,
-0.04023193195462227,
-0.009186686016619205,
-0.043784793466329575,
0.0022078498732298613,
-0.016630778089165688,
-0.004622950218617916,
-0.0648651123046875,
-0.05545848235487938,
0.06564335525035858,
0.02045433409512043,
-0.001533229136839509,
-0.012536527588963509,
-0.016926849260926247,
0.019100863486528397,
-0.035833150148391724,
0.03911531716585159,
0.047743696719408035,
0.028710508719086647,
0.007016902323812246,
-0.015201173722743988,
0.05224398896098137,
-0.02458242140710354,
0.0106670456007123,
0.06161677837371826,
-0.0033709893468767405,
0.030436184257268906,
0.012248914688825607,
-0.022619888186454773,
0.025428341701626778,
-0.02399027720093727,
-0.016969146206974983,
-0.06175212562084198,
-0.04002891108393669,
-0.044630713760852814,
-0.001135646947659552,
-0.00837460346519947,
0.017476696521043777,
0.02055584453046322,
-0.02837214060127735,
-0.04821741208434105,
0.008603001944720745,
-0.0471346341073513,
-0.017392106354236603,
0.011944383382797241,
0.05528930202126503,
0.004432618152350187,
-0.02458242140710354,
-0.013551631011068821,
0.01992986351251602,
-0.018559474498033524,
0.05204096809029579,
-0.007418714463710785,
-0.018136514350771904,
-0.009009042754769325,
0.013035619631409645,
-0.016241654753684998,
0.010447106324136257,
0.05447721853852272,
0.0805315375328064,
0.007469469215720892,
-0.046085696667432785,
-0.018914761021733284,
0.020978804677724838,
0.050010763108730316,
-0.006593942642211914,
-0.00010653299250407144,
-0.03150204196572304,
-0.045984186232089996,
0.0259697288274765,
-0.0011049823369830847,
0.034005966037511826,
-0.024650095030665398,
-0.05599987134337425,
0.013813866302371025,
-0.014152233488857746,
0.02674797549843788,
0.018238024786114693,
-0.0288289375603199,
0.002609661780297756,
0.009127471596002579,
-0.02458242140710354,
-0.025851299986243248,
0.04019809514284134,
0.004728690255433321,
-0.025073055177927017,
-0.08560705929994583,
0.11538342386484146,
0.004257089924067259,
-0.0103540550917387,
-0.0092374412342906,
0.042160630226135254,
-0.06506813317537308,
-0.011885168962180614,
0.06425604969263077,
0.0187624953687191,
-0.002169783692806959,
-0.06273338943719864,
0.06472976505756378,
-0.03928450122475624,
-0.04811590164899826,
-0.032128024846315384,
0.0150996632874012,
0.0417545884847641,
0.02996246889233589,
-0.012561905197799206,
-0.02419329807162285,
0.037389643490314484,
0.012925649993121624,
-0.002956488635390997,
-0.000420580618083477,
0.01932080276310444,
0.0026160061825066805,
0.017612043768167496,
0.026680301874876022,
-0.025986647233366966,
0.05464640259742737,
-0.03674674406647682,
-0.009948013350367546,
-0.024430155754089355,
-0.049367863684892654,
-0.009795747697353363,
0.006640468258410692,
0.010912361554801464,
0.01368697825819254,
0.006737749092280865,
0.08296778798103333,
0.005028991494327784,
0.00591720687225461,
0.015928665176033974,
-0.0167576652020216,
-0.03388753533363342,
0.016935309395194054,
0.012773385271430016,
0.013509334996342659,
-0.0399274006485939,
-0.05356362462043762,
0.011648312211036682,
-0.025918973609805107,
-0.002565250964835286,
-0.017815064638853073,
0.006488202605396509,
0.0015173681313171983,
0.06689531356096268,
-0.015395735390484333,
-0.0019593611359596252,
0.021367928013205528,
0.0008834571926854551,
-0.0633762925863266,
0.006944999098777771,
-0.027864588424563408,
0.0012836828827857971,
0.07741855829954147,
0.01483742892742157,
0.00692385109141469,
0.01769663579761982,
-0.015412653796374798,
0.04496908187866211,
-0.06236118823289871,
-0.013060997240245342,
0.041179362684488297,
-0.03006397932767868,
0.017315972596406937,
-0.031603552401065826,
-0.010074901394546032,
-0.06080469489097595,
0.021486356854438782,
0.04699929058551788,
-0.036476049572229385,
-0.008581853471696377,
0.04354793578386307,
0.027779996395111084,
-0.032483309507369995,
0.02512381039559841,
-0.02756005898118019,
0.002983981044963002,
-0.07396720349788666,
-0.0426681824028492,
0.014118396677076817,
0.032770924270153046,
-0.07417022436857224,
-0.006170982960611582,
0.01766279898583889,
0.030825307592749596,
0.06560951471328735,
-0.05298839882016182,
-0.051736436784267426,
0.035054903477430344,
0.006111768539994955,
0.02642652578651905,
0.009770370088517666,
0.06253036856651306,
0.02879510074853897,
-0.06608323007822037,
-0.02211233600974083,
-0.04260050877928734,
0.043649446219205856,
-0.01337398774921894,
0.028253711760044098,
0.015471868216991425,
-0.02454858459532261,
-0.01578485779464245,
0.008226566947996616,
0.013255558907985687,
-0.011969760991632938,
0.0103540550917387,
0.03837091103196144,
0.02519148401916027,
-0.007097264751791954,
-0.01734135113656521,
-0.009956472553312778,
0.0327201671898365,
0.001638969057239592,
-0.057353343814611435,
-0.06943307816982269,
-0.027644651010632515,
-0.04354793578386307,
-0.0025990877766162157,
0.04243132472038269,
-0.04710080102086067,
0.01918545551598072,
-0.018847087398171425,
-0.023398134857416153,
-0.02847365103662014,
-0.03324463590979576,
0.010489402338862419,
-0.02116490714251995,
-0.05643974989652634,
-0.013221722096204758,
-0.00808276142925024,
0.05562766641378403,
-0.012316588312387466,
0.009245900437235832,
0.003944099880754948,
0.06466209143400192,
0.092442087829113,
0.031112920492887497,
0.018288780003786087,
0.033718351274728775,
0.005515395198017359,
0.034851882606744766,
0.05386815592646599,
0.004356485325843096,
0.0702451542019844,
0.018254943192005157,
-0.0056169056333601475,
0.05390199273824692,
-0.010836228728294373,
-0.017967330291867256,
-0.01932080276310444,
-0.006636238656938076,
0.0952843725681305,
-0.018644066527485847,
-0.07261373102664948,
0.006585483439266682,
-0.05278537794947624,
0.0025927433744072914,
-0.03833707422018051,
0.04551047086715698,
-0.025868218392133713,
0.038844626396894455,
-0.025242239236831665,
0.016909930855035782,
-0.0025673657655715942,
-0.006644697859883308,
0.012570364400744438,
-0.00719031598418951,
-0.037288133054971695,
0.0024447073228657246,
-0.0828324407339096,
0.0019435001304373145,
-0.0008020374225452542,
0.013365528546273708,
-0.0053504412062466145,
0.011199974454939365,
-0.019388476386666298,
0.007228382397443056,
0.006703912280499935,
-0.038979969918727875,
0.003574009984731674,
-0.042126793414354324,
-0.02016672119498253,
-0.04916484281420708,
-0.002034436445683241,
-0.027086343616247177,
-0.02487003430724144,
0.04723614454269409,
-0.02155402861535549,
-0.0048767258413136005,
0.02879510074853897,
0.017096033319830894,
0.03678058087825775,
-0.01121689286082983,
0.0007761311717331409,
0.012519609183073044,
-0.044630713760852814,
-0.013424742966890335,
-0.07139560580253601,
0.011851332150399685,
0.007702097296714783,
0.005168568342924118,
0.03343074023723602,
0.023787256330251694,
-0.004754067864269018,
-0.009313574060797691,
-0.03087606281042099,
-0.0004895759047940373,
0.0058537633158266544,
-0.0456458181142807,
-0.03126518428325653,
0.06797809153795242,
-0.04226214066147804,
-0.013179426081478596,
-0.002833830425515771,
-0.005236241966485977,
-0.06807960569858551,
-0.006936539895832539,
0.010447106324136257,
0.018390290439128876,
0.00855224672704935,
0.007883969694375992,
-0.0036247652024030685,
-0.06401918828487396,
0.06879017502069473,
0.0106670456007123,
-0.003925066441297531,
0.04672859609127045,
-0.029099632054567337,
0.015954041853547096,
0.012815680354833603,
-0.018711740151047707,
0.03219569846987724,
-0.07667414844036102,
-0.005240471567958593,
0.032584819942712784,
0.038979969918727875,
-0.03705127537250519,
-0.07078654319047928,
0.021486356854438782,
0.013060997240245342,
-0.003658602014183998,
0.005515395198017359,
0.08655448257923126,
-0.01517579611390829,
-0.007059198338538408,
-0.0019889683462679386,
0.015869449824094772,
-0.05992493778467178,
-0.0030368510633707047,
-0.019794516265392303,
-0.05457872897386551,
-0.04249899834394455,
-0.11957918107509613,
-0.04090866819024086,
0.06835030019283295,
-0.04466455057263374,
-0.022247683256864548,
-0.019083945080637932,
0.003003014251589775,
0.0019244669238105416,
-0.017070656642317772,
0.007537142839282751,
-0.0028486340306699276,
0.0252253208309412,
0.03938601166009903,
0.04425850883126259,
-0.04916484281420708,
-0.06117689982056618,
0.0256821159273386,
-0.038878463208675385,
-0.033819861710071564,
-0.010100279003381729,
0.021706294268369675,
-0.002979751443490386,
0.019405394792556763,
-0.052514683455228806,
-0.020082129165530205,
-0.05163492634892464,
-0.011479128152132034,
-0.023838011547923088,
-0.02996246889233589,
-0.005282767582684755,
0.05958656966686249,
-0.04320956766605377,
-0.004572195000946522,
-0.028321385383605957,
0.04814973846077919,
0.03701743856072426,
0.016867635771632195,
0.019845271483063698,
0.00831115897744894,
-0.030216244980692863,
0.018136514350771904,
-0.004202105104923248,
0.04595034942030907,
0.06364698708057404,
-0.014397550374269485,
0.039825890213251114,
0.007989710196852684,
-0.021773967891931534,
-0.06923005729913712,
0.0035782395862042904,
-0.052650030702352524,
0.06476359814405441,
0.005959502886980772,
0.016766125336289406,
0.012375802733004093,
0.016664614900946617,
0.02074194699525833,
-0.05197329446673393,
0.008746807463467121,
-0.0016865520738065243,
-0.0001393123675370589,
-0.025699034333229065,
-0.0016305098542943597,
0.06990678608417511,
0.004011773504316807,
0.075726717710495,
-0.011386076919734478,
-0.0009320975514128804,
-0.027441630139946938,
-0.04023193195462227,
0.027035588398575783,
0.04398781433701515,
-0.0326017402112484,
-0.0363745391368866,
-0.010506320744752884,
-0.021063396707177162,
-0.00982112530618906,
0.007977020926773548,
0.027424711734056473,
0.0027809604071080685,
0.026646465063095093,
0.04260050877928734,
0.03348149359226227,
0.00944892130792141,
0.016613859683275223,
0.017899656668305397,
0.014101478271186352,
-0.006280952598899603,
0.048488106578588486,
-0.1005629152059555,
0.03620535507798195,
-0.005291226785629988,
0.02116490714251995,
-0.01409301906824112,
0.018102677538990974,
-0.04334491491317749,
-0.0003825142339337617,
0.07545602321624756,
-0.00247219973243773,
0.04479989781975746,
0.05748869106173515,
-0.02317819558084011,
0.03222953528165817,
-0.0065812538377940655,
0.034716539084911346,
-0.014338335953652859,
-0.03681441769003868,
-0.006839259527623653,
-0.0037516530137509108,
-0.012663415633141994,
0.06016179546713829,
-0.06110922619700432,
-0.032517146319150925,
-0.05596603453159332,
-0.0020249199587851763,
-0.04831892251968384,
0.0934571921825409,
-0.048488106578588486,
0.018035003915429115,
0.004661016631871462,
-0.015734102576971054,
-0.0213340912014246,
-0.03529176115989685,
0.03833707422018051,
-0.012561905197799206,
0.005557691212743521,
-0.021909315139055252,
-0.013712355867028236,
0.019337721168994904,
-0.014262203127145767,
-0.01527730654925108,
0.00985496211796999,
0.01503198966383934,
0.030791470780968666,
0.03948752209544182,
-0.021909315139055252,
-0.024954626336693764,
-0.05637207627296448,
0.05312374606728554,
0.10597679764032364,
0.021926233544945717,
-0.03184041008353233,
0.023415053263306618,
-0.002651957795023918,
0.09372788667678833,
-0.0019857960287481546,
-0.008006628602743149,
-0.0030368510633707047,
-0.03678058087825775,
-0.050789009779691696,
-0.0315697155892849,
0.054781749844551086,
-0.07132793217897415,
-0.003041080664843321,
0.022653724998235703,
-0.013500875793397427,
0.012925649993121624,
-0.05992493778467178,
0.02480236068367958,
-0.01186825055629015,
0.01517579611390829,
-0.054206524044275284,
0.04388630390167236,
0.07234303653240204,
-0.03996123746037483,
0.034716539084911346,
0.043852467089891434,
0.05308990925550461,
0.00010759039287222549,
0.01974376104772091,
0.028676671907305717,
0.031705062836408615,
0.015725644305348396,
-0.027898425236344337,
0.00618367176502943,
-0.011859791353344917,
-0.005824156105518341,
0.03519025072455406,
-0.010404810309410095,
-0.03515641391277313,
-0.045375123620033264,
0.033193882554769516,
-0.03948752209544182,
0.04669475927948952,
0.004927481058984995,
-0.018847087398171425,
0.01879633218050003,
-0.0007158594089560211,
-0.01157217938452959,
0.01056553516536951,
-0.01779814623296261,
0.04875880107283592,
-0.00043776334496214986,
-0.030892981216311455,
0.03143436834216118,
0.03525792434811592,
-0.02536066807806492,
0.021773967891931534,
-0.01594558358192444,
-0.01893167942762375,
0.05633823946118355,
0.02009904757142067,
0.02324586920440197,
-0.07829830795526505,
-0.00719031598418951,
0.01811959594488144,
-0.017392106354236603,
-0.0001890101411845535,
0.055830687284469604,
0.00529968598857522,
-0.002184587065130472,
-0.07038050144910812,
-0.0009638195624575019,
0.03542710840702057,
0.00386373745277524,
-0.00823079701513052,
0.034885719418525696,
-0.06506813317537308,
0.0561690554022789,
-0.025479096919298172,
-0.002104224869981408,
0.03989356383681297,
0.0072156935930252075,
0.03782952204346657,
0.05149957910180092,
-0.041213199496269226,
0.024819279089570045,
0.042160630226135254,
0.016935309395194054,
-0.045375123620033264,
0.11991754919290543,
-0.05755636468529701,
-0.028541324660182,
-0.05549231916666031,
0.05424036085605621,
-0.12749698758125305,
-0.05762403830885887,
0.01063320878893137,
0.030216244980692863,
-0.019794516265392303,
-0.034428924322128296,
-0.06476359814405441,
0.019016271457076073,
0.021807804703712463,
-0.06516963988542557,
-0.0005112526123411953,
-0.034784212708473206,
0.001092293532565236,
0.017197543755173683,
-0.03590082377195358,
-0.0020270347595214844,
-0.03782952204346657,
0.03745731711387634,
-0.043717119842767715,
0.004016003105789423,
-0.020149802789092064,
0.004576424602419138,
-0.021486356854438782,
-0.05515395477414131,
0.047777533531188965,
-0.05373280867934227,
-0.020048292353749275,
-0.07958410680294037,
0.004990925081074238,
0.06767356395721436,
0.02512381039559841,
-0.008416899479925632,
0.03596849739551544,
-0.009042879566550255,
0.013340150937438011,
0.0360361710190773,
0.06080469489097595,
-0.025851299986243248,
-0.023330461233854294,
-0.01697760447859764,
-0.06036481633782387,
-0.03596849739551544,
-0.048623453825712204,
-0.007126871962100267,
-0.03016548976302147,
0.014135315082967281,
0.05934971570968628,
-0.006610861048102379,
-0.0031045246869325638,
-0.09860038012266159,
0.0354609452188015,
0.041991446167230606,
-0.014685163274407387,
-0.03928450122475624,
-0.02434556372463703,
0.05393582955002785,
0.012325047515332699,
0.08405056595802307,
-0.05863914266228676,
-0.019506903365254402,
0.007900888100266457,
0.04720230773091316,
0.03779568523168564,
0.02899812161922455,
-0.06885784864425659,
-0.03265249356627464,
0.042025282979011536,
-0.013179426081478596,
0.0018758265068754554,
0.004318419378250837,
-0.04469838738441467,
-0.03867544233798981,
-0.009305114857852459,
0.030470021069049835,
-0.018559474498033524,
-0.01305253803730011,
-0.08032851666212082,
0.0417545884847641,
0.07159862667322159,
0.023448890075087547,
0.0004906333051621914,
-0.008023547008633614,
0.01593712344765663,
0.01614014431834221,
-0.046153370290994644,
-0.014016886241734028,
0.09366021305322647,
0.020403578877449036,
-0.007071887142956257,
-0.0054434919729828835,
0.02250145934522152,
-0.056608933955430984,
-0.03607000783085823,
-0.004491832572966814,
0.012824139557778835,
0.024108706042170525,
0.0008115540258586407,
0.002164496574550867,
0.0576578751206398,
0.01808575913310051,
0.0021718984935432673
] |
5,661 | flask.helpers | url_for | Generate a URL to the given endpoint with the given values.
This requires an active request or application context, and calls
:meth:`current_app.url_for() <flask.Flask.url_for>`. See that method
for full documentation.
: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``.
.. versionchanged:: 2.2
Calls ``current_app.url_for``, allowing an app to override the
behavior.
.. versionchanged:: 0.10
The ``_scheme`` parameter was added.
.. versionchanged:: 0.9
The ``_anchor`` and ``_method`` parameters were added.
.. versionchanged:: 0.9
Calls ``app.handle_url_build_error`` on build errors.
| def url_for(
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 requires an active request or application context, and calls
:meth:`current_app.url_for() <flask.Flask.url_for>`. See that method
for full documentation.
: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``.
.. versionchanged:: 2.2
Calls ``current_app.url_for``, allowing an app to override the
behavior.
.. versionchanged:: 0.10
The ``_scheme`` parameter was added.
.. versionchanged:: 0.9
The ``_anchor`` and ``_method`` parameters were added.
.. versionchanged:: 0.9
Calls ``app.handle_url_build_error`` on build errors.
"""
return current_app.url_for(
endpoint,
_anchor=_anchor,
_method=_method,
_scheme=_scheme,
_external=_external,
**values,
)
| (endpoint: str, *, _anchor: Optional[str] = None, _method: Optional[str] = None, _scheme: Optional[str] = None, _external: Optional[bool] = None, **values: Any) -> str | [
0.04153970628976822,
-0.025766288861632347,
-0.01978515461087227,
-0.04230558127164841,
-0.0029313028790056705,
0.008028031326830387,
-0.02760804072022438,
0.0042943814769387245,
-0.047484368085861206,
-0.017660757526755333,
-0.01273726299405098,
0.007522005587816238,
0.068454809486866,
0.030926840379834175,
0.04525968059897423,
0.027498628944158554,
0.041649118065834045,
-0.02060573734343052,
0.06338543444871902,
-0.012436382472515106,
0.03461034223437309,
0.0196392722427845,
-0.00511952256783843,
0.01766987517476082,
-0.001232013339176774,
0.03032507933676243,
-0.037418559193611145,
0.02286689728498459,
0.03502975031733513,
-0.05791488289833069,
0.01901927776634693,
0.0031979919876903296,
0.05029258504509926,
0.011223743669688702,
0.0964275524020195,
-0.031127426773309708,
0.03118213266134262,
0.07213830947875977,
0.028373917564749718,
-0.005146875511854887,
-0.0008798466878943145,
0.006409660447388887,
0.03152859956026077,
-0.008862290531396866,
0.045186739414930344,
0.05824311822652817,
-0.016265766695141792,
0.02789980173110962,
-0.05944663658738136,
-0.008351705968379974,
-0.0021460510324686766,
-0.024745119735598564,
0.035795629024505615,
0.031729187816381454,
-0.03752797096967697,
0.027699215337634087,
-0.029741553589701653,
-0.00900817196816206,
-0.0006576056475751102,
0.04854200780391693,
0.012892262078821659,
-0.041977349668741226,
0.002140352502465248,
-0.011406095698475838,
0.00770891597494483,
0.030434491112828255,
0.0014041076647117734,
0.04008089378476143,
-0.011178156360983849,
0.03225800767540932,
0.06747011095285416,
0.05503372848033905,
-0.019420450553297997,
-0.009929046966135502,
0.00845199916511774,
-0.050401996821165085,
0.07250301539897919,
0.0016149517614394426,
0.02029573917388916,
-0.07334183156490326,
-0.0021038821432739496,
-0.04726554825901985,
-0.004656805191189051,
-0.0562007799744606,
-0.02044161967933178,
0.027808627113699913,
-0.018946336582303047,
-0.011980503797531128,
0.01524459756910801,
0.037892673164606094,
0.002680569188669324,
0.001968258060514927,
-0.008930671960115433,
-0.032878004014492035,
0.05142316594719887,
-0.02323159947991371,
-0.012591381557285786,
0.00889420136809349,
0.05652901157736778,
-0.05080316960811615,
0.07439947128295898,
-0.0700959712266922,
-0.03180212900042534,
0.027480393648147583,
-0.024745119735598564,
-0.052663158625364304,
0.035959746688604355,
0.006924803834408522,
-0.008916995488107204,
0.005292756482958794,
0.020587502047419548,
0.016694294288754463,
-0.015828123316168785,
-0.06433366239070892,
-0.039679720997810364,
0.01850869320333004,
-0.006496277637779713,
0.012883144430816174,
-0.02224690094590187,
-0.012892262078821659,
-0.06484425067901611,
-0.031546834856271744,
-0.04835965856909752,
-0.07450888305902481,
0.014834307134151459,
-0.03393564373254776,
-0.058826643973588943,
-0.00900817196816206,
0.007002303376793861,
-0.07534769922494888,
0.0016514221206307411,
0.08023472875356674,
-0.03931501507759094,
0.02273925021290779,
-0.019876329228281975,
0.019693978130817413,
-0.051714926958084106,
0.043290283530950546,
-0.02968684956431389,
0.13953548669815063,
0.02890273742377758,
0.013694608584046364,
-0.005470549687743187,
0.03705385699868202,
0.0059081935323774815,
0.006587453186511993,
0.03468328341841698,
0.01719576120376587,
0.05911840498447418,
0.04693731665611267,
0.0597384013235569,
0.0442020408809185,
0.09569814801216125,
0.05452314391732216,
0.007640534080564976,
-0.033662114292383194,
0.01191668026149273,
-0.04040912538766861,
0.001494143856689334,
-0.06320308148860931,
0.039023254066705704,
0.012527558021247387,
0.00010841375478776172,
-0.017141055315732956,
0.016676058992743492,
0.02047809027135372,
-0.003747326321899891,
0.028136860579252243,
0.03585033491253853,
-0.035285044461488724,
-0.02304924838244915,
0.0007920899661257863,
0.01932927593588829,
0.002457188442349434,
0.032385654747486115,
-0.049745529890060425,
0.0332791768014431,
-0.04270675778388977,
0.0242162998765707,
-0.019092217087745667,
0.019183393567800522,
-0.0019283686997368932,
-0.012153737246990204,
-0.0383303165435791,
0.018800456076860428,
0.01086815819144249,
-0.05474196746945381,
-0.018709279596805573,
-0.0332791768014431,
-0.055434901267290115,
-0.08059942722320557,
-0.01585547626018524,
0.010558160953223705,
0.06524541974067688,
-0.008055384270846844,
-0.03036154992878437,
-0.0012171972775831819,
0.03021566942334175,
0.01557283103466034,
-0.010293751023709774,
0.015071364119648933,
0.02401571162045002,
-0.00897626020014286,
-0.012992555275559425,
0.02370571531355381,
-0.010412279516458511,
0.00794141460210085,
-0.027863333001732826,
0.015946652740240097,
0.0012570866383612156,
-0.020332209765911102,
-0.003138727741315961,
-0.08366293460130692,
0.014114017598330975,
-0.026240402832627296,
0.06119721382856369,
0.03535798564553261,
0.016074297949671745,
-0.06418778002262115,
0.023796889930963516,
0.01526283286511898,
-0.049089062958955765,
0.08453822880983353,
-0.006304808426648378,
0.07261242717504501,
-0.02596687525510788,
0.05226198211312294,
-0.021043380722403526,
-0.022611605003476143,
-0.018763985484838486,
-0.01600135676562786,
-0.044056158512830734,
0.030160963535308838,
0.03437328711152077,
0.04442086070775986,
0.002614466706290841,
-0.00641421927139163,
0.013539610430598259,
0.021298673003911972,
0.021207496523857117,
0.000766446755733341,
0.04106559231877327,
-0.005976575426757336,
-0.003435049206018448,
0.042597346007823944,
0.05824311822652817,
-0.01501665823161602,
0.05000082403421402,
-0.03993501141667366,
-0.09022759646177292,
-0.0051377578638494015,
0.022939838469028473,
-0.006113339215517044,
-0.021973373368382454,
-0.01086815819144249,
0.01305637788027525,
-0.017250467091798782,
-0.009436697699129581,
0.03262270987033844,
0.059628989547491074,
-0.014916365034878254,
0.053501974791288376,
0.02272101491689682,
0.024945706129074097,
-0.007403477095067501,
-0.026860397309064865,
-0.021626906469464302,
0.004273866768926382,
-0.010530808009207249,
0.05076669901609421,
-0.030452726408839226,
-0.037564441561698914,
0.0033985788468271494,
0.03519386798143387,
0.0635313168168068,
0.020715147256851196,
-0.01850869320333004,
0.015107834711670876,
-0.0038704138714820147,
-0.027845097705721855,
-0.03118213266134262,
-0.0580972358584404,
-0.002938140882179141,
-0.01569136045873165,
0.010476102121174335,
-0.007845680229365826,
-0.014889012090861797,
0.03657974302768707,
0.046025555580854416,
-0.015828123316168785,
0.057367827743291855,
-0.016356943175196648,
-0.03851266950368881,
0.04011736437678337,
-0.034482698887586594,
-0.003827105276286602,
0.041138533502817154,
-0.02744392305612564,
0.0451502688229084,
-0.06236426532268524,
-0.014971070922911167,
0.0366891510784626,
-0.02078808844089508,
0.03523033857345581,
-0.032695651054382324,
-0.005028346553444862,
0.021025145426392555,
-0.046499669551849365,
0.01734164170920849,
-0.039862070232629776,
0.03342505916953087,
-0.0006593152065761387,
0.02013162150979042,
-0.041138533502817154,
-0.0017186643090099096,
0.0002793684252537787,
-0.025711582973599434,
-0.04026324301958084,
0.017086349427700043,
0.008493028581142426,
-0.003503431100398302,
0.07768180221319199,
-0.04365498572587967,
0.024635707959532738,
-0.060941923409700394,
0.0002494513464625925,
0.016566647216677666,
0.053501974791288376,
-0.03960677981376648,
-0.0020195445977151394,
0.012363442219793797,
0.029449790716171265,
0.04270675778388977,
-0.00857508648186922,
-0.061598386615514755,
-0.04110206291079521,
-0.012135501950979233,
0.029832730069756508,
0.000739094044547528,
0.011716093868017197,
0.008935230784118176,
-0.01662135310471058,
0.011998739093542099,
0.00612245686352253,
-0.024453356862068176,
0.0173963475972414,
-0.009135818108916283,
-0.041284412145614624,
0.0503290556371212,
-0.10233574360609055,
-0.041175004094839096,
-0.0034737989772111177,
-0.008324353024363518,
-0.001486165914684534,
-0.005862605758011341,
0.004531438462436199,
-0.01305637788027525,
-0.03895031288266182,
0.011424330994486809,
0.014424015767872334,
-0.010995804332196712,
-0.05762312188744545,
-0.04288910701870918,
-0.023450423032045364,
0.024289239197969437,
0.012764615938067436,
0.040810298174619675,
0.0119349155575037,
-0.0012308736331760883,
0.014989305287599564,
0.026714516803622246,
-0.01176168117672205,
0.09146758913993835,
0.01819869503378868,
0.007011421024799347,
-0.025237469002604485,
0.030744489282369614,
0.021681610494852066,
0.04121147468686104,
0.04070089012384415,
0.0008371080621145666,
-0.0016833336558192968,
0.07119008153676987,
0.03231271356344223,
0.03202094882726669,
-0.05922781676054001,
0.032203301787376404,
0.008315235376358032,
-0.009236111305654049,
0.010722276754677296,
0.020842794328927994,
-0.020532796159386635,
0.007553917355835438,
0.015463420189917088,
0.023286305367946625,
-0.06360425800085068,
-0.044530272483825684,
-0.035285044461488724,
0.005402167793363333,
0.015782535076141357,
0.04981847107410431,
0.020879264920949936,
0.053647857159376144,
0.020861029624938965,
0.024416886270046234,
-0.014141370542347431,
0.055617254227399826,
-0.01250932365655899,
0.017496641725301743,
-0.0003276631177868694,
-0.014706660993397236,
-0.02031397446990013,
-0.09511461853981018,
-0.006405101623386145,
0.03298741206526756,
-0.022028079256415367,
-0.009564343839883804,
0.024125123396515846,
0.018581632524728775,
-0.01191668026149273,
0.01752399280667305,
-0.03280506283044815,
0.03672562167048454,
0.04883377254009247,
-0.02354159764945507,
0.040336184203624725,
-0.01144256629049778,
-0.036944445222616196,
0.013904313556849957,
0.04431145265698433,
-0.0028652003966271877,
-0.07512888312339783,
-0.05076669901609421,
-0.018782220780849457,
0.010202574543654919,
-0.01729605346918106,
0.021171025931835175,
-0.01006581075489521,
-0.004732025321573019,
-0.07403477281332016,
-0.007512887939810753,
-0.053501974791288376,
-0.03202094882726669,
-0.004009456839412451,
-0.0444573312997818,
-0.02644098922610283,
0.02142631821334362,
-0.07987002283334732,
-0.0021631463896483183,
0.020678676664829254,
0.039059724658727646,
-0.005329227074980736,
-0.01282843854278326,
0.0000653189345030114,
-0.04135735332965851,
-0.04711966589093208,
-0.012764615938067436,
0.034190934151411057,
-0.027990978211164474,
0.06623011827468872,
0.029923906549811363,
-0.012864909134805202,
-0.007239360362291336,
-0.027060985565185547,
-0.011187274008989334,
-0.003596886293962598,
0.006231867708265781,
-0.0061771622858941555,
-0.07334183156490326,
-0.006733334623277187,
-0.012153737246990204,
-0.03070801869034767,
0.008807584643363953,
0.04361851513385773,
-0.02857450395822525,
0.06221838295459747,
0.017925167456269264,
0.03329741209745407,
-0.005561725236475468,
-0.021043380722403526,
-0.0467914342880249,
-0.01737811230123043,
-0.02304924838244915,
0.05423137918114662,
0.004235117230564356,
0.025565700605511665,
-0.008119206875562668,
0.045405562967061996,
0.004360483959317207,
0.011834622360765934,
-0.02660510502755642,
-0.0001713820529403165,
-0.019912799820303917,
0.025784524157643318,
-0.03585033491253853,
0.03749150037765503,
0.019383979961276054,
-0.07914061844348907,
-0.09051936119794846,
0.0017916050273925066,
0.055617254227399826,
-0.04004442319273949,
0.06929362565279007,
0.02955920249223709,
0.00009217306069331244,
-0.010357573628425598,
0.006619364954531193,
0.07957825809717178,
-0.03938795626163483,
-0.021626906469464302,
0.04657261073589325,
0.01347578689455986,
0.06772540509700775,
-0.00022124384122435004,
0.009837871417403221,
-0.001613812055438757,
-0.0047229076735675335,
-0.038549140095710754,
-0.00770891597494483,
0.007699798326939344,
0.018536046147346497,
0.011898444965481758,
0.034975048154592514,
0.02465394325554371,
-0.02972331829369068,
0.03160154074430466,
0.045697323977947235,
0.017569581046700478,
-0.02594863995909691,
0.020897498354315758,
-0.012263148091733456,
0.052845507860183716,
0.03975265845656395,
0.026568636298179626,
-0.002256601583212614,
0.047630250453948975,
-0.03745502978563309,
-0.07921355962753296,
0.009764931164681911,
0.052517276257276535,
0.03347976133227348,
0.05164198577404022,
-0.04857847839593887,
-0.05514314025640488,
-0.03683503344655037,
-0.08906054496765137,
0.011816387064754963,
-0.059628989547491074,
0.08723703026771545,
-0.0571490079164505,
0.0008017774089239538,
0.023815125226974487,
0.06356778740882874,
0.014241663739085197,
-0.021481024101376534,
-0.009090229868888855,
0.03825737535953522,
0.06356778740882874,
-0.021043380722403526,
0.028155094012618065,
-0.08709114789962769,
0.024106888100504875,
-0.03502975031733513,
-0.0000939538367674686,
0.020168092101812363,
0.06320308148860931,
0.027133924886584282,
-0.06006663292646408,
-0.008871408179402351,
-0.052225511521101,
-0.043436162173748016,
0.008684497326612473,
-0.002013846067711711,
-0.06119721382856369,
0.041284412145614624,
-0.0020286620128899813,
0.008985377848148346,
-0.09066524356603622,
0.05762312188744545,
-0.011342273093760014,
-0.07593122869729996,
0.01949339173734188,
-0.07811944931745529,
-0.030908605083823204,
0.00950052123516798,
-0.01914692297577858,
-0.03880443051457405,
0.005789665039628744,
-0.010330220684409142,
-0.059483107179403305,
-0.029303910210728645,
-0.07315948605537415,
-0.010995804332196712,
-0.007471858989447355,
-0.04693731665611267,
0.04139382392168045,
-0.02319513075053692,
0.0019659786485135555,
0.03636091947555542,
0.007152743637561798,
-0.029267439618706703,
0.054121971130371094,
0.0061042215675115585,
0.003106816206127405,
0.031236838549375534,
0.0010502315126359463,
-0.03293270990252495,
-0.0004835168074350804,
-0.08526763319969177,
0.00026255787815898657,
0.035613276064395905,
0.012272265739738941,
0.00733965402469039,
0.04890671372413635,
0.021809257566928864,
-0.04949023947119713,
-0.034829165786504745,
0.04241499304771423,
0.014816071838140488,
0.028538033366203308,
0.011205509305000305,
-0.01275549829006195,
-0.05047493800520897,
0.056893713772296906,
-0.004301219712942839,
0.015974003821611404,
0.0171137023717165,
-0.025893934071063995,
-0.060613688081502914,
0.022374548017978668,
0.006072309799492359,
0.0004809524689335376,
-0.013867842964828014,
-0.030088022351264954,
-0.003207109635695815,
-0.051386695355176926,
0.028939206153154373,
0.03377152606844902,
-0.03444622829556465,
-0.005548048764467239,
-0.03851266950368881,
-0.004082397557795048,
-0.0077909743413329124,
-0.01022080983966589,
0.039862070232629776,
0.000214690575376153,
0.008260529488325119,
-0.06590189039707184,
-0.004207764286547899,
-0.0006655835313722491,
0.012636969797313213,
-0.003273212118074298,
0.0021585875656455755,
-0.011251096613705158,
0.017560463398694992,
-0.007280389778316021,
-0.007690680678933859,
-0.03650680184364319,
0.026896867901086807,
0.033826231956481934,
-0.007695239502936602,
-0.05499725788831711,
0.02531040832400322,
-0.03876795992255211,
-0.03282329812645912,
0.030288608744740486,
0.05160551890730858,
0.009473168291151524,
-0.008388175629079342,
0.0052426098845899105,
-0.005958340130746365,
0.026039816439151764,
0.011433448642492294,
-0.010704041458666325,
0.017970755696296692,
-0.02029573917388916,
-0.03652503713965416,
0.01980338990688324,
-0.015408714301884174,
-0.027863333001732826,
0.016694294288754463,
-0.0005051710759289563,
-0.04511379823088646,
0.05207963287830353,
0.03393564373254776,
-0.015764299780130386,
0.05277256667613983,
-0.05142316594719887,
-0.011852857656776905,
-0.007439947221428156,
0.05751371011137962,
-0.03510269150137901,
-0.02727980725467205,
0.008780231699347496,
-0.04825024679303169,
0.03247682750225067,
-0.02452629618346691,
-0.0762229934334755,
0.08949819207191467,
0.009249787777662277,
0.052845507860183716,
0.04252440482378006,
0.05094905197620392,
0.02469041384756565,
0.03865855187177658,
0.06885598599910736,
0.03324270620942116,
-0.010029341094195843,
-0.04485850781202316,
-0.01768811047077179,
0.00929537508636713,
0.007116273045539856,
-0.028355682268738747,
-0.045514971017837524,
0.028647445142269135,
-0.027188630774617195,
-0.050912581384181976,
0.014159605838358402,
-0.06141603738069534,
0.032385654747486115,
0.02286689728498459,
-0.04427498206496239,
0.03960677981376648,
-0.11867445707321167,
0.028045684099197388,
-0.00689289253205061,
-0.049927882850170135,
0.003941074945032597,
-0.000041527739085722715,
-0.045843206346035004,
-0.033516231924295425,
0.0261127557605505,
-0.017268700525164604,
0.04150323569774628,
0.03165624663233757,
-0.05693018436431885,
-0.006145250517874956,
-0.058498408645391464,
-0.01962103694677353,
-0.04442086070775986,
0.0018805013969540596,
0.025383349508047104,
-0.0597384013235569,
-0.041977349668741226,
0.07133596390485764,
0.011852857656776905,
0.022356312721967697,
-0.03566798195242882,
-0.00897626020014286,
0.023322775959968567,
-0.00003413751255720854,
0.03938795626163483,
-0.05142316594719887,
0.025893934071063995,
0.029285674914717674,
-0.058534879237413406,
0.0018178180325776339,
-0.027990978211164474,
-0.023961007595062256,
-0.032203301787376404,
-0.06900186836719513,
0.06367719918489456,
0.04690084606409073,
-0.008488469757139683,
-0.007485535461455584,
0.07731710374355316,
-0.006847304292023182,
0.0037085767835378647
] |
5,662 | flask_bower | validate_parameter | null | def validate_parameter(param):
if '..' in param or param.startswith('/'):
abort(404)
| (param) | [
0.03512542322278023,
0.06517086178064346,
0.010870165191590786,
0.0503319576382637,
-0.014479628764092922,
-0.003665860975161195,
0.06904768943786621,
0.0021002981811761856,
0.0035969302989542484,
-0.007465405855327845,
0.026619790121912956,
-0.01638462208211422,
0.034557268023490906,
-0.05310589820146561,
-0.0009728631121106446,
-0.03542621061205864,
0.06035824492573738,
0.050098009407520294,
-0.00871451385319233,
-0.0055311680771410465,
-0.018598761409521103,
0.01956796832382679,
-0.015047784894704819,
0.02008599415421486,
-0.056481413543224335,
0.031649645417928696,
0.028959257528185844,
-0.014989297837018967,
0.0318334586918354,
-0.07726924866437912,
0.023377956822514534,
-0.01045240368694067,
0.04795907065272331,
0.043514084070920944,
-0.0036387064028531313,
-0.008806421421468258,
0.036930155009031296,
0.052805107086896896,
-0.14250695705413818,
-0.022542433813214302,
-0.06049192696809769,
0.04899511858820915,
-0.02596808224916458,
-0.004200596362352371,
0.06289823353290558,
-0.007507181726396084,
0.0011122911237180233,
0.03883514925837517,
-0.07492978125810623,
0.04311303049325943,
-0.010017931461334229,
-0.01666870154440403,
0.003530088346451521,
-0.07860608398914337,
-0.0053724185563623905,
0.017036331817507744,
0.034256476908922195,
0.06851295381784439,
0.04551934078335762,
0.01229891087859869,
0.006274783983826637,
-0.013585617765784264,
-0.03066372498869896,
-0.04598723351955414,
0.023377956822514534,
-0.008948460221290588,
0.016192452982068062,
-0.027973338961601257,
-0.027421893551945686,
0.02008599415421486,
-0.02326098456978798,
0.01696948893368244,
-0.040840405970811844,
0.05915508791804314,
0.034791212528944016,
-0.024397296831011772,
0.014212260954082012,
0.045920390635728836,
0.014295813627541065,
0.01878257654607296,
0.003388049313798547,
-0.0449177622795105,
0.014095287770032883,
-0.04027225077152252,
-0.004833505488932133,
0.0099260238930583,
-0.036896735429763794,
-0.05100037530064583,
0.018147578462958336,
0.051735635846853256,
-0.06236350163817406,
-0.013468644581735134,
-0.023946113884449005,
-0.05424220860004425,
0.038500938564538956,
0.04709012433886528,
0.06654112040996552,
0.026653211563825607,
-0.04919564351439476,
-0.08014345169067383,
0.005234557203948498,
0.04254487529397011,
-0.010435692965984344,
0.02621873840689659,
0.04314645379781723,
-0.018114157021045685,
0.020754413679242134,
-0.02961096540093422,
-0.010527600534260273,
0.030012017115950584,
-0.02804017998278141,
-0.02809031307697296,
-0.017261922359466553,
-0.022275066003203392,
-0.0317499078810215,
0.026770183816552162,
-0.01801389455795288,
-0.007690997328609228,
-0.034289900213479996,
-0.03156609088182449,
0.03154938295483589,
0.025500187650322914,
-0.08589185029268265,
-0.05935561656951904,
0.07025084644556046,
0.008204844780266285,
-0.04815959557890892,
0.03569357842206955,
-0.04899511858820915,
0.04180961474776268,
0.00897352583706379,
0.025282952934503555,
-0.07051821053028107,
-0.03783252090215683,
-0.05440931394696236,
-0.005146827083081007,
0.018398234620690346,
0.010427338071167469,
-0.032969772815704346,
-0.01662692427635193,
0.013468644581735134,
0.03495831787586212,
-0.035860683768987656,
-0.04013856500387192,
0.02409650757908821,
0.027187947183847427,
0.00035901417140848935,
-0.013827919960021973,
0.03459068760275841,
0.026636499911546707,
-0.015741270035505295,
-0.01045240368694067,
0.05450957641005516,
-0.04849380627274513,
0.011755820363759995,
-0.027070973068475723,
0.03756515309214592,
-0.08101239055395126,
0.03756515309214592,
-0.02959425561130047,
0.023494930937886238,
-0.05654825642704964,
0.02595137059688568,
-0.03816673159599304,
-0.01615903154015541,
0.014454563148319721,
-0.029427150264382362,
0.02986162342131138,
-0.007887345738708973,
-0.003912340383976698,
0.02857491560280323,
0.011404900811612606,
-0.029159782454371452,
0.012073319405317307,
0.03119846060872078,
-0.016326136887073517,
-0.014797127805650234,
-0.01203989889472723,
0.0012553746346384287,
0.016576793044805527,
0.048326700925827026,
0.0013702590949833393,
0.05788509175181389,
0.014270748011767864,
0.006354159209877253,
0.02167348936200142,
-0.05735035985708237,
0.00009491029049968347,
-0.022091250866651535,
0.02672005258500576,
-0.007465405855327845,
-0.017863500863313675,
0.020971648395061493,
0.03569357842206955,
-0.023327825590968132,
-0.0031875234562903643,
0.05323958024382591,
0.02169019915163517,
0.05046563968062401,
-0.01086181029677391,
0.044015396386384964,
0.021823883056640625,
-0.003456979990005493,
0.0027321630623191595,
-0.011638847179710865,
0.03462410718202591,
-0.0005302965291775763,
0.047791965305805206,
0.00721474876627326,
0.010368851013481617,
-0.014212260954082012,
-0.019183628261089325,
0.02618531696498394,
0.022926775738596916,
-0.04311303049325943,
-0.006178698968142271,
-0.05634772777557373,
0.007440339773893356,
0.02646939642727375,
0.012549567967653275,
0.04742433503270149,
-0.016493240371346474,
0.08114607632160187,
-0.0158916637301445,
0.05237063392996788,
0.006801164243370295,
0.061260610818862915,
0.033187009394168854,
-0.039069097489118576,
-0.011805952526628971,
-0.015148047357797623,
-0.03856778144836426,
-0.01086181029677391,
0.007511359639465809,
0.02830754779279232,
0.001301328418776393,
0.041174616664648056,
-0.013067592866718769,
0.007402741350233555,
-0.02752215601503849,
0.01879928633570671,
-0.056214045733213425,
-0.030563462525606155,
0.0007608489249832928,
-0.02011941373348236,
-0.0028198929503560066,
-0.01534021832048893,
0.032435037195682526,
-0.009792339988052845,
0.018665602430701256,
-0.05795193463563919,
0.07005032151937485,
-0.05982350930571556,
-0.007390208542346954,
0.02854149602353573,
-0.0008799110655672848,
-0.10754863172769547,
0.03144911676645279,
0.03245174512267113,
0.037665415555238724,
-0.057016149163246155,
0.005911331158131361,
0.02088809572160244,
0.05313931778073311,
0.0185486301779747,
0.008873263373970985,
-0.004000070504844189,
0.034256476908922195,
0.036629367619752884,
0.018648892641067505,
-0.035058580338954926,
-0.009742207825183868,
0.020520465448498726,
-0.00044517754577100277,
0.07753661274909973,
0.016785673797130585,
0.040873825550079346,
-0.006312382873147726,
0.02381242997944355,
0.05454299598932266,
-0.007310833781957626,
-0.03246845677495003,
0.012432594783604145,
0.0012971508549526334,
-0.04525197297334671,
0.04444986954331398,
0.018448367714881897,
0.026552949100732803,
-0.08174765110015869,
0.011998122557997704,
0.008898328989744186,
0.00488781463354826,
-0.026770183816552162,
0.015390349552035332,
-0.07178820669651031,
0.007582379039376974,
0.04307961091399193,
-0.012624765746295452,
0.02011941373348236,
-0.01696113497018814,
0.00913227628916502,
-0.015724558383226395,
-0.021640067920088768,
-0.03682989254593849,
-0.008242443203926086,
0.0038998075760900974,
0.009867536835372448,
0.002799005014821887,
0.036361999809741974,
-0.007411096710711718,
-0.0370304174721241,
0.03281937912106514,
-0.017679685726761818,
-0.00003812077557086013,
0.046187758445739746,
0.03288621827960014,
0.041441984474658966,
-0.024965453892946243,
-0.018866129219532013,
0.03338753432035446,
0.018414946272969246,
0.10694705694913864,
0.02219151332974434,
0.01404515653848648,
-0.052003003656864166,
0.011822662316262722,
0.03124859184026718,
0.02142283134162426,
-0.025015585124492645,
0.005330642219632864,
0.032969772815704346,
0.011463387869298458,
-0.00364079512655735,
-0.05995719134807587,
-0.010251877829432487,
-0.014471272937953472,
-0.01903323270380497,
-0.020253097638487816,
0.04812617599964142,
0.044082239270210266,
0.061795346438884735,
-0.05661509558558464,
0.021506384015083313,
-0.030897673219442368,
0.025216110050678253,
-0.019267180934548378,
-0.0048167952336370945,
0.012432594783604145,
0.00039112960803322494,
-0.019885467365384102,
-0.03307003527879715,
0.052236951887607574,
-0.008572475053369999,
-0.019367443397641182,
0.0502651147544384,
0.009641945362091064,
0.041174616664648056,
-0.010109839029610157,
-0.011881149373948574,
0.026853736490011215,
0.07533083111047745,
-0.05193616449832916,
-0.01904994435608387,
-0.048326700925827026,
0.010268588550388813,
-0.013293184340000153,
0.03154938295483589,
-0.0689140111207962,
0.014579891227185726,
0.009516616351902485,
-0.006170343607664108,
-0.047992490231990814,
0.007131196092814207,
-0.07252347469329834,
0.058854300528764725,
0.02145625278353691,
0.014212260954082012,
-0.03220108896493912,
0.0198353361338377,
0.05958956107497215,
0.03489147499203682,
0.01640968956053257,
0.04949643462896347,
0.008196488954126835,
-0.022659407928586006,
-0.06814532727003098,
0.024230191484093666,
-0.012883777730166912,
-0.04551934078335762,
0.04792564734816551,
0.02459782175719738,
-0.004110777284950018,
0.04582012817263603,
0.01404515653848648,
-0.07085242122411728,
-0.03315358608961105,
0.048259858042001724,
-0.03616147115826607,
-0.01082838885486126,
-0.001165555790066719,
0.025316372513771057,
0.01321798749268055,
-0.11510176956653595,
0.09672024101018906,
0.07312504947185516,
-0.033420953899621964,
0.02645268477499485,
-0.008990236558020115,
-0.06433533877134323,
-0.022826511412858963,
-0.04949643462896347,
-0.050666168332099915,
0.006199587136507034,
0.050666168332099915,
0.050933536142110825,
-0.015323507599532604,
0.029260044917464256,
-0.024681374430656433,
-0.013050883077085018,
-0.020821254700422287,
0.022826511412858963,
-0.09912654757499695,
0.06450244039297104,
0.0661066472530365,
0.029243335127830505,
0.03233477473258972,
-0.010477469302713871,
-0.0396038293838501,
0.02090480737388134,
-0.005518635269254446,
-0.09578445553779602,
-0.014746996574103832,
-0.06637401878833771,
-0.0713871568441391,
-0.0030287739355117083,
-0.02088809572160244,
-0.042244087904691696,
-0.003776567755267024,
0.012892133556306362,
-0.02145625278353691,
0.0032668982166796923,
0.02511584758758545,
0.02620202861726284,
0.04973037913441658,
0.0794750303030014,
0.02590123936533928,
-0.0014757440658286214,
0.03353792801499367,
-0.013819565065205097,
-0.07065189629793167,
-0.0555456280708313,
-0.024932032451033592,
0.03602778911590576,
-0.04792564734816551,
0.0062204753048717976,
-0.05968982353806496,
-0.12873752415180206,
0.05079985037446022,
-0.016259294003248215,
0.04177619144320488,
0.006700901314616203,
0.07553135603666306,
0.0158665981143713,
-0.04257829487323761,
-0.0013514598831534386,
0.00011827884736703709,
0.07279083877801895,
0.0318334586918354,
0.04558618366718292,
-0.0449511855840683,
-0.05457641929388046,
-0.012524502351880074,
-0.0025253708008676767,
0.03332069143652916,
0.03333740308880806,
0.016225872561335564,
0.020787833258509636,
0.052805107086896896,
0.029510702937841415,
0.024714795872569084,
0.004307125695049763,
-0.018849417567253113,
-0.00806280504912138,
0.04211040213704109,
-0.02062072977423668,
-0.04735749214887619,
-0.056214045733213425,
0.04421592131257057,
-0.05584641546010971,
-0.045151710510253906,
0.04795907065272331,
-0.022926775738596916,
-0.02352835237979889,
0.0029326886869966984,
0.023060457780957222,
-0.008839842863380909,
-0.025567030534148216,
0.05895456299185753,
0.016560083255171776,
-0.0023749766405671835,
-0.00795836467295885,
-0.020019151270389557,
0.011973056942224503,
-0.01747915893793106,
-0.0005240301252342761,
0.00897352583706379,
-0.01638462208211422,
0.02010270394384861,
0.010577731765806675,
-0.004942123778164387,
-0.026285581290721893,
0.019116785377264023,
0.028758730739355087,
0.06323244422674179,
0.046455126255750656,
0.043246716260910034,
0.0008329128613695502,
0.022976906970143318,
0.07847239822149277,
0.0047081769444048405,
-0.015164758078753948,
-0.031883589923381805,
0.08021029084920883,
-0.03987119719386101,
0.05654825642704964,
-0.034223057329654694,
-0.0766008272767067,
-0.048794593662023544,
-0.033454377204179764,
0.044048819690942764,
0.009742207825183868,
0.03124859184026718,
0.06065903231501579,
0.02804017998278141,
0.032167669385671616,
0.05233721435070038,
0.011020559817552567,
-0.03405595198273659,
-0.0422775074839592,
0.0633327066898346,
-0.03495831787586212,
0.01457153633236885,
0.0370304174721241,
0.0046538677997887135,
0.0016313603846356273,
0.0061118570156395435,
-0.04150882735848427,
0.02825741656124592,
0.012340687215328217,
0.007904055528342724,
0.006462777033448219,
0.00568156223744154,
-0.021489674225449562,
0.012248779647052288,
0.009190762415528297,
0.007122840732336044,
-0.007619977463036776,
0.04582012817263603,
-0.02192414551973343,
0.04334697872400284,
-0.024263612926006317,
-0.03920277953147888,
0.02434716559946537,
-0.013677525334060192,
-0.06470296531915665,
-0.03549305349588394,
-0.0028428698424249887,
-0.07372662425041199,
0.02885899506509304,
0.0075990897603333,
-0.0030726389959454536,
0.015515678562223911,
0.00402513612061739,
-0.014387721195816994,
-0.033504508435726166,
0.04585355147719383,
0.0036846601869910955,
-0.0010553711326792836,
-0.042444612830877304,
-0.009750563651323318,
0.03358805924654007,
-0.0344235822558403,
-0.0007295167888514698,
0.011012204922735691,
-0.01955125853419304,
0.023327825590968132,
-0.000897665973752737,
-0.0061661661602556705,
-0.007574023678898811,
-0.020319940522313118,
-0.041943296790122986,
-0.006893071811646223,
0.03285279870033264,
-0.016844160854816437,
-0.0012793958885595202,
0.03378858417272568,
-0.03387213870882988,
-0.025032294914126396,
0.04150882735848427,
0.00379954488016665,
-0.02728820964694023,
0.022425459697842598,
0.04371460899710655,
0.02880886197090149,
0.022074541077017784,
0.009299380704760551,
0.034557268023490906,
0.0035885749384760857,
-0.045619603246450424,
-0.0476582795381546,
0.015423770062625408,
0.01980191469192505,
-0.02966109663248062,
0.013151145540177822,
-0.02488190121948719,
0.011613781563937664,
0.0011519785039126873,
-0.009616879746317863,
-0.015407060272991657,
0.022174803540110588,
-0.05206984654068947,
-0.01583317667245865,
-0.017562711611390114,
-0.020821254700422287,
-0.046120915561914444,
-0.008451323956251144,
0.0369969978928566,
-0.01663528010249138,
-0.029761359095573425,
-0.04067330062389374,
-0.032418325543403625,
-0.00373061397112906,
-0.04862748831510544,
-0.002141029806807637,
-0.018064025789499283,
-0.04815959557890892,
0.029527412727475166,
-0.05741719901561737,
-0.01230726670473814,
0.04361434653401375,
0.00844714604318142,
-0.024397296831011772,
-0.0845550149679184,
0.0046538677997887135,
0.01798047311604023,
0.03225122019648552,
-0.04545249789953232,
-0.003020418807864189,
0.05217010900378227,
-0.03312016651034355,
0.046388283371925354,
0.021773751825094223,
-0.010243522934615612,
-0.016083834692835808,
0.04043935611844063,
0.023628614842891693,
-0.003864297876134515,
-0.021740330383181572,
0.015106271021068096,
0.013351671397686005,
-0.018448367714881897,
-0.0819481834769249,
0.008965170942246914,
-0.037665415555238724,
-0.07205557823181152,
-0.02033665031194687,
-0.0052387346513569355,
-0.12860383093357086,
-0.05400826409459114,
0.005623075645416975,
-0.019651520997285843,
-0.037665415555238724,
-0.02220822498202324,
-0.009165696799755096,
0.0317331962287426,
-0.0022036940790712833,
-0.05704956874251366,
-0.01769639551639557,
-0.036863312125205994,
0.03916935995221138,
-0.02279309183359146,
-0.02065414935350418,
0.014254037290811539,
0.016050413250923157,
0.01986875757575035,
0.06938190013170242,
-0.034022532403469086,
-0.024163350462913513,
0.03726436570286751,
0.0556458905339241,
-0.043514084070920944,
-0.02859162725508213,
-0.038467518985271454,
0.042377769947052,
-0.0555456280708313,
-0.02356177382171154,
-0.011555295437574387,
0.024764927104115486,
0.01030200906097889,
0.05310589820146561,
0.02700413204729557,
0.018314683809876442,
0.0004428276442922652,
0.032368194311857224,
-0.03883514925837517,
-0.036863312125205994,
0.04685617983341217,
-0.040573038160800934,
-0.0582861453294754,
0.002721718978136778,
-0.0290762297809124,
-0.003594841342419386,
0.012081675231456757,
-0.08448817580938339,
0.0006443978054448962,
0.043514084070920944,
-0.018348103389143944,
-0.0018820174736902118,
0.04585355147719383,
-0.05190274119377136,
0.024932032451033592,
-0.035860683768987656,
0.013644104823470116,
0.0032668982166796923,
-0.0031311255879700184,
-0.045084867626428604,
0.018331393599510193,
-0.022709539160132408,
0.04384829103946686,
-0.0028595803305506706,
-0.008104581385850906,
0.025750845670700073,
-0.02407979778945446,
0.011647203005850315,
0.029159782454371452,
-0.013652459718286991,
-0.04742433503270149,
0.007628332823514938,
-0.009458130225539207,
0.0012344864662736654,
0.01112917810678482,
0.021489674225449562,
-0.0007524936809204519,
-0.08254975825548172,
0.04846038296818733,
0.028992678970098495,
0.039536990225315094,
-0.021289147436618805,
0.005063274409621954,
0.004670578520745039,
0.03682989254593849,
-0.05310589820146561,
0.027355050668120384,
0.02986162342131138,
-0.003745235735550523,
-0.019417574629187584,
-0.019166916608810425,
0.06109350547194481,
-0.020202966406941414,
-0.023628614842891693,
-0.025500187650322914,
0.056481413543224335,
0.017796657979488373,
-0.0027697617188096046,
-0.013326605781912804,
0.056481413543224335,
0.05056590586900711,
-0.01309265848249197
] |
5,663 | builtins | CozoDbMulTx | null | from builtins import CozoDbMulTx
| null | [
-0.028349190950393677,
-0.04099560156464577,
0.02082723006606102,
0.08565152436494827,
-0.01408308744430542,
-0.005705526098608971,
-0.072803795337677,
0.02230966091156006,
-0.034882865846157074,
-0.06079794093966484,
0.01894216425716877,
0.023444360122084618,
-0.0073938495479524136,
0.04000731557607651,
-0.0768667533993721,
-0.04000731557607651,
0.021760612726211548,
0.0271229837089777,
0.008491946384310722,
-0.005865665152668953,
-0.043411415070295334,
0.03898242488503456,
0.021632499992847443,
0.04677890986204147,
-0.023023422807455063,
0.05329428240656853,
0.032009512186050415,
0.0023277357686311007,
0.022254755720496178,
-0.050402626395225525,
-0.01854868046939373,
-0.00872529111802578,
0.0003966301737818867,
0.03707905858755112,
-0.016736820340156555,
-0.046046845614910126,
0.06390921771526337,
0.012024156749248505,
-0.04374084249138832,
-0.062262069433927536,
0.03283308446407318,
-0.012243775650858879,
0.04304538294672966,
-0.014330158941447735,
0.013085649348795414,
0.013332721777260303,
-0.023663979023694992,
0.0006468474748544395,
-0.005600292235612869,
-0.0015213211299851537,
0.021193262189626694,
-0.02024157904088497,
0.04937773942947388,
0.011978402733802795,
-0.017542090266942978,
0.030636891722679138,
0.0016357061685994267,
0.058235716074705124,
-0.04414347931742668,
0.04915811866521835,
-0.05534406378865242,
0.032101020216941833,
-0.012774522416293621,
-0.0195827204734087,
0.04963396117091179,
0.002511895727366209,
-0.07181551307439804,
-0.01670936867594719,
-0.010056733153760433,
0.038945820182561874,
-0.05300145596265793,
-0.009974376298487186,
0.005769581999629736,
-0.02866031788289547,
-0.0020749447867274284,
-0.05292825028300285,
-0.042972177267074585,
-0.007091872859746218,
-0.031918004155159,
-0.002205343684181571,
0.0037220895756036043,
-0.06021229177713394,
0.028879936784505844,
0.05984625965356827,
0.04414347931742668,
0.007059845142066479,
0.012811125256121159,
0.04546119272708893,
-0.0675695389509201,
-0.028879936784505844,
-0.07554903626441956,
-0.06244508549571037,
-0.06372620165348053,
0.05139091610908508,
0.005746704991906881,
0.007796484977006912,
-0.02390190027654171,
-0.019509514793753624,
-0.03197290748357773,
0.01150256022810936,
0.016352485865354538,
-0.014806000515818596,
-0.016443993896245956,
-0.04999999329447746,
0.013552340678870678,
-0.043667636811733246,
0.010587479919195175,
0.0036443076096475124,
0.01963762566447258,
-0.05245240777730942,
-0.02419472485780716,
0.053074661642313004,
0.008345533162355423,
-0.09326499700546265,
0.0020383414812386036,
-0.04765738546848297,
0.0232064388692379,
-0.020223276689648628,
0.03843337669968605,
0.04198388755321503,
0.009416176937520504,
0.004653183743357658,
0.027653729543089867,
0.058491937816143036,
0.08243044465780258,
0.06888724863529205,
0.06705708801746368,
0.014330158941447735,
0.028092967346310616,
-0.014266103506088257,
0.045058559626340866,
-0.04846265912055969,
-0.024432646110653877,
0.0271229837089777,
-0.014247802086174488,
0.023426057770848274,
0.044399701058864594,
0.01541910506784916,
0.008652085438370705,
-0.006231697276234627,
0.0017523790011182427,
0.0232064388692379,
-0.0012879756977781653,
-0.02062591165304184,
-0.03684113547205925,
-0.004447290673851967,
-0.0629575327038765,
-0.040043916553258896,
-0.062262069433927536,
0.0004086405970156193,
-0.00039777401252649724,
0.012417640537023544,
-0.002585102105513215,
0.03367495909333229,
-0.012783673591911793,
0.03590775653719902,
0.022273056209087372,
-0.04238652437925339,
-0.0005473324563354254,
-0.0009533994016237557,
-0.012490847148001194,
0.05549047514796257,
-0.03773791715502739,
-0.001949121244251728,
-0.017880670726299286,
-0.0426427461206913,
-0.015547215938568115,
-0.025951679795980453,
-0.0539531409740448,
0.016004756093025208,
0.0035367857199162245,
-0.022273056209087372,
0.04538798704743385,
0.008148791268467903,
0.021504389122128487,
0.024560756981372833,
-0.052086375653743744,
0.013707904145121574,
-0.011374449357390404,
-0.027434110641479492,
0.027800142765045166,
0.02564055286347866,
-0.01108162384480238,
0.07254757732152939,
0.037811122834682465,
0.009201133623719215,
0.05761346220970154,
-0.016325034201145172,
0.0783308818936348,
-0.08396777510643005,
0.03440702334046364,
0.004973461851477623,
0.02990482747554779,
-0.02732430025935173,
0.020021958276629448,
-0.009173681028187275,
0.02434113807976246,
0.026848459616303444,
0.0003065519267693162,
0.0710834488272667,
-0.052196186035871506,
-0.01830160804092884,
0.022382866591215134,
-0.013607245869934559,
0.08806733787059784,
-0.0533674880862236,
0.035285498946905136,
-0.003006039187312126,
-0.07818447053432465,
-0.03923864662647247,
0.0684480145573616,
0.016425693407654762,
-0.008588029071688652,
0.0612005777657032,
0.001746659749187529,
0.04458271712064743,
-0.0028939417097717524,
0.007439603563398123,
0.07584186643362045,
-0.0033491943031549454,
0.049707166850566864,
-0.000369177752872929,
0.01512627862393856,
-0.035523422062397,
0.06401902437210083,
-0.009260613471269608,
-0.0016768848290666938,
0.0756954476237297,
0.03246705234050751,
-0.062152259051799774,
0.020754022523760796,
-0.010715591721236706,
-0.04037334769964218,
-0.0008979226113297045,
0.01527269184589386,
-0.04853586480021477,
-0.022639088332653046,
0.050951678305864334,
0.024725472554564476,
0.009260613471269608,
0.006734991911798716,
0.03524889796972275,
0.032155923545360565,
0.023718884214758873,
-0.04461932182312012,
-0.007201682776212692,
0.03347364068031311,
-0.007952048443257809,
-0.05666177719831467,
0.026207903400063515,
0.02990482747554779,
-0.05761346220970154,
0.03909223526716232,
-0.020314784720540047,
0.014568080194294453,
-0.008812224492430687,
0.02975841425359249,
0.004275713115930557,
0.016837479546666145,
-0.049414340406656265,
-0.04062956944108009,
-0.03358345106244087,
-0.05043923109769821,
0.011273790150880814,
-0.03748169168829918,
-0.011319544166326523,
-0.02439604327082634,
0.015391652472317219,
-0.022950217127799988,
0.013524888083338737,
0.08740848302841187,
0.01839311607182026,
-0.020168371498584747,
0.005952598061412573,
-0.05142751708626747,
-0.07327964156866074,
0.0024203876964747906,
0.06343337148427963,
-0.029319176450371742,
-0.03490116447210312,
-0.02375548705458641,
-0.032448749989271164,
-0.019015369936823845,
-0.00190565490629524,
-0.08213761448860168,
-0.016453145071864128,
-0.013479134067893028,
-0.02311493083834648,
-0.03519399091601372,
-0.026024887338280678,
-0.03446192666888237,
0.05955343320965767,
0.024633964523673058,
0.01145680621266365,
0.05574669688940048,
0.04359443113207817,
-0.06500731408596039,
-0.013762809336185455,
0.06277451664209366,
0.057503651827573776,
-0.030362367630004883,
-0.019747434183955193,
-0.007787334267050028,
0.04333820939064026,
-0.021394578740000725,
-0.01605966128408909,
0.08689603209495544,
0.003934845793992281,
-0.056259144097566605,
0.06138359382748604,
-0.00031398696592077613,
0.01331441942602396,
-0.015080524608492851,
0.03636529669165611,
0.006213395856320858,
0.013158855959773064,
-0.0043191793374717236,
0.04377744719386101,
0.002612554468214512,
0.06401902437210083,
-0.02909955568611622,
-0.005591141059994698,
0.05325767770409584,
0.04513176530599594,
-0.016297582536935806,
-0.04677890986204147,
-0.001988012110814452,
-0.0351024828851223,
0.02013176865875721,
-0.002049779985100031,
-0.09685210883617401,
0.04754757881164551,
0.040043916553258896,
0.0353953093290329,
0.02851390466094017,
0.0504758358001709,
0.010056733153760433,
-0.026738649234175682,
-0.03420570492744446,
-0.00762261962518096,
0.014613834209740162,
0.046339672058820724,
0.00741215143352747,
0.012161418795585632,
-0.06431184709072113,
-0.05029281973838806,
-0.0034292638301849365,
-0.02112005464732647,
0.0377013124525547,
-0.00029682921012863517,
-0.005874816328287125,
0.004161328077316284,
-0.001722638844512403,
0.07950218766927719,
0.03625548630952835,
0.029886525124311447,
-0.02607979066669941,
-0.05175694823265076,
-0.014430818147957325,
-0.00010566318815108389,
0.03202781453728676,
-0.021412881091237068,
0.040043916553258896,
0.01657210662961006,
-0.023682281374931335,
-0.029941430315375328,
-0.007146778050810099,
-0.028843333944678307,
0.005124450195580721,
0.01286603044718504,
-0.02181551605463028,
-0.022273056209087372,
-0.0023654827382415533,
0.028477301821112633,
-0.06800877302885056,
0.014513175003230572,
-0.061566609889268875,
-0.010111638344824314,
-0.055710095912218094,
0.013826864771544933,
0.021595897153019905,
-0.017038796097040176,
0.008308930322527885,
-0.007110174745321274,
0.00102317426353693,
0.010294654406607151,
-0.021357975900173187,
0.0011175419203937054,
-0.006913432385772467,
0.03444362431764603,
0.015739383175969124,
-0.021193262189626694,
0.0030472176149487495,
-0.021797215566039085,
-0.06793557107448578,
-0.01110907644033432,
0.010642385110259056,
-0.0030838209204375744,
-0.03114933706820011,
-0.002363195177167654,
0.006616031285375357,
0.0006331212352961302,
0.013241213746368885,
0.04333820939064026,
-0.035139087587594986,
-0.03883601352572441,
0.01641654223203659,
0.004804172087460756,
0.01769765466451645,
-0.03142385929822922,
-0.04399706423282623,
-0.010569178499281406,
-0.03693264350295067,
0.019729133695364,
-0.04121522232890129,
0.005078696180135012,
-0.0030472176149487495,
-0.09502194821834564,
-0.024322837591171265,
0.030215954408049583,
0.0675695389509201,
-0.0076500722207129,
-0.006826499942690134,
-0.007494508288800716,
0.006689237896353006,
-0.03314421325922012,
0.030307462438941002,
0.03490116447210312,
-0.03385797515511513,
0.011758782900869846,
-0.058638352900743484,
0.02895314432680607,
0.03803073987364769,
-0.04432649537920952,
0.042276713997125626,
-0.013579793274402618,
0.007892568595707417,
-0.0006068127113394439,
0.04721814766526222,
0.03715226426720619,
0.0498901829123497,
0.04136163368821144,
-0.018173497170209885,
-0.11200583726167679,
0.010669837705790997,
-0.020442895591259003,
-0.03709736093878746,
0.04615665599703789,
-0.042825762182474136,
0.04502195492386818,
0.025073202326893806,
0.011731330305337906,
0.06346997618675232,
-0.03025255724787712,
0.04751097410917282,
-0.03993410989642143,
-0.005078696180135012,
-0.040336742997169495,
-0.01835651323199272,
-0.012637260369956493,
-0.03138725832104683,
-0.002701774938032031,
0.039641283452510834,
0.015693629160523415,
0.009054720401763916,
0.03391287848353386,
0.000487280311062932,
0.02866031788289547,
0.02091873809695244,
-0.010761345736682415,
-0.006323205307126045,
0.02097364328801632,
-0.05552707985043526,
-0.0017866945127025247,
0.04150804504752159,
0.025713758543133736,
-0.04238652437925339,
-0.004399248864501715,
0.03733528032898903,
-0.06109076738357544,
-0.013378475792706013,
-0.09663248807191849,
0.043557826429605484,
0.00024792959447950125,
-0.015574668534100056,
0.01591324806213379,
0.05816251039505005,
-0.04370424151420593,
0.04868227615952492,
-0.09897509217262268,
-0.019472910091280937,
0.10358709841966629,
0.03144216164946556,
0.04754757881164551,
0.02909955568611622,
0.027507316321134567,
-0.04370424151420593,
-0.00917825661599636,
-0.016892384737730026,
-0.0014801425859332085,
0.018576132133603096,
0.08052707463502884,
-0.0774524062871933,
-0.027360903099179268,
0.04461932182312012,
0.021449483931064606,
0.003747254144400358,
-0.03391287848353386,
-0.042679350823163986,
-0.05087846890091896,
-0.05636895075440407,
-0.014485722407698631,
-0.056112729012966156,
0.020717419683933258,
-0.00021618774917442352,
-0.010193995200097561,
-0.01282027643173933,
0.002431826200336218,
-0.009608344174921513,
-0.006231697276234627,
0.02618960104882717,
0.02265739068388939,
-0.03495607152581215,
-0.03742678835988045,
0.012554902583360672,
0.007714127656072378,
-0.0678623616695404,
0.007526536472141743,
0.03777451813220978,
0.057650063186883926,
-0.01276537124067545,
0.0015144580975174904,
-0.0307467021048069,
-0.01795387826859951,
-0.029172763228416443,
0.012509148567914963,
-0.0548316165804863,
0.02082723006606102,
0.05113469436764717,
-0.08448021858930588,
-0.026756951585412025,
0.0134882852435112,
0.035523422062397,
-0.0010906613897532225,
-0.005298315547406673,
0.05398974195122719,
-0.024579059332609177,
0.06244508549571037,
-0.011072472669184208,
0.02941068448126316,
-0.013671301305294037,
0.007123901043087244,
-0.0036557461135089397,
-0.024084916338324547,
0.020058562979102135,
-0.01908857747912407,
-0.004932283423841,
-0.03680453449487686,
-0.01537335105240345,
0.0033125909976661205,
0.017084550112485886,
-0.003410962177440524,
0.024670567363500595,
0.03971448913216591,
-0.029520493000745773,
-0.007553988602012396,
0.018777450546622276,
0.02027818188071251,
0.032357241958379745,
-0.0025141832884401083,
-0.027543919160962105,
-0.019729133695364,
0.08506587147712708,
0.03065519407391548,
-0.02331624925136566,
-0.024011708796024323,
-0.021907024085521698,
-0.007183380890637636,
0.030508780851960182,
-0.05702780932188034,
0.004932283423841,
0.037957534193992615,
-0.006661785300821066,
-0.03261346369981766,
0.04608345031738281,
-0.016453145071864128,
-0.01691068522632122,
0.04963396117091179,
0.07964859902858734,
-0.013378475792706013,
-0.008697839453816414,
0.020461197942495346,
-0.004605141934007406,
-0.004387810360640287,
-0.008981513790786266,
-0.016526352614164352,
-0.10497802495956421,
0.05377012491226196,
-0.00984626542776823,
0.012756220996379852,
-0.008748168125748634,
-0.006812773644924164,
0.01784406788647175,
-0.055124443024396896,
0.021760612726211548,
0.021504389122128487,
-0.03616397827863693,
-0.03440702334046364,
-0.0010855140862986445,
-0.022785501554608345,
-0.0001427668466931209,
0.026152998208999634,
-0.06588578969240189,
0.004259699024260044,
-0.05087846890091896,
-0.046595893800258636,
-0.05420936271548271,
0.02483528107404709,
-0.003642020048573613,
0.026024887338280678,
-0.08008783310651779,
0.05563688650727272,
-0.024670567363500595,
-0.016325034201145172,
-0.008624632842838764,
0.045058559626340866,
0.009159955196082592,
-0.01908857747912407,
0.03956807777285576,
0.035523422062397,
-0.031002923846244812,
-0.002463853918015957,
0.1021229699254036,
-0.019509514793753624,
0.015940699726343155,
-0.061273783445358276,
-0.007091872859746218,
0.014403365552425385,
0.012133966200053692,
0.044948749244213104,
0.022822104394435883,
0.03382137045264244,
-0.030563686043024063,
-0.020699119195342064,
0.017029646784067154,
-0.0020703694317489862,
-0.04374084249138832,
-0.0490117073059082,
0.011346996761858463,
-0.0348096564412117,
-0.031808193773031235,
0.0351024828851223,
0.020461197942495346,
0.02007686346769333,
-0.03466324508190155,
0.002181322779506445,
-0.05805270001292229,
0.0005047240410931408,
0.048865292221307755,
-0.03651170805096626,
-0.0006279739318415523,
-0.04820643365383148,
-0.0348096564412117,
0.0722181424498558,
-0.0026491577737033367,
-0.04418008029460907,
0.007233710493892431,
-0.042569540441036224,
-0.044802337884902954,
0.006437590811401606,
0.03883601352572441,
-0.01274706982076168,
-0.025366028770804405,
-0.04597363993525505,
-0.0432283990085125,
-0.001963991206139326,
0.03742678835988045,
0.044948749244213104,
0.04191068187355995,
0.024322837591171265,
0.012463394552469254,
0.0019456896698102355,
0.05084186792373657,
0.016132866963744164,
-0.00635980861261487,
0.032357241958379745,
-0.04809662699699402,
0.0719253197312355,
-0.01835651323199272,
-0.057393841445446014,
0.018420567736029625,
0.06376279890537262,
-0.022968517616391182,
0.017176058143377304,
-0.03649340569972992,
-0.01296668965369463,
-0.00783308781683445,
0.009992677718400955,
-0.041032206267118454,
0.01840226724743843,
0.016883233562111855,
0.0006245423574000597,
-0.018814053386449814,
0.008908308111131191,
0.046449482440948486,
0.03308930620551109,
0.036017563194036484,
-0.04472912847995758,
-0.0369875505566597,
-0.02187042124569416,
0.02622620388865471,
0.033437035977840424,
-0.002612554468214512,
0.02639091946184635,
0.016928987577557564,
0.06870423257350922,
-0.04443630576133728,
0.0829428881406784,
-0.031716685742139816,
0.012692165561020374,
-0.033052705228328705,
-0.009736455045640469,
0.03832356631755829,
0.012683014385402203,
0.021412881091237068,
-0.007073571439832449,
-0.02831258811056614,
0.005247985944151878,
-0.012390188872814178,
0.03254025802016258,
0.021742310374975204,
-0.0005064398283138871,
-0.03332722932100296,
0.03118593990802765,
0.020845530554652214,
-0.01745058223605156,
-0.006712114904075861,
-0.001032897038385272,
0.027013173326849937,
-0.008135064505040646,
-0.07408490777015686,
-0.07467056065797806,
0.005517934914678335,
-0.006771594751626253,
-0.042569540441036224,
0.02439604327082634,
0.029831621795892715,
-0.009018117561936378,
0.0022671117912977934,
0.051098089665174484,
0.05007319897413254,
0.06098095700144768,
0.015153731219470501,
-0.019509514793753624,
0.060029275715351105,
-0.013881769962608814,
-0.00037175140460021794,
0.03318081423640251,
-0.08221082389354706,
-0.05468520522117615,
-0.007878841832280159,
0.028092967346310616,
0.007151353172957897,
0.013103951700031757,
0.02871522307395935,
-0.0364018976688385,
0.025201313197612762,
0.008844251744449139
] |
5,664 | builtins | CozoDbPy | from builtins import CozoDbPy
| (engine, path, options) | [
-0.025111213326454163,
-0.06576746702194214,
-0.020996350795030594,
0.04990589991211891,
0.04364567995071411,
0.016301186755299568,
-0.029560189694166183,
0.09467701613903046,
-0.00154307356569916,
-0.07484126836061478,
0.0033279391936957836,
0.05894453078508377,
-0.04104311764240265,
0.02205144427716732,
-0.05479449778795242,
-0.04825292155146599,
0.0118873817846179,
0.07737348973751068,
0.002996024675667286,
-0.027678607031702995,
-0.04779571294784546,
0.004954541102051735,
0.007601066026836634,
0.011131231673061848,
0.009856327436864376,
0.054724156856536865,
-0.0002481117262504995,
0.021471142768859863,
0.030826302245259285,
-0.051594048738479614,
-0.04223889112472534,
-0.03770199045538902,
-0.0060316151939332485,
0.054653819650411606,
0.012177531607449055,
-0.04828809201717377,
0.09650584310293198,
0.0021585444919764996,
-0.03720961511135101,
-0.06696324050426483,
-0.005183144472539425,
-0.023194462060928345,
-0.005319427233189344,
-0.01172911748290062,
0.011131231673061848,
0.004442381206899881,
-0.021348049864172935,
-0.024882610887289047,
0.0148504339158535,
0.002400336554273963,
-0.002065124688670039,
-0.0352928601205349,
0.03239135444164276,
0.006651482079178095,
-0.024091290310025215,
0.017866242676973343,
-0.018587222322821617,
0.08243793249130249,
-0.04280160740017891,
0.052086424082517624,
-0.06203946843743324,
0.012793002650141716,
-0.03298924118280411,
-0.033516786992549896,
0.04948386177420616,
0.01888616569340229,
-0.04378636181354523,
-0.024442989379167557,
0.007596669718623161,
-0.0056887101382017136,
-0.06720942258834839,
0.010946590453386307,
0.05595510080456734,
-0.012766625732183456,
0.021348049864172935,
-0.04582620784640312,
-0.09327022731304169,
0.002826770069077611,
-0.017004583030939102,
-0.02393302693963051,
-0.0008753974689170718,
-0.05395042523741722,
0.015905527397990227,
0.031353846192359924,
0.021488728001713753,
-0.021506313234567642,
-0.021875595673918724,
0.07737348973751068,
-0.02382751740515232,
0.008409970439970493,
-0.06784248352050781,
-0.05402076244354248,
-0.05395042523741722,
0.07392685115337372,
-0.007706575561314821,
-0.00047176945372484624,
-0.008480310440063477,
-0.010559722781181335,
0.008159385994076729,
0.00968927051872015,
0.021963519975543022,
-0.027221400290727615,
0.004119258839637041,
-0.030087735503911972,
-0.027801701799035072,
-0.018552051857113838,
0.020416049286723137,
0.03210999816656113,
-0.013540360145270824,
-0.053317368030548096,
-0.07252006232738495,
0.030369093641638756,
0.05162921920418739,
-0.09298886358737946,
0.009196894243359566,
-0.06309456378221512,
0.039917685091495514,
-0.025040874257683754,
0.044313907623291016,
0.03608418256044388,
-0.05071480572223663,
0.021717332303524017,
0.02201627381145954,
0.06991750001907349,
0.08820577710866928,
0.06984715908765793,
0.023722007870674133,
0.004481947049498558,
-0.0029938265215605497,
-0.0028465529903769493,
0.07870993763208389,
-0.052824992686510086,
-0.04645926132798195,
-0.024442989379167557,
0.009610138833522797,
0.03019324503839016,
0.057010192424058914,
-0.000806157011538744,
-0.006466840859502554,
0.024970535188913345,
-0.017268355935811996,
0.0015540641034021974,
0.005095220170915127,
-0.022385556250810623,
-0.02924366109073162,
0.016881488263607025,
-0.03272546827793121,
-0.01580881141126156,
-0.027643436565995216,
0.008207744918763638,
0.016380319371819496,
-0.012151154689490795,
0.03200448676943779,
0.0013705218443647027,
-0.05546272173523903,
0.018217939883470535,
-0.00586455874145031,
-0.07266073673963547,
-0.005209521856158972,
-0.006880085915327072,
-0.0012957861181348562,
0.05616611987352371,
-0.037631649523973465,
-0.006229444872587919,
-0.02702796645462513,
-0.018710317090153694,
-0.0171804316341877,
-0.058839019387960434,
-0.019097182899713516,
-0.0015386773739010096,
0.01215994730591774,
-0.032637543976306915,
0.03021083027124405,
0.005565615836530924,
0.027924794703722,
0.02569151483476162,
-0.05257880315184593,
0.051558878272771835,
0.006902066990733147,
-0.014059114269912243,
0.02885679341852665,
0.020609483122825623,
-0.06084369868040085,
0.07716246694326401,
0.05257880315184593,
0.010401458479464054,
0.06840519607067108,
-0.02924366109073162,
0.09889739006757736,
-0.03868674486875534,
-0.00675259530544281,
0.014059114269912243,
0.05440763011574745,
-0.026430079713463783,
0.03154728189110756,
-0.058803852647542953,
0.014859226532280445,
0.008370405063033104,
-0.034853238612413406,
0.06362210959196091,
-0.036682069301605225,
0.018657561391592026,
0.014454774558544159,
-0.017743147909641266,
0.07244972139596939,
-0.02794237993657589,
0.025920119136571884,
-0.0203105416148901,
-0.05082031339406967,
-0.019536806270480156,
0.056482646614313126,
-0.02106669172644615,
-0.018253108486533165,
-0.00855944212526083,
0.024196799844503403,
0.021013936027884483,
-0.009733233600854874,
-0.006924048066139221,
0.04681096225976944,
0.0024135252460837364,
0.041218966245651245,
0.02519913762807846,
-0.008489103056490421,
-0.03738546371459961,
0.052016086876392365,
-0.043469831347465515,
-0.003855485701933503,
0.039003271609544754,
0.05176989734172821,
-0.08398540318012238,
-0.011096062138676643,
-0.035802822560071945,
-0.04621307551860809,
-0.017259564250707626,
0.03425535187125206,
-0.022842764854431152,
-0.0009550789836794138,
0.0763183981180191,
-0.022719670087099075,
-0.010243195109069347,
0.014489944092929363,
0.05264914035797119,
0.010753156617283821,
0.014314095489680767,
-0.038932934403419495,
-0.027537928894162178,
0.030316339805722237,
-0.028716115280985832,
-0.03372780606150627,
0.03235618770122528,
0.025093629956245422,
-0.08637695014476776,
0.039390139281749725,
-0.04463043436408043,
-0.005662332754582167,
-0.047971561551094055,
0.0015859367558732629,
0.0007847254164516926,
0.029120568186044693,
-0.06383312493562698,
-0.09080833941698074,
-0.01796295866370201,
-0.029102982953190804,
0.02790721133351326,
-0.013848096132278442,
0.014507529325783253,
-0.015492282807826996,
0.00653718039393425,
0.016494620591402054,
-0.011359835043549538,
0.08074978739023209,
0.002598166698589921,
-0.026394911110401154,
-0.0016408894443884492,
-0.05194574594497681,
-0.044313907623291016,
-0.0005275465082377195,
0.014270133338868618,
-0.024970535188913345,
0.005227106623351574,
0.010674024932086468,
-0.0021497521083801985,
-0.03731512278318405,
0.0024508931674063206,
-0.07230903953313828,
-0.031160414218902588,
-0.034888409078121185,
-0.030404264107346535,
-0.032162752002477646,
0.0016551772132515907,
0.00807146169245243,
0.03812402859330177,
0.012063230387866497,
0.01988850347697735,
0.050574127584695816,
0.07737348973751068,
-0.018692731857299805,
-0.016775978729128838,
0.03149452805519104,
0.020820502191781998,
0.01576484926044941,
-0.02155906707048416,
0.015131792984902859,
0.06664671003818512,
-0.016899073496460915,
-0.012133569456636906,
0.04494696483016014,
-0.01172911748290062,
-0.07927265763282776,
0.03970666602253914,
0.004633616656064987,
-0.011570853181183338,
0.010084930807352066,
0.0441732294857502,
-0.01622205600142479,
0.009539799764752388,
-0.028628190979361534,
0.028047889471054077,
-0.028083059936761856,
0.06281320750713348,
-0.0710780993103981,
-0.02569151483476162,
0.037666819989681244,
0.039390139281749725,
-0.0005451313918456435,
-0.03654138743877411,
0.0008710012771189213,
-0.008260498754680157,
0.04005836695432663,
0.0072273872792720795,
-0.07603703439235687,
0.038968101143836975,
0.044313907623291016,
0.06710391491651535,
0.07758450508117676,
0.037983350455760956,
0.0256387609988451,
-0.016837526112794876,
-0.032162752002477646,
-0.0027872039936482906,
0.014507529325783253,
0.038581233471632004,
0.0014188803033903241,
0.0051347860135138035,
-0.017365071922540665,
-0.04459526389837265,
-0.015975866466760635,
-0.04294228553771973,
0.04807707294821739,
-0.03650621697306633,
-0.001790361013263464,
-0.01304798386991024,
-0.03643587976694107,
0.06119539588689804,
0.03137143328785896,
0.026412496343255043,
-0.02388027310371399,
-0.020521558821201324,
-0.012063230387866497,
0.015879150480031967,
0.050644464790821075,
-0.032145168632268906,
0.03787783905863762,
0.005183144472539425,
-0.058311473578214645,
-0.012335795909166336,
-0.022719670087099075,
-0.014876811765134335,
0.012458889745175838,
0.012880926951766014,
-0.03151211142539978,
-0.021400803700089455,
0.008722102269530296,
0.002872930373996496,
-0.04744401574134827,
-0.008581423200666904,
-0.004200588911771774,
-0.0014573473017662764,
-0.05180506780743599,
0.02920849248766899,
0.04357534274458885,
0.012907304801046848,
0.0021409594919532537,
-0.036189690232276917,
-0.0431533046066761,
0.00019686826271936297,
-0.05447797104716301,
0.02699279598891735,
-0.03497633337974548,
0.003013609442859888,
-0.03432569280266762,
-0.02389785647392273,
0.004325881600379944,
-0.012265456840395927,
0.001746398746035993,
-0.008612196892499924,
0.006673463620245457,
0.0009990412509068847,
0.016019828617572784,
0.03970666602253914,
0.007130670361220837,
-0.03012290596961975,
0.037631649523973465,
0.04909699410200119,
-0.03320026025176048,
-0.03137143328785896,
0.06070302054286003,
-0.004059909842908382,
0.03481806814670563,
-0.03160003572702408,
-0.008853988721966743,
-0.04290711507201195,
-0.05236778408288956,
0.004457768052816391,
-0.02699279598891735,
0.02708072029054165,
-0.020978765562176704,
-0.07287175953388214,
-0.015738470479846,
0.02889196388423443,
0.03335852548480034,
-0.015386773273348808,
0.008106631226837635,
0.02562117576599121,
-0.011096062138676643,
0.01576484926044941,
0.021049106493592262,
0.0352049358189106,
-0.001363927498459816,
-0.015580207109451294,
-0.048323262482881546,
0.01663530059158802,
0.038018517196178436,
-0.07491160184144974,
0.019202692434191704,
0.009179309010505676,
0.007482368033379316,
-0.013601907528936863,
0.04638892412185669,
0.017400242388248444,
0.044349078088998795,
0.045650359243154526,
0.008190159685909748,
-0.062426336109638214,
0.015158169902861118,
0.012555606663227081,
-0.01193134393543005,
0.04994107037782669,
0.0020343512296676636,
0.025779439136385918,
0.012705078348517418,
0.011808249168097973,
0.03284856304526329,
-0.03453671187162399,
0.03970666602253914,
-0.035363201051950455,
-0.0677018016576767,
0.031301092356443405,
-0.00519193708896637,
-0.017241979017853737,
-0.038932934403419495,
0.0009369446197524667,
0.03014049120247364,
-0.0568695142865181,
0.014296510256826878,
0.03953081741929054,
-0.014577868394553661,
0.04058591276407242,
-0.014384434558451176,
-0.016978206112980843,
-0.0064888219349086285,
0.015905527397990227,
-0.02423197031021118,
-0.03019324503839016,
0.025779439136385918,
0.04554484784603119,
-0.023985780775547028,
0.018270693719387054,
0.06633017957210541,
-0.03200448676943779,
-0.018552051857113838,
-0.04596688598394394,
0.009847534820437431,
-0.01711888425052166,
-0.017268355935811996,
0.012872135266661644,
0.03921429067850113,
-0.055568233132362366,
0.030034981667995453,
-0.11732634156942368,
0.02166457660496235,
0.14982320368289948,
-0.02883921004831791,
0.007464783266186714,
0.10114825516939163,
0.037596482783555984,
-0.01350519061088562,
-0.0037807500921189785,
-0.0013320549624040723,
-0.018604807555675507,
0.001488120760768652,
0.030052566900849342,
-0.07554466277360916,
-0.03469497710466385,
0.01797175034880638,
-0.028030304238200188,
0.05366906523704529,
-0.020468804985284805,
-0.045755866914987564,
-0.03657655790448189,
-0.018780656158924103,
0.008853988721966743,
-0.020838087424635887,
-0.013206248171627522,
0.014059114269912243,
-0.0021376623772084713,
-0.0368930846452713,
0.005926105659455061,
-0.07072640210390091,
0.03298924118280411,
-0.006787765305489302,
-0.012203909456729889,
-0.01055093016475439,
-0.035415954887866974,
-0.021084275096654892,
-0.005785426590591669,
-0.02161182276904583,
0.01082349568605423,
0.012107192538678646,
0.060527171939611435,
0.005701898597180843,
-0.012766625732183456,
-0.015175755135715008,
0.01807725988328457,
0.007702179253101349,
0.03291890397667885,
-0.046986810863018036,
0.025005705654621124,
0.055603403598070145,
-0.052086424082517624,
0.00753512280061841,
0.004563277121633291,
0.021312879398465157,
-0.007148255128413439,
0.023985780775547028,
0.02435506321489811,
-0.016424281522631645,
0.021365633234381676,
-0.030966980382800102,
0.051066502928733826,
-0.0030289962887763977,
0.0011595032410696149,
0.022790009155869484,
-0.02069740742444992,
-0.023598914965987206,
0.002279440639540553,
0.0011584041640162468,
-0.07737348973751068,
0.0013353520771488547,
-0.016837526112794876,
0.026904871687293053,
-0.01507024560123682,
0.01885099522769451,
0.06281320750713348,
-0.05131269246339798,
0.029050227254629135,
0.018780656158924103,
0.038053687661886215,
0.019923673942685127,
-0.003334533656015992,
0.008620989508926868,
-0.03678757697343826,
0.07927265763282776,
0.018165184184908867,
-0.011280703358352184,
0.02708072029054165,
-0.006044803652912378,
0.018604807555675507,
0.06344626098871231,
-0.061828453093767166,
-0.026658684015274048,
0.010040968656539917,
0.01622205600142479,
-0.045755866914987564,
0.030896641314029694,
-0.009390328079462051,
-0.01579122617840767,
0.07491160184144974,
0.08553287386894226,
-0.025410156697034836,
0.00033081561559811234,
0.043891869485378265,
-0.01462183054536581,
-0.05644747614860535,
-0.00807146169245243,
-0.03949565067887306,
-0.0863066092133522,
0.006000841502100229,
-0.009566176682710648,
-0.016301186755299568,
-0.018587222322821617,
0.014542698860168457,
-0.0008341829525306821,
-0.07575567811727524,
0.017461789771914482,
0.025374988093972206,
-0.007992330007255077,
-0.02934917062520981,
-0.011966513469815254,
-0.014155831187963486,
-0.04234439879655838,
0.03826470673084259,
-0.0766700953245163,
0.006581142544746399,
-0.04002319648861885,
-0.01672322489321232,
-0.008629782125353813,
0.01436685025691986,
-0.01570330187678337,
0.04987072944641113,
-0.045685529708862305,
0.04132447764277458,
0.0292788315564394,
-0.009812365286052227,
0.004299504216760397,
0.035415954887866974,
0.011693947948515415,
0.003224628046154976,
0.03453671187162399,
0.019624730572104454,
0.0018244317034259439,
0.006836123764514923,
0.046072397381067276,
-0.02018744684755802,
-0.02345823496580124,
-0.04294228553771973,
-0.012054437771439552,
-0.005706294905394316,
0.01851688325405121,
0.0758260190486908,
0.031265921890735626,
-0.001745299668982625,
0.019571974873542786,
0.030017396435141563,
0.0017683798214420676,
0.0171804316341877,
-0.020820502191781998,
-0.01978299394249916,
0.005926105659455061,
-0.050222426652908325,
-0.007025161292403936,
0.016441866755485535,
-0.010216817259788513,
0.025304647162556648,
-0.049308013170957565,
0.0033982787281274796,
-0.03524010628461838,
-0.001833224087022245,
0.031723130494356155,
-0.03247927874326706,
0.03703376650810242,
-0.02883921004831791,
-0.037139274179935455,
0.04311813414096832,
0.026781778782606125,
-0.0238626878708601,
0.03508184477686882,
-0.014358057640492916,
-0.010735571384429932,
0.0541614405810833,
0.04107828810811043,
-0.019484050571918488,
-0.02256140671670437,
-0.034413617104291916,
-0.022332802414894104,
-0.018552051857113838,
0.0023080159444361925,
0.08468879759311676,
0.05089065432548523,
0.010937797836959362,
0.014155831187963486,
-0.004690767731517553,
0.02709830552339554,
-0.0014639415312558413,
-0.018780656158924103,
0.048393599689006805,
-0.024618837982416153,
0.03207482770085335,
0.021893180906772614,
-0.08159386366605759,
-0.02745000272989273,
0.08968290686607361,
-0.003303759964182973,
0.0305449441075325,
-0.017690392211079597,
-0.03745580092072487,
-0.014507529325783253,
-0.010542137548327446,
-0.017321109771728516,
0.015439528040587902,
0.053809743374586105,
0.012916097417473793,
-0.023510988801717758,
0.03388607129454613,
0.05264914035797119,
0.029929472133517265,
0.02609596773982048,
-0.02702796645462513,
-0.01839378848671913,
-0.00852866843342781,
0.0005489781033247709,
0.064642034471035,
-0.03145935758948326,
-0.003215835662558675,
0.017725562676787376,
0.023510988801717758,
-0.043082963675260544,
0.07223870605230331,
-0.022825179621577263,
-0.025568421930074692,
-0.005130389705300331,
0.004193994682282209,
0.03014049120247364,
0.03476531431078911,
0.06622467190027237,
-0.0030685621313750744,
-0.05437245965003967,
-0.001106748590245843,
-0.06063267961144447,
0.0368930846452713,
-0.0004404463979881257,
-0.035380784422159195,
-0.0468812994658947,
0.056904684752225876,
0.01236217375844717,
0.0017529930919408798,
-0.0057194833643734455,
0.006510803010314703,
0.008933121338486671,
-0.01661771535873413,
-0.07083190977573395,
-0.062953881919384,
-0.0008413267787545919,
0.0038950517773628235,
-0.010726778768002987,
0.010234402492642403,
0.04621307551860809,
-0.03872191533446312,
-0.004290711600333452,
0.08384472876787186,
0.036717236042022705,
0.0812421664595604,
0.03815919905900955,
-0.00014260241005104035,
0.006312973331660032,
-0.01303039863705635,
-0.045228321105241776,
0.0475495271384716,
-0.044349078088998795,
-0.041148629039525986,
-0.038088858127593994,
0.026148721575737,
-0.016362734138965607,
-0.03056252747774124,
0.052473291754722595,
-0.04550968110561371,
0.019202692434191704,
-0.006554765626788139
] |
|
5,666 | wordcloud.color_from_image | ImageColorGenerator | Color generator based on a color image.
Generates colors based on an RGB image. A word will be colored using
the mean color of the enclosing rectangle in the color image.
After construction, the object acts as a callable that can be passed as
color_func to the word cloud constructor or to the recolor method.
Parameters
----------
image : nd-array, shape (height, width, 3)
Image to use to generate word colors. Alpha channels are ignored.
This should be the same size as the canvas. for the wordcloud.
default_color : tuple or None, default=None
Fallback colour to use if the canvas is larger than the image,
in the format (r, g, b). If None, raise ValueError instead.
| class ImageColorGenerator(object):
"""Color generator based on a color image.
Generates colors based on an RGB image. A word will be colored using
the mean color of the enclosing rectangle in the color image.
After construction, the object acts as a callable that can be passed as
color_func to the word cloud constructor or to the recolor method.
Parameters
----------
image : nd-array, shape (height, width, 3)
Image to use to generate word colors. Alpha channels are ignored.
This should be the same size as the canvas. for the wordcloud.
default_color : tuple or None, default=None
Fallback colour to use if the canvas is larger than the image,
in the format (r, g, b). If None, raise ValueError instead.
"""
# returns the average color of the image in that region
def __init__(self, image, default_color=None):
if image.ndim not in [2, 3]:
raise ValueError("ImageColorGenerator needs an image with ndim 2 or"
" 3, got %d" % image.ndim)
if image.ndim == 3 and image.shape[2] not in [3, 4]:
raise ValueError("A color image needs to have 3 or 4 channels, got %d"
% image.shape[2])
self.image = image
self.default_color = default_color
def __call__(self, word, font_size, font_path, position, orientation, **kwargs):
"""Generate a color for a given word using a fixed image."""
# get the font to get the box size
font = ImageFont.truetype(font_path, font_size)
transposed_font = ImageFont.TransposedFont(font,
orientation=orientation)
# get size of resulting text
box_size = transposed_font.getbbox(word)
x = position[0]
y = position[1]
# cut out patch under word box
patch = self.image[x:x + box_size[2], y:y + box_size[3]]
if patch.ndim == 3:
# drop alpha channel if any
patch = patch[:, :, :3]
if patch.ndim == 2:
raise NotImplementedError("Gray-scale images TODO")
# check if the text is within the bounds of the image
reshape = patch.reshape(-1, 3)
if not np.all(reshape.shape):
if self.default_color is None:
raise ValueError('ImageColorGenerator is smaller than the canvas')
return "rgb(%d, %d, %d)" % tuple(self.default_color)
color = np.mean(reshape, axis=0)
return "rgb(%d, %d, %d)" % tuple(color)
| (image, default_color=None) | [
0.01625976525247097,
-0.10965202003717422,
-0.036980826407670975,
0.035063572227954865,
0.037478573620319366,
0.002410390181466937,
-0.034141819924116135,
0.005793232470750809,
0.09564133733510971,
-0.020592015236616135,
0.03805006295442581,
0.0005326017853803933,
0.008613803423941135,
-0.032335177063941956,
-0.04004105180501938,
0.020960716530680656,
0.011826121248304844,
0.05191326141357422,
-0.006973079405725002,
-0.03720204532146454,
0.035063572227954865,
-0.01582654006779194,
0.05563715472817421,
-0.013734154403209686,
0.033625636249780655,
0.009083898738026619,
0.02516392059624195,
-0.008669109083712101,
-0.027689531445503235,
-0.008129882626235485,
-0.058181196451187134,
-0.07230249047279358,
0.03204021602869034,
0.040077924728393555,
0.00037907189107500017,
-0.0658133327960968,
0.05987722799181938,
0.01464669220149517,
-0.02166125178337097,
-0.07064332813024521,
-0.02090541087090969,
0.0020877758506685495,
0.033644068986177444,
-0.012010471895337105,
0.012526655569672585,
0.019965220242738724,
-0.006890121381729841,
-0.0006302502006292343,
-0.10397400707006454,
-0.08413782715797424,
0.010452705435454845,
-0.0790497362613678,
-0.019172511994838715,
-0.004507383797317743,
0.017706921324133873,
0.01787283644080162,
-0.05058593302965164,
-0.009005550295114517,
-0.03550601750612259,
-0.016287416219711304,
-0.01277552917599678,
-0.029016857966780663,
0.08620256185531616,
0.029864873737096786,
-0.04332250356674194,
0.028076667338609695,
0.03486078605055809,
0.0404834970831871,
0.04055723547935486,
0.06245814263820648,
-0.0023458674550056458,
0.03482391685247421,
0.056079596281051636,
-0.025274531915783882,
-0.05475226789712906,
0.019301557913422585,
-0.02929338440299034,
0.006774901878088713,
0.09659995883703232,
-0.03198491036891937,
-0.024113120511174202,
0.11569873243570328,
0.0704958513379097,
-0.01690499298274517,
0.09151187539100647,
-0.06360112130641937,
-0.04560845345258713,
0.019283121451735497,
0.02531140297651291,
-0.01005635131150484,
-0.014812608249485493,
-0.009954958222806454,
-0.011724728159606457,
-0.009005550295114517,
-0.016748294234275818,
-0.02335728146135807,
0.02582758478820324,
0.013254841789603233,
0.028463805094361305,
0.01304283831268549,
-0.029975485056638718,
-0.008019271306693554,
0.04501853138208389,
-0.012277781032025814,
0.020831670612096786,
-0.029403995722532272,
-0.04715700447559357,
0.03445521369576454,
0.02142159454524517,
0.03451051935553551,
0.00258321943692863,
-0.019264686852693558,
0.05018036067485809,
-0.052761275321245193,
0.009890435263514519,
-0.059582266956567764,
-0.060356542468070984,
0.011872208677232265,
-0.0343630388379097,
-0.020038962364196777,
0.0015450924402102828,
-0.08804607391357422,
0.004426730331033468,
0.007355607580393553,
-0.0212925486266613,
0.01033287774771452,
-0.015079917386174202,
0.02595663070678711,
0.009415730834007263,
-0.016702206805348396,
-0.05733318254351616,
0.004426730331033468,
0.013992246240377426,
-0.045129142701625824,
0.022306479513645172,
-0.031155331060290337,
-0.004972869995981455,
0.03124750591814518,
-0.03805006295442581,
0.07617386430501938,
0.07149134576320648,
0.0020267094951123,
0.012563525699079037,
0.026564989238977432,
-0.01722760684788227,
0.008461713790893555,
0.024500258266925812,
-0.04630899056792259,
0.025145485997200012,
0.057628143578767776,
-0.04288005828857422,
0.034787047654390335,
0.021882472559809685,
0.018527282401919365,
0.02389189973473549,
-0.015550012700259686,
0.05099150538444519,
-0.019430603832006454,
-0.015559229999780655,
0.02890624850988388,
0.03423399478197098,
0.012895357795059681,
-0.049774788320064545,
-0.01335623487830162,
0.020997587591409683,
0.08170439302921295,
0.026011936366558075,
-0.04096280783414841,
0.0029795742593705654,
-0.06068837270140648,
-0.049369215965270996,
-0.05641142651438713,
0.014379383996129036,
0.033625636249780655,
-0.018029535189270973,
0.08627630025148392,
-0.05884486064314842,
0.04335937276482582,
-0.014489994384348392,
0.028205713257193565,
-0.040741585195064545,
0.0041870735585689545,
-0.059582266956567764,
-0.005770188756287098,
0.0007391325780190527,
0.018398236483335495,
0.04276944696903229,
0.026933692395687103,
-0.012711006216704845,
-0.028814071789383888,
-0.021716555580496788,
-0.02931182086467743,
0.030436361208558083,
0.001319262315519154,
0.028353195637464523,
0.024832088500261307,
-0.036335594952106476,
-0.017706921324133873,
0.05069654434919357,
-0.0021027543116360903,
-0.014434688724577427,
-0.011180892586708069,
-0.008111447095870972,
-0.00011982819705735892,
0.00017297315935138613,
-0.00961390882730484,
-0.01787283644080162,
0.04826311022043228,
-0.07167569547891617,
-0.01136524323374033,
0.005406095180660486,
-0.05692761018872261,
0.0477469265460968,
0.08671874552965164,
0.06957409530878067,
-0.07831233739852905,
0.008166752755641937,
0.016268981620669365,
-0.09158561378717422,
0.016932645812630653,
-0.0010352465324103832,
0.04022540524601936,
0.03863998502492905,
-0.056079596281051636,
0.015328791923820972,
-0.0178267490118742,
0.02490583062171936,
-0.016978733241558075,
0.03167151287198067,
-0.009567820467054844,
-0.006074368022382259,
-0.06655073910951614,
-0.031579338014125824,
0.06039341166615486,
0.054936617612838745,
-0.07366669178009033,
0.05136020854115486,
-0.018075622618198395,
0.023523196578025818,
-0.022029953077435493,
0.0005268407985568047,
0.03655681759119034,
0.012010471895337105,
0.018167797476053238,
0.02260144054889679,
-0.012886139564216137,
0.03688864782452583,
0.03628028929233551,
-0.02053670957684517,
-0.028039798140525818,
-0.06378547102212906,
-0.04586654528975487,
-0.005433748010545969,
-0.0018849896732717752,
-0.018674762919545174,
-0.03204021602869034,
-0.028869377449154854,
-0.00020350629347376525,
0.012793964706361294,
0.01640724577009678,
0.02116350270807743,
0.046014025807380676,
0.03451051935553551,
0.1040477454662323,
0.028740331530570984,
-0.002530218567699194,
0.00008202182652894408,
0.03948799893260002,
-0.0661451667547226,
0.043949294835329056,
0.0329066663980484,
0.045350365340709686,
0.04350685328245163,
0.014748085290193558,
0.003557975636795163,
0.006599768530577421,
-0.0010306376498192549,
0.07230249047279358,
0.010406618006527424,
-0.012886139564216137,
0.05847616121172905,
0.01078453753143549,
-0.029403995722532272,
-0.01743961125612259,
0.03408651426434517,
-0.0019310774514451623,
-0.021734992042183876,
-0.012388392351567745,
0.030159834772348404,
-0.045239754021167755,
0.02182716690003872,
0.023025449365377426,
0.03753387928009033,
0.0004378338053356856,
-0.024832088500261307,
0.02131098322570324,
-0.03288822993636131,
0.012056560255587101,
-0.023541631177067757,
-0.05346181243658066,
0.013098143972456455,
-0.010544881224632263,
-0.0004412903799675405,
0.0029818785842508078,
-0.026528120040893555,
0.01651785522699356,
-0.020721061155200005,
-0.04328563064336777,
0.008019271306693554,
-0.04837372153997421,
-0.029662087559700012,
-0.030952544882893562,
0.012277781032025814,
0.008042315021157265,
-0.02518235705792904,
-0.02219586819410324,
0.07525210827589035,
-0.00622645765542984,
0.038160670548677444,
0.039451129734516144,
-0.0024864349979907274,
-0.045387234538793564,
-0.04004105180501938,
-0.0076551781967282295,
0.07816485315561295,
-0.04560845345258713,
0.017577875405550003,
0.02956991270184517,
0.04273257777094841,
0.04748883470892906,
-0.003067140933126211,
0.017965011298656464,
-0.03408651426434517,
0.033220063894987106,
-0.0283900648355484,
-0.05821806937456131,
-0.011162457056343555,
-0.010627839714288712,
0.007106733974069357,
-0.08539141714572906,
-0.028721896931529045,
0.011964384466409683,
-0.059692878276109695,
-0.007618308067321777,
0.07440409064292908,
0.005788623820990324,
0.025274531915783882,
-0.03875059634447098,
0.060872722417116165,
0.0023781289346516132,
0.06031966954469681,
-0.03559819236397743,
0.0057333181612193584,
0.008498583920300007,
0.024887394160032272,
0.02350476197898388,
-0.03482391685247421,
-0.06168386712670326,
0.0343630388379097,
-0.052724406123161316,
-0.048484332859516144,
0.011374461464583874,
0.043064411729574203,
0.029016857966780663,
-0.007268040906637907,
0.05088089406490326,
-0.059692878276109695,
-0.004359902814030647,
-0.020813236013054848,
-0.0011671726824715734,
0.042290136218070984,
-0.020555144175887108,
-0.03546914458274841,
-0.023560067638754845,
0.03358876332640648,
-0.08111447095870972,
-0.06278997659683228,
0.007622916717082262,
0.01606619544327259,
0.03733109310269356,
-0.010858277790248394,
0.05991409718990326,
0.023799723014235497,
0.015098352916538715,
0.007383260410279036,
-0.028961554169654846,
-0.03908242657780647,
0.02595663070678711,
-0.024998005479574203,
-0.03021514043211937,
-0.08384286612272263,
0.006323241628706455,
0.0002040824037976563,
-0.015218180604279041,
0.032851360738277435,
-0.010378965176641941,
-0.02892468310892582,
0.01576201617717743,
-0.04155272990465164,
-0.00004277520929463208,
-0.015089135617017746,
0.021900907158851624,
-0.05755440518260002,
0.015550012700259686,
-0.018573369830846786,
0.02608567662537098,
-0.024444952607154846,
0.06927913427352905,
-0.0021787991281598806,
0.06846798956394196,
-0.0036593687254935503,
-0.023818157613277435,
0.00023764005163684487,
0.011383678764104843,
-0.01869319938123226,
-0.05655890703201294,
-0.011429766193032265,
-0.029385561123490334,
-0.05198700353503227,
0.027910752221941948,
-0.011116369627416134,
-0.005949930753558874,
0.06725127249956131,
0.04671456292271614,
-0.038676854223012924,
0.011586464941501617,
0.023781288415193558,
-0.012296216562390327,
-0.015374879352748394,
-0.053498681634664536,
-0.05972974747419357,
-0.028224149718880653,
-0.029219644144177437,
0.009116160683333874,
-0.032980404794216156,
-0.02311762422323227,
-0.0187116339802742,
0.01246213261038065,
0.024242166429758072,
-0.04995914176106453,
0.03281449154019356,
-0.017596310004591942,
0.02632533386349678,
0.05121272802352905,
-0.005996018648147583,
-0.003594845999032259,
-0.014314861036837101,
0.021882472559809685,
-0.03834502398967743,
-0.010987323708832264,
0.014499211683869362,
0.07285554707050323,
-0.029201209545135498,
-0.004094898235052824,
0.049258604645729065,
-0.018047969788312912,
0.02116350270807743,
-0.002903529442846775,
0.0316162072122097,
0.03192960470914841,
0.011346808634698391,
0.030436361208558083,
-0.03006765991449356,
-0.0034058860037475824,
-0.017384305596351624,
-0.05615333467721939,
0.013697284273803234,
-0.010120874270796776,
0.004323032684624195,
-0.026270028203725815,
0.03537696972489357,
-0.01472043339163065,
-0.00017830205615609884,
-0.0178267490118742,
-0.008530845865607262,
0.027210218831896782,
-0.037626054137945175,
0.023799723014235497,
0.02350476197898388,
-0.020960716530680656,
0.002601654501631856,
-0.008337276987731457,
-0.0047700838185846806,
-0.07720623165369034,
-0.05972974747419357,
0.007904051803052425,
-0.01335623487830162,
-0.007996227592229843,
0.03449208661913872,
-0.00962312612682581,
-0.0738879069685936,
0.03270388022065163,
0.019817739725112915,
-0.005489053204655647,
-0.0996970608830452,
-0.010240701958537102,
-0.0016879645409062505,
0.036833345890045166,
-0.027855446562170982,
-0.05010662227869034,
-0.01948590762913227,
0.021126633509993553,
-0.015319573692977428,
-0.0316162072122097,
0.06264249235391617,
-0.06408043205738068,
0.015503925271332264,
0.014701997861266136,
0.029238080605864525,
-0.022509265691041946,
-0.030657583847641945,
-0.01853650063276291,
0.05619020760059357,
-0.0798608809709549,
0.039193037897348404,
-0.07809111475944519,
-0.03202177956700325,
-0.012471349909901619,
-0.003963548224419355,
-0.05331432819366455,
-0.026823081076145172,
0.049664177000522614,
-0.026104111224412918,
0.004094898235052824,
0.01516287587583065,
0.055710893124341965,
0.026362203061580658,
-0.02440808154642582,
0.009300511330366135,
0.03797632083296776,
-0.0038275890983641148,
0.032077085226774216,
0.028076667338609695,
-0.002435738453641534,
0.020684190094470978,
-0.012729441747069359,
-0.011180892586708069,
-0.019965220242738724,
0.046530209481716156,
0.02709960751235485,
-0.012830834835767746,
-0.0027145694475620985,
0.01729213073849678,
-0.021900907158851624,
-0.018573369830846786,
0.039561741054058075,
0.02027861773967743,
-0.02066575549542904,
-0.020721061155200005,
-0.006977688055485487,
0.04608776792883873,
0.008337276987731457,
-0.06588707119226456,
0.031136896461248398,
0.024186860769987106,
0.08288424462080002,
-0.027560485526919365,
-0.03386529162526131,
0.004477426875382662,
-0.009991828352212906,
-0.025477318093180656,
0.035837847739458084,
-0.013116578571498394,
-0.014923219569027424,
0.0019794695544987917,
0.03546914458274841,
-0.02647281438112259,
0.009000941179692745,
-0.01729213073849678,
-0.06459661573171616,
0.04354372248053551,
-0.0004196867230348289,
0.02245396003127098,
-0.01574358157813549,
-0.007530741393566132,
0.08332668244838715,
-0.021384723484516144,
-0.04579280689358711,
0.03451051935553551,
-0.058402419090270996,
0.02335728146135807,
-0.026564989238977432,
0.060614630579948425,
-0.0550103597342968,
-0.021605946123600006,
-0.016112282872200012,
-0.00838797353208065,
-0.002673090435564518,
-0.036335594952106476,
-0.015540795400738716,
0.03111845999956131,
-0.0038068497087806463,
0.012563525699079037,
-0.025864455848932266,
-0.049664177000522614,
0.010664709843695164,
0.0017156171379610896,
0.016268981620669365,
-0.026140982285141945,
-0.046935781836509705,
-0.030436361208558083,
-0.012895357795059681,
-0.08494897186756134,
0.031948041170835495,
0.002145385602489114,
0.02800292707979679,
0.04664082080125809,
-0.015015394426882267,
0.06806241720914841,
-0.009512515738606453,
-0.02309918962419033,
-0.015006177127361298,
-0.014480777084827423,
-0.052355702966451645,
0.020426098257303238,
-0.002592436969280243,
-0.02014957182109356,
0.02892468310892582,
0.07359294593334198,
0.0498485304415226,
0.04217952489852905,
0.0275051798671484,
-0.00020854714966844767,
-0.017706921324133873,
0.0005758090410381556,
-0.004703256767243147,
-0.02995704859495163,
-0.015153657644987106,
-0.02555105835199356,
-0.023431021720170975,
-0.014794173650443554,
0.03856624290347099,
0.022748922929167747,
-0.039193037897348404,
-0.034418344497680664,
0.06809928268194199,
-0.003696239087730646,
0.005263223312795162,
0.00007103997631929815,
-0.0024679999332875013,
0.031579338014125824,
0.052871886640787125,
-0.0014483081176877022,
0.030307315289974213,
-0.03738639876246452,
0.024186860769987106,
0.017753008753061295,
-0.012010471895337105,
0.006922382861375809,
-0.017863618209958076,
-0.03714673966169357,
0.043175019323825836,
0.06843111664056778,
-0.013890853151679039,
-0.03559819236397743,
-0.01853650063276291,
-0.02363380789756775,
-0.049516696482896805,
-0.012038124725222588,
-0.013927723281085491,
-0.007231170777231455,
0.04527662321925163,
0.011024193838238716,
-0.022232739254832268,
-0.012176387943327427,
-0.013844765722751617,
0.08848851174116135,
-0.009991828352212906,
0.010213049128651619,
0.029090598225593567,
-0.0300860945135355,
0.008042315021157265,
-0.0012593482388183475,
-0.037515442818403244,
0.026933692395687103,
0.03344128280878067,
0.05206074193120003,
-0.017209172248840332,
0.05755440518260002,
0.00948486290872097,
0.049000516533851624,
0.023172929883003235,
-0.0350082702934742,
0.06349050998687744,
0.02402094379067421,
0.08251553773880005,
-0.014840261079370975,
-0.03165308013558388,
0.015061482787132263,
0.0031800558790564537,
-0.039672352373600006,
0.08738240599632263,
0.039045557379722595,
-0.058807991445064545,
0.01651785522699356,
0.02440808154642582,
-0.07385104149580002,
-0.045387234538793564,
-0.021624380722641945,
-0.032206133008003235,
0.030252011492848396,
-0.02284109778702259,
-0.03591158986091614,
-0.017642397433519363,
-0.027025867253541946,
-0.0027422222774475813,
-0.010922800749540329,
0.0272655226290226,
0.022748922929167747,
0.02144002914428711,
0.008489366620779037,
-0.013411540538072586,
0.01464669220149517,
0.02337571606040001,
-0.025329837575554848,
0.021347854286432266,
-0.01866554655134678,
0.015559229999780655,
0.013522150926291943,
-0.007475435733795166,
0.047968149185180664,
0.03705456480383873,
-0.009908869862556458,
-0.017642397433519363,
-0.03417868912220001,
-0.015789669007062912,
-0.012674136087298393,
-0.044612959027290344,
-0.04560845345258713,
-0.04173708334565163,
0.010508011095225811,
-0.00496826134622097,
0.01517209317535162,
0.06544463336467743,
-0.020057396963238716,
0.0277448371052742,
0.06562898308038712,
-0.04350685328245163,
-0.011780033819377422,
-0.018047969788312912,
-0.05593211576342583,
-0.01711699739098549,
-0.05515784025192261,
0.06076211482286453,
-0.008899548090994358,
0.016361158341169357,
0.024168426170945168,
0.02219586819410324,
0.022804226726293564,
0.06105707585811615,
0.060098450630903244,
0.02193777821958065,
-0.013190318830311298,
0.03327536955475807,
-0.00994573999196291,
-0.02363380789756775,
0.03353346139192581,
-0.0524294450879097,
0.009000941179692745,
-0.03253796324133873,
0.009706083685159683,
-0.04656708240509033,
0.00412946380674839,
0.009512515738606453,
0.05475226789712906,
0.06787806749343872,
-0.01322718895971775,
0.04697265475988388
] |
5,667 | wordcloud.color_from_image | __call__ | Generate a color for a given word using a fixed image. | def __call__(self, word, font_size, font_path, position, orientation, **kwargs):
"""Generate a color for a given word using a fixed image."""
# get the font to get the box size
font = ImageFont.truetype(font_path, font_size)
transposed_font = ImageFont.TransposedFont(font,
orientation=orientation)
# get size of resulting text
box_size = transposed_font.getbbox(word)
x = position[0]
y = position[1]
# cut out patch under word box
patch = self.image[x:x + box_size[2], y:y + box_size[3]]
if patch.ndim == 3:
# drop alpha channel if any
patch = patch[:, :, :3]
if patch.ndim == 2:
raise NotImplementedError("Gray-scale images TODO")
# check if the text is within the bounds of the image
reshape = patch.reshape(-1, 3)
if not np.all(reshape.shape):
if self.default_color is None:
raise ValueError('ImageColorGenerator is smaller than the canvas')
return "rgb(%d, %d, %d)" % tuple(self.default_color)
color = np.mean(reshape, axis=0)
return "rgb(%d, %d, %d)" % tuple(color)
| (self, word, font_size, font_path, position, orientation, **kwargs) | [
0.0603758729994297,
-0.08289134502410889,
-0.018087664619088173,
0.017684323713183403,
0.04008327051997185,
-0.033289190381765366,
-0.031155958771705627,
0.009805701673030853,
0.08468397706747055,
0.00044731792877428234,
0.043130747973918915,
0.008071329444646835,
0.00894075632095337,
-0.04452899843454361,
-0.048652056604623795,
0.026315851137042046,
0.010970912873744965,
0.036784827709198,
-0.03241080045700073,
-0.0420193150639534,
0.05080321431159973,
-0.002785303397104144,
0.04768403246998787,
-0.033809054642915726,
0.03757358342409134,
-0.00846570823341608,
0.007107789162546396,
-0.016366738826036453,
-0.0262620709836483,
-0.012431908398866653,
-0.012754582799971104,
-0.08160065114498138,
0.020686982199549675,
0.03228531777858734,
-0.01651911251246929,
-0.03323541209101677,
0.06898051500320435,
-0.01496848464012146,
0.009913260117173195,
-0.07636615633964539,
-0.028180187568068504,
0.01880471780896187,
0.048401087522506714,
0.004091684706509113,
-0.025025155395269394,
-0.006771670654416084,
-0.005315156187862158,
0.006336957216262817,
-0.0932169109582901,
-0.04546117037534714,
0.02706875652074814,
-0.08468397706747055,
-0.022407909855246544,
-0.026943271979689598,
0.011974787339568138,
0.00515381945297122,
-0.04922569915652275,
0.0314786322414875,
-0.025168566033244133,
-0.014224541373550892,
-0.006457959767431021,
-0.018078701570630074,
0.06801249086856842,
0.02586769126355648,
-0.04040594398975372,
0.015461457893252373,
0.08260452002286911,
-0.003587506478652358,
0.029219916090369225,
0.049297403544187546,
0.00535549083724618,
0.03305615112185478,
0.0446007065474987,
-0.03535072132945061,
-0.0551772378385067,
0.026441333815455437,
-0.020543573424220085,
-0.007945844903588295,
0.10820332169532776,
-0.0037062685005366802,
-0.007788989692926407,
0.11085641384124756,
0.05958711728453636,
-0.022820215672254562,
0.0827479287981987,
-0.04571213945746422,
0.005498901475220919,
0.014090093784034252,
0.03983230143785477,
-0.01305933017283678,
-0.00846570823341608,
-0.04477996751666069,
-0.012306424789130688,
0.013857051730155945,
-0.011141213588416576,
-0.013839125633239746,
0.05030127614736557,
0.016053026542067528,
0.020418088883161545,
0.017164459452033043,
-0.06629156321287155,
-0.015165673568844795,
0.05065980553627014,
-0.014242468401789665,
0.014941594563424587,
-0.05015786737203598,
-0.02995489537715912,
0.007632134482264519,
0.026351703330874443,
0.014269357547163963,
0.02233620546758175,
0.003453059121966362,
0.055499911308288574,
-0.04058520868420601,
0.0022441523615270853,
-0.04556872695684433,
-0.061917539685964584,
-0.03228531777858734,
-0.059300296008586884,
0.009438212029635906,
0.0019158764043822885,
-0.08590296655893326,
0.004822182469069958,
0.011607297696173191,
-0.03463366627693176,
0.04452899843454361,
-0.03786040470004082,
0.04477996751666069,
0.024881744757294655,
-0.02283814176917076,
-0.01641155406832695,
-0.001114793587476015,
0.020973803475499153,
-0.04610651731491089,
0.01876886561512947,
-0.011194991879165173,
-0.006655149627476931,
0.024881744757294655,
-0.032769329845905304,
0.0983796939253807,
0.04176834598183632,
-0.01365986280143261,
0.02941710501909256,
-0.0047459956258535385,
-0.015533163212239742,
0.03692823648452759,
0.018750939518213272,
-0.04818597063422203,
0.016070952638983727,
0.05790204182267189,
-0.014341062866151333,
0.04219857603311539,
0.0027942664455622435,
0.017021048814058304,
0.010630312375724316,
-0.020937951281666756,
0.04284392669796944,
-0.012324350886046886,
0.005342045798897743,
0.06080610677599907,
0.07123923301696777,
0.008004105649888515,
-0.043274156749248505,
-0.001063815550878644,
0.025437459349632263,
0.07564910501241684,
0.005637830123305321,
-0.014251431450247765,
0.03454403579235077,
-0.06102122366428375,
-0.022103162482380867,
-0.038792576640844345,
-0.0037936593871563673,
0.0074125370010733604,
-0.015264268964529037,
0.08583126217126846,
-0.04280807077884674,
0.050623953342437744,
-0.01694934442639351,
0.03768114373087883,
-0.03242872655391693,
-0.00015615513257216662,
-0.05169953033328056,
0.014170763082802296,
0.023842016234993935,
0.03518938273191452,
0.049584224820137024,
0.05058809742331505,
-0.0017590209608897567,
-0.04632163420319557,
-0.00899453554302454,
0.0022105404641479254,
0.02785751409828663,
-0.016913490369915962,
-0.0038496791385114193,
0.03296651691198349,
-0.03493841364979744,
-0.03454403579235077,
-0.006265251897275448,
-0.019127393141388893,
0.0029175099916756153,
-0.035906437784433365,
-0.03558376058936119,
0.02586769126355648,
-0.02470248006284237,
-0.007560429163277149,
-0.002037999453023076,
0.06503672152757645,
-0.07780026644468307,
-0.03377320244908333,
0.004454692825675011,
-0.07765685766935349,
0.03228531777858734,
0.10074596852064133,
0.049691781401634216,
-0.07665298134088516,
-0.02769617736339569,
0.03732261434197426,
-0.0656462162733078,
0.01731683313846588,
-0.003110218094661832,
0.02466662786900997,
0.061774127185344696,
-0.024487365037202835,
0.0074125370010733604,
-0.021063435822725296,
0.03818307816982269,
-0.02545538730919361,
0.021170994266867638,
-0.0019360434962436557,
-0.022497542202472687,
-0.07070144265890121,
-0.034185510128736496,
0.039437923580408096,
0.052846815437078476,
-0.040119122713804245,
0.00578124076128006,
-0.02665645070374012,
0.03699994087219238,
-0.01011044904589653,
0.00659688888117671,
0.055499911308288574,
0.020328456535935402,
0.023949574679136276,
0.03440062329173088,
-0.000021812700651935302,
0.03450818359851837,
0.015120858326554298,
-0.032912738621234894,
-0.054029952734708786,
-0.07557740062475204,
-0.024989301338791847,
-0.017773954197764397,
-0.0020536850206553936,
-0.00429559638723731,
-0.01905568689107895,
-0.030887063592672348,
-0.021314404904842377,
0.019503844901919365,
0.03850575536489487,
0.010854392312467098,
0.04922569915652275,
0.03047475777566433,
0.04675186425447464,
0.040513504296541214,
-0.016635632142424583,
-0.025957323610782623,
0.051556121557950974,
-0.09278667718172073,
0.01602613739669323,
0.01437691505998373,
0.03703579306602478,
0.023734459653496742,
0.01458306796848774,
-0.01957555115222931,
0.014493436552584171,
0.013731568120419979,
0.08583126217126846,
0.03269762173295021,
-0.0069733415730297565,
0.07181287556886673,
0.019647255539894104,
-0.017379576340317726,
-0.02549123950302601,
0.004273188766092062,
0.008627045899629593,
0.0022071790881454945,
0.04295148327946663,
0.007708321325480938,
-0.04277221858501434,
0.01517463754862547,
0.04893887788057327,
0.03836234286427498,
-0.0002800988731905818,
-0.0380396693944931,
0.053922396153211594,
-0.011661076918244362,
0.01452032569795847,
-0.019647255539894104,
-0.0433817133307457,
0.02506100758910179,
-0.005938096437603235,
-0.020436014980077744,
-0.0016010452527552843,
-0.05037298426032066,
0.03904354199767113,
-0.0144486203789711,
-0.037071648985147476,
0.019270803779363632,
-0.028861388564109802,
-0.020704910159111023,
-0.049440812319517136,
0.027283871546387672,
0.02586769126355648,
-0.0023931649047881365,
0.009581622667610645,
0.05148441717028618,
0.002666541375219822,
0.03060024231672287,
0.052201468497514725,
0.0016738709527999163,
-0.0472896546125412,
-0.03214190527796745,
-0.020310530439019203,
0.09500954300165176,
-0.029309546574950218,
-0.010773723013699055,
0.012638061307370663,
0.051520269364118576,
0.054962124675512314,
0.0062562888488173485,
0.03294859081506729,
-0.01359712053090334,
0.003977403976023197,
-0.03300236910581589,
-0.062311917543411255,
0.0069778235629200935,
-0.01504018995910883,
-0.008582229726016521,
-0.07772856205701828,
0.0022665602155029774,
0.026100734248757362,
-0.07464522868394852,
0.0051941536366939545,
0.08511421084403992,
0.03504597395658493,
-0.0038496791385114193,
-0.014152836054563522,
0.05607355386018753,
-0.0030497165862470865,
0.015461457893252373,
-0.01722720079123974,
-0.005319638177752495,
-0.0013030200498178601,
0.012718729674816132,
0.02059735171496868,
-0.02900479920208454,
-0.049584224820137024,
0.0009394516819156706,
-0.05428092181682587,
-0.062957264482975,
0.020937951281666756,
0.03319955989718437,
0.03187301382422447,
0.015327011235058308,
0.0295605156570673,
-0.06980512291193008,
0.009841554798185825,
-0.0017455762717872858,
0.013364077545702457,
0.03786040470004082,
0.000794360414147377,
-0.06105707585811615,
0.004183556884527206,
0.050874918699264526,
-0.05334875360131264,
-0.06883709877729416,
-0.008949719369411469,
0.009635401889681816,
0.007318423595279455,
-0.04764818027615547,
0.045747991651296616,
0.018222112208604813,
0.022999480366706848,
-0.006036690901964903,
-0.025383681058883667,
-0.04936910793185234,
0.007802434265613556,
0.0015707944985479116,
-0.05037298426032066,
-0.07371306419372559,
-0.009348580613732338,
0.013821199536323547,
-0.02667437680065632,
0.051950499415397644,
-0.02391372248530388,
-0.009007980115711689,
0.024200543761253357,
-0.07045046985149384,
0.019270803779363632,
-0.0031191811431199312,
0.007730728946626186,
-0.05532065033912659,
0.02312496304512024,
-0.019647255539894104,
0.02142196334898472,
-0.03137107565999031,
0.07027120888233185,
-0.006803041789680719,
0.04384779930114746,
-0.03359394147992134,
-0.005010408814996481,
-0.010675128549337387,
-0.014367952011525631,
-0.06410454958677292,
-0.031066326424479485,
-0.00893179327249527,
-0.028843462467193604,
-0.050480540841817856,
0.012969698756933212,
-0.022533394396305084,
-0.012897993437945843,
0.058117158710956573,
0.03377320244908333,
-0.02194182574748993,
0.026943271979689598,
0.02927369438111782,
-0.010970912873744965,
-0.005938096437603235,
-0.03983230143785477,
-0.06327994167804718,
-0.03872086852788925,
-0.034597814083099365,
0.004432284738868475,
0.005956022534519434,
-0.023340079933404922,
-0.0034037616569548845,
-0.0003728116280399263,
-0.012853177264332771,
-0.06016075983643532,
0.04026253521442413,
-0.01747816987335682,
0.027481062337756157,
0.06421210616827011,
0.007618689443916082,
0.011051581241190434,
-0.02993696928024292,
-0.011311513371765614,
-0.034095875918865204,
-0.01313103549182415,
0.0721355453133583,
0.0709165558218956,
-0.0062518068589270115,
0.0027920256834477186,
0.06629156321287155,
-0.04908228665590286,
0.019987856969237328,
-0.03857745975255966,
0.020310530439019203,
0.022282427176833153,
-0.014860926195979118,
0.0262799970805645,
-0.039975713938474655,
-0.01169692911207676,
-0.01930665597319603,
-0.07342623919248581,
-0.006247325334697962,
-0.011383218690752983,
0.007945844903588295,
-0.02509685978293419,
0.04305903986096382,
-0.03477707877755165,
0.010065633803606033,
-0.02023882418870926,
-0.004288874100893736,
0.02534782886505127,
-0.027391429990530014,
0.049548372626304626,
0.006081507075577974,
0.0031976087484508753,
0.01305933017283678,
-0.05263170227408409,
-0.02325044758617878,
-0.057722777128219604,
-0.04112299904227257,
0.013229630887508392,
-0.03192679211497307,
0.003775733057409525,
0.011535592377185822,
0.004701179452240467,
-0.05671890452504158,
0.07801537960767746,
-0.009429248981177807,
-0.010477938689291477,
-0.04087202996015549,
-0.004961111582815647,
-0.023304227739572525,
0.04610651731491089,
-0.030241716653108597,
-0.05567917600274086,
-0.024774186313152313,
0.008429856039583683,
0.004188038408756256,
-0.03300236910581589,
0.03662348911166191,
-0.07235065847635269,
0.0511975958943367,
0.01599924825131893,
0.01824900321662426,
-0.005422714166343212,
-0.05840397998690605,
-0.021601226180791855,
0.047361359000205994,
-0.08303475379943848,
0.030779507011175156,
-0.04542531818151474,
-0.03303822502493858,
-0.011060544289648533,
-0.01627710647881031,
-0.042879778891801834,
-0.015712426975369453,
0.04531775787472725,
-0.025401607155799866,
-0.019880298525094986,
0.02615451253950596,
0.02178048901259899,
0.02481003850698471,
-0.020023709163069725,
0.028072630986571312,
0.013408893719315529,
-0.009285838343203068,
0.012718729674816132,
0.042736366391181946,
-0.04112299904227257,
0.07195628434419632,
-0.01783669739961624,
-0.02900479920208454,
0.009689180180430412,
0.038003817200660706,
0.042736366391181946,
-0.0028166742995381355,
-0.020328456535935402,
0.00031987292459234595,
-0.046178221702575684,
-0.02545538730919361,
0.055356502532958984,
0.03323541209101677,
-0.034723296761512756,
0.01797114498913288,
-0.005373416934162378,
0.014609958045184612,
-0.008389521390199661,
-0.08332157135009766,
0.06274215131998062,
-0.0056781647726893425,
0.07037876546382904,
-0.020310530439019203,
-0.02339385822415352,
-0.0006190185085870326,
-0.023411784321069717,
-0.014735441654920578,
0.045246053487062454,
0.039617184549570084,
-0.009241022169589996,
-0.006050135940313339,
0.029094431549310684,
-0.046285782009363174,
-0.002375238575041294,
-0.02378823794424534,
-0.04678771644830704,
0.059945642948150635,
0.026459261775016785,
-0.004656363744288683,
-0.013498525135219097,
-0.01577516831457615,
0.06801249086856842,
0.0033611867111176252,
-0.028968947008252144,
0.020579425618052483,
-0.01746920682489872,
0.02402128092944622,
-0.021511593833565712,
0.04345342144370079,
-0.023859944194555283,
-0.001010596752166748,
-0.023859944194555283,
0.003820548765361309,
0.012889030389487743,
-0.011230845004320145,
-0.012333313934504986,
0.033826980739831924,
-0.022891921922564507,
0.0485803484916687,
-0.029345400631427765,
-0.06016075983643532,
0.012718729674816132,
0.014152836054563522,
-0.0006022126181051135,
-0.05818886309862137,
-0.05707743018865585,
-0.0003834553644992411,
-0.03110218048095703,
-0.06944659352302551,
0.043274156749248505,
-0.006215954199433327,
0.04044179618358612,
0.06629156321287155,
0.0034620221704244614,
0.02902272529900074,
-0.01864338107407093,
-0.03241080045700073,
-0.024487365037202835,
-0.0024043687153607607,
-0.03332504630088806,
0.020256752148270607,
-0.003132625948637724,
-0.019880298525094986,
0.023322153836488724,
0.04883131757378578,
0.03639044612646103,
0.011024692095816135,
0.04926155135035515,
-0.018033886328339577,
-0.013785346411168575,
0.02061527781188488,
-0.010890244506299496,
-0.023716533556580544,
-0.006749262567609549,
0.009384432807564735,
-0.03359394147992134,
-0.0012806120794266462,
0.0788041427731514,
0.015694500878453255,
-0.04754062369465828,
-0.030958769842982292,
0.04653674736618996,
-0.04926155135035515,
-0.01037934422492981,
-0.021081361919641495,
-0.013373041525483131,
0.0524882897734642,
0.04474411532282829,
0.023286301642656326,
0.016339847818017006,
-0.026728155091404915,
0.03086913749575615,
0.013973573222756386,
-0.025939397513866425,
0.009258948266506195,
-0.0016357775311917067,
-0.024397732689976692,
0.044313885271549225,
0.06485745310783386,
-0.025706354528665543,
0.0032469062134623528,
0.0011943416902795434,
-0.02506100758910179,
-0.052058059722185135,
-0.032500434666872025,
-0.0038026224356144667,
-0.02169085666537285,
0.046823568642139435,
-0.012629098258912563,
-0.039581332355737686,
0.0033925576135516167,
-0.030797433108091354,
0.08131382614374161,
-0.04305903986096382,
0.0009377710521221161,
0.001187619287520647,
-0.03886428102850914,
0.02913028374314308,
-0.01578413136303425,
-0.045998960733413696,
0.007062973454594612,
0.04323830455541611,
0.059551265090703964,
-0.02794714644551277,
0.09995720535516739,
0.01339096762239933,
0.020310530439019203,
-0.021565373986959457,
-0.028126409277319908,
0.04216272383928299,
0.01639362797141075,
0.08102700859308243,
0.016214363276958466,
-0.03201642259955406,
-0.00367713812738657,
-0.02835945226252079,
-0.053241197019815445,
0.06374602764844894,
0.016752153635025024,
-0.04703868553042412,
0.04474411532282829,
0.005637830123305321,
-0.054567743092775345,
-0.04284392669796944,
0.022103162482380867,
-0.016053026542067528,
0.032500434666872025,
-0.017567802220582962,
-0.04348927363753319,
-0.01358815748244524,
-0.027498988434672356,
-0.022999480366706848,
-0.003865364473313093,
0.02192389965057373,
-0.0032805181108415127,
0.009698144160211086,
-0.0006677557248622179,
0.008022031746804714,
0.03983230143785477,
0.023142891004681587,
-0.030420979484915733,
0.0236448273062706,
-0.021081361919641495,
0.02181634120643139,
0.015300121158361435,
-0.03925865888595581,
0.03615740314126015,
0.034866709262132645,
0.00859119277447462,
-0.044313885271549225,
-0.015963396057486534,
-0.014789220876991749,
-0.012718729674816132,
-0.029847336933016777,
-0.05793789401650429,
-0.035135604441165924,
0.02613658644258976,
-0.0016122491797432303,
-0.0067223734222352505,
0.032733477652072906,
-0.04173249378800392,
0.0341317281126976,
0.0657179206609726,
-0.04112299904227257,
-0.003011623164638877,
-0.03008037991821766,
-0.05227317288517952,
-0.011060544289648533,
-0.06933903694152832,
0.05410166084766388,
0.008882495574653149,
0.03215983510017395,
0.004620511084794998,
0.033826980739831924,
0.002930954797193408,
0.05471115559339523,
0.06765396147966385,
0.03454403579235077,
-0.006413144059479237,
0.04359683021903038,
0.006829931400716305,
-0.022623026743531227,
0.06421210616827011,
-0.0328231081366539,
0.015488347969949245,
-0.00734979473054409,
-0.007009194232523441,
-0.051269300282001495,
-0.030689874663949013,
0.00729153398424387,
0.027248019352555275,
0.02862834744155407,
-0.011840339750051498,
0.030008673667907715
] |
5,668 | wordcloud.color_from_image | __init__ | null | def __init__(self, image, default_color=None):
if image.ndim not in [2, 3]:
raise ValueError("ImageColorGenerator needs an image with ndim 2 or"
" 3, got %d" % image.ndim)
if image.ndim == 3 and image.shape[2] not in [3, 4]:
raise ValueError("A color image needs to have 3 or 4 channels, got %d"
% image.shape[2])
self.image = image
self.default_color = default_color
| (self, image, default_color=None) | [
0.000633970950730145,
-0.06718199700117111,
-0.007068302948027849,
0.012196843512356281,
-0.0031272745691239834,
-0.008232159540057182,
-0.033439602702856064,
0.008568069897592068,
0.054918915033340454,
-0.011543948203325272,
0.03389379009604454,
0.02284187823534012,
-0.0037541487254202366,
0.034461524337530136,
0.025245290249586105,
0.026286138221621513,
0.016114216297864914,
0.04557020962238312,
0.02322036772966385,
0.02674032561480999,
-0.008572801016271114,
-0.0024176056031137705,
0.037565141916275024,
0.04159606248140335,
0.057076308876276016,
0.04973360151052475,
0.036808162927627563,
0.017836347222328186,
0.03514280542731285,
-0.019435467198491096,
-0.05276152119040489,
-0.036259353160858154,
-0.002377391094341874,
0.11241156607866287,
0.03145252913236618,
-0.036581069231033325,
-0.009746120311319828,
0.060709815472364426,
-0.10188953578472137,
0.0009172471472993493,
0.040422745048999786,
-0.003827481297776103,
-0.014420473016798496,
0.001979976426810026,
0.013937897980213165,
0.02250123769044876,
0.006481643300503492,
-0.023352839052677155,
-0.08099688589572906,
-0.09106472134590149,
-0.014174454845488071,
-0.006670888047665358,
0.0021396519150584936,
0.023523161187767982,
0.0298817940056324,
0.06154249235987663,
-0.005923370365053415,
0.027800098061561584,
-0.027743324637413025,
0.026664627715945244,
-0.0611640028655529,
-0.0018486876506358385,
0.050187788903713226,
-0.0545782744884491,
-0.0070257228799164295,
0.007957754656672478,
-0.02180103026330471,
0.028500305488705635,
0.02776224911212921,
0.07679564505815506,
0.01323769148439169,
0.0697178766131401,
0.013455323874950409,
0.028102891519665718,
0.013029522262513638,
-0.010616648010909557,
-0.05503246188163757,
-0.008241621777415276,
0.016700876876711845,
-0.025850875303149223,
-0.0008882689871825278,
0.07865024358034134,
-0.015130141749978065,
-0.042920779436826706,
0.04700847342610359,
-0.05575159192085266,
-0.05548664927482605,
-0.003498667851090431,
-0.028121815994381905,
0.05552449822425842,
-0.056432876735925674,
-0.004142100922763348,
-0.044396888464689255,
-0.006808090955018997,
-0.013086295686662197,
0.009135805070400238,
0.04386700317263603,
0.011808891780674458,
0.049544356763362885,
0.00034182387753389776,
-0.044926777482032776,
-0.07036130875349045,
0.012480711564421654,
-0.027800098061561584,
-0.025415610522031784,
-0.01548024546355009,
-0.02874632366001606,
0.06786327809095383,
0.003496302291750908,
-0.024961423128843307,
0.016767112538218498,
0.028178589418530464,
0.025150667876005173,
-0.004572633653879166,
-0.020911578088998795,
-0.01575465127825737,
-0.010569335892796516,
-0.004239089321345091,
0.03966576233506203,
-0.0002578463754616678,
-0.050187788903713226,
-0.05385914444923401,
-0.019293533638119698,
0.08129967749118805,
0.03917372599244118,
-0.02732698619365692,
-0.044775381684303284,
-0.02130899392068386,
-0.0014784770319238305,
-0.005194776691496372,
0.0017020227387547493,
-0.007848938927054405,
-0.07214021682739258,
-0.029787171632051468,
0.014713803306221962,
-0.05987713485956192,
-0.044396888464689255,
0.06915014237165451,
-0.0448889285326004,
0.0636998862028122,
0.03722450137138367,
-0.005052843131124973,
-0.01979503221809864,
0.012319853529334068,
0.020703408867120743,
-0.00879043247550726,
0.05336710438132286,
-0.016029056161642075,
0.022217368707060814,
0.027345910668373108,
-0.030014265328645706,
0.047046322375535965,
0.01962471194565296,
-0.009746120311319828,
0.011525023728609085,
-0.027251288294792175,
0.02532098814845085,
-0.02537776157259941,
0.026456458494067192,
0.01595335826277733,
-0.005407677497714758,
0.0037612454034388065,
0.005052843131124973,
-0.013928435742855072,
-0.022425539791584015,
0.04432119056582451,
-0.04920371621847153,
-0.06438116729259491,
-0.008374094031751156,
-0.04186100512742996,
-0.034139808267354965,
-0.11824031174182892,
-0.0074657173827290535,
-0.006670888047665358,
-0.01059772353619337,
0.07108044624328613,
-0.020457390695810318,
-0.0006724113482050598,
-0.021838879212737083,
0.002333628013730049,
-0.02537776157259941,
0.029314059764146805,
-0.03101726435124874,
-0.023882726207375526,
0.000723270932212472,
-0.002207070356234908,
0.0025027659721672535,
0.033117882907390594,
0.029427606612443924,
-0.02424229122698307,
0.026607854291796684,
-0.011411476880311966,
-0.005223163403570652,
0.006675619166344404,
0.04125542193651199,
-0.023579934611916542,
0.01618991419672966,
-0.038095030933618546,
0.057379100471735,
0.03981715813279152,
0.006959486752748489,
-0.028273211792111397,
-0.023012198507785797,
0.0032881328370422125,
-0.014477246440947056,
0.01724022440612316,
-0.005701007321476936,
0.0017824518727138638,
-0.015044981613755226,
-0.008549145422875881,
-0.014704341068863869,
-0.02017352357506752,
0.06036917120218277,
0.04095263034105301,
0.020816955715417862,
-0.0516260527074337,
0.015177453868091106,
-0.013161993585526943,
-0.06684135645627975,
0.033269282430410385,
0.06252656877040863,
-0.01564110442996025,
0.04927941411733627,
-0.0021644902881234884,
0.023958424106240273,
0.009277738630771637,
-0.0008817636989988387,
-0.041028328239917755,
0.017457855865359306,
0.039135877043008804,
-0.03959006443619728,
-0.040536291897296906,
-0.018233761191368103,
0.05211808905005455,
0.002923836000263691,
-0.0200599767267704,
0.060558415949344635,
-0.0017942796694114804,
-0.07581157237291336,
0.007948292419314384,
0.010389553382992744,
0.03145252913236618,
0.022368766367435455,
-0.0448889285326004,
0.06101260706782341,
-0.03205811232328415,
-0.010446326807141304,
0.05624363198876381,
-0.022766180336475372,
-0.028727399185299873,
-0.03748944401741028,
-0.016114216297864914,
0.014439397491514683,
0.04246659204363823,
-0.023504236713051796,
0.023996273055672646,
-0.05151250585913658,
-0.05866596847772598,
0.017325384542346,
0.01461918093264103,
-0.0017871829913929105,
0.010313855484127998,
0.02369348146021366,
0.06816606968641281,
-0.01386220008134842,
-0.010228695347905159,
-0.016445394605398178,
0.025472383946180344,
-0.013606719672679901,
0.042920779436826706,
0.14587008953094482,
0.015470783226191998,
0.06536523997783661,
0.021573936566710472,
0.015177453868091106,
-0.02641860954463482,
-0.012830814346671104,
-0.0198518056422472,
0.0166251789778471,
-0.0004417689342517406,
0.04670567810535431,
0.00250040041282773,
-0.029030190780758858,
0.01193190086632967,
0.019549014046788216,
0.007678618188947439,
0.01790258288383484,
0.049165867269039154,
-0.04106617718935013,
-0.03688386082649231,
0.021384691819548607,
0.04606224596500397,
-0.014628643169999123,
0.03237982839345932,
-0.022482313215732574,
-0.029143739491701126,
-0.05900660902261734,
0.04099047929048538,
0.01011514849960804,
-0.04261798784136772,
0.012263079173862934,
-0.08478178828954697,
0.0022555645555257797,
0.0019232028862461448,
-0.03491571173071861,
0.008251084014773369,
-0.03270154446363449,
-0.01958686299622059,
-0.027156665921211243,
-0.0024317989591509104,
0.044396888464689255,
0.06759833544492722,
-0.03550237417221069,
0.01569787785410881,
-0.022084897384047508,
-0.06438116729259491,
0.08682563155889511,
-0.057379100471735,
0.057303402572870255,
0.02967362478375435,
-0.015101755037903786,
-0.014439397491514683,
-0.027043119072914124,
-0.03862491622567177,
0.0013649299507960677,
0.025018196552991867,
0.01564110442996025,
0.045418813824653625,
-0.0020745990332216024,
0.11718054115772247,
-0.040422745048999786,
0.006950024515390396,
0.01380542665719986,
0.014278539456427097,
-0.01793096959590912,
-0.06430546939373016,
-0.02808396704494953,
-0.04386700317263603,
-0.015177453868091106,
-0.04636503756046295,
-0.04969575256109238,
-0.01990857906639576,
-0.022482313215732574,
-0.023996273055672646,
0.038473520427942276,
-0.032739393413066864,
0.011487174779176712,
-0.10741549730300903,
0.05132325738668442,
-0.03697848320007324,
0.016663027927279472,
0.033590998500585556,
-0.011496637016534805,
-0.00820850394666195,
0.042769383639097214,
0.04435903951525688,
-0.0587795153260231,
-0.035010334104299545,
0.06067196652293205,
-0.02234984189271927,
-0.006405944935977459,
0.04568375647068024,
0.014552944339811802,
0.016984743997454643,
0.030544152483344078,
0.014127143658697605,
-0.01062611024826765,
-0.009646766819059849,
0.002604485023766756,
0.016312923282384872,
0.015262614004313946,
-0.010966750793159008,
-0.03586193919181824,
-0.04000640660524368,
0.052912916988134384,
-0.05037703365087509,
-0.037735465914011,
0.011402014642953873,
0.026153666898608208,
-0.00938655436038971,
-0.048522431403398514,
0.02973039820790291,
0.00989751610904932,
0.013303927145898342,
-0.0339505635201931,
0.025699477642774582,
-0.03593763709068298,
0.09500101953744888,
-0.03177424520254135,
-0.008714734576642513,
-0.0917460024356842,
-0.017751187086105347,
-0.004101886413991451,
-0.06502459943294525,
0.07706058770418167,
-0.017722800374031067,
0.04046059399843216,
0.05049058049917221,
-0.029541153460741043,
-0.05200454220175743,
-0.01079643052071333,
-0.008643767796456814,
-0.020078901201486588,
0.015044981613755226,
-0.000866978894919157,
-0.024317989125847816,
-0.037830088287591934,
0.008984409272670746,
-0.0007865497609600425,
0.008416674099862576,
0.09840743243694305,
-0.027194514870643616,
-0.03555914759635925,
0.017514629289507866,
-0.007177118677645922,
-0.022103821858763695,
-0.00943386647850275,
-0.08841528743505478,
0.007650231476873159,
-0.005828747525811195,
-0.0044969357550144196,
0.020760182291269302,
0.037129878997802734,
0.00500080082565546,
-0.024317989125847816,
0.02435583807528019,
0.044018398970365524,
0.04413194581866264,
-0.03752729296684265,
-0.06010422855615616,
-0.040763385593891144,
0.02819751389324665,
0.010209770873188972,
0.006349171511828899,
0.007423137314617634,
-0.03442367538809776,
-0.007096689660102129,
0.01073965709656477,
0.0038818891625851393,
-0.006576265674084425,
0.04360206052660942,
-0.029957491904497147,
0.039287272840738297,
0.02694849669933319,
-0.05787113681435585,
-0.025718403980135918,
0.03714880347251892,
0.07376772165298462,
-0.031925641000270844,
0.005459719803184271,
-0.025831950828433037,
0.030298134312033653,
-0.016407545655965805,
-0.032625846564769745,
0.00862011220306158,
-0.04901446774601936,
-0.03504818305373192,
0.040157802402973175,
0.06729554384946823,
-0.02766762673854828,
-0.0016499803168699145,
-0.01735377125442028,
-0.06903659552335739,
-0.04594869911670685,
-0.034461524337530136,
0.028935568407177925,
0.020968351513147354,
-0.011449325829744339,
-0.0010781054152175784,
0.009306125342845917,
-0.014921972528100014,
0.021668558940291405,
-0.008752583526074886,
-0.021819954738020897,
-0.0482574887573719,
0.006103152874857187,
-0.0065573411993682384,
-0.0020024492405354977,
0.03328820690512657,
-0.02305004745721817,
-0.018612250685691833,
0.03694063425064087,
0.030714472755789757,
-0.0540105402469635,
-0.02929513528943062,
-0.031225433573126793,
-0.019492240622639656,
-0.0448889285326004,
0.03716772794723511,
0.012991673313081264,
-0.07611436396837234,
-0.008974947035312653,
-0.031225433573126793,
0.029976416379213333,
-0.04659213125705719,
0.01621830090880394,
0.04326141998171806,
-0.003330712905153632,
0.015678953379392624,
0.01802559196949005,
0.021782105788588524,
0.03304218500852585,
-0.03692170977592468,
-0.04909016564488411,
0.0401199534535408,
-0.07751477509737015,
-0.008402480743825436,
-0.023844877257943153,
0.025775177404284477,
-0.047803301364183426,
0.04046059399843216,
0.053177859634160995,
0.03595656156539917,
-0.032796166837215424,
0.006363364867866039,
-0.04719771817326546,
-0.0376029908657074,
-0.021327918395400047,
0.004844673443585634,
0.023996273055672646,
0.011591259390115738,
0.017561940476298332,
0.00984074268490076,
0.02240661531686783,
-0.012953824363648891,
0.047651905566453934,
0.02685387432575226,
-0.013294464908540249,
0.019605787470936775,
0.019198911264538765,
-0.03075232170522213,
-0.028935568407177925,
-0.04950650781393051,
0.06646286696195602,
-0.04969575256109238,
-0.022160595282912254,
0.02240661531686783,
0.05586513876914978,
-0.04038489609956741,
-0.023996273055672646,
0.01139255240559578,
0.04231519624590874,
0.042277343571186066,
0.03781116381287575,
-0.021062973886728287,
-0.017666025087237358,
-0.03228520601987839,
0.05124755948781967,
-0.0411040261387825,
-0.021611785516142845,
0.017249686643481255,
-0.01076804380863905,
-0.0775904729962349,
-0.033439602702856064,
0.03135790675878525,
0.04659213125705719,
-0.016095291823148727,
-0.03866276517510414,
0.012158994562923908,
0.008085494861006737,
-0.029049115255475044,
0.045910850167274475,
-0.03917372599244118,
-0.00497714476659894,
0.009291931986808777,
-0.022217368707060814,
0.01583981141448021,
-0.053404953330755234,
-0.026286138221621513,
-0.02549130842089653,
0.016521092504262924,
-0.04863597825169563,
0.008232159540057182,
0.0339505635201931,
-0.00155535782687366,
0.0353509746491909,
0.005913908127695322,
0.012310391291975975,
-0.004714567679911852,
-0.053291406482458115,
0.0017280438914895058,
-0.027535155415534973,
0.029843945056200027,
-0.04848458245396614,
-0.05764404311776161,
-0.04871167615056038,
-0.026115817949175835,
-0.02060878649353981,
-0.05533525347709656,
0.0059470259584486485,
0.07361632585525513,
0.0006499384762719274,
-0.058930911123752594,
0.024658631533384323,
-0.061428945511579514,
0.030184585601091385,
0.009859667159616947,
-0.03504818305373192,
0.04046059399843216,
-0.005781436339020729,
0.006476912181824446,
0.014675954356789589,
-0.03519957885146141,
0.03052522800862789,
0.028292136266827583,
-0.04216379672288895,
0.028557078912854195,
0.01315253134816885,
0.03514280542731285,
0.0061551956459879875,
0.02083588019013405,
0.036524295806884766,
-0.010569335892796516,
-0.02369348146021366,
-0.00818011723458767,
-0.01043686456978321,
0.006145733408629894,
0.07319998741149902,
0.0545782744884491,
0.06896089762449265,
0.033439602702856064,
-0.005033918656408787,
-0.0058145541697740555,
0.0303738322108984,
-0.026778174564242363,
-0.013474248349666595,
-0.034026261419057846,
-0.02000320330262184,
0.020154599100351334,
-0.023352839052677155,
0.027535155415534973,
0.02651323191821575,
0.016085829585790634,
-0.028329985216259956,
0.014515095390379429,
-0.03924942389130592,
0.022520162165164948,
0.00820850394666195,
0.05211808905005455,
0.031868867576122284,
-0.015716802328824997,
0.03996855393052101,
0.020154599100351334,
0.040649838745594025,
-0.03031705878674984,
-0.006836477667093277,
0.01184674073010683,
0.03241767734289169,
0.01694689504802227,
-0.012263079173862934,
-0.04356421157717705,
0.03217165917158127,
0.03304218500852585,
0.0006109066889621317,
-0.040914781391620636,
-0.016492705792188644,
-0.031433604657649994,
-0.014051445759832859,
-0.0024862068239599466,
-0.03417765721678734,
-0.022387690842151642,
0.062450867146253586,
0.061315398663282394,
0.012225230224430561,
0.009443328715860844,
0.012149532325565815,
0.06892304867506027,
-0.0587795153260231,
-0.042428743094205856,
0.06824176758527756,
-0.05389699339866638,
0.017164526507258415,
0.011771042831242085,
-0.018101289868354797,
0.0516260527074337,
-0.027308061718940735,
0.022747255861759186,
0.01656840369105339,
0.04193670302629471,
0.033969487994909286,
0.05983928591012955,
0.0015837445389479399,
-0.03883308544754982,
0.018725797533988953,
0.05923370271921158,
0.04988499730825424,
-0.037716541439294815,
-0.025964422151446342,
0.016956357285380363,
0.007631307002156973,
-0.027951493859291077,
0.05790898576378822,
0.030146736651659012,
-0.07789326459169388,
-0.023655632510781288,
0.03898448124527931,
-0.10279791057109833,
-0.03360992297530174,
-0.06589512526988983,
-0.0024270678404718637,
-0.013048446737229824,
-0.004364463966339827,
-0.06756048649549484,
0.0549946129322052,
-0.0059328326024115086,
0.010730194859206676,
-0.0045040324330329895,
0.051436807960271835,
0.04099047929048538,
-0.060596268624067307,
-0.008714734576642513,
0.0077259293757379055,
0.00035099044907838106,
-0.0411040261387825,
-0.05071767419576645,
0.08379770815372467,
-0.022217368707060814,
-0.0025264215655624866,
-0.04375345632433891,
0.014193379320204258,
0.029049115255475044,
-0.011165458709001541,
-0.02168748341500759,
-0.021990275010466576,
-0.017864733934402466,
-0.0621480755507946,
-0.0239205751568079,
-0.05075552314519882,
0.0033046917524188757,
-0.007290665991604328,
0.02901126630604267,
0.03239875286817551,
-0.001983524765819311,
0.04375345632433891,
0.021384691819548607,
-0.0363350510597229,
0.04939296096563339,
0.023844877257943153,
0.036032259464263916,
0.01990857906639576,
-0.049052316695451736,
-0.04155821353197098,
-0.008199041709303856,
0.013218767009675503,
-0.009202040731906891,
0.0016227763844653964,
0.025037121027708054,
-0.013795964419841766,
-0.0010686431778594851,
0.05821177735924721,
-0.02566162869334221,
-0.038908783346414566,
-0.010966750793159008,
0.060293473303318024,
-0.01499767042696476,
-0.0416717603802681,
-0.03449937328696251,
-0.019227297976613045,
0.017476780340075493,
-0.014070370234549046,
-0.005876059178262949,
-0.00934397429227829,
0.03510495647788048,
-0.05847672373056412,
0.02842460758984089,
0.0760386660695076,
0.0055543421767652035,
0.013322851620614529
] |
5,669 | wordcloud.wordcloud | WordCloud | Word cloud object for generating and drawing.
Parameters
----------
font_path : string
Font path to the font that will be used (OTF or TTF).
Defaults to DroidSansMono path on a Linux machine. If you are on
another OS or don't have this font, you need to adjust this path.
width : int (default=400)
Width of the canvas.
height : int (default=200)
Height of the canvas.
prefer_horizontal : float (default=0.90)
The ratio of times to try horizontal fitting as opposed to vertical.
If prefer_horizontal < 1, the algorithm will try rotating the word
if it doesn't fit. (There is currently no built-in way to get only
vertical words.)
mask : nd-array or None (default=None)
If not None, gives a binary mask on where to draw words. If mask is not
None, width and height will be ignored and the shape of mask will be
used instead. All white (#FF or #FFFFFF) entries will be considerd
"masked out" while other entries will be free to draw on. [This
changed in the most recent version!]
contour_width: float (default=0)
If mask is not None and contour_width > 0, draw the mask contour.
contour_color: color value (default="black")
Mask contour color.
scale : float (default=1)
Scaling between computation and drawing. For large word-cloud images,
using scale instead of larger canvas size is significantly faster, but
might lead to a coarser fit for the words.
min_font_size : int (default=4)
Smallest font size to use. Will stop when there is no more room in this
size.
font_step : int (default=1)
Step size for the font. font_step > 1 might speed up computation but
give a worse fit.
max_words : number (default=200)
The maximum number of words.
stopwords : set of strings or None
The words that will be eliminated. If None, the build-in STOPWORDS
list will be used. Ignored if using generate_from_frequencies.
background_color : color value (default="black")
Background color for the word cloud image.
max_font_size : int or None (default=None)
Maximum font size for the largest word. If None, height of the image is
used.
mode : string (default="RGB")
Transparent background will be generated when mode is "RGBA" and
background_color is None.
relative_scaling : float (default='auto')
Importance of relative word frequencies for font-size. With
relative_scaling=0, only word-ranks are considered. With
relative_scaling=1, a word that is twice as frequent will have twice
the size. If you want to consider the word frequencies and not only
their rank, relative_scaling around .5 often looks good.
If 'auto' it will be set to 0.5 unless repeat is true, in which
case it will be set to 0.
.. versionchanged: 2.0
Default is now 'auto'.
color_func : callable, default=None
Callable with parameters word, font_size, position, orientation,
font_path, random_state that returns a PIL color for each word.
Overwrites "colormap".
See colormap for specifying a matplotlib colormap instead.
To create a word cloud with a single color, use
``color_func=lambda *args, **kwargs: "white"``.
The single color can also be specified using RGB code. For example
``color_func=lambda *args, **kwargs: (255,0,0)`` sets color to red.
regexp : string or None (optional)
Regular expression to split the input text into tokens in process_text.
If None is specified, ``r"\w[\w']+"`` is used. Ignored if using
generate_from_frequencies.
collocations : bool, default=True
Whether to include collocations (bigrams) of two words. Ignored if using
generate_from_frequencies.
.. versionadded: 2.0
colormap : string or matplotlib colormap, default="viridis"
Matplotlib colormap to randomly draw colors from for each word.
Ignored if "color_func" is specified.
.. versionadded: 2.0
normalize_plurals : bool, default=True
Whether to remove trailing 's' from words. If True and a word
appears with and without a trailing 's', the one with trailing 's'
is removed and its counts are added to the version without
trailing 's' -- unless the word ends with 'ss'. Ignored if using
generate_from_frequencies.
repeat : bool, default=False
Whether to repeat words and phrases until max_words or min_font_size
is reached.
include_numbers : bool, default=False
Whether to include numbers as phrases or not.
min_word_length : int, default=0
Minimum number of letters a word must have to be included.
collocation_threshold: int, default=30
Bigrams must have a Dunning likelihood collocation score greater than this
parameter to be counted as bigrams. Default of 30 is arbitrary.
See Manning, C.D., Manning, C.D. and Schütze, H., 1999. Foundations of
Statistical Natural Language Processing. MIT press, p. 162
https://nlp.stanford.edu/fsnlp/promo/colloc.pdf#page=22
Attributes
----------
``words_`` : dict of string to float
Word tokens with associated frequency.
.. versionchanged: 2.0
``words_`` is now a dictionary
``layout_`` : list of tuples ((string, float), int, (int, int), int, color))
Encodes the fitted word cloud. For each word, it encodes the string,
normalized frequency, font size, position, orientation, and color.
The frequencies are normalized by the most commonly occurring word.
The color is in the format of 'rgb(R, G, B).'
Notes
-----
Larger canvases make the code significantly slower. If you need a
large word cloud, try a lower canvas size, and set the scale parameter.
The algorithm might give more weight to the ranking of the words
than their actual frequencies, depending on the ``max_font_size`` and the
scaling heuristic.
| class WordCloud(object):
r"""Word cloud object for generating and drawing.
Parameters
----------
font_path : string
Font path to the font that will be used (OTF or TTF).
Defaults to DroidSansMono path on a Linux machine. If you are on
another OS or don't have this font, you need to adjust this path.
width : int (default=400)
Width of the canvas.
height : int (default=200)
Height of the canvas.
prefer_horizontal : float (default=0.90)
The ratio of times to try horizontal fitting as opposed to vertical.
If prefer_horizontal < 1, the algorithm will try rotating the word
if it doesn't fit. (There is currently no built-in way to get only
vertical words.)
mask : nd-array or None (default=None)
If not None, gives a binary mask on where to draw words. If mask is not
None, width and height will be ignored and the shape of mask will be
used instead. All white (#FF or #FFFFFF) entries will be considerd
"masked out" while other entries will be free to draw on. [This
changed in the most recent version!]
contour_width: float (default=0)
If mask is not None and contour_width > 0, draw the mask contour.
contour_color: color value (default="black")
Mask contour color.
scale : float (default=1)
Scaling between computation and drawing. For large word-cloud images,
using scale instead of larger canvas size is significantly faster, but
might lead to a coarser fit for the words.
min_font_size : int (default=4)
Smallest font size to use. Will stop when there is no more room in this
size.
font_step : int (default=1)
Step size for the font. font_step > 1 might speed up computation but
give a worse fit.
max_words : number (default=200)
The maximum number of words.
stopwords : set of strings or None
The words that will be eliminated. If None, the build-in STOPWORDS
list will be used. Ignored if using generate_from_frequencies.
background_color : color value (default="black")
Background color for the word cloud image.
max_font_size : int or None (default=None)
Maximum font size for the largest word. If None, height of the image is
used.
mode : string (default="RGB")
Transparent background will be generated when mode is "RGBA" and
background_color is None.
relative_scaling : float (default='auto')
Importance of relative word frequencies for font-size. With
relative_scaling=0, only word-ranks are considered. With
relative_scaling=1, a word that is twice as frequent will have twice
the size. If you want to consider the word frequencies and not only
their rank, relative_scaling around .5 often looks good.
If 'auto' it will be set to 0.5 unless repeat is true, in which
case it will be set to 0.
.. versionchanged: 2.0
Default is now 'auto'.
color_func : callable, default=None
Callable with parameters word, font_size, position, orientation,
font_path, random_state that returns a PIL color for each word.
Overwrites "colormap".
See colormap for specifying a matplotlib colormap instead.
To create a word cloud with a single color, use
``color_func=lambda *args, **kwargs: "white"``.
The single color can also be specified using RGB code. For example
``color_func=lambda *args, **kwargs: (255,0,0)`` sets color to red.
regexp : string or None (optional)
Regular expression to split the input text into tokens in process_text.
If None is specified, ``r"\w[\w']+"`` is used. Ignored if using
generate_from_frequencies.
collocations : bool, default=True
Whether to include collocations (bigrams) of two words. Ignored if using
generate_from_frequencies.
.. versionadded: 2.0
colormap : string or matplotlib colormap, default="viridis"
Matplotlib colormap to randomly draw colors from for each word.
Ignored if "color_func" is specified.
.. versionadded: 2.0
normalize_plurals : bool, default=True
Whether to remove trailing 's' from words. If True and a word
appears with and without a trailing 's', the one with trailing 's'
is removed and its counts are added to the version without
trailing 's' -- unless the word ends with 'ss'. Ignored if using
generate_from_frequencies.
repeat : bool, default=False
Whether to repeat words and phrases until max_words or min_font_size
is reached.
include_numbers : bool, default=False
Whether to include numbers as phrases or not.
min_word_length : int, default=0
Minimum number of letters a word must have to be included.
collocation_threshold: int, default=30
Bigrams must have a Dunning likelihood collocation score greater than this
parameter to be counted as bigrams. Default of 30 is arbitrary.
See Manning, C.D., Manning, C.D. and Schütze, H., 1999. Foundations of
Statistical Natural Language Processing. MIT press, p. 162
https://nlp.stanford.edu/fsnlp/promo/colloc.pdf#page=22
Attributes
----------
``words_`` : dict of string to float
Word tokens with associated frequency.
.. versionchanged: 2.0
``words_`` is now a dictionary
``layout_`` : list of tuples ((string, float), int, (int, int), int, color))
Encodes the fitted word cloud. For each word, it encodes the string,
normalized frequency, font size, position, orientation, and color.
The frequencies are normalized by the most commonly occurring word.
The color is in the format of 'rgb(R, G, B).'
Notes
-----
Larger canvases make the code significantly slower. If you need a
large word cloud, try a lower canvas size, and set the scale parameter.
The algorithm might give more weight to the ranking of the words
than their actual frequencies, depending on the ``max_font_size`` and the
scaling heuristic.
"""
def __init__(self, font_path=None, width=400, height=200, margin=2,
ranks_only=None, prefer_horizontal=.9, mask=None, scale=1,
color_func=None, max_words=200, min_font_size=4,
stopwords=None, random_state=None, background_color='black',
max_font_size=None, font_step=1, mode="RGB",
relative_scaling='auto', regexp=None, collocations=True,
colormap=None, normalize_plurals=True, contour_width=0,
contour_color='black', repeat=False,
include_numbers=False, min_word_length=0, collocation_threshold=30):
if font_path is None:
font_path = FONT_PATH
if color_func is None and colormap is None:
version = matplotlib.__version__
if version[0] < "2" and version[2] < "5":
colormap = "hsv"
else:
colormap = "viridis"
self.colormap = colormap
self.collocations = collocations
self.font_path = font_path
self.width = width
self.height = height
self.margin = margin
self.prefer_horizontal = prefer_horizontal
self.mask = mask
self.contour_color = contour_color
self.contour_width = contour_width
self.scale = scale
self.color_func = color_func or colormap_color_func(colormap)
self.max_words = max_words
self.stopwords = stopwords if stopwords is not None else STOPWORDS
self.min_font_size = min_font_size
self.font_step = font_step
self.regexp = regexp
if isinstance(random_state, int):
random_state = Random(random_state)
self.random_state = random_state
self.background_color = background_color
self.max_font_size = max_font_size
self.mode = mode
if relative_scaling == "auto":
if repeat:
| (font_path=None, width=400, height=200, margin=2, ranks_only=None, prefer_horizontal=0.9, mask=None, scale=1, color_func=None, max_words=200, min_font_size=4, stopwords=None, random_state=None, background_color='black', max_font_size=None, font_step=1, mode='RGB', relative_scaling='auto', regexp=None, collocations=True, colormap=None, normalize_plurals=True, contour_width=0, contour_color='black', repeat=False, include_numbers=False, min_word_length=0, collocation_threshold=30) | [
0.05154300853610039,
-0.0597565583884716,
-0.031068649142980576,
0.013322221115231514,
0.04305170476436615,
0.0063387188129127026,
-0.049717776477336884,
0.00661647180095315,
0.04654345661401749,
0.01457210909575224,
-0.009126167744398117,
0.020573556423187256,
-0.004364688880741596,
-0.05820908024907112,
-0.005138429347425699,
0.022200394421815872,
-0.021982161328196526,
0.015147455036640167,
-0.006100644823163748,
-0.024541456252336502,
0.021724248304963112,
-0.020047809928655624,
0.027180109173059464,
0.013649572618305683,
0.029521169140934944,
-0.04944002255797386,
-0.0149391395971179,
0.0023385805543512106,
-0.029699724167585373,
-0.014522510580718517,
-0.03868701681494713,
-0.02882678620517254,
-0.006626391317695379,
-0.020008131861686707,
0.00045630839304067194,
-0.06062949821352959,
0.07693756371736526,
-0.009522957727313042,
0.02224007435142994,
-0.07193800806999207,
-0.04289298877120018,
0.00978087168186903,
-0.0019231911282986403,
-0.007737403269857168,
0.03642531484365463,
0.05416182056069374,
-0.005083870608359575,
0.018262255936861038,
-0.07340613007545471,
-0.0495193786919117,
0.009408880956470966,
-0.10459382086992264,
-0.01423483807593584,
0.014998658560216427,
-0.02065291441977024,
-0.00367526663467288,
-0.03785375878214836,
0.021843284368515015,
0.0017644751351326704,
-0.04654345661401749,
0.013510696589946747,
-0.008734337985515594,
0.05416182056069374,
0.0024241383653134108,
-0.04388496279716492,
0.03219950199127197,
0.07955637574195862,
0.023668518289923668,
0.02940213307738304,
0.014066202566027641,
-0.014016603119671345,
-0.004496125504374504,
0.04209940880537033,
-0.03140592202544212,
-0.030096514150500298,
-0.011328351683914661,
-0.008744257502257824,
0.0011463508708402514,
0.029382292181253433,
-0.01339165959507227,
-0.03243757411837578,
0.08935708552598953,
0.06527193635702133,
-0.03942107781767845,
0.0863414853811264,
-0.03761568292975426,
0.0020608275663107634,
0.04916226863861084,
0.02283525839447975,
-0.021367136389017105,
-0.022597184404730797,
0.0007055420428514481,
0.06281184405088425,
0.027795132249593735,
-0.021545691415667534,
-0.03991706296801567,
0.004002618137747049,
-0.030909933149814606,
0.04666249454021454,
0.01949230395257473,
-0.016556058079004288,
0.00816891249269247,
0.019412945955991745,
0.0016156788915395737,
0.025553269311785698,
-0.05114622041583061,
-0.048448048532009125,
-0.009026970714330673,
0.00587249081581831,
0.037476807832717896,
-0.017339719459414482,
-0.020414840430021286,
0.07249351590871811,
0.010832364670932293,
0.0086896987631917,
-0.05007488653063774,
-0.07832632958889008,
-0.00736045278608799,
-0.026664281263947487,
0.031703513115644455,
-0.03831006586551666,
-0.06646230816841125,
-0.00803003553301096,
-0.024184344336390495,
-0.02347012236714363,
0.009587435983121395,
-0.004952433984726667,
0.04325009882450104,
0.04364689067006111,
0.023985950276255608,
-0.039063967764377594,
-0.023728037253022194,
0.016962768509984016,
-0.017756348475813866,
0.03708001598715782,
-0.019730377942323685,
0.048765480518341064,
0.026822997257113457,
-0.040750324726104736,
0.06800979375839233,
0.057375822216272354,
0.014859781600534916,
0.021922642365098,
0.020434679463505745,
-0.041385188698768616,
0.031108329072594643,
-0.01885743997991085,
-0.06594648212194443,
-0.03507622703909874,
0.03854813799262047,
-0.013103987090289593,
0.00022179936058819294,
0.039044126868247986,
-0.004034857265651226,
0.0012746875872835517,
-0.046860888600349426,
0.01901615597307682,
-0.01854000799357891,
-0.0025382153689861298,
0.06400220841169357,
0.03164399415254593,
0.009379121474921703,
-0.03916316479444504,
0.010415734723210335,
0.0005133469239808619,
0.027834812179207802,
0.06193890422582626,
-0.02940213307738304,
-0.01824241690337658,
0.00451596500352025,
-0.013520616106688976,
-0.016933009028434753,
-0.03116784803569317,
0.0386274978518486,
-0.03836958482861519,
0.06606552004814148,
-0.02912437915802002,
0.03979802876710892,
0.0015090416418388486,
0.04856708645820618,
-0.013996764086186886,
-0.0006522234180010855,
-0.06015335023403168,
-0.005991527810692787,
0.019393106922507286,
0.03711969405412674,
0.03666338697075844,
0.03737761080265045,
-0.002990803914144635,
0.02114890143275261,
-0.008436745032668114,
-0.04539276659488678,
0.041226472705602646,
-0.014482831582427025,
0.0377148799598217,
0.030632181093096733,
-0.004364688880741596,
-0.048289332538843155,
0.01949230395257473,
-0.03303276002407074,
-0.011824339628219604,
-0.006398237310349941,
0.049043234437704086,
-0.020008131861686707,
-0.0037571045104414225,
-0.001093032187782228,
-0.021922642365098,
0.061105646193027496,
-0.06888272613286972,
0.016913169994950294,
-0.01753811351954937,
-0.07646141201257706,
0.024640653282403946,
0.05467765033245087,
0.03553253784775734,
-0.08570662140846252,
-0.01617910899221897,
0.010534771718084812,
-0.05443957448005676,
-0.0014854822074994445,
0.03083057515323162,
0.06209762021899223,
0.007023181300610304,
-0.054241180419921875,
-0.012717116624116898,
-0.023827234283089638,
0.04146454483270645,
0.007806841284036636,
0.04007577896118164,
-0.045313406735658646,
0.022497987374663353,
-0.04713864251971245,
-0.014849862083792686,
0.04082968086004257,
0.04928130656480789,
-0.11848146468400955,
0.03596900403499603,
0.03944091498851776,
0.06396253407001495,
-0.0406709648668766,
0.027457861229777336,
-0.012826234102249146,
0.016565978527069092,
0.0029833640437573195,
-0.01901615597307682,
0.05249530449509621,
0.034064412117004395,
0.02662460319697857,
0.0215853713452816,
-0.026644442230463028,
-0.06217698007822037,
-0.04269459471106529,
-0.027497541159391403,
-0.030136194080114365,
0.01012310292571783,
-0.05559026449918747,
-0.015157374553382397,
-0.00814411323517561,
0.025473911315202713,
-0.0037992633879184723,
0.0009665554389357567,
0.07673916965723038,
0.04166293889284134,
0.136337012052536,
0.05059071257710457,
0.0034198330249637365,
0.014304276555776596,
0.026684122160077095,
-0.08034995943307877,
0.006482555065304041,
-0.04209940880537033,
0.0620182640850544,
0.015068097040057182,
0.002705611288547516,
-0.03035442717373371,
0.008545862510800362,
0.02271622233092785,
0.036861781030893326,
0.017369478940963745,
0.07348549365997314,
0.027457861229777336,
-0.007400131784379482,
-0.01885743997991085,
-0.06991437822580338,
0.05765357241034508,
0.005292185582220554,
-0.05848683416843414,
-0.0029238455463200808,
0.003895981004461646,
-0.03626659885048866,
0.005192988086491823,
-0.003176799276843667,
0.058010686188936234,
-0.0030007236637175083,
0.002478696871548891,
0.014949060045182705,
0.012429444119334221,
-0.009696553461253643,
-0.05007488653063774,
-0.02347012236714363,
0.004208452999591827,
0.014641547575592995,
0.0629308819770813,
0.023132851347327232,
-0.010187581181526184,
0.03823070600628853,
0.008734337985515594,
-0.02614845521748066,
0.05729646235704422,
-0.03037426806986332,
-0.038746535778045654,
-0.03868701681494713,
0.0297592431306839,
0.04444047063589096,
-0.03198126703500748,
0.04321042075753212,
0.05380471050739288,
-0.016714774072170258,
0.010703408159315586,
0.05146365240216255,
-0.011407709680497646,
-0.06297055631875992,
-0.036246757954359055,
-0.02662460319697857,
0.037020497024059296,
-0.05713774636387825,
0.04995584860444069,
-0.005272346083074808,
0.06808914989233017,
-0.017002448439598083,
0.018440810963511467,
-0.010376055724918842,
-0.019283989444375038,
-0.00023326906375586987,
-0.012826234102249146,
-0.07868343591690063,
0.011943376623094082,
0.026882516220211983,
0.03694114089012146,
-0.08903965353965759,
0.01409596111625433,
0.03807199001312256,
-0.07840568572282791,
0.018351532518863678,
0.03559205308556557,
0.022319432348012924,
0.04987649247050285,
-0.04253587871789932,
0.045313406735658646,
-0.014859781600534916,
0.04336913675069809,
-0.03934171795845032,
-0.01751827448606491,
0.03910364583134651,
0.011913617141544819,
-0.02489856630563736,
-0.012508802115917206,
-0.03600868582725525,
0.005738574080169201,
-0.030771058052778244,
-0.060193028301000595,
0.009374161250889301,
-0.02676348015666008,
0.0447579026222229,
-0.0163576640188694,
0.040452729910612106,
-0.05090814456343651,
0.007018221542239189,
-0.030017156153917313,
-0.023569321259856224,
0.07582654803991318,
-0.020434679463505745,
-0.03212014213204384,
0.010266939178109169,
0.03642531484365463,
-0.03713953495025635,
-0.04041305184364319,
0.029957637190818787,
-0.0022493028081953526,
0.0358896479010582,
0.001707436516880989,
0.05765357241034508,
0.007821721024811268,
0.007568767294287682,
0.006229601334780455,
-0.016714774072170258,
-0.04872580245137215,
-0.03021555207669735,
0.014066202566027641,
-0.01972045749425888,
-0.04654345661401749,
-0.0034570321440696716,
-0.012627839110791683,
0.0076481252908706665,
0.01307422760874033,
0.020295804366469383,
-0.033409710973501205,
0.020315643399953842,
0.006680950056761503,
0.025414394214749336,
0.005545138847082853,
-0.0030999211594462395,
-0.08499240130186081,
0.0331716351211071,
-0.034977030009031296,
0.04789254069328308,
0.006914064288139343,
0.05622512847185135,
0.009751112200319767,
0.10499060899019241,
0.010574450716376305,
-0.019978372380137444,
-0.0030007236637175083,
-0.01683381199836731,
-0.07273159176111221,
-0.03636579588055611,
-0.03507622703909874,
0.017984502017498016,
-0.014373714104294777,
0.014691146090626717,
0.011645783670246601,
0.021228259429335594,
0.08800800144672394,
0.0060808053240180016,
0.0007886199164204299,
0.008154032751917839,
-0.024858888238668442,
-0.044400788843631744,
0.00711741903796792,
-0.061423078179359436,
-0.07737403362989426,
-0.03160431608557701,
-0.03085041604936123,
-0.022438468411564827,
-0.030175872147083282,
-0.0071372585371136665,
-0.023430444300174713,
0.007077740039676428,
-0.030890094116330147,
-0.06574808806180954,
0.03251693397760391,
-0.06685909628868103,
0.014343955554068089,
0.02630717121064663,
0.01708180643618107,
0.030175872147083282,
-0.04614666476845741,
-0.015683121979236603,
-0.004290291108191013,
-0.021644890308380127,
0.041385188698768616,
0.06273248791694641,
-0.012052493169903755,
0.016476700082421303,
0.06618455797433853,
-0.019918853417038918,
-0.0073654125444591045,
-0.02099018543958664,
0.04824965447187424,
0.008570661768317223,
0.0034545520320534706,
0.011536666192114353,
-0.004223332740366459,
-0.00451596500352025,
-0.024303382262587547,
-0.012191370129585266,
0.002730410546064377,
0.014929220080375671,
0.003786863759160042,
-0.023450283333659172,
0.041107434779405594,
-0.010455413721501827,
0.010762926191091537,
-0.05146365240216255,
-0.01949230395257473,
0.005108669865876436,
-0.037794239819049835,
0.03019571118056774,
0.017954742535948753,
-0.020395001396536827,
0.03959963098168373,
-0.0322590209543705,
-0.023847073316574097,
-0.052812736481428146,
-0.023747876286506653,
-0.011546586640179157,
0.0036132680252194405,
-0.026525406166911125,
0.04245651885867119,
0.004885475616902113,
-0.048765480518341064,
0.03866717591881752,
0.03192174807190895,
-0.03257645294070244,
-0.06039142236113548,
-0.0006460235454142094,
-0.014502671547234058,
0.006209761835634708,
-0.010058623738586903,
-0.00919064600020647,
-0.0318027101457119,
-0.0033776741474866867,
-0.017845626920461655,
-0.011487067677080631,
0.052971452474594116,
-0.031247206032276154,
0.008471464738249779,
0.039381399750709534,
0.01557400356978178,
-0.031247206032276154,
-0.05749485641717911,
-0.07078731805086136,
0.04551180079579353,
-0.07868343591690063,
0.03539365902543068,
-0.03142575919628143,
-0.06626391410827637,
-0.008084594272077084,
-0.021506013348698616,
-0.027914170175790787,
-0.03985754773020744,
0.07300934195518494,
-0.034500882029533386,
-0.013659492135047913,
0.02144649438560009,
0.02533503621816635,
0.02114890143275261,
-0.055471230298280716,
0.03823070600628853,
0.03166383504867554,
0.010772845707833767,
-0.02239879034459591,
0.016843732446432114,
0.007772122509777546,
0.06324831396341324,
0.0058228918351233006,
-0.030453626066446304,
-0.07221576571464539,
0.05555058643221855,
0.019760137423872948,
-0.00645775580778718,
-0.01345117762684822,
0.02283525839447975,
-0.05781228840351105,
-0.0059568085707724094,
0.027596738189458847,
0.05559026449918747,
-0.023351086303591728,
0.011020840145647526,
0.024481937289237976,
0.03344938904047012,
-0.00016584577679168433,
-0.034679438918828964,
0.0077522830106318,
0.034520722925662994,
0.03579045087099075,
0.01697268895804882,
0.004382048733532429,
0.03194158896803856,
-0.010693487711250782,
-0.023688357323408127,
-0.01940302737057209,
-0.0006956222932785749,
-0.036703065037727356,
0.0005799952195957303,
0.046424418687820435,
-0.06777171790599823,
0.04086935892701149,
-0.0343024879693985,
-0.0495193786919117,
0.06463707238435745,
0.015147455036640167,
-0.0037819037679582834,
-0.00587249081581831,
-0.01970061846077442,
0.054717328399419785,
0.009765991941094398,
-0.012181450612843037,
0.007811801508069038,
-0.04678152874112129,
-0.004724279977381229,
0.030453626066446304,
0.034381844103336334,
-0.026584923267364502,
0.02049419842660427,
-0.0035884687677025795,
0.02019660547375679,
0.009899907745420933,
-0.030711539089679718,
-0.04162326082587242,
0.02271622233092785,
0.004756519105285406,
0.05935977026820183,
-0.042337484657764435,
-0.058962978422641754,
0.030116353183984756,
0.026565084233880043,
0.0236288383603096,
0.017915064468979836,
-0.006735508795827627,
-0.036524511873722076,
0.003360314527526498,
-0.08523046970367432,
0.02287493832409382,
0.010455413721501827,
0.026485726237297058,
0.064518041908741,
-0.0107926856726408,
0.054399896413087845,
-0.05622512847185135,
-0.04777350649237633,
-0.019293909892439842,
-0.032179661095142365,
-0.049082912504673004,
0.020256124436855316,
-0.036564189940690994,
-0.009746151976287365,
0.008431785739958286,
0.07007309794425964,
-0.001583439763635397,
0.05618545040488243,
-0.012181450612843037,
0.0041018156334757805,
0.004196053370833397,
0.008446665480732918,
0.010187581181526184,
-0.026525406166911125,
-0.02507712133228779,
-0.04213908687233925,
0.014324115589261055,
-0.003166879527270794,
0.0037546243984252214,
0.00307016191072762,
-0.034977030009031296,
-0.02110922336578369,
0.11118052899837494,
-0.03473895788192749,
-0.0006584232323803008,
0.010187581181526184,
0.01803410053253174,
0.03614756092429161,
0.03882589191198349,
0.04071064293384552,
0.019918853417038918,
-0.027616577222943306,
0.009597355499863625,
0.03825054690241814,
-0.022002000361680984,
0.04404367879033089,
0.014740744605660439,
-0.04146454483270645,
0.015752559527754784,
0.0176075529307127,
-0.04872580245137215,
-0.026743639260530472,
-0.009274964220821857,
-0.026743639260530472,
-0.0495193786919117,
-0.011060518212616444,
-0.019135193899273872,
0.003948059398680925,
0.01817297749221325,
0.01583191752433777,
-0.04019481688737869,
0.020067648962140083,
-0.032040785998106,
0.07138250768184662,
0.027914170175790787,
0.02024620585143566,
0.008719458244740963,
-0.01774642802774906,
0.015554164536297321,
0.0021637449972331524,
-0.005961768329143524,
-0.00018739023653324693,
0.06721621006727219,
0.017141323536634445,
-0.00037881036405451596,
0.047535430639982224,
-0.0076530855149030685,
0.03344938904047012,
0.04098839685320854,
-0.047337036579847336,
0.042654916644096375,
-0.017478594556450844,
0.0704302117228508,
-0.031207526102662086,
-0.03977818787097931,
0.0027700895443558693,
0.010991080664098263,
-0.02303365431725979,
0.05102718248963356,
0.022577345371246338,
-0.03698081895709038,
0.023985950276255608,
0.033885858952999115,
-0.05102718248963356,
-0.048448048532009125,
0.06705749779939651,
-0.037655360996723175,
0.024839047342538834,
0.0016999967629089952,
-0.03565157204866409,
-0.004243172239512205,
-0.02110922336578369,
0.0071918172761797905,
-0.02898550219833851,
0.014849862083792686,
-0.0019281510030850768,
0.008064755238592625,
0.047495752573013306,
0.023549480363726616,
0.02549375221133232,
0.022299593314528465,
-0.006804946810007095,
-0.03164399415254593,
0.0010868323734030128,
0.018956637009978294,
0.042337484657764435,
-0.0352151058614254,
0.04321042075753212,
0.05935977026820183,
-0.03253677114844322,
0.003752144519239664,
-0.04944002255797386,
0.001676437328569591,
-0.03382633998990059,
-0.017458755522966385,
-0.025612788274884224,
-0.06979534775018692,
-0.0010260739363729954,
-0.0047937179915606976,
-0.011824339628219604,
0.0586058683693409,
-0.06947791576385498,
0.017349638044834137,
0.07193800806999207,
-0.050789106637239456,
-0.03948059678077698,
0.010376055724918842,
-0.04729735851287842,
-0.03471911698579788,
-0.08642084151506424,
0.055947378277778625,
-0.016327904537320137,
0.01713140495121479,
0.023351086303591728,
0.026267491281032562,
0.006209761835634708,
0.0513446144759655,
0.05812972038984299,
0.00778700178489089,
-0.01755795255303383,
0.018430890515446663,
-0.012409604154527187,
-0.003610788146033883,
0.036524511873722076,
-0.04277395084500313,
0.010822445154190063,
-0.05261434242129326,
0.011080358177423477,
-0.09499150514602661,
-0.027636416256427765,
0.028390318155288696,
0.03557221591472626,
0.062216658145189285,
0.010147902183234692,
0.06523226201534271
] |
5,670 | wordcloud.wordcloud | __array__ | Convert to numpy array.
Returns
-------
image : nd-array size (width, height, 3)
Word cloud image as numpy matrix.
| def __array__(self):
"""Convert to numpy array.
Returns
-------
image : nd-array size (width, height, 3)
Word cloud image as numpy matrix.
"""
return self.to_array()
| (self) | [
-0.022392118349671364,
-0.03672030568122864,
-0.022824732586741447,
0.015513550490140915,
-0.006450279615819454,
0.02263438142836094,
-0.05381722375750542,
0.012848645448684692,
0.08991456031799316,
0.01868893951177597,
0.03941981866955757,
-0.013930181972682476,
-0.0176506657153368,
-0.005213002674281597,
0.00906759686768055,
-0.007099201437085867,
0.005459592677652836,
0.0018029202474281192,
-0.02953890711069107,
0.064788319170475,
-0.02668365277349949,
-0.03493793308734894,
0.04800288751721382,
0.0178064052015543,
0.044161271303892136,
0.009257947094738483,
0.034834105521440506,
-0.04097722843289375,
-0.004304512403905392,
-0.022651687264442444,
-0.08243899047374725,
-0.010754792019724846,
0.06291943043470383,
0.09642108529806137,
0.05606681853532791,
-0.006523824296891689,
0.049629516899585724,
0.00975112710148096,
-0.0550631508231163,
0.009110857732594013,
-0.030127262696623802,
-0.06371543556451797,
-0.02805071324110031,
-0.02953890711069107,
0.026839394122362137,
-0.010599051602184772,
0.0404927022755146,
-0.04900655150413513,
-0.09074518084526062,
-0.01820441149175167,
0.007267920766025782,
-0.025333896279335022,
0.01924268528819084,
0.00019440606411080807,
-0.04478423669934273,
0.06060061603784561,
0.011299886740744114,
0.03838154301047325,
-0.007795710116624832,
0.03440149128437042,
-0.01991756446659565,
-0.042050112038850784,
0.08444631844758987,
-0.035647422075271606,
0.002725470345467329,
0.04066574573516846,
0.015106892213225365,
0.04845280572772026,
0.021976808086037636,
0.04357291758060455,
-0.03341513127088547,
0.01593751274049282,
0.025628073140978813,
-0.00819371547549963,
-0.04855663329362869,
0.040077392011880875,
-0.01753818430006504,
0.04333065077662468,
0.008388391695916653,
0.021457670256495476,
-0.03990434482693672,
0.08735348284244537,
0.04395361617207527,
0.02782575413584709,
0.07004891335964203,
-0.06741861999034882,
-0.01387826818972826,
0.04087340086698532,
-0.0696336030960083,
0.008267260156571865,
0.005900859367102385,
0.02742774970829487,
0.011230668053030968,
0.04246542230248451,
-0.008029322139918804,
-0.009768432006239891,
-0.0072982036508619785,
-0.01832554303109646,
0.022426726296544075,
0.012173767201602459,
-0.03613194823265076,
0.017737187445163727,
0.08818410336971283,
0.009015683084726334,
-0.02367265708744526,
-0.017590098083019257,
-0.020488614216446877,
-0.004568407312035561,
-0.009768432006239891,
0.03630499541759491,
0.016690261662006378,
0.036097340285778046,
0.03184041380882263,
0.0286563728004694,
0.02085201069712639,
-0.08146993070840836,
-0.010114523582160473,
0.017036352306604385,
-0.03339782729744911,
0.030404135584831238,
-0.015167458914220333,
-0.007864928804337978,
-0.0013508382253348827,
0.009655951522290707,
-0.021301930770277977,
0.03414192423224449,
-0.001628792961128056,
0.0019132369197905064,
-0.006856937427073717,
-0.017295921221375465,
-0.08596912026405334,
-0.045614857226610184,
-0.05707048252224922,
-0.039627473801374435,
0.05198293924331665,
-0.05454401671886444,
0.10811897367238998,
-0.07184858620166779,
-0.006991047877818346,
0.028933247551321983,
0.016785435378551483,
0.03980051726102829,
0.06291943043470383,
0.024866672232747078,
-0.0004661419370677322,
0.03102710098028183,
0.06554972380399704,
0.017642011865973473,
0.006830980535596609,
-0.04087340086698532,
-0.04959490895271301,
0.014068618416786194,
0.08818410336971283,
-0.011940156109631062,
0.012095896527171135,
-0.038139279931783676,
0.02062705159187317,
-0.05762422829866409,
0.04094262048602104,
0.030386831611394882,
-0.03980051726102829,
0.020038696005940437,
-0.08756113797426224,
-0.036028120666742325,
-0.011637325398623943,
0.021786458790302277,
0.02564537711441517,
-0.03504176065325737,
-0.061188969761133194,
-0.0031191492453217506,
-0.03976590931415558,
-0.03242877125740051,
-0.06641495227813721,
-0.003315988928079605,
-0.000009083210898097605,
0.06579198688268661,
-0.006856937427073717,
0.09496749937534332,
0.032567206770181656,
0.06489215046167374,
-0.003564742160961032,
0.012087244540452957,
-0.03827771544456482,
0.00034446915378794074,
0.009820345789194107,
0.002405335661023855,
0.05059857293963432,
0.03578585758805275,
-0.003084540134295821,
0.02088662050664425,
0.060185305774211884,
0.03748170658946037,
0.005745118483901024,
0.008016343228518963,
0.05298660323023796,
-0.04153097793459892,
-0.051152318716049194,
0.020557833835482597,
-0.005420657806098461,
0.052190594375133514,
-0.0062166680581867695,
-0.005083218216896057,
0.025281982496380806,
-0.006394039839506149,
-0.002967734355479479,
0.0047544315457344055,
-0.025662682950496674,
-0.02137114852666855,
-0.044576581567525864,
0.016967134550213814,
0.02419179305434227,
-0.015747161582112312,
0.008085561916232109,
-0.02490128204226494,
0.06066983565688133,
-0.0829235166311264,
0.011620021425187588,
0.00929255597293377,
-0.037620142102241516,
0.009846302680671215,
0.028033409267663956,
0.04990638792514801,
-0.03948903828859329,
-0.05786649510264397,
-0.052675120532512665,
-0.011758457869291306,
-0.00312996469438076,
0.008128823712468147,
-0.03280946984887123,
-0.0463070385158062,
-0.023914920166134834,
-0.02147497609257698,
-0.016768131405115128,
-0.007203028537333012,
0.09939747303724289,
-0.005641290917992592,
0.027618099004030228,
0.012831341475248337,
0.04388439655303955,
0.0010782912140712142,
0.0012913538375869393,
-0.034436099231243134,
-0.003084540134295821,
0.027877667918801308,
-0.0226689912378788,
0.030006131157279015,
-0.012900559231638908,
0.045199546962976456,
0.01868893951177597,
-0.021388452500104904,
-0.03938521072268486,
-0.06662260740995407,
0.013895572163164616,
0.014561798423528671,
0.045649465173482895,
-0.05918164178729057,
0.0002995854301843792,
-0.03277486190199852,
0.033726613968610764,
-0.0074409665539860725,
0.024624407291412354,
0.013367783278226852,
0.08077774941921234,
0.05693204700946808,
-0.0032467704731971025,
0.03163275867700577,
0.02552424557507038,
0.06146584451198578,
-0.006774740293622017,
0.039592862129211426,
0.03848537057638168,
0.06513441354036331,
-0.014111879281699657,
-0.039073728024959564,
0.01984834484755993,
-0.024814758449792862,
0.020350178703665733,
0.03831232711672783,
-0.03163275867700577,
0.06593042612075806,
-0.012139158323407173,
-0.05433636158704758,
-0.022115245461463928,
-0.003398185595870018,
0.01746896654367447,
-0.03879685327410698,
-0.010296220891177654,
0.004408339969813824,
-0.016621042042970657,
-0.022980473935604095,
0.024434057995676994,
0.04281151294708252,
-0.03640882298350334,
-0.03466106206178665,
-0.024866672232747078,
-0.027064353227615356,
-0.06098131835460663,
0.00022293157235253602,
0.004174728412181139,
0.020055999979376793,
0.02303238771855831,
0.04845280572772026,
0.04907577112317085,
0.047172266989946365,
-0.0060739051550626755,
0.05142919346690178,
-0.023430392146110535,
0.037135615944862366,
-0.019121553748846054,
-0.003205672139301896,
-0.02742774970829487,
-0.00312996469438076,
-0.04810671508312225,
0.04789905995130539,
-0.03571663796901703,
0.03244607523083687,
0.04886811599135399,
0.017823711037635803,
0.01771988347172737,
0.04654930159449577,
-0.011048969812691212,
-0.015046326443552971,
-0.029677342623472214,
-0.023880312219262123,
0.02834489196538925,
-0.07056804746389389,
0.010036652907729149,
0.004023313522338867,
0.021492280066013336,
0.044645801186561584,
0.08825332671403885,
-0.017261311411857605,
0.001436279620975256,
0.02742774970829487,
-0.03941981866955757,
-0.04329604282975197,
-0.008885898627340794,
-0.016698913648724556,
-0.0008863186230883002,
-0.03768936172127724,
-0.04789905995130539,
0.01180171873420477,
-0.05284816771745682,
0.022080635651946068,
0.06579198688268661,
0.0009301208192482591,
0.00047425346565432847,
-0.06253872811794281,
0.03159815073013306,
-0.044680409133434296,
0.02377648465335369,
-0.019035030156373978,
0.007198702543973923,
0.09531359374523163,
-0.002967734355479479,
0.01583368517458439,
-0.03464375436306,
0.02742774970829487,
0.013047648593783379,
-0.007198702543973923,
0.004966412670910358,
0.00009091660467674956,
0.010772096924483776,
-0.027150874957442284,
0.02299777790904045,
0.030663704499602318,
-0.0404927022755146,
-0.007159767206758261,
-0.008223998360335827,
0.025697290897369385,
0.013038995675742626,
-0.042603861540555954,
-0.06433840095996857,
0.03685874119400978,
0.029140900820493698,
-0.024503275752067566,
-0.10708069801330566,
0.020800096914172173,
-0.0024010096676647663,
0.016067296266555786,
-0.0008235895656980574,
0.035024456679821014,
0.02195950411260128,
-0.028933247551321983,
0.04087340086698532,
0.02490128204226494,
-0.020004086196422577,
0.03782779723405838,
-0.04578790068626404,
-0.024105271324515343,
-0.04679156467318535,
-0.013220693916082382,
-0.046687740832567215,
-0.0024788801092654467,
-0.003313825698569417,
0.002660578116774559,
-0.014700234867632389,
0.0327056422829628,
0.0369279608130455,
-0.017287269234657288,
-0.019225381314754486,
-0.013212041929364204,
-0.01991756446659565,
0.03170197829604149,
-0.07136406004428864,
0.017408400774002075,
-0.03265373036265373,
0.022461336106061935,
0.0018743015825748444,
0.002729796338826418,
0.021578803658485413,
0.0008576579275541008,
0.010400048457086086,
-0.01846398040652275,
0.0155481593683362,
0.009655951522290707,
0.004546776879578829,
-0.035993512719869614,
-0.009266599081456661,
0.03135588765144348,
0.012537163682281971,
0.039039116352796555,
0.019069639965891838,
0.0333632193505764,
-0.00040882054599933326,
-0.008955116383731365,
-0.01820441149175167,
-0.015989426523447037,
0.04021582752466202,
-0.00764429522678256,
-0.04018121957778931,
-0.004693865310400724,
-0.0009079493465833366,
-0.06139662489295006,
-0.04153097793459892,
-0.0344880148768425,
-0.04384978860616684,
-0.010131827555596828,
0.006640629842877388,
0.032567206770181656,
0.03969668969511986,
0.006731478963047266,
0.01998678222298622,
-0.018567807972431183,
0.03393426910042763,
-0.0524674654006958,
-0.03623577579855919,
-0.0013421860057860613,
0.017070962116122246,
-0.08243899047374725,
0.008708526380360126,
0.008366760797798634,
0.07316373288631439,
-0.028137236833572388,
0.051221538335084915,
0.009958782233297825,
0.0113344956189394,
-0.052155982702970505,
0.035093676298856735,
-0.0144925806671381,
-0.01791023276746273,
0.002481043105944991,
-0.009240642189979553,
-0.017001742497086525,
0.003867572173476219,
-0.058316413313150406,
-0.018256325274705887,
0.004304512403905392,
0.006467584520578384,
-0.03218650817871094,
0.054717060178518295,
-0.03024839423596859,
0.012900559231638908,
-0.08174680173397064,
0.007047287654131651,
-0.0013811212265864015,
-0.012788079679012299,
0.02555885538458824,
0.006004686933010817,
-0.019709909334778786,
-0.054405577480793,
-0.057278137654066086,
-0.03948903828859329,
-0.02612990513443947,
-0.06513441354036331,
0.012225680984556675,
0.0034219794906675816,
0.00869554840028286,
0.06298864632844925,
-0.044611189514398575,
-0.06343856453895569,
0.08216211199760437,
-0.001441687229089439,
-0.001744517358019948,
0.00529519934207201,
0.0527789480984211,
0.03410731256008148,
0.01868893951177597,
-0.06786853820085526,
0.02516084909439087,
-0.022859342396259308,
-0.008639308623969555,
-0.08084696531295776,
-0.03582046553492546,
0.005381722468882799,
-0.026735566556453705,
0.03447071090340614,
-0.010573094710707664,
0.03073292225599289,
-0.012684252113103867,
-0.07690152525901794,
-0.017737187445163727,
-0.043157607316970825,
-0.04928342625498772,
-0.0168373491615057,
0.01146428007632494,
-0.06821462512016296,
0.022980473935604095,
-0.05191371962428093,
0.01653452031314373,
-0.00523030711337924,
0.02396683394908905,
-0.043088387697935104,
0.020280960947275162,
-0.019554167985916138,
0.03727405145764351,
-0.001321636838838458,
-0.040146611630916595,
-0.018775461241602898,
0.051775284111499786,
0.00105179357342422,
-0.0404927022755146,
0.03365739434957504,
0.04083879292011261,
-0.027704622596502304,
0.027860363945364952,
-0.004983717110008001,
0.0035106653813272715,
0.03381313756108284,
0.018758157268166542,
-0.025956859812140465,
-0.07025656849145889,
0.010642312467098236,
-0.019000422209501266,
0.0029785498045384884,
0.03507636860013008,
-0.014726191759109497,
-0.03727405145764351,
0.04855663329362869,
0.009673256427049637,
0.02076548896729946,
-0.008024996146559715,
-0.00667956518009305,
-0.0034782192669808865,
0.09109127521514893,
0.0699796974658966,
-0.0031710630282759666,
-0.08700739592313766,
0.022842036560177803,
-0.022807428613305092,
0.010313525795936584,
-0.05412870645523071,
-0.010875924490392208,
0.052813559770584106,
-0.0725407749414444,
0.0469646118581295,
-0.03370930999517441,
0.09925903379917145,
-0.043607525527477264,
-0.030854053795337677,
0.02716818079352379,
-0.0459955558180809,
-0.024762844666838646,
-0.0026065013371407986,
0.027773840352892876,
0.04336526244878769,
0.014855976216495037,
-0.04474962502717972,
0.018758157268166542,
-0.03675491362810135,
0.009249294176697731,
-0.0186197217553854,
0.009041639976203442,
-0.012346813455224037,
-0.007674578111618757,
-0.01374848373234272,
-0.016923872753977776,
0.008894550614058971,
0.002085201209411025,
-0.05056396499276161,
0.052121374756097794,
0.014752148650586605,
0.05129075422883034,
0.024087965488433838,
-0.04782984033226967,
-0.019969478249549866,
-0.014682930894196033,
-0.03521480783820152,
0.02542041800916195,
-0.06939134001731873,
0.04450736194849014,
0.03355356678366661,
-0.07364826649427414,
0.04537259042263031,
0.024883976206183434,
-0.015132849104702473,
0.023395782336592674,
-0.03682413324713707,
0.05651673674583435,
0.016785435378551483,
-0.03786240518093109,
-0.04281151294708252,
-0.031494323164224625,
-0.05499393492937088,
0.010002043098211288,
0.021561497822403908,
-0.028846723958849907,
0.035647422075271606,
-0.003244607476517558,
0.022461336106061935,
0.036997176706790924,
-0.017140179872512817,
0.003175389254465699,
0.0021836208179593086,
-0.01131719071418047,
-0.057208918035030365,
-0.01232085656374693,
-0.03291329741477966,
0.02626834250986576,
-0.004953434225171804,
0.04298456013202667,
-0.02438214421272278,
0.03592429310083389,
-0.04381518065929413,
-0.04398822411894798,
0.016785435378551483,
-0.0433998703956604,
0.03348435088992119,
0.012173767201602459,
0.05354034900665283,
0.013402392156422138,
0.037101004272699356,
-0.001603917684406042,
-0.00415309751406312,
-0.01180171873420477,
-0.05703587457537651,
-0.0074885543435812,
-0.029642734676599503,
-0.00997608620673418,
-0.007034309208393097,
-0.030750226229429245,
0.01917346753180027,
0.007216006983071566,
0.0344880148768425,
-0.042188551276922226,
0.008310521021485329,
-0.01810058392584324,
0.04596094787120819,
-0.04128871113061905,
-0.01962338574230671,
-0.008717179298400879,
0.030127262696623802,
-0.03294790908694267,
0.006290212273597717,
0.04025043919682503,
-0.003692363388836384,
0.03921216353774071,
0.021578803658485413,
-0.02794688567519188,
0.051152318716049194,
-0.0241225752979517,
0.06285020709037781,
0.024797454476356506,
-0.030300308018922806,
0.04755296930670738,
0.02348230592906475,
0.03924677148461342,
-0.020973142236471176,
0.05395565927028656,
0.05509776249527931,
-0.025126241147518158,
0.07960103452205658,
-0.022547859698534012,
0.05693204700946808,
-0.00876909215003252,
0.006445953622460365,
-0.013722526840865612,
0.02189028449356556,
-0.010417353361845016,
-0.04679156467318535,
-0.04101184010505676,
0.046168603003025055,
0.058247193694114685,
0.0025827076751738787,
0.022807428613305092,
0.09510593861341476,
-0.020384786650538445,
-0.0171661376953125,
-0.02137114852666855,
-0.0133591303601861,
0.028621764853596687,
-0.015046326443552971,
-0.09019143879413605,
0.004507841542363167,
0.03244607523083687,
0.0018580785254016519,
0.0048971944488584995,
0.012865950353443623,
-0.01001069601625204,
0.014682930894196033,
0.010426005348563194,
0.04031965509057045,
0.016370126977562904,
-0.02289395034313202,
0.02043670043349266,
0.042569249868392944,
-0.003512828378006816,
0.039592862129211426,
0.013237998820841312,
-0.003411164041608572,
-0.00869554840028286,
0.0267182607203722,
0.035647422075271606,
0.01657778210937977,
-0.08375413715839386,
0.006800697185099125,
-0.03633960336446762,
0.006683891639113426,
-0.027998799458146095,
-0.03161545470356941,
-0.045095719397068024,
-0.033761221915483475,
0.016820045188069344,
0.02564537711441517,
-0.07150249928236008,
-0.013212041929364204,
0.037516314536333084,
-0.046203210949897766,
0.008128823712468147,
-0.015972120687365532,
-0.035093676298856735,
-0.023689961060881615,
-0.0262337327003479,
0.01972721330821514,
0.011144145391881466,
-0.045164935290813446,
0.030819445848464966,
-0.0035431114956736565,
-0.022322900593280792,
0.04481884464621544,
0.06471910327672958,
0.0016114884056150913,
-0.009206033311784267,
0.012571772560477257,
0.00060944544384256,
-0.028898637741804123,
0.04367674142122269,
-0.05589377135038376,
-0.013471610844135284,
-0.04530337452888489,
-0.05399026721715927,
-0.044611189514398575,
-0.06554972380399704,
0.016171123832464218,
-0.010728835128247738,
0.01724400743842125,
0.054163314402103424,
-0.0015747161814942956
] |
5,671 | wordcloud.wordcloud | __init__ | null | def __init__(self, font_path=None, width=400, height=200, margin=2,
ranks_only=None, prefer_horizontal=.9, mask=None, scale=1,
color_func=None, max_words=200, min_font_size=4,
stopwords=None, random_state=None, background_color='black',
max_font_size=None, font_step=1, mode="RGB",
relative_scaling='auto', regexp=None, collocations=True,
colormap=None, normalize_plurals=True, contour_width=0,
contour_color='black', repeat=False,
include_numbers=False, min_word_length=0, collocation_threshold=30):
if font_path is None:
font_path = FONT_PATH
if color_func is None and colormap is None:
version = matplotlib.__version__
if version[0] < "2" and version[2] < "5":
colormap = "hsv"
else:
colormap = "viridis"
self.colormap = colormap
self.collocations = collocations
self.font_path = font_path
self.width = width
self.height = height
self.margin = margin
self.prefer_horizontal = prefer_horizontal
self.mask = mask
self.contour_color = contour_color
self.contour_width = contour_width
self.scale = scale
self.color_func = color_func or colormap_color_func(colormap)
self.max_words = max_words
self.stopwords = stopwords if stopwords is not None else STOPWORDS
self.min_font_size = min_font_size
self.font_step = font_step
self.regexp = regexp
if isinstance(random_state, int):
random_state = Random(random_state)
self.random_state = random_state
self.background_color = background_color
self.max_font_size = max_font_size
self.mode = mode
if relative_scaling == "auto":
if repeat:
relative_scaling = 0
else:
relative_scaling = .5
if relative_scaling < 0 or relative_scaling > 1:
raise ValueError("relative_scaling needs to be "
"between 0 and 1, got %f." % relative_scaling)
self.relative_scaling = relative_scaling
if ranks_only is not None:
warnings.warn("ranks_only is deprecated and will be removed as"
" it had no effect. Look into relative_scaling.",
DeprecationWarning)
self.normalize_plurals = normalize_plurals
self.repeat = repeat
self.include_numbers = include_numbers
self.min_word_length = min_word_length
self.collocation_threshold = collocation_threshold
# Override the width and height if there is a mask
if mask is not None:
self.width = mask.shape[1]
self.height = mask.shape[0]
| (self, font_path=None, width=400, height=200, margin=2, ranks_only=None, prefer_horizontal=0.9, mask=None, scale=1, color_func=None, max_words=200, min_font_size=4, stopwords=None, random_state=None, background_color='black', max_font_size=None, font_step=1, mode='RGB', relative_scaling='auto', regexp=None, collocations=True, colormap=None, normalize_plurals=True, contour_width=0, contour_color='black', repeat=False, include_numbers=False, min_word_length=0, collocation_threshold=30) | [
0.036984167993068695,
-0.03091868758201599,
0.002390190027654171,
-0.008826417848467827,
-0.01221679151058197,
-0.004382213577628136,
-0.040512826293706894,
0.043106868863105774,
0.017881721258163452,
0.03471438214182854,
0.0011074745561927557,
0.046959783881902695,
0.015621471218764782,
0.006618620827794075,
-0.032463669776916504,
0.044213149696588516,
0.05275822803378105,
0.006489872466772795,
-0.026703370735049248,
-0.024376362562179565,
0.017652835696935654,
-0.03196774795651436,
0.00613700645044446,
0.0395209863781929,
0.0051690093241631985,
-0.015859894454479218,
-0.04470907151699066,
-0.016174612566828728,
-0.003364147851243615,
-0.013637792319059372,
-0.06458400934934616,
-0.040550973266363144,
-0.041542813181877136,
0.0066090840846300125,
-0.025597088038921356,
-0.06816989183425903,
0.019388554617762566,
-0.017690982669591904,
0.008092074654996395,
0.009746730327606201,
0.03673620894551277,
0.005922426003962755,
0.03459993749856949,
-0.025082094594836235,
0.01451518852263689,
0.015335364267230034,
-0.010328481905162334,
0.033207546919584274,
-0.05531412363052368,
-0.056229665875434875,
0.00818744394928217,
-0.10223575681447983,
0.00026941794203594327,
0.012893913313746452,
-0.054894499480724335,
0.052491195499897,
0.001587896840646863,
0.07152688503265381,
0.02035178244113922,
-0.0464257150888443,
-0.01755746640264988,
0.014496115036308765,
0.03538196533918381,
-0.016527477651834488,
-0.03542011231184006,
-0.014705927111208439,
0.05855667591094971,
-0.002069511217996478,
0.015173235908150673,
0.00008143633749568835,
0.021438991650938988,
0.04180984944105148,
0.019970305263996124,
-0.01646072044968605,
0.004408440086990595,
-0.02246897853910923,
-0.06057850271463394,
-0.004580104723572731,
0.029717035591602325,
0.01029033400118351,
0.014076490886509418,
0.10261723399162292,
0.03408494591712952,
-0.04341204836964607,
0.043068721890449524,
-0.07122170180082321,
0.034428272396326065,
0.024376362562179565,
0.03162441775202751,
-0.008735816925764084,
-0.027161141857504845,
-0.03738471865653992,
0.04894346371293068,
0.01425769180059433,
-0.028152981773018837,
-0.015363974496722221,
0.04871457442641258,
-0.012893913313746452,
0.052262309938669205,
-0.05149935558438301,
-0.05024048313498497,
0.003209172748029232,
-0.0037265506107360125,
0.007000097539275885,
-0.01292252354323864,
0.01606970652937889,
-0.044403888285160065,
0.0131800202652812,
-0.022182870656251907,
-0.0031042667105793953,
-0.017862647771835327,
0.019951231777668,
0.04741755500435829,
0.023746924474835396,
0.0012046319898217916,
-0.05561930313706398,
-0.0735105648636818,
-0.04505239799618721,
-0.005006881896406412,
0.010204502381384373,
-0.05153750255703926,
0.008230360224843025,
-0.015144625678658485,
0.022049354389309883,
-0.030575359240174294,
0.021458065137267113,
-0.006923802196979523,
0.031796082854270935,
0.0392921008169651,
0.0013804688351228833,
0.00852600485086441,
-0.01603155955672264,
-0.01459148433059454,
0.004794685635715723,
0.053521182388067245,
-0.011244026012718678,
0.01771005615592003,
0.036297507584095,
-0.036392878741025925,
0.0801101103425026,
0.07003912329673767,
-0.006661537103354931,
0.006780748721212149,
-0.005898583680391312,
-0.0397498719394207,
0.0369078703224659,
0.03849099949002266,
-0.048485688865184784,
-0.02592134289443493,
0.011339395307004452,
0.011377543210983276,
-0.009703814052045345,
-0.0025296674575656652,
0.010662274435162544,
0.0666821300983429,
-0.06065479665994644,
0.020237339660525322,
-0.03128109127283096,
0.02887778729200363,
0.0666821300983429,
0.02620745077729225,
-0.0008744161459617317,
0.0049687339924275875,
-0.011015140451490879,
-0.026302820071578026,
0.039101362228393555,
0.04924864321947098,
-0.07591386884450912,
-0.025902269408106804,
0.014944350346922874,
-0.015306753106415272,
-0.06736879050731659,
-0.05798446014523506,
0.03986431658267975,
-0.054665613919496536,
0.05584819242358208,
-0.028076685965061188,
0.06202811375260353,
-0.012083275243639946,
0.0362212136387825,
0.0006675842450931668,
-0.0032926208805292845,
-0.05146120861172676,
-0.010633663274347782,
0.019550681114196777,
0.054970793426036835,
0.056191518902778625,
0.05024048313498497,
0.012417066842317581,
-0.004031732212752104,
0.013342147693037987,
-0.0012552967527881265,
0.03139553219079971,
0.01249336265027523,
0.02714206837117672,
0.007515091449022293,
0.004146174993366003,
-0.06542325764894485,
-0.00048489266191609204,
-0.0793471559882164,
0.012836690992116928,
-0.007834577932953835,
0.02195398509502411,
-0.021896762773394585,
-0.019779566675424576,
-0.01184485200792551,
-0.00818744394928217,
0.07370129972696304,
-0.03940654546022415,
0.04871457442641258,
-0.02298397198319435,
-0.10833938419818878,
0.035725295543670654,
0.056191518902778625,
0.005607707891613245,
-0.07457869499921799,
-0.020294561982154846,
0.02035178244113922,
-0.034313831478357315,
0.03271162882447243,
0.06248588487505913,
0.05535227060317993,
0.022259166464209557,
-0.008340034633874893,
-0.009579833596944809,
-0.020218266174197197,
0.035648997873067856,
0.016680069267749786,
0.024719690904021263,
-0.026741517707705498,
0.03704138845205307,
-0.05394080653786659,
0.0029945923015475273,
0.015812208876013756,
-0.020256413146853447,
-0.04222947359085083,
0.021667877212166786,
0.03387513384222984,
-0.015917114913463593,
-0.0028658437076956034,
0.0025988100096583366,
0.026569852605462074,
0.03526752069592476,
-0.0055266437120735645,
0.026073932647705078,
0.025349127128720284,
0.04886716604232788,
-0.0009358100360259414,
-0.00722898356616497,
-0.01869235932826996,
-0.06992468237876892,
-0.015859894454479218,
-0.04932493716478348,
0.0025773521047085524,
0.012140496633946896,
-0.035496409982442856,
-0.05825149267911911,
-0.009732424281537533,
0.03456179052591324,
-0.008034853264689445,
-0.012731784954667091,
0.03421846032142639,
0.038471926003694534,
0.10399055480957031,
0.0666821300983429,
-0.004253465216606855,
-0.021191030740737915,
0.05043122172355652,
-0.06389734894037247,
-0.024052105844020844,
-0.022125650197267532,
0.06313439458608627,
-0.01826319843530655,
0.03288329392671585,
-0.0163844246417284,
0.00901238713413477,
-0.009174514561891556,
-0.015955263748764992,
0.06092182919383049,
0.06458400934934616,
0.03156719729304314,
-0.011949758045375347,
0.005068871658295393,
-0.016269981861114502,
0.029240189120173454,
0.0198367889970541,
-0.0465783067047596,
-0.007538933306932449,
0.009889783337712288,
-0.025558939203619957,
-0.007796430494636297,
-0.006532788742333651,
0.04489981010556221,
-0.0010669426992535591,
0.02243083156645298,
-0.03114757314324379,
0.024490805342793465,
-0.003402295522391796,
-0.05920518562197685,
-0.026073932647705078,
0.021076587960124016,
-0.07686755806207657,
0.04715052247047424,
0.01516369916498661,
-0.028935007750988007,
0.024643395096063614,
-0.005989184603095055,
-0.005536180920898914,
0.0931566134095192,
0.013876215554773808,
0.016823122277855873,
0.01522092055529356,
0.04486166313290596,
0.018902171403169632,
0.008063464425504208,
0.0360686220228672,
0.040283940732479095,
-0.002570199314504862,
0.03126201778650284,
0.06931431591510773,
-0.04451833292841911,
-0.05508523806929588,
-0.03904414176940918,
-0.0920884758234024,
0.027409100905060768,
-0.014992034994065762,
0.025482645258307457,
-0.010023300535976887,
0.05306341126561165,
0.02309841476380825,
-0.03826211392879486,
0.0049687339924275875,
-0.012722248211503029,
-0.00991839449852705,
-0.013990658335387707,
-0.07076393067836761,
0.0005111192003823817,
0.04989715293049812,
0.023155637085437775,
-0.1335931420326233,
0.03328384459018707,
0.0012231096625328064,
-0.0530252642929554,
0.017881721258163452,
-0.0014591484796255827,
0.0034666697029024363,
0.00773920863866806,
-0.016994787380099297,
0.0073529635556042194,
0.03925395384430885,
0.038319334387779236,
-0.02725651115179062,
-0.005612476263195276,
0.03955913335084915,
-0.012750859372317791,
0.012893913313746452,
-0.013675940223038197,
-0.02269786410033703,
0.02655077911913395,
0.004317839629948139,
-0.0011736369924619794,
0.0017166452016681433,
-0.035057708621025085,
0.045739058405160904,
-0.024891356006264687,
-0.011577818542718887,
-0.05027863010764122,
0.011987905949354172,
0.016269981861114502,
-0.015697766095399857,
0.061722930520772934,
0.009937467984855175,
-0.048218656331300735,
-0.02695132978260517,
0.046959783881902695,
-0.04898161068558693,
-0.048333100974559784,
0.03860544413328171,
-0.0003761122061405331,
-0.04383167251944542,
0.00850693043321371,
0.011816240847110748,
-0.02113381028175354,
-0.00804915837943554,
-0.05775557458400726,
-0.03410401940345764,
-0.029163895174860954,
0.01728089526295662,
0.035019561648368835,
-0.016756365075707436,
-0.051117878407239914,
-0.034428272396326065,
0.041619110852479935,
-0.018558841198682785,
0.007467406801879406,
0.011491985991597176,
0.02061881683766842,
0.07129799574613571,
-0.014391208998858929,
0.0398261696100235,
0.013723624870181084,
-0.022526198998093605,
-0.06992468237876892,
0.016432110220193863,
-0.0017834036843851209,
0.02239268273115158,
0.03408494591712952,
0.03809044882655144,
0.039101362228393555,
0.0524149015545845,
0.053750067949295044,
0.006847506854683161,
0.011987905949354172,
-0.0459679439663887,
-0.08117824792861938,
-0.04180984944105148,
-0.05771742761135101,
-0.0296979621052742,
0.007023939862847328,
-0.009589371271431446,
-0.015449807047843933,
0.051156025379896164,
0.02565430849790573,
0.009131599217653275,
0.03471438214182854,
0.04863828048110008,
-0.0395209863781929,
-0.028648901730775833,
-0.00889794435352087,
-0.054665613919496536,
-0.10345648229122162,
-0.030460914596915245,
-0.022068427875638008,
0.012197718024253845,
-0.01479175966233015,
-0.010738569311797619,
-0.045739058405160904,
0.011320321820676327,
-0.045510172843933105,
-0.03582066297531128,
0.06332513689994812,
-0.05787001550197601,
0.024776913225650787,
0.003964973613619804,
0.022449905052781105,
0.006117932964116335,
-0.04474721848964691,
0.015926653519272804,
-0.02899223007261753,
-0.025825973600149155,
0.038948770612478256,
0.0795760452747345,
-0.02101936750113964,
-0.0014937197556719184,
0.05779372155666351,
-0.010461999103426933,
-0.015545176342129707,
-0.011244026012718678,
0.04787532612681389,
0.011596892029047012,
0.004959197249263525,
0.03128109127283096,
-0.03427568078041077,
-0.012750859372317791,
-0.0360686220228672,
0.00787749420851469,
0.04806606471538544,
0.006055942736566067,
-0.014887128956615925,
-0.014915739186108112,
0.016441646963357925,
-0.03566807135939598,
0.008664289489388466,
-0.04249650612473488,
-0.026417262852191925,
0.0329977348446846,
-0.035648997873067856,
0.020237339660525322,
-0.0133135374635458,
0.008340034633874893,
0.0398261696100235,
-0.0329214408993721,
0.0028110065031796694,
-0.03095683455467224,
-0.0011068785097450018,
-0.0022900523617863655,
-0.00021487867343239486,
-0.03433290496468544,
-0.01527814194560051,
0.022526198998093605,
-0.05428413674235344,
0.018902171403169632,
-0.03496234118938446,
0.05550486221909523,
0.01586943119764328,
0.01869235932826996,
0.022812306880950928,
-0.0013804688351228833,
-0.0024366825819015503,
-0.053483035415410995,
0.012569657526910305,
-0.010767180472612381,
-0.005550486035645008,
-0.032311078161001205,
0.049515675753355026,
-0.012827154248952866,
0.0015402121935039759,
0.006699684541672468,
-0.02101936750113964,
-0.01748117059469223,
-0.045853499323129654,
-0.04341204836964607,
0.025349127128720284,
-0.057374097406864166,
0.042916130274534225,
-0.038872476667165756,
-0.09544547647237778,
-0.003914904780685902,
-0.005750761367380619,
0.0034213692415505648,
-0.000002733481778705027,
0.044060561805963516,
-0.026054859161376953,
-0.06866580992937088,
-0.005307294894009829,
0.0395209863781929,
0.03118572197854519,
-0.01857791654765606,
0.07225169241428375,
0.039063215255737305,
0.0008285197545774281,
-0.03978802263736725,
0.0166133102029562,
0.04928679019212723,
0.058976300060749054,
0.016794512048363686,
-0.008855028077960014,
-0.02180139347910881,
0.040436532348394394,
-0.018053386360406876,
-0.004339297767728567,
0.007343426812440157,
0.04886716604232788,
-0.06889469176530838,
0.004353602882474661,
0.01516369916498661,
0.04989715293049812,
0.013923900201916695,
-0.006122701335698366,
0.0001237564138136804,
0.01414324901998043,
-0.010423851199448109,
-0.04451833292841911,
0.00200394494459033,
0.007267131470143795,
0.029049452394247055,
0.015430732630193233,
-0.009246041998267174,
0.044136855751276016,
-0.0009358100360259414,
-0.03482882305979729,
0.026016712188720703,
0.005531412549316883,
-0.05813705176115036,
-0.06179922819137573,
0.029984069988131523,
-0.04505239799618721,
0.032940514385700226,
-0.03427568078041077,
-0.0392158068716526,
0.04325946047902107,
0.025310980156064034,
-0.01441982015967369,
0.01431491319090128,
-0.050888992846012115,
0.026379114016890526,
0.022201944142580032,
0.012502899393439293,
-0.007743977475911379,
-0.003056582063436508,
-0.006680611055344343,
0.03334106504917145,
0.045739058405160904,
-0.061722930520772934,
-0.00014402235683519393,
0.005145167000591755,
-0.011263099499046803,
0.022755086421966553,
-0.035839736461639404,
-0.041466519236564636,
0.000001215398242493393,
-0.0073529635556042194,
0.043145015835762024,
-0.056077077984809875,
-0.053673774003982544,
0.00582228833809495,
0.009575065225362778,
-0.0024629090912640095,
-0.007496017497032881,
0.02576875127851963,
-0.010767180472612381,
-0.008926555514335632,
-0.0666058361530304,
0.03711768239736557,
0.0011593315284699202,
-0.03311217948794365,
0.09796322137117386,
0.01877819187939167,
0.003387989941984415,
-0.04139022156596184,
-0.03892969712615013,
-0.006294365972280502,
0.005774603690952063,
-0.06412623822689056,
0.0016677684616297483,
-0.05809890478849411,
-0.047036077827215195,
-0.017938941717147827,
0.0794997438788414,
0.030975909903645515,
0.012264476157724857,
-0.01121541578322649,
-0.01779588870704174,
0.037842489778995514,
-0.00824943371117115,
-0.013075114227831364,
0.0057269190438091755,
-0.050850845873355865,
-0.02439543604850769,
-0.004003121051937342,
0.04512869566679001,
-0.007844114676117897,
-0.005283452570438385,
-0.08278044313192368,
-0.03416123986244202,
0.08255156129598618,
-0.02792409621179104,
0.015840820968151093,
0.035248447209596634,
0.04448018595576286,
0.03978802263736725,
-0.01739533804357052,
0.017652835696935654,
0.006823664531111717,
-0.02191583625972271,
0.025997638702392578,
0.008320961147546768,
-0.007414953783154488,
0.0735868588089943,
0.016403498128056526,
-0.023308226838707924,
0.044175002723932266,
-0.014009731821715832,
-0.03871988505125046,
-0.03154812380671501,
-0.008883639238774776,
-0.010204502381384373,
-0.03219663351774216,
-0.028172055259346962,
-0.013704550452530384,
-0.027504470199346542,
0.035057708621025085,
0.053444888442754745,
0.0027347111608833075,
0.06752137839794159,
-0.02113381028175354,
0.04272539168596268,
0.04268724471330643,
-0.0045085777528584,
-0.03459993749856949,
-0.04905790463089943,
-0.010652736760675907,
-0.07682941108942032,
-0.011043750680983067,
-0.022373609244823456,
0.07751607149839401,
-0.0067330640740692616,
-0.024643395096063614,
0.05252934247255325,
-0.010128206573426723,
0.054818201810121536,
0.04901975765824318,
-0.07572312653064728,
0.011015140451490879,
0.039139509201049805,
0.0400550551712513,
-0.021858615800738335,
-0.014944350346922874,
-0.013017892837524414,
0.005045029334723949,
-0.007515091449022293,
0.061341457068920135,
0.04741755500435829,
-0.03473345562815666,
0.034905120730400085,
0.014639168977737427,
-0.07419721782207489,
-0.06878025084733963,
0.05252934247255325,
-0.04112318903207779,
0.03137645870447159,
-0.027008552104234695,
-0.05577189475297928,
0.03185330703854561,
-0.03892969712615013,
0.011043750680983067,
-0.020561594516038895,
0.035210300236940384,
-0.016355814412236214,
0.012645953334867954,
0.020237339660525322,
0.06256218254566193,
0.0793471559882164,
-0.0012338387314230204,
-0.03229200467467308,
-0.02573060430586338,
-0.0032377836760133505,
0.007500785868614912,
0.011501522734761238,
-0.03507678210735321,
0.03933024778962135,
0.04867642745375633,
-0.02101936750113964,
0.056077077984809875,
-0.005841362290084362,
-0.008621374145150185,
-0.04139022156596184,
-0.041733551770448685,
-0.01811060681939125,
-0.07232798635959625,
0.003581112716346979,
0.0031209562439471483,
-0.0666058361530304,
0.032349225133657455,
-0.04867642745375633,
0.016002947464585304,
0.05989184230566025,
-0.027313733473420143,
-0.026093007996678352,
0.04211502894759178,
-0.040207646787166595,
-0.04638756811618805,
-0.06301995366811752,
0.05039307475090027,
-0.015421195887029171,
0.03685064986348152,
0.022373609244823456,
0.050888992846012115,
0.037804342806339264,
0.034313831478357315,
0.05794631317257881,
0.010214039124548435,
-0.012140496633946896,
0.02914482168853283,
0.015802672132849693,
-0.061684783548116684,
0.054932646453380585,
-0.04230576753616333,
0.02529190666973591,
-0.012521972879767418,
-0.004220086149871349,
-0.08514560014009476,
0.009460622444748878,
0.007290973793715239,
0.0331503264605999,
0.0525674894452095,
0.0023973428178578615,
0.0367552824318409
] |
5,672 | wordcloud.wordcloud | _check_generated | Check if ``layout_`` was computed, otherwise raise error. | def _check_generated(self):
"""Check if ``layout_`` was computed, otherwise raise error."""
if not hasattr(self, "layout_"):
raise ValueError("WordCloud has not been calculated, call generate"
" first.")
| (self) | [
0.03392701968550682,
-0.04028415307402611,
-0.024408048018813133,
0.041555579751729965,
0.011016243137419224,
0.010029214434325695,
0.028674019500613213,
0.017465388402342796,
0.014863981865346432,
-0.00001115014310926199,
0.04955218359827995,
0.028272515162825584,
0.05186082795262337,
-0.07548259943723679,
-0.05818450078368187,
0.027302216738462448,
-0.014521031640470028,
0.02889150008559227,
0.004542004782706499,
-0.012296034954488277,
-0.019205234944820404,
-0.03633603826165199,
0.018268395215272903,
0.031601645052433014,
0.04590519517660141,
0.033492058515548706,
0.009937203489243984,
-0.0029799065086990595,
0.0555412732064724,
0.008824705146253109,
-0.0724044069647789,
0.015943022444844246,
0.06768674403429031,
0.0602254755795002,
0.029744694009423256,
-0.0014533578651025891,
0.06544502079486847,
0.0011386378901079297,
-0.012413140386343002,
-0.053299546241760254,
0.0027686990797519684,
0.010112861171364784,
0.030899016186594963,
-0.01058128196746111,
0.0002684529754333198,
-0.02877439372241497,
-0.02514413744211197,
0.030731722712516785,
-0.14186446368694305,
-0.038276635110378265,
0.04557061195373535,
-0.001329979277215898,
0.03831009566783905,
0.08117055892944336,
-0.0066875373013317585,
-0.016980238258838654,
0.04235858470201492,
0.040083400905132294,
-0.006574614439159632,
0.01146793458610773,
-0.021078916266560555,
0.048213839530944824,
-0.03215371444821358,
-0.028389621526002884,
0.019924595952033997,
0.005403563845902681,
0.011083160527050495,
-0.0009457282139919698,
-0.01705552078783512,
0.0663149431347847,
-0.010430717840790749,
0.023588310927152634,
-0.027988117188215256,
0.04055182263255119,
0.012488421984016895,
-0.0536675900220871,
0.025311429053544998,
-0.04212437570095062,
0.06972771883010864,
-0.04580482095479965,
-0.031200142577290535,
-0.002841889625415206,
0.02228342555463314,
-0.04580482095479965,
0.05677924305200577,
-0.009334948845207691,
0.04306121543049812,
0.049619100987911224,
0.04834767431020737,
0.01783343218266964,
-0.010556187480688095,
0.06223299354314804,
0.012948477640748024,
-0.005729785189032555,
0.017649410292506218,
0.03723942115902901,
0.01184434350579977,
-0.06641531735658646,
-0.002685052575543523,
0.0063487691804766655,
0.034361980855464935,
0.020861435681581497,
0.03861122205853462,
0.023471206426620483,
0.01562516577541828,
-0.025595827028155327,
0.03519844636321068,
-0.05239616334438324,
-0.004663292318582535,
-0.030581159517169,
0.02432440035045147,
-0.03737325593829155,
-0.011191900819540024,
0.02450842410326004,
0.014897440560162067,
-0.06581306457519531,
-0.017615951597690582,
0.011785791255533695,
-0.015223662368953228,
0.011434475891292095,
0.011518122628331184,
-0.04737737402319908,
-0.040150318294763565,
-0.06310291588306427,
0.03262213245034218,
-0.012413140386343002,
-0.008092798292636871,
0.03727287799119949,
0.04105370119214058,
-0.006562067661434412,
0.020777789875864983,
-0.005683779250830412,
-0.027737177908420563,
-0.023471206426620483,
-0.036704082041978836,
-0.007076493464410305,
0.07454575598239899,
-0.022350342944264412,
-0.055005934089422226,
0.04045144468545914,
0.027586614713072777,
0.04767850413918495,
0.03697175160050392,
0.04801308736205101,
-0.025579098612070084,
0.06527772545814514,
-0.07554951310157776,
0.034830402582883835,
0.003105376148596406,
0.010004120878875256,
0.013910411857068539,
-0.052195414900779724,
0.010313613340258598,
-0.026114435866475105,
-0.03329130634665489,
-0.017917079851031303,
0.005077342502772808,
-0.015633530914783478,
0.008297732099890709,
-0.06337058544158936,
0.008958539925515652,
-0.01102460827678442,
0.032956719398498535,
0.0034232328180223703,
-0.0072019631043076515,
0.044700685888528824,
0.0131826875731349,
-0.050790153443813324,
-0.03633603826165199,
0.05761570483446121,
-0.023755604401230812,
0.016419807448983192,
-0.02509394846856594,
-0.016277607530355453,
-0.005654503125697374,
0.029694506898522377,
0.041488662362098694,
0.018268395215272903,
-0.012814642861485481,
-0.005834342911839485,
-0.009360043331980705,
-0.02549545280635357,
-0.027737177908420563,
0.01654527708888054,
-0.000810848199762404,
0.029209356755018234,
0.0023588312324136496,
-0.003979482222348452,
0.02929300256073475,
0.028055034577846527,
-0.04831421747803688,
-0.0039042001590132713,
0.00200019683688879,
0.011651956476271152,
0.03411104157567024,
-0.014562854543328285,
-0.020777789875864983,
-0.0012871104991063476,
0.0005272343405522406,
-0.0015108648221939802,
0.015759000554680824,
-0.05152624100446701,
0.03583415970206261,
-0.007687112782150507,
0.006428233347833157,
0.07180215418338776,
-0.039213478565216064,
-0.0015600071055814624,
-0.03754054754972458,
0.0151149220764637,
-0.021095646545290947,
-0.04081948846578598,
0.0140609759837389,
0.05550781637430191,
0.009058915078639984,
-0.03173547983169556,
0.04988677054643631,
-0.0027268757112324238,
-0.08117055892944336,
0.04299429804086685,
0.08732694387435913,
0.03493077680468559,
0.008983633480966091,
-0.058686383068561554,
0.03250502794981003,
-0.04620632529258728,
0.005294823087751865,
-0.007461267523467541,
-0.014345373958349228,
-0.034763485193252563,
0.018335312604904175,
-0.04075257107615471,
-0.04908376187086105,
0.024491693824529648,
0.04694241285324097,
-0.05286458507180214,
0.007314885966479778,
0.0017461206298321486,
0.041789788752794266,
0.004307794384658337,
-0.025361618027091026,
0.02731894515454769,
-0.03076518140733242,
0.009744816459715366,
-0.022484177723526955,
-0.020326098427176476,
-0.007544913794845343,
-0.000026596972020342946,
-0.008557036519050598,
0.0024257483892142773,
-0.030731722712516785,
-0.03516498580574989,
-0.012747726403176785,
-0.04222474992275238,
0.04252588003873825,
-0.03794205188751221,
-0.0012557429727166891,
-0.04235858470201492,
0.056712325662374496,
0.0010325114708393812,
-0.0030802821274846792,
0.056176986545324326,
0.008774517104029655,
0.0934833213686943,
0.0009906882187351584,
-0.03243811056017876,
0.04349617660045624,
0.022367073222994804,
-0.06343749910593033,
0.030380407348275185,
-0.06885779649019241,
0.07186906784772873,
0.012438233941793442,
-0.006319492589682341,
0.014337009750306606,
-0.015901198610663414,
0.0548386424779892,
0.07200290262699127,
-0.02894168719649315,
0.08424875140190125,
0.08217431604862213,
-0.027686990797519684,
-0.005729785189032555,
0.032956719398498535,
-0.02718511037528515,
-0.020978542044758797,
-0.04510219022631645,
-0.03854430466890335,
-0.03958152234554291,
-0.028439808636903763,
0.019372528418898582,
0.006352951284497976,
0.035298820585012436,
-0.03416122868657112,
-0.004901684820652008,
-0.009845192544162273,
0.03133397549390793,
-0.009033821523189545,
-0.03422814607620239,
-0.003937658853828907,
-0.023588310927152634,
0.033124011009931564,
-0.018435686826705933,
0.014671595767140388,
0.027235299348831177,
0.019155047833919525,
0.03386010229587555,
-0.05099090561270714,
0.032254088670015335,
-0.04125445336103439,
-0.04563752934336662,
0.02900860458612442,
0.030263302847743034,
0.04965256154537201,
0.04911722242832184,
0.005591768305748701,
0.05550781637430191,
-0.024692445993423462,
-0.019673656672239304,
0.06651569157838821,
-0.045470234006643295,
0.02151387929916382,
-0.01658710092306137,
-0.019573280587792397,
-0.04075257107615471,
-0.06062697991728783,
0.030280031263828278,
-0.03176894038915634,
0.008343737572431564,
0.0024633891880512238,
-0.024374589323997498,
-0.03700520843267441,
0.024809550493955612,
0.0013038397300988436,
0.007043034769594669,
-0.030213113874197006,
0.01923869363963604,
-0.057682622224092484,
0.03299017623066902,
-0.06223299354314804,
0.07421117275953293,
0.006712631322443485,
-0.017298094928264618,
0.013743119314312935,
0.07441192120313644,
0.02357158251106739,
0.032086797058582306,
-0.053132254630327225,
0.027502967044711113,
-0.021011998876929283,
-0.06363825500011444,
0.03720596060156822,
-0.03285634517669678,
0.031066307798027992,
0.07575026899576187,
-0.04095332324504852,
-0.009912109933793545,
-0.012965206988155842,
-0.01292338315397501,
0.0592886358499527,
0.025813309475779533,
-0.04098678380250931,
0.018268395215272903,
0.03123360127210617,
-0.04041798785328865,
-0.04279354587197304,
-0.020627226680517197,
-0.019623467698693275,
-0.026699962094426155,
-0.02731894515454769,
-0.021313127130270004,
-0.05269729346036911,
-0.012346222996711731,
-0.035298820585012436,
0.019021213054656982,
0.016804581508040428,
-0.027703719213604927,
0.051191654056310654,
-0.036235660314559937,
0.03253848850727081,
0.01146793458610773,
0.058217961341142654,
0.002069205278530717,
0.009360043331980705,
0.03309055417776108,
-0.04975293576717377,
-0.034763485193252563,
-0.007666201330721378,
-0.025997331365942955,
-0.014044246636331081,
0.03754054754972458,
-0.0012107830261811614,
-0.019088130444288254,
0.0063487691804766655,
0.02256782539188862,
0.030581159517169,
-0.006148017477244139,
0.012705902568995953,
0.006662443280220032,
0.006269305013120174,
0.02362176962196827,
-0.02638210542500019,
-0.06042622774839401,
0.05912134423851967,
-0.05433676391839981,
-0.04306121543049812,
-0.023839252069592476,
0.04332888498902321,
-0.008502665907144547,
0.054771725088357925,
-0.022701658308506012,
-0.01930561102926731,
-0.004508546087890863,
-0.0321035236120224,
-0.005913807079195976,
-0.00391883822157979,
0.02035955712199211,
0.041555579751729965,
-0.03690483421087265,
0.014889076352119446,
0.030614618211984634,
0.045771364122629166,
0.14735166728496552,
0.037507086992263794,
-0.00497278431430459,
-0.036871373653411865,
-0.07467959076166153,
0.009075644426047802,
0.019958054646849632,
-0.0030070915818214417,
-0.010263425298035145,
-0.013902047649025917,
0.015223662368953228,
-0.011944719590246677,
-0.008322826586663723,
-0.03824317827820778,
-0.03215371444821358,
0.005169353447854519,
-0.00454618688672781,
0.008774517104029655,
0.07916304469108582,
-0.015516424551606178,
0.004378893878310919,
0.015474601648747921,
0.027586614713072777,
0.0016969782300293446,
-0.04690895602107048,
0.02069414220750332,
0.00961934681981802,
-0.008883257396519184,
0.033073823899030685,
0.07186906784772873,
0.033609163016080856,
-0.00994556862860918,
-0.0019280517008155584,
-0.04557061195373535,
-0.029978904873132706,
-0.029142439365386963,
-0.013291427865624428,
0.025461994111537933,
-0.05955630540847778,
0.03029676154255867,
-0.07421117275953293,
-0.0005431794561445713,
0.03352551534771919,
-0.028623830527067184,
-0.08746077865362167,
0.030363677069544792,
-0.014771970920264721,
0.017465388402342796,
0.03317420184612274,
-0.0775570273399353,
0.033006906509399414,
-0.011350829154253006,
-0.006750272121280432,
-0.057816457003355026,
0.0017618043348193169,
0.044767603278160095,
-0.011685415171086788,
0.016645653173327446,
0.02280203439295292,
0.024224024266004562,
-0.04988677054643631,
-0.01658710092306137,
-0.0004804445488844067,
-0.024240754544734955,
-0.08170589804649353,
-0.008849799633026123,
0.01703042723238468,
-0.002877439372241497,
-0.052663832902908325,
0.0037389984354376793,
0.03486385941505432,
-0.05808412656188011,
-0.03466310724616051,
-0.02591368369758129,
0.0321035236120224,
0.03255521506071091,
0.03603491187095642,
-0.0332745760679245,
0.006654078606516123,
0.005516486242413521,
0.04276008903980255,
-0.0007251105853356421,
0.02420729584991932,
-0.040217235684394836,
0.06775366514921188,
0.027971388772130013,
0.03697175160050392,
-0.011342464946210384,
-0.04861534386873245,
-0.022835493087768555,
0.04928451403975487,
0.06086118891835213,
0.03265559300780296,
0.024608798325061798,
-0.036871373653411865,
-0.03076518140733242,
-0.0015474602114409208,
0.04834767431020737,
0.023671958595514297,
-0.0019332796800881624,
-0.011936355382204056,
-0.025177596136927605,
-0.012848101556301117,
0.009937203489243984,
-0.009460418485105038,
-0.07541567832231522,
0.0028021575417369604,
0.00047521665692329407,
0.04590519517660141,
-0.03549957275390625,
0.06276833266019821,
-0.004466722719371319,
-0.03539919853210449,
0.06096156686544418,
-0.04560406878590584,
-0.015516424551606178,
-0.09495550394058228,
0.005219541490077972,
0.027653532102704048,
-0.029677776619791985,
-0.00874105840921402,
-0.03516498580574989,
0.03643641248345375,
0.04065219685435295,
0.015190203674137592,
-0.0035047882702201605,
-0.00659134378656745,
-0.009259667247533798,
-0.021564066410064697,
0.03984919190406799,
0.004834767431020737,
-0.024307671934366226,
0.09247956424951553,
0.010163049213588238,
0.022618012502789497,
0.023588310927152634,
0.0798991322517395,
0.023839252069592476,
0.0029067157302051783,
-0.05778300017118454,
-0.012421504594385624,
-0.015416049398481846,
-0.018619710579514503,
0.04105370119214058,
-0.06229991093277931,
-0.030514242127537727,
-0.012655714526772499,
-0.02174808830022812,
0.01658710092306137,
-0.023906167596578598,
0.014420655556023121,
-0.029962174594402313,
0.046708203852176666,
0.008147168904542923,
-0.04255933687090874,
0.024056732654571533,
-0.007335797883570194,
-0.06591343879699707,
0.01952309161424637,
-0.030664805322885513,
0.0709991455078125,
-0.00524881761521101,
-0.001973011763766408,
-0.0700623020529747,
-0.012789549306035042,
-0.02661631442606449,
0.04767850413918495,
0.025595827028155327,
-0.05309879407286644,
0.007745665498077869,
0.004349617753177881,
-0.014403926208615303,
0.024592069908976555,
0.06132961064577103,
0.03516498580574989,
-0.056712325662374496,
-0.02040974423289299,
-0.0543702207505703,
-0.06885779649019241,
0.07012922316789627,
0.004479269962757826,
0.035700324922800064,
0.01307394728064537,
-0.00808443408459425,
0.011083160527050495,
-0.00029616086976602674,
0.030597887933254242,
-0.034529272466897964,
0.00944368913769722,
-0.04707624763250351,
-0.0027080553118139505,
-0.04861534386873245,
-0.019288882613182068,
-0.07548259943723679,
0.0031618375796824694,
0.005834342911839485,
0.03904618322849274,
0.014838888309895992,
0.02153060771524906,
-0.00782512966543436,
-0.03076518140733242,
-0.013400169089436531,
-0.05002060532569885,
0.0527307502925396,
0.024876467883586884,
-0.003849830012768507,
-0.006549520418047905,
0.0003115831932518631,
0.004353800322860479,
-0.008657412603497505,
0.027235299348831177,
-0.07688786089420319,
0.013057217933237553,
0.02790447138249874,
0.0026055884081870317,
0.009468783624470234,
0.0027268757112324238,
0.001574645284563303,
0.00800078734755516,
0.007360891439020634,
0.005591768305748701,
0.03337495028972626,
-0.036001451313495636,
0.002033655531704426,
0.00514844199642539,
-0.030096009373664856,
0.04975293576717377,
0.024341130629181862,
-0.024876467883586884,
0.012312764301896095,
0.021430231630802155,
-0.07595101743936539,
0.02069414220750332,
-0.005566674284636974,
-0.02631518803536892,
-0.05176045000553131,
-0.025461994111537933,
-0.044600311666727066,
0.0297614224255085,
-0.018402229994535446,
-0.03837701305747032,
-0.04854842647910118,
0.04055182263255119,
0.04707624763250351,
0.013341615907847881,
0.008632318116724491,
-0.001621696399524808,
-0.04252588003873825,
-0.06343749910593033,
0.030899016186594963,
0.04352963715791702,
-0.039983026683330536,
-0.0022166322451084852,
-0.01140101719647646,
-0.006378045305609703,
-0.03914656117558479,
0.020560309290885925,
-0.00961934681981802,
-0.005897077731788158,
0.04373038932681084,
-0.0543702207505703,
0.006131288129836321,
-0.05135894939303398,
0.00961934681981802,
-0.028924958780407906,
-0.03723942115902901,
0.06805478781461716,
-0.01987440697848797,
-0.04513565078377724,
-0.013793307356536388,
0.04801308736205101,
0.02889150008559227,
0.004303612280637026,
-0.03317420184612274,
-0.030045820400118828,
-0.0020807066466659307,
0.024224024266004562,
0.017615951597690582,
0.042258210480213165,
0.002494756830856204,
-0.04018377512693405,
0.04215783253312111,
-0.058217961341142654,
0.015859374776482582,
-0.08431566506624222,
0.012739361263811588,
-0.03948114439845085,
0.0018600889015942812,
0.020192263647913933,
0.011953083798289299,
-0.011166807264089584,
-0.09053896367549896,
-0.0064240507781505585,
-0.06905854493379593,
-0.01853606291115284,
0.07782469689846039,
0.056712325662374496,
-0.050622858107089996,
-0.01207855436950922,
0.04901684820652008,
-0.07032997161149979,
-0.04971947893500328,
-0.053901802748441696,
0.03760746493935585,
-0.02280203439295292,
-0.10947653651237488,
0.015491330996155739,
0.010263425298035145,
-0.003534064395353198,
-0.009075644426047802,
-0.010773668996989727,
0.08471716940402985,
0.017649410292506218,
0.016152137890458107,
-0.015131651423871517,
0.0642070472240448,
-0.008452478796243668,
-0.024123650044202805,
0.04276008903980255,
-0.005273911636322737,
-0.01040562428534031,
-0.00010488486441317946,
-0.02685052528977394,
0.01140101719647646,
0.032187171280384064,
0.03814280033111572,
-0.028172139078378677,
0.05239616334438324,
0.04697587341070175,
0.026248270645737648,
0.02059376798570156,
0.01923869363963604,
0.005947265774011612,
-0.0006132333655841649,
0.014863981865346432,
-0.010982784442603588,
0.013216146267950535,
-0.05169353261590004,
-0.01342526264488697,
-0.052195414900779724,
-0.0033897743560373783,
0.05590931698679924,
0.04694241285324097,
0.019037943333387375,
0.022835493087768555,
0.05667886510491371
] |
5,673 | wordcloud.wordcloud | _draw_contour | Draw mask contour on a pillow image. | def _draw_contour(self, img):
"""Draw mask contour on a pillow image."""
if self.mask is None or self.contour_width == 0:
return img
mask = self._get_bolean_mask(self.mask) * 255
contour = Image.fromarray(mask.astype(np.uint8))
contour = contour.resize(img.size)
contour = contour.filter(ImageFilter.FIND_EDGES)
contour = np.array(contour)
# make sure borders are not drawn before changing width
contour[[0, -1], :] = 0
contour[:, [0, -1]] = 0
# use gaussian to change width, divide by 10 to give more resolution
radius = self.contour_width / 10
contour = Image.fromarray(contour)
contour = contour.filter(ImageFilter.GaussianBlur(radius=radius))
contour = np.array(contour) > 0
contour = np.dstack((contour, contour, contour))
# color the contour
ret = np.array(img) * np.invert(contour)
if self.contour_color != 'black':
color = Image.new(img.mode, img.size, self.contour_color)
ret += np.array(color) * contour
return Image.fromarray(ret)
| (self, img) | [
-0.000046277582441689447,
-0.07860960811376572,
0.014943242073059082,
0.02539980411529541,
-0.023823903873562813,
-0.0367833636701107,
-0.0071981558576226234,
0.016704542562365532,
-0.019355762749910355,
-0.04275324568152428,
-0.0031541178468614817,
-0.0512816458940506,
0.014396311715245247,
-0.06948792934417725,
-0.03533724322915077,
0.03535578399896622,
0.04427352547645569,
0.007059105671942234,
-0.022451942786574364,
-0.001297800219617784,
0.054507605731487274,
-0.060996606945991516,
0.035559725016355515,
0.016333742067217827,
0.012764791958034039,
0.003501742845401168,
-0.0048296707682311535,
-0.014655872248113155,
-0.016389362514019012,
-0.04178916662931442,
-0.056695327162742615,
0.0014171514194458723,
0.039786845445632935,
-0.026289723813533783,
-0.01765008270740509,
0.008903835900127888,
0.05358060821890831,
0.017798401415348053,
-0.009538831189274788,
0.009098506532609463,
0.008444971404969692,
0.020542321726679802,
0.002247975207865238,
-0.02293398231267929,
0.03060954436659813,
-0.029812322929501534,
-0.003061417955905199,
0.013765951618552208,
0.04449600726366043,
-0.07349257171154022,
-0.02317500300705433,
-0.05124456807971001,
-0.058771807700395584,
-0.03327930346131325,
0.029015103355050087,
0.015360391698777676,
0.02966400422155857,
0.03461418300867081,
0.04297572374343872,
-0.01201392151415348,
-0.04946472495794296,
-0.03897108510136604,
0.05799312889575958,
0.014841271564364433,
-0.013422961346805096,
0.006201630923897028,
-0.07816465198993683,
0.010048680938780308,
0.009066061116755009,
-0.030757863074541092,
-0.01491543184965849,
0.032278142869472504,
-0.005923530552536249,
0.019911961629986763,
-0.03507768362760544,
-0.08105689287185669,
0.03574512526392937,
-0.02493630349636078,
0.00990036129951477,
-0.04560840502381325,
-0.0014716127188876271,
0.01168020162731409,
0.018660511821508408,
0.010336051695048809,
0.05358060821890831,
-0.006767100654542446,
0.007582860998809338,
-0.0505029670894146,
-0.040528446435928345,
0.09262584894895554,
0.01054926123470068,
0.013339531607925892,
-0.029422983527183533,
0.02402784302830696,
0.00614601094275713,
0.013024351559579372,
0.03064662404358387,
0.04297572374343872,
-0.011717281304299831,
-0.005784480832517147,
-0.06507540494203568,
0.0025075352750718594,
-0.020579403266310692,
0.004044037777930498,
0.0025863302871584892,
0.013098511844873428,
0.014062591828405857,
0.016037102788686752,
0.013830841518938541,
0.01446120161563158,
0.003063735319301486,
-0.0007473938167095184,
-0.011225971393287182,
-0.060922447592020035,
0.0022641976829618216,
-0.021265381947159767,
-0.03025728464126587,
-0.0049548158422112465,
-0.02641950361430645,
-0.021228302270174026,
-0.019893422722816467,
-0.01817847229540348,
0.030906183645129204,
-0.012319831177592278,
-0.0041830879636108875,
0.021265381947159767,
-0.009195840917527676,
0.03225960582494736,
-0.008407890796661377,
-0.020542321726679802,
-0.0528390072286129,
0.006887611001729965,
-0.0002843283291440457,
-0.0465724840760231,
0.013367341831326485,
-0.004166865721344948,
0.00014520587865263224,
0.0022746266331523657,
-0.062220249325037,
0.08750881254673004,
-0.013552742078900337,
-0.04230828583240509,
-0.036579426378011703,
0.04364316537976265,
0.04575672745704651,
0.01708461157977581,
0.044681403785943985,
0.00008820985385682434,
0.06559453159570694,
-0.018020881339907646,
-0.03420630469918251,
0.0006274632178246975,
-0.022025521844625473,
0.06322140991687775,
0.05269068479537964,
-0.018790291622281075,
0.031721945852041245,
0.024417182430624962,
0.02512170374393463,
0.025863302871584892,
-0.03578220307826996,
0.03926772624254227,
-0.043272364884614944,
-0.04516344517469406,
-0.028792623430490494,
0.010808821767568588,
0.04913100600242615,
-0.03643110394477844,
-0.02195136249065399,
0.034465864300727844,
-0.0285701435059309,
-0.08736049383878708,
-0.02011590264737606,
0.05562000721693039,
-0.023471642285585403,
0.072417251765728,
-0.05057712644338608,
0.048834364861249924,
-0.047536566853523254,
-0.014414851553738117,
0.004315185360610485,
0.041121724992990494,
-0.015193532221019268,
0.030980342999100685,
-0.027958324179053307,
-0.007842420600354671,
0.0579189658164978,
-0.04093632474541664,
0.007814611308276653,
-0.003779842983931303,
-0.026400962844491005,
0.06188652664422989,
0.07482744753360748,
-0.027606062591075897,
0.05554584786295891,
-0.03815532475709915,
0.03930480405688286,
-0.048871446400880814,
-0.016954831779003143,
-0.05435928702354431,
-0.01641717180609703,
-0.044755566865205765,
-0.0057613058015704155,
-0.03107304312288761,
0.028477443382143974,
0.004375440534204245,
-0.002658172743394971,
0.10345321148633957,
0.023156462237238884,
0.007856326177716255,
-0.013849381357431412,
-0.018549272790551186,
-0.0027740478981286287,
0.02708694338798523,
0.021691802889108658,
-0.010502911172807217,
-0.032667484134435654,
-0.0002969297347590327,
-0.03741372376680374,
0.05765940621495247,
-0.06607656925916672,
0.06292476505041122,
0.008398621343076229,
-0.01620396226644516,
0.011318671517074108,
-0.008199316449463367,
0.021228302270174026,
0.048241086304187775,
0.0947023332118988,
-0.03635694459080696,
-0.00813906081020832,
-0.03439170494675636,
-0.05940216779708862,
-0.008088075555860996,
-0.00859329104423523,
-0.012078811414539814,
-0.029997723177075386,
0.004894560668617487,
0.048315245658159256,
0.004903830587863922,
0.014572441577911377,
0.005409045610576868,
0.04356900602579117,
-0.004741605371236801,
0.03507768362760544,
-0.025696443393826485,
-0.010521451011300087,
0.016222501173615456,
0.09284833073616028,
0.049798447638750076,
-0.023193543776869774,
-0.09663049131631851,
-0.058067288249731064,
0.00005464231071528047,
-0.0015596776502206922,
-0.022915443405508995,
-0.03930480405688286,
-0.01168020162731409,
-0.013450771570205688,
0.03429900482296944,
-0.013265371322631836,
-0.0041830879636108875,
0.054581765085458755,
0.03613446280360222,
-0.05302440747618675,
-0.007629211060702801,
0.01750176213681698,
-0.028662843629717827,
-0.044681403785943985,
0.005246820859611034,
0.08224344998598099,
0.003188880393281579,
0.010845901444554329,
0.009807661175727844,
-0.024899223819375038,
0.02528856322169304,
-0.012727711349725723,
0.03819240629673004,
0.0038748604711145163,
-0.0007132107275538146,
0.021395163610577583,
-0.0010110094444826245,
-0.01280187163501978,
-0.057399846613407135,
-0.01824336312711239,
0.014998861588537693,
0.04175208508968353,
0.07549489289522171,
-0.026215562596917152,
-0.025900382548570633,
-0.01017846167087555,
0.06885756552219391,
0.030628083273768425,
-0.0032908504363149405,
-0.025270022451877594,
-0.024250322952866554,
-0.02085750177502632,
-0.054507605731487274,
-0.04861188679933548,
-0.0465724840760231,
0.013960621319711208,
-0.033520326018333435,
0.00339977303519845,
-0.026234103366732597,
0.045497164130210876,
0.026641983538866043,
-0.05417388677597046,
0.032426465302705765,
0.005612985696643591,
0.017344173043966293,
-0.020653562620282173,
-0.017733512446284294,
0.019874881953001022,
-0.024157622829079628,
0.03656088560819626,
-0.04319820553064346,
0.06329556554555893,
0.005640795920044184,
0.02825496345758438,
0.07920289039611816,
0.0014692952390760183,
-0.012338371947407722,
0.0024866778403520584,
-0.01645425148308277,
0.02226654253900051,
-0.019114742055535316,
0.06945084780454636,
0.04438476637005806,
0.0712306872010231,
0.053172726184129715,
-0.048352327197790146,
0.0653720498085022,
-0.039156485348939896,
0.02567790262401104,
0.047610726207494736,
-0.02384244278073311,
0.03166632354259491,
-0.05621328577399254,
-0.04238244518637657,
-0.05498964712023735,
-0.03433608263731003,
0.01460025180131197,
0.02349018305540085,
-0.006373125594109297,
0.03294558450579643,
0.005219010636210442,
0.010623421519994736,
-0.02387952245771885,
0.013117051683366299,
0.0751611664891243,
0.046275846660137177,
-0.018651241436600685,
0.015397472307085991,
-0.012208591215312481,
-0.007337206043303013,
0.03791430592536926,
-0.005483205895870924,
-0.021654723212122917,
0.04927932471036911,
-0.015008131973445415,
0.04942764714360237,
0.02148786187171936,
0.03005334362387657,
0.00990036129951477,
0.02247048355638981,
-0.017742782831192017,
-0.031684864312410355,
-0.02391660213470459,
-0.006618781015276909,
-0.02497338317334652,
-0.03526308387517929,
-0.0006500588497146964,
-0.05154120549559593,
-0.06963624805212021,
0.027568982914090157,
-0.014294342137873173,
0.008825041353702545,
0.012560851871967316,
0.02117268182337284,
0.09952273219823837,
-0.03644964471459389,
0.030813483521342278,
-0.011828521266579628,
-0.022303622215986252,
-0.008746245875954628,
-0.04101048409938812,
-0.027680223807692528,
0.051763687282800674,
-0.021302463486790657,
-0.02476944401860237,
-0.009733500890433788,
-0.050354644656181335,
0.025863302871584892,
-0.06414841115474701,
0.03507768362760544,
-0.034113604575395584,
0.029923563823103905,
0.037042923271656036,
0.03604176267981529,
0.024899223819375038,
0.028681384399533272,
-0.03377988561987877,
0.011930491775274277,
0.01877175271511078,
0.011124001815915108,
0.048241086304187775,
-0.04987260699272156,
-0.034502945840358734,
0.055990807712078094,
-0.035559725016355515,
0.036653585731983185,
-0.01262574177235365,
0.01983780227601528,
0.02371266297996044,
-0.02723526395857334,
-0.027772923931479454,
-0.03726540505886078,
-0.009450766257941723,
-0.06945084780454636,
0.02176596224308014,
0.02849598415195942,
0.000023953538402565755,
-0.01037313137203455,
0.003837780561298132,
-0.03765474632382393,
-0.04508928582072258,
0.034428782761096954,
0.012254941277205944,
-0.016370821744203568,
0.019782181829214096,
-0.03513330593705177,
0.0022560865618288517,
-0.011105461046099663,
-0.0054229507222771645,
-0.03494790568947792,
0.02501046285033226,
0.0013835476711392403,
-0.0003968719393014908,
0.05780772864818573,
0.021988442167639732,
0.01972656324505806,
0.0342433825135231,
0.02434302307665348,
-0.0872863307595253,
0.03452148288488388,
0.001778681529685855,
-0.012431071139872074,
-0.01377522200345993,
-0.023768283426761627,
-0.007921216078102589,
0.03682044520974159,
0.041270043700933456,
-0.027568982914090157,
0.05265360698103905,
-0.03494790568947792,
-0.015573602169752121,
-0.020635021850466728,
0.017807671800255775,
0.01610199175775051,
0.028792623430490494,
0.019986122846603394,
0.006952500902116299,
-0.05543460696935654,
-0.008695261552929878,
-0.004493633285164833,
-0.024250322952866554,
0.04868604615330696,
-0.005464665591716766,
0.013849381357431412,
-0.04516344517469406,
0.02986794337630272,
-0.04601628705859184,
-0.054507605731487274,
0.0020695277489721775,
0.06489000469446182,
0.06885756552219391,
-0.008519130758941174,
0.07964784651994705,
0.08914033323526382,
-0.024176163598895073,
-0.020616482943296432,
0.016639651730656624,
-0.011624581180512905,
-0.09210672974586487,
-0.046053364872932434,
-0.05617620795965195,
-0.04857480525970459,
0.03504060581326485,
-0.010716121643781662,
-0.025492502376437187,
0.0013534202007576823,
-0.008727706037461758,
-0.07660728693008423,
0.009937440976500511,
0.018502922728657722,
0.012876031920313835,
-0.011244511231780052,
0.013710332103073597,
0.021024363115429878,
-0.06737437099218369,
-0.04371732473373413,
0.013515661470592022,
-0.019040582701563835,
-0.022322162985801697,
-0.002609505318105221,
-0.010558531619608402,
0.04998384788632393,
0.002403247868642211,
0.0289594829082489,
-0.04490388557314873,
-0.04000932350754738,
-0.017955992370843887,
-0.034113604575395584,
0.0018864452140405774,
-0.0042711528949439526,
-0.021042902022600174,
-0.06344389170408249,
-0.02148786187171936,
-0.041158806532621384,
-0.040491364896297455,
-0.032426465302705765,
0.004987260792404413,
0.008616466075181961,
0.03072078339755535,
0.011179621331393719,
0.04393980652093887,
0.022173842415213585,
-0.004247977863997221,
-0.0014113576617091894,
0.03511476516723633,
0.01074393093585968,
-0.029330283403396606,
0.03758058324456215,
-0.007360381074249744,
0.05643576756119728,
-0.04093632474541664,
-0.013246831484138966,
-0.026790304109454155,
-0.0579189658164978,
-0.004730018321424723,
-0.0053812358528375626,
0.005191200878471136,
0.008407890796661377,
-0.028162263333797455,
-0.014377771876752377,
0.03882276639342308,
0.02680884301662445,
-0.03882276639342308,
0.0035990779288113117,
-0.027216723188757896,
0.04360608384013176,
0.04516344517469406,
-0.0108644412830472,
0.036301326006650925,
0.03808116540312767,
0.10048681497573853,
0.005895720794796944,
-0.05780772864818573,
-0.042642004787921906,
0.004899195395410061,
-0.04861188679933548,
0.011188891716301441,
0.0003418312990106642,
-0.03848904371261597,
-0.10463977605104446,
-0.019911961629986763,
0.020060282200574875,
0.059476327151060104,
0.039823923259973526,
-0.03429900482296944,
0.005677875597029924,
-0.034465864300727844,
0.03183318302035332,
0.015453091822564602,
-0.006150645669549704,
0.10345321148633957,
0.03377988561987877,
-0.037395182996988297,
0.02430594339966774,
0.00035023223608732224,
-0.02258172258734703,
-0.0543963685631752,
0.04089924693107605,
-0.05513796582818031,
-0.06329556554555893,
-0.034855205565690994,
0.012987271882593632,
-0.005835465621203184,
0.011263051070272923,
0.004451917950063944,
0.04564548656344414,
-0.017983801662921906,
0.049650125205516815,
0.0036431103944778442,
-0.055249206721782684,
0.012940921820700169,
-0.05799312889575958,
0.02399076335132122,
0.03261186555027962,
0.028699923306703568,
0.03635694459080696,
-0.020375462248921394,
-0.07111945003271103,
0.04916808754205704,
-0.0833558514714241,
-0.007091551087796688,
0.04282740503549576,
-0.016037102788686752,
0.006034770980477333,
-0.009983791038393974,
-0.01023408118635416,
0.06285060942173004,
0.055323366075754166,
0.04201164469122887,
-0.020264223217964172,
0.0003267675347160548,
-0.04360608384013176,
0.005418315529823303,
0.05142996832728386,
0.08988193422555923,
0.007490160875022411,
-0.00873697642236948,
0.022414863109588623,
-0.017520302906632423,
-0.023749742656946182,
-0.011142541654407978,
0.03350178524851799,
-0.01708461157977581,
-0.02536272257566452,
0.030238743871450424,
-0.020523782819509506,
0.04082508385181427,
-0.05094792693853378,
-0.015045211650431156,
-0.07964784651994705,
0.03507768362760544,
-0.006526080891489983,
0.003181927837431431,
-0.02736504375934601,
0.03279726579785347,
0.008148331195116043,
0.007527241017669439,
0.010920061729848385,
-0.003353422973304987,
-0.016954831779003143,
0.037005845457315445,
-0.006994215771555901,
-0.02391660213470459,
-0.008013916201889515,
0.0009339526295661926,
-0.05702904611825943,
0.0352260060608387,
-0.007202791050076485,
-0.002822715323418379,
-0.022692963480949402,
0.04208580404520035,
-0.002285055350512266,
-0.002225958975031972,
-0.027272343635559082,
0.020412541925907135,
-0.02853306382894516,
-0.005265360698103905,
0.012746251188218594,
-0.03491082414984703,
0.005622255615890026,
-0.01068831142038107,
0.08580312877893448,
-0.05298732593655586,
0.02050524204969406,
-0.019170362502336502,
0.03639402613043785,
-0.021969903260469437,
-0.10627129673957825,
0.023582883179187775,
0.017409062013030052,
0.02402784302830696,
-0.019745102152228355,
0.01941138319671154,
0.006609510630369186,
0.002278102794662118,
0.09366409480571747,
0.00019727721519302577,
-0.012690631672739983,
0.04497804492712021,
0.08936280757188797,
0.004187723156064749,
0.03276018425822258,
-0.057511087507009506,
-0.02430594339966774,
-0.004778685513883829,
-0.010484371334314346,
0.05224572494626045,
0.023063762113451958,
0.02247048355638981,
0.05428512766957283,
-0.008681355975568295,
-0.06752268970012665,
0.00842179637402296,
-0.025844763964414597,
0.02743920311331749,
-0.017344173043966293,
-0.0360046848654747,
-0.026716142892837524,
-0.0033905028831213713,
-0.032278142869472504,
0.007939755916595459,
0.030498303472995758,
0.00956664141267538,
0.06392592936754227,
0.050354644656181335,
-0.033724263310432434,
0.05406264588236809,
0.023063762113451958,
-0.04353192448616028,
-0.035522643476724625,
0.04201164469122887,
-0.10241497308015823,
-0.04360608384013176,
0.02536272257566452,
-0.021673262119293213,
0.07838712632656097,
0.05065128579735756,
-0.03745080530643463,
-0.024491343647241592,
0.0012387039605528116,
-0.00460487324744463,
-0.0074113658629357815,
0.006382395979017019,
-0.08046361058950424,
-0.01183779165148735,
0.014692951925098896,
-0.06047748774290085,
-0.04876020550727844,
0.022489022463560104,
0.026326803490519524,
0.0016767114866524935,
0.018679052591323853,
-0.021469322964549065,
-0.027995403856039047,
0.001699886517599225,
-0.018150663003325462,
-0.09351576864719391,
0.004076483193784952,
0.02688300423324108,
0.014813462272286415,
0.00020567815226968378,
0.08068609237670898,
-0.027568982914090157,
0.0473511666059494,
-0.005969880614429712,
0.03687606379389763,
0.045348845422267914,
0.02983086369931698,
-0.016648922115564346,
-0.013469311408698559,
0.001571265165694058,
0.004871385637670755,
0.0016222501872107387,
0.03064662404358387,
0.03218544274568558,
0.038414884358644485,
-0.01980072259902954,
-0.013682521879673004,
-0.034465864300727844,
0.04935348778963089,
0.050317566841840744,
-0.008356906473636627,
0.02120976336300373
] |
5,674 | wordcloud.wordcloud | _get_bolean_mask | Cast to two dimensional boolean mask. | def _get_bolean_mask(self, mask):
"""Cast to two dimensional boolean mask."""
if mask.dtype.kind == 'f':
warnings.warn("mask image should be unsigned byte between 0"
" and 255. Got a float array")
if mask.ndim == 2:
boolean_mask = mask == 255
elif mask.ndim == 3:
# if all channels are white, mask out
boolean_mask = np.all(mask[:, :, :3] == 255, axis=-1)
else:
raise ValueError("Got mask of invalid shape: %s" % str(mask.shape))
return boolean_mask
| (self, mask) | [
0.00676531158387661,
-0.05278337746858597,
0.0073511735536158085,
-0.018914973363280296,
-0.023006709292531013,
-0.008620541542768478,
-0.02707984484732151,
0.037160392850637436,
0.01675751432776451,
-0.027489017695188522,
0.041289322078228,
-0.015557891689240932,
-0.03719758987426758,
-0.01580897532403469,
-0.023973846808075905,
-0.009257550351321697,
-0.01691560260951519,
0.03461235761642456,
0.011261570267379284,
0.03528191149234772,
-0.055721987038850784,
-0.02328569069504738,
0.03290126845240593,
0.0519278347492218,
0.005523841828107834,
0.02501537837088108,
-0.018914973363280296,
-0.0447487011551857,
0.031134381890296936,
0.011680043302476406,
-0.035412102937698364,
-0.016590123996138573,
0.03593287244439125,
0.01044322270900011,
-0.011261570267379284,
0.04117773100733757,
0.05583358183503151,
0.11062563210725784,
-0.011810234747827053,
-0.048022087663412094,
-0.012535587884485722,
-0.04489748924970627,
0.014162981882691383,
0.05806543678045273,
0.002281839493662119,
-0.04207047447562218,
0.04303761199116707,
-0.04385595768690109,
0.034482166171073914,
0.061004046350717545,
0.00110372225753963,
-0.002165597165003419,
-0.00930869672447443,
-0.013949096202850342,
-0.07275848090648651,
-0.05151866003870964,
0.007234930992126465,
0.04512067511677742,
-0.04642258957028389,
0.0019214879721403122,
-0.038611095398664474,
0.029795268550515175,
0.0955234095454216,
-0.03481694310903549,
0.05769345909357071,
0.023415882140398026,
-0.07737098634243011,
0.010136342607438564,
-0.014720945619046688,
0.055759184062480927,
-0.07234930992126465,
0.01765955612063408,
-0.007816143333911896,
0.01137316320091486,
-0.054420072585344315,
-0.06799719482660294,
0.05036553367972374,
-0.006583973299711943,
-0.0820578783750534,
0.01476744282990694,
-0.014051388949155807,
0.06792280077934265,
0.026205701753497124,
0.028679341077804565,
0.048245273530483246,
-0.037885744124650955,
-0.014479161240160465,
0.054606061428785324,
0.007681302260607481,
-0.046348195523023605,
0.01634833961725235,
-0.016785411164164543,
0.006314290687441826,
-0.004756641574203968,
-0.004563678987324238,
0.03853670135140419,
0.0009293585317209363,
0.04534386098384857,
-0.0027247234247624874,
-0.02892112545669079,
-0.07082420587539673,
0.05133267119526863,
0.006267793942242861,
-0.011308067478239536,
-0.005230911076068878,
0.05434567853808403,
-0.005630785133689642,
-0.056317150592803955,
-0.03913186490535736,
-0.019398542121052742,
-0.03690000995993614,
-0.013502724468708038,
-0.04132652282714844,
0.03193413093686104,
-0.012619282118976116,
-0.03197132796049118,
-0.005974862724542618,
0.0069838473573327065,
-0.06591412425041199,
-0.0011095342924818397,
0.037123192101716995,
0.07253529876470566,
-0.017752548679709435,
0.00540759926661849,
0.0070117455907166,
0.05527561530470848,
0.05229980871081352,
0.033198848366737366,
0.01766885444521904,
-0.0020214563701301813,
-0.07134497910737991,
0.038276318460702896,
-0.01070360653102398,
0.03799733519554138,
-0.0004071392468176782,
0.02291371487081051,
-0.02728443220257759,
-0.0005419804947450757,
0.0012821543496102095,
0.020607464015483856,
-0.033143050968647,
0.03364522010087967,
0.06126442924141884,
0.0014658174477517605,
-0.029944058507680893,
0.005621485412120819,
0.05899537727236748,
-0.029665077105164528,
0.057619065046310425,
0.03554229438304901,
0.005198363214731216,
-0.03623045235872269,
-0.031320370733737946,
0.06948509812355042,
0.0038964473642408848,
-0.008415954187512398,
0.04686896130442619,
-0.07751977443695068,
0.01952873356640339,
-0.003580268006771803,
-0.05672632157802582,
0.03236190229654312,
-0.027117041870951653,
-0.012619282118976116,
-0.019510135054588318,
-0.03230610489845276,
0.020235488191246986,
-0.0032640884164720774,
0.04303761199116707,
0.021741990000009537,
-0.015697382390499115,
-0.014088586904108524,
-0.05527561530470848,
0.06450062245130539,
-0.034296177327632904,
0.03422178328037262,
-0.020626062527298927,
0.013911898247897625,
-0.02858634665608406,
0.016450634226202965,
0.025852324441075325,
0.029255904257297516,
-0.017343375831842422,
0.006932700518518686,
0.02590811997652054,
0.04300041124224663,
0.0023701838217675686,
-0.0217977873980999,
-0.037327781319618225,
0.03481694310903549,
-0.06345908343791962,
0.038834281265735626,
0.008946020156145096,
0.03418458253145218,
0.015920568257570267,
-0.038053132593631744,
0.02237435057759285,
0.01045252289623022,
-0.03119017742574215,
-0.04433952644467354,
0.022709127515554428,
-0.05114668607711792,
-0.00046467926586046815,
0.015595088712871075,
0.0018087327480316162,
-0.04478589817881584,
-0.022634733468294144,
0.038239121437072754,
0.044265132397413254,
-0.004863584879785776,
-0.005858620163053274,
0.007778945844620466,
-0.07089860737323761,
0.056317150592803955,
0.04292601719498634,
0.00010490882414160296,
0.003987116739153862,
0.0417356938123703,
-0.029051316902041435,
0.054606061428785324,
-0.02670786902308464,
-0.014934832230210304,
0.01231240201741457,
0.03652803227305412,
-0.03909466415643692,
0.07253529876470566,
-0.004831037018448114,
0.018728986382484436,
0.06937350332736969,
-0.027005448937416077,
0.018189620226621628,
-0.020440075546503067,
-0.04493468627333641,
-0.03593287244439125,
-0.002968832617625594,
0.026763664558529854,
0.053304143249988556,
-0.0357096865773201,
0.041066139936447144,
-0.003945269156247377,
0.061004046350717545,
-0.012935461476445198,
0.03710459545254707,
-0.004212626721709967,
0.039206258952617645,
-0.04958438500761986,
-0.014581454917788506,
0.003766255918890238,
0.01540910080075264,
0.014786041341722012,
-0.06104124337434769,
-0.014776742085814476,
0.05624275282025337,
0.04437672346830368,
0.021500205621123314,
0.03345923125743866,
-0.03119017742574215,
-0.011019785888493061,
-0.0326966792345047,
0.013930496759712696,
0.0021005014423280954,
0.02709844335913658,
0.05051432549953461,
0.002803768264129758,
-0.0394294448196888,
-0.03667682409286499,
-0.021165428683161736,
0.03256648778915405,
0.04121492803096771,
-0.03727198392152786,
0.07294446974992752,
-0.012024120427668095,
-0.03331043943762779,
-0.03931785002350807,
-0.03007424995303154,
-0.03528191149234772,
0.013772407546639442,
0.05735868215560913,
0.008797230198979378,
0.006821108050644398,
-0.023081103339791298,
-0.0050077252089977264,
-0.006388685666024685,
0.0074209189042449,
0.026019712910056114,
-0.019603129476308823,
0.006974548101425171,
0.012675078585743904,
0.00957837887108326,
-0.054048094898462296,
0.036211851984262466,
0.024885186925530434,
-0.013521323911845684,
-0.043483980000019073,
-0.05021674558520317,
0.015306808054447174,
0.01223800703883171,
-0.07599467039108276,
0.04969597980380058,
-0.024550408124923706,
0.024810791015625,
0.003540745470672846,
-0.023043906316161156,
0.013102850876748562,
0.042740028351545334,
0.008039329200983047,
-0.010582714341580868,
0.002643353771418333,
0.04076855629682541,
0.040917348116636276,
0.008243915624916553,
-0.0996895357966423,
0.025647737085819244,
-0.06517017632722855,
0.026094108819961548,
-0.039392247796058655,
0.08637280017137527,
-0.005323905032128096,
-0.009066912345588207,
0.031115783378481865,
0.00882977806031704,
0.012693677097558975,
-0.016850506886839867,
0.00699779624119401,
-0.020756253972649574,
-0.04393035173416138,
-0.023973846808075905,
0.018552297726273537,
-0.011215073056519032,
0.0753251165151596,
-0.015083622187376022,
-0.02027268521487713,
-0.0005172789678908885,
0.007207032758742571,
0.054643258452415466,
-0.027191437780857086,
0.05512682721018791,
0.012303102761507034,
-0.03308725357055664,
-0.09143166989088058,
-0.034314773976802826,
0.013586419634521008,
0.02536875568330288,
0.018933571875095367,
0.04872884228825569,
0.02706124633550644,
-0.04712934419512749,
0.04642258957028389,
0.01709229126572609,
0.043149203062057495,
0.05055152252316475,
-0.02202097326517105,
-0.00263172946870327,
-0.0035895672626793385,
0.04958438500761986,
0.017752548679709435,
-0.04605061560869217,
0.02328569069504738,
0.061747997999191284,
0.0263172946870327,
0.04381876066327095,
-0.024773593991994858,
0.051407068967819214,
-0.01277737133204937,
0.02990686148405075,
0.024029642343521118,
-0.07253529876470566,
0.015660185366868973,
0.0004216695379000157,
-0.004586927592754364,
0.023211294785141945,
0.008978568017482758,
-0.07022904604673386,
-0.037160392850637436,
0.01223800703883171,
-0.03182253614068031,
-0.07260969281196594,
-0.015734579414129257,
-0.0024108686484396458,
0.03401719406247139,
-0.01861739344894886,
-0.0029107113368809223,
0.027712203562259674,
-0.011131378822028637,
0.04478589817881584,
0.003382655791938305,
0.0018133824924007058,
0.0023457729257643223,
-0.02685665898025036,
-0.051593054085969925,
0.011103480122983456,
-0.05352732911705971,
-0.007155886385589838,
-0.059664931148290634,
-0.04924960806965828,
0.013205143623054028,
-0.01082449872046709,
0.07670142501592636,
0.02873513661324978,
-0.039020270109176636,
-0.004373041447252035,
0.02574073150753975,
-0.028325963765382767,
-0.0018749909941107035,
0.015650885179638863,
0.012163611128926277,
-0.02497818134725094,
0.01345622818917036,
0.006067856680601835,
0.00517511460930109,
0.019844913855195045,
0.012907563708722591,
0.0140234911814332,
0.029032718390226364,
-0.004075460601598024,
0.07037784159183502,
0.005519192200154066,
-0.0005146635230630636,
0.019472938030958176,
0.00883442722260952,
0.020030900835990906,
-0.015092921443283558,
0.01579967513680458,
-0.035839878022670746,
-0.009341244585812092,
0.030948393046855927,
-0.008546145632863045,
0.00780684407800436,
-0.028325963765382767,
0.042740028351545334,
-0.03528191149234772,
-0.031896933913230896,
-0.036974404007196426,
-0.0315435566008091,
-0.01082449872046709,
0.0027549464721232653,
0.0011571937939152122,
-0.0068536559119820595,
-0.0217977873980999,
0.011056982912123203,
0.010173540562391281,
0.03782994672656059,
0.006788560189306736,
-0.0639798492193222,
0.014414065517485142,
-0.05862339958548546,
-0.030371831730008125,
0.04757571592926979,
0.001398396911099553,
-0.02313690073788166,
-0.01035022921860218,
-0.04500908404588699,
0.05174184590578079,
0.007062891963869333,
0.06059487164020538,
0.011494055390357971,
-0.08138832449913025,
-0.010750102810561657,
-0.019268350675702095,
0.018877776339650154,
0.013316736556589603,
-0.07625506073236465,
-0.10675708204507828,
0.012191509827971458,
0.00450555793941021,
-0.03842511028051376,
0.05579638481140137,
-0.055164024233818054,
0.02858634665608406,
0.008555445820093155,
-0.0037406824994832277,
-0.08964619040489197,
-0.009866660460829735,
-0.013558520935475826,
0.038834281265735626,
0.029441891238093376,
0.00819276925176382,
0.06531896442174911,
-0.007174484897404909,
-0.019640326499938965,
-0.05694950744509697,
0.012293803505599499,
-0.041289322078228,
-0.030911196023225784,
-0.05694950744509697,
-0.041475310921669006,
-0.024011043831706047,
0.04303761199116707,
0.013893299736082554,
-0.044860292226076126,
0.014618652872741222,
0.01342832949012518,
-0.022839318960905075,
-0.010471121408045292,
0.01840350776910782,
-0.017520064488053322,
-0.037495169788599014,
0.030985591933131218,
0.04601341858506203,
0.05315535515546799,
-0.021146830171346664,
-0.023992445319890976,
-0.08600082248449326,
0.01709229126572609,
-0.005993461702018976,
-0.0526345893740654,
-0.015836874023079872,
-0.04683176428079605,
-0.010006151162087917,
-0.00006244399992283434,
-0.02821437083184719,
0.027582012116909027,
-0.07387441396713257,
0.007904487662017345,
-0.017361974343657494,
-0.0033919550478458405,
0.006244545336812735,
-0.003268738044425845,
0.01843140460550785,
-0.022839318960905075,
-0.0008718185126781464,
0.06688126176595688,
-0.037867143750190735,
0.03762536123394966,
-0.01335393451154232,
-0.012061318382620811,
0.04575303569436073,
0.007602257188409567,
0.03968982771039009,
-0.009299397468566895,
-0.0140234911814332,
-0.03344063088297844,
0.049547187983989716,
0.027712203562259674,
-0.053266946226358414,
-0.005774925462901592,
0.03502152860164642,
-0.010833797976374626,
-0.08250425010919571,
-0.02761920914053917,
-0.01859879493713379,
-0.050142351537942886,
0.05568479001522064,
0.004479984752833843,
0.03593287244439125,
0.05278337746858597,
-0.015362604521214962,
-0.00408243527635932,
0.030595017597079277,
-0.0380159355700016,
0.02501537837088108,
0.0011996222892776132,
0.0007340711890719831,
-0.04121492803096771,
0.038648296147584915,
0.019249752163887024,
0.021500205621123314,
0.04456271231174469,
-0.056689124554395676,
-0.023732062429189682,
-0.057433076202869415,
-0.09723449498414993,
-0.02200237289071083,
0.03258508816361427,
-0.11189034581184387,
-0.01091749221086502,
-0.029665077105164528,
0.03894587606191635,
-0.004670622292906046,
0.009457486681640148,
-0.03762536123394966,
0.004826386924833059,
0.0002929310139734298,
-0.02691245637834072,
0.05468045547604561,
0.07632945477962494,
-0.005602886900305748,
-0.026596276089549065,
-0.018487202003598213,
0.0296836756169796,
0.01956593245267868,
-0.02841895818710327,
0.030781004577875137,
-0.007760346867144108,
-0.03667682409286499,
-0.026559079065918922,
-0.023806456476449966,
-0.0016797035932540894,
-0.027749400585889816,
0.02988826297223568,
0.11196473985910416,
0.0830250158905983,
0.03652803227305412,
-0.024959582835435867,
-0.015204514376819134,
-0.022820720449090004,
-0.006742062978446484,
-0.01804083026945591,
0.07472995668649673,
0.011819534003734589,
0.04028498753905296,
-0.029776670038700104,
-0.032622285187244415,
-0.0010589688317850232,
-0.05624275282025337,
-0.039392247796058655,
0.021184027194976807,
-0.017622357234358788,
0.010768702253699303,
-0.0238808523863554,
0.0013623617123812437,
0.010257234796881676,
-0.029032718390226364,
0.03782994672656059,
0.01975191943347454,
0.005110018886625767,
-0.010136342607438564,
0.04028498753905296,
-0.045790232717990875,
0.008908822201192379,
0.0001295377005590126,
0.010266534984111786,
0.06078086048364639,
-0.0338498055934906,
0.011122078634798527,
-0.10043349117040634,
0.01878478191792965,
-0.023229895159602165,
-0.013484125956892967,
-0.01845000497996807,
0.03174814209342003,
0.01672031544148922,
-0.0057981740683317184,
-0.027358826249837875,
-0.030520621687173843,
0.008276463486254215,
0.016813309863209724,
0.02462480403482914,
-0.03388700261712074,
0.06461220979690552,
-0.039615433663129807,
0.01476744282990694,
0.004677596967667341,
-0.017957136034965515,
0.012061318382620811,
-0.048245273530483246,
0.033961400389671326,
-0.016478531062602997,
-0.027024047449231148,
-0.012265904806554317,
-0.0871911495923996,
0.07952844351530075,
0.0009084348566830158,
0.015678783878684044,
-0.001500690239481628,
0.10913772881031036,
0.05527561530470848,
0.048208076506853104,
-0.017389873042702675,
-0.03442636877298355,
-0.04716654121875763,
-0.016673820093274117,
-0.013521323911845684,
-0.015595088712871075,
-0.022448744624853134,
0.03310585394501686,
0.007681302260607481,
-0.019305547699332237,
0.03647223487496376,
-0.013437628746032715,
0.008104424923658371,
0.010127043351531029,
-0.0867447778582573,
-0.09329155087471008,
0.08585203438997269,
0.006639769766479731,
-0.012535587884485722,
0.020365679636597633,
0.0428888201713562,
-0.028679341077804565,
0.02875373698771,
0.015539293177425861,
0.00019325310131534934,
0.047687310725450516,
0.045418255031108856,
-0.009596978314220905,
0.027024047449231148,
0.027563413605093956,
0.010889594443142414,
0.04151250794529915,
-0.014795340597629547,
-0.022634733468294144,
0.05341573804616928,
0.07108458876609802,
0.04181009158492088,
0.060632068663835526,
-0.032454896718263626,
0.027377424761652946,
-0.038239121437072754,
0.006449131760746241,
-0.01521381363272667,
-0.05620555579662323,
-0.06643489003181458,
0.0026666021440178156,
-0.0007828929810784757,
0.0011647494975477457,
0.015883371233940125,
0.005626135505735874,
-0.0006393335643224418,
0.007165185641497374,
0.019417140632867813,
0.052708983421325684,
0.0635334849357605,
-0.05025394260883331,
-0.017771147191524506,
-0.03502152860164642,
-0.02743322215974331,
-0.028883928433060646,
-0.0018970770761370659,
-0.02633589319884777,
-0.003026953898370266,
0.01805013045668602,
0.0000816603351267986,
0.04969597980380058,
-0.03381260856986046,
-0.03065081313252449,
-0.017919939011335373,
-0.02856774814426899,
-0.01711089164018631,
-0.02010529674589634,
0.026763664558529854,
-0.013084251433610916,
0.01185673102736473,
0.05371331796050072,
-0.007067542057484388,
-0.022616134956479073,
0.046162206679582596,
-0.035839878022670746,
-0.05155585706233978,
0.008253214880824089,
0.03894587606191635,
-0.07729659229516983,
0.002764245728030801,
0.008309011347591877,
-0.008671687915921211,
-0.002785169519484043,
0.045790232717990875,
-0.04772450774908066,
0.029460489749908447,
-0.03139476478099823,
0.034686751663684845,
0.00387784861959517,
0.025815127417445183,
-0.04642258957028389,
0.05769345909357071,
-0.01806872896850109,
0.04363277181982994,
-0.027321629226207733,
-0.014953430742025375,
-0.015901969745755196,
0.04400474578142166,
-0.01841280609369278,
-0.007853341288864613,
0.026001114398241043,
-0.030316034331917763,
0.002913036150857806,
-0.026019712910056114,
-0.004933330230414867
] |
5,675 | wordcloud.wordcloud | fit_words | Create a word_cloud from words and frequencies.
Alias to generate_from_frequencies.
Parameters
----------
frequencies : dict from string to float
A contains words and associated frequency.
Returns
-------
self
| def fit_words(self, frequencies):
"""Create a word_cloud from words and frequencies.
Alias to generate_from_frequencies.
Parameters
----------
frequencies : dict from string to float
A contains words and associated frequency.
Returns
-------
self
"""
return self.generate_from_frequencies(frequencies)
| (self, frequencies) | [
0.002507242374122143,
-0.01660618744790554,
-0.04767194762825966,
-0.009342053905129433,
-0.0127336997538805,
0.042554426938295364,
-0.03194158151745796,
-0.01966296136379242,
0.057975683361291885,
0.09197801351547241,
0.00799398124217987,
0.021277213469147682,
-0.03343562036752701,
-0.04231400787830353,
0.0011323376093059778,
0.003310075029730797,
-0.02857569232583046,
-0.006886329967528582,
-0.0020865064579993486,
-0.03853597119450569,
0.007208321709185839,
0.01840934157371521,
-0.0124675203114748,
0.047809332609176636,
0.020435741171240807,
-0.008826866745948792,
-0.03438013046979904,
-0.010595674626529217,
-0.036612607538700104,
-0.01278521865606308,
-0.0237844567745924,
0.0008291287231259048,
0.06570348888635635,
0.014116117730736732,
0.027030132710933685,
-0.060895077884197235,
0.041421014815568924,
-0.01895887404680252,
-0.03623480349779129,
-0.01095630507916212,
-0.038398586213588715,
-0.0047826506197452545,
0.01597079075872898,
0.008835453540086746,
0.021191349253058434,
0.06941283494234085,
0.016563255339860916,
0.03585699945688248,
-0.022238895297050476,
0.011334109120070934,
-0.023423824459314346,
-0.06810769438743591,
-0.02555326372385025,
-0.02962324023246765,
-0.04794671759009361,
0.06824507564306259,
0.014064598828554153,
-0.012914014980196953,
0.025948241353034973,
-0.020521607249975204,
0.041867513209581375,
-0.007109577301889658,
0.04145536199212074,
-0.04622942581772804,
-0.02854134701192379,
0.06429530680179596,
0.016297074034810066,
0.0328860878944397,
0.012673594988882542,
0.03860466182231903,
0.00817000400274992,
-0.016314247623085976,
-0.0302414633333683,
0.023028848692774773,
-0.028901977464556694,
0.06693993508815765,
-0.02622300758957863,
-0.01220992673188448,
0.04344741627573967,
0.0016121052904054523,
-0.02380162850022316,
0.021775227040052414,
0.01792849972844124,
-0.018615415319800377,
0.025724992156028748,
0.022479316219687462,
-0.001348072080872953,
0.010672952979803085,
0.03815816715359688,
-0.009737029671669006,
-0.07652240991592407,
0.06470745801925659,
0.05725442245602608,
0.006057737860828638,
0.033590178936719894,
-0.00851346179842949,
-0.02375010959804058,
-0.044786904007196426,
0.023629900068044662,
0.04701938107609749,
0.008307387121021748,
0.033555831760168076,
0.046057697385549545,
0.01667487807571888,
0.022754082456231117,
-0.06079204007983208,
-0.024694619700312614,
-0.08181165903806686,
0.004941499792039394,
0.07714062929153442,
-0.035891346633434296,
0.0016593306791037321,
0.09561866521835327,
0.0569453127682209,
-0.02265104465186596,
-0.025158287957310677,
-0.004495004657655954,
0.02974344976246357,
-0.0036020141560584307,
0.021878264844417572,
-0.01598796248435974,
-0.060311198234558105,
0.002472896594554186,
-0.03139204904437065,
0.004765477497130632,
0.04269181191921234,
0.014614131301641464,
-0.02730489894747734,
0.0571170412003994,
-0.01773959770798683,
0.03343562036752701,
-0.023028848692774773,
0.04348176345229149,
-0.018649760633707047,
0.039463307708501816,
-0.041214942932128906,
0.07123316079378128,
0.014871724881231785,
0.022839946672320366,
0.04595465958118439,
0.008273040875792503,
0.049732696264982224,
0.050179190933704376,
0.040768448263406754,
-0.030189944431185722,
0.06783292442560196,
-0.016511736437678337,
-0.03743690624833107,
-0.020521607249975204,
0.017499176785349846,
-0.0010470098350197077,
0.0328860878944397,
0.054438069462776184,
0.021569153293967247,
-0.043653491884469986,
-0.0231662318110466,
0.028283754363656044,
-0.04464951902627945,
0.023544035851955414,
0.009376399219036102,
0.024265296757221222,
0.006439834833145142,
-0.06903503090143204,
0.01840934157371521,
0.00725554721429944,
0.013669622130692005,
0.047912370413541794,
0.011256830766797066,
0.0014146170578897,
0.008221521973609924,
0.015884924679994583,
0.01163463480770588,
-0.012896842323243618,
-0.0005634855479001999,
-0.0110078239813447,
0.02435116097331047,
-0.013214540667831898,
0.028300926089286804,
0.009659752249717712,
0.07157661765813828,
-0.040115877985954285,
-0.0320102721452713,
-0.04574858397245407,
-0.07246960699558258,
0.025312842801213264,
0.02618866041302681,
-0.008676604367792606,
0.10276258736848831,
-0.018048709258437157,
-0.0054094609804451466,
-0.00712675042450428,
-0.06237194687128067,
0.04152405261993408,
0.027631184086203575,
0.03511856496334076,
0.0308596882969141,
-0.03547919541597366,
-0.02491786703467369,
-0.04197055101394653,
0.02792312391102314,
-0.037127792835235596,
0.010080487467348576,
0.03192440792918205,
-0.04925185441970825,
0.02077919989824295,
0.05509063974022865,
-0.03915419429540634,
0.05536540597677231,
-0.03491248935461044,
-0.027064478024840355,
0.023647073656320572,
-0.08119343221187592,
0.0022303294390439987,
0.016400111839175224,
0.027734221890568733,
-0.05186213552951813,
-0.018529551103711128,
-0.043069615960121155,
-0.03408819064497948,
-0.06529133766889572,
0.04440909996628761,
0.05254904925823212,
-0.02373293787240982,
-0.01725875772535801,
0.00018675520550459623,
0.018701279535889626,
0.0560523197054863,
-0.03511856496334076,
-0.020401395857334137,
0.007006539963185787,
0.013214540667831898,
-0.023647073656320572,
-0.007650523446500301,
-0.033590178936719894,
0.02266821824014187,
-0.12687332928180695,
0.02249648980796337,
0.019903382286429405,
0.0772780179977417,
-0.03753994405269623,
0.04224531725049019,
-0.0047311317175626755,
-0.02199847437441349,
0.013085744343698025,
-0.02325209602713585,
0.038329895585775375,
-0.021758055314421654,
0.022221723571419716,
0.04767194762825966,
0.006457007490098476,
-0.02921109087765217,
-0.04348176345229149,
-0.04001284018158913,
0.0069593144580721855,
0.03231938183307648,
-0.0226338729262352,
0.00167006382253021,
-0.042485736310482025,
0.033504314720630646,
0.005332183092832565,
-0.003320808056741953,
0.11045604199171066,
0.008809694088995457,
0.13566584885120392,
-0.025226978585124016,
-0.01250186562538147,
-0.006791878957301378,
0.006718894001096487,
-0.027562491595745087,
0.021740881726145744,
-0.07095839083194733,
0.07947614789009094,
0.034723587334156036,
-0.029485857114195824,
-0.03312651067972183,
0.020521607249975204,
0.05120956525206566,
0.0014124703593552113,
-0.0110078239813447,
0.0546441450715065,
0.034259919077157974,
-0.021723708137869835,
-0.012321550399065018,
-0.03027580864727497,
0.04677895829081535,
0.03860466182231903,
0.00040973449358716607,
0.029348473995923996,
0.04688199609518051,
-0.04921751096844673,
-0.006757533177733421,
0.016151105985045433,
0.05883432924747467,
-0.011857882142066956,
0.0017580748535692692,
-0.022170204669237137,
0.01095630507916212,
-0.040802791714668274,
-0.0007078451453708112,
-0.0018171067349612713,
0.008148537017405033,
0.02555326372385025,
0.06511960923671722,
0.054953254759311676,
0.02728772535920143,
0.025141114369034767,
0.021105485036969185,
-0.023337960243225098,
-0.0037587168626487255,
-0.01632283441722393,
-0.056086666882038116,
0.0028227942530065775,
-0.0040699755772948265,
0.011763431131839752,
-0.006499939598143101,
0.03314368426799774,
0.03620045632123947,
0.011419973336160183,
0.0026253059040755033,
0.045508164912462234,
0.030189944431185722,
-0.036440879106521606,
-0.001097991829738021,
-0.009685511700809002,
0.007375757209956646,
-0.00725554721429944,
0.01702692359685898,
-0.016133932396769524,
0.03798643872141838,
-0.039497651159763336,
0.039463307708501816,
-0.016279902309179306,
0.009445090778172016,
-0.016211209818720818,
-0.04684764891862869,
-0.017670907080173492,
0.058628253638744354,
0.04653853923082352,
0.010252216830849648,
-0.03997849300503731,
-0.021826745942234993,
-0.0024578701704740524,
-0.044271714985370636,
0.03547919541597366,
-0.006534285377711058,
0.003597720991820097,
-0.0032821691129356623,
-0.07329390197992325,
0.05368246138095856,
-0.044958632439374924,
0.0035676683764904737,
-0.04622942581772804,
0.027631184086203575,
0.038364242762327194,
0.08084997534751892,
0.019216466695070267,
-0.0023119007237255573,
0.04286354035139084,
-0.021723708137869835,
-0.03881073743104935,
0.012982706539332867,
-0.02802615985274315,
-0.03391646221280098,
0.020933756604790688,
0.006280985195189714,
0.05873129144310951,
-0.012716527096927166,
0.009324880316853523,
-0.04114624857902527,
0.018821490928530693,
0.05601797625422478,
-0.055468443781137466,
-0.02903936058282852,
0.05474718287587166,
0.0523429773747921,
0.015266701579093933,
-0.056189704686403275,
0.02019532211124897,
-0.006890622898936272,
0.02974344976246357,
-0.0523429773747921,
0.03367604315280914,
0.022153031080961227,
-0.00008465699647786096,
0.029537374153733253,
-0.0009541688486933708,
-0.04293223097920418,
-0.03685302659869194,
0.05327031388878822,
0.010466878302395344,
0.00028979257331229746,
-0.01782546192407608,
-0.017567869275808334,
0.02321775071322918,
-0.03681868314743042,
0.018632588908076286,
-0.08332287520170212,
-0.02383597381412983,
-0.003020282369107008,
-0.007629057392477989,
-0.013300404883921146,
-0.038879428058862686,
-0.10921959578990936,
0.046675920486450195,
-0.029554547742009163,
0.05701400339603424,
-0.017104201018810272,
0.021689362823963165,
0.019216466695070267,
0.06518829613924026,
-0.016460217535495758,
0.0015552201075479388,
0.004576575942337513,
-0.021672191098332405,
-0.05519367754459381,
-0.034208402037620544,
-0.0592464804649353,
-0.0029580306727439165,
-0.006293864920735359,
0.01752493716776371,
0.037849053740501404,
-0.01897604577243328,
0.05766657367348671,
0.017353208735585213,
0.01895887404680252,
-0.005001605022698641,
-0.03963503614068031,
-0.04052802547812462,
0.07590418308973312,
-0.06302451342344284,
-0.07611025869846344,
-0.01399590726941824,
-0.043103959411382675,
-0.05584624782204628,
-0.00852204766124487,
-0.01660618744790554,
-0.04592031612992287,
0.006409781984984875,
-0.015215182676911354,
-0.04351611062884331,
0.006727480795234442,
-0.04506167024374008,
0.018100228160619736,
-0.018065882846713066,
-0.0334184505045414,
-0.02792312391102314,
-0.01775677129626274,
-0.027717048302292824,
-0.009118805639445782,
-0.055468443781137466,
0.04567989334464073,
-0.007538899779319763,
0.011651807464659214,
0.016460217535495758,
0.1000836193561554,
0.05223993957042694,
-0.028987841680645943,
-0.05783830210566521,
-0.00009921369928633794,
0.0226338729262352,
0.003093267325311899,
-0.02077919989824295,
0.004318982362747192,
0.015017694793641567,
-0.008449062705039978,
0.03135770186781883,
-0.008835453540086746,
0.016219796612858772,
0.03994414955377579,
-0.03352148458361626,
0.07720932364463806,
0.014974762685596943,
0.055640172213315964,
-0.0392572320997715,
-0.014760101214051247,
0.0018203265499323606,
0.006800465285778046,
0.033624522387981415,
0.05804437771439552,
-0.04561120271682739,
0.029451509937644005,
-0.0040291897021234035,
-0.01665770635008812,
0.0167092252522707,
-0.049011435359716415,
-0.00896424986422062,
-0.030430365353822708,
-0.06161633878946304,
0.03647522255778313,
0.03144356608390808,
0.019869036972522736,
0.028833286836743355,
0.05289250984787941,
-0.06113549694418907,
-0.028953496366739273,
0.022187376394867897,
0.018718453124165535,
0.022822774946689606,
-0.04866797849535942,
0.04234835132956505,
-0.049595315009355545,
-0.0014682823093608022,
-0.06965325027704239,
-0.011943746358156204,
0.05485021695494652,
-0.00581731740385294,
0.0058903018943965435,
0.006113549694418907,
-0.02735641784965992,
-0.03314368426799774,
-0.057426150888204575,
-0.10393034666776657,
0.012381655164062977,
-0.0018353528575971723,
0.024849174544215202,
-0.019302330911159515,
-0.06900068372488022,
0.0072254943661391735,
-0.058525215834379196,
0.006834811065346003,
0.01692388579249382,
0.04238269850611687,
-0.00715680280700326,
-0.012192754074931145,
0.04677895829081535,
-0.06271540373563766,
0.03027580864727497,
-0.03915419429540634,
0.05162171646952629,
0.024694619700312614,
0.018563896417617798,
-0.015678850933909416,
0.0195427518337965,
0.017104201018810272,
0.041317980736494064,
0.03396798297762871,
-0.04804975166916847,
-0.0831167995929718,
0.046057697385549545,
0.008449062705039978,
-0.031237490475177765,
-0.02495221234858036,
0.03843293339014053,
-0.03206178918480873,
0.019800344482064247,
0.0034903904888778925,
0.01962861604988575,
-0.06893198937177658,
0.049045782536268234,
0.011806363239884377,
-0.02732207253575325,
-0.021225694566965103,
-0.028043333441019058,
0.02136307768523693,
0.018271958455443382,
-0.006057737860828638,
-0.027150342240929604,
0.0016292781801894307,
0.018134575337171555,
-0.02077919989824295,
-0.005911768414080143,
-0.02072768099606037,
0.06003643199801445,
0.004658147227019072,
-0.029279781505465508,
0.012665008194744587,
-0.0794074535369873,
0.04166143760085106,
-0.04286354035139084,
-0.04870232194662094,
0.022960158064961433,
0.029606066644191742,
0.018666934221982956,
0.03568527102470398,
-0.04282919317483902,
0.05584624782204628,
0.01394438836723566,
-0.0604829266667366,
-0.026463426649570465,
-0.057941339910030365,
-0.024076394736766815,
0.02921109087765217,
-0.0500418096780777,
0.022118685767054558,
-0.0158248208463192,
-0.030722305178642273,
-0.010355253703892231,
0.00026577734388411045,
-0.027528146281838417,
0.01700975000858307,
0.043138306587934494,
-0.0022754082456231117,
0.013686795718967915,
0.0006139309261925519,
-0.010741644538939,
-0.02677254006266594,
-0.012561970390379429,
-0.013532239012420177,
-0.020933756604790688,
-0.0534076951444149,
-0.02022966742515564,
0.07569810748100281,
-0.056224048137664795,
0.010767403990030289,
0.0438595674932003,
0.04337872564792633,
-0.0030159892048686743,
0.019903382286429405,
0.011694739572703838,
-0.0036363599356263876,
-0.04282919317483902,
-0.0044606588780879974,
-0.004151546861976385,
-0.0033272479195147753,
0.026549290865659714,
0.019353849813342094,
0.0073499977588653564,
-0.0643640011548996,
0.015180837363004684,
-0.06055161729454994,
0.034706417471170425,
-0.04705372452735901,
-0.008367491886019707,
0.0013362657045945525,
-0.014416643418371677,
-0.03867335245013237,
-0.008358905091881752,
-0.043069615960121155,
-0.04231400787830353,
-0.02146611548960209,
0.006620150059461594,
-0.02383597381412983,
0.015386912040412426,
-0.041283633559942245,
-0.0016722104046493769,
0.11718782037496567,
-0.048942744731903076,
0.02210151217877865,
-0.009788548573851585,
-0.005259198136627674,
-0.007015126757323742,
0.04859928414225578,
-0.015326806344091892,
-0.008582153357565403,
-0.017636559903621674,
-0.05409461259841919,
-0.00699795363470912,
0.001980249071493745,
0.00445636548101902,
-0.0011055049253627658,
-0.050866108387708664,
0.0037136380560696125,
0.01962861604988575,
0.01075023040175438,
0.021036792546510696,
-0.03561658039689064,
0.010552742518484592,
-0.0350155271589756,
-0.004282489884644747,
-0.04341307282447815,
0.0025759339332580566,
0.014450988732278347,
0.029520202428102493,
-0.03915419429540634,
-0.019783172756433487,
0.006401195656508207,
0.05522802099585533,
-0.007238374091684818,
-0.04681330546736717,
0.018014363944530487,
0.018855836242437363,
0.04832451790571213,
0.01683802157640457,
-0.02089940942823887,
-0.02019532211124897,
0.09094763547182083,
-0.024832002818584442,
0.01847803220152855,
0.04179881885647774,
-0.002906512003391981,
0.009573887102305889,
0.018581070005893707,
0.017061268910765648,
0.002008155221119523,
-0.04454648122191429,
0.022135857492685318,
-0.04210793226957321,
0.004593748599290848,
-0.04379087686538696,
-0.00773209473118186,
-0.003964791540056467,
-0.0015831260243430734,
0.002818501088768244,
-0.009101632982492447,
-0.014107530936598778,
0.059212133288383484,
-0.050247881561517715,
-0.10530417412519455,
0.07343129068613052,
-0.004855635110288858,
0.030533403158187866,
0.042417045682668686,
-0.006203707307577133,
-0.03970372676849365,
-0.035444848239421844,
-0.029932351782917976,
-0.012536211870610714,
0.0038681940641254187,
-0.016365766525268555,
0.03144356608390808,
0.05965862795710564,
0.022307587787508965,
-0.0056713479571044445,
0.04162709042429924,
-0.02982931397855282,
-0.02326926961541176,
0.018014363944530487,
0.04887405037879944,
0.05292685329914093,
-0.027837257832288742,
0.0557088628411293,
0.024127913638949394,
-0.00403992272913456,
-0.020950928330421448,
-0.042451389133930206,
-0.008230108767747879,
-0.022994503378868103,
0.047878023236989975,
-0.046023350208997726,
-0.06669951230287552,
0.012347309850156307,
-0.037746015936136246,
-0.02977779507637024,
0.03857031464576721,
-0.0475689135491848,
0.0328860878944397,
0.03520442917943001,
-0.01685519330203533,
0.0320102721452713,
-0.006482766941189766,
-0.01244176086038351,
0.018787143751978874,
0.002350539667531848,
0.0167092252522707,
0.004003430716693401,
-0.023561207577586174,
0.02189543843269348,
0.014090358279645443,
-0.0010330567602068186,
0.01959427073597908,
0.04107755795121193,
0.02383597381412983,
-0.015764715149998665,
-0.015266701579093933,
0.0010614994680508971,
0.02503807656466961,
-0.005366528872400522,
-0.02503807656466961,
-0.025450225919485092,
-0.06893198937177658,
-0.02910805307328701,
-0.09184063225984573,
-0.0066029769368469715,
0.030773824080824852,
0.008981422521173954,
0.029468683525919914,
0.06817638128995895,
0.0583534874022007
] |
5,676 | wordcloud.wordcloud | generate | Generate wordcloud from text.
The input "text" is expected to be a natural text. If you pass a sorted
list of words, words will appear in your output twice. To remove this
duplication, set ``collocations=False``.
Alias to generate_from_text.
Calls process_text and generate_from_frequencies.
Returns
-------
self
| def generate(self, text):
"""Generate wordcloud from text.
The input "text" is expected to be a natural text. If you pass a sorted
list of words, words will appear in your output twice. To remove this
duplication, set ``collocations=False``.
Alias to generate_from_text.
Calls process_text and generate_from_frequencies.
Returns
-------
self
"""
return self.generate_from_text(text)
| (self, text) | [
0.0015527057694271207,
-0.03392726555466652,
-0.04480050876736641,
0.0007715141400694847,
0.0014892641920596361,
0.00030134752159938216,
-0.02954011969268322,
0.0072043826803565025,
0.09806562960147858,
0.008008693344891071,
0.017032451927661896,
0.04628009721636772,
-0.06534267961978912,
-0.022744344547390938,
-0.035441264510154724,
0.0038903667591512203,
-0.018443219363689423,
0.014830276370048523,
-0.033583175390958786,
-0.03578535094857216,
0.004606503993272781,
0.003243047511205077,
0.002851645229384303,
0.02613363042473793,
0.062349095940589905,
-0.0099183926358819,
-0.027286332100629807,
-0.01342810969799757,
-0.04607364162802696,
-0.027647625654935837,
-0.01964753493666649,
-0.02799171581864357,
0.030039051547646523,
0.014210914261639118,
0.02283036708831787,
-0.02855946496129036,
0.023742204532027245,
-0.021626051515340805,
-0.025995993986725807,
-0.021746482700109482,
0.0034538027830421925,
-0.014451776631176472,
0.004298973362892866,
-0.02210777811706066,
0.02489490620791912,
0.033686403185129166,
0.02799171581864357,
0.025703517720103264,
-0.10611733794212341,
-0.033067043870687485,
-0.014262527227401733,
-0.03339392691850662,
-0.008056005463004112,
-0.003763483604416251,
-0.053953301161527634,
0.0159829780459404,
0.022228209301829338,
-0.031363796442747116,
0.008111920207738876,
0.003150573465973139,
0.029557324945926666,
0.005716193933039904,
0.06912766396999359,
-0.005251672584563494,
0.00046989781549200416,
0.050650037825107574,
0.014529197476804256,
0.009161394089460373,
0.014210914261639118,
0.0685771256685257,
0.02123034931719303,
-0.003978539723902941,
0.022331437095999718,
-0.0025097059551626444,
-0.0013838866725564003,
0.034873515367507935,
0.021281961351633072,
0.024258339777588844,
0.08733002096414566,
-0.03561330586671829,
-0.02303682081401348,
0.04235747084021568,
0.044043511152267456,
-0.03929506987333298,
0.03994883969426155,
-0.03356597200036049,
-0.0015204474329948425,
-0.018907740712165833,
0.022021755576133728,
0.00330541399307549,
-0.0433209203183651,
0.023518547415733337,
0.04149724543094635,
0.01840881071984768,
-0.018598061054944992,
-0.033686403185129166,
0.004040906205773354,
-0.06627172231674194,
0.013496927917003632,
0.025892768055200577,
0.019664740189909935,
0.055604930967092514,
0.031776703894138336,
-0.02195293828845024,
0.01549264881759882,
-0.06465449929237366,
-0.019888397306203842,
-0.037918709218502045,
-0.00017325465159956366,
0.08285685628652573,
-0.02195293828845024,
0.007922670803964138,
0.10302052646875381,
-0.014443174935877323,
0.022606708109378815,
-0.07769550383090973,
-0.029006781056523323,
0.022486276924610138,
-0.03093368373811245,
0.001057538902387023,
-0.04032734036445618,
-0.09015156328678131,
-0.024860497564077377,
-0.0097893588244915,
-0.031570252031087875,
0.014167902991175652,
0.006473192013800144,
-0.037196122109889984,
0.03674880415201187,
-0.008511924184858799,
0.007707614451646805,
-0.011681852862238884,
0.027234718203544617,
-0.04521341621875763,
0.04005206748843193,
-0.046933867037296295,
0.10432806611061096,
0.00023024455003906041,
0.0046366117894649506,
0.07143306732177734,
0.05247371271252632,
0.018856128677725792,
0.05756624415516853,
0.038228392601013184,
-0.03540685400366783,
0.06348459422588348,
-0.02143680304288864,
-0.03612944111227989,
0.005264576058834791,
0.019062582403421402,
-0.012120568193495274,
0.012980792671442032,
0.07728260010480881,
0.007019434589892626,
-0.02050776034593582,
-0.023983068764209747,
0.00506672402843833,
-0.03108852542936802,
0.019940011203289032,
0.0002149217907572165,
0.04246069863438606,
0.024206725880503654,
-0.04091229289770126,
0.043080057948827744,
0.005445223301649094,
0.04115315526723862,
0.05746302008628845,
-0.026770196855068207,
-0.011423785239458084,
-0.017858266830444336,
0.0027742250822484493,
0.012714123353362083,
-0.029161620885133743,
0.0053505985997617245,
-0.022537890821695328,
0.04049938544631004,
-0.029006781056523323,
0.10838832706212997,
0.04032734036445618,
0.07329115271568298,
-0.04772527143359184,
-0.02489490620791912,
-0.05457266420125961,
-0.04249510541558266,
0.02226261794567108,
-0.017669018357992172,
0.04246069863438606,
0.06221145763993263,
0.0038624093867838383,
0.02190132439136505,
-0.010830230079591274,
-0.031467024236917496,
0.03423694893717766,
0.021729279309511185,
0.07638796418905258,
0.025290610268712044,
-0.06241791322827339,
0.0008322675130330026,
-0.029660552740097046,
0.06448245048522949,
-0.017557188868522644,
0.00550113758072257,
0.013316280208528042,
-0.0438026487827301,
0.031828317791223526,
0.05526084452867508,
-0.02933366596698761,
0.036370307207107544,
-0.046933867037296295,
0.027768056839704514,
0.007561376318335533,
-0.03186272829771042,
0.04892958700656891,
0.02083464525640011,
0.027441171929240227,
-0.07191479206085205,
-0.005062423180788755,
-0.0012634552549570799,
-0.03898539021611214,
-0.03148422762751579,
0.05632752180099487,
0.06148887053132057,
-0.012352828867733479,
-0.028112147003412247,
0.019509898498654366,
-0.0013225956354290247,
0.0314498208463192,
-0.011828090995550156,
-0.017927085980772972,
-0.044559646397829056,
0.031071320176124573,
-0.03175950050354004,
-0.021161530166864395,
0.014967911876738071,
0.03674880415201187,
-0.1273820847272873,
0.009144189767539501,
-0.010081835091114044,
0.016937827691435814,
-0.059252284467220306,
-0.005871034227311611,
0.021746482700109482,
-0.0019000215688720345,
0.024963723495602608,
-0.050237130373716354,
0.03929506987333298,
-0.03798752650618553,
0.05577697604894638,
0.06668462604284286,
0.014718446880578995,
-0.02226261794567108,
-0.03743698447942734,
-0.07494278997182846,
-0.01835719682276249,
0.019509898498654366,
-0.01608620397746563,
-0.0018172248965129256,
-0.07707614451646805,
0.02078303135931492,
0.0438370555639267,
0.00688179861754179,
0.07205243408679962,
-0.011544217355549335,
0.1366036981344223,
0.02778526209294796,
-0.03516599163413048,
-0.0071656727232038975,
0.020490555092692375,
-0.05887378752231598,
0.03623266890645027,
-0.027716442942619324,
0.04906722530722618,
0.02272713929414749,
-0.041875746101140976,
-0.024137908592820168,
0.024464793503284454,
0.013617359101772308,
0.03784989193081856,
-0.026735788211226463,
0.023415319621562958,
0.025342224165797234,
-0.011380773968994617,
-0.014400163665413857,
-0.061110369861125946,
0.037505801767110825,
-0.001392488949932158,
-0.016688361763954163,
0.0004325317859183997,
-0.0073334164917469025,
-0.0515446700155735,
0.015045331791043282,
0.009600109420716763,
0.007105457130819559,
-0.016524918377399445,
0.024654043838381767,
-0.012481861747801304,
-0.00506672402843833,
-0.011286149732768536,
-0.050133902579545975,
-0.018030311912298203,
0.009058167226612568,
0.024705657735466957,
0.02030130662024021,
0.03943270444869995,
0.0017419552896171808,
0.04886076971888542,
-0.003210789058357477,
-0.020404532551765442,
0.01675717905163765,
-0.06221145763993263,
-0.07384169846773148,
-0.015268990769982338,
-0.023415319621562958,
0.058839377015829086,
-0.031105728819966316,
0.013402302749454975,
0.048379044979810715,
-0.014675435610115528,
0.007587182801216841,
0.023793818429112434,
-0.01593136414885521,
-0.032447680830955505,
-0.022400254383683205,
-0.008778594434261322,
-0.016327066347002983,
-0.05646515637636185,
-0.018030311912298203,
0.024516407400369644,
0.01368617732077837,
0.01031409576535225,
0.03421974182128906,
0.02577233500778675,
0.0037054184358567,
0.03396167606115341,
-0.034254152327775955,
-0.02695944532752037,
0.04032734036445618,
0.0007150619057938457,
0.012800144962966442,
-0.057497426867485046,
-0.005238769110292196,
0.024292748421430588,
-0.0685771256685257,
0.019888397306203842,
0.019114196300506592,
0.053230710327625275,
0.019630329683423042,
-0.07872777432203293,
0.056774839758872986,
-0.026976650580763817,
0.05212962254881859,
-0.008735583163797855,
0.0198539886623621,
0.017393745481967926,
0.08409558236598969,
-0.006025874987244606,
-0.0048688724637031555,
0.013058212585747242,
-0.03127777576446533,
-0.026615355163812637,
0.018013108521699905,
-0.03356597200036049,
-0.00559576228260994,
0.03939829766750336,
-0.00966892670840025,
0.016258249059319496,
-0.02824978344142437,
0.019974419847130775,
-0.05099412798881531,
0.03754021227359772,
0.008460311219096184,
-0.05457266420125961,
-0.019630329683423042,
0.03036593645811081,
0.04810377210378647,
-0.0013688327744603157,
-0.051991987973451614,
0.0048688724637031555,
0.0067011513747274876,
0.03960474953055382,
-0.03630148619413376,
0.047346774488687515,
0.042701561003923416,
-0.020094851031899452,
0.01937226392328739,
0.005582859273999929,
-0.011501206085085869,
0.0014333495637401938,
0.03057239018380642,
-0.04263274371623993,
-0.02339811436831951,
-0.014881889335811138,
-0.007423740345984697,
-0.004791452083736658,
0.03526921942830086,
-0.026718582957983017,
-0.0489639975130558,
-0.03150143474340439,
-0.010245277546346188,
0.029006781056523323,
0.009505484253168106,
0.00526027474552393,
-0.08209985494613647,
0.03592298924922943,
-0.04387146607041359,
0.001475285622291267,
0.012008738704025745,
0.03434017673134804,
0.027183104306459427,
0.07914068549871445,
-0.012352828867733479,
-0.004825861193239689,
-0.028266986832022667,
-0.05254253372550011,
0.000966677616816014,
-0.031071320176124573,
-0.021367983892560005,
0.04511018842458725,
-0.03922625258564949,
0.03442619740962982,
0.027183104306459427,
0.03514878451824188,
0.07205243408679962,
0.025686312466859818,
0.025634700432419777,
-0.011286149732768536,
-0.013256064616143703,
-0.034770287573337555,
0.030434753745794296,
-0.0396735705435276,
-0.04297683387994766,
-0.024602429941296577,
-0.03186272829771042,
-0.009574302472174168,
0.008159232325851917,
-0.013935642316937447,
-0.033325109630823135,
-0.029557324945926666,
0.01198293175548315,
-0.024034680798649788,
0.033015429973602295,
-0.04345855861902237,
-0.00066990009509027,
0.0053893085569143295,
0.04411232843995094,
0.008722679689526558,
-0.03268854320049286,
-0.038675706833601,
0.058839377015829086,
-0.03788430243730545,
0.054675888270139694,
0.05505438894033432,
0.02824978344142437,
0.010322697460651398,
0.05243930593132973,
-0.0022150790318846703,
0.009686131961643696,
-0.04421555623412132,
0.022847570478916168,
0.049514539539813995,
-0.026615355163812637,
0.02639169804751873,
0.005987164564430714,
-0.002533362014219165,
-0.007492558099329472,
0.03437458351254463,
-0.04954895004630089,
0.03984561562538147,
0.005690386984497309,
-0.0505124032497406,
0.052921030670404434,
-0.011234535835683346,
-0.016060397028923035,
-0.036060623824596405,
-0.020129261538386345,
-0.04572955146431923,
-0.03485630825161934,
0.030864866450428963,
0.05089090019464493,
-0.03795311972498894,
0.017772244289517403,
-0.014159300364553928,
-0.025342224165797234,
-0.005079627502709627,
-0.0675448551774025,
0.006103294901549816,
0.005019411910325289,
-0.032654132694005966,
0.05192317068576813,
-0.03747139498591423,
-0.0054538254626095295,
0.019630329683423042,
0.026254061609506607,
-0.048791952431201935,
-0.07363524287939072,
0.022950798273086548,
0.01146679650992155,
0.006451686378568411,
-0.06279641389846802,
-0.0032989622559398413,
-0.019630329683423042,
0.04514459893107414,
-0.05340275540947914,
-0.030021846294403076,
0.046933867037296295,
0.002068840665742755,
0.04142842814326286,
-0.0016989440191537142,
-0.021763687953352928,
-0.008253857493400574,
-0.05505438894033432,
-0.09813445061445236,
0.02623685635626316,
0.006907605566084385,
0.013901232741773129,
-0.021746482700109482,
-0.06190177798271179,
-0.039570342749357224,
-0.09028919786214828,
0.0073463199660182,
-0.0035527285654097795,
0.010271084494888783,
-0.07652559876441956,
-0.01665395312011242,
0.03480469807982445,
-0.029815392568707466,
0.028473442420363426,
-0.02814655564725399,
0.03464985638856888,
0.0355788990855217,
0.03052077628672123,
-0.006903304252773523,
0.027148695662617683,
0.021092712879180908,
0.004817259032279253,
0.03294660896062851,
-0.06974703073501587,
-0.024344362318515778,
0.04996185749769211,
0.024860497564077377,
-0.0012967889197170734,
-0.03571653366088867,
0.02231423184275627,
-0.047966137528419495,
0.013393700122833252,
0.01923462748527527,
0.031208956614136696,
-0.05818560719490051,
0.0350627638399601,
0.02881753072142601,
0.0025828250218182802,
-0.034047696739435196,
-0.031570252031087875,
-0.007849551737308502,
0.044662874191999435,
0.04067143052816391,
-0.0141765046864748,
-0.012430248782038689,
0.032241225242614746,
0.01151841040700674,
-0.013385098427534103,
0.00588823901489377,
0.010073232464492321,
0.005105434451252222,
0.02150562033057213,
0.07143306732177734,
-0.0664781779050827,
0.05804797261953354,
-0.028077738359570503,
-0.06675344705581665,
0.06850830465555191,
-0.05254253372550011,
0.004941991530358791,
0.023157251998782158,
-0.04831022769212723,
0.07914068549871445,
0.0314498208463192,
-0.0510285347700119,
0.00026519119273871183,
-0.041772518306970596,
-0.018013108521699905,
0.03108852542936802,
0.014142096042633057,
0.03341113030910492,
-0.02541104145348072,
-0.048585496842861176,
0.0013376496499404311,
-0.020886259153485298,
-0.0037806881591677666,
-0.015501251444220543,
0.026047607883810997,
0.009118382818996906,
0.015105548314750195,
0.00226884288713336,
-0.04490373656153679,
0.008843110874295235,
0.04335533082485199,
-0.006666742265224457,
-0.017875472083687782,
-0.08099877089262009,
-0.03387565538287163,
0.10646142065525055,
-0.04903281480073929,
0.07301588356494904,
0.039054207503795624,
0.05371243879199028,
-0.007815142162144184,
-0.036886438727378845,
0.027974510565400124,
0.023226071149110794,
-0.022038960829377174,
-0.030641207471489906,
-0.05171671509742737,
-0.03788430243730545,
0.002819386776536703,
-0.002126905834302306,
0.02566910907626152,
-0.02773364819586277,
0.0484478622674942,
-0.06334695965051651,
0.05223285034298897,
-0.011200127191841602,
-0.0011742068454623222,
0.007178576197475195,
-0.0015494800172746181,
-0.009436666034162045,
-0.025995993986725807,
-0.06114478036761284,
0.020473351702094078,
0.020817440003156662,
-0.001071517588570714,
-0.03526921942830086,
0.01381521113216877,
-0.02783687599003315,
-0.022124983370304108,
0.10116244107484818,
-0.06885239481925964,
0.03134659305214882,
-0.009763551875948906,
-0.007918369956314564,
-0.01882172003388405,
0.05443502590060234,
-0.011681852862238884,
0.004139831755310297,
-0.028112147003412247,
-0.03334231302142143,
0.0010317321866750717,
0.00032500369707122445,
0.024568021297454834,
-0.002888204762712121,
-0.011991534382104874,
0.002094647381454706,
0.04903281480073929,
0.0014946406008675694,
-0.016275454312562943,
-0.010219470597803593,
-0.021075507625937462,
-0.01680019125342369,
0.003911872394382954,
-0.038847751915454865,
0.008090414106845856,
0.018426015973091125,
-0.017927085980772972,
-0.027716442942619324,
-0.039054207503795624,
0.0008037725929170847,
0.059252284467220306,
0.012851758860051632,
-0.03459824249148369,
0.025634700432419777,
0.013135633431375027,
0.059974875301122665,
0.029608938843011856,
-0.036163851618766785,
0.0035656318068504333,
0.011991534382104874,
0.03365199640393257,
0.004911883734166622,
0.027922898530960083,
0.004873173777014017,
0.0005134466919116676,
0.007311910856515169,
-0.03901979699730873,
-0.022658322006464005,
-0.03495953604578972,
0.01691202074289322,
-0.03236165642738342,
-0.025325018912553787,
-0.011604432947933674,
-0.01820235699415207,
-0.06472331285476685,
0.01856365241110325,
0.020955076441168785,
-0.014133493416011333,
0.012206589803099632,
0.08746766299009323,
0.004709730856120586,
-0.11795403063297272,
0.03272295370697975,
0.0022903485223650932,
0.026684174314141273,
0.03416813164949417,
-0.011200127191841602,
-0.001148400129750371,
-0.05409093573689461,
-0.00858504418283701,
-0.018580855801701546,
0.015957171097397804,
0.036576759070158005,
0.0029957329388707876,
0.035647716373205185,
0.023277683183550835,
-0.013273268938064575,
0.03826279938220978,
0.024860497564077377,
-0.007883960381150246,
0.01820235699415207,
0.055742569267749786,
0.027802465483546257,
-0.03702407702803612,
0.026219652965664864,
0.018236765637993813,
-0.023105638101696968,
-0.0198539886623621,
-0.05508879944682121,
0.03444340080022812,
-0.06055982783436775,
0.009780756197869778,
-0.027613217011094093,
-0.056361932307481766,
-0.0288691446185112,
-0.008193641901016235,
-0.0014570057392120361,
0.019096991047263145,
-0.02171207405626774,
-0.0021602394990622997,
0.03778107464313507,
-0.025015337392687798,
-0.004980701953172684,
-0.024344362318515778,
-0.06640935689210892,
-0.008808702230453491,
-0.04101552069187164,
0.011096900328993797,
0.01587114855647087,
-0.02166046015918255,
0.05629311129450798,
0.04978981241583824,
-0.0011032383190467954,
0.05030594766139984,
0.060594238340854645,
-0.015225979499518871,
0.003318317234516144,
-0.004400049801915884,
-0.041221972554922104,
0.048791952431201935,
0.015045331791043282,
-0.032860588282346725,
-0.02535942755639553,
-0.06317491084337234,
-0.04397469386458397,
-0.07022875547409058,
0.008464612066745758,
0.003189283423125744,
0.03891656920313835,
0.0237077958881855,
0.06025014817714691,
0.05742860957980156
] |
5,677 | wordcloud.wordcloud | generate_from_frequencies | Create a word_cloud from words and frequencies.
Parameters
----------
frequencies : dict from string to float
A contains words and associated frequency.
max_font_size : int
Use this font-size instead of self.max_font_size
Returns
-------
self
| def generate_from_frequencies(self, frequencies, max_font_size=None): # noqa: C901
"""Create a word_cloud from words and frequencies.
Parameters
----------
frequencies : dict from string to float
A contains words and associated frequency.
max_font_size : int
Use this font-size instead of self.max_font_size
Returns
-------
self
"""
# make sure frequencies are sorted and normalized
frequencies = sorted(frequencies.items(), key=itemgetter(1), reverse=True)
if len(frequencies) <= 0:
raise ValueError("We need at least 1 word to plot a word cloud, "
"got %d." % len(frequencies))
frequencies = frequencies[:self.max_words]
# largest entry will be 1
max_frequency = float(frequencies[0][1])
frequencies = [(word, freq / max_frequency)
for word, freq in frequencies]
if self.random_state is not None:
random_state = self.random_state
else:
random_state = Random()
if self.mask is not None:
boolean_mask = self._get_bolean_mask(self.mask)
width = self.mask.shape[1]
height = self.mask.shape[0]
else:
boolean_mask = None
height, width = self.height, self.width
occupancy = IntegralOccupancyMap(height, width, boolean_mask)
# create image
img_grey = Image.new("L", (width, height))
draw = ImageDraw.Draw(img_grey)
img_array = np.asarray(img_grey)
font_sizes, positions, orientations, colors = [], [], [], []
last_freq = 1.
if max_font_size is None:
# if not provided use default font_size
max_font_size = self.max_font_size
if max_font_size is None:
# figure out a good font size by trying to draw with
# just the first two words
if len(frequencies) == 1:
# we only have one word. We make it big!
font_size = self.height
else:
self.generate_from_frequencies(dict(frequencies[:2]),
max_font_size=self.height)
# find font sizes
sizes = [x[1] for x in self.layout_]
try:
font_size = int(2 * sizes[0] * sizes[1]
/ (sizes[0] + sizes[1]))
# quick fix for if self.layout_ contains less than 2 values
# on very small images it can be empty
except IndexError:
try:
font_size = sizes[0]
except IndexError:
raise ValueError(
"Couldn't find space to draw. Either the Canvas size"
" is too small or too much of the image is masked "
"out.")
else:
font_size = max_font_size
# we set self.words_ here because we called generate_from_frequencies
# above... hurray for good design?
self.words_ = dict(frequencies)
if self.repeat and len(frequencies) < self.max_words:
# pad frequencies with repeating words.
times_extend = int(np.ceil(self.max_words / len(frequencies))) - 1
# get smallest frequency
frequencies_org = list(frequencies)
downweight = frequencies[-1][1]
for i in range(times_extend):
frequencies.extend([(word, freq * downweight ** (i + 1))
for word, freq in frequencies_org])
# start drawing grey image
for word, freq in frequencies:
if freq == 0:
continue
# select the font size
rs = self.relative_scaling
if rs != 0:
font_size = int(round((rs * (freq / float(last_freq))
+ (1 - rs)) * font_size))
if random_state.random() < self.prefer_horizontal:
orientation = None
else:
orientation = Image.ROTATE_90
tried_other_orientation = False
while True:
if font_size < self.min_font_size:
# font-size went too small
break
# try to find a position
font = ImageFont.truetype(self.font_path, font_size)
# transpose font optionally
transposed_font = ImageFont.TransposedFont(
font, orientation=orientation)
# get size of resulting text
box_size = draw.textbbox((0, 0), word, font=transposed_font, anchor="lt")
# find possible places using integral image:
result = occupancy.sample_position(box_size[3] + self.margin,
box_size[2] + self.margin,
random_state)
if result is not None:
# Found a place
break
# if we didn't find a place, make font smaller
# but first try to rotate!
if not tried_other_orientation and self.prefer_horizontal < 1:
orientation = (Image.ROTATE_90 if orientation is None else
Image.ROTATE_90)
tried_other_orientation = True
else:
font_size -= self.font_step
orientation = None
if font_size < self.min_font_size:
# we were unable to draw any more
break
x, y = np.array(result) + self.margin // 2
# actually draw the text
draw.text((y, x), word, fill="white", font=transposed_font)
positions.append((x, y))
orientations.append(orientation)
font_sizes.append(font_size)
colors.append(self.color_func(word, font_size=font_size,
position=(x, y),
orientation=orientation,
random_state=random_state,
font_path=self.font_path))
# recompute integral image
if self.mask is None:
img_array = np.asarray(img_grey)
else:
img_array = np.asarray(img_grey) + boolean_mask
# recompute bottom right
# the order of the cumsum's is important for speed ?!
occupancy.update(img_array, x, y)
last_freq = freq
self.layout_ = list(zip(frequencies, font_sizes, positions,
orientations, colors))
return self
| (self, frequencies, max_font_size=None) | [
0.028225289657711983,
-0.05440229922533035,
-0.021568382158875465,
0.013866851106286049,
0.038118477910757065,
0.007727134041488171,
-0.03795461729168892,
-0.008223841898143291,
0.013303574174642563,
0.021486449986696243,
0.007491582073271275,
0.044406697154045105,
-0.0062011657282710075,
-0.037934135645627975,
-0.029044602066278458,
0.0473971851170063,
0.037524476647377014,
0.0030058498959988356,
-0.015331370756030083,
-0.07230426371097565,
0.006324062589555979,
-0.012648125179111958,
0.00713313277810812,
0.010640811175107956,
0.020380379632115364,
-0.040617380291223526,
-0.04325966164469719,
-0.0005059890099801123,
-0.04024868831038475,
0.0004474210145417601,
-0.004572783596813679,
-0.05767954885959625,
0.05550837144255638,
-0.013815644197165966,
-0.007066563703119755,
-0.05386974662542343,
0.06423404067754745,
-0.004938913509249687,
0.004524136893451214,
-0.008986826054751873,
0.008459393866360188,
-0.01492171548306942,
0.070378877222538,
0.004229696933180094,
-0.017758581787347794,
0.05346009135246277,
-0.02670956403017044,
0.015945855528116226,
-0.0491996705532074,
-0.03172784671187401,
0.004698240663856268,
-0.10265976190567017,
-0.03854861855506897,
0.02259252220392227,
-0.02716018445789814,
0.048339392989873886,
-0.018024858087301254,
-0.027324046939611435,
0.03217846900224686,
-0.07148495316505432,
0.01583319902420044,
-0.016007304191589355,
0.0658726617693901,
-0.020769553259015083,
-0.02990487962961197,
0.028757842257618904,
0.060178447514772415,
0.016396475955843925,
-0.005351129919290543,
0.04272710904479027,
-0.0015464508906006813,
0.041457176208496094,
0.029597636312246323,
-0.017451340332627296,
-0.051411811262369156,
0.01269933208823204,
0.014471094124019146,
0.0005853598704561591,
0.0632098987698555,
-0.01818872056901455,
0.0020009130239486694,
0.10151272267103195,
0.0578434094786644,
-0.026095079258084297,
0.04960932582616806,
-0.0029162378050386906,
0.00981125794351101,
0.03529185429215431,
0.0005082293064333498,
-0.030396465212106705,
-0.028061427175998688,
-0.004524136893451214,
0.08123476058244705,
0.01805558241903782,
-0.03211702033877373,
-0.02898315340280533,
-0.01551571674644947,
-0.06681487709283829,
0.043956074863672256,
0.00866934284567833,
-0.011654709465801716,
-0.00584271689876914,
0.04653690755367279,
-0.014092162251472473,
0.008715428411960602,
-0.023903420194983482,
-0.03572199121117592,
-0.024886595085263252,
0.007578633725643158,
0.060956794768571854,
-0.004949155263602734,
-0.007967806421220303,
0.08000579476356506,
-0.01417409349232912,
0.005899044685065746,
-0.061817072331905365,
-0.05595899373292923,
0.0017371969297528267,
0.007256029639393091,
0.03088805265724659,
-0.02062617428600788,
-0.10798528790473938,
-0.010231155902147293,
-0.008198237977921963,
-0.02597218193113804,
0.010113379918038845,
-0.007138253655284643,
0.006359907332807779,
0.06861735880374908,
0.008894653059542179,
-0.010092896409332752,
-0.014952439814805984,
0.043095797300338745,
0.02376004122197628,
0.030539846047759056,
-0.023084107786417007,
0.031051915138959885,
0.018536929041147232,
-0.0029264790937304497,
0.06402921676635742,
0.046495940536260605,
0.004519016481935978,
0.0320555716753006,
0.05845789238810539,
-0.020585207268595695,
0.0652991458773613,
0.030089223757386208,
-0.033735159784555435,
-0.01008265558630228,
-0.019714688882231712,
-0.0013941101497039199,
0.041580069810152054,
0.009437447413802147,
0.005771026946604252,
-0.00010545438271947205,
-0.056122854351997375,
0.01194146927446127,
-0.004175929818302393,
-0.014850025996565819,
0.06210383027791977,
0.03901972249150276,
-0.006344545166939497,
-0.021547898650169373,
-0.005602044053375721,
-0.014122886583209038,
0.06107969209551811,
0.04989608749747276,
-0.002029076684266329,
0.03744254633784294,
0.005776147823780775,
-0.020912932232022285,
-0.048339392989873886,
-0.022285278886556625,
-0.013795161619782448,
-0.02820480801165104,
0.05620478466153145,
-0.04981415346264839,
0.03246522694826126,
-0.005694216582924128,
0.08205407112836838,
-0.006554494146257639,
-0.05268174409866333,
-0.07373806089162827,
-0.03803654760122299,
-0.005765906535089016,
0.06296411156654358,
0.05849885940551758,
0.040740277618169785,
0.03215798735618591,
-0.007937083020806313,
-0.027959013357758522,
-0.032035090029239655,
0.029413292184472084,
-0.012637883424758911,
0.045594699680805206,
0.04924063757061958,
-0.019079722464084625,
-0.04469345510005951,
-0.029024118557572365,
-0.03244474530220032,
-0.02113824337720871,
-0.018086306750774384,
-0.017123615369200706,
-0.052722711116075516,
-0.01857789419591427,
0.002816384192556143,
-0.022469624876976013,
0.059522997587919235,
-0.026361355558037758,
0.015730785205960274,
-0.014419887214899063,
-0.08221793174743652,
0.009314550086855888,
0.05423843860626221,
0.04477538913488388,
-0.06603652983903885,
-0.03183026239275932,
0.011839054524898529,
-0.07132108509540558,
-0.03682806342840195,
-0.018506204709410667,
0.0730416402220726,
0.006738839205354452,
-0.05259981378912926,
0.006462321616709232,
-0.0037278684321790934,
0.05378781631588936,
0.01643744297325611,
0.0312977097928524,
0.00750694377347827,
0.03559909388422966,
-0.023678109049797058,
0.020574966445565224,
0.015525957569479942,
0.025234801694750786,
-0.08774828910827637,
0.007681047543883324,
-0.005269198678433895,
0.037872686982154846,
0.008858808316290379,
0.0005191108211874962,
0.009493774734437466,
-0.0231045912951231,
-0.01426626555621624,
-0.027918048202991486,
0.04612725228071213,
0.011316743679344654,
0.028491565957665443,
-0.018239928409457207,
-0.025234801694750786,
-0.05632768198847771,
-0.04268614202737808,
-0.05976879224181175,
-0.03109288029372692,
0.014737370423972607,
-0.04862615093588829,
-0.04182586446404457,
-0.015136784873902798,
0.034329161047935486,
0.009114842861890793,
0.052067261189222336,
0.07844910025596619,
-0.02054424211382866,
0.09823548048734665,
0.01351864356547594,
-0.013621058315038681,
-0.006334303878247738,
0.046823665499687195,
-0.09962830692529678,
0.015331370756030083,
0.01983758620917797,
0.06460273265838623,
0.005596923641860485,
0.005031086038798094,
-0.0015016448451206088,
0.042850006371736526,
0.06296411156654358,
0.05882658436894417,
0.00012601718481164426,
0.0321989506483078,
0.026340872049331665,
0.014471094124019146,
0.01410240400582552,
-0.017625443637371063,
0.010681777261197567,
0.02167079597711563,
-0.027180667966604233,
0.005924648139625788,
0.03736061602830887,
-0.04016675800085068,
0.030130188912153244,
0.04358738660812378,
0.059195272624492645,
0.032096538692712784,
-0.005499630235135555,
-0.01663202792406082,
0.029290394857525826,
-0.0030519363936036825,
-0.05980975925922394,
-0.017369410023093224,
0.023022660985589027,
-0.003825161838904023,
0.06222672760486603,
0.020185792818665504,
0.0020994863007217646,
0.02427211031317711,
0.02617701143026352,
-0.03822089359164238,
0.04448862746357918,
-0.060956794768571854,
-0.03973662108182907,
-0.021384036168456078,
0.0506744310259819,
0.058089204132556915,
-0.005694216582924128,
0.0037253082264214754,
0.039163101464509964,
-0.0004535018524620682,
0.0426451750099659,
0.04940449818968773,
-0.00644695945084095,
-0.001714153797365725,
-0.02427211031317711,
-0.03873296454548836,
0.040084827691316605,
-0.03795461729168892,
0.029147015884518623,
0.03750399500131607,
0.044406697154045105,
-0.00016098195919767022,
-0.0077783409506082535,
0.014471094124019146,
-0.029761498793959618,
-0.018803205341100693,
-0.046577874571084976,
-0.03152301907539368,
0.016847098246216774,
0.019059238955378532,
0.03162543475627899,
-0.10560928285121918,
-0.012811987660825253,
-0.01247402187436819,
-0.04305483400821686,
0.05960493162274361,
0.046823665499687195,
0.010773949325084686,
0.03789316862821579,
-0.055016785860061646,
0.031174812465906143,
-0.022408176213502884,
0.019223101437091827,
-0.011920985765755177,
0.007291874382644892,
0.010384776629507542,
0.026914391666650772,
0.010133862495422363,
-0.024886595085263252,
-0.016345269978046417,
-0.018219444900751114,
0.004301386885344982,
-0.034472543746232986,
0.011204088106751442,
-0.040678828954696655,
0.03985951840877533,
-0.01929479092359543,
0.024149214848876,
-0.016058510169386864,
-0.005412578117102385,
-0.02238769456744194,
-0.0004896667669527233,
0.05399264395236969,
-0.02292024716734886,
-0.04016675800085068,
0.032751988619565964,
0.06251348555088043,
-0.02486611157655716,
-0.07218136638402939,
0.021568382158875465,
0.004076076205819845,
0.01031308714300394,
-0.027405977249145508,
0.054279401898384094,
-0.012043883092701435,
0.049117740243673325,
-0.00916605070233345,
-0.01800437644124031,
-0.019806861877441406,
-0.01439940370619297,
0.008239204064011574,
-0.04123186320066452,
-0.06775708496570587,
-0.019940000027418137,
0.014081920497119427,
0.00533576775342226,
0.029986809939146042,
0.01194146927446127,
-0.04016675800085068,
0.023739557713270187,
-0.03594730421900749,
0.05132988095283508,
-0.000053047235269332305,
-0.0030340137891471386,
-0.11486750841140747,
0.027774669229984283,
-0.02826625481247902,
0.02689390815794468,
0.0006848933990113437,
0.02167079597711563,
0.0011527972528710961,
0.059318169951438904,
-0.014225300401449203,
0.007143374532461166,
-0.03459543734788895,
-0.025275766849517822,
-0.061161622405052185,
-0.033612266182899475,
-0.10069341212511063,
0.0024528144858777523,
-0.03103143349289894,
0.032035090029239655,
-0.00897146388888359,
0.04543083533644676,
0.06075196713209152,
0.011777606792747974,
-0.03062177635729313,
0.020124344155192375,
-0.027590323239564896,
0.014604232273995876,
-0.009119964204728603,
-0.026607148349285126,
-0.03869199752807617,
-0.0019356240518391132,
-0.027979496866464615,
0.001625821809284389,
-0.015505474992096424,
-0.006800287403166294,
-0.011726399883627892,
-0.02650473453104496,
-0.040801726281642914,
-0.09053394943475723,
0.021691279485821724,
-0.02617701143026352,
0.025644458830356598,
0.05640961602330208,
0.025890251621603966,
0.006585218012332916,
-0.05178050324320793,
0.00266788387671113,
-0.015403061173856258,
-0.024989008903503418,
0.03809799626469612,
0.042522281408309937,
0.02060569077730179,
0.03398095443844795,
0.059645894914865494,
0.002980246441438794,
-0.017441099509596825,
-0.01256619393825531,
0.033550817519426346,
0.046045321971178055,
-0.011142639443278313,
0.03768834099173546,
-0.019407447427511215,
-0.0022070209961384535,
0.013959024101495743,
-0.0003194035671185702,
-0.010108258575201035,
0.03574247658252716,
0.00866934284567833,
0.017656167969107628,
0.051411811262369156,
-0.0016885503428056836,
0.030130188912153244,
-0.048462290316820145,
-0.02605411410331726,
-0.015300647355616093,
-0.017164580523967743,
0.06517624855041504,
0.043546419590711594,
-0.03643888980150223,
0.073615163564682,
-0.008531083352863789,
-0.04018724337220192,
-0.04874904826283455,
-0.03990048170089722,
0.0044345250353217125,
0.00031268264865502715,
-0.020042413845658302,
0.010835397988557816,
-0.009114842861890793,
-0.046577874571084976,
0.001908740377984941,
0.02028820663690567,
-0.025275766849517822,
-0.047683943063020706,
0.0056225270964205265,
0.0034308680333197117,
-0.010241396725177765,
-0.03187122568488121,
-0.023350384086370468,
-0.031441088765859604,
-0.017041685059666634,
-0.013405988924205303,
-0.01656033843755722,
0.03398095443844795,
-0.007256029639393091,
0.014553025364875793,
0.03133867308497429,
-0.009611550718545914,
-0.021486449986696243,
-0.04612725228071213,
-0.0623086579144001,
0.053173333406448364,
-0.07476219534873962,
0.03801606595516205,
-0.07103432714939117,
-0.04096558690071106,
-0.04391511157155037,
-0.02283831499516964,
-0.02043158747255802,
-0.03232184797525406,
0.03252667561173439,
-0.062349624931812286,
-0.0136415408924222,
0.041989728808403015,
-0.0036664200015366077,
0.021035829558968544,
-0.019806861877441406,
0.05894948169589043,
0.0005274319555610418,
-0.02205996960401535,
0.016775408759713173,
0.05423843860626221,
0.0011707197409123182,
0.06505335122346878,
-0.035578612238168716,
-0.019663482904434204,
-0.07517185062170029,
0.06861735880374908,
0.003845644649118185,
-0.02656618319451809,
-0.008843446150422096,
0.016908546909689903,
-0.07357419282197952,
0.018895376473665237,
0.013108988292515278,
0.05616382136940956,
-0.05989168956875801,
0.04043303430080414,
-0.03568102791905403,
-0.004938913509249687,
0.010400138795375824,
0.0011329544940963387,
0.006697873584926128,
0.013733712956309319,
0.03455447405576706,
0.03750399500131607,
0.002515543019399047,
0.01713385619223118,
-0.014624714851379395,
-0.033796608448028564,
0.008346738293766975,
0.0048928274773061275,
-0.044529594480991364,
0.013662023469805717,
0.01358009222894907,
-0.062472522258758545,
0.060629069805145264,
-0.017789306119084358,
-0.061817072331905365,
0.024313075467944145,
0.041989728808403015,
-0.015290405601263046,
-0.00042437788215465844,
-0.04805263504385948,
0.03459543734788895,
-0.0023619220592081547,
-0.04403800517320633,
0.033079713582992554,
-0.05858078971505165,
-0.010415500961244106,
0.02480466291308403,
0.02480466291308403,
0.0024208102840930223,
0.025111904367804527,
-0.0020879649091511965,
0.008602773770689964,
0.023903420194983482,
-0.04325966164469719,
-0.03453398868441582,
-0.003164591733366251,
-0.01740013249218464,
0.05444326624274254,
-0.04399704188108444,
-0.04981415346264839,
0.021875623613595963,
0.006518648937344551,
0.013170436024665833,
-0.06038327515125275,
-0.044734422117471695,
0.005189828108996153,
0.0247432142496109,
-0.09209064394235611,
0.021384036168456078,
0.03881489485502243,
0.028880739584565163,
0.07234522700309753,
0.0004538219072856009,
-0.0003642096708063036,
-0.035762958228588104,
-0.04579952731728554,
0.033468883484601974,
0.00035524845588952303,
-0.051411811262369156,
0.004506214521825314,
-0.025623975321650505,
-0.012228228151798248,
0.0031927553936839104,
0.07160785049200058,
0.021179208531975746,
-0.003720187349244952,
0.024456456303596497,
-0.0008308333344757557,
0.017369410023093224,
-0.004644473548978567,
-0.022203348577022552,
0.0003658098867163062,
-0.013784919865429401,
-0.02048279345035553,
0.014471094124019146,
0.007860272191464901,
0.005325526464730501,
-0.0034308680333197117,
-0.0366642028093338,
-0.03293633088469505,
0.10233204066753387,
-0.049773190170526505,
0.010384776629507542,
0.0011566377943381667,
0.01643744297325611,
0.05329623073339462,
0.0354762002825737,
-0.0009985362412407994,
0.02402631752192974,
0.004938913509249687,
0.005217991769313812,
0.02316603995859623,
0.003584488993510604,
0.009437447413802147,
0.028102392330765724,
-0.057106029242277145,
0.009575705975294113,
0.03279295191168785,
-0.032690539956092834,
-0.03166639804840088,
-0.01949962042272091,
-0.010763708502054214,
-0.06722453236579895,
-0.03893779218196869,
-0.011501088738441467,
-0.007440374698489904,
0.03774978965520859,
-0.0008967622998170555,
-0.03725820034742355,
-0.03410385176539421,
-0.03523040562868118,
0.05792533978819847,
0.014798818156123161,
0.008346738293766975,
-0.023063626140356064,
0.000896122248377651,
0.019581550732254982,
0.012781263329088688,
-0.026996321976184845,
0.0007706651231274009,
0.09127132594585419,
0.02664811536669731,
0.01624285615980625,
0.07566343992948532,
0.0019650680478662252,
0.041928280144929886,
-0.009314550086855888,
-0.0301097072660923,
-0.0011444761184975505,
-0.01492171548306942,
0.04842132329940796,
-0.0009178852196782827,
-0.04432476684451103,
-0.034656886011362076,
-0.005955372471362352,
-0.024558870121836662,
0.025828802958130836,
0.022633487358689308,
-0.05538547411561012,
0.03822089359164238,
0.01786099560558796,
-0.04924063757061958,
-0.044529594480991364,
0.027139700949192047,
-0.02507093921303749,
0.030519362539052963,
-0.01891585998237133,
-0.018117031082510948,
-0.027201149612665176,
-0.0763188898563385,
0.0045548612251877785,
-0.034472543746232986,
0.025091422721743584,
-0.016078993678092957,
0.02677101083099842,
0.03189171105623245,
0.0198990348726511,
-0.012842711992561817,
0.03660275414586067,
-0.05296850576996803,
-0.01417409349232912,
0.002230064244940877,
0.05595899373292923,
0.015198232606053352,
-0.027631288394331932,
0.05325526371598244,
0.06579073518514633,
-0.02134307101368904,
-0.015126543119549751,
-0.07463929802179337,
0.0068719773553311825,
-0.02396486885845661,
-0.0011636787094175816,
-0.06304603815078735,
-0.06980536133050919,
0.016898304224014282,
-0.0018741756211966276,
-0.03232184797525406,
0.02605411410331726,
-0.08062027394771576,
0.039757102727890015,
0.06833060085773468,
-0.041989728808403015,
-0.017359167337417603,
-0.011029984802007675,
-0.04018724337220192,
-0.009268464520573616,
-0.07787558436393738,
0.05640961602330208,
-0.02369859255850315,
0.02289976365864277,
0.01936648227274418,
-0.016375994309782982,
0.025767354294657707,
0.07762978971004486,
0.0804973766207695,
0.02775418572127819,
-0.02119969204068184,
0.015863923355937004,
0.01713385619223118,
0.024149214848876,
0.03062177635729313,
-0.03254716098308563,
0.018014617264270782,
-0.033530332148075104,
-0.005020844750106335,
-0.09823548048734665,
-0.00667739100754261,
0.006615942344069481,
0.008095824159681797,
0.0527636781334877,
-0.030335018411278725,
0.0418873131275177
] |
5,678 | wordcloud.wordcloud | generate_from_text | Generate wordcloud from text.
The input "text" is expected to be a natural text. If you pass a sorted
list of words, words will appear in your output twice. To remove this
duplication, set ``collocations=False``.
Calls process_text and generate_from_frequencies.
..versionchanged:: 1.2.2
Argument of generate_from_frequencies() is not return of
process_text() any more.
Returns
-------
self
| def generate_from_text(self, text):
"""Generate wordcloud from text.
The input "text" is expected to be a natural text. If you pass a sorted
list of words, words will appear in your output twice. To remove this
duplication, set ``collocations=False``.
Calls process_text and generate_from_frequencies.
..versionchanged:: 1.2.2
Argument of generate_from_frequencies() is not return of
process_text() any more.
Returns
-------
self
"""
words = self.process_text(text)
self.generate_from_frequencies(words)
return self
| (self, text) | [
0.005467986222356558,
-0.0357525534927845,
-0.044959962368011475,
0.0019934913143515587,
-0.0024582052137702703,
0.002038008300587535,
-0.022184649482369423,
0.0016655860235914588,
0.10360943526029587,
0.01685130037367344,
0.005481015425175428,
0.044369298964738846,
-0.07115765661001205,
-0.026944708079099655,
-0.029411599040031433,
0.005715543869882822,
-0.02859509363770485,
0.024234602227807045,
-0.03132257238030434,
-0.04509894177317619,
0.010892541147768497,
-0.00955486111342907,
-0.01654728129506111,
0.04117276519536972,
0.06146381422877312,
-0.01904023252427578,
-0.04148546978831291,
-0.007339870557188988,
-0.04607180133461952,
-0.02743113785982132,
-0.005420212168246508,
-0.02168084867298603,
0.036308471113443375,
0.0022160762455314398,
0.004002183675765991,
-0.036308471113443375,
0.02819552645087242,
-0.04457776993513107,
-0.020412657409906387,
-0.010736188851296902,
-0.004277971573174,
-0.007882759906351566,
0.010875169187784195,
-0.0024690628051757812,
0.02788282185792923,
0.04092954844236374,
0.016747064888477325,
0.027326902374625206,
-0.09346391260623932,
-0.03078402392566204,
-0.021507123485207558,
-0.04905986785888672,
0.0002631658280733973,
-0.004382206592708826,
-0.04575909674167633,
0.014471271075308323,
0.01187408622354269,
-0.02795231156051159,
0.007179175037890673,
-0.01529646385461092,
0.02607608400285244,
0.0037481114268302917,
0.07143561542034149,
-0.008503826335072517,
-0.0038675470277667046,
0.03309456259012222,
0.02479052171111107,
0.0020564666483551264,
0.003307284787297249,
0.06410443037748337,
0.0214376337826252,
-0.005680799018591642,
0.017745982855558395,
-0.007930534891784191,
0.001060806680470705,
0.03964398801326752,
0.0267188660800457,
0.035266123712062836,
0.08686237037181854,
-0.017728609964251518,
-0.022288884967565536,
0.055209722369909286,
0.05774610489606857,
-0.050171706825494766,
0.04006092622876167,
-0.03887959569692612,
-0.00965040922164917,
-0.014792662113904953,
0.03686438873410225,
-0.004890351556241512,
-0.04454302415251732,
-0.0010618924861773849,
0.04864292964339256,
0.012542926706373692,
-0.023070646449923515,
-0.025016363710165024,
0.004423466045409441,
-0.06994158029556274,
0.0007329012732952833,
0.022566843777894974,
0.013203080743551254,
0.05065813660621643,
0.016825241968035698,
-0.022671079263091087,
0.01982199400663376,
-0.063618004322052,
-0.021055439487099648,
-0.04801752045750618,
0.00730946846306324,
0.08686237037181854,
-0.028542974963784218,
0.014445212669670582,
0.11410240828990936,
-0.006332267075777054,
0.021715592592954636,
-0.08206757158041,
-0.0387406162917614,
0.009059745818376541,
-0.023869778960943222,
0.0006916416459716856,
-0.03971347585320473,
-0.08588951081037521,
-0.022827431559562683,
-0.0016547281993553042,
-0.041207510977983475,
0.019596150144934654,
-0.0006150941480882466,
-0.0545843131840229,
0.04912935569882393,
-0.006618912797421217,
0.015409384854137897,
-0.015435443259775639,
0.0327644869685173,
-0.04634976014494896,
0.038497403264045715,
-0.0485386922955513,
0.08547257632017136,
0.01982199400663376,
0.009928368963301182,
0.05117930844426155,
0.06003927066922188,
0.0205168928951025,
0.05507074296474457,
0.0351792611181736,
-0.0379762277007103,
0.07213051617145538,
-0.025711262598633766,
-0.03484918177127838,
-0.003246481064707041,
0.007057567592710257,
-0.01858854666352272,
0.011127069592475891,
0.07643888890743256,
-0.00005869996311957948,
-0.014532074332237244,
-0.03337252140045166,
-0.008112945593893528,
-0.037802502512931824,
0.021385515108704567,
0.019700385630130768,
0.0534377321600914,
0.007913162000477314,
-0.04193715378642082,
0.05712069571018219,
-0.0062063164077699184,
0.02975904941558838,
0.06716198474168777,
-0.0398872010409832,
-0.015904501080513,
-0.01968301273882389,
0.008664521388709545,
0.028317132964730263,
-0.022219395264983177,
0.009146607480943203,
-0.04190240800380707,
0.03208696097135544,
-0.03592627868056297,
0.0902673751115799,
0.0436396561563015,
0.07775919139385223,
-0.04909461364150047,
-0.029984891414642334,
-0.051665738224983215,
-0.04784379526972771,
0.020117325708270073,
-0.006158542353659868,
0.033407267183065414,
0.05705120414495468,
-0.0025385527405887842,
0.01930081844329834,
-0.014149880036711693,
-0.04659297689795494,
0.029637441039085388,
0.023730799555778503,
0.07407622784376144,
0.04409134015440941,
-0.06778739392757416,
-0.007895790040493011,
-0.03392844274640083,
0.059796057641506195,
-0.014749230816960335,
-0.0009267129353247583,
0.015270404517650604,
-0.03330303356051445,
0.017433278262615204,
0.06267988681793213,
-0.037524543702602386,
0.04238883778452873,
-0.03606525808572769,
0.032364919781684875,
0.013437609188258648,
-0.03922704607248306,
0.05093609541654587,
0.025016363710165024,
0.014028272591531277,
-0.0669187679886818,
-0.008929451927542686,
-0.0026493023615330458,
-0.01846694014966488,
-0.03936602547764778,
0.052638597786426544,
0.0635485127568245,
-0.02517271600663662,
-0.02871670015156269,
0.017346415668725967,
0.007283410057425499,
0.026892589405179024,
-0.002532038139179349,
-0.0030597271397709846,
-0.017858903855085373,
0.035144515335559845,
-0.0144886439666152,
-0.031270455569028854,
-0.004297515843063593,
0.03814995288848877,
-0.12369202077388763,
0.014375722967088223,
-0.015869755297899246,
0.0113876573741436,
-0.06288835406303406,
-0.005307290703058243,
0.013481040485203266,
-0.007131400518119335,
0.021316025406122208,
-0.057919830083847046,
0.03297295793890953,
-0.042562562972307205,
0.04725313186645508,
0.0534377321600914,
0.0059631019830703735,
-0.02581549622118473,
-0.03054080903530121,
-0.07240847498178482,
-0.024425698444247246,
0.013854548335075378,
-0.02484263852238655,
-0.0012345314025878906,
-0.0651467815041542,
0.009528801776468754,
0.04395236074924469,
0.016408301889896393,
0.07629990577697754,
-0.01775466836988926,
0.127097025513649,
0.02232362888753414,
-0.03915755823254585,
-0.016408301889896393,
0.02517271600663662,
-0.061741773039102554,
0.031009865924715996,
-0.02265370637178421,
0.03703811392188072,
0.03696862608194351,
-0.031583160161972046,
-0.03104461170732975,
0.03213907778263092,
0.007452791556715965,
0.03220856562256813,
-0.02890779636800289,
0.02833450585603714,
0.0267188660800457,
-0.0062063164077699184,
-0.01342023629695177,
-0.0647645816206932,
0.0493030808866024,
-0.0009457140695303679,
-0.01956140622496605,
-0.009780703112483025,
-0.0036286755930632353,
-0.05500125512480736,
0.008482110686600208,
-0.0018013084772974253,
0.022236766293644905,
-0.01036268100142479,
0.01578289270401001,
-0.0025602683890610933,
0.004560274537652731,
-0.002462548203766346,
-0.05079711601138115,
-0.025537537410855293,
0.012178104370832443,
0.02904677763581276,
0.01183934137225151,
0.04145072400569916,
0.013637392781674862,
0.040686335414648056,
-0.005576564464718103,
-0.006314894650131464,
0.02020418830215931,
-0.07400674372911453,
-0.06236718222498894,
-0.016608085483312607,
-0.026753610000014305,
0.04582858830690384,
-0.03936602547764778,
0.008686237037181854,
0.05691222473978996,
-0.01487952470779419,
-0.002575469436123967,
0.011239990592002869,
-0.00968515407294035,
-0.039470262825489044,
-0.026162946596741676,
-0.0032964269630610943,
-0.014922955073416233,
-0.052951302379369736,
0.0007915333844721317,
0.02065587230026722,
0.006062993314117193,
0.007934877648949623,
0.03220856562256813,
0.04124225303530693,
-0.002238877583295107,
0.01654728129506111,
-0.03241703659296036,
-0.02685784548521042,
0.04621078073978424,
0.008625433780252934,
0.027274785563349724,
-0.07028903067111969,
-0.016825241968035698,
0.01980462111532688,
-0.06820433586835861,
0.019665641710162163,
0.02117704600095749,
0.05531395971775055,
0.007735094055533409,
-0.08304042369127274,
0.057537633925676346,
-0.029828539118170738,
0.03926179185509682,
-0.027205293998122215,
0.010492974892258644,
0.0008816530462354422,
0.06667555868625641,
-0.001292077824473381,
-0.0010977232595905662,
-0.0014527731109410524,
-0.01787627674639225,
-0.03028022311627865,
0.014818720519542694,
-0.023522330448031425,
-0.010892541147768497,
0.03285134956240654,
-0.011370284482836723,
0.013767685741186142,
-0.027709096670150757,
0.025919731706380844,
-0.053020790219306946,
0.04350067675113678,
0.013116218149662018,
-0.04447353258728981,
-0.005585250444710255,
0.04291001334786415,
0.05892743170261383,
0.003079271176829934,
-0.04343118518590927,
0.01025844644755125,
0.00734421331435442,
0.04905986785888672,
-0.04339643940329552,
0.04471674934029579,
0.04117276519536972,
-0.025415929034352303,
0.012186790816485882,
0.00878178607672453,
-0.012073869816958904,
-0.008929451927542686,
0.04589807614684105,
-0.03392844274640083,
-0.02142026089131832,
-0.008004367351531982,
-0.004156364593654871,
0.014922955073416233,
0.03717709332704544,
-0.009398508816957474,
-0.05885794386267662,
-0.024703659117221832,
0.00345277925953269,
0.0261455737054348,
0.006453874055296183,
0.0010494060115888715,
-0.09832820296287537,
0.039782967418432236,
-0.040234651416540146,
0.02374817244708538,
0.00436266278848052,
0.02852560207247734,
0.03139206022024155,
0.07838460057973862,
0.00037106519448570907,
0.00832141563296318,
-0.009467998519539833,
-0.048920888453722,
-0.015087993815541267,
-0.02426934614777565,
-0.019474543631076813,
0.03549196571111679,
-0.033858951181173325,
0.04780904948711395,
0.029863283038139343,
0.03731607645750046,
0.061602793633937836,
0.00761348707601428,
0.03389369696378708,
-0.005233457777649164,
-0.019839365035295486,
-0.03703811392188072,
0.02503373473882675,
-0.038184698671102524,
-0.02988065592944622,
-0.024686286225914955,
-0.02885567955672741,
-0.020812224596738815,
0.0012139016762375832,
-0.006380041129887104,
-0.03561357408761978,
-0.009737271815538406,
0.0013821974862366915,
-0.03392844274640083,
0.025832869112491608,
-0.04221511259675026,
0.013785058632493019,
0.012056496925652027,
0.0455506294965744,
0.0009305131388828158,
-0.02505110763013363,
-0.03177425637841225,
0.0291683841496706,
-0.034102167934179306,
0.05194369703531265,
0.04732261970639229,
0.01229102537035942,
0.0161911454051733,
0.05329875275492668,
0.011648244224488735,
0.017745982855558395,
-0.02272319607436657,
0.032694995403289795,
0.06761366873979568,
-0.03330303356051445,
0.01871015504002571,
0.01035399455577135,
-0.011326853185892105,
-0.00840393453836441,
0.04092954844236374,
-0.05145726725459099,
0.033650483936071396,
0.011604812927544117,
-0.048434458673000336,
0.0493030808866024,
0.010336622595787048,
-0.0029641783330589533,
-0.027413764968514442,
-0.03634321689605713,
-0.05170048400759697,
-0.03186111897230148,
0.024217229336500168,
0.057919830083847046,
-0.032052215188741684,
0.03641270473599434,
-0.005489701870828867,
-0.01038873940706253,
-0.014080390334129333,
-0.07629990577697754,
-0.0018642836948856711,
0.007226949092000723,
-0.04329220578074455,
0.04169393703341484,
-0.026232436299324036,
-0.007044538389891386,
0.0020966404117643833,
0.024304091930389404,
-0.03446698933839798,
-0.08526410162448883,
0.018605919554829597,
0.00287948758341372,
0.011535323224961758,
-0.04537690430879593,
0.006223688833415508,
-0.01468842662870884,
0.048434458673000336,
-0.05072762444615364,
-0.024234602227807045,
0.04982425644993782,
0.02232362888753414,
0.02930736355483532,
0.00385668920353055,
-0.018484313040971756,
-0.007009793538600206,
-0.06601539999246597,
-0.10055188089609146,
0.027795959264039993,
0.0030705847311764956,
0.012456064112484455,
-0.03373734652996063,
-0.06466034799814224,
-0.043917614966630936,
-0.09054533392190933,
0.016486478969454765,
-0.01578289270401001,
0.022618962451815605,
-0.05809355527162552,
-0.01982199400663376,
0.0424930714070797,
-0.0379762277007103,
0.032052215188741684,
-0.026875218376517296,
0.04607180133461952,
0.02413036674261093,
0.0207079891115427,
-0.010119466111063957,
0.027257412672042847,
0.01730298437178135,
0.025311695411801338,
0.022306257858872414,
-0.06410443037748337,
-0.027483254671096802,
0.04586333408951759,
0.03054080903530121,
-0.012881689704954624,
-0.02136814408004284,
0.02802180126309395,
-0.04513368755578995,
0.015339895151555538,
0.0031531041022390127,
0.025068480521440506,
-0.04694042727351189,
0.021524496376514435,
0.034692831337451935,
0.00690555851906538,
-0.03891434147953987,
-0.02923787385225296,
-0.008043455891311169,
0.04343118518590927,
0.023782918229699135,
-0.0062280320562422276,
-0.007487536408007145,
0.037003371864557266,
-0.0018762272084131837,
-0.01184802781790495,
0.009572233073413372,
0.008981569670140743,
0.006089052185416222,
0.028369249776005745,
0.06240192800760269,
-0.07623041421175003,
0.06097738444805145,
-0.03477969393134117,
-0.06761366873979568,
0.08012185245752335,
-0.05378517881035805,
-0.015513619408011436,
0.01827584207057953,
-0.050171706825494766,
0.06532050669193268,
0.020864341408014297,
-0.05479278415441513,
0.010171583853662014,
-0.0278307031840086,
-0.005593936890363693,
0.026354042813181877,
0.010631954297423363,
0.036899134516716,
-0.024668913334608078,
-0.05051915720105171,
0.012707964517176151,
-0.018901251256465912,
-0.005772004369646311,
-0.010128152556717396,
0.034223772585392,
-0.0006178086041472852,
0.026805728673934937,
0.00048507205792702734,
-0.04544639214873314,
0.005789377260953188,
0.03808046504855156,
-0.005220428574830294,
-0.024460444226861,
-0.08137267082929611,
-0.028317132964730263,
0.08971145749092102,
-0.05958758667111397,
0.059552840888500214,
0.052499618381261826,
0.0542021207511425,
-0.010640640743076801,
-0.03033233992755413,
0.026927335187792778,
0.017311669886112213,
-0.023974014446139336,
-0.02046477422118187,
-0.04749634489417076,
-0.038358423858881,
0.0039001205004751682,
-0.004881665110588074,
0.032938212156295776,
-0.028820935636758804,
0.057085949927568436,
-0.05868421867489815,
0.05653003230690956,
-0.011300794780254364,
-0.0023257399443536997,
0.02234100177884102,
-0.0035657002590596676,
-0.00729209603741765,
-0.02291429415345192,
-0.05666901171207428,
0.011222618632018566,
0.024564677849411964,
0.003669935278594494,
-0.03493604436516762,
0.015635227784514427,
-0.01594793051481247,
-0.027987055480480194,
0.11083638668060303,
-0.08338787406682968,
0.022827431559562683,
0.0027296501211822033,
-0.0043062022887170315,
-0.011153128929436207,
0.04461251571774483,
-0.013046728447079659,
0.003960924223065376,
-0.027709096670150757,
-0.034223772585392,
0.005233457777649164,
-0.0060673365369439125,
0.02413036674261093,
-0.0031965351663529873,
-0.00923347007483244,
-0.0061628851108253,
0.05117930844426155,
-0.003246481064707041,
-0.03052343800663948,
-0.005606966093182564,
-0.02077747881412506,
-0.024460444226861,
0.0004074388125445694,
-0.029272619634866714,
0.007578741759061813,
0.0214376337826252,
0.0032942553516477346,
-0.02845611236989498,
-0.023279115557670593,
0.00948537141084671,
0.06980260461568832,
0.02324436977505684,
-0.033216170966625214,
0.028351878747344017,
0.016443047672510147,
0.05454957112669945,
0.02633667178452015,
-0.018501685932278633,
0.008173748850822449,
0.029394226148724556,
0.034102167934179306,
-0.0006731833564117551,
0.021055439487099648,
-0.005011959001421928,
0.0011726419907063246,
0.005993503611534834,
-0.04339643940329552,
-0.027848076075315475,
-0.046558231115341187,
0.012412632815539837,
-0.02988065592944622,
-0.024251973256468773,
-0.003615646157413721,
-0.011778537184000015,
-0.06163753941655159,
0.02659725770354271,
0.02013469859957695,
-0.014957700856029987,
0.008456052280962467,
0.09888412058353424,
0.0005825207917951047,
-0.11924466490745544,
0.025120597332715988,
0.008534228429198265,
0.0267188660800457,
0.026440905407071114,
-0.007470163982361555,
-0.0036981655284762383,
-0.06643234193325043,
-0.01963089592754841,
-0.024304091930389404,
0.02155924029648304,
0.029446344822645187,
-0.00004689210982178338,
0.03568306192755699,
0.012169417925179005,
-0.019074976444244385,
0.03808046504855156,
0.034692831337451935,
0.01820635236799717,
0.02168084867298603,
0.03884485363960266,
0.024217229336500168,
-0.03832367807626724,
0.04061684384942055,
0.017346415668725967,
-0.02845611236989498,
-0.006883842870593071,
-0.06135958060622215,
0.03477969393134117,
-0.041867662221193314,
0.01497507281601429,
-0.03045394830405712,
-0.06556371599435806,
-0.02517271600663662,
0.0023952298797667027,
0.0014267144724726677,
0.015904501080513,
-0.034102167934179306,
0.009841506369411945,
0.042180366814136505,
-0.024929501116275787,
0.005289918277412653,
-0.00885561853647232,
-0.06021299585700035,
-0.028317132964730263,
-0.05236063897609711,
0.01638224348425865,
0.00909449066966772,
-0.015444129705429077,
0.04919884726405144,
0.05051915720105171,
-0.0036981655284762383,
0.05322926118969917,
0.05788508430123329,
-0.021090183407068253,
0.009598292410373688,
-0.007470163982361555,
-0.04537690430879593,
0.04999798163771629,
0.009033686481416225,
-0.029828539118170738,
-0.020221559330821037,
-0.06021299585700035,
-0.035266123712062836,
-0.06483407318592072,
0.0062671201303601265,
0.014627623371779919,
0.029151011258363724,
0.02001309022307396,
0.06330529600381851,
0.059796057641506195
] |
5,679 | wordcloud.wordcloud | process_text | Splits a long text into words, eliminates the stopwords.
Parameters
----------
text : string
The text to be processed.
Returns
-------
words : dict (string, int)
Word tokens with associated frequency.
..versionchanged:: 1.2.2
Changed return type from list of tuples to dict.
Notes
-----
There are better ways to do word tokenization, but I don't want to
include all those things.
| def process_text(self, text):
"""Splits a long text into words, eliminates the stopwords.
Parameters
----------
text : string
The text to be processed.
Returns
-------
words : dict (string, int)
Word tokens with associated frequency.
..versionchanged:: 1.2.2
Changed return type from list of tuples to dict.
Notes
-----
There are better ways to do word tokenization, but I don't want to
include all those things.
"""
flags = (re.UNICODE if sys.version < '3' and type(text) is unicode # noqa: F821
else 0)
pattern = r"\w[\w']*" if self.min_word_length <= 1 else r"\w[\w']+"
regexp = self.regexp if self.regexp is not None else pattern
words = re.findall(regexp, text, flags)
# remove 's
words = [word[:-2] if word.lower().endswith("'s") else word
for word in words]
# remove numbers
if not self.include_numbers:
words = [word for word in words if not word.isdigit()]
# remove short words
if self.min_word_length:
words = [word for word in words if len(word) >= self.min_word_length]
stopwords = set([i.lower() for i in self.stopwords])
if self.collocations:
word_counts = unigrams_and_bigrams(words, stopwords, self.normalize_plurals, self.collocation_threshold)
else:
# remove stopwords
words = [word for word in words if word.lower() not in stopwords]
word_counts, _ = process_tokens(words, self.normalize_plurals)
return word_counts
| (self, text) | [
0.033243756741285324,
-0.01798071898519993,
-0.028746183961629868,
0.0289375688880682,
0.013894626870751381,
-0.00413154624402523,
0.0005849236040376127,
-0.014851557090878487,
0.03712889179587364,
-0.00999992061406374,
-0.028669629245996475,
0.0021004618611186743,
-0.034851398319005966,
-0.07043006271123886,
-0.011569286696612835,
0.030985400080680847,
-0.0017667324282228947,
0.023808423429727554,
0.016832401975989342,
-0.01635393686592579,
-0.040765225887298584,
-0.036688704043626785,
0.015779778361320496,
0.03885136544704437,
0.03268873691558838,
-0.02658352069556713,
-0.017607515677809715,
-0.03777960315346718,
-0.007210469339042902,
-0.034851398319005966,
0.01796158030629158,
-0.0009653033339418471,
-0.014526200480759144,
-0.00669851154088974,
0.027961499989032745,
-0.07043006271123886,
0.02620074898004532,
0.0042631239630281925,
-0.004832497797906399,
-0.015999874100089073,
-0.043176691979169846,
-0.046430252492427826,
0.015253467485308647,
0.026736630126833916,
-0.0238658394664526,
0.0035837036557495594,
-0.017196036875247955,
0.005660242401063442,
-0.029511727392673492,
-0.055578507483005524,
-0.04509055241942406,
-0.08719547837972641,
-0.0017009434523060918,
-0.00684683583676815,
0.007215254008769989,
-0.009971212595701218,
-0.017885025590658188,
0.0202869214117527,
0.01837306097149849,
-0.06380810588598251,
0.005660242401063442,
0.023674452677369118,
0.059521060436964035,
-0.015023804269731045,
0.004421017598360777,
0.022487860172986984,
0.032210271805524826,
0.02769356034696102,
0.010373123921453953,
0.023521345108747482,
-0.017119482159614563,
-0.009971212595701218,
0.03230596333742142,
0.06258323788642883,
-0.008789404295384884,
0.008196107111871243,
-0.004452117718756199,
-0.02587539330124855,
0.025148125365376472,
-0.005588472355157137,
0.007368362508714199,
0.048726886510849,
0.03835376352071762,
-0.059023454785346985,
0.048765163868665695,
-0.034468624740839005,
0.060133494436740875,
0.03502364456653595,
-0.01625824347138405,
0.0009162607020698488,
-0.028994984924793243,
0.025435205549001694,
0.052822548896074295,
0.06338705867528915,
-0.04792306572198868,
-0.03289926052093506,
-0.04627714678645134,
-0.010325277224183083,
-0.05412397161126137,
-0.025703145191073418,
0.010191306471824646,
0.08597061038017273,
-0.005990383215248585,
0.0042128851637244225,
0.040841780602931976,
-0.06951141357421875,
-0.04321496933698654,
-0.06855448335409164,
0.016708001494407654,
0.026545243337750435,
-0.028152886778116226,
-0.042372871190309525,
0.03154041990637779,
0.009444900788366795,
0.010191306471824646,
-0.028191164135932922,
-0.04509055241942406,
-0.002782274503260851,
-0.007789412047713995,
0.03157869726419449,
-0.010621925815939903,
-0.044516392052173615,
-0.017626654356718063,
-0.038602564483881,
-0.013090805150568485,
0.037186309695243835,
0.021454375237226486,
-0.00003453919998719357,
0.08995144069194794,
0.036593012511730194,
-0.020573999732732773,
0.0223347507417202,
0.06120525673031807,
-0.00933485385030508,
0.02566486783325672,
-0.03305236995220184,
0.05083213374018669,
0.0842864140868187,
-0.013703241012990475,
-0.01999984122812748,
0.06572196632623672,
-0.012066890485584736,
-0.00520091550424695,
-0.01643049158155918,
-0.045932650566101074,
0.03988485038280487,
0.0018432867946103215,
-0.005306178238242865,
-0.002086107851937413,
0.0258945319801569,
-0.004330109339207411,
-0.04528193920850754,
0.04930104315280914,
-0.045817818492650986,
0.017913734540343285,
0.045013997703790665,
-0.01339702308177948,
-0.019263004884123802,
0.0035023645032197237,
-0.011502301320433617,
0.021856285631656647,
-0.0070142983458936214,
-0.06610473990440369,
0.014239121228456497,
-0.02243044413626194,
0.05037280544638634,
0.08803758025169373,
-0.028746183961629868,
-0.019617069512605667,
0.015167344361543655,
0.02363617718219757,
0.01988500915467739,
-0.029894499108195305,
0.06526263803243637,
-0.07280325144529343,
0.06200907751917839,
-0.02099504880607128,
0.048879995942115784,
0.0022954363375902176,
0.06652578711509705,
-0.009703272022306919,
-0.0022511782590299845,
-0.10189393162727356,
-0.06051626801490784,
0.00923437625169754,
0.04045901075005531,
0.011559717357158661,
-0.004913836717605591,
-0.04221976175904274,
0.020076395943760872,
-0.0030215070582926273,
-0.12271673232316971,
0.04509055241942406,
-0.008842035196721554,
-0.016679294407367706,
0.039425525814294815,
-0.041339386254549026,
-0.01582762598991394,
-0.027789253741502762,
-0.051214903593063354,
-0.0015657771145924926,
0.0005774475866928697,
-0.001166856731288135,
0.0037655204068869352,
-0.0036076270043849945,
0.0048420666716992855,
-0.07180804014205933,
0.042985305190086365,
-0.0933963879942894,
-0.014497492462396622,
0.021798869594931602,
-0.06181769073009491,
0.032325103878974915,
0.09148252755403519,
0.04283219575881958,
-0.050181418657302856,
0.0375308021903038,
0.047655124217271805,
-0.0026578737888485193,
-0.04474605619907379,
0.035770051181316376,
0.03391360864043236,
0.00626310845836997,
-0.042258039116859436,
0.008176968432962894,
-0.02667921409010887,
0.05167423188686371,
0.023100296035408974,
0.05894690006971359,
-0.023195987567305565,
0.02252613753080368,
-0.05538712069392204,
-0.01136833056807518,
0.016497476026415825,
0.037415970116853714,
-0.06912863999605179,
0.03125334158539772,
-0.014937680214643478,
0.04761684685945511,
-0.03399015963077545,
-0.012727172113955021,
-0.03511933982372284,
-0.011837226338684559,
-0.012535786256194115,
-0.07502333074808121,
0.02780839242041111,
0.016296520829200745,
0.016880249604582787,
0.03309064731001854,
0.006090860813856125,
-0.033741358667612076,
-0.05733925849199295,
-0.0162199679762125,
-0.02212422713637352,
0.03950208052992821,
-0.04405706748366356,
-0.02861221320927143,
0.006717650219798088,
-0.01247837021946907,
0.029186371713876724,
0.05599955469369888,
0.03177008405327797,
0.0013755871914327145,
0.06051626801490784,
0.028994984924793243,
0.016583601012825966,
0.024995017796754837,
0.009631502442061901,
-0.04229631647467613,
0.018248658627271652,
0.010975989513099194,
-0.04382740333676338,
0.013042958453297615,
-0.030468657612800598,
-0.08038213849067688,
0.021798869594931602,
-0.004873167257755995,
0.017291728407144547,
0.019320420920848846,
0.026755768805742264,
0.025703145191073418,
0.000019811446691164747,
-0.04708096757531166,
-0.06269806623458862,
0.0405738428235054,
0.05504262447357178,
-0.036076270043849945,
-0.004547810647636652,
-0.026009364053606987,
-0.055080901831388474,
-0.011358761228621006,
-0.035578664392232895,
0.07869794219732285,
0.031406451016664505,
0.023368235677480698,
0.0984489768743515,
0.0030143302865326405,
-0.017205605283379555,
0.01263147871941328,
-0.06533919274806976,
-0.04639197513461113,
0.030085885897278786,
0.03372222185134888,
-0.005693734623491764,
-0.021550068631768227,
0.00020454383047763258,
0.01344486977905035,
0.02488018572330475,
0.03270787373185158,
-0.0659516304731369,
-0.039616912603378296,
-0.03695664554834366,
0.036593012511730194,
0.0041602542623877525,
-0.05144456773996353,
-0.014841987751424313,
0.023827562108635902,
0.02151179127395153,
-0.017885025590658188,
0.028746183961629868,
0.013042958453297615,
-0.056190941482782364,
0.05400913953781128,
-0.019129034131765366,
0.049071382731199265,
0.001684197224676609,
0.06579852104187012,
-0.04493744298815727,
0.03429637849330902,
-0.006593249272555113,
-0.010641063563525677,
0.007755919359624386,
0.008497539907693863,
0.008918589912354946,
-0.04715752229094505,
-0.0832146480679512,
0.04321496933698654,
-0.0036746119149029255,
-0.001025111530907452,
-0.06327222287654877,
-0.039425525814294815,
0.000028427555662347004,
-0.03806668519973755,
0.029760530218482018,
0.00902863685041666,
0.0007912616711109877,
-0.05186561867594719,
-0.05703303962945938,
0.08168356120586395,
-0.03988485038280487,
0.0477316789329052,
-0.060324881225824356,
0.0098946588113904,
0.03469828888773918,
0.0466981939971447,
-0.06457365304231644,
0.004928190726786852,
-0.032114576548337936,
0.03044951893389225,
-0.06357844173908234,
-0.026851462200284004,
0.036803536117076874,
-0.013818072155117989,
0.03420068696141243,
0.02415291778743267,
-0.029760530218482018,
-0.0324973501265049,
0.03521503135561943,
-0.02620074898004532,
-0.00831572338938713,
0.02851651981472969,
-0.0064544943161308765,
-0.009487963281571865,
-0.016564462333917618,
0.034755706787109375,
0.033148061484098434,
0.008038213476538658,
0.022162504494190216,
-0.06706167012453079,
0.03437293320894241,
-0.04443984106183052,
0.04535849392414093,
0.034774843603372574,
-0.004820535890758038,
-0.0002849857846740633,
-0.005406655836850405,
-0.06220046430826187,
-0.021588345989584923,
0.043597739189863205,
0.027827531099319458,
-0.03194233030080795,
0.00806213729083538,
-0.02912895567715168,
0.019521376118063927,
0.03289926052093506,
0.006062152795493603,
0.0007428170647472143,
-0.011406607925891876,
0.015071650967001915,
-0.0238658394664526,
-0.0011698472080752254,
-0.004602834116667509,
-0.06951141357421875,
0.05014314502477646,
-0.02700456976890564,
0.05691820755600929,
0.002605242421850562,
0.024937601760029793,
0.010717618279159069,
0.07391329109668732,
0.03559780493378639,
0.018411336466670036,
0.044899165630340576,
-0.08130078762769699,
-0.10174082219600677,
-0.01227741502225399,
-0.02344479039311409,
0.06239185109734535,
0.04275564104318619,
0.029779668897390366,
0.06507125496864319,
0.0032009314745664597,
0.09094664454460144,
-0.0006507125217467546,
-0.003566957311704755,
0.015980735421180725,
-0.01908118836581707,
-0.06514780968427658,
-0.013808502815663815,
-0.055769894272089005,
-0.009263084270060062,
0.014650601893663406,
-0.05710959434509277,
-0.05443019047379494,
-0.0228323545306921,
-0.015062081627547741,
-0.022985463961958885,
0.05113834887742996,
0.02759786695241928,
-0.002942560473456979,
0.037703052163124084,
0.010086044669151306,
0.0710807740688324,
0.06713822484016418,
0.10924315452575684,
-0.037301138043403625,
-0.04512882977724075,
-0.0022356281988322735,
-0.03590402007102966,
-0.03676525875926018,
0.03266959637403488,
0.019205588847398758,
-0.013808502815663815,
0.0030741384252905846,
0.009464039467275143,
0.025511760264635086,
0.0078611820936203,
0.017435269430279732,
0.0558081716299057,
0.05067902430891991,
0.026411274448037148,
0.03561694175004959,
-0.012545354664325714,
0.02110988087952137,
-0.058411020785570145,
0.011052544228732586,
-0.03138731047511101,
-0.009444900788366795,
0.01110996026545763,
0.020573999732732773,
0.015684086829423904,
0.00596645986661315,
0.02254527620971203,
-0.04195182025432587,
-0.01652618497610092,
0.019961563870310783,
-0.047961343079805374,
-0.016411352902650833,
0.027731837704777718,
-0.03827720880508423,
0.051100075244903564,
-0.008392278105020523,
-0.0028038055170327425,
-0.03682267293334007,
-0.03643990308046341,
-0.005425794515758753,
0.04107144474983215,
-0.06610473990440369,
0.03569349646568298,
-0.00791859719902277,
-0.010535801760852337,
0.0076028103940188885,
0.06220046430826187,
-0.021167296916246414,
0.009353992529213428,
0.0025813193060457706,
0.0324973501265049,
0.03278442844748497,
0.06051626801490784,
0.024784492328763008,
-0.021990256384015083,
-0.006076506804674864,
-0.05603783205151558,
-0.04424845427274704,
0.03663128986954689,
0.009100406430661678,
-0.021588345989584923,
0.024018948897719383,
-0.033741358667612076,
-0.03178922086954117,
-0.11957799643278122,
-0.04941587522625923,
0.03513847663998604,
0.018430475145578384,
-0.009062129072844982,
-0.026564382016658783,
-0.028439965099096298,
-0.023827562108635902,
-0.05335842818021774,
0.02375100739300251,
-0.06354016810655594,
0.024439997971057892,
-0.0023504598066210747,
-0.03184663876891136,
-0.010028628632426262,
0.009358777664601803,
-0.03888964280486107,
-0.015770209953188896,
0.04202837496995926,
-0.05917656421661377,
0.0027535667177289724,
-0.030985400080680847,
0.013291760347783566,
0.0004560370580293238,
0.03624851629137993,
-0.0013253483921289444,
-0.006554971914738417,
-0.08474574238061905,
0.036669567227363586,
0.05772203207015991,
-0.014334814622998238,
0.019655346870422363,
-0.0026339504402130842,
0.01838262937963009,
0.002593280980363488,
0.050066590309143066,
-0.01756923831999302,
0.003791836090385914,
-0.040535565465688705,
0.019368266686797142,
-0.04210492968559265,
0.0008743949583731592,
0.0009563321364112198,
0.011770241893827915,
0.019463960081338882,
0.0098946588113904,
0.023215126246213913,
0.003921021707355976,
0.030526073649525642,
0.018717555329203606,
-0.03621023893356323,
-0.05052591487765312,
0.00873677246272564,
-0.029473450034856796,
0.009612363763153553,
0.025243818759918213,
-0.03460259735584259,
0.02872704528272152,
-0.07552093267440796,
-0.011502301320433617,
0.06331050395965576,
-0.03827720880508423,
-0.00339949456974864,
-0.044401563704013824,
-0.015253467485308647,
0.028956707566976547,
-0.026755768805742264,
-0.009172176010906696,
0.004578911233693361,
-0.03224854916334152,
-0.013205637224018574,
0.057607199996709824,
0.013607547618448734,
-0.017205605283379555,
-0.02170317806303501,
-0.027961499989032745,
-0.0035789189860224724,
0.0010017863241955638,
-0.02292804792523384,
0.045932650566101074,
0.028765322640538216,
-0.0017212781822308898,
0.07234392315149307,
0.021875424310564995,
-0.03686095029115677,
0.028650490567088127,
0.003988006617873907,
-0.01461232453584671,
-0.013387453742325306,
-0.01653575338423252,
-0.016009442508220673,
-0.03234424069523811,
-0.026660075411200523,
0.010545371100306511,
0.06315739452838898,
0.026870600879192352,
-0.014219982549548149,
0.04149249568581581,
0.0023552444763481617,
-0.030774876475334167,
-0.05534884333610535,
-0.018621861934661865,
0.022506998851895332,
0.008052567951381207,
-0.0009898246498778462,
0.026449551805853844,
0.03138731047511101,
-0.02752131223678589,
0.08267877250909805,
-0.03494708985090256,
0.04842066764831543,
-0.03714803233742714,
0.022353889420628548,
0.009531024843454361,
0.007200899999588728,
0.02457396872341633,
-0.018545307219028473,
-0.0385451503098011,
-0.03054521232843399,
0.0018827602034434676,
-0.050066590309143066,
-0.0021495046094059944,
0.054047416895627975,
-0.01161713246256113,
0.015310883522033691,
0.10388434678316116,
-0.03420068696141243,
-0.02547348290681839,
-0.01643049158155918,
-0.003877959679812193,
0.012822864577174187,
0.009760688059031963,
0.02202853374183178,
-0.040765225887298584,
-0.034468624740839005,
-0.008904235437512398,
0.002741605043411255,
-0.011674548499286175,
0.06637267768383026,
0.03379877656698227,
-0.027042847126722336,
0.020325196906924248,
0.0021255812607705593,
-0.04340635612607002,
-0.01704292744398117,
0.009143467992544174,
-0.03297581523656845,
-0.04478433355689049,
-0.013942473568022251,
-0.03917672485113144,
-0.0012655402533710003,
0.008952082134783268,
0.03259304165840149,
-0.026258165016770363,
-0.037511665374040604,
-0.013818072155117989,
0.06426743417978287,
0.06484159082174301,
0.024707937613129616,
-0.008081275969743729,
0.08711892366409302,
0.040956612676382065,
0.03169352933764458,
0.01886109448969364,
-0.030162440612912178,
0.04577954113483429,
0.014775002375245094,
-0.0047033121809363365,
0.0018241482321172953,
-0.0213012658059597,
0.001368410186842084,
0.018717555329203606,
-0.027961499989032745,
-0.01543528400361538,
-0.015062081627547741,
0.04509055241942406,
-0.0238658394664526,
-0.041339386254549026,
0.03643990308046341,
-0.026660075411200523,
-0.03215285390615463,
0.036803536117076874,
0.018191242590546608,
-0.019521376118063927,
-0.028439965099096298,
0.03904275223612785,
-0.005564549006521702,
-0.08053524792194366,
0.07031523436307907,
-0.005602826364338398,
0.024746214970946312,
-0.01615298166871071,
0.022813215851783752,
-0.005588472355157137,
-0.021186435595154762,
0.03376049920916557,
-0.05335842818021774,
-0.03196147084236145,
-0.03136817365884781,
0.01208602823317051,
0.027540450915694237,
0.00099520746152848,
0.01695680432021618,
0.03219113126397133,
0.06258323788642883,
0.005234408192336559,
-0.01049752440303564,
0.003906667698174715,
0.04910966008901596,
0.02120557427406311,
0.042258039116859436,
0.02752131223678589,
0.024325165897607803,
0.03234424069523811,
-0.08390364050865173,
-0.009731980040669441,
-0.003837290219962597,
0.030794015154242516,
0.04030590131878853,
-0.051214903593063354,
-0.006234400440007448,
-0.004794220440089703,
-0.03297581523656845,
0.03513847663998604,
-0.03439207375049591,
0.007320516277104616,
0.028382550925016403,
-0.049683816730976105,
0.013990319333970547,
0.0031291618943214417,
0.00626310845836997,
-0.02495674043893814,
-0.06334877759218216,
0.059712447226047516,
-0.03561694175004959,
0.027234233915805817,
0.02790408581495285,
0.039425525814294815,
0.0167367085814476,
0.0008869547164067626,
0.013234345242381096,
-0.016114704310894012,
-0.0028133748564869165,
-0.025817977264523506,
-0.001604054239578545,
0.047846511006355286,
0.04708096757531166,
-0.04038245603442192,
-0.04443984106183052,
0.001588504179380834,
0.012861141934990883,
-0.04447811469435692,
-0.035176753997802734,
0.045435044914484024,
0.040841780602931976,
0.0007619556854479015,
0.04313841462135315,
0.02355962246656418
] |
5,680 | wordcloud.wordcloud | recolor | Recolor existing layout.
Applying a new coloring is much faster than generating the whole
wordcloud.
Parameters
----------
random_state : RandomState, int, or None, default=None
If not None, a fixed random state is used. If an int is given, this
is used as seed for a random.Random state.
color_func : function or None, default=None
Function to generate new color from word count, font size, position
and orientation. If None, self.color_func is used.
colormap : string or matplotlib colormap, default=None
Use this colormap to generate new colors. Ignored if color_func
is specified. If None, self.color_func (or self.color_map) is used.
Returns
-------
self
| def recolor(self, random_state=None, color_func=None, colormap=None):
"""Recolor existing layout.
Applying a new coloring is much faster than generating the whole
wordcloud.
Parameters
----------
random_state : RandomState, int, or None, default=None
If not None, a fixed random state is used. If an int is given, this
is used as seed for a random.Random state.
color_func : function or None, default=None
Function to generate new color from word count, font size, position
and orientation. If None, self.color_func is used.
colormap : string or matplotlib colormap, default=None
Use this colormap to generate new colors. Ignored if color_func
is specified. If None, self.color_func (or self.color_map) is used.
Returns
-------
self
"""
if isinstance(random_state, int):
random_state = Random(random_state)
self._check_generated()
if color_func is None:
if colormap is None:
color_func = self.color_func
else:
color_func = colormap_color_func(colormap)
self.layout_ = [(word_freq, font_size, position, orientation,
color_func(word=word_freq[0], font_size=font_size,
position=position, orientation=orientation,
random_state=random_state,
font_path=self.font_path))
for word_freq, font_size, position, orientation, _
in self.layout_]
return self
| (self, random_state=None, color_func=None, colormap=None) | [
0.03212675824761391,
-0.03847211226820946,
-0.02379962056875229,
0.010518013499677181,
0.02596322074532509,
0.021436020731925964,
-0.02998133935034275,
0.0015090667875483632,
0.04705379530787468,
0.006663529668003321,
-0.0515991747379303,
0.03309037908911705,
0.03259947896003723,
0.02201782912015915,
-0.028599543496966362,
0.027490470558404922,
-0.001996559090912342,
0.05170826613903046,
-0.04127206653356552,
-0.042072053998708725,
0.02474505826830864,
-0.014136137440800667,
0.0650898665189743,
0.023490533232688904,
0.04261749982833862,
-0.03201767057180405,
-0.0077998754568398,
-0.012936157174408436,
0.019763320684432983,
-0.01879969984292984,
0.006999887991696596,
-0.06705347448587418,
-0.010518013499677181,
0.09032583236694336,
-0.012108897790312767,
-0.041562970727682114,
0.0372721329331398,
-0.009963477030396461,
0.10799827426671982,
-0.03945391625165939,
0.03594487905502319,
0.011781630106270313,
0.01752699352800846,
-0.01677245832979679,
0.06359898298978806,
0.04589017480611801,
0.03905392065644264,
0.012408892624080181,
-0.05683545395731926,
-0.05716272443532944,
-0.025163235142827034,
-0.04181751236319542,
-0.021981466561555862,
0.037344858050346375,
0.05221734568476677,
-0.011727085337042809,
-0.018008803948760033,
-0.00853622704744339,
0.006995342671871185,
-0.053090061992406845,
-0.0001561054668854922,
-0.019163331016898155,
-0.04076298326253891,
-0.005145372357219458,
-0.02169056236743927,
-0.029072262346744537,
0.017972439527511597,
0.020981483161449432,
0.025399593636393547,
-0.016727006062865257,
-0.04210841655731201,
0.05378095805644989,
0.05381732061505318,
-0.04570836201310158,
-0.018354251980781555,
0.007531697861850262,
-0.01652700826525688,
0.007008979097008705,
0.009004401974380016,
-0.02909044362604618,
-0.008122597821056843,
0.06763528287410736,
0.031072231009602547,
-0.016981547698378563,
-0.008790768682956696,
-0.07108977437019348,
-0.006295354105532169,
0.02976316027343273,
0.014663401991128922,
-0.0613081119954586,
0.0326903872191906,
-0.0031340408604592085,
-0.0009471439407207072,
-0.036508508026599884,
0.01947241649031639,
-0.04803559556603432,
0.004561290610581636,
0.016063379123806953,
0.09316214919090271,
-0.00902258325368166,
-0.024817785248160362,
-0.02185419574379921,
-0.02252691239118576,
-0.03692668303847313,
-0.019999681040644646,
-0.03527216240763664,
-0.04370839148759842,
0.02169056236743927,
0.0018397433450445533,
0.010799827054142952,
-0.007118068169802427,
0.023490533232688904,
0.04829013720154762,
0.01890878938138485,
-0.00287268147803843,
-0.010245290584862232,
-0.009068036451935768,
-0.006590803619474173,
0.013727053068578243,
-0.002645412227138877,
-0.00309313228353858,
-0.054035499691963196,
0.022926906123757362,
0.010181655175983906,
-0.042908404022455215,
0.017736081033945084,
-0.03003588318824768,
0.05552638694643974,
-0.00948166660964489,
-0.006722619757056236,
-0.058871787041425705,
-0.009031673893332481,
0.00930439680814743,
0.016454283148050308,
0.03959936648607254,
-0.03236312046647072,
-0.007695331703871489,
0.0036135786212980747,
-0.05690818279981613,
0.08792586624622345,
0.07992599904537201,
0.051199182868003845,
0.012072534300386906,
0.030072247609496117,
-0.018872424960136414,
0.015036123804748058,
-0.035963062196969986,
-0.000350278482073918,
-0.03052678517997265,
0.0391630120575428,
-0.003245402593165636,
-0.0008818040951155126,
0.055599112063646317,
0.0028363182209432125,
0.01359978225082159,
0.02036331035196781,
0.0027090476360172033,
-0.013027064502239227,
-0.02547232061624527,
-0.014208863489329815,
0.02863590605556965,
-0.0318722166121006,
0.0486174039542675,
-0.026490485295653343,
0.004554472863674164,
0.019054241478443146,
0.028854085132479668,
-0.08705315738916397,
-0.05072646215558052,
-0.02419961243867874,
-0.04443565383553505,
-0.033235833048820496,
-0.018726972863078117,
-0.0011141867144033313,
-0.007863510400056839,
0.034453995525836945,
-0.06072630360722542,
0.04309022054076195,
-0.006231718696653843,
0.031399499624967575,
0.01650882698595524,
-0.0306540559977293,
-0.01379068847745657,
0.0015920200385153294,
0.010827099904417992,
0.04567199572920799,
-0.025926858186721802,
0.06461714953184128,
-0.0006715802010148764,
0.008036235347390175,
0.021599654108285904,
-0.014336134307086468,
0.01334524154663086,
-0.029072262346744537,
0.016308831050992012,
-0.003431763267144561,
-0.06327171623706818,
-0.07036250829696655,
0.07199884951114655,
0.003954482264816761,
0.013881596736609936,
-0.022672364488244057,
-0.012799795717000961,
0.016090651974081993,
-0.004184023942798376,
0.022163283079862595,
-0.026945024728775024,
-0.004470383282750845,
-0.030163154006004333,
0.015872472897171974,
-0.010890735313296318,
-0.024381428956985474,
0.09701663255691528,
0.030890416353940964,
0.00871349684894085,
-0.11665268242359161,
-0.031563133001327515,
0.019163331016898155,
-0.032235849648714066,
-0.03074496239423752,
0.050144653767347336,
0.020036043599247932,
0.022563274949789047,
-0.05549002066254616,
-0.03692668303847313,
0.002037467435002327,
-0.01612701453268528,
-0.011354364454746246,
-0.02585413306951523,
-0.02379962056875229,
0.011717994697391987,
-0.06167174130678177,
0.05221734568476677,
-0.01869061030447483,
0.039853908121585846,
-0.08407138288021088,
0.030854051932692528,
0.03949027881026268,
-0.004831741098314524,
0.012263440527021885,
-0.03814484551548958,
0.024054160341620445,
0.03559943288564682,
0.0009869160130620003,
-0.005245370790362358,
0.03710849955677986,
0.007181703578680754,
0.021926922723650932,
-0.03945391625165939,
-0.013254333287477493,
-0.08567135781049728,
-0.0402539037168026,
-0.023945072665810585,
0.028908628970384598,
0.05654454976320267,
-0.014354316517710686,
-0.07170794159173965,
0.04967193305492401,
-0.028599543496966362,
0.009736208245158195,
0.000596581376157701,
0.02307235822081566,
0.027072295546531677,
0.058544520288705826,
0.06523532420396805,
0.008181687444448471,
-0.014117956161499023,
0.08988947421312332,
-0.0002292576973559335,
0.0046408348716795444,
-0.044072024524211884,
0.043853845447301865,
0.03865392878651619,
0.046071991324424744,
0.008504409343004227,
-0.0011119140544906259,
0.017790624871850014,
-0.027435924857854843,
0.05527184531092644,
0.021763289347290993,
0.034617628902196884,
0.010718010365962982,
0.007668059319257736,
0.04210841655731201,
0.04767196625471115,
0.010608921758830547,
-0.06988979130983353,
0.033890366554260254,
0.011318000964820385,
-0.010199837386608124,
0.027072295546531677,
-0.04265386238694191,
0.031399499624967575,
0.019981499761343002,
0.00440902030095458,
-0.004740833304822445,
0.022926906123757362,
0.03201767057180405,
-0.03799939155578613,
0.00357267027720809,
0.024563243612647057,
-0.048253774642944336,
-0.0019045149674639106,
0.01582702063024044,
0.052035532891750336,
0.0311995018273592,
-0.017763352021574974,
-0.014154319651424885,
0.02809046022593975,
-0.019272418692708015,
-0.03825393319129944,
0.014990669675171375,
-0.06123538687825203,
0.04145388305187225,
-0.01923605613410473,
-0.010854371823370457,
0.0032135851215571165,
-0.025326868519186974,
0.036126695573329926,
0.041744787245988846,
-0.07127159088850021,
-0.0629444494843483,
-0.030290424823760986,
-0.021054208278656006,
0.03074496239423752,
-0.04516291618347168,
0.006072630174458027,
-0.02630867063999176,
0.04225387051701546,
0.05654454976320267,
0.011836174875497818,
-0.0010158928344026208,
-0.014881580136716366,
-0.012836158275604248,
-0.07218066602945328,
-0.12072534114122391,
-0.0033090380020439625,
0.002156783826649189,
0.0019056514138355851,
-0.10268926620483398,
0.011308910325169563,
0.02569049783051014,
-0.038290295749902725,
-0.0004755605768878013,
0.01879969984292984,
0.058871787041425705,
0.01023619994521141,
-0.012999792583286762,
0.002713592955842614,
-0.03196312487125397,
0.06254445761442184,
-0.05974449962377548,
-0.009936205111443996,
0.07599878311157227,
0.05174462869763374,
0.027617741376161575,
-0.012254349887371063,
-0.0019272419158369303,
0.00515900831669569,
-0.011608905158936977,
-0.07541697472333908,
-0.057926345616579056,
0.0009806661400943995,
-0.006999887991696596,
-0.008595317602157593,
0.04639925807714462,
-0.0888713076710701,
-0.005463548935949802,
-0.011390727013349533,
-0.01062710303813219,
0.037853941321372986,
-0.0580717995762825,
-0.0034385814797133207,
-0.00909076351672411,
0.01307251863181591,
-0.07414426654577255,
-0.09447121620178223,
0.035726699978113174,
0.019345145672559738,
-0.005145372357219458,
0.01184526551514864,
0.012163441628217697,
0.055744562298059464,
0.005763544235378504,
-0.0095907561480999,
0.009699844755232334,
-0.022163283079862595,
0.003640851005911827,
-0.01985422894358635,
0.014845217578113079,
-0.07410790771245956,
0.058871787041425705,
0.0010443015489727259,
-0.011172548867762089,
0.012936157174408436,
0.040908437222242355,
-0.01990877278149128,
0.010336198844015598,
-0.014472495764493942,
-0.006458987481892109,
0.02101784572005272,
0.0009943023324012756,
-0.07068978250026703,
-0.010336198844015598,
-0.009818024933338165,
0.005690818186849356,
-0.027999551966786385,
0.07476244121789932,
-0.017117908224463463,
0.054980941116809845,
0.056580912321805954,
0.000021643831132678315,
-0.017654262483119965,
-0.02898135595023632,
-0.0010454378789290786,
-0.030835870653390884,
0.009881660342216492,
0.01204526238143444,
0.016672460362315178,
0.023508714511990547,
0.0028431364335119724,
0.0391630120575428,
0.05734453722834587,
0.02007240615785122,
-0.009927114471793175,
-0.0032499481458216906,
-0.015981562435626984,
0.04298113286495209,
-0.02207237482070923,
-0.008199868723750114,
-0.04341748729348183,
-0.035344891250133514,
0.022872362285852432,
0.04327203705906868,
0.004181751515716314,
-0.006268081720918417,
0.013954322785139084,
0.03872665390372276,
-0.02147238329052925,
-0.048908308148384094,
0.09621664136648178,
-0.03030860610306263,
0.012799795717000961,
-0.0245814248919487,
0.020981483161449432,
0.04243568703532219,
-0.014154319651424885,
0.028890447691082954,
0.002060194266960025,
-0.03169040381908417,
0.04134479537606239,
0.08123506605625153,
-0.05501730367541313,
0.0397084578871727,
0.029617708176374435,
-0.0210723914206028,
0.01362705510109663,
0.009131671860814095,
0.024035979062318802,
0.021054208278656006,
0.01070891972631216,
0.022617820650339127,
-0.062435366213321686,
0.042072053998708725,
-0.003863574704155326,
-0.037126678973436356,
-0.03030860610306263,
0.0012136169243603945,
-0.005313551519066095,
-0.01618156023323536,
0.039017558097839355,
-0.0650898665189743,
-0.008218050934374332,
-0.04399929568171501,
-0.016736095771193504,
-0.012908884324133396,
-0.031890399754047394,
-0.0022272372152656317,
0.0009755525970831513,
0.03865392878651619,
0.029017718508839607,
0.01847243122756481,
-0.034072183072566986,
-0.02414506860077381,
-0.01812698319554329,
0.001171572133898735,
0.012945247814059258,
-0.014472495764493942,
0.021090572699904442,
0.03609033301472664,
-0.07018069922924042,
-0.01079073641449213,
0.050471920520067215,
-0.0005406163400039077,
-0.05669000372290611,
-0.00544991297647357,
0.007345336955040693,
-0.010072566568851471,
0.017254270613193512,
-0.022326916456222534,
0.013390694744884968,
-0.04799923300743103,
-0.020272403955459595,
0.021763289347290993,
0.049744658172130585,
-0.04556290805339813,
0.004972647875547409,
0.019781501963734627,
0.021726924926042557,
-0.017590627074241638,
-0.003645396325737238,
-0.03481762483716011,
0.05610819533467293,
-0.048799220472574234,
0.027563195675611496,
-0.055744562298059464,
-0.040399353951215744,
-0.01615428738296032,
-0.004595381207764149,
-0.01637246645987034,
-0.01979968324303627,
0.07919873297214508,
-0.057708170264959335,
-0.01760881021618843,
-0.029399530962109566,
0.034181270748376846,
0.06214446201920509,
-0.039344824850559235,
0.017336087301373482,
0.011154367588460445,
-0.044690195471048355,
-0.008886221796274185,
0.01557247806340456,
0.030381333082914352,
0.029563164338469505,
0.013454330153763294,
-0.03521762043237686,
-0.041962966322898865,
-0.020054224878549576,
-0.021036026999354362,
-0.025726862251758575,
0.028272274881601334,
0.023890526965260506,
-0.06301717460155487,
-0.008918039500713348,
0.054035499691963196,
0.034453995525836945,
-0.04236295819282532,
-0.04498109966516495,
-0.004922648426145315,
-0.027272291481494904,
-0.01153617911040783,
-0.05585365369915962,
-0.04061753302812576,
0.0020761031191796064,
0.036508508026599884,
-0.028781358152627945,
-0.0210723914206028,
0.03810848295688629,
-0.006408988498151302,
-0.011008914560079575,
0.05988995358347893,
0.06425351649522781,
-0.002720411168411374,
0.0661807581782341,
0.04698106646537781,
-0.04014481231570244,
0.02830863930284977,
-0.034781262278556824,
-0.039126645773649216,
0.04545382037758827,
-0.016999728977680206,
-0.013563419692218304,
-0.009908932261168957,
-0.00181133474688977,
0.009863479062914848,
0.047417424619197845,
-0.06378079950809479,
0.05683545395731926,
-0.029344985261559486,
-0.014717946760356426,
0.03909028321504593,
0.03865392878651619,
-0.05090827867388725,
-0.01869061030447483,
0.02730865404009819,
0.016672460362315178,
0.07170794159173965,
-0.002063603373244405,
-0.06828981637954712,
-0.02585413306951523,
0.0003579488256946206,
0.00021164435020182282,
-0.0634898915886879,
-0.0737442746758461,
-0.04054480791091919,
0.06134447455406189,
0.035963062196969986,
-0.03463580831885338,
0.0108725531026721,
-0.04778105393052101,
0.03041769564151764,
-0.03632669150829315,
-0.01923605613410473,
-0.005427185911685228,
-0.00007180283137131482,
0.07905328273773193,
0.021726924926042557,
0.06741710752248764,
0.005168099422007799,
-0.039853908121585846,
-0.021945104002952576,
-0.02792682684957981,
-0.02307235822081566,
0.03352673724293709,
-0.07421699911355972,
-0.03919937461614609,
-0.00022769522911403328,
0.02730865404009819,
0.01936332695186138,
0.03978118300437927,
0.022872362285852432,
0.008490773849189281,
0.0076498775742948055,
-0.038181208074092865,
0.025381412357091904,
-0.006786255165934563,
-0.03938118740916252,
-0.008545317687094212,
0.00031846080673858523,
-0.03365400806069374,
0.009245307184755802,
-0.006763528101146221,
-0.06781709939241409,
-0.013508874922990799,
0.04410838708281517,
-0.03041769564151764,
0.0313267707824707,
0.04589017480611801,
-0.004288567695766687,
0.07414426654577255,
0.0675261914730072,
0.03652668744325638,
-0.031399499624967575,
-0.015481570735573769,
0.012436164543032646,
0.05229007452726364,
-0.03963572904467583,
0.031890399754047394,
-0.009908932261168957,
-0.05218098312616348,
0.0542900413274765,
0.013663417659699917,
0.003906755708158016,
-0.031563133001327515,
-0.0515991747379303,
-0.043635666370391846,
-0.05999904125928879,
-0.010199837386608124,
-0.021090572699904442,
0.03952664136886597,
0.04305385798215866,
0.006940798368304968,
-0.05523548275232315,
0.017708808183670044,
-0.010399834252893925,
0.0634898915886879,
0.08094415813684464,
0.010581648908555508,
-0.020617851987481117,
-0.051417361944913864,
-0.005495366640388966,
0.00004389134483062662,
-0.0195815060287714,
0.035726699978113174,
0.006363534834235907,
0.022763272747397423,
-0.00563172809779644,
0.022454187273979187,
-0.007240793202072382,
0.04461747035384178,
0.0343085415661335,
-0.06810799986124039,
0.032235849648714066,
-0.007590787950903177,
0.08814404904842377,
-0.028944991528987885,
-0.03230857476592064,
0.020545126870274544,
0.01663609780371189,
0.005031737964600325,
0.0029454075265675783,
0.015727020800113678,
-0.08159869909286499,
0.006813527550548315,
0.03594487905502319,
-0.08232595771551132,
-0.043635666370391846,
0.03247220814228058,
-0.04509018734097481,
0.06014449521899223,
0.02774501033127308,
-0.012927066534757614,
0.013381604105234146,
-0.000006351993761199992,
-0.003579488256946206,
-0.024235976859927177,
0.01896333321928978,
-0.023817801848053932,
0.025326868519186974,
0.030344970524311066,
0.0008465774008072913,
0.012563435360789299,
0.04181751236319542,
0.009745298884809017,
-0.04287204146385193,
0.031835854053497314,
-0.007868056185543537,
0.013054336421191692,
-0.03327219560742378,
0.004136297386139631,
0.017981531098484993,
-0.034563083201646805,
-0.009545302018523216,
0.02358144149184227,
-0.042181145399808884,
-0.02663593739271164,
0.011190730147063732,
-0.02614503726363182,
-0.06167174130678177,
-0.021199660375714302,
-0.012363438494503498,
0.00412720674648881,
0.03274493291974068,
-0.032672204077243805,
0.06123538687825203,
0.030544966459274292,
0.015672476962208748,
-0.018463341519236565,
-0.004424929153174162,
-0.02914498932659626,
0.03359946236014366,
-0.05974449962377548,
0.05654454976320267,
-0.01860879361629486,
0.029744978994131088,
0.03127222880721092,
0.02776319347321987,
-0.0014249772066250443,
0.018254254013299942,
0.04614471644163132,
0.05912632867693901,
-0.022563274949789047,
0.01885424368083477,
-0.05138099566102028,
-0.018999695777893066,
0.060435399413108826,
-0.014154319651424885,
0.02803591638803482,
-0.01858152076601982,
0.02998133935034275,
-0.07570788264274597,
-0.026235943660140038,
0.009836206212639809,
0.06007176637649536,
0.08785314112901688,
-0.019490597769618034,
0.03274493291974068
] |
5,681 | wordcloud.wordcloud | to_array | Convert to numpy array.
Returns
-------
image : nd-array size (width, height, 3)
Word cloud image as numpy matrix.
| def to_array(self):
"""Convert to numpy array.
Returns
-------
image : nd-array size (width, height, 3)
Word cloud image as numpy matrix.
"""
return np.array(self.to_image())
| (self) | [
-0.026477700099349022,
-0.027679650112986565,
-0.021025385707616806,
-0.0005677681183442473,
-0.009781071916222572,
0.03414229676127434,
-0.036685552448034286,
0.009319453500211239,
0.08326540142297745,
0.02910805121064186,
0.038601700216531754,
-0.029317086562514305,
-0.019788596779108047,
-0.007015719544142485,
0.018011804670095444,
-0.00864880159497261,
0.006022805813699961,
-0.0200150515884161,
-0.03433391451835632,
0.06518392264842987,
-0.023028632625937462,
-0.04020429775118828,
0.04191141203045845,
0.012002062983810902,
0.045883066952228546,
-0.004977633710950613,
0.0351700522005558,
-0.041284311562776566,
-0.004611823242157698,
-0.01000752579420805,
-0.07351046055555344,
-0.006406035739928484,
0.0645916536450386,
0.08967579156160355,
0.047450825572013855,
0.0206769946962595,
0.05832061916589737,
0.010042364709079266,
-0.04525596648454666,
0.0047685992904007435,
-0.033340997993946075,
-0.06504455953836441,
-0.033846165984869,
-0.012515939772129059,
0.025066718459129333,
-0.013787565752863884,
0.041528183966875076,
-0.059261273592710495,
-0.07281367480754852,
-0.025206074118614197,
0.021095063537359238,
-0.023917028680443764,
0.023394443094730377,
0.006580231245607138,
-0.04480305686593056,
0.027348678559064865,
0.007607984356582165,
0.02074667252600193,
-0.003989074844866991,
0.03130291402339935,
-0.021617649123072624,
-0.03717329725623131,
0.09699200093746185,
-0.019631821662187576,
0.011488187126815319,
0.04574371129274368,
0.014170795679092407,
0.04205077141523361,
0.01107882708311081,
0.04229464381933212,
-0.03480423986911774,
0.009153968654572964,
0.03147710859775543,
-0.016731468960642815,
-0.06448713690042496,
0.05271152779459953,
0.005582962650805712,
0.03332357853651047,
0.0019248591270297766,
0.026111891493201256,
-0.046545010060071945,
0.09162677824497223,
0.056474149227142334,
0.027017707005143166,
0.07727307826280594,
-0.05765867605805397,
-0.002804545918479562,
0.0418068952858448,
-0.07013107091188431,
-0.0002016856160480529,
0.019875695928931236,
0.004374482203274965,
0.01049527246505022,
0.035396505147218704,
0.002606398658826947,
-0.024073803797364235,
-0.0047598895616829395,
-0.005565543193370104,
0.022018298506736755,
0.012124000117182732,
-0.045952748507261276,
0.015442422591149807,
0.07880599796772003,
0.010042364709079266,
-0.017280183732509613,
-0.006031515542417765,
-0.011662381701171398,
-0.00100761151406914,
-0.012002062983810902,
0.041284311562776566,
0.01656598225235939,
0.041214630007743835,
0.050481826066970825,
0.019056977704167366,
0.02755771204829216,
-0.08194151520729065,
-0.0071028172969818115,
0.027784166857600212,
-0.04232948273420334,
0.02665189653635025,
-0.01944020763039589,
-0.004191576968878508,
0.014266603626310825,
0.02107764407992363,
-0.03675523027777672,
0.03222614899277687,
-0.008278636261820793,
0.007442498579621315,
-0.011357540264725685,
-0.004786018747836351,
-0.08047827333211899,
-0.048112768679857254,
-0.05354766547679901,
-0.0590522401034832,
0.0307454876601696,
-0.05717093124985695,
0.10382045805454254,
-0.05929611623287201,
0.011575284413993359,
0.013630789704620838,
0.009894298389554024,
0.029996447265148163,
0.05229346081614494,
0.031529366970062256,
0.0005503486027009785,
0.02806287817656994,
0.067692331969738,
0.03175581991672516,
0.008012988604605198,
-0.05964450538158417,
-0.040308814495801926,
0.013143043033778667,
0.08187183737754822,
-0.02330734394490719,
0.014118537306785583,
-0.055568333715200424,
0.02229701168835163,
-0.059087079018354416,
0.0431307815015316,
0.03551844134926796,
-0.031215816736221313,
0.030850006267428398,
-0.06375551968812943,
-0.04013461992144585,
-0.021025385707616806,
0.038009434938430786,
0.038427505642175674,
-0.031616464257240295,
-0.05062118172645569,
-0.00902332179248333,
-0.05340830981731415,
-0.005643931217491627,
-0.058285780251026154,
-0.007477337494492531,
-0.01230690535157919,
0.057449642568826675,
0.00508650578558445,
0.08131441473960876,
0.039890747517347336,
0.06762265413999557,
-0.011749479919672012,
-0.0013924745144322515,
-0.037695884704589844,
0.0025127686094492674,
0.011583994142711163,
-0.009084289893507957,
0.050899896770715714,
0.0209034476429224,
-0.004851341713219881,
-0.0006042402819730341,
0.07964213937520981,
0.04403659701347351,
0.0032618087716400623,
0.023568637669086456,
0.0482172854244709,
-0.03461262583732605,
-0.053025081753730774,
0.03314938396215439,
-0.0196840800344944,
0.03222614899277687,
0.009406551718711853,
-0.011305281892418861,
0.016818566247820854,
-0.008165409788489342,
-0.010251399129629135,
0.011218183673918247,
-0.03483907878398895,
-0.03158162534236908,
-0.023847350850701332,
0.022279592230916023,
0.03598877042531967,
-0.01630469039082527,
0.0033663262147456408,
-0.02968289703130722,
0.03797459602355957,
-0.07183818519115448,
0.0029112405609339476,
0.02165248803794384,
-0.029630636796355247,
0.013534982688724995,
-0.016461465507745743,
0.04344433173537254,
-0.04093591868877411,
-0.05623027682304382,
-0.05981869995594025,
-0.0104517238214612,
0.0003198118647560477,
0.012515939772129059,
-0.027923522517085075,
-0.05682253837585449,
-0.0162524301558733,
-0.018412454053759575,
-0.02436993643641472,
-0.023673154413700104,
0.09030289947986603,
0.011331411078572273,
0.022105395793914795,
0.009032031521201134,
0.04016945883631706,
0.0031529366970062256,
-0.0018170757684856653,
-0.04765986278653145,
-0.009075580164790154,
0.02903837338089943,
-0.024073803797364235,
0.03773072361946106,
-0.016374368220567703,
0.022662822157144547,
0.02205313742160797,
-0.017811479046940804,
-0.04020429775118828,
-0.062222596257925034,
0.038079116493463516,
0.01012946292757988,
0.03320164233446121,
-0.054348964244127274,
-0.014658543281257153,
-0.026390602812170982,
0.022000879049301147,
0.005931353196501732,
0.03297518938779831,
0.0234467014670372,
0.06532327830791473,
0.06110774725675583,
0.0016113074962049723,
0.02238410897552967,
0.013979180715978146,
0.06351163983345032,
-0.009310743771493435,
0.026442861184477806,
0.031459689140319824,
0.05062118172645569,
-0.02288927510380745,
-0.03828814998269081,
0.03443843126296997,
-0.035396505147218704,
0.018987298011779785,
0.02994418889284134,
-0.04532564431428909,
0.08256862312555313,
-0.012219807133078575,
-0.04198108986020088,
-0.005896514281630516,
-0.007555725518614054,
0.015843071043491364,
-0.037591367959976196,
-0.014658543281257153,
-0.012245936319231987,
-0.019422786310315132,
-0.022523464635014534,
0.02205313742160797,
0.04992440342903137,
-0.05100441351532936,
-0.031790658831596375,
-0.0325048603117466,
-0.016801146790385246,
-0.045151449739933014,
-0.01607823558151722,
0.0028241430409252644,
0.032835833728313446,
0.02477058582007885,
0.062814861536026,
0.04407143592834473,
0.049157943576574326,
-0.0006450673681683838,
0.05675286054611206,
-0.02182668447494507,
0.04107527434825897,
-0.030135804787278175,
-0.011409798637032509,
-0.0424688383936882,
-0.017942126840353012,
-0.02229701168835163,
0.028585465624928474,
-0.045639194548130035,
0.021861523389816284,
0.050237953662872314,
0.012559488415718079,
0.016017267480492592,
0.02517123520374298,
-0.0075992741622030735,
0.004725050181150436,
-0.027540292590856552,
-0.024962201714515686,
0.030379677191376686,
-0.06894654035568237,
0.0003285216516815126,
0.01057366095483303,
0.024944782257080078,
0.04013461992144585,
0.09629521518945694,
-0.021216999739408493,
-0.0015742909163236618,
0.02607705071568489,
-0.03895009309053421,
-0.04609210416674614,
-0.008252507075667381,
-0.012280776165425777,
-0.0009314010385423899,
-0.03133775293827057,
-0.05619543790817261,
0.015764683485031128,
-0.049332138150930405,
0.02280217781662941,
0.07351046055555344,
0.01352627296000719,
0.0025737369433045387,
-0.050237953662872314,
0.022244753316044807,
-0.03846234455704689,
0.021547971293330193,
0.0033314870670437813,
-0.0011181167792528868,
0.09127838909626007,
-0.020398281514644623,
0.01558177825063467,
-0.031790658831596375,
0.02945644222199917,
0.021199580281972885,
0.0024017191026359797,
0.0005960749113000929,
0.015755973756313324,
0.020537637174129486,
-0.0360584482550621,
0.029560958966612816,
0.03027516044676304,
-0.027278998866677284,
-0.007041849195957184,
-0.008052182383835316,
0.03766104578971863,
0.007002654951065779,
-0.026042211800813675,
-0.05347798764705658,
0.04598758742213249,
0.023986706510186195,
-0.019736338406801224,
-0.07929375022649765,
0.018064063042402267,
0.0010304746683686972,
0.016043396666646004,
-0.0012977557489648461,
0.025449948385357857,
0.01718437671661377,
-0.033846165984869,
0.05710125342011452,
0.02158281020820141,
-0.02008472941815853,
0.027505453675985336,
-0.04759018495678902,
-0.03713845834136009,
-0.057205770164728165,
0.0019019960891455412,
-0.03584941476583481,
0.019910534843802452,
0.012280776165425777,
0.012176258489489555,
-0.015033063478767872,
0.038497183471918106,
0.052049584686756134,
-0.00850509013980627,
-0.023638315498828888,
-0.005887804552912712,
-0.022175073623657227,
0.014127247035503387,
-0.07776083052158356,
0.019910534843802452,
-0.041144952178001404,
0.020032471045851707,
0.02205313742160797,
-0.010983020067214966,
0.011496896855533123,
0.00047685991739854217,
0.020311184227466583,
-0.014771769754588604,
0.006580231245607138,
0.014980804175138474,
0.013395626097917557,
-0.02689577080309391,
-0.015233388170599937,
0.028149977326393127,
0.008330894634127617,
0.045464999973773956,
0.0072203995659947395,
0.029996447265148163,
0.011148505844175816,
0.006549747195094824,
-0.023603476583957672,
0.004139318130910397,
0.046788886189460754,
0.004864406771957874,
-0.03168614208698273,
-0.004794728476554155,
0.008008633740246296,
-0.07351046055555344,
-0.052955400198698044,
-0.021373774856328964,
-0.03123323619365692,
-0.0005672237602993846,
-0.005900869145989418,
0.03633715957403183,
0.03619780391454697,
0.024753166362643242,
0.016862114891409874,
-0.01143592782318592,
0.052781205624341965,
-0.041528183966875076,
-0.03647651523351669,
-0.00028497277526184916,
0.016383077949285507,
-0.08312604576349258,
0.009955267421901226,
-0.0020751026459038258,
0.0674484595656395,
-0.03654619678854942,
0.047450825572013855,
0.024979621171951294,
0.0196840800344944,
-0.03118097595870495,
0.02912547066807747,
-0.014911126345396042,
0.005060376599431038,
0.01099172979593277,
-0.005953127983957529,
-0.014832738786935806,
0.01827309839427471,
-0.06800588220357895,
-0.015555649064481258,
-0.0003198118647560477,
0.015198548324406147,
-0.02355121821165085,
0.05340830981731415,
-0.01959698274731636,
0.014702091924846172,
-0.07657629996538162,
0.01760244555771351,
-0.000011082842320320196,
-0.0009411995415575802,
0.01844729296863079,
0.015172419138252735,
-0.0027566421777009964,
-0.05103925243020058,
-0.05852965638041496,
-0.05751932039856911,
-0.025310590863227844,
-0.06915557384490967,
0.014292732812464237,
-0.006401680875569582,
0.001983650028705597,
0.049576010555028915,
-0.056787699460983276,
-0.061560653150081635,
0.0762975886464119,
-0.005395702552050352,
-0.011061407625675201,
0.0028872888069599867,
0.048182446509599686,
0.0320693738758564,
0.023167988285422325,
-0.06448713690042496,
0.04692824184894562,
-0.013317238539457321,
-0.004672791808843613,
-0.07103688269853592,
-0.033010028302669525,
0.0008894852944649756,
-0.022488625720143318,
0.039159126579761505,
-0.01147947646677494,
0.034647464752197266,
0.0016602999530732632,
-0.07643694430589676,
-0.00963300559669733,
-0.038601700216531754,
-0.05410509184002876,
-0.03469972312450409,
0.01086979266256094,
-0.052363138645887375,
0.032278407365083694,
-0.06668199598789215,
0.011296572163701057,
-0.020711833611130714,
0.026913190260529518,
-0.033915843814611435,
0.02468348853290081,
-0.02149571292102337,
0.04009978100657463,
-0.013282399624586105,
-0.034159719944000244,
-0.022000879049301147,
0.03814879432320595,
-0.004324400797486305,
-0.037033941596746445,
0.02713964320719242,
0.025624142959713936,
-0.032017115503549576,
0.004720695316791534,
0.007346691098064184,
0.010564951226115227,
0.026390602812170982,
0.00510828010737896,
-0.032365504652261734,
-0.07546144723892212,
0.0032335021533071995,
-0.010643338784575462,
0.01279465202242136,
0.04609210416674614,
0.0034991500433534384,
-0.026390602812170982,
0.026181569322943687,
0.00040963137871585786,
0.025484787300229073,
-0.009659134782850742,
-0.00752524146810174,
-0.020467959344387054,
0.09295066446065903,
0.07148979604244232,
0.01005107443779707,
-0.073440782725811,
0.021774424239993095,
-0.02558930404484272,
0.010983020067214966,
-0.060480643063783646,
-0.022680241614580154,
0.04435014724731445,
-0.07978149503469467,
0.03598877042531967,
-0.041284311562776566,
0.0992913767695427,
-0.04543016105890274,
-0.031529366970062256,
0.030397096648812294,
-0.04814760759472847,
-0.030153224244713783,
-0.02328992448747158,
0.030658390372991562,
0.02024150639772415,
0.009171388112008572,
-0.05521994084119797,
0.024578971788287163,
-0.02508413791656494,
0.012324324809014797,
-0.025798339396715164,
0.003764798166230321,
-0.005852965638041496,
0.0023538153618574142,
-0.008883965201675892,
-0.004916665144264698,
0.01959698274731636,
0.012463681399822235,
-0.04330497607588768,
0.057449642568826675,
0.018726006150245667,
0.06386003643274307,
0.02614673040807247,
-0.048426322638988495,
-0.03640683740377426,
-0.003359793685376644,
-0.03658103570342064,
0.021878942847251892,
-0.07337110489606857,
0.05013343691825867,
0.03571005538105965,
-0.07587951421737671,
0.039646875113248825,
0.02862030453979969,
-0.022906694561243057,
0.024160902947187424,
-0.05257217213511467,
0.044489506632089615,
0.013935632072389126,
-0.033166803419589996,
-0.05340830981731415,
-0.04065720736980438,
-0.07027042657136917,
0.004833922255784273,
0.03302744776010513,
-0.021878942847251892,
0.016095655038952827,
-0.010713017545640469,
0.024491872638463974,
0.04431530833244324,
-0.018342776224017143,
0.0007484958623535931,
0.0018584472127258778,
-0.001764817163348198,
-0.058773528784513474,
-0.022593144327402115,
-0.023150568827986717,
0.029665477573871613,
-0.00025476078735664487,
0.034002941101789474,
-0.038044273853302,
0.019579563289880753,
-0.03853202238678932,
-0.049994081258773804,
0.03330615907907486,
-0.04142366722226143,
0.029630636796355247,
0.017567606642842293,
0.05246765539050102,
0.01827309839427471,
0.04340949282050133,
-0.009310743771493435,
-0.018011804670095444,
-0.010085913352668285,
-0.06783168762922287,
-0.012742393650114536,
-0.03288809210062027,
-0.020711833611130714,
-0.004729405045509338,
-0.02140861563384533,
0.010747856460511684,
0.01643533632159233,
0.028742240741848946,
-0.05790255218744278,
-0.00028116226894780993,
-0.019422786310315132,
0.05239797756075859,
-0.04480305686593056,
-0.018969878554344177,
-0.01632210984826088,
0.033584874123334885,
-0.029142890125513077,
0.011401088908314705,
0.036371998488903046,
0.004820857662707567,
0.029421603307127953,
0.029404183849692345,
-0.02983967214822769,
0.038984932005405426,
-0.018673747777938843,
0.05354766547679901,
0.04549983888864517,
-0.02207055687904358,
0.037277814000844955,
0.03436875343322754,
0.04131915047764778,
-0.017942126840353012,
0.05887804552912712,
0.05612575635313988,
-0.03647651523351669,
0.0849376767873764,
-0.023498959839344025,
0.05960966646671295,
-0.01188883651047945,
0.0013227963354438543,
-0.01722792536020279,
0.017445668578147888,
-0.021356355398893356,
-0.03076290711760521,
-0.04159786179661751,
0.06664715707302094,
0.06044580414891243,
0.004071817267686129,
0.03633715957403183,
0.10193914920091629,
-0.012846910394728184,
-0.012820781208574772,
-0.03832298889756203,
-0.00654103746637702,
0.03182550147175789,
-0.03147710859775543,
-0.08660995215177536,
0.004986343439668417,
0.04421079158782959,
-0.0077125015668570995,
0.00897977314889431,
0.0052607012912631035,
-0.02393444813787937,
0.014101117849349976,
0.0072378190234303474,
0.012968847528100014,
0.0066063604317605495,
-0.014083698391914368,
0.013099494390189648,
0.04880955070257187,
-0.021129902452230453,
0.043583691120147705,
0.015346614643931389,
-0.010791405104100704,
-0.006101193837821484,
0.024788005277514458,
0.01886536180973053,
0.019945373758673668,
-0.0966436117887497,
0.01086979266256094,
-0.019875695928931236,
0.008618317544460297,
-0.01782889850437641,
-0.04354884847998619,
-0.06643812358379364,
-0.02713964320719242,
0.009702683426439762,
0.024073803797364235,
-0.07824857532978058,
-0.00881428737193346,
0.036302320659160614,
-0.05013343691825867,
0.002093611052259803,
-0.029996447265148163,
-0.024753166362643242,
-0.016052106395363808,
-0.02583317831158638,
0.0218963623046875,
0.02795836143195629,
-0.04762502387166023,
0.03874105587601662,
-0.026355763897299767,
-0.03118097595870495,
0.04825212433934212,
0.06100323051214218,
-0.0008508356404490769,
-0.006318937987089157,
0.00885783601552248,
-0.005156184080988169,
-0.025484787300229073,
0.03699910268187523,
-0.03780040144920349,
-0.019945373758673668,
-0.039333321154117584,
-0.053338631987571716,
-0.048844389617443085,
-0.07176850736141205,
0.017611155286431313,
-0.02092086710035801,
0.018499551340937614,
0.05323411524295807,
-0.00560038210824132
] |
5,682 | wordcloud.wordcloud | to_file | Export to image file.
Parameters
----------
filename : string
Location to write to.
Returns
-------
self
| def to_file(self, filename):
"""Export to image file.
Parameters
----------
filename : string
Location to write to.
Returns
-------
self
"""
img = self.to_image()
img.save(filename, optimize=True)
return self
| (self, filename) | [
-0.0013682788703590631,
-0.06595716625452042,
-0.03595120087265968,
0.010596510954201221,
0.01669037900865078,
-0.04976513609290123,
-0.08526170253753662,
0.01135715190321207,
0.004952907562255859,
-0.02670111134648323,
0.027190718799829483,
-0.03427254408597946,
0.022819221019744873,
0.04368000850081444,
0.039133649319410324,
0.04462425410747528,
0.01789691299200058,
-0.029621271416544914,
-0.0046119303442537785,
0.10806342959403992,
0.03234908729791641,
-0.04945038631558418,
0.015431388281285763,
-0.023378772661089897,
0.04966021701693535,
0.05060446262359619,
0.030443113297224045,
0.002808687509968877,
-0.024515360593795776,
-0.039553314447402954,
-0.07477010041475296,
-0.050744350999593735,
0.07421055436134338,
0.04095219448208809,
-0.00873862486332655,
0.05780868977308273,
0.008279617875814438,
0.05532567948102951,
-0.04766681417822838,
-0.0125374561175704,
0.021420340985059738,
-0.021665144711732864,
0.03986806422472,
0.006867623422294855,
0.018500179052352905,
-0.003337638918310404,
-0.010946230962872505,
-0.06368398666381836,
0.02343123033642769,
-0.08162461221218109,
0.0015726464334875345,
0.0202487800270319,
-0.028152447193861008,
0.018972301855683327,
-0.027942616492509842,
0.03129992634057999,
0.03021579422056675,
0.015614991076290607,
-0.009547351859509945,
-0.00016994199540931731,
-0.03215673938393593,
-0.04423956200480461,
0.0765186995267868,
-0.015378930605947971,
0.007094941567629576,
0.06064142286777496,
-0.08959822356700897,
0.034779638051986694,
-0.03773477301001549,
0.0705384910106659,
0.0686500072479248,
-0.05927751585841179,
0.051513735204935074,
0.02792512997984886,
-0.028344793245196342,
0.030897747725248337,
-0.05165361985564232,
-0.05378691107034683,
0.012747288681566715,
-0.01829034835100174,
-0.004900449421256781,
0.0020666257478296757,
0.008283988572657108,
-0.037140246480703354,
0.006544132716953754,
-0.06305448710918427,
0.028921831399202347,
-0.03672058507800102,
-0.07120296359062195,
0.01666415110230446,
0.014084966853260994,
0.04063744470477104,
-0.021420340985059738,
-0.027155745774507523,
0.021385367959737778,
-0.062320075929164886,
-0.009057744406163692,
0.005306998733431101,
-0.0003021798038389534,
-0.01211779285222292,
-0.055465567857027054,
-0.03131741285324097,
0.021262966096401215,
-0.009494894184172153,
0.04245598986744881,
-0.030390655621886253,
0.017783254384994507,
0.054381437599658966,
0.0021955848205834627,
0.00676707923412323,
-0.03689544275403023,
0.05403171479701996,
-0.003081906121224165,
-0.03815443441271782,
0.04770178720355034,
-0.08826929330825806,
-0.0037135875318199396,
0.0040392642840743065,
0.002201049355790019,
-0.02703334391117096,
-0.03857409954071045,
-0.005499344784766436,
-0.06053650751709938,
0.05105909705162048,
-0.013805191032588482,
-0.01864006742835045,
0.012852204032242298,
0.029568813741207123,
-0.013980050571262836,
-0.04336526244878769,
-0.08127488940954208,
0.015169098041951656,
-0.017214959487318993,
-0.0034119542688131332,
0.021402854472398758,
-0.04004292190074921,
0.03394031152129173,
-0.0073965745978057384,
-0.02472519315779209,
0.0964527353644371,
0.01232762448489666,
-0.03579382598400116,
0.00952986627817154,
0.0162707157433033,
0.06690140813589096,
-0.029568813741207123,
0.021210508421063423,
-0.026386363431811333,
0.01053531002253294,
-0.045638442039489746,
0.028956802561879158,
0.03990303352475166,
-0.012729802168905735,
-0.049625247716903687,
0.05490601435303688,
-0.09994993358850479,
0.054311491549015045,
0.019794143736362457,
0.0028742600698024035,
-0.010063189081847668,
0.00535945687443018,
0.06480308622121811,
-0.04427453130483627,
0.0025354688987135887,
-0.013228152878582478,
-0.02701585739850998,
0.0074228039011359215,
0.10687438398599625,
0.021595200523734093,
-0.04616301879286766,
-0.010071931406855583,
-0.08673052489757538,
-0.04899575188755989,
0.02661368064582348,
-0.06536263972520828,
0.041966382414102554,
0.003916862420737743,
0.028711998835206032,
0.007169256918132305,
0.05822835490107536,
0.010841315612196922,
-0.015011724084615707,
-0.039238568395376205,
0.04497397318482399,
0.04822636768221855,
-0.026491278782486916,
0.013612844981253147,
0.03542662039399147,
0.002164984354749322,
-0.0265961941331625,
0.10491595417261124,
0.037140246480703354,
0.011112348176538944,
-0.02666613832116127,
0.02949886955320835,
-0.09519374370574951,
0.030443113297224045,
-0.04616301879286766,
0.010666455142199993,
0.04203632473945618,
-0.044764138758182526,
-0.003975877538323402,
0.01292214822024107,
0.0046119303442537785,
0.0141024524345994,
0.0262814462184906,
-0.004218495450913906,
-0.039203595370054245,
-0.015413902699947357,
0.04011286795139313,
0.025739381089806557,
-0.025214800611138344,
-0.03180702030658722,
0.026875970885157585,
0.042351074516773224,
-0.009206375107169151,
-0.050394631922245026,
0.08652069419622421,
-0.019671741873025894,
0.04507888853549957,
-0.03811946511268616,
0.026159044355154037,
-0.0437149815261364,
0.023168940097093582,
0.027190718799829483,
-0.010465366765856743,
0.04808647930622101,
-0.044344477355480194,
0.027243176475167274,
-0.02353614568710327,
-0.03227914124727249,
-0.03198188170790672,
-0.030373169109225273,
0.010517824441194534,
-0.009040257893502712,
0.009835870936512947,
-0.043959785252809525,
-0.01834280602633953,
-0.031247468665242195,
-0.0158685389906168,
0.00228847935795784,
-0.010194333270192146,
0.0015300243394449353,
-0.003099392168223858,
0.05287764221429825,
-0.059907011687755585,
-0.01871001161634922,
0.022819221019744873,
-0.020913247019052505,
-0.008117872290313244,
0.07567937672138214,
-0.06078131124377251,
-0.010071931406855583,
0.04350515082478523,
-0.00995827279984951,
-0.037629853934049606,
-0.055465567857027054,
-0.06578230112791061,
0.004026149865239859,
0.04423956200480461,
-0.008275246247649193,
-0.037979576736688614,
0.030880263075232506,
-0.04535866528749466,
0.013333069160580635,
-0.02712077461183071,
-0.07092318683862686,
-0.009022772312164307,
-0.026368876919150352,
0.019601797685027122,
0.04060247540473938,
0.07176250964403152,
-0.045218776911497116,
0.012668601237237453,
0.02589675411581993,
-0.01012439001351595,
-0.06018678471446037,
0.028152447193861008,
-0.029219092801213264,
0.0023562374990433455,
0.07057346403598785,
-0.03147478774189949,
-0.01714501529932022,
-0.014382229186594486,
0.04137185961008072,
0.01112983375787735,
-0.003715773345902562,
0.023763462901115417,
0.026386363431811333,
-0.0356714241206646,
0.03790963068604469,
0.0835830420255661,
-0.0020097962114959955,
-0.02271430380642414,
-0.018150459975004196,
-0.019724199548363686,
-0.033223386853933334,
-0.053157415241003036,
0.03215673938393593,
0.024760166183114052,
-0.005105909891426563,
-0.01292214822024107,
0.05413663387298584,
-0.0018371220212429762,
0.0006671998999081552,
0.061096057295799255,
-0.06078131124377251,
-0.010360450483858585,
-0.0007322259480133653,
0.04214124009013176,
0.016541749238967896,
0.001619640039280057,
0.01137463841587305,
0.041231971234083176,
0.039588287472724915,
0.003744188230484724,
0.03028573840856552,
-0.02906171977519989,
0.022189725190401077,
0.01789691299200058,
-0.05242300406098366,
0.029638757929205894,
-0.014181139878928661,
-0.011400867253541946,
0.08211421966552734,
-0.01946190930902958,
0.010657712817192078,
0.06466320157051086,
0.0358462855219841,
-0.01666415110230446,
0.006797679699957371,
0.023064024746418,
0.06892978399991989,
0.016043398529291153,
-0.015239042229950428,
-0.018500179052352905,
0.030443113297224045,
0.008865398354828358,
0.034394945949316025,
0.019706713035702705,
-0.0008240274037234485,
-0.0020600685384124517,
-0.030548028647899628,
-0.003914676606655121,
-0.03215673938393593,
0.028921831399202347,
-0.03735008090734482,
-0.0739307776093483,
0.016428090631961823,
-0.022119781002402306,
-0.035618968307971954,
0.018150459975004196,
-0.014137424528598785,
0.017582165077328682,
0.001829471904784441,
0.013621588237583637,
-0.010657712817192078,
0.01395382173359394,
0.006622819695621729,
-0.03766482695937157,
0.034412432461977005,
-0.0019081588834524155,
0.0018414935329928994,
-0.019391965121030807,
0.031229982152581215,
0.003927791025489569,
-0.0011038032826036215,
-0.0048917061649262905,
0.006657791789621115,
-0.011715615168213844,
-0.0008092735661193728,
0.0009912372333928943,
0.015571276657283306,
0.003081906121224165,
0.02708580158650875,
0.00635178666561842,
-0.028956802561879158,
0.009433693252503872,
0.03871398791670799,
0.004511386156082153,
0.0001654338848311454,
0.0010682848514989018,
0.018937330693006516,
0.014277312904596329,
0.06697135418653488,
-0.0017518778331577778,
-0.0015267457347363234,
0.011715615168213844,
0.009678496979176998,
-0.04651274159550667,
-0.02986607514321804,
0.03927353769540787,
-0.023588603362441063,
0.007873067632317543,
0.037140246480703354,
-0.0038993763737380505,
-0.011995390988886356,
0.08554147183895111,
-0.029708700254559517,
0.04168660566210747,
-0.06651671230792999,
-0.04172157868742943,
-0.026141557842493057,
0.07463021576404572,
-0.020056433975696564,
0.007628264371305704,
-0.01353415846824646,
0.023396257311105728,
0.0851917564868927,
-0.06634185463190079,
-0.019304536283016205,
-0.03449986129999161,
-0.07889679819345474,
0.013123237527906895,
0.033188413828611374,
0.029603784903883934,
0.005844693165272474,
-0.08246394246816635,
0.015291500836610794,
0.025547035038471222,
-0.010579025372862816,
0.0906473845243454,
0.021979892626404762,
0.03213925287127495,
-0.025721894577145576,
-0.07253189384937286,
-0.024340501055121422,
0.031212495639920235,
-0.007663235999643803,
0.04623296484351158,
-0.06851011514663696,
-0.02787267230451107,
-0.03493701294064522,
-0.0335206463932991,
0.055500540882349014,
-0.024148155003786087,
0.03895879164338112,
-0.02582680992782116,
-0.0024130670353770256,
0.0598020926117897,
0.08568136394023895,
-0.030722888186573982,
-0.04221118614077568,
-0.04787664860486984,
-0.006321186199784279,
-0.028414737433195114,
-0.0028108733240514994,
0.01991654559969902,
0.03399277105927467,
-0.02948138304054737,
0.08344315737485886,
0.059837065637111664,
0.03588125482201576,
-0.06249493733048439,
0.001962802605703473,
-0.027627868577837944,
0.00498350802809,
-0.10841315239667892,
0.041931409388780594,
0.023361286148428917,
-0.009879585355520248,
0.01984660141170025,
-0.002123455284163356,
-0.006019552703946829,
-0.013717761263251305,
-0.03927353769540787,
0.008909112773835659,
0.02544211968779564,
0.022434528917074203,
-0.011881731450557709,
0.028484681621193886,
-0.04766681417822838,
-0.051548704504966736,
-0.009092716500163078,
-0.00507968058809638,
0.03397528454661369,
-0.017809484153985977,
0.03707030415534973,
0.027522951364517212,
-0.0008054485078901052,
-0.010963717475533485,
-0.029184121638536453,
-0.04137185961008072,
0.0025245400611311197,
0.048296310007572174,
0.03874896094202995,
0.017713310196995735,
0.002358423313125968,
0.026980886235833168,
0.021000677719712257,
-0.045988161116838455,
0.01827286183834076,
-0.07463021576404572,
-0.019409451633691788,
-0.041966382414102554,
0.08910861611366272,
-0.015562533400952816,
-0.0012262052623555064,
-0.08603107929229736,
-0.015247785486280918,
-0.022539444267749786,
-0.05368199571967125,
-0.04574335739016533,
0.006203155964612961,
-0.00159559678286314,
0.053996745496988297,
-0.003547470783814788,
-0.010692683979868889,
-0.008471962995827198,
-0.0038403610233217478,
-0.03505941480398178,
-0.011462068185210228,
-0.028082503005862236,
0.05878790467977524,
-0.02392083778977394,
-0.0063649010844528675,
-0.0604315884411335,
0.0085812509059906,
-0.034429918974637985,
-0.013883877545595169,
-0.03748996928334236,
-0.002491754014045,
0.031229982152581215,
-0.030565515160560608,
-0.05018479749560356,
0.07183245569467545,
0.029533840715885162,
0.037594884634017944,
0.03063545934855938,
0.05619997903704643,
-0.03227914124727249,
-0.020143862813711166,
0.023291341960430145,
-0.00025696211378090084,
-0.010701427236199379,
0.025249773636460304,
-0.026089100167155266,
0.0062250131741166115,
0.002330008428543806,
-0.04570838436484337,
-0.009835870936512947,
-0.03129992634057999,
0.015754878520965576,
-0.06312443315982819,
-0.0016939555061981082,
-0.017424792051315308,
-0.021577714011073112,
-0.012362596578896046,
0.06200532987713814,
-0.06315940618515015,
0.028134962543845177,
0.02823987789452076,
0.03255891799926758,
-0.0565846711397171,
0.059872038662433624,
0.05822835490107536,
0.012415054254233837,
0.0014710091054439545,
0.013333069160580635,
-0.02190994843840599,
-0.03227914124727249,
0.03537416085600853,
0.05815841257572174,
-0.024445418268442154,
-0.0548010990023613,
0.028799429535865784,
0.0031999365892261267,
0.03696538880467415,
-0.03456980735063553,
-0.06504788994789124,
0.05025474354624748,
0.050394631922245026,
0.03776974231004715,
-0.05179350823163986,
0.008148472756147385,
0.027662839740514755,
0.061515722423791885,
0.028572112321853638,
0.011191034689545631,
0.0072435722686350346,
-0.02227715402841568,
-0.004987879190593958,
-0.017818225547671318,
0.043889839202165604,
-0.041931409388780594,
-0.028187420219182968,
-0.02542463317513466,
-0.0017234631814062595,
0.00006717762880725786,
0.025372175499796867,
0.057878635823726654,
-0.021700115874409676,
0.02904423326253891,
-0.034027740359306335,
-0.044309504330158234,
-0.04906569421291351,
-0.03374796360731125,
-0.007365974131971598,
0.033625561743974686,
-0.03374796360731125,
0.023168940097093582,
-0.019759170711040497,
-0.041196998208761215,
0.04686246067285538,
0.008039184845983982,
0.028886860236525536,
-0.026823513209819794,
0.03060048632323742,
-0.006736478768289089,
0.044764138758182526,
-0.035618968307971954,
0.04374995455145836,
0.026054129004478455,
-0.043155428022146225,
-0.010246791876852512,
0.0290092620998621,
0.001679748180322349,
0.002928903792053461,
-0.049205582588911057,
0.04980010539293289,
-0.008467591367661953,
0.015239042229950428,
0.026578707620501518,
0.024865081533789635,
-0.008913484402000904,
-0.05340222269296646,
0.006906967144459486,
-0.02979613095521927,
0.04133688658475876,
0.02114056423306465,
-0.0485411137342453,
-0.05959226191043854,
0.04497397318482399,
-0.01492429431527853,
-0.03853912651538849,
-0.02311648242175579,
-0.032786235213279724,
0.04843619838356972,
-0.01670786552131176,
-0.0007070898427627981,
0.016025912016630173,
0.0380844920873642,
-0.02392083778977394,
-0.016585463657975197,
-0.022819221019744873,
-0.0038950047455728054,
-0.023064024746418,
-0.040777333080768585,
-0.007943011820316315,
-0.060711365193128586,
-0.037594884634017944,
0.03388785198330879,
0.024043239653110504,
0.020546041429042816,
0.039938006550073624,
0.016541749238967896,
0.02023129351437092,
-0.014810635708272457,
-0.025354688987135887,
0.0068020508624613285,
0.04214124009013176,
-0.010797600261867046,
0.0203362088650465,
0.010613997466862202,
0.013621588237583637,
0.028554625809192657,
0.0037660456728190184,
-0.018080515787005424,
-0.10330723971128464,
0.002242578426375985,
-0.027348091825842857,
0.04343520477414131,
-0.01755593717098236,
-0.0017781069036573172,
0.011453324928879738,
-0.021962406113743782,
-0.016069626435637474,
-0.014915551990270615,
-0.012283910065889359,
-0.0066446769051253796,
0.000008128254194161855,
0.007462147157639265,
0.018010571599006653,
-0.01745101995766163,
0.008839169517159462,
0.004423955921083689,
0.005368199665099382,
0.015597505494952202,
-0.06085125356912613,
-0.009293804876506329,
-0.037594884634017944,
0.04060247540473938,
-0.020983191207051277,
-0.0072435722686350346,
0.024865081533789635,
0.04137185961008072,
0.014784406870603561,
0.009599809534847736,
0.005779120605438948,
-0.04074236378073692,
-0.026980886235833168,
-0.007685093674808741,
0.02264435961842537,
0.03983309119939804,
-0.007068712264299393,
0.005936494562774897,
0.02703334391117096,
0.017993086948990822,
0.007733180187642574,
-0.06871995329856873,
-0.014137424528598785,
-0.006928824353963137,
0.012292652390897274,
0.0059277513064444065,
-0.026945915073156357,
0.03829432278871536,
0.0017081628320738673,
-0.004308111499994993,
0.0010234769433736801,
-0.024095697328448296,
-0.011636927723884583,
-0.006106982938945293,
0.018867386505007744,
-0.05420657619833946,
-0.050394631922245026,
-0.025319717824459076,
-0.051968369632959366,
-0.0171187873929739,
0.032751262187957764,
-0.012196479365229607,
-0.01673409529030323,
-0.018430236726999283,
0.001266641542315483,
0.0028436596039682627,
-0.02385089360177517,
-0.021350396797060966,
0.03630091995000839,
-0.009634781628847122,
0.022574415430426598,
0.013376784510910511,
0.04133688658475876,
0.025284744799137115,
-0.016008425503969193,
-0.003709216136485338,
0.036825500428676605,
0.0069419387727975845,
0.046337880194187164,
0.02586178295314312,
-0.051129043102264404,
0.034797124564647675,
0.04966021701693535,
0.013385526835918427,
0.05934745818376541,
0.057948578149080276,
0.08239399641752243,
-0.020458610728383064,
0.05613003671169281,
0.0009158288594335318,
0.03530421853065491,
-0.04287565499544144,
-0.04546358063817024,
-0.02862456999719143,
-0.016017168760299683,
-0.02589675411581993,
0.0021212694700807333,
0.07910662889480591,
0.009206375107169151,
-0.02355363219976425
] |
5,683 | wordcloud.wordcloud | to_image | null | def to_image(self):
self._check_generated()
if self.mask is not None:
width = self.mask.shape[1]
height = self.mask.shape[0]
else:
height, width = self.height, self.width
img = Image.new(self.mode, (int(width * self.scale),
int(height * self.scale)),
self.background_color)
draw = ImageDraw.Draw(img)
for (word, count), font_size, position, orientation, color in self.layout_:
font = ImageFont.truetype(self.font_path,
int(font_size * self.scale))
transposed_font = ImageFont.TransposedFont(
font, orientation=orientation)
pos = (int(position[1] * self.scale),
int(position[0] * self.scale))
draw.text(pos, word, fill=color, font=transposed_font)
return self._draw_contour(img=img)
| (self) | [
0.0486312210559845,
-0.07506372034549713,
0.012739473022520542,
-0.043482035398483276,
0.0027700725477188826,
-0.03217289224267006,
-0.022122438997030258,
-0.013282998465001583,
0.03989667445421219,
0.0019726634491235018,
0.029445728287100792,
-0.023419270291924477,
-0.0036044318694621325,
-0.04721996188163757,
-0.017726557329297066,
0.031047698110342026,
0.03539590165019035,
-0.06835070997476578,
-0.06625288724899292,
0.020787464454770088,
0.051835160702466965,
-0.04046880453824997,
0.034480489790439606,
0.005144420545548201,
0.03394649922847748,
0.013139965943992138,
0.007514000870287418,
-0.03331715613603592,
-0.007771459873765707,
-0.019719483330845833,
-0.013874202035367489,
-0.017812376841902733,
0.03617781400680542,
0.0058834245428442955,
-0.008748852647840977,
0.028034469112753868,
0.041727494448423386,
0.010069523938000202,
0.05767090991139412,
-0.030990485101938248,
0.014646579511463642,
-0.029274089261889458,
0.014503546990454197,
0.008663032203912735,
0.011175645515322685,
-0.010746547020971775,
0.011757313273847103,
-0.03303108736872673,
0.026241788640618324,
-0.10214463621377945,
0.005859585478901863,
-0.03493819758296013,
-0.0487075075507164,
-0.009349591098725796,
-0.01869918219745159,
-0.0024315612390637398,
-0.00608843844383955,
0.04031623527407646,
0.01583852246403694,
-0.0429099015891552,
-0.07403388619422913,
-0.014103055000305176,
0.06575704365968704,
-0.00038797702291049063,
-0.035910818725824356,
0.03442327678203583,
-0.01403630618005991,
-0.013778846710920334,
0.006779764778912067,
-0.0001878798211691901,
0.017860054969787598,
0.0243537537753582,
0.04447373002767563,
0.004963245242834091,
-0.0724700540304184,
-0.03310737386345863,
-0.012491549365222454,
-0.013979092240333557,
0.0649179145693779,
-0.011061219498515129,
-0.032916661351919174,
0.0649942010641098,
0.04176563769578934,
-0.011099361814558506,
0.09260910749435425,
-0.07086808979511261,
0.04088836908340454,
-0.03207753598690033,
-0.060264572501182556,
0.017001856118440628,
0.04779209569096565,
-0.017240244895219803,
-0.006951404269784689,
0.002596049103885889,
-0.01457983162254095,
0.011070754379034042,
0.030570920556783676,
0.017202103510499,
0.034957267343997955,
-0.005959708709269762,
-0.07674197852611542,
0.026680422946810722,
-0.01968134194612503,
0.017526311799883842,
0.009812064468860626,
0.062362391501665115,
0.024773316457867622,
0.005111046135425568,
-0.018107978627085686,
0.03545311465859413,
0.026241788640618324,
0.053360845893621445,
0.026241788640618324,
-0.06137069687247276,
0.01935713365674019,
-0.07712339609861374,
-0.039438966661691666,
-0.02139773778617382,
-0.08070875704288483,
-0.017593059688806534,
-0.057403914630413055,
-0.01244387123733759,
-0.03608246147632599,
0.02425839751958847,
-0.07933564484119415,
0.06011200696229935,
-0.02692834846675396,
0.025478946045041084,
0.012615511193871498,
-0.07216492295265198,
-0.052254725247621536,
-0.011814526282250881,
-0.000641860649921,
0.0074996971525251865,
0.004317212849855423,
-0.022294078022241592,
0.021893585100769997,
-0.011595209129154682,
-0.04443558678030968,
0.12152083963155746,
0.02034882828593254,
-0.03854262828826904,
0.03160075843334198,
0.05477210506796837,
0.02235129103064537,
0.0011472438927739859,
0.09901698678731918,
0.009764386340975761,
0.0448932945728302,
-0.05057647079229355,
0.015819450840353966,
-0.003613967215642333,
-0.0030489868950098753,
0.03936268389225006,
0.0620572529733181,
-0.041574928909540176,
0.05057647079229355,
0.012672724202275276,
0.026413429528474808,
0.039667822420597076,
-0.009812064468860626,
0.0563359335064888,
-0.09787271916866302,
-0.03192496672272682,
-0.02006276324391365,
0.017764698714017868,
0.056030794978141785,
-0.03202032297849655,
-0.006975242868065834,
-0.021855443716049194,
-0.04237591102719307,
-0.09207511693239212,
-0.028301464393734932,
0.02874009869992733,
-0.045007720589637756,
0.08109018206596375,
-0.038294702768325806,
0.09230396896600723,
-0.016582293435931206,
0.025745941326022148,
-0.015323602594435215,
0.0010441410122439265,
-0.05004248023033142,
0.04451187327504158,
-0.008443715050816536,
0.014751470647752285,
0.06465092301368713,
0.005430486518889666,
-0.00045174590195529163,
-0.06613846123218536,
0.03182961046695709,
0.061561405658721924,
0.01732606440782547,
-0.013645349070429802,
0.01725931651890278,
-0.011127968318760395,
-0.024048617109656334,
-0.017631202936172485,
-0.06663431227207184,
-0.05786161869764328,
0.002712859306484461,
-0.03289759159088135,
-0.008915724232792854,
-0.017183031886816025,
-0.026585068553686142,
0.009177951142191887,
-0.02858753129839897,
0.08711663633584976,
-0.013168572448194027,
-0.008372198790311813,
-0.024487251415848732,
-0.0572894886136055,
-0.040049243718385696,
0.0324971005320549,
0.02978900820016861,
-0.03959153592586517,
-0.013864666223526001,
0.05629779025912285,
-0.020463256165385246,
0.04367274418473244,
-0.09665217250585556,
0.04943220689892769,
0.018527541309595108,
-0.017306994646787643,
-0.031009556725621223,
-0.013673955574631691,
0.019185494631528854,
-0.002724778838455677,
0.028492175042629242,
-0.04531285539269447,
0.004267151467502117,
-0.05076718330383301,
-0.08673521876335144,
0.02330484427511692,
-0.02044418454170227,
0.0458468459546566,
-0.00009282246173825115,
0.013302070088684559,
0.03913383185863495,
0.034766554832458496,
0.0016556070186197758,
-0.0069323331117630005,
0.03573917970061302,
-0.011471247300505638,
0.06552819162607193,
-0.017764698714017868,
0.017783770337700844,
-0.012586904689669609,
0.023609980940818787,
0.0059740119613707066,
-0.01780284196138382,
-0.05137745663523674,
-0.05038576200604439,
-0.0023254782427102327,
-0.0016353440005332232,
-0.029293159022927284,
-0.06564261764287949,
-0.05553494766354561,
0.003742696950212121,
0.03478562831878662,
-0.003351740073412657,
0.045350998640060425,
0.006441253237426281,
0.022046154364943504,
0.015476171858608723,
0.005292221438139677,
-0.05599265545606613,
0.03875241056084633,
-0.05770904943346977,
-0.014331907033920288,
0.0013004083884879947,
0.051491882652044296,
0.002715243259444833,
0.00034417316783219576,
0.026699494570493698,
0.0038857299368828535,
0.020558610558509827,
0.054314401000738144,
-0.00620763236656785,
-0.011633351445198059,
0.013473709113895893,
0.021092601120471954,
-0.02216058038175106,
-0.0934482291340828,
0.025707799941301346,
0.03074256144464016,
0.027462337166070938,
0.03921011462807655,
0.026909276843070984,
-0.07201234996318817,
0.021702874451875687,
0.0916936919093132,
-0.009344822727143764,
-0.005130117293447256,
-0.035529397428035736,
-0.010574907064437866,
-0.022503860294818878,
-0.028625672683119774,
-0.052064016461372375,
-0.020043691620230675,
0.015952948480844498,
-0.04241405427455902,
0.033240869641304016,
0.02088281884789467,
0.00223727454431355,
0.035910818725824356,
-0.05782347545027733,
0.008481857366859913,
0.01255829818546772,
0.0056593394838273525,
-0.01564781181514263,
-0.011309143155813217,
0.07773367315530777,
-0.01122332364320755,
0.0353577584028244,
0.024201184511184692,
0.0553823821246624,
0.02807261236011982,
0.03739836439490318,
0.07658940553665161,
-0.0005003175465390086,
0.02607014961540699,
-0.039438966661691666,
-0.029998788610100746,
0.07414831221103668,
-0.02187451533973217,
0.02216058038175106,
0.026375286281108856,
0.06701572984457016,
0.035529397428035736,
-0.020329758524894714,
-0.010164879262447357,
-0.02206522598862648,
-0.0017879125662147999,
-0.05210215598344803,
-0.0008093284559436142,
0.04847865551710129,
-0.012548762373626232,
-0.02893080934882164,
-0.05953987315297127,
-0.012949255295097828,
-0.002331438008695841,
-0.036006174981594086,
0.017593059688806534,
0.05755648389458656,
0.02978900820016861,
-0.0243537537753582,
-0.048402369022369385,
-0.022808996960520744,
0.014560759998857975,
-0.0023505091667175293,
0.02240850403904915,
0.017497705295681953,
-0.004462630022317171,
-0.001436289749108255,
0.00015599536709487438,
-0.00830068252980709,
-0.029369443655014038,
-0.004925103392452002,
0.003757000435143709,
0.00909213162958622,
0.025898510590195656,
0.025135667994618416,
-0.003363659605383873,
0.012014772742986679,
-0.011995701119303703,
-0.03669273480772972,
-0.019376205280423164,
0.003294526832178235,
0.025612443685531616,
0.014789612963795662,
0.006941868457943201,
-0.07498744130134583,
-0.005335131194442511,
0.04008738324046135,
-0.029197804629802704,
-0.026318073272705078,
0.0069609396159648895,
0.002755769295617938,
0.04718182235956192,
-0.03373671695590019,
0.044244877994060516,
0.0052445437759160995,
0.01515196356922388,
0.026279931887984276,
-0.01403630618005991,
-0.004057369660586119,
0.025898510590195656,
-0.011137503199279308,
-0.07235562801361084,
-0.04756324365735054,
-0.051301173865795135,
0.01457983162254095,
-0.05690806731581688,
0.04779209569096565,
-0.027157200500369072,
-0.019814839586615562,
0.06381179392337799,
0.032382674515247345,
0.06529933214187622,
-0.018270082771778107,
-0.032096605747938156,
0.011862204410135746,
0.021626589819788933,
-0.0034113372676074505,
0.011766849085688591,
0.0009464017348363996,
-0.008858511224389076,
0.06655802577733994,
-0.007013385184109211,
-0.026470642536878586,
0.008081365376710892,
0.0003262940444983542,
-0.011595209129154682,
-0.028377749025821686,
-0.024849601089954376,
-0.028701957315206528,
-0.0377797856926918,
-0.062171678990125656,
0.009378197602927685,
-0.02858753129839897,
0.06613846123218536,
0.032630596309900284,
-0.023514626547694206,
-0.03509076312184334,
-0.01583852246403694,
0.015409423038363457,
0.021416809409856796,
-0.028816383332014084,
0.028434962034225464,
-0.0878031924366951,
-0.02978900820016861,
-0.018966177478432655,
0.005072903819382191,
-0.010164879262447357,
-0.02431561052799225,
0.014093519188463688,
-0.006312523502856493,
-0.005931102205067873,
0.005869121290743351,
0.046876683831214905,
0.024983098730444908,
0.020653966814279556,
-0.003871426684781909,
0.03451863303780556,
0.010546300560235977,
-0.06842698901891708,
-0.026184575632214546,
0.01675393246114254,
-0.028091682121157646,
0.0822344422340393,
0.05385669693350792,
0.00011844920663861558,
0.03602524846792221,
0.018193798139691353,
0.008953866548836231,
0.05686992406845093,
-0.05133931338787079,
0.026966489851474762,
0.014312836341559887,
0.014513082802295685,
0.009678566828370094,
-0.03959153592586517,
-0.00007367689977400005,
0.021950798109173775,
-0.04828794300556183,
0.017125818878412247,
0.014350978657603264,
0.03827563300728798,
-0.0030156124848872423,
0.014341442845761776,
-0.04603755846619606,
-0.004758231341838837,
-0.04527471587061882,
0.03284037858247757,
0.03434699401259422,
0.0022229712922126055,
0.0754832848906517,
0.04188006371259689,
0.020043691620230675,
0.0015233015874400735,
-0.02759583480656147,
-0.03955339267849922,
-0.059272877871990204,
-0.03240174427628517,
-0.009750083088874817,
0.0009762002737261355,
0.053780410438776016,
-0.009468785487115383,
-0.0195478443056345,
-0.010975399054586887,
0.06106555834412575,
-0.07647497951984406,
-0.02488774247467518,
-0.022503860294818878,
0.04317689687013626,
-0.02730976976454258,
0.00421947380527854,
-0.024029545485973358,
-0.056450359523296356,
-0.04176563769578934,
-0.01717349700629711,
-0.025345448404550552,
-0.043634604662656784,
0.006307755596935749,
0.020577682182192802,
0.047639526426792145,
0.008481857366859913,
0.03556754067540169,
-0.0065509118139743805,
-0.061218127608299255,
0.009511695243418217,
-0.012167341075837612,
-0.02298063598573208,
-0.03356507793068886,
-0.0003593704313971102,
-0.06526119261980057,
-0.03751279041171074,
-0.05980686843395233,
0.005482932087033987,
-0.0276911910623312,
0.03694065660238266,
-0.02177915908396244,
0.029293159022927284,
-0.0014458253281190991,
0.028721027076244354,
0.04504586011171341,
-0.011948023922741413,
0.026527855545282364,
0.01725931651890278,
-0.006918029859662056,
-0.04302432760596275,
0.09108342230319977,
0.01518057007342577,
0.03192496672272682,
-0.027729332447052002,
-0.0013671572087332606,
0.008548606187105179,
0.03299294784665108,
0.002593665150925517,
-0.024601677432656288,
-0.04264290630817413,
-0.037341151386499405,
-0.047296248376369476,
0.01583852246403694,
0.04214705899357796,
0.06957125663757324,
-0.03764628618955612,
0.052598003298044205,
-0.04126979038119316,
0.004796373657882214,
0.03030392713844776,
-0.01946202479302883,
-0.009511695243418217,
0.03202032297849655,
0.09474506229162216,
0.01465611532330513,
-0.007132579106837511,
-0.03787514194846153,
-0.0014064912684261799,
-0.02168380469083786,
-0.01653461530804634,
-0.013693026266992092,
-0.006193329114466906,
-0.08139531314373016,
0.02807261236011982,
-0.02454446442425251,
0.06896097958087921,
0.014646579511463642,
-0.040049243718385696,
0.03539590165019035,
0.023533698171377182,
0.03455677628517151,
-0.008181488141417503,
-0.013902808539569378,
0.07090622931718826,
0.03156261518597603,
-0.013549993745982647,
0.033717647194862366,
0.008610586635768414,
-0.030342068523168564,
-0.013473709113895893,
0.015209176577627659,
-0.014265158213675022,
-0.019605057314038277,
-0.039057545363903046,
-0.0024530161172151566,
-0.02158844843506813,
0.01570502482354641,
-0.019986478611826897,
0.06148512288928032,
-0.023419270291924477,
0.06095113232731819,
0.025173809379339218,
-0.037207651883363724,
-0.015142427757382393,
-0.023838834837079048,
0.004557985346764326,
-0.010288841091096401,
-0.029293159022927284,
0.026947418227791786,
-0.020520469173789024,
-0.10550114512443542,
0.08261586725711823,
-0.012234089896082878,
-0.014532153494656086,
0.07147835940122604,
-0.022847138345241547,
-0.004920335486531258,
-0.03196310997009277,
-0.006527072750031948,
0.041079081594944,
0.013416496105492115,
-0.04508400335907936,
0.009907419793307781,
-0.02931223064661026,
-0.006751157809048891,
-0.008157649077475071,
0.0001811751426430419,
0.06068413704633713,
0.02393418923020363,
0.02025347389280796,
-0.015199640765786171,
0.015619204379618168,
0.037055082619190216,
0.0032802235800772905,
0.03621595725417137,
0.0458468459546566,
0.0061980970203876495,
0.01580037921667099,
0.019280849024653435,
0.026051077991724014,
-0.052216582000255585,
-0.004968013148754835,
-0.052254725247621536,
0.036387596279382706,
-0.017497705295681953,
0.026279931887984276,
-0.004624733701348305,
0.03223010525107384,
0.011023077182471752,
-0.007132579106837511,
0.026375286281108856,
-0.014131661504507065,
-0.03798956796526909,
-0.017478633671998978,
0.028148895129561424,
-0.04416859149932861,
-0.05847189202904701,
0.015161498449742794,
-0.03158168867230415,
0.02730976976454258,
0.04466443881392479,
-0.034671202301979065,
0.0016746781766414642,
0.06549004465341568,
-0.014637044630944729,
-0.017430955544114113,
-0.041956350207328796,
0.008405572734773159,
-0.0563359335064888,
0.04237591102719307,
0.007328057661652565,
-0.03156261518597603,
0.015266389586031437,
0.007370967883616686,
0.020081834867596626,
0.0031872522085905075,
0.01146171148866415,
-0.027557693421840668,
0.009607050567865372,
0.00780483428388834,
-0.06934240460395813,
0.014522617682814598,
-0.016458330675959587,
0.044397447258234024,
0.016391582787036896,
-0.035052623599767685,
0.05591636896133423,
0.00359728024341166,
0.039667822420597076,
0.0057213203981518745,
-0.0002653560368344188,
0.006908494047820568,
0.03549125790596008,
-0.01951923780143261,
0.010098130442202091,
-0.10336519032716751,
0.003044219221919775,
0.004319597035646439,
-0.005716552492231131,
0.08467554301023483,
0.04321504011750221,
-0.010622584261000156,
0.05866260454058647,
0.03730300813913345,
-0.020558610558509827,
-0.01179545558989048,
-0.006670105736702681,
0.011557066813111305,
0.008310217410326004,
-0.04634269326925278,
-0.034194424748420715,
-0.019814839586615562,
-0.028682885691523552,
0.013330676592886448,
0.009907419793307781,
0.037913281470537186,
0.020749321207404137,
0.027252554893493652,
-0.0026985560543835163,
0.06892284005880356,
0.027443265542387962,
-0.006465091835707426,
-0.008348359726369381,
0.039438966661691666,
-0.041727494448423386,
0.030284855514764786,
0.019500166177749634,
-0.02063489519059658,
0.04279547557234764,
0.017812376841902733,
-0.0037069388199597597,
-0.04931778088212013,
-0.06011200696229935,
0.0034804698079824448,
-0.02835867740213871,
-0.021626589819788933,
-0.06144697964191437,
-0.03959153592586517,
-0.007966938428580761,
-0.025860367342829704,
-0.05095789209008217,
-0.017650272697210312,
-0.0069227977655828,
0.004953709896653891,
0.023381128907203674,
-0.01850847154855728,
-0.03970596194267273,
-0.008496160618960857,
0.006908494047820568,
-0.0382184199988842,
0.011557066813111305,
0.07292776554822922,
0.026623209938406944,
-0.005354202352464199,
0.0696856826543808,
-0.015485706739127636,
0.019023390486836433,
0.05725134536623955,
0.07224120199680328,
0.022656427696347237,
0.03287852182984352,
0.022008012980222702,
0.0032587687019258738,
-0.0630870908498764,
0.05915845185518265,
-0.017764698714017868,
0.029426656663417816,
0.007909725420176983,
0.00875838752835989,
-0.07082994282245636,
-0.022484788671135902,
-0.018270082771778107,
-0.05137745663523674,
0.026871133595705032,
-0.0059454054571688175,
0.018432186916470528
] |
5,684 | wordcloud.wordcloud | to_svg | Export to SVG.
Font is assumed to be available to the SVG reader. Otherwise, text
coordinates may produce artifacts when rendered with replacement font.
It is also possible to include a subset of the original font in WOFF
format using ``embed_font`` (requires `fontTools`).
Note that some renderers do not handle glyphs the same way, and may
differ from ``to_image`` result. In particular, Complex Text Layout may
not be supported. In this typesetting, the shape or positioning of a
grapheme depends on its relation to other graphemes.
Pillow, since version 4.2.0, supports CTL using ``libraqm``. However,
due to dependencies, this feature is not always enabled. Hence, the
same rendering differences may appear in ``to_image``. As this
rasterized output is used to compute the layout, this also affects the
layout generation. Use ``PIL.features.check`` to test availability of
``raqm``.
Consistant rendering is therefore expected if both Pillow and the SVG
renderer have the same support of CTL.
Contour drawing is not supported.
Parameters
----------
embed_font : bool, default=False
Whether to include font inside resulting SVG file.
optimize_embedded_font : bool, default=True
Whether to be aggressive when embedding a font, to reduce size. In
particular, hinting tables are dropped, which may introduce slight
changes to character shapes (w.r.t. `to_image` baseline).
embed_image : bool, default=False
Whether to include rasterized image inside resulting SVG file.
Useful for debugging.
Returns
-------
content : string
Word cloud image as SVG string
| def to_svg(self, embed_font=False, optimize_embedded_font=True, embed_image=False):
"""Export to SVG.
Font is assumed to be available to the SVG reader. Otherwise, text
coordinates may produce artifacts when rendered with replacement font.
It is also possible to include a subset of the original font in WOFF
format using ``embed_font`` (requires `fontTools`).
Note that some renderers do not handle glyphs the same way, and may
differ from ``to_image`` result. In particular, Complex Text Layout may
not be supported. In this typesetting, the shape or positioning of a
grapheme depends on its relation to other graphemes.
Pillow, since version 4.2.0, supports CTL using ``libraqm``. However,
due to dependencies, this feature is not always enabled. Hence, the
same rendering differences may appear in ``to_image``. As this
rasterized output is used to compute the layout, this also affects the
layout generation. Use ``PIL.features.check`` to test availability of
``raqm``.
Consistant rendering is therefore expected if both Pillow and the SVG
renderer have the same support of CTL.
Contour drawing is not supported.
Parameters
----------
embed_font : bool, default=False
Whether to include font inside resulting SVG file.
optimize_embedded_font : bool, default=True
Whether to be aggressive when embedding a font, to reduce size. In
particular, hinting tables are dropped, which may introduce slight
changes to character shapes (w.r.t. `to_image` baseline).
embed_image : bool, default=False
Whether to include rasterized image inside resulting SVG file.
Useful for debugging.
Returns
-------
content : string
Word cloud image as SVG string
"""
# TODO should add option to specify URL for font (i.e. WOFF file)
# Make sure layout is generated
self._check_generated()
# Get output size, in pixels
if self.mask is not None:
width = self.mask.shape[1]
height = self.mask.shape[0]
else:
height, width = self.height, self.width
# Get max font size
if self.max_font_size is None:
max_font_size = max(w[1] for w in self.layout_)
else:
max_font_size = self.max_font_size
# Text buffer
result = []
# Get font information
font = ImageFont.truetype(self.font_path, int(max_font_size * self.scale))
raw_font_family, raw_font_style = font.getname()
# TODO properly escape/quote this name?
font_family = repr(raw_font_family)
# TODO better support for uncommon font styles/weights?
raw_font_style = raw_font_style.lower()
if 'bold' in raw_font_style:
font_weight = 'bold'
else:
font_weight = 'normal'
if 'italic' in raw_font_style:
font_style = 'italic'
elif 'oblique' in raw_font_style:
font_style = 'oblique'
else:
font_style = 'normal'
# Add header
result.append(
'<svg'
' xmlns="http://www.w3.org/2000/svg"'
' width="{}"'
' height="{}"'
'>'
.format(
width * self.scale,
height * self.scale
)
)
# Embed font, if requested
if embed_font:
# Import here, to avoid hard dependency on fonttools
import fontTools
import fontTools.subset
# Subset options
options = fontTools.subset.Options(
# Small impact on character shapes, but reduce size a lot
hinting=not optimize_embedded_font,
# On small subsets, can improve size
desubroutinize=optimize_embedded_font,
# Try to be lenient
ignore_missing_glyphs=True,
)
# Load and subset font
ttf = fontTools.subset.load_font(self.font_path, options)
subsetter = fontTools.subset.Subsetter(options)
characters = {c for item in self.layout_ for c in item[0][0]}
text = ''.join(characters)
subsetter.populate(text=text)
subsetter.subset(ttf)
# Export as WOFF
# TODO is there a better method, i.e. directly export to WOFF?
buffer = io.BytesIO()
ttf.saveXML(buffer)
buffer.seek(0)
woff = fontTools.ttLib.TTFont(flavor='woff')
woff.importXML(buffer)
# Create stylesheet with embedded font face
buffer = io.BytesIO()
woff.save(buffer)
data = base64.b64encode(buffer.getbuffer()).decode('ascii')
url = 'data:application/font-woff;charset=utf-8;base64,' + data
result.append(
'<style>'
'@font-face{{'
'font-family:{};'
'font-weight:{};'
'font-style:{};'
'src:url("{}")format("woff");'
'}}'
'</style>'
.format(
font_family,
font_weight,
font_style,
url
)
)
# Select global style
result.append(
'<style>'
'text{{'
'font-family:{};'
'font-weight:{};'
'font-style:{};'
'}}'
'</style>'
.format(
font_family,
font_weight,
font_style
)
)
# Add background
if self.background_color is not None:
result.append(
'<rect'
' width="100%"'
' height="100%"'
' style="fill:{}"'
'>'
'</rect>'
.format(self.background_color)
)
# Embed image, useful for debug purpose
if embed_image:
image = self.to_image()
data = io.BytesIO()
image.save(data, format='JPEG')
data = base64.b64encode(data.getbuffer()).decode('ascii')
result.append(
'<image'
' width="100%"'
' height="100%"'
' href="data:image/jpg;base64,{}"'
'/>'
.format(data)
)
# For each word in layout
for (word, count), font_size, (y, x), orientation, color in self.layout_:
x *= self.scale
y *= self.scale
# Get text metrics
font = ImageFont.truetype(self.font_path, int(font_size * self.scale))
(size_x, size_y), (offset_x, offset_y) = font.font.getsize(word)
ascent, descent = font.getmetrics()
# Compute text bounding box
min_x = -offset_x
max_x = size_x - offset_x
max_y = ascent - offset_y
# Compute text attributes
attributes = {}
if orientation == Image.ROTATE_90:
x += max_y
y += max_x - min_x
transform = 'translate({},{}) rotate(-90)'.format(x, y)
else:
x += min_x
y += max_y
transform = 'translate({},{})'.format(x, y)
# Create node
attributes = ' '.join('{}="{}"'.format(k, v) for k, v in attributes.items())
result.append(
'<text'
' transform="{}"'
' font-size="{}"'
' style="fill:{}"'
'>'
'{}'
'</text>'
.format(
transform,
font_size * self.scale,
color,
saxutils.escape(word)
)
)
# TODO draw contour
# Complete SVG file
result.append('</svg>')
return '\n'.join(result)
| (self, embed_font=False, optimize_embedded_font=True, embed_image=False) | [
0.07485663145780563,
-0.08719843626022339,
-0.019519980996847153,
-0.018130997195839882,
0.020686302334070206,
-0.05186949670314789,
-0.04521086439490318,
-0.0035440269857645035,
0.024641193449497223,
0.03522291034460068,
0.04245410114526749,
-0.006701047066599131,
-0.008307389914989471,
-0.02269025519490242,
-0.023856576532125473,
0.056746844202280045,
-0.005921732168644667,
-0.011217892169952393,
0.011493568308651447,
-0.0033054612576961517,
0.012341802008450031,
-0.044617097824811935,
0.014165504835546017,
0.016169456765055656,
0.05178467556834221,
-0.02830980345606804,
-0.02540460228919983,
0.00263482634909451,
-0.01895802654325962,
-0.022308548912405968,
-0.012988580390810966,
-0.08215144276618958,
0.034141410142183304,
-0.03725866973400116,
-0.010836186818778515,
0.022944724187254906,
0.03424743935465813,
-0.01959420181810856,
0.06365995109081268,
-0.060521483421325684,
-0.009330571629106998,
0.0019323827000334859,
0.049409620463848114,
-0.030281947925686836,
0.020559066906571388,
0.027291923761367798,
-0.02881874330341816,
0.02830980345606804,
-0.05721336975693703,
-0.041478633880615234,
0.03749193623661995,
-0.03441708907485008,
-0.04082125425338745,
0.014356357045471668,
-0.0392732247710228,
0.012787125073373318,
-0.0347563810646534,
0.03435346856713295,
0.015151577070355415,
-0.06561088562011719,
-0.00010056209430331364,
-0.00022233003983274102,
0.059461191296577454,
0.027355540543794632,
-0.02094077318906784,
0.05191190913319588,
0.055220022797584534,
-0.039909400045871735,
-0.039951812475919724,
0.03541376069188118,
0.0017189988866448402,
0.02237216755747795,
0.026867806911468506,
-0.0174736175686121,
-0.06132730469107628,
-0.006382959429174662,
0.023580899462103844,
-0.044065747410058975,
0.010104585438966751,
-0.035668231546878815,
-0.006345849484205246,
0.08881007879972458,
0.006812377832829952,
-0.05394767224788666,
0.08787702769041061,
-0.01669960282742977,
0.05318425968289375,
-0.005757387261837721,
-0.017696278169751167,
-0.012320596724748611,
-0.008158949203789234,
0.007072149310261011,
0.022393373772501945,
0.0027223003562539816,
-0.0007163599948398769,
-0.038382578641176224,
0.022329755127429962,
-0.05488072708249092,
0.0029767705127596855,
-0.010963422246277332,
-0.054668668657541275,
0.021248256787657738,
-0.007300112396478653,
0.0032179870177060366,
0.040100254118442535,
0.014048872515559196,
-0.032169267535209656,
-0.010072777047753334,
0.04796762391924858,
0.016402721405029297,
-0.0008568487246520817,
0.0050284359604120255,
0.06450818479061127,
-0.05606825649738312,
0.04215722158551216,
-0.06251483410596848,
-0.07540798932313919,
-0.013084006495773792,
-0.028118951246142387,
0.005624850746244192,
-0.03369608893990517,
-0.028479451313614845,
-0.032296501100063324,
0.0008038340602070093,
-0.06760423630475998,
0.03291147202253342,
0.01097402535378933,
0.060351837426424026,
0.0306212417781353,
-0.0033452222123742104,
-0.041711896657943726,
-0.009235145524144173,
0.006048967596143484,
-0.007183480076491833,
0.009325270541012287,
-0.03687696531414986,
0.022202519699931145,
0.01918068714439869,
-0.06310859322547913,
0.08588367700576782,
0.032678209245204926,
-0.05161502957344055,
0.015204591676592827,
0.018130997195839882,
-0.04139380902051926,
0.03498964384198189,
0.0005089403130114079,
-0.07307534664869308,
-0.028246186673641205,
-0.04694974049925804,
0.006669238209724426,
0.027546392753720284,
-0.039506491273641586,
-0.020728714764118195,
0.009579740464687347,
-0.0667560026049614,
0.025468220934271812,
0.0117798475548625,
0.03301750123500824,
0.07918262481689453,
0.028564274311065674,
0.00412718765437603,
-0.026083189994096756,
0.008095331490039825,
0.0034671558532863855,
0.04979132488369942,
0.03895513713359833,
-0.012564463540911674,
0.015183385461568832,
0.00136380095500499,
0.005661960691213608,
-0.011472362093627453,
-0.02015615627169609,
0.009155623614788055,
-0.0687069371342659,
0.09593524783849716,
-0.003938985988497734,
0.0667560026049614,
-0.03925202041864395,
0.03636802360415459,
-0.02771604061126709,
-0.010889201425015926,
-0.04325992614030838,
0.016158854588866234,
0.0014380214270204306,
-0.002530122408643365,
0.04801003262400627,
0.023114372044801712,
0.03297508880496025,
-0.0015851369826123118,
0.03757675737142563,
0.010889201425015926,
0.04754350706934929,
0.0027779657393693924,
0.014833488501608372,
-0.0012345778523012996,
-0.0016421276377514005,
-0.05606825649738312,
-0.06467782706022263,
-0.032487355172634125,
-0.031745150685310364,
-0.030557623133063316,
0.0021629962138831615,
-0.01591498777270317,
-0.06802835315465927,
-0.02143910899758339,
-0.02661333605647087,
0.0394640788435936,
-0.04188154637813568,
0.025234956294298172,
-0.012617478147149086,
-0.07031858712434769,
-0.0006550617981702089,
0.05751025304198265,
0.05763748660683632,
-0.03988819569349289,
-0.06934311240911484,
0.06811317801475525,
-0.03127862140536308,
-0.005805100314319134,
-0.03944287449121475,
0.03172394633293152,
0.035943906754255295,
0.02112102136015892,
-0.04711939021945,
-0.015968002378940582,
0.06811317801475525,
-0.005113259423524141,
0.0443626306951046,
-0.045083627104759216,
0.04256013035774231,
-0.010093982331454754,
0.015257606282830238,
0.02366572432219982,
-0.011928288266062737,
-0.01711311750113964,
0.0013956096954643726,
0.0031755752861499786,
0.0698944702744484,
-0.02794930525124073,
0.017219146713614464,
0.0004761375021189451,
-0.0192337017506361,
-0.030515212565660477,
0.030790887773036957,
0.028521861881017685,
0.044532276690006256,
0.005418093409389257,
0.015713531523942947,
-0.05975807458162308,
-0.028097745031118393,
-0.037746403366327286,
-0.03547738119959831,
-0.0219904612749815,
-0.008641381748020649,
-0.04321751371026039,
-0.07472939789295197,
-0.0730329304933548,
0.026168012991547585,
0.016402721405029297,
0.03524411469697952,
0.02909442037343979,
-0.027694834396243095,
0.057340607047080994,
0.05500796437263489,
-0.042029984295368195,
-0.025447014719247818,
0.03793725743889809,
-0.09084584563970566,
0.011546582914888859,
-0.013709579594433308,
0.04196636751294136,
-0.02739795297384262,
-0.002987373387441039,
0.01877777650952339,
0.02213890291750431,
0.013084006495773792,
0.0636175349354744,
0.03104535862803459,
0.02476842701435089,
0.03255097195506096,
0.0141336964443326,
-0.015130370855331421,
-0.050894029438495636,
0.018502099439501762,
0.005608946084976196,
-0.007549281232059002,
0.004503591451793909,
0.043599218130111694,
-0.06641671061515808,
0.031702738255262375,
0.07180299609899521,
0.009028389118611813,
-0.02661333605647087,
-0.019021643325686455,
-0.0032444943208247423,
0.03604993596673012,
-0.04478674754500389,
-0.03515929356217384,
-0.040694016963243484,
0.060521483421325684,
-0.006817679386585951,
0.08185456693172455,
0.00271037220954895,
-0.019530583173036575,
0.05589861050248146,
0.01205552276223898,
-0.02249940298497677,
0.052463263273239136,
0.00034923377097584307,
-0.017950749024748802,
-0.03498964384198189,
0.038721874356269836,
0.039315637201070786,
0.01748421974480152,
0.01085739303380251,
0.09076102077960968,
-0.01475926861166954,
0.034332264214754105,
0.04873103275895119,
-0.02112102136015892,
-0.007215288933366537,
-0.026231631636619568,
-0.01650875061750412,
0.047840386629104614,
-0.04902791604399681,
0.03369608893990517,
0.04224204272031784,
0.09415395557880402,
-0.019795656204223633,
0.011610200628638268,
0.0245351642370224,
-0.015512076206505299,
-0.005325317848473787,
-0.027970509603619576,
-0.02790689282119274,
0.013296064920723438,
-0.02351728267967701,
-0.01097402535378933,
-0.07375393062829971,
0.03329317644238472,
0.021884432062506676,
-0.04915514960885048,
0.04319630563259125,
0.011175480671226978,
0.02167237363755703,
0.001575859379954636,
-0.036919377744197845,
-0.005129164084792137,
0.02693142369389534,
-0.0009880599100142717,
0.026401277631521225,
0.006223915610462427,
0.017272161319851875,
0.013084006495773792,
-0.025340985506772995,
-0.040418341755867004,
0.0020821490325033665,
-0.003872717497870326,
-0.02881874330341816,
-0.015140973962843418,
0.03403538092970848,
-0.04258133843541145,
0.05382043495774269,
-0.00651549594476819,
-0.05263290926814079,
0.009463108144700527,
-0.0017349031986668706,
-0.0062186140567064285,
-0.003080149181187153,
0.08694396913051605,
-0.005399538204073906,
-0.05755266547203064,
0.008042316883802414,
0.09152442961931229,
-0.005325317848473787,
-0.05021544173359871,
-0.010703650303184986,
-0.015480266883969307,
-0.00401055533438921,
-0.05449902266263962,
0.048264503479003906,
-0.015713531523942947,
0.02449275180697441,
0.0276736281812191,
-0.028331009671092033,
0.006022460293024778,
-0.025192543864250183,
-0.014165504835546017,
-0.05611066892743111,
-0.035859085619449615,
-0.01950937882065773,
0.0429842472076416,
0.02794930525124073,
0.02638007141649723,
0.009722880087792873,
-0.041987575590610504,
0.03541376069188118,
-0.02264784276485443,
0.05212396755814552,
0.011164877563714981,
-0.021407300606369972,
-0.030409183353185654,
0.007925684563815594,
-0.01381560880690813,
0.009351777844130993,
-0.012808330357074738,
0.01136633288115263,
0.011758641339838505,
0.056280314922332764,
-0.05661960691213608,
-0.032763030380010605,
-0.07956433296203613,
-0.00874210987240076,
-0.08847078680992126,
-0.0019429855747148395,
-0.013529329560697079,
0.02803412824869156,
-0.020972581580281258,
0.01996530406177044,
-0.049367208033800125,
0.0490703284740448,
0.055644139647483826,
0.021184640005230904,
-0.022817490622401237,
-0.04385368898510933,
-0.019223099574446678,
-0.0014300692128017545,
-0.023856576532125473,
0.029773008078336716,
-0.015374237671494484,
-0.04319630563259125,
-0.026316454634070396,
-0.04232686758041382,
0.0056195491924881935,
0.016890456900000572,
-0.021969256922602654,
-0.06115765869617462,
-0.030557623133063316,
-0.03730108216404915,
0.03528652712702751,
-0.03859463706612587,
-0.00360234291292727,
0.025659073144197464,
0.034205030649900436,
0.01650875061750412,
-0.08113356679677963,
0.04275098443031311,
-0.009585042484104633,
-0.016635986045002937,
0.08618055284023285,
0.054074905812740326,
0.014557813294231892,
0.014727459289133549,
0.03545617312192917,
-0.038764286786317825,
0.06921587884426117,
-0.07137887924909592,
0.02292351983487606,
0.04580462723970413,
-0.005799798760563135,
0.04224204272031784,
-0.0047448077239096165,
-0.022011667490005493,
0.019944097846746445,
-0.01843848265707493,
0.010735459625720978,
-0.005746784154325724,
0.012564463540911674,
0.006775267887860537,
0.03588028997182846,
-0.041669487953186035,
0.0006371694034896791,
-0.04694974049925804,
0.046652860939502716,
0.01383681409060955,
-0.058400899171829224,
0.025192543864250183,
0.0019456363515928388,
-0.021481521427631378,
0.037470728158950806,
-0.03284785524010658,
-0.032678209245204926,
-0.049409620463848114,
-0.014292740263044834,
0.006091379094868898,
0.024747222661972046,
0.007114561274647713,
0.02079233154654503,
0.002381681464612484,
-0.06120007112622261,
0.061539363116025925,
-0.011991905979812145,
-0.0718454048037529,
-0.028521861881017685,
0.03352644294500351,
-0.010597621090710163,
0.043471984565258026,
-0.016254279762506485,
-0.07345704734325409,
-0.012129743583500385,
-0.03859463706612587,
-0.03850981593132019,
0.006653334014117718,
0.03793725743889809,
-0.007522773928940296,
0.03685576096177101,
0.051445379853248596,
0.024365516379475594,
-0.014918312430381775,
-0.07765580713748932,
-0.016763221472501755,
0.06866452842950821,
-0.0266981590539217,
0.0035917400382459164,
-0.027503982186317444,
-0.03914599120616913,
-0.005540027283132076,
-0.02606198377907276,
-0.019912289455533028,
-0.01719794049859047,
0.03473517671227455,
-0.04762832820415497,
-0.042178425937891006,
0.02245699055492878,
0.010136393830180168,
-0.021004389971494675,
0.001237228512763977,
0.03545617312192917,
-0.013073403388261795,
-0.014027667231857777,
0.004633477423340082,
0.04860379919409752,
-0.043471984565258026,
0.08762255311012268,
-0.012002508156001568,
-0.016773823648691177,
-0.006229217164218426,
0.06175142154097557,
-0.016763221472501755,
-0.008662587963044643,
-0.031236210837960243,
-0.022011667490005493,
-0.07570486515760422,
0.022584225982427597,
0.028479451313614845,
0.06370235979557037,
-0.03674973174929619,
0.06853729486465454,
-0.012681095860898495,
-0.028203774243593216,
0.011249701492488384,
0.010300739668309689,
0.02701624669134617,
0.02098318375647068,
0.05114850029349327,
0.03390814736485481,
0.012299390509724617,
0.010761966928839684,
-0.013751991093158722,
-0.029730595648288727,
0.018703555688261986,
-0.026231631636619568,
-0.013497520238161087,
-0.017823513597249985,
0.0522087924182415,
-0.02614680677652359,
0.0400366373360157,
0.0012909058714285493,
-0.07557763159275055,
0.07634104043245316,
0.03961252048611641,
0.01303099188953638,
-0.04741626977920532,
-0.014144298620522022,
0.043471984565258026,
0.011822259053587914,
0.006616223603487015,
0.013773196376860142,
0.007125163916498423,
0.025977160781621933,
0.008455830626189709,
0.02260543219745159,
0.047840386629104614,
0.03706781938672066,
-0.02153453603386879,
0.01631789840757847,
0.02398381195962429,
-0.006875995546579361,
-0.010067475028336048,
-0.00019018992315977812,
-0.07562004774808884,
0.07137887924909592,
-0.03108776919543743,
-0.024916868656873703,
0.015109164640307426,
0.02614680677652359,
0.0068229809403419495,
-0.0400366373360157,
-0.05661960691213608,
0.011302716098725796,
0.020124347880482674,
-0.06196347996592522,
0.028649097308516502,
0.0012345778523012996,
0.06374476850032806,
0.03878549113869667,
0.03155429661273956,
0.024832045659422874,
-0.041711896657943726,
-0.025510631501674652,
0.0015347730368375778,
-0.018162807449698448,
-0.05971566215157509,
0.01369897648692131,
-0.038382578641176224,
-0.024747222661972046,
0.0066109225153923035,
0.02157694846391678,
0.04152104631066322,
0.027928099036216736,
0.05763748660683632,
-0.012299390509724617,
0.019615408033132553,
-0.004469132050871849,
-0.015649914741516113,
0.005577137228101492,
0.014197313226759434,
-0.009680468589067459,
0.01660417765378952,
-0.005571836140006781,
-0.018873201683163643,
-0.0014764569932594895,
-0.02347487024962902,
-0.027334334328770638,
0.08609573543071747,
-0.044023334980010986,
0.005836909171193838,
-0.0056195491924881935,
0.019392745569348335,
0.06391441822052002,
0.08172732591629028,
0.037831228226423264,
-0.01674201525747776,
-0.01303099188953638,
0.017070705071091652,
0.00588992377743125,
-0.035074468702077866,
-0.0032816044986248016,
-0.004702396225184202,
-0.03416261821985245,
0.017961351200938225,
0.031936004757881165,
-0.0663742944598198,
0.009844813495874405,
0.0745597556233406,
-0.020877154543995857,
-0.05479590594768524,
-0.018597526475787163,
0.03314473479986191,
0.007957493886351585,
0.029857831075787544,
0.033590059727430344,
-0.0000976628580247052,
-0.027143482118844986,
-0.041669487953186035,
0.050385087728500366,
-0.014600224792957306,
0.03604993596673012,
-0.03250855952501297,
-0.051445379853248596,
0.03768278658390045,
-0.034650351852178574,
-0.027928099036216736,
-0.02383537031710148,
0.06467782706022263,
0.04415057227015495,
-0.026825394481420517,
0.041902750730514526,
-0.008079427294433117,
0.03297508880496025,
0.03914599120616913,
-0.015480266883969307,
0.014186711050570011,
-0.02398381195962429,
-0.019424553960561752,
0.040884871035814285,
-0.05110608786344528,
-0.03730108216404915,
-0.006303437519818544,
-0.040651604533195496,
0.05072438344359398,
0.035943906754255295,
-0.02366572432219982,
0.09847994893789291,
-0.022796284407377243,
-0.012988580390810966,
-0.04419298097491264,
0.016434529796242714,
-0.010645334608852863,
0.04839174076914787,
-0.03284785524010658,
-0.02536219172179699,
-0.03596511483192444,
-0.028649097308516502,
0.005529424175620079,
-0.03772519901394844,
0.014589621685445309,
0.0026149458717554808,
0.01774929277598858,
-0.005911129526793957,
0.033229559659957886,
0.000014092361197981518,
0.01581956073641777,
-0.04077884182333946,
-0.01696467585861683,
-0.043980922549963,
0.04043954610824585,
0.028373422101140022,
-0.02102559618651867,
0.017229748889803886,
0.021842021495103836,
0.0239413995295763,
-0.01018940843641758,
-0.07019134610891342,
0.03518049791455269,
-0.0459318608045578,
-0.0016765871550887823,
-0.023856576532125473,
-0.035710643976926804,
-0.003117259358987212,
-0.0010828234953805804,
-0.04754350706934929,
0.00868909526616335,
-0.05861295759677887,
0.00511856097728014,
0.04588944837450981,
-0.01533182617276907,
-0.04538051038980484,
-0.01604222133755684,
-0.012161551974713802,
-0.0036659606266766787,
-0.07803751528263092,
0.04285701364278793,
-0.013359682634472847,
0.018130997195839882,
0.030409183353185654,
0.008906454779207706,
0.004045015200972557,
0.08185456693172455,
0.07366910576820374,
0.009844813495874405,
0.010449180379509926,
0.04389610141515732,
0.022987136617302895,
0.043281130492687225,
0.06120007112622261,
-0.026528513059020042,
0.023686928674578667,
-0.01254325732588768,
0.004742157179862261,
-0.06582294404506683,
-0.029115626588463783,
-0.014653239399194717,
0.015660516917705536,
0.027270717546343803,
-0.020961977541446686,
0.028331009671092033
] |
5,687 | wordcloud.wordcloud | get_single_color_func | Create a color function which returns a single hue and saturation with.
different values (HSV). Accepted values are color strings as usable by
PIL/Pillow.
>>> color_func1 = get_single_color_func('deepskyblue')
>>> color_func2 = get_single_color_func('#00b4d2')
| def get_single_color_func(color):
"""Create a color function which returns a single hue and saturation with.
different values (HSV). Accepted values are color strings as usable by
PIL/Pillow.
>>> color_func1 = get_single_color_func('deepskyblue')
>>> color_func2 = get_single_color_func('#00b4d2')
"""
old_r, old_g, old_b = ImageColor.getrgb(color)
rgb_max = 255.
h, s, v = colorsys.rgb_to_hsv(old_r / rgb_max, old_g / rgb_max,
old_b / rgb_max)
def single_color_func(word=None, font_size=None, position=None,
orientation=None, font_path=None, random_state=None):
"""Random color generation.
Additional coloring method. It picks a random value with hue and
saturation based on the color given to the generating function.
Parameters
----------
word, font_size, position, orientation : ignored.
random_state : random.Random object or None, (default=None)
If a random object is given, this is used for generating random
numbers.
"""
if random_state is None:
random_state = Random()
r, g, b = colorsys.hsv_to_rgb(h, s, random_state.uniform(0.2, 1))
return 'rgb({:.0f}, {:.0f}, {:.0f})'.format(r * rgb_max, g * rgb_max,
b * rgb_max)
return single_color_func
| (color) | [
-0.013862920925021172,
-0.08718153089284897,
-0.03341077268123627,
-0.008626551367342472,
0.02925567328929901,
0.026460424065589905,
0.01639375276863575,
0.03080439195036888,
0.05182541534304619,
-0.02442064881324768,
0.00459657795727253,
0.020756607875227928,
0.05035224184393883,
-0.0019606873393058777,
-0.03724479302763939,
0.014212326146662235,
0.04434623569250107,
0.06942792236804962,
-0.0008115427335724235,
-0.019812267273664474,
0.04355299100279808,
0.020454417914152145,
0.06187319755554199,
0.015090563334524632,
0.0010972057934850454,
-0.015052789822220802,
0.050050053745508194,
-0.016337092965841293,
-0.01930232346057892,
-0.04019113630056381,
0.009589779190719128,
-0.058889083564281464,
-0.030558863654732704,
0.058171384036540985,
-0.028934597969055176,
-0.022154230624437332,
0.037207022309303284,
0.062439803034067154,
-0.04355299100279808,
-0.06319527328014374,
-0.025440536439418793,
0.015987686812877655,
0.033826280385255814,
0.0032390884589403868,
-0.009282868355512619,
0.014580619521439075,
0.017602508887648582,
-0.0005350279971025884,
-0.055073946714401245,
-0.0874081701040268,
0.012909136712551117,
-0.006142935715615749,
-0.053525228053331375,
0.01711145229637623,
0.034751735627651215,
0.0034303173888474703,
-0.05137212947010994,
-0.019000133499503136,
-0.03242865577340126,
0.051523223519325256,
0.0159310270100832,
-0.000039876260416349396,
0.048236921429634094,
0.021984249353408813,
-0.012956353835761547,
-0.006865356583148241,
0.03288194164633751,
0.021814268082380295,
-0.02260751463472843,
0.0177724901586771,
-0.048765748739242554,
0.04661265388131142,
0.02041664533317089,
-0.04801027849316597,
-0.007087276317179203,
0.024458423256874084,
0.016242658719420433,
-0.018962359055876732,
0.051787640899419785,
-0.005538557656109333,
0.014316204003989697,
0.028273558244109154,
0.04109770432114601,
-0.03586605563759804,
-0.004013447556644678,
-0.05382741615176201,
-0.03845354914665222,
0.004518670029938221,
-0.0013822786277160048,
0.023268552497029305,
-0.044610653072595596,
-0.046423785388469696,
-0.10621943324804306,
0.024269554764032364,
0.03936011716723442,
-0.04355299100279808,
0.0382457971572876,
0.045328348875045776,
0.06481954455375671,
-0.0464615598320961,
-0.04090883582830429,
-0.02039775811135769,
-0.023721836507320404,
-0.02005779556930065,
-0.02341964840888977,
-0.049143485724925995,
-0.023740723729133606,
0.06149546056985855,
0.007587776985019445,
-0.0056471568532288074,
-0.017630839720368385,
-0.03688594698905945,
0.03116324171423912,
-0.03482728451490402,
0.015137780457735062,
-0.045139484107494354,
0.012097003869712353,
0.029822276905179024,
-0.01850907690823078,
-0.02925567328929901,
0.01914178393781185,
-0.03992672264575958,
0.008669046685099602,
0.0025520806666463614,
0.0637241080403328,
0.029992258176207542,
-0.026630405336618423,
0.009915576316416264,
-0.026913708075881004,
0.05292084813117981,
-0.02814135141670704,
0.06878577172756195,
0.01668649911880493,
-0.01188924815505743,
-0.008371579460799694,
-0.02494947984814644,
-0.03696149215102196,
0.051145490258932114,
0.034657299518585205,
0.02294747717678547,
0.02861352078616619,
-0.0025756889954209328,
-0.012097003869712353,
-0.013239655643701553,
-0.0029368994291871786,
0.005850190296769142,
0.040228910744190216,
-0.03586605563759804,
0.0016419723397120833,
0.09730485826730728,
-0.02596936747431755,
0.03962453454732895,
0.026177123188972473,
0.04400627315044403,
0.0044549270533025265,
-0.05057888478040695,
0.04038000479340553,
-0.0056707654148340225,
0.006279865279793739,
0.01702646166086197,
0.04608382284641266,
0.012956353835761547,
0.06387519836425781,
-0.05401628464460373,
0.005802973173558712,
0.03815136104822159,
-0.01685648038983345,
0.002726783510297537,
0.03497837856411934,
-0.056811533868312836,
-0.0610044039785862,
-0.003135210834443569,
-0.03607381135225296,
0.049974504858255386,
0.022550854831933975,
0.02451508305966854,
-0.051523223519325256,
-0.005826581735163927,
0.04034223034977913,
-0.027914708480238914,
-0.03924679756164551,
-0.023646289482712746,
-0.05813360959291458,
-0.007554725278168917,
0.029803389683365822,
0.07577389478683472,
0.024382874369621277,
-0.030030032619833946,
-0.033014148473739624,
-0.017555292695760727,
-0.00464615598320961,
-0.0034114306326955557,
0.016440970823168755,
0.030577749013900757,
0.06878577172756195,
-0.016138780862092972,
-0.02895348332822323,
-0.04347744211554527,
0.018971802666783333,
-0.016167111694812775,
0.029444541782140732,
-0.03473284840583801,
-0.04038000479340553,
0.03233422338962555,
0.002948703709989786,
-0.007172266952693462,
0.02049219235777855,
-0.006893686484545469,
-0.058889083564281464,
-0.02249419316649437,
-0.029293445870280266,
-0.025837160646915436,
0.03883128613233566,
0.1112055554986,
0.03718813508749008,
-0.07547170668840408,
0.015109450556337833,
0.007238370832055807,
-0.025025026872754097,
0.002622906118631363,
-0.007276144810020924,
-0.0419287234544754,
0.07634049654006958,
0.026101574301719666,
0.048236921429634094,
-0.013674052432179451,
-0.02551608346402645,
-0.0017635561525821686,
0.031087694689631462,
-0.026384877040982246,
0.03988894820213318,
-0.042570874094963074,
0.017876368016004562,
0.02751808613538742,
-0.04026668518781662,
-0.01958562433719635,
0.043137479573488235,
-0.006874799728393555,
0.035677190870046616,
-0.029482314363121986,
-0.01516611035913229,
0.0583224780857563,
0.06916350871324539,
0.07758702337741852,
0.045592766255140305,
-0.010368860326707363,
0.0038741575554013252,
0.053411904722452164,
-0.1065971702337265,
-0.03616824746131897,
-0.05866244062781334,
0.030653297901153564,
0.03524279221892357,
-0.0016266267048195004,
-0.02151207998394966,
-0.012578616850078106,
-0.04162653535604477,
0.039133474230766296,
0.007025894243270159,
-0.017073677852749825,
-0.009736152365803719,
-0.03898238018155098,
0.06149546056985855,
0.04748144745826721,
-0.028103576973080635,
-0.04521502926945686,
-0.021738721057772636,
0.08854138106107712,
-0.010727710090577602,
0.03535611182451248,
0.08211985975503922,
-0.008466013707220554,
0.013674052432179451,
-0.009552005678415298,
0.011813701130449772,
-0.012805258855223656,
-0.007592498790472746,
0.013173552230000496,
0.06621716916561127,
-0.002601658459752798,
0.025893820449709892,
0.024477308616042137,
-0.012890249490737915,
0.03305192291736603,
0.013419080525636673,
0.02780138887465,
0.009259260259568691,
-0.0846884697675705,
0.056433796882629395,
-0.019982248544692993,
-0.004433679394423962,
-0.018424086272716522,
-0.0336940735578537,
0.029463427141308784,
-0.008513230830430984,
0.08990123122930527,
0.011313200928270817,
-0.007016451098024845,
0.0305022019892931,
-0.020095568150281906,
0.0122953150421381,
-0.02761252038180828,
-0.07229872047901154,
-0.043855179101228714,
-0.07124105840921402,
-0.05276975408196449,
0.024345101788640022,
-0.07082554697990417,
-0.030048919841647148,
-0.05220314860343933,
-0.06228870898485184,
0.01220088079571724,
-0.018641283735632896,
0.03637600317597389,
-0.04600827395915985,
-0.01977449283003807,
0.01831076480448246,
0.00783330574631691,
0.035752736032009125,
0.03781139850616455,
-0.024118460714817047,
-0.014401194639503956,
0.003376017790287733,
0.005840746685862541,
0.048954617232084274,
-0.04298638552427292,
-0.015798818320035934,
-0.024533970281481743,
0.02406179904937744,
0.04767031595110893,
-0.07494287192821503,
-0.03851021081209183,
0.026101574301719666,
0.037207022309303284,
0.002300649881362915,
-0.07041003555059433,
-0.029312333092093468,
0.029671182855963707,
-0.010293313302099705,
-0.07301642000675201,
-0.00021631302661262453,
-0.0035625251475721598,
-0.00601072795689106,
-0.029180126264691353,
0.031219901517033577,
0.01084103062748909,
0.03025667369365692,
-0.031484317034482956,
0.06580165773630142,
-0.055338360369205475,
0.055980514734983444,
-0.05046556517481804,
-0.022626401856541634,
0.019887814298272133,
0.05174986645579338,
0.06421516090631485,
-0.030124466866254807,
-0.04457287862896919,
0.055149491876363754,
-0.05129658430814743,
-0.002390362322330475,
-0.005557444877922535,
-0.0059351809322834015,
0.0022085767704993486,
-0.003706536954268813,
0.03214535489678383,
-0.06213761493563652,
0.05039001628756523,
0.0032839446794241667,
-0.017734717577695847,
0.01516611035913229,
0.03154097869992256,
-0.0033547701314091682,
-0.051598772406578064,
-0.02430732734501362,
-0.032579753547906876,
0.0025591631419956684,
0.03399626165628433,
-0.006227926351130009,
-0.02585604600608349,
0.03669707849621773,
0.024987252429127693,
-0.03718813508749008,
-0.02523278258740902,
0.031182127073407173,
-0.017281433567404747,
-0.003527112305164337,
0.010142218321561813,
-0.030672183260321617,
0.004891684278845787,
-0.047217030078172684,
0.003692372003570199,
0.0482746921479702,
-0.00610516220331192,
0.07316751033067703,
0.026347104460000992,
0.002974672941491008,
0.03225867450237274,
-0.05246756598353386,
0.025799386203289032,
0.025402763858437538,
0.02496836706995964,
-0.01684703677892685,
-0.04128657281398773,
-0.06066444143652916,
-0.029841164126992226,
-0.030917711555957794,
0.07841804623603821,
-0.004686290398240089,
-0.019698945805430412,
0.04343966767191887,
-0.02358962967991829,
-0.059077952057123184,
-0.016469299793243408,
-0.0033665744122117758,
-0.01838631182909012,
0.010236652567982674,
-0.010293313302099705,
-0.0647439956665039,
0.047519221901893616,
-0.015742158517241478,
-0.0755850225687027,
-0.03359964117407799,
0.06085330992937088,
-0.023740723729133606,
0.028405766934156418,
0.01357017457485199,
0.05564054846763611,
0.014183996245265007,
0.01038774661719799,
-0.005760477855801582,
-0.00234432565048337,
0.0016655807849019766,
-0.06840803474187851,
-0.012975240126252174,
0.020284436643123627,
0.0007572431350126863,
0.0601356104016304,
0.0728653222322464,
-0.017064236104488373,
0.01566661149263382,
0.008574613370001316,
-0.04415736719965935,
0.03431733697652817,
-0.012814702466130257,
-0.029803389683365822,
0.011785371229052544,
0.05454511567950249,
0.005137213040143251,
-0.045139484107494354,
-0.0001512420567451045,
0.0327875055372715,
-0.028991257771849632,
0.012720268219709396,
0.06712373346090317,
-0.053525228053331375,
-0.028405766934156418,
0.04200427234172821,
0.013249099254608154,
0.007134493440389633,
0.015732714906334877,
0.03677262365818024,
-0.031012145802378654,
-0.0011107806349173188,
-0.05605605989694595,
-0.0528453029692173,
0.030200013890862465,
-0.051145490258932114,
-0.024345101788640022,
-0.029104579240083694,
-0.005269420798867941,
-0.013589061796665192,
-0.011313200928270817,
0.006752035580575466,
0.028122464194893837,
-0.020624399185180664,
-0.021247664466500282,
-0.033939603716135025,
-0.005108882673084736,
-0.005231647286564112,
0.015959355980157852,
-0.014420081861317158,
0.002646514680236578,
-0.024439536035060883,
0.016818705946207047,
0.05575387179851532,
-0.0027031751815229654,
-0.03125767409801483,
0.022248664870858192,
0.028292445465922356,
-0.06727482378482819,
-0.004818498156964779,
0.0077719236724078655,
0.001974852290004492,
-0.09367859363555908,
-0.020246664062142372,
0.020378870889544487,
0.02916123904287815,
-0.014306760393083096,
0.011794814839959145,
0.03042665496468544,
-0.005382741801440716,
-0.016998130828142166,
-0.004934179596602917,
0.045857179909944534,
-0.04846356064081192,
0.01371182594448328,
-0.0182163305580616,
-0.02304191142320633,
-0.022475307807326317,
-0.02406179904937744,
0.016922583803534508,
0.055149491876363754,
-0.02952008880674839,
0.04801027849316597,
-0.05896462872624397,
0.02196536399424076,
-0.025648292154073715,
0.005212760530412197,
-0.044950615614652634,
-0.028840163722634315,
0.047783635556697845,
-0.004391184076666832,
0.028292445465922356,
-0.04041777923703194,
0.041890949010849,
-0.006959790363907814,
-0.011388747952878475,
-0.012540843337774277,
0.012559730559587479,
-0.017564736306667328,
0.031918711960315704,
-0.044875066727399826,
0.013825146481394768,
0.012918580323457718,
-0.035582754760980606,
-0.012937466613948345,
-0.03237199783325195,
-0.013400193303823471,
-0.03486505523324013,
-0.010869360528886318,
-0.012899693101644516,
-0.01576104573905468,
0.022116458043456078,
-0.03312746807932854,
-0.023438533768057823,
-0.003279222873970866,
0.02768806740641594,
-0.07675600796937943,
-0.036206018179655075,
-0.01051995437592268,
-0.01111488975584507,
-0.023929592221975327,
-0.018565736711025238,
0.0009201419306918979,
0.020529964938759804,
-0.03924679756164551,
-0.00394262233749032,
-0.046159371733665466,
-0.02294747717678547,
-0.014646722935140133,
0.014287874102592468,
0.012758041732013226,
0.019113454967737198,
-0.04725480452179909,
0.00478072464466095,
-0.006586776115000248,
0.012710824608802795,
-0.019330652430653572,
-0.08355525881052017,
-0.014618393033742905,
0.06519727408885956,
0.0305022019892931,
-0.03267418593168259,
-0.03709369897842407,
0.0254971981048584,
-0.009679491631686687,
-0.09783369302749634,
0.030747730284929276,
-0.019812267273664474,
-0.01543996948748827,
-0.041853178292512894,
0.019255105406045914,
-0.03390182927250862,
-0.026649292558431625,
0.036659304052591324,
0.035318341106176376,
0.05420515313744545,
-0.04351521655917168,
0.023249667137861252,
0.011171549558639526,
-0.03169207274913788,
0.013825146481394768,
-0.0400778166949749,
-0.049596771597862244,
-0.01603490486741066,
0.018792377784848213,
0.021663174033164978,
-0.01371182594448328,
0.008310197852551937,
-0.0591912716627121,
0.01357017457485199,
-0.026196008548140526,
-0.004339245148003101,
0.03543166071176529,
0.023268552497029305,
0.09722930938005447,
-0.04699039086699486,
0.04472397267818451,
-0.06576388329267502,
-0.007715262938290834,
0.021172117441892624,
-0.02258862741291523,
-0.008163824677467346,
0.05968232825398445,
0.05084329843521118,
-0.012540843337774277,
-0.012975240126252174,
0.004372297320514917,
0.055791646242141724,
-0.010444407351315022,
0.026196008548140526,
-0.02058662660419941,
0.011464294977486134,
0.033939603716135025,
-0.0037844451144337654,
-0.008536838926374912,
0.0001994919584831223,
-0.020114455372095108,
-0.06576388329267502,
-0.018263548612594604,
0.030842164531350136,
0.006142935715615749,
-0.042495328933000565,
0.006624549627304077,
0.039473436772823334,
0.02003890834748745,
0.03324079141020775,
-0.01102045550942421,
0.04838801547884941,
0.018603511154651642,
0.07694487273693085,
0.017262546345591545,
0.01577048934996128,
0.03660264238715172,
0.04200427234172821,
-0.013201882131397724,
-0.03541277348995209,
0.016167111694812775,
-0.040493328124284744,
-0.01758362352848053,
0.05866244062781334,
0.02661151997745037,
0.01576104573905468,
-0.01075603999197483,
-0.08431073278188705,
-0.008791811764240265,
-0.12790149450302124,
-0.007979677990078926,
-0.005505505949258804,
0.006161822471767664,
0.053714096546173096,
0.06485731154680252,
0.02806580439209938,
-0.02749919891357422,
0.0016171833267435431,
0.06871022284030914,
0.00952367577701807,
-0.014146222732961178,
-0.023665176704525948,
-0.04657487943768501,
-0.03123878873884678,
0.0010570712620392442,
-0.05590496584773064,
0.04302415996789932,
-0.002156637841835618,
0.047405898571014404,
0.042873065918684006,
0.06206206604838371,
0.025346102192997932,
0.06387519836425781,
0.01242752280086279,
-0.01353240106254816,
0.02277749590575695,
0.02878350205719471,
0.04706593602895737,
-0.013041344471275806,
-0.026838161051273346,
-0.0064451247453689575,
-0.0037159803323447704,
-0.04838801547884941,
-0.0191228985786438,
-0.03586605563759804,
-0.04683929681777954,
-0.024533970281481743,
0.01641263999044895,
-0.07135438174009323,
-0.0024623682256788015,
-0.018518520519137383,
0.01353240106254816,
0.0346006415784359,
-0.022645289078354836,
-0.02387293055653572,
0.04083329066634178,
0.042684197425842285,
-0.006185431033372879,
0.026460424065589905,
0.010850474238395691,
0.04053109884262085,
-0.033769622445106506,
-0.02678150124847889,
-0.05696262791752815,
0.005099439527839422,
0.06531059741973877,
-0.007162823807448149,
-0.02085104212164879,
-0.07664268463850021,
0.011407635174691677,
0.012540843337774277,
0.027215898036956787,
0.010850474238395691,
-0.04899239167571068,
0.028103576973080635,
-0.010869360528886318,
0.003224923275411129,
-0.029916711151599884,
0.03414735570549965,
0.009792812168598175,
-0.0014011653838679194,
-0.025270555168390274,
-0.03616824746131897,
-0.01721533015370369,
-0.016091564670205116,
0.08975013345479965,
0.03144654259085655,
-0.0011940007098019123,
0.052354246377944946,
0.044497329741716385,
-0.0005052222404628992,
-0.09156326949596405,
-0.01758362352848053,
-0.03163541108369827,
-0.026196008548140526,
-0.005963511299341917,
0.02103990875184536,
-0.011464294977486134,
0.06028670445084572,
0.00338310026563704,
-0.0023880014196038246,
0.0064451247453689575,
0.020095568150281906,
0.044232916086912155,
-0.00464851688593626,
0.04657487943768501,
0.027914708480238914,
-0.04891684651374817,
-0.0036569591611623764,
0.02780138887465,
0.023854045197367668,
-0.011086558923125267,
0.017819708213210106,
0.0041669029742479324,
0.028859049081802368,
0.013211325742304325,
0.07173211127519608,
0.06425293534994125,
-0.024345101788640022,
0.00548661919310689
] |
5,689 | wordcloud.wordcloud | random_color_func | Random hue color generation.
Default coloring method. This just picks a random hue with value 80% and
lumination 50%.
Parameters
----------
word, font_size, position, orientation : ignored.
random_state : random.Random object or None, (default=None)
If a random object is given, this is used for generating random
numbers.
| def random_color_func(word=None, font_size=None, position=None,
orientation=None, font_path=None, random_state=None):
"""Random hue color generation.
Default coloring method. This just picks a random hue with value 80% and
lumination 50%.
Parameters
----------
word, font_size, position, orientation : ignored.
random_state : random.Random object or None, (default=None)
If a random object is given, this is used for generating random
numbers.
"""
if random_state is None:
random_state = Random()
return "hsl(%d, 80%%, 50%%)" % random_state.randint(0, 255)
| (word=None, font_size=None, position=None, orientation=None, font_path=None, random_state=None) | [
-0.014986656606197357,
-0.06012708321213722,
-0.024577757343649864,
-0.04190128669142723,
0.05669846758246422,
0.03083948977291584,
-0.02185291051864624,
0.006144439335912466,
0.026075519621372223,
-0.006437676027417183,
0.033853061497211456,
0.051393136382102966,
0.08430784195661545,
0.024216849356889725,
-0.06164288893342018,
-0.005702328402549028,
0.04229828342795372,
0.06398878246545792,
-0.04258700832724571,
-0.05478566139936447,
0.031723711639642715,
0.025371750816702843,
0.02012055739760399,
0.004319604020565748,
0.009203124791383743,
-0.010132459923624992,
0.015537040308117867,
0.0063294037245213985,
-0.039699751883745193,
-0.005120365880429745,
0.02616574615240097,
-0.08170931041240692,
-0.03370869904756546,
0.07398590445518494,
-0.020246874541044235,
-0.05160968005657196,
0.05817818269133568,
0.017846843227744102,
0.006681288126856089,
-0.08091531693935394,
0.01896565593779087,
0.04810888320207596,
0.013750551268458366,
0.02111305110156536,
-0.03760649263858795,
0.022033363580703735,
0.03767867386341095,
0.030640991404652596,
-0.034538786858320236,
-0.06268952041864395,
0.0016680663684383035,
-0.04049374908208847,
-0.04951642081141472,
0.022304043173789978,
0.049660783261060715,
-0.00913996621966362,
-0.043272729963064194,
-0.033907197415828705,
0.02223186194896698,
0.027807872742414474,
0.033853061497211456,
-0.0013714460656046867,
0.049299877136945724,
0.02726651355624199,
-0.0037173405289649963,
0.01323625911027193,
0.04890287667512894,
0.02798832580447197,
0.005138411186635494,
-0.0060587236657738686,
0.012974601238965988,
0.07485207915306091,
0.03738994896411896,
-0.016222763806581497,
-0.007087308447808027,
0.05345030501484871,
0.007290318608283997,
-0.024307075887918472,
0.0609571672976017,
0.018893472850322723,
-0.023007811978459358,
0.030640991404652596,
0.047170527279376984,
-0.04154037684202194,
-0.015663357451558113,
-0.06499932706356049,
0.009672303684055805,
-0.006216620560735464,
0.028980819508433342,
-0.007542953360825777,
-0.0502382330596447,
-0.04258700832724571,
-0.06536023318767548,
-0.004628630355000496,
0.03262598067522049,
-0.04345318675041199,
0.04060202091932297,
0.04771188646554947,
0.09152597934007645,
-0.020914552733302116,
-0.025985293090343475,
-0.023549171164631844,
-0.018352113664150238,
-0.006663242820650339,
-0.028385324403643608,
-0.04691788926720619,
-0.04255091771483421,
0.02614770084619522,
0.020589735358953476,
-0.01670096442103386,
-0.008612140081822872,
0.027699600905179977,
0.10098173469305038,
-0.003922606352716684,
0.010123437270522118,
-0.024325121194124222,
0.01725134812295437,
0.013804687187075615,
-0.014436273835599422,
-0.002846652874723077,
0.02831314317882061,
-0.07795587927103043,
0.015284405089914799,
0.002715824171900749,
0.04128774255514145,
0.056806739419698715,
-0.0393388457596302,
0.004231632687151432,
-0.03224702551960945,
0.04843369871377945,
0.0017695714486762881,
0.02400030568242073,
0.06384442001581192,
-0.06157070770859718,
0.0028759764973074198,
-0.00014760525664314628,
-0.02869209460914135,
0.04421108961105347,
0.035007964819669724,
0.03470119461417198,
0.047459252178668976,
-0.020553644746541977,
0.009022671729326248,
-0.03157934918999672,
0.055435292422771454,
0.0645662322640419,
0.003613579785451293,
-0.055796198546886444,
0.009401623159646988,
0.07651225477457047,
0.015663357451558113,
0.006929411552846432,
0.03731776773929596,
0.006139928009361029,
0.0008797104237601161,
-0.010213663801550865,
0.013543029315769672,
-0.03659595549106598,
-0.026454472914338112,
-0.00045423509436659515,
0.08560710400342941,
-0.0268514696508646,
0.06575722992420197,
-0.005188035778701305,
0.0012778358068317175,
0.05265630781650543,
-0.005851202178746462,
-0.022340133786201477,
0.016971644014120102,
-0.09296960383653641,
-0.0679948478937149,
-0.02755523845553398,
-0.03114626184105873,
-0.0025150696747004986,
0.04435545206069946,
0.0032774852588772774,
-0.06384442001581192,
-0.002539881970733404,
0.018252864480018616,
-0.000029869976060581394,
-0.03789522126317024,
-0.03686663508415222,
-0.02652665413916111,
-0.009284328669309616,
0.0031556792091578245,
0.05316158011555672,
0.0048226178623735905,
0.02972067892551422,
-0.003735385835170746,
-0.035296689718961716,
-0.06637077033519745,
-0.02044537290930748,
0.027807872742414474,
0.021058915182948112,
0.052151039242744446,
0.015798697248101234,
-0.02620183676481247,
-0.030243994668126106,
-0.010709910653531551,
-0.024559712037444115,
0.04691788926720619,
0.00358425616286695,
-0.05453302711248398,
0.003990276250988245,
-0.023585263639688492,
-0.011215180158615112,
-0.0012315945932641625,
-0.0089414669200778,
-0.04265918955206871,
-0.040349386632442474,
-0.004709834232926369,
-0.06370005756616592,
0.021022824570536613,
0.1113036721944809,
0.02403639629483223,
-0.06203988939523697,
-0.018911518156528473,
0.02221381664276123,
-0.004876753780990839,
-0.019236335530877113,
-0.0015462603187188506,
-0.046412620693445206,
0.08062659204006195,
-0.002844397211447358,
0.04634043946862221,
-0.016728032380342484,
-0.0050346506759524345,
-0.05280067399144173,
-0.016186673194169998,
-0.00983471143990755,
0.004010577220469713,
-0.06236470490694046,
0.036758363246917725,
0.01930851675570011,
-0.017070893198251724,
-0.005115854553878307,
0.03544105216860771,
0.023007811978459358,
0.026436427608132362,
0.015690425410866737,
-0.054352570325136185,
0.06478278338909149,
0.03224702551960945,
0.03879748657345772,
0.04197346791625023,
0.03486360237002373,
0.03287861496210098,
0.015284405089914799,
-0.10076519101858139,
-0.06655122339725494,
-0.1148405596613884,
0.02253863215446472,
-0.00905425101518631,
-0.006523391231894493,
0.002377473982051015,
0.027501102536916733,
-0.04493290185928345,
0.0573120079934597,
0.004939912352710962,
0.011206157505512238,
-0.015320495702326298,
-0.028565777465701103,
0.020535599440336227,
0.07149564474821091,
0.010096369311213493,
-0.00950989592820406,
-0.025588296353816986,
0.09383577853441238,
-0.023224355652928352,
-0.023531125858426094,
0.0395553894340992,
0.024505576118826866,
0.0038910270668566227,
0.014959588646888733,
0.007339943200349808,
0.008499355986714363,
0.02576874941587448,
-0.014743044972419739,
0.07477989792823792,
0.02798832580447197,
0.018171660602092743,
0.027320649474859238,
-0.010231709107756615,
0.05875563621520996,
-0.01273098960518837,
0.06525196135044098,
-0.03484555706381798,
-0.0322289802134037,
0.02694169618189335,
-0.012054288759827614,
-0.04262309893965721,
-0.025552205741405487,
-0.03504405543208122,
0.05926090478897095,
0.031777847558259964,
0.060776714235544205,
0.04735098034143448,
0.020932598039507866,
0.008449731394648552,
-0.004538403823971748,
0.024830391630530357,
-0.031398896127939224,
-0.014562591910362244,
-0.0465208925306797,
-0.04125165194272995,
-0.0027925167232751846,
0.020986733958125114,
-0.05767291411757469,
-0.01290242001414299,
-0.027410876005887985,
-0.05417211726307869,
0.008345970883965492,
0.003954185638576746,
0.05059913918375969,
-0.016367126256227493,
-0.01671900972723961,
0.015591176226735115,
-0.01689044013619423,
0.05474957078695297,
0.010890364646911621,
-0.039699751883745193,
-0.017946092411875725,
-0.025985293090343475,
-0.023458944633603096,
0.03665009140968323,
-0.06474669277667999,
-0.01577162928879261,
-0.01414754893630743,
0.026346201077103615,
-0.002436121227219701,
-0.04092683643102646,
-0.0305327195674181,
0.020896507427096367,
-0.03262598067522049,
-0.057564642280340195,
-0.06839185208082199,
-0.004809083882719278,
0.038544852286577225,
-0.00037923414492979646,
-0.05067132040858269,
0.015365608967840672,
-0.009997120127081871,
-0.02012055739760399,
0.033528245985507965,
0.07983259856700897,
0.03448465093970299,
-0.017395710572600365,
0.01256858091801405,
0.03609068691730499,
-0.049624692648649216,
0.05651801452040672,
-0.010339980944991112,
-0.007317386567592621,
0.012821216136217117,
0.05561574548482895,
0.05157358944416046,
0.008413640782237053,
-0.010349003598093987,
0.0038211012724786997,
-0.011106908321380615,
-0.05944135785102844,
-0.0644940510392189,
0.011891881003975868,
0.052223220467567444,
-0.012333991937339306,
0.03628918528556824,
-0.052187129855155945,
0.014770112931728363,
0.03448465093970299,
0.007948973216116428,
0.015112974680960178,
-0.03984411805868149,
-0.035296689718961716,
-0.015870878472924232,
0.01543779019266367,
-0.061173710972070694,
-0.028836457058787346,
0.029919177293777466,
0.033889152109622955,
-0.03378088027238846,
0.005282774101942778,
0.015185155905783176,
0.007660247851163149,
-0.010890364646911621,
-0.025516115128993988,
0.0026368757244199514,
0.0012372337514534593,
0.03468314930796623,
-0.04449981451034546,
-0.0072091142646968365,
-0.0718926414847374,
0.021239368245005608,
0.06308651715517044,
-0.0022534122690558434,
0.03554932400584221,
0.04846978932619095,
-0.033853061497211456,
-0.01418363954871893,
-0.10177573561668396,
0.01290242001414299,
0.02190704643726349,
0.018568657338619232,
-0.047531433403491974,
-0.05908045172691345,
-0.033149294555187225,
-0.0067624920047819614,
-0.028150733560323715,
0.06510759890079498,
-0.010637729428708553,
-0.006099325604736805,
0.0049985600635409355,
0.015897946432232857,
-0.03334779292345047,
-0.0014176872791722417,
-0.002810562029480934,
-0.05597665160894394,
-0.000960350560490042,
-0.03414178639650345,
-0.055399201810359955,
0.030929716303944588,
-0.010024188086390495,
-0.09816666692495346,
0.018767155706882477,
0.0610654391348362,
0.004303814377635717,
0.06398878246545792,
0.02407248690724373,
0.014806203544139862,
0.03738994896411896,
-0.020950643345713615,
-0.041396014392375946,
0.00045451705227606,
-0.00406245794147253,
-0.0215280931442976,
0.050743501633405685,
-0.027013877406716347,
0.01687239482998848,
0.038544852286577225,
0.000725761114154011,
-0.06164288893342018,
0.03515232726931572,
-0.011386611498892307,
0.004957957658916712,
0.04576298967003822,
0.007308363914489746,
0.01769345812499523,
0.011106908321380615,
0.0009558392339386046,
-0.010619684122502804,
-0.032824479043483734,
0.0394110269844532,
0.05832254886627197,
-0.013876868411898613,
0.05160968005657196,
0.04767579585313797,
-0.012965578585863113,
-0.011142998933792114,
0.03524255380034447,
-0.016998711973428726,
-0.02515520714223385,
-0.0005188036011531949,
0.05561574548482895,
-0.056121014058589935,
0.007597089279443026,
-0.03044249303638935,
-0.039699751883745193,
-0.010628706775605679,
-0.03192221000790596,
-0.0019861154723912477,
-0.015518995001912117,
0.02223186194896698,
0.013155054301023483,
0.002903044456616044,
-0.010827205143868923,
0.000996441231109202,
-0.026797333732247353,
-0.004479756113141775,
0.019922059029340744,
-0.02295367605984211,
0.01377761922776699,
0.0395192988216877,
-0.02760937437415123,
0.020210783928632736,
-0.008576049469411373,
0.010682842694222927,
0.0536668486893177,
-0.04190128669142723,
-0.008526423946022987,
0.0431283675134182,
0.002142884535714984,
-0.043200548738241196,
-0.01130540668964386,
0.022773222997784615,
0.00017481425311416388,
-0.043561458587646484,
-0.011323452927172184,
0.034556832164525986,
0.03829221799969673,
-0.02973872423171997,
-0.008147472515702248,
-0.002131605986505747,
0.020174693316221237,
-0.005206081550568342,
-0.020553644746541977,
0.031723711639642715,
-0.052908945828676224,
0.045690808445215225,
-0.042803552001714706,
-0.023152174428105354,
-0.011052772402763367,
0.001954536186531186,
0.002268074080348015,
0.0970117598772049,
-0.04839760810136795,
0.045690808445215225,
-0.032373346388339996,
-0.004324115347117186,
0.012054288759827614,
0.023440899327397346,
-0.06647904217243195,
-0.010150505229830742,
0.03778694570064545,
-0.004021855536848307,
0.01573553867638111,
-0.025371750816702843,
0.010755023919045925,
0.019994240254163742,
-0.02434316650032997,
-0.011846767738461494,
0.010439231060445309,
-0.026346201077103615,
0.026111610233783722,
-0.030622946098446846,
0.007745963521301746,
0.031037990003824234,
0.016312990337610245,
-0.05922481417655945,
-0.02223186194896698,
-0.011188112199306488,
0.004917355719953775,
-0.014156571589410305,
-0.03625309467315674,
-0.008851240389049053,
-0.03269816190004349,
-0.021726593375205994,
0.02077018842101097,
0.022105544805526733,
-0.004193286411464214,
-0.04691788926720619,
-0.014255820773541927,
-0.0005954963271506131,
0.005476761609315872,
-0.09520722925662994,
-0.0340876504778862,
0.015546062961220741,
-0.007782054133713245,
-0.0609571672976017,
-0.020571690052747726,
-0.040674202144145966,
-0.012207673862576485,
-0.010890364646911621,
0.02728455886244774,
0.04439154267311096,
-0.011052772402763367,
0.040349386632442474,
-0.006861741654574871,
-0.07456335425376892,
-0.025534160435199738,
-0.03289666026830673,
-0.07373327016830444,
0.011070817708969116,
0.07405808568000793,
0.04410281777381897,
0.010177573189139366,
-0.030334221199154854,
0.0029210897628217936,
-0.010159527882933617,
-0.06687603890895844,
0.04908333346247673,
-0.006284290459007025,
-0.015013725496828556,
-0.007051217835396528,
-0.05568792670965195,
-0.004506824538111687,
0.005616612732410431,
0.04154037684202194,
0.02865600399672985,
0.0644940510392189,
-0.009906892664730549,
-0.0020752144046127796,
-0.013669347390532494,
-0.01867692917585373,
-0.0017436312045902014,
-0.0394471175968647,
-0.022484496235847473,
-0.030027450993657112,
0.022159680724143982,
-0.0023616841062903404,
-0.03087558038532734,
0.0018586702644824982,
-0.04255091771483421,
0.04240655526518822,
-0.04197346791625023,
0.0023301048204302788,
0.027880053967237473,
0.03540496155619621,
0.08293639123439789,
-0.015970127657055855,
0.023910079151391983,
-0.03369065374135971,
-0.0537390299141407,
-0.019146108999848366,
-0.0268514696508646,
-0.022791268303990364,
0.06128198280930519,
-0.00465569831430912,
-0.0007556487107649446,
-0.03448465093970299,
0.0395553894340992,
0.02834923379123211,
-0.012297901324927807,
0.012758057564496994,
0.002979737240821123,
0.022394269704818726,
0.044644176959991455,
-0.028150733560323715,
-0.030171813443303108,
-0.010249754413962364,
-0.027176285162568092,
-0.0791107788681984,
-0.027753736823797226,
0.018370158970355988,
-0.03681249916553497,
-0.06698431074619293,
0.009004625491797924,
0.033185385167598724,
0.015140042640268803,
0.013326485641300678,
0.021672455593943596,
-0.029161274433135986,
0.00435118330642581,
0.09296960383653641,
0.01377761922776699,
-0.027320649474859238,
0.015464858151972294,
0.055760107934474945,
-0.009428691118955612,
0.006284290459007025,
-0.013940026983618736,
-0.03479142114520073,
-0.022322088479995728,
0.03114626184105873,
0.05944135785102844,
0.0029301124159246683,
0.010727955959737301,
-0.0895048975944519,
-0.017305484041571617,
-0.10300281643867493,
0.030983854085206985,
-0.02006642147898674,
-0.027501102536916733,
0.06911366432905197,
0.020355146378278732,
0.02901691012084484,
-0.021401776000857353,
0.007533930707722902,
0.06348351389169693,
-0.009942984208464622,
-0.042117830365896225,
-0.042839642614126205,
-0.06175116077065468,
0.0053820232860744,
0.026995832100510597,
-0.02908909134566784,
0.0013940026983618736,
0.021257413551211357,
0.03883357718586922,
0.03192221000790596,
0.0716039165854454,
-0.004486523102968931,
0.061173710972070694,
-0.03127257898449898,
-0.03323952108621597,
0.005075252614915371,
0.048938967287540436,
0.09737266600131989,
-0.0012180606136098504,
-0.0358380489051342,
0.010186595842242241,
-0.003789521986618638,
-0.04810888320207596,
0.009708394296467304,
-0.05983835458755493,
-0.0431644581258297,
0.024631893262267113,
0.0021214555017650127,
-0.07853332906961441,
-0.0340515598654747,
0.005954963155090809,
-0.001047757687047124,
0.0716039165854454,
0.01780172996222973,
-0.023892033845186234,
0.04128774255514145,
0.008133938536047935,
-0.04868633300065994,
-0.003363200696185231,
0.021329594776034355,
0.01361521054059267,
0.013894913718104362,
-0.023079993203282356,
-0.05153749883174896,
-0.023801807314157486,
0.041793014854192734,
-0.02158222906291485,
-0.043958455324172974,
-0.0017864889232441783,
0.023855943232774734,
-0.0044188532046973705,
-0.03506210073828697,
-0.022105544805526733,
-0.022646905854344368,
0.025010844692587852,
0.00001901457471831236,
0.018568657338619232,
-0.06781439483165741,
0.01774759404361248,
0.015816742554306984,
-0.03645159304141998,
-0.02084237150847912,
-0.022051408886909485,
-0.013606187887489796,
-0.018027298152446747,
0.045690808445215225,
0.017531050369143486,
0.02548002451658249,
0.03439442440867424,
0.04338100180029869,
-0.001924084615893662,
-0.06958284229040146,
-0.003173724515363574,
0.004599306732416153,
-0.04792843014001846,
-0.02755523845553398,
0.06687603890895844,
0.0028917661402374506,
0.006694822106510401,
0.027049968019127846,
0.02075214311480522,
0.023386763408780098,
0.010700888000428677,
0.042153920978307724,
0.009527941234409809,
0.056409742683172226,
0.004567727446556091,
-0.026743197813630104,
0.008639208041131496,
0.032445527613162994,
0.03919448330998421,
-0.01896565593779087,
-0.011693381704390049,
-0.02291758544743061,
0.00969937164336443,
-0.011350520886480808,
0.0536668486893177,
0.03121844306588173,
0.014454319141805172,
-0.01903783716261387
] |
5,693 | simple_di | Provider |
the base class for Provider implementations. Could be used as the type annotations
of all the implementations.
| class Provider(Generic[VT]):
"""
the base class for Provider implementations. Could be used as the type annotations
of all the implementations.
"""
STATE_FIELDS: Tuple[str, ...] = ("_override",)
def __init__(self) -> None:
self._override: Union[_SentinelClass, VT] = sentinel
def _provide(self) -> VT:
raise NotImplementedError
def set(self, value: Union[_SentinelClass, VT]) -> None:
"""
set the value to this provider, overriding the original values
"""
if isinstance(value, _SentinelClass):
return
self._override = value
@contextlib.contextmanager
def patch(self, value: Union[_SentinelClass, VT]) -> Generator[None, None, None]:
"""
patch the value of this provider, restoring the original value after the context
"""
if isinstance(value, _SentinelClass):
yield
return
original = self._override
self._override = value
yield
self._override = original
def get(self) -> VT:
"""
get the value of this provider
"""
if not isinstance(self._override, _SentinelClass):
return self._override
return self._provide()
def reset(self) -> None:
"""
remove the overriding and restore the original value
"""
self._override = sentinel
def __getstate__(self) -> Dict[str, Any]:
return {f: getattr(self, f) for f in self.STATE_FIELDS}
def __setstate__(self, state: Dict[str, Any]) -> None:
for i in self.STATE_FIELDS:
setattr(self, i, state[i])
| () -> None | [
0.05477896332740784,
-0.07207570970058441,
-0.0011891510803252459,
0.03252501040697098,
0.019864507019519806,
-0.0320613868534565,
-0.014095953665673733,
-0.022913726046681404,
0.07225402444601059,
-0.040335290133953094,
-0.02457207441329956,
0.011554937809705734,
-0.028263235464692116,
0.03453999012708664,
-0.07375188916921616,
0.0453994944691658,
-0.04418693855404854,
0.007627507206052542,
0.05763203278183937,
-0.06726115196943283,
0.028833849355578423,
0.030153393745422363,
-0.000717168441042304,
-0.04454357177019119,
0.002384989056736231,
0.001019192743115127,
-0.000733885623048991,
-0.040085647255182266,
0.03273899108171463,
-0.040406618267297745,
-0.0362696647644043,
-0.02598077803850174,
-0.023840975016355515,
0.01742156408727169,
0.03723257780075073,
-0.07674761116504669,
-0.02006065472960472,
0.10306718945503235,
-0.01477355882525444,
0.0017151860520243645,
-0.042439430952072144,
-0.03537807986140251,
0.012080973014235497,
-0.05748938024044037,
0.011688675731420517,
0.051355279982089996,
0.04675470292568207,
0.04122687503695488,
0.04393729194998741,
-0.026569223031401634,
0.03894441947340965,
-0.00038226693868637085,
-0.013801731169223785,
0.01890159584581852,
-0.005059743300080299,
0.019079912453889847,
0.036661963909864426,
0.0639801174402237,
0.005046369507908821,
0.06340949982404709,
-0.014024627394974232,
0.01805458962917328,
0.0015290677547454834,
-0.03216837719082832,
-0.004000986460596323,
-0.03694726899266243,
-0.035431575030088425,
-0.00983417872339487,
-0.012607007287442684,
0.03288164362311363,
-0.012820987962186337,
-0.05313844606280327,
0.001915792585350573,
0.036519307643175125,
0.04465056210756302,
0.017608797177672386,
-0.058987244963645935,
-0.022432271391153336,
0.0770329162478447,
-0.04572046175599098,
-0.0015457849949598312,
-0.03150860220193863,
0.0035685678012669086,
-0.006557605229318142,
0.019543536007404327,
0.018063506111502647,
-0.010779258795082569,
-0.023074211552739143,
0.05923688784241676,
-0.0035507360007613897,
-0.03530675545334816,
0.08067058026790619,
0.025374500080943108,
-0.005398545414209366,
0.009379470720887184,
-0.024554243311285973,
0.0011178243439644575,
-0.019793180748820305,
-0.030902326107025146,
0.008768735453486443,
0.02410845085978508,
0.006548689678311348,
0.004170387517660856,
0.01564731076359749,
0.0023181200958788395,
0.0015379836549982429,
0.01267833448946476,
0.048502206802368164,
-0.010592025704681873,
0.0010392534313723445,
0.0002506188757251948,
-0.07375188916921616,
-0.04657638445496559,
0.012607007287442684,
-0.027514303103089333,
-0.008786567486822605,
-0.03443299978971481,
-0.027870938181877136,
0.004388825502246618,
-0.017546387389302254,
-0.022450102493166924,
0.018705446273088455,
-0.04454357177019119,
0.027870938181877136,
-0.00960236694663763,
-0.0366976261138916,
0.03569905087351799,
0.019186902791261673,
-0.018776774406433105,
-0.01774253509938717,
-0.021291041746735573,
0.005880001001060009,
-0.016601307317614555,
0.06601293385028839,
0.032007891684770584,
0.03049219585955143,
-0.016191178932785988,
0.0048190150409936905,
-0.04393729194998741,
0.02116622030735016,
-0.017706872895359993,
-0.031704749912023544,
0.0016527750995010138,
0.006089523434638977,
0.030456533655524254,
-0.022539261728525162,
0.01287448313087225,
-0.01042262464761734,
0.004326414782553911,
-0.028334561735391617,
-0.01742156408727169,
-0.007275331299751997,
0.0005566831678152084,
0.040798917412757874,
-0.05110563337802887,
0.016913361847400665,
-0.024322429671883583,
-0.006544231437146664,
-0.03819548711180687,
-0.017546387389302254,
-0.029885919764637947,
-0.02808491699397564,
0.005353966262191534,
-0.028673363849520683,
0.013195453211665154,
0.05481462553143501,
-0.038552120327949524,
-0.07143376767635345,
0.020399458706378937,
0.020042823627591133,
-0.05156925693154335,
-0.04240376874804497,
0.027906600385904312,
-0.0006285671843215823,
0.02325252816081047,
0.09201154112815857,
-0.00486359465867281,
-0.007654254790395498,
0.018232906237244606,
-0.010966491885483265,
0.009352723136544228,
-0.04411561042070389,
-0.10656220465898514,
-0.0050196219235658646,
-0.001079931971617043,
0.035039279609918594,
0.04440091922879219,
-0.009709357284009457,
-0.0028374684043228626,
0.0018812436610460281,
-0.00486359465867281,
-0.023823143914341927,
0.02947578951716423,
0.0018088024808093905,
-0.00843439158052206,
0.037838853895664215,
-0.03288164362311363,
0.03536025062203407,
-0.016735045239329338,
0.077175572514534,
-0.04190447926521301,
0.016271419823169708,
0.022574923932552338,
0.0023359518963843584,
-0.013855226337909698,
0.01758204959332943,
0.05089165270328522,
-0.018955091014504433,
-0.05656213313341141,
-0.034878794103860855,
0.002804033923894167,
0.005625899415463209,
-0.0033701900392770767,
0.03940804302692413,
0.030438700690865517,
-0.038730438798666,
0.05345941707491875,
0.02760346233844757,
0.005287097301334143,
0.05855928361415863,
0.06997156888246536,
-0.011608432978391647,
-0.046540722250938416,
0.02458990551531315,
0.07917272299528122,
0.0027995759155601263,
-0.00013394666893873364,
-0.040335290133953094,
-0.005652646999806166,
-0.043366678059101105,
-0.002601198386400938,
-0.007841487415134907,
0.02744297683238983,
0.010707932524383068,
0.03095582127571106,
-0.03380889073014259,
0.07375188916921616,
-0.03919406235218048,
-0.0716477483510971,
0.07631964981555939,
-0.007948477752506733,
0.03557422757148743,
-0.018473634496331215,
-0.0030960277654230595,
-0.061162710189819336,
-0.023288192227482796,
-0.030848830938339233,
0.042189788073301315,
0.05189022794365883,
0.03259633481502533,
0.030438700690865517,
-0.021487191319465637,
-0.025820292532444,
0.007877150550484657,
0.022200459614396095,
-0.06907998025417328,
-0.03555639833211899,
0.0027661414351314306,
0.016503233462572098,
-0.014372345060110092,
-0.0026658382266759872,
-0.005371797829866409,
-0.0536733977496624,
0.09087031334638596,
0.03268549591302872,
-0.0007416870212182403,
0.04440091922879219,
-0.018919426947832108,
0.011439031921327114,
0.011670843698084354,
0.042653411626815796,
0.025481490418314934,
-0.020970072597265244,
0.04347366839647293,
-0.014274271205067635,
-0.0017619942082092166,
-0.006125187035650015,
0.02533883787691593,
-0.014372345060110092,
-0.04786026477813721,
0.0319187305867672,
0.012214710004627705,
0.032239701598882675,
0.028994334861636162,
0.00042183100595138967,
-0.014711147174239159,
-0.02489304542541504,
-0.03591303154826164,
0.00719063077121973,
-0.0056927683763206005,
0.026462234556674957,
0.0022846858482807875,
0.01765337772667408,
0.00005332094224286266,
0.07689026743173599,
-0.00976285245269537,
-0.1325964778661728,
0.04115555062890053,
0.0005672707338817418,
-0.05014272406697273,
0.02380531094968319,
-0.012856651097536087,
-0.04365198686718941,
0.05438666790723801,
0.08537814766168594,
0.004411115311086178,
0.05649080500006676,
-0.04333101585507393,
-0.003651039209216833,
0.02653356082737446,
0.05360207334160805,
0.02612343244254589,
-0.016191178932785988,
-0.03307779133319855,
0.08223976939916611,
-0.03373756632208824,
-0.014211860485374928,
-0.0406205989420414,
0.014095953665673733,
0.04108422249555588,
-0.05263916030526161,
-0.007426900323480368,
-0.023502172902226448,
-0.001218127552419901,
0.004058939404785633,
0.023395182564854622,
-0.038445133715867996,
0.01741264946758747,
-0.050285376608371735,
-0.02496437169611454,
-0.08708999305963516,
-0.013908721506595612,
0.010832753963768482,
0.04365198686718941,
-0.04572046175599098,
0.005514451302587986,
0.015656227245926857,
-0.013124126940965652,
0.020649101585149765,
-0.029832424595952034,
0.051212623715400696,
0.010538531467318535,
-0.057061418890953064,
0.0016850950196385384,
-0.021594181656837463,
0.012179046869277954,
0.038231153041124344,
-0.0009127598023042083,
0.07496444135904312,
0.07368055731058121,
-0.02753213606774807,
-0.0536733977496624,
0.052853140980005264,
0.014800305478274822,
0.07396586984395981,
-0.048323892056941986,
0.003430372104048729,
-0.009325975552201271,
-0.019026417285203934,
-0.04761062189936638,
0.054101359099149704,
-0.009611283428966999,
0.013516424223780632,
0.029761096462607384,
-0.017171921208500862,
0.0022077865432947874,
-0.016360579058527946,
-0.023537835106253624,
-0.02815624512732029,
-0.04129820317029953,
-0.012892314232885838,
-0.08445090055465698,
-0.009789600037038326,
0.00659326883032918,
0.02854854241013527,
-0.04329535365104675,
-0.04144085571169853,
0.021897319704294205,
-0.04878751561045647,
0.04247509315609932,
0.09736105054616928,
0.006628932431340218,
0.024358093738555908,
0.04197580739855766,
0.003780319122597575,
-0.021112725138664246,
0.03414769470691681,
0.01438126154243946,
0.05110563337802887,
0.006013738922774792,
-0.04329535365104675,
0.0051756491884589195,
-0.04486454278230667,
-0.030082067474722862,
-0.003604231169447303,
-0.03336310014128685,
-0.04479321464896202,
-0.007208462338894606,
0.014443672262132168,
-0.03933671489357948,
0.05189022794365883,
-0.0066423057578504086,
0.05545656755566597,
-0.02123754657804966,
0.016191178932785988,
-0.031383782625198364,
0.0620899572968483,
0.011982898227870464,
-0.017448311671614647,
0.02869119495153427,
-0.03905140981078148,
0.040477946400642395,
0.01603069342672825,
-0.06776043772697449,
0.02806708589196205,
-0.04853786900639534,
0.03564555570483208,
-0.005835421849042177,
0.016512148082256317,
0.03514626994729042,
-0.004041107837110758,
0.019258229061961174,
-0.025000033900141716,
0.018651951104402542,
0.008505717851221561,
0.02963627502322197,
-0.05032103881239891,
-0.01531742513179779,
-0.008336316794157028,
-0.008100046776235104,
0.03865911066532135,
0.009950085543096066,
-0.02970760129392147,
0.008166915737092495,
-0.00014376803301274776,
-0.06697583943605423,
-0.012669418938457966,
-0.048502206802368164,
-0.04393729194998741,
0.021754667162895203,
-0.03630532696843147,
0.045221175998449326,
0.025303173810243607,
0.053316764533519745,
0.02637307532131672,
-0.026925858110189438,
-0.04853786900639534,
0.05231818929314613,
-0.011519274674355984,
-0.011483610607683659,
-0.003176270518451929,
0.01146577950567007,
0.036127012223005295,
0.05328110232949257,
0.026176925748586655,
-0.0410485602915287,
-0.008456680923700333,
-0.038302477449178696,
-0.058523617684841156,
0.010779258795082569,
0.011189388111233711,
-0.019151238724589348,
-0.019490040838718414,
-0.02699718438088894,
0.03204355388879776,
-0.006695800926536322,
0.04914414882659912,
-0.04889450594782829,
-0.04582745209336281,
0.01185807678848505,
0.027032848447561264,
-0.03930105268955231,
0.011314209550619125,
-0.002810720819979906,
-0.07524974644184113,
0.016663717105984688,
-0.00029032226302661,
-0.010208644904196262,
-0.06462205946445465,
-0.041476521641016006,
0.040798917412757874,
0.045221175998449326,
0.03298863396048546,
0.010681184940040112,
-0.005318302661180496,
-0.011403367854654789,
0.05574187636375427,
0.02302071638405323,
0.021879488602280617,
0.0192938931286335,
-0.05941520258784294,
0.05460064485669136,
0.019490040838718414,
0.020738260820508003,
-0.022771073505282402,
-0.0041414108127355576,
-0.005010705906897783,
0.011617348529398441,
0.06786742806434631,
-0.08823122084140778,
0.036055684089660645,
-0.020631270483136177,
0.012179046869277954,
-0.005813132040202618,
0.07171907275915146,
-0.09243950247764587,
-0.008652829565107822,
0.03157993033528328,
0.01267833448946476,
0.03680461645126343,
0.03919406235218048,
0.004194905981421471,
0.08131252229213715,
-0.0628032237291336,
0.006495194509625435,
-0.034094199538230896,
-0.00909416377544403,
-0.010609857738018036,
-0.021112725138664246,
-0.03272115811705589,
0.011456863023340702,
-0.013159790076315403,
0.05934387817978859,
0.015041033737361431,
0.021576348692178726,
0.01966835744678974,
0.00521131232380867,
-0.0036443525459617376,
0.027175500988960266,
0.0015691890148445964,
0.0008325172238983214,
-0.04621975123882294,
-0.0311876330524683,
-0.038373805582523346,
0.027318155393004417,
-0.014399092644453049,
0.009049585089087486,
-0.04461489990353584,
0.023430846631526947,
-0.041797488927841187,
0.0343795046210289,
0.019365219399333,
-0.030991483479738235,
0.05438666790723801,
0.00945079792290926,
-0.006597726605832577,
-0.02861986868083477,
-0.07125544548034668,
-0.037910182029008865,
-0.04215412586927414,
0.005340592470020056,
-0.04411561042070389,
0.030688345432281494,
0.004328643903136253,
-0.06990023702383041,
-0.06176898628473282,
-0.000052067152864765376,
0.03833814337849617,
0.025410164147615433,
0.06590594351291656,
-0.0011479152599349618,
0.061234038323163986,
0.0639801174402237,
0.00369338970631361,
0.043901629745960236,
0.02845938317477703,
0.007208462338894606,
0.00015407697355840355,
0.01703818328678608,
-0.007984140887856483,
0.08202578872442245,
-0.02029246836900711,
0.006437241565436125,
0.020345963537693024,
-0.051640585064888,
0.05987882986664772,
-0.00891138892620802,
0.024536410346627235,
0.0012203565565869212,
-0.06947227567434311,
-0.022200459614396095,
0.021451527252793312,
0.009673694148659706,
-0.08095589280128479,
-0.01718975231051445,
-0.02908349223434925,
-0.048038583248853683,
0.06950794160366058,
-0.01564731076359749,
0.07810281962156296,
-0.06344516575336456,
0.013052799738943577,
-0.012553512118756771,
-0.02651572972536087,
0.022753240540623665,
-0.0035841704811900854,
-0.026105599477887154,
-0.03769620135426521,
-0.018313148990273476,
-0.0237161535769701,
-0.03359491005539894,
0.021879488602280617,
0.003593086265027523,
-0.029297472909092903,
0.019008586183190346,
-0.06365914642810822,
-0.041191212832927704,
0.019079912453889847,
-0.011760002002120018,
-0.000006477920123870717,
0.04407994821667671,
0.0039742388762533665,
0.04347366839647293,
-0.015923703089356422,
0.012910146266222,
0.0023181200958788395,
-0.06180465221405029,
0.021094894036650658,
-0.011929403059184551,
-0.03216837719082832,
-0.04889450594782829,
-0.000954552844632417,
-0.04504285752773285,
-0.008202578872442245,
-0.0407632514834404,
-0.04682602733373642,
0.0006040486041456461,
-0.025142688304185867,
-0.03182957321405411,
-0.040870241820812225,
0.01271399762481451,
-0.00043715513311326504,
0.0322040393948555,
-0.013017136603593826,
0.02036379463970661,
-0.0035150726325809956,
0.026872362941503525,
0.02503569796681404,
-0.010333466343581676,
0.03976467624306679,
0.02061343751847744,
-0.0452568382024765,
0.03420118987560272,
0.02068476565182209,
-0.022913726046681404,
-0.04194014519453049,
-0.022057805210351944,
0.01663696952164173,
0.03156209737062454,
0.03268549591302872,
0.009629114530980587,
0.05827397480607033,
0.011216135695576668,
-0.018955091014504433,
-0.016369495540857315,
0.0048056417144834995,
0.04418693855404854,
0.03623400256037712,
0.06854502856731415,
0.006664595566689968,
-0.04878751561045647,
0.03898008167743683,
-0.01508561335504055,
0.06537099182605743,
0.045613471418619156,
0.03225753456354141,
-0.04418693855404854,
0.0076230489648878574,
0.051676247268915176,
0.02651572972536087,
0.05007139593362808,
-0.00964694656431675,
-0.03288164362311363,
-0.012508933432400227,
-0.04978609085083008,
-0.10527832061052322,
0.015362003818154335,
-0.02961844392120838,
-0.005322760436683893,
0.02658705599606037,
0.0165745597332716,
0.016458652913570404,
-0.010948659852147102,
0.020470784977078438,
-0.014443672262132168,
0.03983600437641144,
0.023002885282039642,
-0.02316337078809738,
-0.009513208642601967,
-0.1031385138630867,
0.016039608046412468,
-0.04372331500053406,
0.04022829979658127,
0.020042823627591133,
-0.05752504616975784,
-0.08737529814243317,
-0.06490736454725266,
-0.11440815031528473,
-0.005465414375066757,
-0.03662629798054695,
0.029493622481822968,
0.009000547230243683,
-0.017796030268073082,
-0.0538160502910614,
0.024375924840569496,
0.05723973736166954,
-0.03462915122509003,
-0.025855956599116325,
0.04761062189936638,
-0.05663346126675606,
0.03694726899266243,
0.04675470292568207,
0.04315269738435745,
-0.046005770564079285,
0.05271048843860626,
0.004050023388117552,
0.0004853564314544201,
-0.019650526344776154,
0.023912301287055016,
0.023858806118369102,
-0.006107355002313852,
-0.007039061281830072,
0.006018196698278189,
0.005880001001060009,
-0.01205422542989254,
0.056669123470783234,
0.01904424838721752,
0.0017363611841574311,
0.028994334861636162,
0.0035306753125041723,
0.05249650776386261,
0.020007161423563957,
-0.04354499652981758,
-0.03723257780075073,
-0.0001666148891672492,
-0.0342368520796299,
-0.01353425532579422,
0.01295472588390112,
-0.03733956813812256,
0.02179032936692238,
-0.031847406178712845,
0.035039279609918594,
0.016743959859013557,
0.05007139593362808,
0.0027304780669510365,
0.020738260820508003,
0.017680125311017036,
-0.011162640526890755,
0.02179032936692238,
0.029101325199007988,
0.001358552137389779,
0.05263916030526161,
-0.015139108523726463,
-0.0004828488454222679,
0.06825972348451614,
-0.06098439171910286,
-0.0017196439439430833,
-0.021094894036650658,
-0.05274615064263344,
-0.034896623343229294,
-0.045934442430734634,
-0.05224686488509178,
0.019953666254878044,
-0.008082215674221516,
0.025107024237513542,
0.03662629798054695,
-0.022360943257808685,
0.04286739230155945
] |
5,694 | simple_di | __getstate__ | null | def __getstate__(self) -> Dict[str, Any]:
return {f: getattr(self, f) for f in self.STATE_FIELDS}
| (self) -> Dict[str, Any] | [
0.025927716866135597,
-0.053957678377628326,
0.00509426137432456,
-0.030648551881313324,
-0.01700238510966301,
-0.020211078226566315,
0.0018947887001559138,
-0.012484398670494556,
0.03090672381222248,
-0.05687132105231285,
-0.04621255770325661,
0.04197118058800697,
-0.0011709886603057384,
0.02802996337413788,
-0.007569934241473675,
-0.0044050379656255245,
-0.040385276079177856,
0.018403884023427963,
-0.05712949112057686,
-0.05816217511892319,
0.014466780237853527,
0.007874206639826298,
0.03599637374281883,
0.01160846184939146,
0.02507944032549858,
0.0430038645863533,
-0.0070720333606004715,
-0.040053341537714005,
0.10902180522680283,
0.004635547287762165,
-0.03629142791032791,
-0.008362887427210808,
0.0017034657066687942,
0.0035959493834525347,
-0.030537907034158707,
-0.04315138980746269,
-0.01197727769613266,
0.037692923098802567,
-0.043815258890390396,
-0.019971348345279694,
-0.018938666209578514,
-0.04506923258304596,
-0.029505224898457527,
0.006887625902891159,
0.029671192169189453,
-0.013636945746839046,
0.00601168954744935,
-0.022608378902077675,
0.0817294716835022,
-0.05340445786714554,
0.04580686241388321,
-0.02909952774643898,
-0.001233226153999567,
0.033728159964084625,
0.02601991966366768,
-0.05971119925379753,
-0.00904980581253767,
0.019916025921702385,
-0.004340494982898235,
0.06240355223417282,
-0.07147640734910965,
0.0023581129498779774,
0.010640321299433708,
-0.0293392576277256,
-0.019620975479483604,
-0.06546472012996674,
-0.029431462287902832,
0.00906363595277071,
-0.05071210488677025,
0.015305835753679276,
-0.0029090307652950287,
-0.05646562576293945,
0.043077629059553146,
-0.003531406633555889,
-0.01984226331114769,
-0.007712850347161293,
-0.05388391762971878,
0.01886490359902382,
0.02244241163134575,
-0.011792869307100773,
-0.04075409099459648,
-0.002899810438975692,
-0.07973787188529968,
0.03806174173951149,
-0.04565933719277382,
-0.015001562424004078,
0.021299084648489952,
-0.016430722549557686,
-0.03300897032022476,
-0.012032599188387394,
-0.022940311580896378,
0.06295677274465561,
-0.016255535185337067,
0.05830970034003258,
-0.028472542762756348,
-0.04296698421239853,
-0.019676296040415764,
0.05167102441191673,
-0.028638508170843124,
-0.013434098102152348,
-0.03217913582921028,
-0.042155589908361435,
-0.07759874314069748,
-0.009284925647079945,
-0.0019478058675304055,
-0.05473219230771065,
-0.006232978776097298,
-0.059157975018024445,
0.019916025921702385,
-0.037600722163915634,
-0.019676296040415764,
-0.03767448291182518,
-0.010953814722597599,
0.031035808846354485,
0.03608857840299606,
-0.013535521924495697,
0.011774429120123386,
-0.0025978428311645985,
-0.043815258890390396,
-0.03406009450554848,
-0.023456653580069542,
0.03909442201256752,
-0.012926976196467876,
0.07512767612934113,
0.046323202550411224,
0.056650031358003616,
-0.009616859257221222,
-0.0024387913290411234,
0.06476397067308426,
0.0013323453022167087,
-0.009284925647079945,
0.0018118051812052727,
-0.017196014523506165,
0.006076232064515352,
0.001513295341283083,
0.022553056478500366,
0.0794428214430809,
0.028546305373311043,
0.012346092611551285,
0.053515102714300156,
0.058715399354696274,
0.012963858433067799,
0.0010194286005571485,
-0.0186897162348032,
0.016781097277998924,
0.012180125340819359,
0.05609680712223053,
0.03743475303053856,
-0.02419428527355194,
-0.0021206880919635296,
0.07099694758653641,
-0.001117971376515925,
-0.004453444853425026,
0.013387995772063732,
-0.07804132252931595,
0.0068830158561468124,
-0.024563100188970566,
-0.036623358726501465,
-0.03350687026977539,
-0.010289947502315044,
-0.022700581699609756,
0.000924343359656632,
-0.05377327278256416,
-0.08040174096822739,
0.01783221960067749,
0.04639696702361107,
0.03658647835254669,
-0.08445870876312256,
0.00527866929769516,
-0.03278768062591553,
-0.07597595453262329,
-0.03625454381108284,
-0.040643446147441864,
0.06446891278028488,
-0.018652833998203278,
0.05119156464934349,
-0.022165799513459206,
0.006915287114679813,
-0.004278257489204407,
-0.0032133033964782953,
0.031035808846354485,
-0.0066064042039215565,
-0.10725149512290955,
0.041565485298633575,
0.020985590294003487,
0.004854531493037939,
0.021741662174463272,
0.0064450474455952644,
0.03393100947141647,
0.04020087048411369,
0.0176846943795681,
-0.016495265066623688,
0.006435827352106571,
-0.0048960233107209206,
-0.046655137091875076,
0.010455913841724396,
-0.033728159964084625,
-0.022350206971168518,
0.022645259276032448,
0.06845211982727051,
-0.012926976196467876,
-0.014586645178496838,
-0.07040683925151825,
0.04311450943350792,
-0.050343289971351624,
0.004794599022716284,
0.0375085175037384,
-0.04042215645313263,
0.021446609869599342,
-0.01626475527882576,
-0.0187542587518692,
-0.05266682803630829,
-0.038430556654930115,
0.04204494506120682,
0.031091131269931793,
-0.06085452809929848,
0.0758284255862236,
0.044110313057899475,
0.005527619272470474,
0.03795109689235687,
0.08431117981672287,
0.029578987509012222,
0.0023696382995694876,
-0.03935259208083153,
0.0019766194745898247,
-0.013351114466786385,
-0.03002156689763069,
-0.03252951055765152,
-0.07568090409040451,
-0.05447402223944664,
0.030445704236626625,
0.0020342469215393066,
-0.0056935865432024,
0.019067751243710518,
0.07003802806138992,
0.03131242096424103,
0.03802485764026642,
-0.0576089508831501,
0.011442494578659534,
0.02214735932648182,
0.0480935163795948,
-0.016430722549557686,
0.029505224898457527,
-0.016043465584516525,
-0.032547950744628906,
-0.06328871101140976,
0.06863652914762497,
0.04912620037794113,
-0.03540626913309097,
-0.011746767908334732,
0.03607013821601868,
-0.006753930356353521,
-0.015010783448815346,
0.022073596715927124,
-0.010225404053926468,
-0.03086984157562256,
-0.004126121290028095,
0.04436848312616348,
0.029210172593593597,
-0.03205005079507828,
0.022700581699609756,
-0.0375085175037384,
-0.04222935438156128,
0.008418209850788116,
0.034023214131593704,
0.04643384739756584,
0.06004313379526138,
0.004552564118057489,
-0.06410010159015656,
-0.024378692731261253,
0.14782117307186127,
-0.03472395986318588,
-0.07700863480567932,
0.018256358802318573,
-0.023936113342642784,
-0.04311450943350792,
0.03155215084552765,
-0.047982871532440186,
-0.014125626534223557,
-0.026185886934399605,
0.028730712831020355,
0.004923684522509575,
-0.00469547975808382,
0.023825468495488167,
0.002217502100393176,
-0.008704041130840778,
-0.017915204167366028,
-0.007680578622967005,
0.032547950744628906,
0.007523832377046347,
0.05830970034003258,
0.01809961162507534,
-0.014789493754506111,
0.005661314819008112,
0.042930103838443756,
-0.014180948957800865,
-0.07560713589191437,
-0.0032732358667999506,
0.0459543876349926,
0.014236271381378174,
0.023770146071910858,
0.007657527923583984,
-0.028841357678174973,
0.04610191285610199,
-0.011110560968518257,
-0.010594219900667667,
0.0430038645863533,
0.02057989500463009,
-0.012936197221279144,
-0.013673827983438969,
-0.011027578264474869,
0.03533250838518143,
0.009312586858868599,
0.009736724197864532,
-0.00013729726197198033,
-0.0688578188419342,
-0.040385276079177856,
0.011460935696959496,
0.0005134600796736777,
0.07870518416166306,
-0.05775647610425949,
0.015932820737361908,
-0.014992342330515385,
0.057092610746622086,
0.01596970297396183,
-0.009819707833230495,
0.0089437710121274,
-0.030150651931762695,
0.03507433459162712,
-0.014402237720787525,
-0.10474354773759842,
-0.04418407380580902,
0.04971630498766899,
0.036512717604637146,
-0.029708072543144226,
0.029210172593593597,
0.03066699393093586,
0.032068490982055664,
-0.002980488818138838,
-0.019030870869755745,
0.02013731561601162,
-0.02126220241189003,
-0.033138055354356766,
-0.006841524038463831,
-0.006486539263278246,
-0.0186897162348032,
-0.01391355786472559,
0.020008230581879616,
0.07088630646467209,
-0.06963232904672623,
-0.03924195095896721,
-0.0663129910826683,
0.02631497196853161,
0.060375064611434937,
0.023106278851628304,
-0.037305667996406555,
-0.012945417314767838,
-0.030851401388645172,
0.0005924095748923719,
0.03287988528609276,
0.07512767612934113,
-0.0068784053437411785,
-0.03850431740283966,
-0.006569522898644209,
0.025890834629535675,
0.000502510869409889,
-0.01055733859539032,
-0.0011905819410458207,
0.038430556654930115,
-0.06041194871068001,
0.02347509376704693,
-0.03953700140118599,
-0.03232666105031967,
0.004854531493037939,
0.02493191510438919,
0.029874039813876152,
0.027808673679828644,
-0.0020803487859666348,
-0.030261296778917313,
0.056170571595430374,
0.04226623475551605,
-0.018606731668114662,
0.012502838857471943,
0.06435827165842056,
0.021225322037935257,
0.008704041130840778,
0.0379142127931118,
0.004241376183927059,
0.05159726366400719,
-0.00984736904501915,
-0.09522811323404312,
-0.0055875517427921295,
-0.0904335156083107,
0.014310033991932869,
0.016163330525159836,
-0.036328308284282684,
0.043630849570035934,
-0.039905816316604614,
0.02860162779688835,
-0.007168847601860762,
0.026591584086418152,
-0.012189346365630627,
-0.01721445471048355,
-0.025263849645853043,
0.00417683320119977,
-0.017721576616168022,
-0.00011222934699617326,
0.07759874314069748,
-0.006371284369379282,
-0.07276725769042969,
0.02904420532286167,
0.024802830070257187,
-0.04020087048411369,
-0.061702802777290344,
-0.001701160566881299,
-0.03247418999671936,
0.02150193229317665,
0.03385724499821663,
0.04012710601091385,
0.014881697483360767,
0.024268047884106636,
0.004840700887143612,
-0.0007099694921635091,
-0.011433274485170841,
-0.012631924822926521,
0.04056968539953232,
-0.023014076054096222,
0.027458300814032555,
0.04359396919608116,
0.054695311933755875,
0.0050435494631528854,
0.030298177152872086,
-0.03474240377545357,
-0.023290686309337616,
0.029947802424430847,
-0.027034161612391472,
-0.010040996596217155,
-0.02773491106927395,
0.004195274319499731,
0.0616290383040905,
-0.024747507646679878,
0.03448422998189926,
0.027790233492851257,
0.02028484269976616,
0.05705573037266731,
-0.0484992116689682,
-0.010428252629935741,
0.029228612780570984,
0.07627100497484207,
-0.014688069932162762,
-0.03195784613490105,
-0.020635217428207397,
0.0031234046909958124,
-0.023530416190624237,
0.03743475303053856,
0.04256128519773483,
-0.03498213365674019,
0.005274058785289526,
-0.02850942313671112,
0.004252901766449213,
-0.011377952061593533,
-0.020155757665634155,
-0.06616546958684921,
0.041233550757169724,
-0.019916025921702385,
-0.014190169051289558,
-0.028232812881469727,
-0.007537662982940674,
-0.009229603223502636,
0.031275536864995956,
-0.000496748136356473,
0.0423399992287159,
-0.0393894761800766,
-0.04473729804158211,
-0.046175677329301834,
-0.00028583186212927103,
-0.02380702830851078,
-0.017196014523506165,
-0.07173457741737366,
-0.09788358211517334,
0.003565983148291707,
0.028841357678174973,
-0.024729067459702492,
-0.04115979000926018,
0.01854218915104866,
-0.03474240377545357,
0.04584374278783798,
0.0359041690826416,
0.002052687807008624,
-0.0393894761800766,
-0.016098788008093834,
-0.004425783641636372,
0.03468707948923111,
0.010631101205945015,
0.022128919139504433,
0.010566558688879013,
-0.003759611165151,
0.017159132286906242,
0.020192638039588928,
0.007966410368680954,
0.0075929854065179825,
-0.025411374866962433,
-0.0021990612149238586,
0.06424763053655624,
-0.023530416190624237,
-0.018818801268935204,
-0.030095329508185387,
0.010649542324244976,
0.026923518627882004,
0.012917756102979183,
0.014319254085421562,
0.006389725487679243,
0.03332246467471123,
-0.013157485984265804,
-0.010013335384428501,
-0.06734567880630493,
-0.014872477389872074,
0.022848108783364296,
-0.056354980915784836,
0.06745631992816925,
0.021723221987485886,
0.006117723882198334,
0.030261296778917313,
-0.013212808407843113,
-0.047540292143821716,
0.05794088542461395,
0.0034415079280734062,
-0.023530416190624237,
-0.009524655528366566,
-0.003881781129166484,
0.014494441449642181,
-0.04562245309352875,
-0.014900138601660728,
0.08032797276973724,
-0.036623358726501465,
-0.008598007261753082,
0.018551409244537354,
-0.015508683398365974,
-0.09662961214780807,
0.01714991219341755,
0.08084431290626526,
-0.017518727108836174,
-0.023438213393092155,
0.07350489497184753,
0.04053280130028725,
-0.027661148458719254,
-0.018772698938846588,
-0.0282696932554245,
-0.026591584086418152,
-0.04562245309352875,
-0.011691445484757423,
-0.06963232904672623,
-0.013849015347659588,
-0.09854745119810104,
0.012143244035542011,
-0.04241375997662544,
0.04979006573557854,
-0.006200707517564297,
-0.005131143145263195,
-0.007514611817896366,
0.0019627888686954975,
0.0017126861494034529,
-0.030740756541490555,
0.008906889706850052,
-0.036918412894010544,
0.0034760842099785805,
0.023677943274378777,
0.05340445786714554,
-0.006942948326468468,
0.013397215865552425,
0.03787733241915703,
0.04326203465461731,
0.016670452430844307,
0.006440437398850918,
0.059453029185533524,
-0.000970445282291621,
-0.0024595370050519705,
0.01878191903233528,
0.014005761593580246,
-0.03806174173951149,
0.03629142791032791,
0.007076643873006105,
-0.009072856977581978,
0.010714084841310978,
-0.04444224387407303,
0.033672839403152466,
-0.06686621904373169,
0.038430556654930115,
0.040385276079177856,
0.01271490752696991,
-0.03380192443728447,
-0.030205974355340004,
0.030113769695162773,
0.017048487439751625,
-0.01048357505351305,
-0.014383797533810139,
0.0031810321379452944,
0.014771053567528725,
-0.056945085525512695,
-0.02611212432384491,
-0.014088745228946209,
0.012115582823753357,
0.04525363817811012,
-0.041860539466142654,
0.005642874166369438,
-0.006103893276304007,
0.03688153252005577,
0.055137887597084045,
-0.03675244748592377,
0.001931670238263905,
-0.027568943798542023,
-0.03667868301272392,
0.0313493013381958,
0.005435415543615818,
0.032308220863342285,
-0.004720835946500301,
0.04204494506120682,
0.0011001068633049726,
-0.038135502487421036,
-0.029320817440748215,
-0.023548858240246773,
-0.014946240931749344,
-0.03160747140645981,
0.047540292143821716,
-0.012751789763569832,
-0.035498473793268204,
0.008574956096708775,
-0.012880874797701836,
-0.023106278851628304,
-0.033433109521865845,
-0.008800854906439781,
0.023530416190624237,
0.050232645124197006,
-0.07081253826618195,
0.02087494730949402,
0.025558901950716972,
0.07096006721258163,
0.011507038027048111,
-0.03409697487950325,
0.04735588654875755,
-0.01014242134988308,
0.004342800471931696,
-0.010170082561671734,
-0.013406436890363693,
-0.022848108783364296,
0.0113871730864048,
-0.023235363885760307,
-0.017555609345436096,
0.05823593586683273,
-0.030925163999199867,
-0.01043747365474701,
-0.034853048622608185,
-0.03066699393093586,
0.019233718514442444,
-0.013369554653763771,
-0.041233550757169724,
-0.015407259576022625,
0.036383628845214844,
0.049163080751895905,
-0.039020661264657974,
-0.08740922808647156,
0.03352531045675278,
-0.027661148458719254,
-0.002968963235616684,
0.022516174241900444,
0.025485137477517128,
-0.07922153174877167,
0.05451090261340141,
0.04311450943350792,
-0.0196947380900383,
0.07818884402513504,
0.02028484269976616,
0.05015888065099716,
0.009349468164145947,
-0.05502724274992943,
0.022350206971168518,
0.054068323224782944,
0.016569027677178383,
0.07335736602544785,
-0.025005677714943886,
0.01655980758368969,
0.045142993330955505,
-0.00955231674015522,
0.03223445639014244,
0.07383682578802109,
0.0019916025921702385,
0.006034740712493658,
-0.0034299823455512524,
0.04326203465461731,
0.0018959412118420005,
-0.021040912717580795,
-0.0353693887591362,
0.019418125972151756,
0.019233718514442444,
-0.02067209780216217,
-0.03439202904701233,
0.007496171165257692,
-0.04816728085279465,
0.042303115129470825,
-0.0016389230731874704,
-0.004089239984750748,
0.025300730019807816,
0.03356219455599785,
-0.028343455865979195,
0.03527718409895897,
-0.01919683627784252,
0.007256441283971071,
-0.014900138601660728,
0.0033216429874300957,
-0.016154110431671143,
0.0015905160689726472,
-0.011875852942466736,
-0.03264015540480614,
0.022645259276032448,
0.05100715905427933,
-0.032160695642232895,
0.006537251174449921,
-0.012973078526556492,
-0.015656210482120514,
0.04495858773589134,
-0.02493191510438919,
0.014051862992346287,
-0.00033539143623784184,
0.03629142791032791,
-0.005716637242585421,
0.0444791279733181,
-0.01611722819507122,
-0.0022739768028259277,
0.0061361645348370075,
0.026038361713290215,
-0.0017956695519387722,
-0.00498361699283123,
-0.08763051778078079,
0.0008465463761240244,
-0.033082734793424606,
-0.024858152493834496,
0.06845211982727051,
0.02635185420513153,
-0.0045202928595244884,
0.07225091755390167,
0.028195930644869804,
0.045880623161792755,
0.0455486923456192,
0.05388391762971878,
-0.023087838664650917,
0.024526217952370644,
0.010059437714517117,
-0.019067751243710518,
-0.0187542587518692,
-0.020893387496471405,
-0.0001070428843377158,
0.05303564295172691,
0.027273891493678093,
-0.0633624717593193,
0.024268047884106636,
-0.03448422998189926,
-0.059600554406642914,
-0.0459543876349926,
0.019713178277015686,
0.0187542587518692,
-0.05417896807193756,
-0.061850327998399734,
0.007984851486980915,
0.030482584610581398,
0.053072523325681686,
0.008270683698356152,
-0.016569027677178383,
-0.007463899906724691
] |
5,695 | simple_di | __init__ | null | def __init__(self) -> None:
self._override: Union[_SentinelClass, VT] = sentinel
| (self) -> NoneType | [
0.026747893542051315,
-0.027309395372867584,
0.04971841350197792,
0.007750423159450293,
-0.08323835581541061,
-0.03268619626760483,
-0.011306599713861942,
0.01285498309880495,
0.03169931471347809,
-0.024706069380044937,
-0.014964867383241653,
-0.00030813462217338383,
-0.019227175042033195,
-0.016938630491495132,
-0.07173608243465424,
0.03319665417075157,
-0.0235830657184124,
0.03923704847693443,
0.01433530542999506,
-0.005295980721712112,
-0.033877260982990265,
0.06036992743611336,
0.013127226382493973,
0.044511761516332626,
0.02521652542054653,
0.024842191487550735,
-0.052236661314964294,
-0.021796470507979393,
0.05897467955946922,
-0.04685985669493675,
-0.07003455609083176,
-0.021490195766091347,
-0.0024629500694572926,
0.017159828916192055,
0.09065698087215424,
-0.05329160392284393,
-0.016419667750597,
0.0747307538986206,
-0.0165898185223341,
0.04240187630057335,
-0.02239200286567211,
-0.05077335238456726,
-0.007801468949764967,
-0.02502935752272606,
-0.014547995291650295,
0.020996754989027977,
0.07091934978961945,
-0.01727042719721794,
0.020809588953852654,
-0.006572120822966099,
0.000978373922407627,
0.013169764541089535,
0.036276403814554214,
-0.005938304588198662,
-0.06275205314159393,
0.07690870016813278,
0.029504355043172836,
0.02739446982741356,
-0.10746799409389496,
0.09317523241043091,
-0.03166528418660164,
0.06394311785697937,
0.00852461438626051,
-0.04948019981384277,
0.023293808102607727,
-0.011612873524427414,
-0.020009873434901237,
0.007707885000854731,
-0.00241403141990304,
0.06949007511138916,
-0.014343813061714172,
-0.03542564436793327,
-0.04349084943532944,
0.05734122171998024,
0.052270691841840744,
-0.01818924769759178,
-0.07833797484636307,
0.0188528411090374,
0.025590859353542328,
-0.02644161880016327,
0.026849983260035515,
0.04434160888195038,
-0.011655411683022976,
0.061560992151498795,
0.019295236095786095,
0.007524971850216389,
-0.0283813513815403,
0.008805365301668644,
0.03185245394706726,
0.010889727622270584,
-0.03355397284030914,
0.033843230456113815,
-0.028466427698731422,
0.0006003174930810928,
0.021847516298294067,
0.03586804121732712,
0.043763093650341034,
-0.03573191910982132,
0.01776386797428131,
-0.03195454552769661,
0.02479114569723606,
0.020894665271043777,
0.016368621960282326,
-0.023685157299041748,
-0.008890441618859768,
0.02407650649547577,
0.020486298948526382,
-0.006176517345011234,
-0.010694053024053574,
0.0026288481894880533,
-0.00439417501911521,
0.0471661314368248,
-0.0280750785022974,
0.04342278838157654,
-0.048425257205963135,
0.01106838695704937,
-0.06806079298257828,
-0.005300234537571669,
0.038182105869054794,
0.013671712018549442,
0.009120146743953228,
0.02387232519686222,
-0.09324329346418381,
0.019040007144212723,
0.04063229635357857,
-0.037059102207422256,
0.04063229635357857,
0.02475711517035961,
0.0033987860661000013,
0.02446785569190979,
0.06806079298257828,
-0.0012197770411148667,
-0.026033254340291023,
0.014624563977122307,
-0.008141772821545601,
0.03357098624110222,
-0.013288870453834534,
0.015560399740934372,
-0.051249779760837555,
-0.013186778873205185,
-0.021592287346720695,
-0.012871998362243176,
0.025165479630231857,
-0.00120701570995152,
-0.024740099906921387,
0.07091934978961945,
-0.015228603035211563,
0.010787636041641235,
-0.004517535213381052,
-0.023889338597655296,
-0.03974750638008118,
-0.0013558986829593778,
-0.037263285368680954,
0.07071516662836075,
-0.0466897077858448,
0.032924409955739975,
-0.0025373916141688824,
-0.010974803008139133,
-0.010319718159735203,
-0.007622809149324894,
-0.013127226382493973,
-0.06026783585548401,
0.03166528418660164,
-0.053019359707832336,
-0.025965193286538124,
0.03491519019007683,
-0.0564904622733593,
-0.0516921766102314,
0.012693338096141815,
0.02630549855530262,
-0.06492999941110611,
-0.0373653769493103,
-0.012293481267988682,
0.02171139419078827,
0.029827643185853958,
0.10481362789869308,
0.006980485282838345,
0.0024374271742999554,
-0.0018270070431753993,
-0.0014516091905534267,
0.05284920707345009,
-0.04859540984034538,
-0.03569788858294487,
-0.017951035872101784,
0.017457595095038414,
0.007933336310088634,
-0.01888687163591385,
-0.012106314301490784,
-0.0009129717946052551,
0.013254839926958084,
-0.001433530473150313,
-0.02616937644779682,
0.016045331954956055,
0.007805722765624523,
0.031478118151426315,
0.034234579652547836,
0.019465386867523193,
0.014343813061714172,
-0.0331796370446682,
-0.007605793885886669,
-0.0038773384876549244,
0.048323165625333786,
0.015849657356739044,
-0.027666714042425156,
-0.010651514865458012,
0.015424277633428574,
0.02640758827328682,
-0.014582025818526745,
-0.047404345124959946,
-0.020571375265717506,
-0.00886491872370243,
-0.013339916244149208,
-0.013288870453834534,
0.035357583314180374,
0.006742272526025772,
-0.03545967489480972,
0.024263674393296242,
0.012336019426584244,
-0.02542070671916008,
0.07452657073736191,
0.10685545206069946,
-0.05267905816435814,
-0.0468258261680603,
-0.004496266134083271,
-0.01014956645667553,
0.03266918286681175,
-0.021064816042780876,
-0.056864794343709946,
0.029912719503045082,
-0.02955540083348751,
-0.02965749241411686,
0.00026732473634183407,
-0.006491298321634531,
-0.038080014288425446,
0.034762050956487656,
0.054074302315711975,
0.029249127954244614,
0.0027458276599645615,
-0.10808054357767105,
0.025675935670733452,
-0.013969478197395802,
0.020248087123036385,
0.01701519824564457,
0.013442006893455982,
0.043729063123464584,
0.039781536906957626,
-0.007524971850216389,
0.08698169887065887,
-0.000958168413490057,
0.00985180027782917,
0.008720289915800095,
-0.0660189688205719,
-0.0048620933666825294,
-0.010745097883045673,
0.07391402125358582,
0.011859593912959099,
-0.006393461022526026,
0.01825730875134468,
0.04212963208556175,
0.02552279829978943,
-0.02884076163172722,
0.03654864802956581,
0.01592622697353363,
0.06928589195013046,
-0.02919808216392994,
0.03597012907266617,
-0.016598327085375786,
-0.010319718159735203,
-0.013629174791276455,
0.022715291008353233,
0.07772543281316757,
-0.03309456259012222,
-0.007308028172701597,
0.018529551103711128,
-0.01419067569077015,
-0.003936891909688711,
-0.05996156111359596,
0.0029840406496077776,
-0.05050111189484596,
-0.022579168900847435,
0.06646136939525604,
0.03937317058444023,
0.04124484211206436,
0.003084004856646061,
-0.05941707640886307,
0.00739735784009099,
-0.01433530542999506,
-0.04308248311281204,
-0.019448373466730118,
-0.06673361361026764,
-0.018478505313396454,
0.03164827078580856,
0.03545967489480972,
0.03411547467112541,
0.10597065836191177,
-0.001323995180428028,
-0.02548876777291298,
0.05757943540811539,
0.027802836149930954,
-0.023685157299041748,
0.009809262119233608,
-0.06996649503707886,
-0.04032602161169052,
0.017917005345225334,
0.006312638986855745,
-0.012114821933209896,
0.02764969877898693,
0.03268619626760483,
0.03195454552769661,
0.014922329224646091,
0.021337060257792473,
0.0566946417093277,
-0.004026221577078104,
-0.0329754576086998,
0.010336733423173428,
-0.0026288481894880533,
0.02196662127971649,
-0.06659749150276184,
-0.013561113737523556,
0.05645643174648285,
-0.03872659429907799,
-0.02111586183309555,
-0.003913495689630508,
-0.06190129369497299,
-0.015509353950619698,
-0.009188207797706127,
-0.013510067947208881,
0.0013452641433104873,
-0.04811898246407509,
0.016377128660678864,
-0.011076894588768482,
-0.04423951730132103,
0.007507956586778164,
-0.009834785014390945,
-0.03688895329833031,
-0.024978311732411385,
-0.00647002924233675,
0.02171139419078827,
0.008626705966889858,
-0.03505130857229233,
0.009809262119233608,
-0.000022182901375344954,
-0.030304068699479103,
0.0033434866927564144,
0.06438551098108292,
0.002243879484012723,
0.016198469325900078,
-0.03590207174420357,
0.05390414968132973,
0.04685985669493675,
-0.00022252689814195037,
-0.00985180027782917,
0.005440609995275736,
-0.00774191552773118,
0.09582959860563278,
-0.08895546197891235,
-0.014386351220309734,
-0.007716392632573843,
0.003751851385459304,
-0.028942853212356567,
-0.02239200286567211,
0.031188860535621643,
-0.025658920407295227,
0.01011553592979908,
0.004657910671085119,
-0.04447773098945618,
-0.024484870955348015,
0.024025460705161095,
-0.03465995937585831,
-0.008647974580526352,
-0.0260162390768528,
-0.10004936903715134,
-0.044852063059806824,
-0.05894064903259277,
0.04151708632707596,
-0.03169931471347809,
-0.05070529505610466,
0.006172263529151678,
-0.013144241645932198,
-0.005278965458273888,
0.005040752701461315,
0.01938031241297722,
-0.02542070671916008,
0.003277552779763937,
-0.007184667978435755,
-0.005687330383807421,
0.004487758968025446,
0.04349084943532944,
0.08555242419242859,
0.06571269780397415,
-0.02305559441447258,
-0.027462530881166458,
0.03828419744968414,
-0.03733134642243385,
0.00023196502297651023,
0.030763480812311172,
-0.025403691455721855,
-0.018614627420902252,
-0.00991986133158207,
0.023293808102607727,
0.03831822797656059,
0.07459463179111481,
-0.004555819556117058,
0.038862716406583786,
0.02725834958255291,
-0.025199510157108307,
0.0421636626124382,
-0.09827978909015656,
0.01384186465293169,
-0.044681914150714874,
-0.013629174791276455,
0.002503361087292433,
-0.029963765293359756,
-0.04713210090994835,
0.004234657622873783,
-0.007967366836965084,
0.04811898246407509,
-0.010881219990551472,
0.06193532422184944,
-0.019499417394399643,
-0.0610165037214756,
0.006712495815008879,
0.02722431905567646,
0.041006628423929214,
0.01793402060866356,
0.036140281707048416,
-0.010506885126233101,
-0.017951035872101784,
-0.00965612567961216,
-0.015773089602589607,
0.004653656855225563,
-0.002031189389526844,
0.005155605264008045,
0.021422136574983597,
-0.0042070080526173115,
-0.04614521935582161,
-0.05826004222035408,
-0.07180414348840714,
-0.020571375265717506,
0.035357583314180374,
-0.03648058697581291,
0.001665362622588873,
0.022477077320218086,
0.05533342808485031,
0.02693505957722664,
-0.005108813755214214,
-0.003922003321349621,
0.013288870453834534,
0.016836538910865784,
-0.019448373466730118,
-0.009409405291080475,
-0.011255553923547268,
0.005802182946354151,
0.02288544364273548,
-0.009154177270829678,
-0.05250890552997589,
-0.09862009435892105,
-0.015228603035211563,
-0.03403039649128914,
-0.04410339519381523,
-0.05104559659957886,
0.025471752509474754,
-0.02312365546822548,
-0.039951685816049576,
-0.027479546144604683,
0.049344077706336975,
0.01750863902270794,
-0.047540467232465744,
-0.025761011987924576,
-0.0379779227077961,
-0.010090013034641743,
-0.01106838695704937,
-0.008605437353253365,
-0.03654864802956581,
-0.029776599258184433,
-0.0024012699723243713,
-0.02285141311585903,
-0.04440966993570328,
-0.009307313710451126,
-0.018410446122288704,
0.020077934488654137,
0.03278828784823418,
0.03597012907266617,
-0.013033642433583736,
-0.014939344488084316,
-0.005738375708460808,
0.008915964514017105,
-0.024416809901595116,
0.03375815600156784,
0.05070529505610466,
-0.005929796956479549,
0.05482297018170357,
-0.06639330834150314,
0.0018429587362334132,
0.0421636626124382,
0.01083868183195591,
0.00701876962557435,
0.01776386797428131,
0.040768418461084366,
-0.08153683692216873,
0.005236427299678326,
-0.022681260481476784,
-0.047540467232465744,
-0.028330305591225624,
0.02669684775173664,
-0.10556229203939438,
-0.03386024758219719,
0.01054091565310955,
-0.028551504015922546,
0.001933351974003017,
0.059553198516368866,
0.0141056003049016,
0.006176517345011234,
-0.02994675002992153,
0.036276403814554214,
-0.007074069231748581,
-0.03974750638008118,
-0.0306443739682436,
0.03329874575138092,
0.007418626919388771,
-0.012259450741112232,
-0.0018355145584791899,
0.0019524941453710198,
-0.05009274557232857,
0.0017940400866791606,
0.009545526467263699,
0.003503004088997841,
-0.0283813513815403,
0.07003455609083176,
0.014573518186807632,
0.0016494108131155372,
-0.05849825590848923,
-0.04577088728547096,
0.029249127954244614,
-0.013765295967459679,
0.026611771434545517,
0.030746465548872948,
0.029249127954244614,
0.047370314598083496,
-0.018512535840272903,
0.0007821674225851893,
0.0259481780230999,
0.008507599122822285,
0.03961138427257538,
0.013186778873205185,
-0.00878835003823042,
-0.07622808963060379,
0.014871284365653992,
-0.014616056345403194,
0.02785388007760048,
-0.007154891267418861,
-0.04699597880244255,
0.008052443154156208,
0.006967723835259676,
-0.02598220854997635,
-0.03556176647543907,
0.028432397171854973,
0.056014034897089005,
0.05567372962832451,
0.054142363369464874,
-0.00635517667979002,
0.05546955019235611,
0.05808988958597183,
-0.07296117395162582,
0.018563581630587578,
-0.010796143673360348,
-0.004657910671085119,
-0.01609637774527073,
0.050399020314216614,
0.02598220854997635,
0.016725940629839897,
-0.02475711517035961,
0.020043903961777687,
0.02666281722486019,
-0.024586962535977364,
0.04308248311281204,
-0.018937917426228523,
0.062445782124996185,
-0.03607222065329552,
-0.10705963522195816,
-0.03648058697581291,
0.008694767020642757,
-0.004041109699755907,
-0.10556229203939438,
-0.026135345920920372,
-0.05002468451857567,
-0.05540148913860321,
0.014080077409744263,
-0.04794882982969284,
0.00754624092951417,
-0.024127552285790443,
0.05444863811135292,
-0.009154177270829678,
-0.026220422238111496,
-0.007822738029062748,
0.0189209021627903,
0.03944123163819313,
-0.017423564568161964,
0.022017667070031166,
-0.03202260285615921,
-0.04025796055793762,
0.07765737175941467,
-0.03927107900381088,
-0.005674568936228752,
0.04036005213856697,
-0.051317840814590454,
-0.013569621369242668,
0.016019809991121292,
0.0009182890062220395,
-0.019261205568909645,
0.05046708136796951,
0.0036859174724668264,
0.043626971542835236,
0.014871284365653992,
-0.0021502957679331303,
0.01987375319004059,
-0.014156646095216274,
-0.00034987504477612674,
0.00000860729778651148,
0.0467577688395977,
-0.04903780296444893,
-0.03134199604392052,
-0.01175750233232975,
-0.033315759152173996,
-0.036208342760801315,
-0.011196001432836056,
-0.005240681115537882,
0.015594430267810822,
-0.015279648825526237,
-0.009945384226739407,
-0.006984739098697901,
-0.012012730352580547,
-0.0032690451480448246,
-0.04165320843458176,
-0.012786922045052052,
0.019193144515156746,
-0.026050269603729248,
0.004857839550822973,
0.05438057705760002,
0.03515340015292168,
0.00044106587301939726,
-0.01419067569077015,
0.06938797980546951,
0.059825439006090164,
-0.06132277846336365,
-0.06098247319459915,
0.00919671542942524,
0.02693505957722664,
0.005917035508900881,
-0.001683441223576665,
0.007758930791169405,
0.0516921766102314,
-0.024314720183610916,
-0.025301601737737656,
-0.06826497614383698,
-0.006082933861762285,
-0.012761399149894714,
0.02856851927936077,
0.07057904452085495,
-0.01175750233232975,
-0.06319444626569748,
0.026288483291864395,
-0.026526695117354393,
-0.0006880520959384739,
0.09923264384269714,
0.02456994727253914,
0.007142129819840193,
-0.013025134801864624,
0.016275037080049515,
-0.02111586183309555,
0.028755687177181244,
0.0041644698940217495,
-0.04526042938232422,
-0.03491519019007683,
-0.03018496371805668,
-0.06516820937395096,
0.0042006270959973335,
-0.01970360055565834,
0.04788076877593994,
-0.0014516091905534267,
-0.016147423535585403,
0.0034944964572787285,
-0.021898562088608742,
-0.0609484426677227,
-0.021268999204039574,
0.05754540488123894,
-0.03855644166469574,
0.005312995985150337,
0.033843230456113815,
-0.04893571138381958,
-0.0015164796495810151,
-0.0468938872218132,
0.013918432407081127,
0.05339369550347328,
-0.012344527058303356,
-0.0117234718054533,
-0.045668795704841614,
-0.08596078306436539,
-0.027020135894417763,
-0.010353748686611652,
0.07207638025283813,
0.02111586183309555,
-0.06353475153446198,
0.004355891142040491,
0.005189635790884495,
0.027071181684732437,
-0.020026888698339462,
-0.01714281365275383,
0.038080014288425446,
-0.00696347001940012,
0.04665567725896835,
0.06445357203483582,
0.001837641466408968,
-0.06190129369497299,
0.005270457826554775,
0.0611526258289814,
0.016275037080049515,
-0.0057256147265434265,
-0.030253024771809578,
0.009996429085731506,
0.008192818611860275,
-0.023072609677910805,
-0.012327511794865131,
0.034762050956487656,
0.04699597880244255,
0.01037927158176899,
-0.034830112010240555,
-0.01842746138572693,
-0.006857125088572502,
0.04063229635357857,
0.04522639885544777,
0.048323165625333786,
-0.02069048210978508,
0.0019248443422839046,
-0.010557930916547775,
-0.016870569437742233,
-0.021694378927350044,
0.05352981761097908,
-0.004845078103244305,
0.06373893469572067,
-0.05577582120895386,
-0.04332069680094719,
0.044647883623838425,
0.015619953162968159,
0.022579168900847435,
0.008618198335170746,
0.00655935937538743,
0.05802182853221893,
0.026594756171107292,
0.0849398747086525,
0.010430317372083664,
-0.005534193478524685,
0.018767764791846275,
0.022834397852420807,
0.019975842908024788,
-0.027071181684732437,
0.018104171380400658,
0.011766009964048862,
-0.011851086281239986,
0.03386024758219719,
-0.04478400573134422,
-0.02877270244061947,
0.021592287346720695,
0.049344077706336975,
-0.015883687883615494,
0.035255491733551025,
0.030338099226355553,
0.02742850035429001
] |
5,696 | simple_di | __setstate__ | null | def __setstate__(self, state: Dict[str, Any]) -> None:
for i in self.STATE_FIELDS:
setattr(self, i, state[i])
| (self, state: Dict[str, Any]) -> NoneType | [
-0.021883174777030945,
-0.00906691700220108,
-0.01768319122493267,
-0.005074228625744581,
-0.060962848365306854,
-0.017412805929780006,
-0.02788572572171688,
0.023541538044810295,
0.014889211393892765,
-0.03641187399625778,
-0.06730788946151733,
0.08810952305793762,
0.021504634991288185,
0.06197228655219078,
-0.02646169811487198,
-0.004898478277027607,
-0.003071125131100416,
0.03666423261165619,
-0.047948308289051056,
-0.03114837408065796,
0.0050832414999604225,
0.02752521261572838,
0.047731999307870865,
0.04232429713010788,
0.021883174777030945,
0.032914891839027405,
-0.009427430108189583,
-0.003505994798615575,
0.07844775915145874,
-0.003963396418839693,
0.012050166726112366,
-0.017737269401550293,
-0.020206786692142487,
0.029129497706890106,
0.047876205295324326,
-0.07873617112636566,
-0.04081013798713684,
0.03536638244986534,
-0.04827276989817619,
-0.0036749853752553463,
0.012104243971407413,
-0.04596548154950142,
-0.0242625642567873,
0.034573253244161606,
0.03406853601336479,
0.03652002662420273,
0.016872035339474678,
0.004073803778737783,
0.056564584374427795,
-0.05371652543544769,
-0.004961568396538496,
-0.004301378037780523,
0.005322081968188286,
0.0163943562656641,
0.0011209719814360142,
0.027705470100045204,
0.01964799128472805,
0.04351399093866348,
0.0028390446677803993,
0.009580648504197598,
-0.08241340517997742,
-0.022712357342243195,
-0.003129708580672741,
-0.056420378386974335,
-0.025794748216867447,
-0.05220237001776695,
-0.04737148806452751,
0.050219543278217316,
-0.00921562872827053,
0.015240712091326714,
0.01595272682607174,
-0.011428280733525753,
0.03527625650167465,
-0.009932149201631546,
-0.03520415350794792,
0.07069671899080276,
-0.09553610533475876,
0.06640660762786865,
-0.027254827320575714,
-0.0010944966925308108,
-0.01707933098077774,
0.02054927498102188,
-0.04102644696831703,
0.045460764318704605,
-0.07426580041646957,
-0.006732591427862644,
-0.0020087365992367268,
-0.004456849303096533,
-0.053175754845142365,
-0.026732083410024643,
0.0016685019945725799,
0.0572856105864048,
-0.02593895234167576,
0.027471136301755905,
-0.012104243971407413,
0.010653176344931126,
0.00083819410065189,
0.008467563427984715,
-0.0452084057033062,
0.021072018891572952,
-0.04762384667992592,
-0.10281847417354584,
-0.027903752401471138,
-0.03143678605556488,
-0.02002652920782566,
-0.06633450090885162,
0.0035375396255403757,
-0.0577542781829834,
0.006020577158778906,
-0.026948390528559685,
-0.009346314705908298,
-0.025109771639108658,
0.0006517409929074347,
0.007336451672017574,
-0.001267430605366826,
0.017277613282203674,
0.0497148260474205,
-0.04210798814892769,
-0.017205512151122093,
-0.00011237884609727189,
0.02447887323796749,
0.018999066203832626,
0.00040811265353113413,
0.09986226260662079,
0.02629946731030941,
0.03897152096033096,
0.012545873410999775,
0.05472596362233162,
0.05840320140123367,
-0.07376108318567276,
-0.03785392642021179,
-0.018764732405543327,
-0.006119718309491873,
0.024677155539393425,
0.02842649631202221,
0.022658279165625572,
-0.011202960275113583,
-0.018350141122937202,
-0.01436646655201912,
-0.010959613136947155,
0.03864705562591553,
0.0005759767955169082,
0.030643654987215996,
0.006164782680571079,
0.05595171079039574,
0.046974919736385345,
0.006881303153932095,
0.043405838310718536,
-0.01571839302778244,
0.030733784660696983,
0.009247173555195332,
-0.006435167510062456,
0.007872715592384338,
0.0288771390914917,
-0.08976788818836212,
0.02501964382827282,
-0.010490945540368557,
-0.009959188289940357,
-0.003519513877108693,
0.020729532465338707,
0.0017586303874850273,
-0.03446510061621666,
-0.055302783846855164,
-0.020657429471611977,
-0.018999066203832626,
0.012536860071122646,
-0.0114823579788208,
-0.061792030930519104,
-0.008503613993525505,
-0.02721877582371235,
-0.024532949551939964,
-0.0835670530796051,
-0.010563048534095287,
0.0785919651389122,
0.025362132117152214,
0.023162998259067535,
-0.014186209999024868,
-0.023974154144525528,
-0.0052409665659070015,
-0.003116189269348979,
-0.002096611773595214,
0.029580140486359596,
-0.05450965464115143,
0.03060760349035263,
0.011049741879105568,
-0.007021002471446991,
-0.03482561185956001,
0.03008485957980156,
0.04178352653980255,
0.03983675315976143,
0.059376589953899384,
-0.020314941182732582,
-0.019611939787864685,
-0.03114837408065796,
-0.018620526418089867,
0.04784015566110611,
-0.02871490828692913,
-0.0759962648153305,
0.049462463706731796,
0.08652326464653015,
-0.012563899159431458,
0.011689653620123863,
-0.011996089480817318,
0.025884876027703285,
0.03008485957980156,
-0.007602330297231674,
0.025596465915441513,
-0.030355244874954224,
0.02222566306591034,
-0.0392959825694561,
0.029580140486359596,
-0.050760313868522644,
-0.017863448709249496,
0.03545651212334633,
0.03455522656440735,
-0.06247700750827789,
0.05288734287023544,
0.027849674224853516,
0.052346572279930115,
-0.003706530435010791,
0.10260216891765594,
0.04488394409418106,
-0.005633024964481592,
-0.06409931927919388,
0.011220986023545265,
-0.0006658235215581954,
-0.037385258823633194,
-0.07112932950258255,
-0.08573013544082642,
0.02584882453083992,
-0.024388745427131653,
0.01677289418876171,
-0.0019602926913648844,
0.0166286900639534,
0.06262121349573135,
0.01602482981979847,
0.050003234297037125,
-0.08327864110469818,
-0.03922387957572937,
0.02411836013197899,
0.0018397459061816335,
-0.006281949579715729,
-0.0028232720214873552,
-0.03255437687039375,
-0.04737148806452751,
-0.009202109649777412,
0.017800359055399895,
0.07231902331113815,
-0.06993963569402695,
0.023162998259067535,
0.013086643069982529,
-0.0041459063068032265,
-0.03983675315976143,
0.01610594429075718,
-0.010815408080816269,
0.006777655333280563,
0.043189529329538345,
0.04917405545711517,
0.0037425816990435123,
-0.018692629411816597,
-0.005759204737842083,
-0.09099362790584564,
-0.01948576048016548,
0.002534861210733652,
0.03807023540139198,
0.03531230613589287,
0.05313970521092415,
0.022658279165625572,
-0.06121520698070526,
-0.032157812267541885,
0.09712236374616623,
-0.006655982229858637,
-0.04044962674379349,
0.06914650648832321,
-0.011951025575399399,
-0.015493071638047695,
0.03233806788921356,
-0.047047022730112076,
-0.05133713409304619,
-0.04603758454322815,
0.08702798187732697,
-0.012942438013851643,
0.02328917756676674,
0.05375257506966591,
0.027831649407744408,
-0.016277188435196877,
-0.0022047660313546658,
0.029453961178660393,
0.019449708983302116,
-0.02078360877931118,
0.05061610788106918,
0.05148134008049965,
0.018638553097844124,
0.033005017787218094,
0.025001617148518562,
-0.028444522991776466,
-0.08089925348758698,
0.07033620029687881,
0.019972452893853188,
-0.017097357660531998,
0.015177622437477112,
-0.023000767454504967,
-0.03296896815299988,
0.033599868416786194,
-0.001985077979043126,
-0.040774088352918625,
0.0231990497559309,
0.04982297867536545,
-0.009823995642364025,
0.003992687910795212,
0.024442821741104126,
0.06954307109117508,
-0.1046210452914238,
0.01043686829507351,
0.07628467679023743,
-0.038574956357479095,
-0.019251426681876183,
-0.005502338521182537,
-0.023397332057356834,
0.06280146539211273,
-0.02714667282998562,
-0.07505892962217331,
-0.05789848417043686,
0.019936401396989822,
-0.0039498768746852875,
0.010193522088229656,
0.036321744322776794,
-0.023307204246520996,
-0.008350396528840065,
-0.03399643301963806,
-0.08911895751953125,
-0.030499450862407684,
0.06078259274363518,
0.026551825925707817,
-0.016953151673078537,
-0.010860471986234188,
-0.023108921945095062,
0.003472196636721492,
0.002460505347698927,
-0.008034946396946907,
0.0023039071820676327,
0.03915177658200264,
-0.06471218913793564,
0.0114823579788208,
0.01557418704032898,
0.005998044740408659,
-0.02878701128065586,
0.0072823744267225266,
0.06582978367805481,
-0.0012448985362425447,
-0.061323363333940506,
-0.05122898146510124,
0.04672256112098694,
0.025812773033976555,
0.046289946883916855,
-0.01595272682607174,
-0.01685401052236557,
-0.01903511770069599,
-0.01737675443291664,
-0.026173286139965057,
0.010671202093362808,
-0.03662818297743797,
-0.0038327102083712816,
-0.03213978558778763,
0.02455097623169422,
0.009914123453199863,
-0.042288243770599365,
-0.03410458564758301,
0.019918376579880714,
-0.019521811977028847,
0.04776805266737938,
-0.07844775915145874,
-0.033906303346157074,
0.04513630270957947,
0.027867700904607773,
0.04272086173295975,
-0.013555310666561127,
0.003767366986721754,
-0.02334325574338436,
0.005222940817475319,
0.032662533223629,
-0.05797058716416359,
0.07830355316400528,
0.08443228155374527,
0.04109854996204376,
0.013708529062569141,
0.06669501215219498,
0.011049741879105568,
0.06593793630599976,
0.021432533860206604,
-0.06611819565296173,
0.004623586777597666,
-0.04675861448049545,
-0.006881303153932095,
0.018250999972224236,
-0.03778182342648506,
0.021504634991288185,
-0.016520535573363304,
0.03406853601336479,
-0.01754799857735634,
0.008940736763179302,
-0.03439299762248993,
-0.01020253449678421,
0.023685744032263756,
0.029886577278375626,
0.009679789654910564,
-0.004526698961853981,
0.11024505645036697,
-0.025902900844812393,
-0.05101267248392105,
0.04336978495121002,
0.03482561185956001,
-0.006714565679430962,
-0.08659536391496658,
-0.010914549231529236,
-0.03190545365214348,
0.02220763824880123,
-0.010076355189085007,
0.03331145644187927,
0.021144121885299683,
0.036015309393405914,
0.0280479583889246,
-0.009247173555195332,
0.015493071638047695,
-0.021937252953648567,
0.008566704578697681,
0.017412805929780006,
-0.029580140486359596,
0.061719927936792374,
0.04196378216147423,
-0.016655728220939636,
0.05328390747308731,
-0.027561264112591743,
0.029742371290922165,
0.06824522465467453,
-0.021342404186725616,
-0.0008229849627241492,
-0.035871103405952454,
-0.029435934498906136,
0.014294363558292389,
-0.0012753168120980263,
-0.005587960593402386,
0.021901201456785202,
-0.0172235369682312,
0.014573762193322182,
-0.03451917693018913,
-0.01807975582778454,
0.03349171206355095,
0.042504552751779556,
-0.0015659809578210115,
-0.022045405581593513,
0.0044095320627093315,
-0.03098614327609539,
-0.02601105533540249,
0.052274469286203384,
0.03295094147324562,
-0.006755123380571604,
-0.021342404186725616,
0.0010849206009879708,
-0.014195222407579422,
-0.01935957930982113,
-0.03846680000424385,
-0.04838092252612114,
0.04762384667992592,
-0.007273361552506685,
0.00824224203824997,
-0.04171142354607582,
-0.009562622755765915,
0.02054927498102188,
0.016448432579636574,
-0.011698666028678417,
-0.002386149251833558,
0.012942438013851643,
-0.010292663238942623,
-0.03295094147324562,
-0.02175699546933174,
-0.02720075100660324,
-0.030661681666970253,
-0.09236358106136322,
-0.04495604336261749,
0.007665420416742563,
0.024587027728557587,
0.04081013798713684,
-0.0242625642567873,
0.027236802503466606,
-0.03015696257352829,
0.06056628376245499,
0.004249554127454758,
0.04135090857744217,
0.007097611203789711,
-0.016745856031775475,
-0.02094583958387375,
0.030733784660696983,
0.0015242965891957283,
0.015222686342895031,
-0.015240712091326714,
-0.05768217518925667,
0.010986652225255966,
0.018764732405543327,
-0.015700366348028183,
-0.013735568150877953,
-0.01008536759763956,
-0.02357758954167366,
-0.004587535280734301,
0.026876287534832954,
0.017277613282203674,
-0.01874670758843422,
0.01564629003405571,
-0.019287478178739548,
0.0005252795526757836,
0.03304107114672661,
0.003391081001609564,
-0.0016144249821081758,
-0.050688210874795914,
0.005718647036701441,
-0.06208043918013573,
-0.04409081116318703,
0.037889979779720306,
-0.05047190189361572,
0.030805885791778564,
0.03742131218314171,
-0.014564748853445053,
0.025632517412304878,
0.008440524339675903,
-0.017484908923506737,
0.013960888609290123,
0.04881354048848152,
-0.04823672026395798,
0.007422073744237423,
0.0018442523432895541,
-0.021630816161632538,
-0.017935551702976227,
-0.01670079305768013,
0.08464859426021576,
0.002640762133523822,
0.015096507035195827,
0.042973220348358154,
-0.03576294705271721,
-0.014699941501021385,
0.0074491119012236595,
0.027182724326848984,
-0.00937335379421711,
-0.006002551410347223,
0.005168863572180271,
-0.011220986023545265,
-0.008841595612466335,
-0.08443228155374527,
-0.027867700904607773,
-0.02750718779861927,
-0.05047190189361572,
-0.037889979779720306,
-0.0657937303185463,
-0.04466763511300087,
-0.0231990497559309,
-0.0028796023689210415,
-0.09077732264995575,
0.04113459959626198,
-0.0013260140549391508,
0.010139444842934608,
0.03039129637181759,
-0.017638128250837326,
0.013122694566845894,
0.019449708983302116,
0.007701471447944641,
0.020891763269901276,
0.010851459577679634,
-0.020495198667049408,
-0.021360430866479874,
0.004984100349247456,
0.02099991776049137,
0.0560959167778492,
0.04268480837345123,
-0.01737675443291664,
0.028931215405464172,
0.016980189830064774,
-0.01625916361808777,
0.014501659199595451,
0.015069467946887016,
0.02721877582371235,
-0.020278889685869217,
0.020675454288721085,
0.040233317762613297,
-0.043405838310718536,
-0.028534650802612305,
-0.0030485931783914566,
0.01001326460391283,
-0.05072426423430443,
0.060494180768728256,
0.00006977909652050585,
-0.0023433384485542774,
-0.056276172399520874,
-0.04019726440310478,
0.011491370387375355,
0.01031970139592886,
-0.03015696257352829,
-0.008440524339675903,
0.047804102301597595,
-0.04679466411471367,
-0.024659130722284317,
-0.011121843941509724,
-0.017953576520085335,
0.018250999972224236,
0.0010866104857996106,
-0.0038101780228316784,
0.01752997376024723,
-0.031941503286361694,
-0.0010499958880245686,
0.0731482058763504,
-0.017412805929780006,
0.02909344621002674,
0.0058808778412640095,
0.007187739945948124,
0.041459064930677414,
0.0315990149974823,
-0.006516283378005028,
-0.02137845568358898,
0.014123120345175266,
0.02547028474509716,
-0.034573253244161606,
-0.04737148806452751,
-0.05811479315161705,
-0.01730465330183506,
-0.047047022730112076,
0.0061783017590641975,
-0.0397646501660347,
-0.0577542781829834,
0.007363490294665098,
-0.026732083410024643,
-0.018908938392996788,
-0.08097135275602341,
-0.00880103837698698,
-0.005732166115194559,
0.013149733655154705,
-0.08753269910812378,
0.016529548913240433,
0.0031342150177806616,
0.041675370186567307,
0.03235609456896782,
-0.008287305943667889,
0.0221355352550745,
0.012708104215562344,
-0.0012877094559371471,
0.044847890734672546,
-0.03361789137125015,
-0.01292441226541996,
0.02963421680033207,
-0.020441120490431786,
-0.034122612327337265,
-0.016529548913240433,
0.0038169375620782375,
-0.03015696257352829,
-0.00561499921604991,
-0.04535261169075966,
0.04300926998257637,
0.009724854491651058,
0.01367247849702835,
-0.005651050712913275,
0.012122269719839096,
0.09481507539749146,
-0.03466338291764259,
-0.07606837153434753,
0.03778182342648506,
0.001876923954114318,
0.005669076461344957,
0.03846680000424385,
0.036754362285137177,
-0.03527625650167465,
0.032085709273815155,
0.004513179417699575,
-0.0006151263369247317,
0.013284926302731037,
0.0007796106510795653,
0.0179896280169487,
-0.017322678118944168,
0.007201259024441242,
-0.019377605989575386,
0.038214441388845444,
-0.00925618689507246,
0.08904685825109482,
0.00989609770476818,
-0.03502389416098595,
0.025650542229413986,
0.032662533223629,
-0.0040129669941961765,
0.03581702709197998,
0.047335434705019,
0.01020253449678421,
0.0018746707355603576,
0.049318261444568634,
-0.013690503314137459,
-0.019089194014668465,
-0.04239640012383461,
-0.007322932593524456,
-0.00636757118627429,
-0.047047022730112076,
-0.03489771485328674,
-0.004544724710285664,
-0.08162027597427368,
0.03527625650167465,
0.002320806263014674,
0.012383641675114632,
0.043261632323265076,
0.007724003866314888,
-0.03008485957980156,
0.03131060674786568,
-0.026119209825992584,
-0.0015896395780146122,
0.0037425816990435123,
0.017061306163668633,
-0.03105824626982212,
0.0452084057033062,
-0.029904602095484734,
-0.017881473526358604,
0.02002652920782566,
0.04935431107878685,
-0.007962844334542751,
0.01827803999185562,
-0.044271070510149,
-0.01761108823120594,
0.029508037492632866,
0.005277017597109079,
0.009869059547781944,
-0.02336128056049347,
-0.003931851591914892,
-0.02727285400032997,
-0.038502853363752365,
-0.020314941182732582,
0.058907922357320786,
0.04351399093866348,
0.006295468658208847,
-0.004754273220896721,
0.0006483611650764942,
-0.058078739792108536,
-0.025668567046523094,
-0.04412686452269554,
-0.033599868416786194,
0.047876205295324326,
0.047515690326690674,
-0.0020064834970980883,
0.08500910550355911,
0.019702067598700523,
0.03396037966012955,
0.05382467806339264,
-0.005903410259634256,
-0.050688210874795914,
0.05195000767707825,
-0.010554035194218159,
-0.02759731560945511,
-0.02464110404253006,
0.0234333835542202,
-0.0006280822562985122,
0.05375257506966591,
-0.004432064015418291,
-0.02501964382827282,
0.06363064795732498,
-0.0577542781829834,
-0.027759546414017677,
-0.020350992679595947,
-0.0010207041632384062,
-0.0025190887972712517,
-0.046974919736385345,
-0.060962848365306854,
0.02215356007218361,
-0.0012595443986356258,
0.06954307109117508,
0.0527791902422905,
0.006768642924726009,
-0.013023553416132927
] |
5,697 | simple_di | _provide | null | def _provide(self) -> VT:
raise NotImplementedError
| (self) -> ~VT | [
0.062155988067388535,
-0.09496880322694778,
0.0005274151335470378,
0.021230846643447876,
0.023742200806736946,
0.0062659913673996925,
0.0248491782695055,
-0.02339523658156395,
0.02873186208307743,
-0.009723232127726078,
0.03127625957131386,
-0.011292828246951103,
0.009359747171401978,
0.013482000678777695,
-0.08227986097335815,
0.03312673047184944,
0.00458900211378932,
0.029706664383411407,
-0.006402298342436552,
-0.012218063697218895,
-0.028070980682969093,
0.025245707482099533,
0.035291120409965515,
-0.07309359312057495,
-0.01595204882323742,
0.07547277212142944,
0.03000405989587307,
-0.0516149140894413,
0.011606747284531593,
-0.041999075561761856,
-0.09814103692770004,
-0.04140428081154823,
-0.014349409379065037,
0.036877237260341644,
0.024204818531870842,
0.016216401010751724,
0.0020993342623114586,
0.06476647406816483,
-0.009450618177652359,
-0.01243284996598959,
-0.062155988067388535,
-0.030879730358719826,
0.05336625501513481,
-0.04626176878809929,
-0.013093732297420502,
0.013192865066230297,
0.02673269249498844,
0.038529444485902786,
0.012565026991069317,
-0.00025544653180986643,
0.013126776553690434,
0.02390742115676403,
-0.007790151052176952,
-0.0069970921613276005,
-0.046724386513233185,
0.046526119112968445,
0.046823516488075256,
0.0921270027756691,
0.021660421043634415,
0.10078456252813339,
-0.004444434307515621,
0.017562950029969215,
0.012548504397273064,
-0.020603008568286896,
-0.00024047342594712973,
0.0011090432526543736,
-0.023031750693917274,
-0.018719494342803955,
-0.00008661173342261463,
0.10296547412872314,
0.024469170719385147,
-0.04408085718750954,
-0.04229647293686867,
0.05045837163925171,
0.0742831826210022,
-0.007624930702149868,
-0.08003285527229309,
-0.029607530683279037,
0.05508454889059067,
-0.0320858396589756,
0.031722355633974075,
0.01537377666682005,
-0.028897082433104515,
-0.01824035495519638,
0.022420436143875122,
0.01710033230483532,
-0.0631803572177887,
-0.03806682676076889,
0.023015229031443596,
-0.007030136417597532,
-0.041470371186733246,
0.02745966427028179,
-0.018488185480237007,
0.049764443188905716,
0.05148273706436157,
-0.03390326723456383,
0.001592313521541655,
-0.04014860466122627,
-0.04077644273638725,
0.02696400135755539,
0.01575378328561783,
0.059115931391716,
0.043386928737163544,
0.012028059922158718,
0.021577810868620872,
-0.009021044708788395,
-0.01825687661767006,
0.03578678146004677,
-0.012887206859886646,
0.046096548438072205,
-0.04213125258684158,
0.03995034098625183,
-0.01886819303035736,
-0.015002029947936535,
-0.07071441411972046,
-0.007496884558349848,
-0.020586486905813217,
-0.02924404665827751,
-0.015919005498290062,
0.010631945915520191,
-0.013919835910201073,
0.025823980569839478,
-0.030053626745939255,
-0.03535720705986023,
0.007843848317861557,
-0.03869466483592987,
0.0015613347059115767,
0.016406405717134476,
-0.007381230127066374,
-0.04642698913812637,
0.017017722129821777,
0.004807919263839722,
-0.022734355181455612,
0.029491877183318138,
0.004250300116837025,
0.018075132742524147,
0.02233782410621643,
0.02202390506863594,
-0.023362193256616592,
0.05316798761487007,
-0.03704245761036873,
0.01886819303035736,
0.030351024121046066,
-0.00739775225520134,
0.01686902344226837,
-0.012151975184679031,
-0.0035625691525638103,
-0.009103654883801937,
-0.007856239564716816,
-0.007327533792704344,
-0.001592313521541655,
-0.006150336936116219,
0.01625770702958107,
0.00694752624258399,
-0.026402251794934273,
0.013812442310154438,
0.01011976134032011,
-0.045468710362911224,
-0.013721570372581482,
-0.0184551402926445,
-0.010417158715426922,
-0.040743399411439896,
0.0017947087762877345,
0.014861593022942543,
0.010301504284143448,
0.07811629772186279,
-0.05293668061494827,
0.0000857081831782125,
-0.0027364662382751703,
0.03387022390961647,
-0.006422950886189938,
-0.023758722469210625,
-0.05465497449040413,
0.01357287261635065,
0.025609193369746208,
0.06324644386768341,
0.01037585362792015,
0.047880928963422775,
0.04140428081154823,
-0.009467140771448612,
0.034960679709911346,
-0.04236256331205368,
-0.10237068682909012,
0.021412590518593788,
0.026484861969947815,
0.003581156488507986,
0.02443612739443779,
0.004186276812106371,
-0.0032383238431066275,
-0.019562119618058205,
-0.02998753823339939,
-0.005254014860838652,
0.05382887274026871,
0.01886819303035736,
-0.010185849852859974,
-0.043651282787323,
-0.01368026528507471,
0.036447662860155106,
-0.047153957188129425,
0.06618737429380417,
0.004440303426235914,
-0.006175119895488024,
-0.0009350453037768602,
0.03631548956036568,
0.011053257621824741,
0.014977247454226017,
0.022056950256228447,
-0.02812054567039013,
-0.030681464821100235,
-0.03294498845934868,
-0.033407606184482574,
-0.042759090662002563,
-0.02863273024559021,
0.06324644386768341,
0.016133790835738182,
-0.022635221481323242,
-0.015613346360623837,
-0.01583639532327652,
-0.003864096710458398,
0.034861546009778976,
0.10461768507957458,
-0.03155713528394699,
-0.02308131754398346,
-0.010185849852859974,
0.08498947322368622,
-0.03492763638496399,
0.027674449607729912,
-0.05938028171658516,
-0.016736846417188644,
-0.05339929834008217,
-0.0029388614930212498,
-0.0021075953263789415,
0.0022015643771737814,
0.012185019440948963,
0.01667075790464878,
-0.018405575305223465,
0.022073471918702126,
0.029855363070964813,
-0.025757892057299614,
0.023428281769156456,
0.0006526213837787509,
0.06744305044412613,
0.005625761579722166,
0.0820155069231987,
-0.031094517558813095,
-0.01980995014309883,
-0.03826509043574333,
0.09080523997545242,
0.022486522793769836,
0.009103654883801937,
0.015662912279367447,
-0.05938028171658516,
-0.03238323703408241,
-0.01855427399277687,
-0.013738092966377735,
-0.06106553226709366,
-0.04256082698702812,
-0.00850060023367405,
0.060272473841905594,
0.0016986742848530412,
-0.0184551402926445,
-0.005691849626600742,
-0.012771552428603172,
0.08902085572481155,
-0.000603055173996836,
-0.013490261510014534,
0.018091656267642975,
-0.002705487422645092,
-0.01888471469283104,
0.04308953136205673,
0.05211057513952255,
0.059842899441719055,
-0.033523257821798325,
0.016332056373357773,
-0.026666603982448578,
0.010466724634170532,
-0.022635221481323242,
0.012978077866137028,
-0.05366365239024162,
-0.008215594105422497,
0.043651282787323,
-0.004227581899613142,
0.021412590518593788,
0.05604282766580582,
-0.08657559752464294,
-0.024204818531870842,
0.018802104517817497,
-0.04794701933860779,
-0.022486522793769836,
-0.04417998716235161,
-0.024353517219424248,
0.05809156224131584,
0.0025216795038431883,
0.018521228805184364,
0.11162303388118744,
0.01484507042914629,
-0.07791803777217865,
0.021247368305921555,
0.058355916291475296,
-0.005869461689144373,
-0.008657559752464294,
-0.03230062872171402,
-0.03482850268483162,
0.0320858396589756,
0.006935134530067444,
0.003071037819609046,
0.03223453834652901,
-0.007802542764693499,
-0.05204448848962784,
-0.002412220695987344,
-0.020586486905813217,
0.043155621737241745,
-0.008186680264770985,
0.01537377666682005,
0.03816595673561096,
-0.020850839093327522,
-0.012994600459933281,
-0.01039237529039383,
0.014960724860429764,
0.054787151515483856,
-0.06020638719201088,
0.013465479016304016,
0.013159820809960365,
-0.06711260974407196,
0.045369576662778854,
-0.01064020674675703,
-0.03866162151098251,
-0.0317058339715004,
-0.02390742115676403,
0.010301504284143448,
-0.06717869639396667,
0.022916097193956375,
0.07117703557014465,
0.03443197160959244,
-0.06833524256944656,
-0.009640621952712536,
0.04897138476371765,
-0.004923573695123196,
0.011449787765741348,
0.0385955311357975,
0.03995034098625183,
-0.005258145742118359,
-0.05759590119123459,
0.004663351457566023,
0.02539440616965294,
-0.023114362731575966,
0.030268413946032524,
-0.0242378618568182,
0.08294074237346649,
0.008566687814891338,
-0.08611297607421875,
0.0025443972554057837,
0.025675281882286072,
0.05234188586473465,
0.04616263508796692,
-0.011912405490875244,
-0.009995846077799797,
0.013242430984973907,
-0.06169337034225464,
-0.03453110530972481,
0.05244101956486702,
-0.0035460470244288445,
-0.013696787878870964,
0.011367177590727806,
-0.08128853142261505,
-0.020057780668139458,
-0.00739775225520134,
0.00770754087716341,
0.015200295485556126,
-0.017496861517429352,
-0.026038765907287598,
-0.07897544652223587,
-0.021230846643447876,
0.003192888107150793,
-0.007740585133433342,
-0.028797950595617294,
-0.015572041273117065,
0.002476243767887354,
-0.05442366376519203,
-0.019578641280531883,
0.07150747627019882,
0.026815302670001984,
-0.009921496734023094,
-0.020536920055747032,
0.0421973392367363,
-0.009764537215232849,
0.01624944619834423,
0.020586486905813217,
0.025410927832126617,
0.002063192194327712,
-0.029425788670778275,
-0.012341978959739208,
-0.03961990028619766,
0.03585287183523178,
-0.016125530004501343,
-0.030483201146125793,
-0.026402251794934273,
-0.01678641326725483,
-0.04867398738861084,
0.017232509329915047,
0.04193298891186714,
0.015348993241786957,
-0.027228355407714844,
0.011788489297032356,
-0.021164758130908012,
-0.035092856734991074,
0.0631803572177887,
0.007893414236605167,
-0.006489038933068514,
-0.013539828360080719,
-0.06549344211816788,
0.0024060250725597143,
-0.05779416486620903,
-0.03482850268483162,
0.013391129672527313,
-0.00854190532118082,
0.026352684944868088,
-0.033936310559511185,
-0.0001785156928235665,
0.022387390956282616,
0.0005457443185150623,
-0.024981355294585228,
-0.023246537894010544,
0.08366771042346954,
0.04206516593694687,
0.03261454775929451,
-0.028070980682969093,
0.029029259458184242,
0.03129278123378754,
-0.04708787053823471,
0.0024473301600664854,
0.05402713641524315,
-0.02508048713207245,
-0.038430310785770416,
-0.00018187174282502383,
-0.03304411843419075,
-0.030384067445993423,
-0.09463836252689362,
-0.007406013552099466,
0.03598504513502121,
0.018124699592590332,
0.00369887612760067,
0.013812442310154438,
0.04160254821181297,
0.02841794304549694,
-0.040743399411439896,
-0.041172973811626434,
0.043056488037109375,
-0.04794701933860779,
-0.08214768022298813,
0.027112700045108795,
0.035092856734991074,
0.08049547672271729,
-0.012490677647292614,
-0.002170585561543703,
-0.0673108696937561,
-0.05296972393989563,
-0.04784788563847542,
-0.016654236242175102,
-0.015010291710495949,
0.014192449860274792,
0.04246169328689575,
-0.03084668517112732,
-0.036150265485048294,
0.012094147503376007,
0.046526119112968445,
0.00721187936142087,
-0.057100240141153336,
-0.03839726746082306,
0.007827325724065304,
0.039157282561063766,
-0.025427449494600296,
-0.011367177590727806,
-0.05845504626631737,
-0.008897129446268082,
0.029343178495764732,
-0.01090455986559391,
-0.0017854151083156466,
-0.004531174898147583,
-0.021858684718608856,
0.005076402798295021,
-0.01357287261635065,
0.05918201804161072,
0.05006184056401253,
-0.020487355068325996,
0.04781484231352806,
0.02704661153256893,
-0.006402298342436552,
0.023758722469210625,
-0.028285766020417213,
-0.06347775459289551,
0.04943400248885155,
0.0016491081332787871,
0.0545227974653244,
0.017447294667363167,
-0.005749676842242479,
0.052077531814575195,
-0.00012068848445778713,
0.027938803657889366,
-0.0073729692958295345,
0.05716632679104805,
-0.01710033230483532,
0.010921081528067589,
-0.007827325724065304,
0.06255251914262772,
-0.07884327322244644,
-0.005192057229578495,
0.03661288321018219,
-0.020272567868232727,
0.012341978959739208,
0.03182148560881615,
0.020057780668139458,
0.05336625501513481,
-0.020223001018166542,
0.06433690339326859,
-0.006117292679846287,
-0.03124321438372135,
0.004411390051245689,
-0.01448158547282219,
-0.01900036819279194,
-0.0000908713263925165,
0.025212664157152176,
0.047583531588315964,
-0.10012368112802505,
0.022883053869009018,
0.00618751160800457,
-0.07302750647068024,
-0.017017722129821777,
0.01761251501739025,
0.046294812113046646,
-0.002393633360043168,
-0.06479951739311218,
-0.005910766776651144,
-0.035720694810152054,
-0.004103666637092829,
0.02023952268064022,
-0.017595993354916573,
0.021263891831040382,
-0.007856239564716816,
-0.026534428820014,
0.010508029721677303,
-0.04748440161347389,
-0.01928124390542507,
0.011838056147098541,
-0.01059064082801342,
-0.013473739847540855,
-0.052705369889736176,
-0.04113993048667908,
0.004299866035580635,
-0.028897082433104515,
0.001682152273133397,
-0.027211831882596016,
0.03988425433635712,
0.021627375856041908,
-0.0067699141800403595,
0.016522059217095375,
0.0021416719537228346,
-0.0008534676744602621,
0.02180911973118782,
0.025658758357167244,
0.023114362731575966,
0.03453110530972481,
0.052077531814575195,
-0.002335806144401431,
0.002639399142935872,
0.017959479242563248,
-0.004047904629260302,
-0.005857070442289114,
-0.006588171236217022,
-0.043783459812402725,
0.049467045813798904,
-0.028913604095578194,
0.02047083154320717,
0.0033333254978060722,
-0.037505075335502625,
0.04394868016242981,
-0.009384529665112495,
-0.00650143064558506,
-0.025245707482099533,
-0.0680048018693924,
-0.070450060069561,
0.008632776327431202,
0.0249648317694664,
-0.0728292390704155,
-0.023643067106604576,
-0.02757531777024269,
-0.07038397341966629,
0.02896317094564438,
-0.004762483760714531,
0.009979324415326118,
-0.028450986370444298,
-0.019033413380384445,
-0.001179262064397335,
-0.038430310785770416,
0.040115561336278915,
0.011515875346958637,
-0.06906221061944962,
-0.0272613987326622,
0.029706664383411407,
-0.03856248781085014,
-0.01390331331640482,
0.059842899441719055,
0.01185457780957222,
-0.002021887106820941,
0.06132988631725311,
0.011350654996931553,
-0.05201144516468048,
0.0037443118635565042,
-0.025939634069800377,
-0.003529525129124522,
0.040280781686306,
0.008781475014984608,
0.015472909435629845,
-0.04596437141299248,
-0.035390254110097885,
0.016084225848317146,
-0.03542329743504524,
0.014027228578925133,
0.023659590631723404,
0.061924681067466736,
-0.008166028186678886,
0.03396935388445854,
-0.02369263395667076,
-0.004469217266887426,
-0.027410097420215607,
-0.042759090662002563,
0.020272567868232727,
-0.03145800158381462,
0.010004106909036636,
-0.02916143648326397,
0.0005271569825708866,
-0.011210218071937561,
0.06807088851928711,
-0.03684419393539429,
0.005117707885801792,
-0.017992522567510605,
-0.004361823666840792,
0.005208579357713461,
-0.0017203594325110316,
0.05660457909107208,
-0.003418001113459468,
0.024105684831738472,
0.0011420873925089836,
0.014357670210301876,
-0.005621630698442459,
0.020636053755879402,
-0.06496474146842957,
0.010053673759102821,
0.03773638606071472,
0.001882482203654945,
0.006286643911153078,
0.013068949803709984,
0.010896298103034496,
-0.01918211206793785,
0.02843446470797062,
0.004935965407639742,
-0.03515894338488579,
0.016860762611031532,
0.04100775346159935,
0.003506807144731283,
-0.025113530457019806,
0.016323795542120934,
0.0076455832459032536,
0.023312626406550407,
0.049235738813877106,
0.027443140745162964,
-0.02893012762069702,
-0.04854181036353111,
-0.0434199720621109,
0.04513826593756676,
0.03598504513502121,
-0.013919835910201073,
-0.00548119330778718,
-0.002180911833420396,
-0.016505537554621696,
-0.04467564821243286,
-0.010664989240467548,
-0.008566687814891338,
-0.002342002000659704,
0.016637714579701424,
0.010797166265547276,
-0.030284935608506203,
-0.027922281995415688,
-0.001965092495083809,
-0.04963226616382599,
0.025675281882286072,
-0.048707034438848495,
0.009301919490098953,
-0.013828963972628117,
-0.1418253630399704,
-0.009591056033968925,
-0.0761997401714325,
-0.00912843830883503,
0.034960679709911346,
-0.029508398845791817,
-0.020702140405774117,
-0.03985120728611946,
-0.12490677088499069,
0.010161066427826881,
0.009004523046314716,
0.06529518216848373,
-0.008682342246174812,
-0.022684788331389427,
-0.002746792510151863,
0.022106515243649483,
0.042759090662002563,
-0.03127625957131386,
-0.010111500509083271,
-0.017695127055048943,
-0.0858486220240593,
0.027344008907675743,
0.018736016005277634,
0.023345671594142914,
-0.05693501979112625,
0.038760751485824585,
-0.019661251455545425,
-0.01095412578433752,
0.03975207731127739,
0.031408436596393585,
0.00623707752674818,
0.007422535214573145,
-0.003013210603967309,
0.044840872287750244,
-0.023362193256616592,
0.011408482678234577,
0.08710429817438126,
-0.047054827213287354,
-0.005828156601637602,
0.043353885412216187,
0.043353885412216187,
0.04133819416165352,
0.0335397832095623,
-0.03866162151098251,
0.004299866035580635,
0.0002994623500853777,
-0.06020638719201088,
-0.030251892283558846,
0.03684419393539429,
0.0184551402926445,
0.0115819638594985,
-0.020702140405774117,
0.0639403685927391,
0.010797166265547276,
-0.00011391186126274988,
0.06780653446912766,
0.02275087684392929,
-0.006332079414278269,
0.008533643558621407,
0.03595200181007385,
0.02536136284470558,
0.02706313505768776,
0.03955380991101265,
0.017562950029969215,
0.04741831123828888,
0.08023112267255783,
-0.0499296635389328,
0.0225526113063097,
0.04685656353831291,
-0.026534428820014,
-0.04698873683810234,
-0.05928115174174309,
0.0019175915513187647,
-0.010268460027873516,
0.010441942140460014,
-0.014820287935435772,
0.04936791583895683,
0.015076379291713238,
0.06565866619348526
] |
5,698 | simple_di | get |
get the value of this provider
| def get(self) -> VT:
"""
get the value of this provider
"""
if not isinstance(self._override, _SentinelClass):
return self._override
return self._provide()
| (self) -> ~VT | [
0.07892747223377228,
-0.09756863117218018,
0.050271645188331604,
0.011741618625819683,
0.02850709669291973,
-0.02072341926395893,
0.05007333308458328,
-0.061211757361888885,
0.07601892203092575,
-0.01598876155912876,
-0.0046561588533222675,
-0.014245284721255302,
-0.02814352698624134,
0.0018550269305706024,
-0.033216964453458786,
0.046107128262519836,
-0.029548224061727524,
-0.003265921724960208,
0.06607035547494888,
-0.007634943816810846,
0.005453531164675951,
0.0204590056091547,
0.00652358029037714,
-0.06286434084177017,
-0.006184800527989864,
0.008585180155932903,
0.02483835630118847,
-0.03209320455789566,
0.03883575275540352,
-0.01222913060337305,
-0.06699580699205399,
-0.05225474759936333,
-0.015278150327503681,
0.005077568348497152,
0.038273874670267105,
-0.025862960144877434,
-0.03320043906569481,
0.07568840682506561,
-0.03962899371981621,
0.0069284639321267605,
-0.0595591738820076,
-0.04095106199383736,
0.02792869135737419,
-0.06074903532862663,
-0.010568282566964626,
0.014038711786270142,
0.054634470492601395,
0.013567725196480751,
0.030077051371335983,
-0.0137825608253479,
0.050536058843135834,
0.0204590056091547,
-0.008510814048349857,
0.001012208522297442,
-0.03655518591403961,
0.024854881688952446,
0.03761284053325653,
0.05397343635559082,
-0.03430766984820366,
0.11673862487077713,
-0.011931665241718292,
-0.005416348110884428,
0.0013664814177900553,
-0.032952550798654556,
0.0058914665132761,
-0.017137309536337852,
-0.002708174055442214,
0.013509884476661682,
-0.00017829846183303744,
0.07780371606349945,
0.010568282566964626,
-0.06788820028305054,
-0.061343964189291,
0.037745047360658646,
0.05959222465753555,
-0.016327543184161186,
-0.04673511162400246,
-0.03705096244812012,
0.05797269195318222,
-0.011865561828017235,
0.0161044429987669,
0.017219938337802887,
0.009147059172391891,
0.0032370013650506735,
0.02361544407904148,
0.0026069532614201307,
-0.02725113183259964,
-0.04961061105132103,
0.04286806285381317,
0.06296350061893463,
-0.03900101035833359,
0.05724555253982544,
-0.00873391330242157,
0.027598174288868904,
0.029068974778056145,
-0.028920242562890053,
0.03239067271351814,
-0.007163957227021456,
0.023813754320144653,
0.015542563982307911,
0.047858867794275284,
0.0737714096903801,
0.04541304334998131,
0.03161395713686943,
0.02103741094470024,
-0.0024499576538801193,
0.01893862709403038,
0.05162676423788071,
0.01761655882000923,
0.025912536308169365,
0.017980128526687622,
-0.00072352250572294,
-0.05073436722159386,
0.03592720255255699,
-0.03771199658513069,
-0.003926955629140139,
-0.05440310761332512,
0.0164597500115633,
0.016162283718585968,
0.025862960144877434,
-0.0533454529941082,
0.03300212696194649,
-0.05430395156145096,
-0.026606623083353043,
0.008932223543524742,
-0.006597946863621473,
0.006217852234840393,
-0.020078910514712334,
0.01898820511996746,
0.001451176474802196,
0.04224007949233055,
-0.001328265410847962,
-0.035596687346696854,
0.007614286616444588,
0.026755355298519135,
0.02173149585723877,
0.05040385201573372,
0.04114937409758568,
-0.0019097687909379601,
0.05932781100273132,
-0.03886880353093147,
0.02715197578072548,
0.008295978419482708,
-0.0282426830381155,
0.011072320863604546,
0.003943481482565403,
0.024210374802350998,
0.05903034657239914,
-0.010874010622501373,
-0.024375632405281067,
0.01278274692595005,
0.01070875208824873,
0.019318722188472748,
0.046801213175058365,
-0.034439876675605774,
0.009031378664076328,
-0.01683984324336052,
0.0018261066870763898,
-0.013749509118497372,
-0.04587576538324356,
-0.0042636701837182045,
-0.02708587236702442,
0.017814869061112404,
-0.03529922291636467,
0.021020883694291115,
0.07515957951545715,
-0.01404697448015213,
0.0027329628355801105,
0.04409097507596016,
0.03529922291636467,
-0.05582433193922043,
-0.0164597500115633,
-0.04471895843744278,
0.008221611380577087,
0.03972814977169037,
0.09261088073253632,
-0.000745212659239769,
0.011931665241718292,
0.045115578919649124,
0.035167016088962555,
-0.018079282715916634,
-0.02898634597659111,
-0.0609142929315567,
-0.01357598789036274,
0.01961618661880493,
0.021169617772102356,
0.06699580699205399,
-0.0271023977547884,
-0.03414241224527359,
0.012435704469680786,
-0.018591584637761116,
-0.00019908488320652395,
0.043529096990823746,
0.023582391440868378,
-0.02115309052169323,
0.0043380362913012505,
-0.0161044429987669,
0.021400978788733482,
-0.06544237583875656,
0.07773760706186295,
-0.02768080309033394,
-0.007163957227021456,
-0.007692784536629915,
-0.0015389700420200825,
-0.028540147468447685,
-0.00019908488320652395,
0.06914416700601578,
-0.02419384755194187,
-0.052320849150419235,
-0.006564895156770945,
-0.03523311764001846,
0.001961412141099572,
-0.013509884476661682,
0.026788407936692238,
0.026656201109290123,
-0.048057179898023605,
0.01538556907325983,
-0.011815984733402729,
-0.03850523754954338,
0.07311037182807922,
0.07000350952148438,
-0.07403582334518433,
0.011741618625819683,
0.04171125218272209,
0.035596687346696854,
-0.013171104714274406,
-0.01412960421293974,
-0.0764816477894783,
-0.01725299097597599,
-0.05040385201573372,
-0.0072837695479393005,
0.038373030722141266,
0.02568117529153824,
0.013038897886872292,
0.011477204971015453,
-0.0029581275302916765,
0.04346299171447754,
0.022706521674990654,
-0.07727488875389099,
0.07476295530796051,
-0.019847549498081207,
0.062368568032979965,
0.010659174993634224,
0.08765312284231186,
-0.01589787006378174,
0.031960997730493546,
-0.022970935329794884,
0.06673139333724976,
0.03224193677306175,
0.01703815348446369,
0.0746968537569046,
-0.03404325619339943,
-0.011906877160072327,
0.01097316574305296,
0.023747650906443596,
-0.05860067158937454,
-0.035431429743766785,
0.0020161541178822517,
0.05701419338583946,
-0.008068747818470001,
-0.04233923554420471,
0.000757090630941093,
-0.0037079881876707077,
0.06940858066082001,
-0.03546448051929474,
0.001777562079951167,
0.014427069574594498,
0.006019541993737221,
0.01509636640548706,
0.039959512650966644,
-0.011444153264164925,
0.02850709669291973,
-0.03579499572515488,
-0.00487925810739398,
-0.012609225697815418,
-0.04081885516643524,
-0.022425582632422447,
0.023284927010536194,
-0.029862215742468834,
-0.03250635042786598,
0.009304055012762547,
0.03035799041390419,
0.020277220755815506,
0.009403210133314133,
-0.05992273986339569,
-0.019318722188472748,
0.014402280561625957,
-0.03440682590007782,
-0.007329215761274099,
-0.03288644552230835,
-0.01022950280457735,
-0.007903489284217358,
-0.029977897182106972,
-0.02050858363509178,
0.0862649530172348,
-0.030209258198738098,
-0.07753930240869522,
0.027069346979260445,
0.013212419115006924,
0.009576731361448765,
0.02982916310429573,
-0.048751264810562134,
-0.09584994614124298,
0.05519634857773781,
0.030903344973921776,
0.04461980238556862,
0.056485366076231,
-0.01668284833431244,
-0.018393274396657944,
0.03030841425061226,
-0.011378049850463867,
0.026375260204076767,
-0.015220310539007187,
-0.007767150644212961,
0.01589787006378174,
-0.035596687346696854,
-0.01756698079407215,
0.019401350989937782,
0.018806420266628265,
0.0515606589615345,
-0.04633849114179611,
0.014608853496611118,
-0.01788097247481346,
0.007329215761274099,
0.02067384123802185,
0.0291020255535841,
-0.052684418857097626,
0.03430766984820366,
-0.04851990193128586,
-0.01951703242957592,
-0.06683054566383362,
-0.03576194494962692,
0.017963601276278496,
0.03235761821269989,
-0.026424838230013847,
0.00652358029037714,
0.045644406229257584,
-0.009799830615520477,
0.019583135843276978,
-0.023235348984599113,
0.030424093827605247,
-0.012187816202640533,
-0.07092896103858948,
0.00514367176219821,
-0.005850151646882296,
0.012196078896522522,
0.03586110100150108,
-0.011188002303242683,
0.0657728910446167,
0.01207213569432497,
-0.053114090114831924,
-0.06521101295948029,
0.05476667732000351,
0.016129232943058014,
0.06471523642539978,
-0.044487595558166504,
-0.0014088288880884647,
-0.01819496415555477,
-0.005610527005046606,
-0.02898634597659111,
0.01973186805844307,
-0.007626681122928858,
-0.007858042605221272,
0.0364229790866375,
-0.06821872293949127,
0.0006145551451481879,
-0.02845751866698265,
0.00590386101976037,
0.020657315850257874,
-0.04402486979961395,
-0.03235761821269989,
-0.04980891942977905,
-0.008200954645872116,
-0.016005288809537888,
0.03189489617943764,
-0.02604474313557148,
-0.0493461973965168,
0.012642277404665947,
-0.029597802087664604,
0.011741618625819683,
0.060319360345602036,
0.0404222346842289,
-0.04984197020530701,
0.015005473978817463,
0.03797641023993492,
-0.004833811894059181,
0.009427999146282673,
0.003753434168174863,
0.02604474313557148,
-0.01631101593375206,
-0.03761284053325653,
-0.01988060027360916,
-0.043793510645627975,
-0.007403581868857145,
-0.023698072880506516,
-0.046107128262519836,
-0.05308103933930397,
-0.046272385865449905,
0.0255654938519001,
0.011791195720434189,
0.053742073476314545,
0.043066371232271194,
0.05661757290363312,
0.006581421010196209,
-0.021053936332464218,
-0.08064615726470947,
0.061476171016693115,
-0.007378793321549892,
-0.012361337430775166,
-0.04025697708129883,
-0.09915511310100555,
-0.004003387875854969,
-0.0251027699559927,
-0.07086285948753357,
0.028556672856211662,
-0.025978639721870422,
0.03850523754954338,
0.017583508044481277,
0.009898985736072063,
0.008907434530556202,
-0.05813794955611229,
-0.034274619072675705,
-0.026904087513685226,
0.025796856731176376,
0.01441880688071251,
0.02173149585723877,
-0.02483835630118847,
-0.011303682811558247,
-0.01683158054947853,
0.012683591805398464,
0.044586751610040665,
-0.0092296889051795,
-0.0010302836308255792,
-0.005048647988587618,
0.0033423537388443947,
-0.04366130381822586,
-0.02146708220243454,
-0.061905842274427414,
-0.03523311764001846,
0.016658060252666473,
-0.032952550798654556,
0.012890164740383625,
0.008824805729091167,
0.07601892203092575,
0.005011464934796095,
-0.053213246166706085,
-0.046206284314394,
0.014162655919790268,
0.022177694365382195,
-0.0888429805636406,
-0.02609432116150856,
-0.021334875375032425,
0.04197566583752632,
0.049379248172044754,
0.020888676866889,
-0.038802701979875565,
-0.06345927715301514,
-0.06973909586668015,
0.0029973764903843403,
-0.017864447087049484,
-0.029267285019159317,
0.019797971472144127,
-0.029597802087664604,
-0.0315643772482872,
-0.006081513594835997,
0.00994856283068657,
0.01751740463078022,
-0.039166271686553955,
-0.06521101295948029,
-0.017087731510400772,
0.036224670708179474,
-0.03387799859046936,
-0.021318349987268448,
-0.048321593552827835,
-0.04339689016342163,
0.012981057167053223,
-0.020492056384682655,
0.000041153245547320694,
-0.029498646035790443,
-0.03457208350300789,
-0.0246730986982584,
0.049213990569114685,
0.0471317321062088,
0.00009954244160326198,
-0.005098225548863411,
0.007151562720537186,
0.0015668574487790465,
0.028953293338418007,
0.04580966383218765,
0.006329401396214962,
-0.028688879683613777,
0.08289367705583572,
-0.010923588648438454,
0.023979011923074722,
-0.017699187621474266,
0.006622735410928726,
0.05532855540513992,
-0.0317792147397995,
0.05288272723555565,
0.003546861233189702,
0.024755727499723434,
-0.00742010772228241,
0.024441735818982124,
-0.005313061643391848,
0.0329195000231266,
-0.14529529213905334,
-0.017451301217079163,
0.039331529289484024,
0.012749695219099522,
0.025962114334106445,
0.06759073585271835,
0.02035984955728054,
0.044322337955236435,
-0.02898634597659111,
0.009692412801086903,
-0.016129232943058014,
-0.006593815051019192,
-0.02078952267765999,
-0.006742547731846571,
0.020872151479125023,
0.01867421343922615,
0.012344812043011189,
0.029068974778056145,
-0.029316863045096397,
-0.004461980424821377,
0.01756698079407215,
-0.047164782881736755,
-0.014955896884202957,
-0.020657315850257874,
0.04055444151163101,
-0.005548554938286543,
-0.06296350061893463,
-0.026904087513685226,
0.00013698382826987654,
0.024606995284557343,
-0.011568096466362476,
-0.056683674454689026,
0.02325187437236309,
-0.009246214292943478,
-0.0422070287168026,
0.03341527283191681,
-0.05314714089035988,
-0.021285297349095345,
0.055427711457014084,
0.016864633187651634,
-0.055262450128793716,
-0.05608874559402466,
0.0010659175459295511,
0.0012456361437216401,
-0.033745791763067245,
0.009295792318880558,
-0.03539837524294853,
0.053213246166706085,
-0.036852650344371796,
-0.01384040154516697,
-0.004371087998151779,
-0.024012064561247826,
0.043991819024086,
0.02252473682165146,
0.0542047955095768,
0.032803818583488464,
0.015162469819188118,
0.0670619085431099,
0.03486954793334007,
0.01404697448015213,
-0.00371625111438334,
-0.04098411276936531,
0.019913652911782265,
0.028440993279218674,
-0.04187650978565216,
0.04346299171447754,
-0.03278729319572449,
0.005920386873185635,
0.04362824931740761,
-0.01915346272289753,
0.0889090895652771,
-0.005383296404033899,
0.026325684040784836,
-0.029135078191757202,
-0.05886508524417877,
-0.03182879090309143,
0.005242826882749796,
0.022425582632422447,
-0.06554152816534042,
-0.04309942200779915,
-0.031184284016489983,
-0.048850420862436295,
0.049114834517240524,
-0.028077423572540283,
0.04207482188940048,
-0.03797641023993492,
0.008692598901689053,
-0.03952983766794205,
-0.01386519055813551,
0.06914416700601578,
-0.0020347456447780132,
-0.024441735818982124,
-0.013212419115006924,
0.014220496639609337,
-0.03447292745113373,
-0.014608853496611118,
0.061112601310014725,
0.012129975482821465,
-0.002299159299582243,
0.0671280100941658,
-0.041909560561180115,
-0.03744758293032646,
-0.025218451395630836,
-0.005036253482103348,
-0.024276478216052055,
0.03718316927552223,
-0.007961329072713852,
0.0035200065467506647,
0.012981057167053223,
0.022442108020186424,
0.03919932246208191,
-0.022425582632422447,
-0.004999070428311825,
-0.05351071059703827,
-0.0006946022622287273,
-0.011006217449903488,
0.04204176738858223,
-0.036224670708179474,
-0.0069656469859182835,
-0.015484724193811417,
-0.04928009212017059,
0.015269887633621693,
-0.01457580178976059,
-0.02004585973918438,
-0.021367928013205528,
0.011667251586914062,
0.011683777906000614,
0.05443615838885307,
-0.019269144162535667,
-0.006771468091756105,
0.015707822516560555,
0.023450184613466263,
0.0026751223485916853,
-0.015798715874552727,
0.02515234798192978,
-0.00010277014371240512,
0.025168873369693756,
0.006730153691023588,
0.04614017903804779,
-0.045479144901037216,
-0.015178995206952095,
-0.029399491846561432,
0.023896383121609688,
0.003912495449185371,
-0.004086017142981291,
-0.017352145165205002,
-0.00514367176219821,
0.001725918729789555,
-0.001682538422755897,
-0.005548554938286543,
-0.059691380709409714,
0.05251916125416756,
0.0604846216738224,
0.0315643772482872,
-0.019814496859908104,
-0.07991902530193329,
0.029796112328767776,
-0.029135078191757202,
0.0019108017440885305,
0.05744386464357376,
0.02278915047645569,
-0.04362824931740761,
-0.011865561828017235,
0.03120080940425396,
-0.0021421636920422316,
0.046371541917324066,
-0.021285297349095345,
-0.058171000331640244,
-0.026557045057415962,
-0.05146150663495064,
-0.09287529438734055,
-0.009618046693503857,
-0.024226900190114975,
0.026028217747807503,
0.02230990119278431,
0.007986118085682392,
0.008717386983335018,
-0.01173335500061512,
0.05499803647398949,
-0.03526616841554642,
0.0137825608253479,
0.007209403440356255,
-0.017401723191142082,
0.0015234770253300667,
-0.09796525537967682,
-0.03493565320968628,
-0.08930570632219315,
-0.014980684965848923,
0.03797641023993492,
-0.01683158054947853,
-0.038802701979875565,
-0.038703545928001404,
-0.07515957951545715,
-0.041744302958250046,
0.033911049365997314,
0.012691854499280453,
0.00875870231539011,
-0.013485095463693142,
-0.04554525017738342,
0.04055444151163101,
0.03387799859046936,
0.03262203186750412,
-0.04071969911456108,
-0.0021359664388000965,
-0.03430766984820366,
0.028854139149188995,
0.042273130267858505,
0.016327543184161186,
-0.0533454529941082,
0.011898613534867764,
0.019351772964000702,
-0.06696275621652603,
0.021334875375032425,
-0.01202255766838789,
0.06359148025512695,
-0.01228697132319212,
-0.02457394264638424,
0.020905204117298126,
-0.008312503807246685,
0.04015782102942467,
0.09029725939035416,
-0.027895638719201088,
-0.01763308420777321,
-0.011948191560804844,
0.05496498569846153,
0.0422070287168026,
0.01307194959372282,
0.000745212659239769,
0.00024956619017757475,
0.02330145239830017,
-0.04604102671146393,
-0.03247329965233803,
0.03751368448138237,
-0.013105001300573349,
0.0109979547560215,
-0.0003563386853784323,
0.03629077225923538,
0.023846805095672607,
0.014427069574594498,
0.03239067271351814,
0.0329195000231266,
-0.0019676093943417072,
0.01202255766838789,
0.018244542181491852,
0.02221074514091015,
-0.0003212212468497455,
0.04349604249000549,
0.03440682590007782,
0.021500134840607643,
0.06402115523815155,
-0.061839740723371506,
-0.0045693982392549515,
0.011658988893032074,
0.014898056164383888,
0.017434773966670036,
-0.03510091081261635,
0.008064616471529007,
-0.03586110100150108,
0.03004400059580803,
-0.015137680806219578,
0.02751554548740387,
-0.0002227116929134354,
0.028953293338418007
] |
5,700 | simple_di | reset |
remove the overriding and restore the original value
| def reset(self) -> None:
"""
remove the overriding and restore the original value
"""
self._override = sentinel
| (self) -> NoneType | [
0.005480397492647171,
0.0053003691136837006,
0.06239866092801094,
0.028385864570736885,
-0.08433699607849121,
-0.039221059530973434,
-0.05171418935060501,
0.03416351601481438,
0.07026966661214828,
-0.0327400378882885,
-0.044077638536691666,
-0.023345069959759712,
-0.022022072225809097,
0.02381398156285286,
-0.056570764631032944,
0.03243859484791756,
0.01726597361266613,
0.02373024821281433,
0.027649004012346268,
-0.01863921247422695,
0.01959378272294998,
0.030797407031059265,
-0.0011199438013136387,
0.010826820507645607,
-0.014653469435870647,
0.0004683877050410956,
-0.04826434329152107,
-0.04049381613731384,
0.020045947283506393,
0.0018055167747661471,
-0.01622767187654972,
-0.03416351601481438,
0.014938165433704853,
0.0242326520383358,
0.06229817867279053,
-0.08567674458026886,
-0.022876160219311714,
0.08996392786502838,
-0.029507901519536972,
0.036039162427186966,
0.009562435559928417,
-0.03958948701620102,
0.008792081847786903,
-0.04062779247760773,
-0.007573750335723162,
0.042135003954172134,
0.07348505407571793,
0.024869032204151154,
0.015532677993178368,
-0.0014161531580612063,
0.026627447456121445,
0.03220413997769356,
-0.00003450761141721159,
0.02645997889339924,
-0.039522502571344376,
0.04250343516469002,
0.051044315099716187,
0.0006295758648775518,
-0.03831673040986061,
0.05784352496266365,
-0.006669422145932913,
0.022574717178940773,
-0.025203967466950417,
-0.10349535942077637,
0.009118644520640373,
-0.030027052387595177,
-0.0159597210586071,
0.020464617758989334,
0.01994546502828598,
0.01837126351892948,
-0.036575060337781906,
-0.006874570623040199,
-0.013673780485987663,
0.0175339225679636,
0.026845157146453857,
-0.001075983396731317,
-0.01416781172156334,
0.0379817932844162,
0.015239608474075794,
-0.07308313250541687,
0.024718310683965683,
0.05221659317612648,
-0.009545688517391682,
0.06926485896110535,
-0.020045947283506393,
-0.01634489931166172,
0.03473290801048279,
0.03928804397583008,
0.06856149435043335,
-0.0032970306929200888,
0.005392476916313171,
0.04712555930018425,
-0.0023445552214980125,
-0.008189195767045021,
0.02875429391860962,
0.02806767448782921,
-0.0033116841223090887,
-0.019007643684744835,
0.02051485702395439,
-0.09271040558815002,
-0.015783879905939102,
0.053924769163131714,
0.030680179595947266,
-0.00031923630740493536,
0.0020106653682887554,
-0.012627104297280312,
0.05218309909105301,
-0.02878778800368309,
0.010115080513060093,
0.03337641805410385,
-0.022105805575847626,
-0.012124699540436268,
-0.0638388842344284,
0.03217064589262009,
0.020581845194101334,
0.004088317975401878,
-0.06712126731872559,
0.0018902976298704743,
0.05781003087759018,
0.04069477692246437,
-0.015482437796890736,
0.022943146526813507,
-0.056570764631032944,
-0.017349708825349808,
0.04096272587776184,
-0.022842666134238243,
0.04347475245594978,
0.06819306313991547,
0.029306938871741295,
0.0016600288217887282,
-0.0030897888354957104,
0.007896127179265022,
-0.028302129358053207,
0.018706200644373894,
0.02354603260755539,
0.031484026461839676,
0.03690999746322632,
0.003512646071612835,
0.009294486604630947,
0.01703151874244213,
-0.011362719349563122,
-0.006003736052662134,
0.04957059398293495,
0.04692459478974342,
0.03647457808256149,
0.027649004012346268,
0.05348934978246689,
0.0384507030248642,
-0.05837942287325859,
-0.004370920825749636,
-0.030378736555576324,
0.02729731984436512,
-0.010039719752967358,
0.010659352876245975,
-0.03694349154829979,
0.057944007217884064,
-0.04236946254968643,
0.008545066229999065,
-0.06789162009954453,
-0.004580256063491106,
-0.01070121955126524,
-0.015515930950641632,
0.08641360700130463,
-0.07536070048809052,
-0.016411885619163513,
0.03406303748488426,
-0.010198814794421196,
-0.05158021301031113,
0.034397974610328674,
-0.013539806008338928,
-0.06025506556034088,
-0.04478100314736366,
0.0031295623630285263,
-0.006137710530310869,
0.047493986785411835,
0.1205771192908287,
-0.0028595200274139643,
-0.0172994676977396,
-0.04598677530884743,
0.06514514237642288,
0.009001417085528374,
-0.062231190502643585,
-0.03640759363770485,
-0.028436103835701942,
0.022792425006628036,
-0.030060546472668648,
-0.007100652903318405,
-0.010341162793338299,
0.002142546698451042,
0.008004981093108654,
0.017433442175388336,
0.013615166768431664,
0.0069541181437671185,
-0.01709013245999813,
0.029005495831370354,
-0.022608209401369095,
-0.032673049718141556,
-0.012476382777094841,
0.05456114932894707,
-0.03119933046400547,
-0.028201648965477943,
-0.004243226256221533,
0.03453194722533226,
-0.011170130223035812,
-0.0067573427222669125,
0.009897371754050255,
-0.01142970658838749,
-0.04414462298154831,
-0.07381999492645264,
0.007343481760472059,
-0.002809279365465045,
0.007682604715228081,
0.04685761034488678,
-0.016889169812202454,
0.020648831501603127,
-0.053388871252536774,
0.028436103835701942,
0.018974149599671364,
-0.03724493458867073,
0.059082791209220886,
0.04116369038820267,
-0.04246994107961655,
-0.02932368591427803,
-0.0297088623046875,
0.021151237189769745,
0.04313981533050537,
-0.011948857456445694,
-0.09639471024274826,
0.003933409694582224,
-0.0295916348695755,
-0.008486452512443066,
-0.033711355179548264,
-0.021268464624881744,
-0.045082446187734604,
0.08460494875907898,
0.057173650711774826,
-0.006715475581586361,
-0.035469770431518555,
-0.09271040558815002,
0.025287702679634094,
-0.055800411850214005,
0.015306595712900162,
0.054460667073726654,
0.0032300434540957212,
-0.004442094825208187,
0.05643679201602936,
0.010977542027831078,
0.04739350825548172,
0.004025517497211695,
-0.008490638807415962,
0.03078065998852253,
-0.03908708319067955,
-0.018019581213593483,
0.010877061635255814,
0.10074888169765472,
-0.03155101463198662,
-0.001339745824225247,
0.03690999746322632,
0.020732566714286804,
0.04491497948765755,
0.014142691157758236,
-0.03196968510746956,
-0.022976640611886978,
-0.0019865918438881636,
0.024098677560687065,
0.0672217458486557,
-0.004349987022578716,
0.02619202993810177,
-0.0007891940185800195,
0.015155874192714691,
0.0844709724187851,
-0.05995362624526024,
-0.02997681312263012,
-0.007900313474237919,
-0.0076072439551353455,
0.053690314292907715,
-0.04307282716035843,
0.0379817932844162,
-0.034397974610328674,
0.001945771393366158,
0.09163860976696014,
0.01479581743478775,
0.0486997589468956,
0.002926507266238332,
-0.029775850474834442,
0.03418026491999626,
-0.0176511500030756,
-0.037345413118600845,
-0.012417769059538841,
-0.0008938616374507546,
0.027079612016677856,
0.02913947030901909,
0.013941729441285133,
0.0035963801201432943,
0.05265200883150101,
-0.04528340697288513,
-0.027163345366716385,
0.011840003542602062,
-0.0018944842740893364,
0.02863706648349762,
-0.009235872887074947,
-0.045886293053627014,
-0.046489179134368896,
0.03409653156995773,
0.044814497232437134,
-0.00802172813564539,
0.04424510523676872,
0.005978615488857031,
0.04257042333483696,
0.004287186544388533,
0.004195079207420349,
0.027263827621936798,
-0.021301958709955215,
-0.05513054132461548,
0.03721144050359726,
-0.0435752309858799,
0.04464702680706978,
-0.022290021181106567,
0.010265802033245564,
0.04796290025115013,
-0.054527655243873596,
-0.036005668342113495,
-0.07160941511392593,
-0.019091377034783363,
-0.034247253090143204,
0.015214487910270691,
-0.05559945106506348,
0.08051872253417969,
-0.045685332268476486,
-0.008570186793804169,
-0.03155101463198662,
-0.060623496770858765,
-0.024869032204151154,
0.0377473384141922,
-0.034397974610328674,
-0.04655616730451584,
-0.015465690754354,
-0.028888268396258354,
0.024249399080872536,
-0.02917296439409256,
-0.004663989879190922,
0.01598484255373478,
-0.02247423492372036,
-0.049704570323228836,
0.03801528736948967,
0.06176228076219559,
0.04608725383877754,
-0.02572312019765377,
0.0538242869079113,
0.03690999746322632,
0.00895955041050911,
0.0034665921702980995,
0.034130025655031204,
-0.019459808245301247,
0.11220370978116989,
-0.05586740002036095,
-0.040828753262758255,
0.012911800295114517,
0.019928717985749245,
-0.06239866092801094,
-0.026995878666639328,
-0.013941729441285133,
-0.05121178179979324,
0.014226425439119339,
0.050776366144418716,
-0.025136981159448624,
-0.08594468981027603,
-0.006564754527062178,
-0.026125043630599976,
-0.03404628857970238,
-0.013950102962553501,
-0.12486431002616882,
-0.0329744927585125,
-0.05469512194395065,
0.04816386103630066,
-0.019476555287837982,
-0.05613534897565842,
0.036843009293079376,
0.020313896238803864,
0.0027381053660064936,
0.0665183812379837,
-0.00047676110989414155,
-0.03687650337815285,
-0.0004683877050410956,
-0.021034009754657745,
0.007243000902235508,
0.002457596128806472,
0.006857823580503464,
0.04468052089214325,
0.012509875930845737,
0.021301958709955215,
-0.03356063365936279,
0.02905573695898056,
-0.018655959516763687,
-0.0016715421807020903,
-0.001463253633119166,
-0.004990553017705679,
-0.028285382315516472,
-0.04437907785177231,
-0.018739694729447365,
0.027582015842199326,
0.04022586718201637,
-0.017935846000909805,
-0.001966704847291112,
0.023328322917222977,
0.00723462738096714,
0.005296182818710804,
-0.03938852623105049,
0.03593868017196655,
-0.05559945106506348,
-0.034933872520923615,
-0.022809172049164772,
0.002893013646826148,
-0.0382162481546402,
0.0813225731253624,
-0.02465132251381874,
0.039756957441568375,
-0.011052902787923813,
0.08654757589101791,
0.003183989552780986,
-0.04521641880273819,
0.04736001417040825,
-0.011689282022416592,
0.07093954086303711,
0.008942803367972374,
0.030613191425800323,
-0.023763740435242653,
-0.030177773907780647,
-0.04119718447327614,
0.019694263115525246,
0.023244589567184448,
-0.02840261161327362,
-0.007707724813371897,
0.040594298392534256,
-0.0005369450082071126,
-0.024065183475613594,
-0.021335450932383537,
-0.03513483330607414,
-0.04116369038820267,
0.02125171758234501,
0.02661070041358471,
-0.017617657780647278,
0.02691214345395565,
0.028235143050551414,
0.0535898320376873,
0.021804362535476685,
0.005760906729847193,
0.04478100314736366,
-0.014611602760851383,
-0.0012685718247666955,
-0.021603401750326157,
0.009930865839123726,
-0.01860572025179863,
-0.027883458882570267,
-0.04116369038820267,
-0.04545087739825249,
-0.04766145721077919,
-0.015708519145846367,
-0.036508072167634964,
-0.010508631356060505,
0.0000330030161421746,
0.0384507030248642,
-0.04585279896855354,
-0.022976640611886978,
0.028536586090922356,
0.05703967809677124,
0.011379465460777283,
-0.013447698205709457,
-0.0667528361082077,
-0.0018494771793484688,
-0.013096014969050884,
-0.09029886871576309,
-0.0348333902657032,
-0.049403127282857895,
-0.057944007217884064,
0.007887753657996655,
-0.007176013197749853,
0.006748969666659832,
0.0027339188382029533,
0.007820766419172287,
-0.0009378220420330763,
-0.0014486000873148441,
0.01479581743478775,
0.002056719036772847,
0.014117571525275707,
0.005836267489939928,
-0.009202378802001476,
-0.03247208893299103,
-0.00795055367052555,
0.03089788742363453,
-0.021117743104696274,
0.007636550813913345,
-0.07154242694377899,
-0.0035900999791920185,
0.03253907710313797,
-0.0021090528462082148,
0.0027108918875455856,
0.004806337878108025,
0.006560567766427994,
-0.10148574411869049,
-0.024215904995799065,
-0.036541566252708435,
-0.034247253090143204,
-0.0076909782364964485,
0.015917854383587837,
-0.05255153030157089,
-0.023244589567184448,
-0.00008464995335089043,
-0.03697698563337326,
0.00985550507903099,
0.013514685444533825,
-0.007356041576713324,
0.03560374304652214,
-0.008658107370138168,
0.001923791249282658,
-0.040795259177684784,
-0.03794829919934273,
-0.015917854383587837,
0.04504895210266113,
-0.025371436029672623,
-0.00805103499442339,
0.000606025627348572,
-0.01971101015806198,
-0.027364308014512062,
-0.008214316330850124,
-0.0015407076571136713,
-0.020732566714286804,
-0.011513440869748592,
0.0572071447968483,
-0.015758760273456573,
0.034397974610328674,
-0.015072139911353588,
0.015423823148012161,
0.05539849027991295,
0.027230333536863327,
0.02962512895464897,
0.0041825189255177975,
-0.06075747311115265,
0.011011036112904549,
-0.000726916769053787,
0.009260992519557476,
0.035469770431518555,
-0.014971659518778324,
0.030881140381097794,
-0.009361473843455315,
0.03217064589262009,
-0.03322569653391838,
0.017048265784978867,
-0.0061042169108986855,
0.007397908717393875,
-0.06584850698709488,
-0.03908708319067955,
0.04742700234055519,
-0.017550669610500336,
-0.034431468695402145,
-0.05281947925686836,
0.013020654208958149,
0.04424510523676872,
0.08118859678506851,
0.008055221289396286,
-0.00017505662981420755,
0.05228358134627342,
0.05298694595694542,
-0.049168672412633896,
0.04253692924976349,
0.009629422798752785,
-0.020682325586676598,
0.024333132430911064,
0.03818275406956673,
0.01675519533455372,
0.011454826220870018,
-0.018354518339037895,
0.023947956040501595,
0.02369675412774086,
-0.029692117124795914,
0.0706046000123024,
0.019777996465563774,
0.0007625037687830627,
-0.050977326929569244,
-0.04491497948765755,
-0.007795645855367184,
-0.021184731274843216,
-0.020916780456900597,
-0.12553417682647705,
-0.034431468695402145,
-0.008344104513525963,
-0.018521985039114952,
0.042402952909469604,
-0.017986087128520012,
-0.042402952909469604,
-0.061963241547346115,
0.07971487194299698,
-0.012066085822880268,
-0.05225008726119995,
-0.055331502109766006,
0.04277138411998749,
0.03794829919934273,
-0.046958088874816895,
0.0024806230794638395,
-0.0014308065874502063,
0.030445722863078117,
0.04283837229013443,
0.012744331732392311,
0.024400120601058006,
0.00004461458229343407,
-0.007984047755599022,
-0.03382858261466026,
0.01405058428645134,
0.03724493458867073,
0.029809344559907913,
-0.00720532052218914,
-0.023261336609721184,
0.02220628596842289,
-0.013464445248246193,
0.015381956472992897,
0.013020654208958149,
-0.0044044144451618195,
-0.036843009293079376,
-0.037881311029195786,
0.015038646757602692,
-0.04920216277241707,
0.010215561836957932,
-0.05131226405501366,
-0.02542167715728283,
-0.053120922297239304,
0.013690527528524399,
-0.049369633197784424,
0.04709206521511078,
-0.04524991288781166,
0.012685718014836311,
-0.00982201099395752,
-0.04685761034488678,
0.003914569970220327,
0.006033042911440134,
-0.020347388461232185,
0.009637796320021152,
-0.024165665730834007,
0.03287401422858238,
-0.005509704817086458,
-0.028888268396258354,
0.07134146243333817,
-0.005844641011208296,
0.054996564984321594,
0.010173694230616093,
-0.09733252972364426,
-0.04183356091380119,
-0.002424102509394288,
0.0065689412876963615,
-0.005735786631703377,
-0.026962384581565857,
-0.0318022146821022,
0.03200317919254303,
-0.010039719752967358,
0.013146255165338516,
-0.0259240809828043,
-0.02220628596842289,
0.032371606677770615,
0.00008962166612036526,
0.061661798506975174,
-0.012560117058455944,
-0.05593438819050789,
0.0404268279671669,
-0.017098505049943924,
0.031718481332063675,
0.09592580050230026,
0.02729731984436512,
-0.01196560449898243,
0.022976640611886978,
0.017785126343369484,
-0.0044546546414494514,
-0.02143593318760395,
-0.017600910738110542,
-0.045383889228105545,
-0.030562950298190117,
-0.01569177210330963,
-0.04813036695122719,
0.00982201099395752,
-0.014008716680109501,
0.010215561836957932,
0.02220628596842289,
-0.03861817345023155,
0.022490981966257095,
-0.027900205925107002,
-0.025907333940267563,
0.016378391534090042,
0.0750257670879364,
-0.037110958248376846,
0.0056101856753230095,
0.011253864504396915,
-0.015666652470827103,
0.0063512325286865234,
-0.05757557600736618,
0.0159597210586071,
0.026845157146453857,
-0.05013998597860336,
0.00491100549697876,
-0.040828753262758255,
-0.06417382508516312,
0.01860572025179863,
-0.00579021405428648,
0.08701649308204651,
0.03322569653391838,
-0.03325919061899185,
0.002084979321807623,
-0.00021312948956619948,
0.009302860125899315,
-0.02136894501745701,
-0.032338112592697144,
-0.005107780918478966,
0.017701391130685806,
0.06561405211687088,
0.06655187159776688,
-0.020297149196267128,
0.013288603164255619,
0.02500300668179989,
0.022256527096033096,
-0.040862247347831726,
-0.045383889228105545,
-0.028201648965477943,
0.03938852623105049,
-0.008875816129148006,
0.010877061635255814,
-0.013464445248246193,
0.020045947283506393,
0.0453169010579586,
0.02086654119193554,
-0.059082791209220886,
-0.022976640611886978,
0.005178954917937517,
0.028050927445292473,
0.0010655166115611792,
0.019928717985749245,
0.022156046703457832,
0.016328152269124985,
0.012627104297280312,
-0.00891768280416727,
0.03319220244884491,
0.05760907009243965,
0.013807754963636398,
0.0174166951328516,
-0.059082791209220886,
-0.045383889228105545,
0.0001928501296788454,
0.02553890459239483,
0.03697698563337326,
0.008833948522806168,
0.01750043034553528,
0.059082791209220886,
-0.0032363233622163534,
0.03935503214597702,
0.008967923000454903,
-0.010081587359309196,
0.023378564044833183,
0.037613362073898315,
0.007757965475320816,
-0.017785126343369484,
-0.016236044466495514,
0.026443231850862503,
0.030763912945985794,
0.0203306432813406,
-0.05864737182855606,
-0.018622467294335365,
-0.0005228148656897247,
0.017073385417461395,
0.04906819015741348,
0.03021126799285412,
0.04960408806800842,
-0.007251373957842588
] |
5,701 | simple_di | set |
set the value to this provider, overriding the original values
| def set(self, value: Union[_SentinelClass, VT]) -> None:
"""
set the value to this provider, overriding the original values
"""
if isinstance(value, _SentinelClass):
return
self._override = value
| (self, value: Union[simple_di._SentinelClass, ~VT]) -> NoneType | [
0.05187045410275459,
-0.038193341344594955,
0.05867481976747513,
0.027490999549627304,
-0.0430145226418972,
-0.022054346278309822,
-0.003823180915787816,
-0.017096392810344696,
0.0724887028336525,
0.004663041327148676,
-0.0361417755484581,
-0.04209131747484207,
-0.011907637119293213,
-0.005530682858079672,
-0.03812495619058609,
0.03744110092520714,
-0.03155994042754173,
0.018823128193616867,
0.059427060186862946,
-0.014583222568035126,
-0.0033722633961588144,
0.029713530093431473,
0.001207432709634304,
-0.012959065847098827,
0.00412450497969985,
-0.019558273255825043,
-0.027234554290771484,
-0.010685245506465435,
0.023661406710743904,
-0.016403988003730774,
-0.031098337844014168,
-0.032141219824552536,
-0.02995287999510765,
-0.026978107169270515,
0.09102119505405426,
-0.05717033892869949,
-0.025678781792521477,
0.07871179282665253,
0.009120925329625607,
0.03097866289317608,
-0.08671290427446365,
-0.006723156664520502,
0.002436236012727022,
-0.022584334015846252,
-0.0011369101703166962,
0.058777399361133575,
0.07139453291893005,
0.01834443025290966,
0.05173368379473686,
0.009933004155755043,
-0.004118093755096197,
0.004936583340167999,
0.003359441179782152,
0.004470706917345524,
-0.03809076175093651,
0.03942428156733513,
0.030414482578635216,
0.04574994742870331,
-0.05272527411580086,
0.07153131067752838,
0.0008729845285415649,
0.010309124365448952,
-0.009676557965576649,
-0.057854194194078445,
0.02099437080323696,
-0.00942866038531065,
-0.00022866425570100546,
0.04619445279240608,
-0.0004725549661088735,
0.06195732578635216,
-0.006441066041588783,
-0.06886427104473114,
-0.05262269824743271,
0.032414760440588,
0.04328806698322296,
0.031594134867191315,
-0.08370393514633179,
0.02824323996901512,
-0.009163666516542435,
-0.022515948861837387,
0.055221349000930786,
0.012651330791413784,
0.05272527411580086,
0.037270136177539825,
0.007227499969303608,
0.013241156004369259,
-0.013993397355079651,
0.011574258096516132,
0.060076724737882614,
0.037270136177539825,
-0.013018903322517872,
0.045066092163324356,
0.00018365264986641705,
0.02902967482805252,
0.01926763541996479,
0.05672582983970642,
0.06096573546528816,
-0.03812495619058609,
0.0006576768355444074,
-0.006654771044850349,
0.06353019177913666,
0.016916880384087563,
0.10483507812023163,
0.004534818232059479,
-0.004075352568179369,
-0.020259225741028786,
0.03532114624977112,
0.028944192454218864,
-0.019455695524811745,
0.01661769300699234,
-0.0020547728054225445,
0.013053095899522305,
-0.03287636488676071,
0.03590242564678192,
-0.03417569026350975,
-0.002805945463478565,
-0.0377146415412426,
-0.00278671202249825,
0.04725442826747894,
0.03887719660997391,
-0.027012299746274948,
0.03641531616449356,
-0.03559469059109688,
0.02451622672379017,
0.009291889145970345,
-0.03046577237546444,
0.030294807627797127,
0.04841698333621025,
-0.0015034140087664127,
-0.022926263511180878,
0.03521857038140297,
-0.029080964624881744,
-0.033970531076192856,
0.018925705924630165,
0.05207561329007149,
0.01978052593767643,
-0.03894558176398277,
0.008655048906803131,
-0.010172354057431221,
0.015301271341741085,
-0.04342483729124069,
0.022994648665189743,
0.025251371785998344,
-0.016403988003730774,
0.04393772780895233,
0.04298033192753792,
-0.025678781792521477,
0.03679143637418747,
-0.03973201662302017,
-0.009599624201655388,
-0.03311571106314659,
0.006223086733371019,
-0.011172492988407612,
0.039492666721343994,
-0.09922746568918228,
0.013053095899522305,
-0.005158836487680674,
-0.002178721595555544,
0.027627769857645035,
0.014326777309179306,
0.0015183733776211739,
-0.05501619353890419,
0.0483144074678421,
0.0006731704925186932,
-0.03183348476886749,
0.04349322244524956,
-0.06944555044174194,
0.0006293609621934593,
0.04284356161952019,
0.02162693627178669,
-0.02745680697262287,
-0.06175217032432556,
0.011181040666997433,
0.025388143956661224,
0.06544499099254608,
0.06660754978656769,
0.03942428156733513,
-0.04181777685880661,
0.02096017822623253,
0.019592465832829475,
0.010069775395095348,
-0.009445756673812866,
-0.022994648665189743,
0.006590659264475107,
-0.0046245744451880455,
-0.007607894949615002,
0.01819056272506714,
-0.022481756284832954,
-0.025371046736836433,
0.011317811906337738,
0.035560496151447296,
-0.00857811514288187,
-0.006334213539958,
-0.011728125624358654,
-0.0027033670339733362,
0.007680554408580065,
0.016121897846460342,
-0.053751058876514435,
-0.05935867503285408,
0.021729515865445137,
-0.027490999549627304,
-0.014352421276271343,
0.03891139104962349,
-0.0329960398375988,
0.02372979372739792,
0.007842970080673695,
0.05477684363722801,
-0.021421780809760094,
-0.02755938470363617,
-0.028294529765844345,
0.005829869769513607,
-0.01483966875821352,
-0.0017758877947926521,
-0.000004662273113353876,
0.044792547821998596,
-0.05108402296900749,
0.01754089817404747,
-0.0038295919075608253,
-0.04427965730428696,
0.06537660211324692,
0.0801478922367096,
-0.02930321730673313,
-0.027610674500465393,
0.00007579845987493172,
0.03569726645946503,
0.011770866811275482,
-0.028653554618358612,
-0.10538216680288315,
0.02849968709051609,
-0.016574952751398087,
-0.03451761603355408,
0.04154423251748085,
-0.015249982476234436,
-0.013420668430626392,
0.016583500429987907,
0.019301827996969223,
0.046365417540073395,
-0.0024576063733547926,
-0.12029021978378296,
0.04869052767753601,
-0.0347740612924099,
0.01567739248275757,
0.00762071693316102,
0.04192035645246506,
-0.029508374631404877,
0.046638958156108856,
-0.046502187848091125,
0.061273470520973206,
0.018771838396787643,
0.027867119759321213,
0.06342761963605881,
-0.05976898968219757,
-0.020874695852398872,
0.009411564096808434,
0.06493210047483444,
-0.026721661910414696,
0.008458440192043781,
0.015258530154824257,
0.041475847363471985,
0.0006827872130088508,
-0.06229925528168678,
0.008723434060811996,
0.004297605715692043,
0.046912502497434616,
-0.021473068743944168,
0.03836430609226227,
0.000351010326994583,
0.0030388839077204466,
-0.005440927110612392,
0.013506149873137474,
-0.027063589543104172,
0.022054346278309822,
-0.030175132676959038,
0.018566682934761047,
-0.01049718540161848,
-0.0035923796240240335,
-0.05563166365027428,
0.01174522191286087,
-0.038569461554288864,
-0.0284825898706913,
0.06633400171995163,
-0.0014863176038488746,
0.03508179634809494,
0.015626102685928345,
-0.047938283532857895,
-0.006552192382514477,
-0.00147456384729594,
-0.007881437428295612,
-0.0064709847792983055,
-0.04021071642637253,
-0.017609285190701485,
0.028294529765844345,
-0.003895840607583523,
0.004402321297675371,
0.051118213683366776,
-0.017463965341448784,
-0.06096573546528816,
0.047151852399110794,
0.0257300715893507,
-0.011283619329333305,
0.03176509588956833,
-0.06838557124137878,
-0.0699242427945137,
0.049135033041238785,
0.05641809478402138,
0.017241712659597397,
0.06999263167381287,
-0.0037847140338271856,
-0.0005086176679469645,
0.05156271904706955,
0.0296622421592474,
0.050331778824329376,
-0.0783698633313179,
-0.03518437594175339,
0.06523983180522919,
-0.009112377651035786,
0.010121064260601997,
-0.020737923681735992,
-0.0369282066822052,
0.02323399856686592,
-0.0398687869310379,
-0.04277517646551132,
-0.040689416229724884,
-0.03689401596784592,
0.022208213806152344,
0.0257300715893507,
0.014523386023938656,
0.022498853504657745,
-0.054298143833875656,
-0.010659600608050823,
-0.04103134199976921,
-0.05419556424021721,
0.037509486079216,
0.05590520426630974,
-0.013796788640320301,
0.00790708139538765,
-0.018840225413441658,
-0.006778719834983349,
0.03569726645946503,
-0.00777885876595974,
0.014608867466449738,
0.025901034474372864,
-0.053751058876514435,
-0.015061922371387482,
0.034756965935230255,
0.031081242486834526,
-0.010924595408141613,
-0.017207520082592964,
0.055460698902606964,
0.07283063232898712,
-0.04178358241915703,
-0.004940857645124197,
0.057819999754428864,
-0.006868475582450628,
0.08684967458248138,
-0.029439987614750862,
0.0031115433666855097,
-0.014395162463188171,
-0.01464306004345417,
-0.09792813658714294,
0.01035186555236578,
-0.020122453570365906,
0.023028841242194176,
0.01134345680475235,
-0.028670649975538254,
0.014771283604204655,
-0.04205712676048279,
-0.014198553748428822,
0.011488775722682476,
-0.017045103013515472,
-0.001890219864435494,
-0.08931155502796173,
-0.008599485270678997,
-0.010702341794967651,
0.06318826973438263,
-0.017882827669382095,
-0.06688109040260315,
0.0296622421592474,
-0.04684411734342575,
0.03617596626281738,
0.06120508536696434,
0.02309722639620304,
0.01979762315750122,
0.00461602583527565,
0.031081242486834526,
0.014095976017415524,
0.054263949394226074,
0.008022482506930828,
0.05395621433854103,
0.004056119360029697,
-0.011249426752328873,
-0.0037483840715140104,
0.013668566010892391,
-0.048587948083877563,
-0.0076506356708705425,
0.0019073162693530321,
-0.05952963978052139,
-0.019541176036000252,
0.037406906485557556,
0.0005486873560585082,
0.03292765095829964,
0.002231079153716564,
0.04079199209809303,
0.04455319792032242,
0.018959900364279747,
-0.0553923137485981,
0.02321690134704113,
-0.012873583473265171,
0.0017705451464280486,
-0.038706231862306595,
-0.05737549439072609,
-0.021404683589935303,
-0.006103412248194218,
-0.05898255482316017,
0.0230801310390234,
-0.017865730449557304,
0.018617970868945122,
-0.012052956968545914,
0.05395621433854103,
-0.00613760482519865,
-0.04246744140982628,
0.010386058129370213,
-0.017489610239863396,
0.0664023905992508,
0.02969643473625183,
-0.009941552765667439,
0.007966918870806694,
-0.06927458196878433,
0.016976717859506607,
-0.012035860680043697,
0.026704564690589905,
-0.024037528783082962,
0.0035838312469422817,
0.04882729798555374,
0.00593672227114439,
-0.04421127215027809,
-0.026225866749882698,
-0.0659920796751976,
-0.041475847363471985,
-0.011856348253786564,
-0.044108692556619644,
-0.03798818588256836,
0.010539925657212734,
0.049408573657274246,
0.013429216109216213,
-0.04198874160647392,
-0.06110250577330589,
0.021165333688259125,
0.020618248730897903,
-0.02730293944478035,
-0.025388143956661224,
-0.01990020088851452,
-0.018566682934761047,
0.04998985305428505,
0.018942803144454956,
-0.031867675483226776,
-0.06715463101863861,
-0.03465438634157181,
-0.0006945409695617855,
-0.0296622421592474,
-0.037270136177539825,
-0.011839251965284348,
-0.04014233127236366,
-0.031337689608335495,
0.01597657985985279,
0.04421127215027809,
0.020635345950722694,
-0.03207283094525337,
-0.013967752456665039,
-0.03005545772612095,
0.006787267979234457,
-0.05840127915143967,
0.003252588678151369,
-0.013369379565119743,
-0.04527124762535095,
0.008787546306848526,
-0.02217402122914791,
-0.007210403680801392,
-0.06335923075675964,
0.008881576359272003,
0.012873583473265171,
0.04103134199976921,
0.06841976195573807,
-0.0016487333923578262,
0.022396273910999298,
-0.026550697162747383,
0.02044728584587574,
-0.019216345623135567,
0.011514420621097088,
0.06274376064538956,
-0.010257835499942303,
0.03798818588256836,
-0.05570004880428314,
-0.0022674091160297394,
-0.00725741870701313,
0.017122037708759308,
0.040552642196416855,
-0.033560220152139664,
0.028294529765844345,
-0.0400739461183548,
-0.0036265722010284662,
0.009992841631174088,
-0.0075437831692397594,
-0.02822614461183548,
0.06643658131361008,
-0.09909069538116455,
0.006924039218574762,
0.030688025057315826,
-0.03573146089911461,
0.013728403486311436,
0.04892987757921219,
-0.0037441099993884563,
0.06571853160858154,
-0.028397107496857643,
0.031577035784721375,
-0.01595093496143818,
-0.030363192781805992,
-0.018002500757575035,
-0.004432240035384893,
-0.0019383035833016038,
-0.002620022278279066,
-0.021131141111254692,
0.06787268072366714,
-0.0014660157030448318,
0.015916742384433746,
-0.024345263838768005,
-0.016164639964699745,
-0.026225866749882698,
0.036210160702466965,
0.011719577014446259,
-0.0033530299551784992,
-0.035560496151447296,
-0.025798456743359566,
0.03138897567987442,
0.05788838490843773,
-0.0038445512764155865,
0.004876745864748955,
-0.014531933702528477,
0.06421405076980591,
-0.026550697162747383,
-0.017728960141539574,
0.004778441973030567,
-0.014095976017415524,
0.034910835325717926,
0.0215072613209486,
-0.07173646241426468,
-0.07057391107082367,
-0.005714469123631716,
-0.01391646359115839,
-0.011557161808013916,
-0.010334769263863564,
-0.05583681911230087,
0.04178358241915703,
0.007667731959372759,
-0.0493059977889061,
-0.03150865063071251,
-0.0004843087517656386,
0.07768601179122925,
0.04722023755311966,
0.07324094325304031,
0.003462019609287381,
0.007466849405318499,
0.09143150597810745,
-0.00004240706766722724,
0.064829520881176,
-0.024071721360087395,
-0.0430145226418972,
-0.015480783767998219,
0.047562163323163986,
-0.012146987020969391,
0.030123844742774963,
-0.02810646966099739,
-0.01663479022681713,
0.0377146415412426,
-0.04547640308737755,
0.07460866123437881,
0.010386058129370213,
0.045066092163324356,
-0.04985308274626732,
-0.07440350204706192,
-0.0752241313457489,
0.03932170197367668,
0.010992980562150478,
-0.0893799439072609,
-0.00785151869058609,
-0.014848217368125916,
-0.024071721360087395,
0.06585530191659927,
-0.05344332382082939,
0.03412440046668053,
-0.0461602620780468,
0.021558551117777824,
-0.03904816135764122,
-0.02137049101293087,
0.01742122508585453,
-0.005885433405637741,
0.0008142156875692308,
-0.057067759335041046,
0.030534157529473305,
-0.004496351350098848,
-0.021849190816283226,
0.038843005895614624,
-0.016703175380825996,
-0.002959812991321087,
0.05655486881732941,
-0.07187323272228241,
-0.02070373110473156,
0.025422336533665657,
-0.00004981995516573079,
-0.002989731729030609,
0.047664742916822433,
0.04010813683271408,
0.026054902002215385,
0.007505316287279129,
0.018823128193616867,
0.03176509588956833,
-0.00609913794323802,
-0.004898116458207369,
-0.05699937418103218,
-0.02873903699219227,
-0.01844700798392296,
-0.006423969753086567,
-0.038843005895614624,
-0.047425393015146255,
-0.03655208647251129,
-0.032363470643758774,
-0.022327888756990433,
0.007295885588973761,
-0.019096670672297478,
-0.033167000859975815,
0.015514976345002651,
-0.01438661478459835,
0.0012747497530654073,
-0.004427965730428696,
0.0020729375537484884,
0.0036778615321964025,
-0.014899506233632565,
0.00942866038531065,
0.0025644588749855757,
-0.009206407703459263,
0.014745638705790043,
-0.00024963406031019986,
0.0754292830824852,
0.04646799713373184,
-0.0673597902059555,
-0.016549307852983475,
-0.025336854159832,
0.030243517830967903,
-0.02296045608818531,
0.016771560534834862,
0.013070192188024521,
-0.0006379091646522284,
-0.013660017400979996,
-0.01511321123689413,
-0.006607756018638611,
-0.009343178942799568,
0.023575926199555397,
0.05036597326397896,
0.05570004880428314,
-0.020464381203055382,
-0.07666022330522537,
0.041339077055454254,
0.014976439997553825,
0.01872055046260357,
0.08684967458248138,
0.025251371785998344,
-0.014600319787859917,
-0.0009114514105021954,
0.010898950509727001,
0.00950559414923191,
-0.006197442300617695,
-0.023695601150393486,
-0.08110528439283371,
-0.037646256387233734,
-0.036346931010484695,
-0.12288887053728104,
-0.023319479078054428,
-0.04554479196667671,
0.0038637847173959017,
0.010933143086731434,
-0.07009521126747131,
0.021438876166939735,
0.005128917749971151,
-0.005787129048258066,
-0.02836291491985321,
0.06920620054006577,
-0.0353553406894207,
0.0019019737374037504,
0.013685662299394608,
-0.05026339367032051,
0.0008200925658456981,
-0.06896685063838959,
-0.025901034474372864,
0.03850107640028,
-0.04116811230778694,
-0.023114323616027832,
-0.03600500151515007,
-0.10319382697343826,
-0.01530981995165348,
0.04722023755311966,
0.03311571106314659,
0.057717420160770416,
-0.04653638228774071,
-0.009257696568965912,
0.02337076887488365,
0.0020900340750813484,
-0.011967474594712257,
-0.039253316819667816,
0.026140384376049042,
-0.020122453570365906,
0.04123649746179581,
0.025918131694197655,
0.008590937592089176,
-0.03566307574510574,
-0.019421502947807312,
0.03432955592870712,
-0.0430145226418972,
-0.024362359195947647,
-0.0006940066814422607,
0.038193341344594955,
-0.012258113361895084,
-0.01808798313140869,
-0.00790708139538765,
-0.0071035511791706085,
0.020413093268871307,
0.02321690134704113,
-0.0030089651700109243,
-0.0028422751929610968,
0.027268746867775917,
0.01738703064620495,
0.017882827669382095,
0.02349044382572174,
-0.006919764913618565,
0.004265550058335066,
-0.007052261848002672,
-0.03444923087954521,
-0.035560496151447296,
0.0467415377497673,
-0.019541176036000252,
0.00915511790663004,
-0.015754325315356255,
-0.038056571036577225,
0.01738703064620495,
-0.033543121069669724,
-0.026550697162747383,
0.027798734605312347,
-0.019592465832829475,
0.026089094579219818,
0.020515670999884605,
0.07036875188350677,
-0.00877899769693613,
0.02347334660589695,
0.00838150642812252,
0.03451761603355408,
0.09184182435274124,
-0.04841698333621025,
0.01978052593767643,
0.0067060599103569984,
0.02465299889445305,
0.021131141111254692,
-0.03638112545013428,
0.010651052929461002,
0.0021188841201364994,
-0.01966085098683834,
0.036312736570835114,
0.029251927509903908,
0.015130307525396347,
0.004329661373049021
] |
5,710 | simple_di | _ProvideClass |
used as the default value of a injected functool/method. Would be replaced by the
final value of the provider when this function/method gets called.
| class _ProvideClass:
"""
used as the default value of a injected functool/method. Would be replaced by the
final value of the provider when this function/method gets called.
"""
def __getitem__(self, provider: Provider[VT]) -> VT:
return provider # type: ignore
| () | [
0.048484839498996735,
-0.07981131225824356,
0.022498104721307755,
0.00027213204884901643,
0.04499620944261551,
0.014897874556481838,
0.02657410502433777,
-0.020291011780500412,
0.09162993729114532,
-0.01888488046824932,
0.008828369900584221,
0.02936857007443905,
-0.014150310307741165,
-0.009380143135786057,
-0.042895909398794174,
0.01671338640153408,
0.01067947968840599,
0.05663684010505676,
0.04727449640631676,
-0.011658431962132454,
0.015084764920175076,
0.030347522348165512,
0.013242554850876331,
-0.06233256310224533,
-0.01560983993113041,
0.034085340797901154,
0.07703464478254318,
-0.02379744127392769,
0.005980508867651224,
-0.05371778458356857,
-0.061478205025196075,
-0.03987005725502968,
-0.05781158432364464,
0.06211897358298302,
0.0239398330450058,
-0.028959188610315323,
0.01066168025135994,
0.11184975504875183,
-0.0185466967523098,
-0.04008364677429199,
-0.046954113990068436,
-0.0013582963729277253,
-0.020985178649425507,
-0.08621899783611298,
-0.021234365180134773,
0.07333242893218994,
0.04435544088482857,
0.05332620069384575,
0.0022849636152386665,
-0.004850263707339764,
0.02751746028661728,
-0.0021414582151919603,
0.0059004127979278564,
0.01570773497223854,
0.011996615678071976,
0.023779641836881638,
0.03759177029132843,
0.0386953167617321,
-0.025559555739164352,
0.08030968904495239,
0.0019011698896065354,
0.002523027127608657,
0.024936584755778313,
-0.015618739649653435,
0.012699681334197521,
0.015743333846330643,
-0.052365049719810486,
0.006701373495161533,
0.027143677696585655,
0.061620596796274185,
0.028104830533266068,
-0.04656253382563591,
-0.04513860121369362,
0.026253720745444298,
0.09184352308511734,
-0.03388955071568489,
-0.052507441490888596,
-0.05859474465250969,
0.05937790870666504,
0.00873047485947609,
0.011435942724347115,
-0.048627231270074844,
-0.025933336466550827,
-0.025915537029504776,
0.021679343655705452,
-0.03855292126536369,
-0.06738752126693726,
-0.06841986626386642,
0.024349214509129524,
0.01329595223069191,
-0.07945533096790314,
0.06421927362680435,
-0.000599052058532834,
0.013571838848292828,
0.0061229015700519085,
-0.04132958874106407,
0.024936584755778313,
-0.03202063962817192,
0.00537533825263381,
0.02582654170691967,
0.052792228758335114,
0.03962086886167526,
0.043073903769254684,
0.016117114573717117,
-0.0016219459939748049,
-0.041543178260326385,
0.006496683694422245,
0.07101853936910629,
-0.013304851949214935,
0.04129398986697197,
0.01856449618935585,
-0.0494815893471241,
-0.049588385969400406,
0.026040131226181984,
-0.037805359810590744,
0.009567034430801868,
-0.025292567908763885,
-0.0047790673561394215,
0.022960880771279335,
0.03511768952012062,
-0.010848571546375751,
0.013393847271800041,
-0.08707335591316223,
0.004596625920385122,
0.018208513036370277,
-0.06930982321500778,
-0.003168245777487755,
0.011569436639547348,
-0.0038668615743517876,
-0.007827168330550194,
0.039051298052072525,
0.005464334040880203,
-0.08678857237100601,
0.018315307796001434,
0.03865971788764,
0.028656603768467903,
-0.011320248246192932,
0.048769623041152954,
-0.03381835296750069,
0.06322252005338669,
-0.02304987795650959,
0.006665775086730719,
-0.0013594088377431035,
-0.0028656604699790478,
0.05208026245236397,
-0.0255061574280262,
-0.006772570312023163,
0.01013660617172718,
0.006505582947283983,
-0.009175453335046768,
-0.01299336738884449,
0.022302312776446342,
0.013554039411246777,
0.04143638163805008,
-0.018742486834526062,
-0.015485245734453201,
0.008868417702615261,
0.013162459246814251,
-0.014888974837958813,
-0.03930048644542694,
0.022622698917984962,
-0.015431848354637623,
0.03244781866669655,
-0.020344408228993416,
0.026645302772521973,
0.041827961802482605,
-0.03346237167716026,
-0.005508831702172756,
0.0029457565397024155,
0.049090009182691574,
-0.05090552195906639,
-0.041827961802482605,
-0.0278200451284647,
-0.01746094971895218,
0.046491336077451706,
0.07475636154413223,
-0.020824985578656197,
-0.008601430803537369,
0.06603478640317917,
-0.005215146113187075,
0.021554749459028244,
-0.006202997639775276,
-0.09647130221128464,
0.0014561915304511786,
0.03744937479496002,
0.03091709315776825,
0.024064427241683006,
0.001442842185497284,
-0.035829655826091766,
0.016926975920796394,
-0.03926488757133484,
0.027624255046248436,
0.034405723214149475,
-0.008708225563168526,
0.010394693352282047,
0.0008215412381105125,
-0.036879803985357285,
0.049267999827861786,
-0.009237750433385372,
0.041044801473617554,
-0.041044801473617554,
0.0007325455662794411,
0.037520572543144226,
-0.007119653280824423,
-0.018511097878217697,
0.019258661195635796,
0.07938413321971893,
-0.0024651798885315657,
-0.08671737462282181,
-0.010928668081760406,
-0.0239754319190979,
0.0003557045420166105,
-0.011249052360653877,
0.014817778021097183,
-0.0047790673561394215,
-0.039656467735767365,
0.07368841022253036,
-0.014399498701095581,
0.014194808900356293,
0.0648956373333931,
0.07205089181661606,
-0.025755345821380615,
-0.006051705218851566,
0.06019666790962219,
0.08251678198575974,
-0.023601651191711426,
0.002861210610717535,
-0.06788589060306549,
-0.013037865050137043,
-0.08315754681825638,
-0.015983620658516884,
0.019045071676373482,
0.005575578194111586,
0.02799803577363491,
0.06418367475271225,
-0.09006361663341522,
0.06834866851568222,
0.0020613621454685926,
-0.021892933174967766,
0.046633727848529816,
0.017149465158581734,
0.06991499662399292,
-0.005704622250050306,
0.0679570883512497,
-0.03527788072824478,
0.024687398225069046,
-0.050941117107868195,
0.054500944912433624,
0.038446128368377686,
0.024865388870239258,
0.04161437228322029,
-0.01529835443943739,
-0.03275040537118912,
-0.020148618146777153,
0.03219863027334213,
-0.013794328086078167,
-0.0510835126042366,
-0.03666621446609497,
0.004903661087155342,
-0.007319893687963486,
-0.021999727934598923,
-0.024972183629870415,
0.010163305327296257,
0.07304764539003372,
-0.028834596276283264,
0.004939259495586157,
0.0479864627122879,
-0.022818489000201225,
0.011934318579733372,
0.0038045647088438272,
0.09020600467920303,
0.0618341863155365,
0.010501488111913204,
0.0030214027501642704,
-0.031949445605278015,
-0.024189021438360214,
-0.015903525054454803,
0.017104966565966606,
-0.013936720788478851,
0.02102077566087246,
0.02523917146027088,
-0.03695100173354149,
-0.010439191944897175,
0.03741377592086792,
-0.03371155634522438,
0.03219863027334213,
-0.014728782698512077,
0.01900947466492653,
-0.014710983261466026,
-0.019116269424557686,
0.03059670887887478,
-0.001745427493005991,
0.020059622824192047,
0.00032288741203956306,
0.06631956994533539,
0.00472122011706233,
-0.1066524013876915,
0.040724415332078934,
0.025256969034671783,
-0.023423658683896065,
-0.0026542956475168467,
-0.01806611940264702,
-0.07440037280321121,
0.007435587700456381,
0.02922617644071579,
0.00796511210501194,
0.0028812347445636988,
-0.051759880036115646,
-0.02970675379037857,
0.037342581897974014,
0.009567034430801868,
0.032714806497097015,
-0.027731049805879593,
-0.007110753562301397,
0.0495171882212162,
-0.008463487960398197,
0.002696568612009287,
-0.030525512993335724,
0.02598673477768898,
0.058523550629615784,
-0.04542338848114014,
-0.004300715401768684,
-0.029920343309640884,
-0.007844967767596245,
0.011400344781577587,
0.00998531375080347,
-0.052970219403505325,
-0.016384102404117584,
-0.03000933863222599,
-0.033195383846759796,
-0.05631645768880844,
-0.01477328035980463,
0.014096912927925587,
-0.007141902111470699,
-0.04620654881000519,
0.01035909540951252,
0.06297333538532257,
-0.022337911650538445,
0.014194808900356293,
0.000044984528358327225,
-0.000988408108241856,
-0.030205128714442253,
-0.07226447761058807,
0.06471765041351318,
-0.016829080879688263,
0.0020246512722223997,
0.035188887268304825,
-0.024046627804636955,
0.07646507769823074,
-0.022302312776446342,
-0.02831842005252838,
-0.06308012455701828,
0.04812885448336601,
0.02103857509791851,
0.08443908393383026,
0.0059004127979278564,
0.010839671827852726,
-0.009869619272649288,
-0.03214523568749428,
-0.05386017635464668,
0.07194409519433975,
-0.01826191134750843,
-0.02182173728942871,
0.017122766003012657,
-0.028674403205513954,
0.044925011694431305,
0.021287763491272926,
-0.013340449891984463,
0.00959373265504837,
-0.03908689692616463,
-0.025292567908763885,
-0.07831618189811707,
-0.0062163472175598145,
-0.000041647188481874764,
-0.014702083542943,
-0.03691540285944939,
-0.043216295540332794,
0.029030386358499527,
-0.0680994838476181,
0.014488494023680687,
0.028069233521819115,
0.027570856735110283,
-0.004020379390567541,
0.00835669320076704,
0.005143949296325445,
0.011097759008407593,
-0.009540335275232792,
0.017229560762643814,
0.006981709972023964,
0.03413873538374901,
-0.021536951884627342,
-0.05040714517235756,
-0.06881144642829895,
0.009006361477077007,
0.007391090039163828,
-0.03663061559200287,
-0.05457214266061783,
-0.0011435942724347115,
-0.01181862410157919,
0.010456990450620651,
0.07383080571889877,
-0.03143326938152313,
0.06439726054668427,
0.008494636043906212,
0.0002654573763720691,
-0.013189157471060753,
0.040724415332078934,
-0.004418634809553623,
-0.010884169489145279,
0.013856625184416771,
-0.03894450142979622,
0.0162328090518713,
-0.013803227804601192,
-0.0510835126042366,
0.03180705010890961,
0.006483334116637707,
0.012966668233275414,
-0.003499754471704364,
0.011774126440286636,
-0.011720729060471058,
0.01631290465593338,
-0.046135351061820984,
0.0017376403557136655,
0.03570505976676941,
0.02059359662234783,
0.035972047597169876,
-0.004587726667523384,
-0.01730075664818287,
-0.010937566868960857,
-0.023744042962789536,
0.007840517908334732,
0.017870329320430756,
-0.0278200451284647,
-0.029653355479240417,
0.006194098386913538,
-0.05709961801767349,
-0.0025297016836702824,
-0.06311572343111038,
-0.022640496492385864,
0.041365183889865875,
-0.03371155634522438,
0.025879940018057823,
0.011711829341948032,
0.0433230884373188,
0.024562804028391838,
-0.03954967483878136,
-0.04054642468690872,
0.03652382269501686,
0.015422948636114597,
-0.07244247198104858,
-0.012023313902318478,
-0.03047211654484272,
0.04036843404173851,
0.04474702104926109,
0.06841986626386642,
-0.05695722624659538,
-0.03969206660985947,
-0.033658161759376526,
0.0027165927458554506,
-0.018297508358955383,
0.0036421476397663355,
-0.008316644467413425,
-0.032074037939310074,
-0.04990876838564873,
-0.010350195690989494,
0.05866594240069389,
0.009504737332463264,
-0.05439415201544762,
-0.05738440528512001,
-0.006910513620823622,
0.029012586921453476,
-0.021465754136443138,
-0.024936584755778313,
-0.0525786392390728,
-0.042931508272886276,
0.03351576626300812,
-0.0006435498944483697,
0.01888488046824932,
-0.03622123599052429,
-0.008641479536890984,
-0.019543448463082314,
0.04378586634993553,
0.04891201853752136,
0.03154006227850914,
-0.02383303828537464,
0.012005515396595001,
-0.014702083542943,
0.011106658726930618,
0.05168868228793144,
-0.010643881745636463,
-0.06211897358298302,
0.07546832412481308,
0.02846081368625164,
0.05183107405900955,
-0.025790942832827568,
0.02490098774433136,
0.06283093988895416,
0.015921324491500854,
0.048805221915245056,
-0.01661549136042595,
0.06247495859861374,
-0.0042562177404761314,
-0.030062735080718994,
-0.003860187018290162,
0.06418367475271225,
-0.15050946176052094,
-0.045992959290742874,
0.02693008817732334,
-0.02055799774825573,
0.03445912152528763,
0.05396697297692299,
0.04008364677429199,
0.03969206660985947,
-0.0371289923787117,
0.03901569917798042,
-0.005548879504203796,
-0.027642054483294487,
-0.03218083083629608,
-0.010314597748219967,
0.01460418850183487,
-0.02335246279835701,
0.036292433738708496,
0.05531970411539078,
0.031166281551122665,
0.02876339852809906,
-0.017069367691874504,
-0.008757173083722591,
-0.012201305478811264,
0.014817778021097183,
0.04221954196691513,
-0.00776932155713439,
-0.035188887268304825,
-0.029582159593701363,
-0.007155251689255238,
0.009308946318924427,
0.04962398111820221,
-0.02057579718530178,
-0.008503535762429237,
0.030507713556289673,
-0.015654336661100388,
0.027624255046248436,
-0.012050013057887554,
0.003121522953733802,
-0.005299692042171955,
0.020344408228993416,
-0.02458060346543789,
-0.0680994838476181,
-0.01593022421002388,
-0.03876651078462601,
-0.05122590437531471,
-0.015520843677222729,
-0.02025541290640831,
0.031041687354445457,
-0.02383303828537464,
0.011133357882499695,
-0.019116269424557686,
-0.015084764920175076,
0.01752324588596821,
0.02210652269423008,
0.0695234164595604,
0.012165707536041737,
0.04143638163805008,
0.043536677956581116,
0.026075730100274086,
0.009415741078555584,
-0.023103274405002594,
0.007382190320640802,
-0.005660124123096466,
-0.004024828784167767,
-0.06991499662399292,
0.04698971286416054,
-0.03499309718608856,
0.0018878205446526408,
0.06169179454445839,
-0.049090009182691574,
0.07440037280321121,
0.024028830230236053,
-0.006688024383038282,
-0.012708581052720547,
-0.0866461768746376,
-0.03908689692616463,
0.04225514084100723,
0.0067903692834079266,
-0.06315132230520248,
-0.057313207536935806,
-0.06927422434091568,
-0.02100297622382641,
-0.007885015569627285,
-0.06001867726445198,
0.03755617141723633,
-0.0032594662625342607,
0.011418144218623638,
-0.01292217057198286,
-0.005642325151711702,
0.03159346058964729,
-0.009344545193016529,
-0.051439493894577026,
0.0018132866825908422,
0.04204155132174492,
-0.01685577817261219,
-0.029902543872594833,
0.04392826184630394,
0.0019067320972681046,
0.0017532146302983165,
0.08166242390871048,
-0.026947887614369392,
-0.06685354560613632,
-0.006145150866359472,
-0.015823429450392723,
-0.021714942529797554,
0.024367013946175575,
-0.009798422455787659,
0.029048185795545578,
0.025292567908763885,
-0.017790233716368675,
0.005054953973740339,
-0.004038178361952305,
-0.009246649220585823,
-0.0016297331312671304,
0.03933608531951904,
-0.049730777740478516,
0.025417162105441093,
0.0076536270789802074,
0.005446534603834152,
-0.003025852609425783,
-0.05382457748055458,
-0.01020780298858881,
-0.06080183759331703,
-0.0014217057032510638,
-0.03339117392897606,
-0.01205891277641058,
0.005780268460512161,
0.04410625249147415,
-0.04143638163805008,
-0.008565832860767841,
-0.014559690840542316,
0.01629510708153248,
0.012370397336781025,
0.013883323408663273,
0.0038713114336133003,
-0.013625236228108406,
0.004340763669461012,
-0.008534683845937252,
0.026324918493628502,
0.006345390807837248,
-0.046954113990068436,
-0.027553057298064232,
0.016846880316734314,
0.01144484244287014,
-0.005953810177743435,
-0.034726109355688095,
0.024349214509129524,
0.0012759753735736012,
0.011418144218623638,
0.011427043005824089,
-0.03901569917798042,
0.017149465158581734,
0.05215146020054817,
0.0742579847574234,
-0.02662750333547592,
-0.04567257687449455,
0.014194808900356293,
-0.003428557887673378,
0.013812127523124218,
0.02303207851946354,
0.012236904352903366,
-0.04314509779214859,
-0.04157877340912819,
-0.007448937278240919,
0.02178613841533661,
0.02073599025607109,
0.004756818525493145,
0.005054953973740339,
-0.051581885665655136,
-0.00526409363374114,
-0.0835135355591774,
0.0019545673858374357,
0.02847861312329769,
0.013794328086078167,
0.0037756410893052816,
0.015369551256299019,
-0.027784446254372597,
-0.03134427219629288,
0.04164997115731239,
-0.0402260422706604,
0.026200324296951294,
-0.03155786171555519,
-0.034103140234947205,
-0.000803742092102766,
-0.0773906335234642,
0.022676095366477966,
-0.0772482380270958,
0.032572414726018906,
0.01052818726748228,
-0.035313479602336884,
-0.039976853877305984,
-0.07397319376468658,
-0.09647130221128464,
-0.033622562885284424,
-0.014016817323863506,
0.027143677696585655,
0.030525512993335724,
-0.026858892291784286,
-0.007707024458795786,
0.014194808900356293,
0.03404974192380905,
-0.017282959073781967,
-0.003533127950504422,
0.012592886574566364,
-0.055462099611759186,
0.023405859246850014,
0.008721575140953064,
0.023886436596512794,
-0.04869842901825905,
-0.0057446700520813465,
-0.014648686163127422,
0.0049570584669709206,
0.005953810177743435,
-0.017167264595627785,
0.004360787570476532,
0.01757664419710636,
-0.011676231399178505,
0.02956436015665531,
0.009753924794495106,
0.019846033304929733,
0.03727138414978981,
-0.02043340541422367,
-0.035349078476428986,
-0.006283094175159931,
0.01731855608522892,
0.05866594240069389,
0.027108078822493553,
-0.029137181118130684,
0.019863832741975784,
0.02399323135614395,
-0.06425487250089645,
-0.008240998722612858,
-0.0021058600395917892,
-0.030062735080718994,
0.0015896850964054465,
-0.05613846704363823,
0.037022195756435394,
-0.002409557579085231,
0.020611396059393883,
0.04140078276395798,
0.0038668615743517876,
0.010012011975049973,
0.013482843525707722,
0.027926839888095856,
0.010706178843975067,
-0.017852529883384705,
0.04186356067657471,
0.010278998874127865,
0.04040403291583061,
0.043999455869197845,
-0.0495171882212162,
-0.012183506973087788,
-0.00877052266150713,
-0.033658161759376526,
-0.027179276570677757,
-0.05268543213605881,
-0.019401054829359055,
-0.0011847547721117735,
-0.03723578527569771,
0.05603167042136192,
0.010875270701944828,
0.017994923517107964,
0.02520357258617878
] |
5,711 | simple_di | __getitem__ | null | def __getitem__(self, provider: Provider[VT]) -> VT:
return provider # type: ignore
| (self, provider: simple_di.Provider[~VT]) -> ~VT | [
0.051591746509075165,
-0.07877881824970245,
-0.026885366067290306,
0.01987908035516739,
0.038718950003385544,
0.003113439539447427,
0.04465250298380852,
-0.019325952976942062,
0.10291530936956406,
-0.03159533441066742,
-0.002853637095540762,
0.01437294390052557,
-0.012143670581281185,
0.0019506138050928712,
-0.03446154296398163,
0.029751574620604515,
-0.04156839847564697,
0.06024065241217613,
0.05628495290875435,
-0.007852739654481411,
-0.03570188954472542,
0.025427119806408882,
0.02996947430074215,
-0.10968693345785141,
0.00046801113057881594,
0.035467229783535004,
0.06389465183019638,
-0.050753671675920486,
0.033791083842515945,
-0.04736785963177681,
-0.07328106462955475,
-0.02755582518875599,
-0.029366061091423035,
0.03529961407184601,
-0.012805748730897903,
0.014666269533336163,
-0.01294822059571743,
0.05940258130431175,
0.04133373871445656,
0.008255014196038246,
-0.03915474936366081,
-0.031008683145046234,
0.027455255389213562,
-0.055279266089200974,
-0.016870399937033653,
0.03439449518918991,
0.022007783874869347,
0.034964386373758316,
0.03516552224755287,
-0.012445377185940742,
-0.00809578038752079,
0.030187372118234634,
-0.014507035724818707,
-0.012210716493427753,
-0.030958399176597595,
0.0034486684016883373,
0.017180487513542175,
0.06835319846868515,
0.015294823795557022,
0.11665969341993332,
-0.0028620176017284393,
-0.043143972754478455,
0.004689015913754702,
0.04562466964125633,
0.026818322017788887,
-0.04361329600214958,
0.0029500152450054884,
0.012185574509203434,
-0.0009009279892779887,
0.015697099268436432,
0.037847355008125305,
-0.021571986377239227,
-0.03486381843686104,
-0.002306794747710228,
0.03613768890500069,
-0.00011333621660014614,
-0.04579228162765503,
-0.013601916842162609,
0.08635499328374863,
-0.004915295634418726,
0.005380425602197647,
0.00831787008792162,
-0.024052681401371956,
-0.006583059672266245,
0.01746543124318123,
0.010283149778842926,
-0.05413948744535446,
-0.07287878543138504,
-0.02349955402314663,
0.05229572579264641,
-0.03573541343212128,
0.04823945462703705,
-0.024002397432923317,
0.007199042942374945,
-0.010174200870096684,
-0.0493457093834877,
0.04612751305103302,
-0.028025144711136818,
-0.016023946925997734,
0.021722840145230293,
0.06148100271821022,
-0.0034319069236516953,
0.0011942533310502768,
0.022527389228343964,
-0.017230771481990814,
-0.0251254141330719,
-0.0021978451404720545,
0.06748159974813461,
-0.007986831478774548,
0.056419044733047485,
0.0026881175581365824,
0.0008621671004220843,
-0.036238256841897964,
0.02143789455294609,
-0.06124633923172951,
0.013593536801636219,
-0.01741514727473259,
-0.03597007319331169,
-0.018722539767622948,
0.012143670581281185,
-0.024773424491286278,
0.037411559373140335,
-0.05051901191473007,
-0.0012581563787534833,
0.0011858725920319557,
-0.04964741691946983,
-0.004668063949793577,
-0.011833583936095238,
-0.025209221988916397,
-0.02313080243766308,
0.00587907899171114,
0.0010543999960646033,
-0.0597713328897953,
0.014012572355568409,
0.030589647591114044,
0.005518707446753979,
0.026600422337651253,
-0.010635140351951122,
-0.019124815240502357,
0.05092128738760948,
-0.05558096989989281,
0.014666269533336163,
-0.00889194943010807,
0.0067967684008181095,
0.021219996735453606,
-0.06389465183019638,
-0.002497456269338727,
0.02182340808212757,
0.005573182366788387,
-0.03992577642202377,
-0.03687519207596779,
0.039121225476264954,
0.034964386373758316,
0.012420235201716423,
-0.03246692940592766,
0.017884468659758568,
-0.015923378989100456,
-0.013601916842162609,
0.010450764559209347,
-0.03119305893778801,
-0.012017959728837013,
0.003589045722037554,
-0.013459444977343082,
0.025259505957365036,
0.014507035724818707,
0.04730081558227539,
-0.024823708459734917,
-0.007253517862409353,
-0.01497635617852211,
0.019644420593976974,
-0.03270158916711807,
-0.06017360836267471,
-0.06530261039733887,
-0.008824903517961502,
-0.004881772678345442,
0.06590602546930313,
-0.0027363067492842674,
0.0339922234416008,
0.03928884118795395,
-0.014146664179861546,
0.00893385335803032,
-0.010467525571584702,
-0.0913834273815155,
-0.010434002615511417,
-0.0015965282218530774,
0.016853637993335724,
0.05253038555383682,
0.021219996735453606,
-0.011339121498167515,
-0.0011890154564753175,
-0.024471718817949295,
-0.010492668487131596,
0.033774323761463165,
-0.03231607750058174,
-0.03767974302172661,
-0.005229572765529156,
-0.02314756251871586,
0.062117937952280045,
-0.05715654790401459,
0.0657719299197197,
-0.008443580940365791,
-0.0073205637745559216,
-0.031092491000890732,
0.03633882477879524,
-0.05256390944123268,
0.015093686059117317,
0.043546248227357864,
-0.043680340051651,
-0.04156839847564697,
-0.030874591320753098,
-0.013719247654080391,
-0.0060508837923407555,
0.021320564672350883,
0.02916492335498333,
0.0347297266125679,
-0.02220892161130905,
-0.060944635421037674,
-0.04656330868601799,
0.03690871596336365,
0.06654296070337296,
0.06483329087495804,
-0.05980485677719116,
0.003987130243331194,
-0.01536186970770359,
0.0968811884522438,
-0.0371098518371582,
-0.011967675760388374,
-0.0502508282661438,
-0.036238256841897964,
-0.050854239612817764,
0.028645319864153862,
-0.00994792114943266,
0.060475315898656845,
0.01156540121883154,
0.03395869955420494,
-0.0533684603869915,
0.04243999347090721,
0.009185275062918663,
-0.01939299888908863,
0.07194014638662338,
0.01899072341620922,
0.07153787463903427,
-0.01420532912015915,
0.05373721197247505,
-0.05276504531502724,
0.05373721197247505,
-0.03194732591509819,
0.03617120906710625,
0.026801560074090958,
0.021622272208333015,
0.04827297851443291,
-0.009872494265437126,
-0.004083508625626564,
0.0002093871880788356,
0.008707573637366295,
-0.07965041697025299,
-0.04964741691946983,
-0.04300988093018532,
0.04300988093018532,
-0.04331158846616745,
-0.05045196786522865,
0.01616641879081726,
0.016325652599334717,
0.058866214007139206,
-0.03345585614442825,
0.02671775221824646,
0.05343550443649292,
0.023667167872190475,
0.0541059635579586,
0.01613289676606655,
0.026198146864771843,
0.06865490227937698,
0.00577012961730361,
0.02229272946715355,
0.0007663125870749354,
-0.021219996735453606,
-0.004777013324201107,
0.05537983402609825,
-0.019996410235762596,
0.023382224142551422,
0.014238852076232433,
-0.0036099974531680346,
-0.0372774675488472,
0.041937150061130524,
-0.0347297266125679,
-0.05424005538225174,
0.04046214371919632,
-0.02584615722298622,
-0.02383478358387947,
-0.01857168786227703,
0.01157378125935793,
-0.00005594789035967551,
-0.014716553501784801,
-0.026499854400753975,
0.020549539476633072,
0.02143789455294609,
-0.10646873712539673,
0.029868904501199722,
0.0347297266125679,
0.016090992838144302,
-0.0036519011482596397,
-0.013518109917640686,
-0.07837654650211334,
0.023583361878991127,
0.04502125829458237,
0.032651305198669434,
0.03761269524693489,
-0.027203833684325218,
-0.04448489099740982,
0.015219396911561489,
-0.0009737355285324156,
0.019979650154709816,
-0.004374738782644272,
0.023583361878991127,
0.01156540121883154,
-0.032131701707839966,
-0.03156181052327156,
0.0014928167220205069,
0.05819575861096382,
0.05832984670996666,
-0.05705597996711731,
0.0026671658270061016,
-0.025611497461795807,
-0.031042207032442093,
0.07147082686424255,
0.02710326574742794,
-0.0650344267487526,
-0.02552768960595131,
-0.0486082062125206,
0.007035619113594294,
-0.04907752946019173,
-0.015286442823708057,
0.03560132160782814,
0.010559714399278164,
-0.0444178432226181,
0.043512724339962006,
0.01660221628844738,
0.007760551758110523,
0.002591739408671856,
0.0016792878741398454,
0.022376537322998047,
-0.022762050852179527,
-0.052832093089818954,
0.0073876092210412025,
0.0023822211660444736,
-0.019242145121097565,
0.03442801907658577,
-0.02313080243766308,
0.06717989593744278,
-0.0007175995851866901,
-0.041434306651353836,
-0.03347261622548103,
0.08487998694181442,
0.042674653232097626,
0.01115474570542574,
-0.0014142474392428994,
-0.012101767584681511,
0.002899731043726206,
-0.05832984670996666,
-0.019175099208950996,
0.0557485856115818,
0.006008979864418507,
0.014716553501784801,
0.019108053296804428,
-0.07214128226041794,
-0.010459145531058311,
-0.0030044899322092533,
-0.012872793711721897,
0.022443583235144615,
-0.041434306651353836,
-0.031092491000890732,
-0.03657348453998566,
-0.029718052595853806,
0.04723376780748367,
-0.00045046399463899434,
-0.056553132832050323,
-0.019627658650279045,
0.027404971420764923,
-0.05987190082669258,
-0.0064154453575611115,
0.061749182641506195,
0.061715662479400635,
0.037880878895521164,
0.04991560056805611,
0.022007783874869347,
-0.0011345406528562307,
-0.040730323642492294,
-0.002162227174267173,
0.03553427383303642,
-0.01116312574595213,
-0.06774978339672089,
-0.024421432986855507,
-0.0551786944270134,
0.019292429089546204,
-0.004714157897979021,
-0.050384920090436935,
-0.03533313795924187,
-0.0701969563961029,
-0.03110925294458866,
-0.016903923824429512,
0.039489977061748505,
-0.00223346333950758,
0.028444182127714157,
0.018906915560364723,
-0.026902128010988235,
-0.04723376780748367,
0.0493457093834877,
0.04904400557279587,
-0.03995930030941963,
-0.025376835837960243,
-0.031042207032442093,
0.010618379339575768,
-0.03365699201822281,
-0.07408561557531357,
0.026147862896323204,
-0.0070691416040062904,
0.03731098771095276,
0.02100209705531597,
0.0006337923696264625,
0.04569171369075775,
0.013040408492088318,
-0.05149117484688759,
-0.037478603422641754,
-0.0027782104443758726,
0.00930260494351387,
0.002717450261116028,
-0.006344208959490061,
0.005041006486862898,
-0.0016960492357611656,
-0.0387524738907814,
-0.0034109551925212145,
-0.034176599234342575,
0.024505240842700005,
-0.012571088038384914,
0.012261001393198967,
-0.013300211168825626,
-0.03643939271569252,
-0.04257408529520035,
-0.012076625600457191,
0.039054181426763535,
0.03674110025167465,
0.03479677066206932,
0.01582280918955803,
0.018404072150588036,
0.006612392142415047,
-0.04780365899205208,
-0.05943610519170761,
0.012462138198316097,
-0.0034591443836688995,
-0.08608680963516235,
-0.0038153252098709345,
-0.00021986309729982167,
0.0738174319267273,
0.026566898450255394,
0.0734822005033493,
-0.036607008427381516,
-0.02313080243766308,
-0.023968875408172607,
0.0032161034177988768,
0.011372644454240799,
-0.021354088559746742,
0.026047294959425926,
0.0028934453148394823,
-0.06878899037837982,
0.019325952976942062,
0.01555462647229433,
0.0064322068355977535,
-0.029299015179276466,
-0.024203535169363022,
0.005158336367458105,
-0.005460042506456375,
-0.005422329530119896,
-0.03358994796872139,
-0.0363723486661911,
-0.02393535152077675,
0.04629512503743172,
-0.0034109551925212145,
0.006381922401487827,
-0.03657348453998566,
-0.0015902426093816757,
-0.03586950525641441,
-0.0031972466967999935,
0.05719006806612015,
0.04894343763589859,
-0.037847355008125305,
0.015177493914961815,
-0.006570488680154085,
0.04119964689016342,
0.00046539216418750584,
-0.021219996735453606,
-0.018705779686570168,
0.06818558275699615,
-0.01357677485793829,
0.08313679695129395,
0.00546842347830534,
0.014238852076232433,
0.050317876040935516,
-0.02872912585735321,
0.031729426234960556,
0.01555462647229433,
0.057726435363292694,
-0.008590243756771088,
0.02996947430074215,
-0.0295169148594141,
0.04163544252514839,
-0.10606645792722702,
0.0021685126703232527,
0.03613768890500069,
-0.004412451758980751,
-0.015252919867634773,
0.01666088216006756,
0.02872912585735321,
0.05259743332862854,
-0.05266447737812996,
0.03519904613494873,
0.01620832271873951,
-0.022359775379300117,
-0.009780306369066238,
-0.03452858701348305,
0.014029334299266338,
0.035064954310655594,
-0.013878481462597847,
0.03811553865671158,
-0.016057468950748444,
0.04163544252514839,
0.017331339418888092,
-0.06278839707374573,
-0.0015190064441412687,
-0.013652201741933823,
0.05514517426490784,
-0.02308051846921444,
-0.012797367759048939,
-0.02182340808212757,
-0.04813888669013977,
-0.027756962925195694,
-0.026985935866832733,
-0.017666568979620934,
-0.03600359708070755,
0.014833884313702583,
0.01857168786227703,
0.02185693196952343,
-0.04783717915415764,
0.00689314678311348,
-0.01986231841146946,
0.04032805189490318,
-0.03509847819805145,
-0.06097815930843353,
-0.05558096989989281,
-0.040261004120111465,
-0.013174500316381454,
0.0371098518371582,
-0.022477105259895325,
0.03995930030941963,
-0.007852739654481411,
0.021136188879609108,
0.03389165177941322,
-0.050854239612817764,
-0.01478359941393137,
0.010827897116541862,
0.04344568029046059,
0.05169231444597244,
0.016124514862895012,
0.038718950003385544,
0.0568213164806366,
0.03570188954472542,
-0.006888956297188997,
-0.02871236577630043,
-0.018504641950130463,
0.011104460805654526,
-0.04703263193368912,
0.0666770488023758,
-0.08038792014122009,
-0.002378030912950635,
0.05635199695825577,
-0.05856451019644737,
0.05346902832388878,
0.01578090526163578,
0.020314877852797508,
-0.018739301711320877,
-0.06885603815317154,
-0.05055253580212593,
0.04461898282170296,
0.0541059635579586,
-0.044786594808101654,
-0.021622272208333015,
-0.02748877927660942,
-0.02224244549870491,
0.01860520988702774,
-0.03028794191777706,
0.027371449396014214,
-0.0024387910962104797,
-0.04371386393904686,
-0.02552768960595131,
0.0034884768538177013,
0.06329123675823212,
-0.0193762369453907,
-0.06838671863079071,
0.0023403174709528685,
0.00587907899171114,
-0.024119727313518524,
-0.01033343467861414,
0.01536186970770359,
0.04126669093966484,
-0.01939299888908863,
0.06329123675823212,
-0.030237657949328423,
-0.04978150874376297,
-0.02311404049396515,
0.01625860668718815,
0.0005609848303720355,
0.05306675285100937,
0.00912661012262106,
0.0007998354849405587,
-0.026416046544909477,
0.02475666254758835,
0.00304220337420702,
-0.021622272208333015,
0.032165225595235825,
-0.0059251729398965836,
0.024823708459734917,
-0.018437596037983894,
0.06570488959550858,
-0.03203113377094269,
0.025829395279288292,
-0.019627658650279045,
-0.08166179060935974,
0.029718052595853806,
-0.08011973649263382,
0.021588748320937157,
-0.03687519207596779,
0.016736308112740517,
-0.01437294390052557,
0.05668722465634346,
0.0001508530549472198,
-0.0012927268398925662,
-0.008569291792809963,
0.055279266089200974,
-0.01741514727473259,
-0.01092008501291275,
0.054876990616321564,
-0.023616883903741837,
0.011699493043124676,
-0.0082927281036973,
0.026583660393953323,
0.006092787254601717,
-0.02829332835972309,
-0.05859803035855293,
0.028628557920455933,
0.03607064113020897,
0.03077402338385582,
-0.0015032925875857472,
0.019912604242563248,
-0.009755164384841919,
0.004978151060640812,
0.007622269913554192,
0.005422329530119896,
0.054809942841529846,
0.043881479650735855,
0.019627658650279045,
0.011833583936095238,
-0.04609398916363716,
0.01116312574595213,
-0.031327150762081146,
0.03610416501760483,
0.07609698921442032,
0.003924274817109108,
-0.029651006683707237,
-0.020013172179460526,
-0.029433107003569603,
0.04317749664187431,
0.028226282447576523,
-0.018906915560364723,
-0.03110925294458866,
-0.0031050588004291058,
0.01157378125935793,
-0.07609698921442032,
0.0036623768974095583,
-0.005061957985162735,
0.01654355227947235,
0.032198745757341385,
0.0018772825133055449,
-0.01357677485793829,
0.012462138198316097,
0.054809942841529846,
-0.044719550758600235,
0.03771326318383217,
-0.011833583936095238,
0.00009939016308635473,
0.013903623446822166,
-0.12510746717453003,
0.0008396439370699227,
-0.07100150734186172,
0.015336727723479271,
-0.005313379690051079,
-0.05212811008095741,
-0.01693744584918022,
-0.03082430735230446,
-0.1082119271159172,
-0.015487580560147762,
0.04247351735830307,
0.017197247594594955,
0.01828674226999283,
-0.0034989528357982635,
-0.026131100952625275,
0.03915474936366081,
0.0068763853050768375,
0.01256270706653595,
-0.01821969635784626,
-0.005669560749083757,
-0.07743790000677109,
0.010685425251722336,
0.004508830141276121,
0.04699910804629326,
-0.030103566125035286,
0.06201736629009247,
0.00867405068129301,
-0.03127686679363251,
0.013283449225127697,
0.009721641428768635,
0.016409460455179214,
0.004366357810795307,
-0.038718950003385544,
0.03979168459773064,
0.05222868174314499,
0.027807246893644333,
0.07482311874628067,
-0.0027300212532281876,
-0.008255014196038246,
-0.015428915619850159,
0.037042807787656784,
0.04890991374850273,
-0.005589943844825029,
0.0043705482967197895,
-0.03650644049048424,
-0.009243940003216267,
-0.042339425534009933,
-0.02267824299633503,
0.014113141223788261,
0.011925771832466125,
-0.010626759380102158,
-0.03303682059049606,
0.07301288098096848,
-0.026131100952625275,
0.006218498107045889,
0.028477704152464867,
0.03627178072929382,
0.007551033515483141,
-0.02187369391322136,
0.015898235142230988,
0.0174486692994833,
0.004332834854722023,
0.07173901051282883,
-0.0023486982099711895,
0.06510147452354431,
0.03918827325105667,
-0.027438495308160782,
0.03573541343212128,
-0.008007783442735672,
-0.03156181052327156,
-0.037042807787656784,
-0.032249029725790024,
0.035064954310655594,
-0.0210188589990139,
-0.01820293627679348,
-0.023348700255155563,
-0.009679737500846386,
-0.0064992522820830345,
0.027019457891583443
] |
5,712 | simple_di | _SentinelClass | null | class _SentinelClass:
pass
| () | [
0.026343027129769325,
-0.03829527646303177,
0.05574280768632889,
0.013420519419014454,
-0.07727745920419693,
-0.054540716111660004,
-0.009453609585762024,
0.03516983240842819,
0.040802501142024994,
-0.00467528635635972,
-0.02033255808055401,
-0.020744705572724342,
0.02957150898873806,
-0.01868397369980812,
-0.05144961550831795,
0.009161672554910183,
-0.024763133376836777,
0.033624280244112015,
0.0007813610136508942,
-0.05982992798089981,
-0.026222819462418556,
0.06687076389789581,
0.036406271159648895,
0.06501610577106476,
-0.002726177219301462,
0.045851293951272964,
-0.009041463024914265,
0.009393504820764065,
0.04087119176983833,
-0.05502155423164368,
-0.06642427295446396,
-0.045095693320035934,
-0.010604185052216053,
0.009968792088329792,
0.06505045294761658,
-0.0492515005171299,
-0.0063109928742051125,
0.08579515665769577,
-0.035788051784038544,
-0.0032928783912211657,
-0.011419891379773617,
-0.0050917258486151695,
-0.029021980240941048,
-0.029313916340470314,
-0.00850481353700161,
0.019061774015426636,
0.0504879429936409,
-0.030876638367772102,
-0.005705652758479118,
0.008303034119307995,
0.0026231405790895224,
-0.0002897904778365046,
0.029863445088267326,
0.017516223713755608,
-0.025827845558524132,
0.07047704607248306,
0.019130464643239975,
0.039359986782073975,
-0.07823913544416428,
0.04698469489812851,
-0.029914963990449905,
0.05326993018388748,
0.02012648619711399,
-0.03753967210650444,
0.0445118173956871,
0.016760623082518578,
-0.06408877670764923,
0.024093395099043846,
0.012682090513408184,
0.06292102485895157,
-0.05114050582051277,
-0.039222605526447296,
-0.042245011776685715,
0.07507934421300888,
0.03369297459721565,
-0.06254322826862335,
-0.07679662108421326,
0.0009171331766992807,
0.004679579753428698,
-0.014948895201086998,
0.019061774015426636,
-0.004713925067335367,
-0.010801672004163265,
0.05763181298971176,
0.04269150272011757,
-0.013712456449866295,
0.008947012946009636,
-0.007590364199131727,
-0.008564918301999569,
0.020641667768359184,
-0.05199914425611496,
0.043687526136636734,
-0.013815492391586304,
0.02153465338051319,
0.04021862521767616,
0.04537045583128929,
0.02737339399755001,
-0.03678407147526741,
0.010303661227226257,
-0.037814438343048096,
0.0420389398932457,
0.028386587277054787,
-0.009238949976861477,
-0.011995179578661919,
0.008092667907476425,
0.009642509743571281,
0.004765443503856659,
-0.018907219171524048,
-0.032834336161613464,
0.004778323229402304,
0.001789187896065414,
0.005641254596412182,
-0.055983226746320724,
0.033521246165037155,
-0.013437692075967789,
-0.041420720517635345,
-0.03231915086507797,
0.039978206157684326,
0.04396228864789009,
0.006173610687255859,
0.030052345246076584,
0.007727745920419693,
-0.1154010072350502,
0.03668103367090225,
0.0640200823545456,
-0.02945129945874214,
0.041523754596710205,
0.03264543414115906,
0.053716421127319336,
-0.004696752410382032,
0.06573735922574997,
0.006001882720738649,
-0.05680752173066139,
0.002906491281464696,
-0.015412560664117336,
0.04887370020151138,
-0.008354552090168,
0.031975697726011276,
-0.06274929642677307,
-0.01229570247232914,
-0.01579894684255123,
0.02452271431684494,
0.022049834951758385,
0.02306302823126316,
-0.006216542329639196,
0.04777464270591736,
-0.06274929642677307,
0.053098201751708984,
-0.0018321197712793946,
0.007062301505357027,
-0.011505755595862865,
-0.03297171741724014,
-0.03314344584941864,
0.07817044854164124,
-0.07253777980804443,
0.025673290714621544,
-0.0009718714281916618,
0.010775912553071976,
-0.004932878073304892,
-0.04976668581366539,
0.0058473278768360615,
-0.04705338925123215,
0.010732980445027351,
-0.048805009573698044,
-0.03802051022648811,
-0.010363765992224216,
-0.03384752944111824,
-0.03462030366063118,
0.037814438343048096,
0.04454616457223892,
-0.03990951552987099,
-0.009943033568561077,
-0.035118311643600464,
-0.014064498245716095,
0.006542825140058994,
0.066492959856987,
0.0016689784824848175,
0.017353083938360214,
0.01940522901713848,
0.031220095232129097,
0.046572551131248474,
-0.0160050205886364,
-0.059452127665281296,
-0.008736646734178066,
0.060276418924331665,
0.03101402148604393,
-0.012742194347083569,
-0.027081457898020744,
-0.003185548586770892,
0.026411719620227814,
-0.005452354438602924,
-0.024230778217315674,
0.004786909557878971,
0.035118311643600464,
0.03489506617188454,
0.0010518321068957448,
-0.02294282056391239,
0.026222819462418556,
-0.020761877298355103,
0.0017001040978357196,
-0.057975269854068756,
0.06116940453648567,
0.0420389398932457,
-0.05193045362830162,
0.007822195999324322,
0.025793500244617462,
0.03650930896401405,
0.0024320934899151325,
-0.08737505227327347,
-0.018615281209349632,
-0.007749211974442005,
-0.02033255808055401,
-0.010758739896118641,
0.034156639128923416,
0.03812354803085327,
-0.036474961787462234,
0.07817044854164124,
-0.002060732338577509,
-0.052995163947343826,
0.05045359581708908,
0.04557652771472931,
-0.027854232117533684,
-0.023543866351246834,
0.02800878696143627,
-0.015730256214737892,
-0.001258978620171547,
-0.03808920085430145,
-0.03417380899190903,
0.04093988239765167,
-0.052376944571733475,
-0.016331303864717484,
-0.0006203663069754839,
-0.00796816498041153,
-0.03881045803427696,
0.049560610204935074,
0.011007744818925858,
0.019353710114955902,
0.007362824864685535,
-0.025484388694167137,
0.02153465338051319,
-0.029176535084843636,
0.0034560197964310646,
-0.02101946994662285,
-0.00007130724407033995,
0.08139892667531967,
0.03242218866944313,
-0.018306171521544456,
0.06786678731441498,
-0.006452667992562056,
0.00811842642724514,
0.03369297459721565,
-0.04025297239422798,
0.005709945689886808,
-0.02318323776125908,
0.09108436852693558,
-0.02306302823126316,
-0.04238239303231239,
0.026274336501955986,
0.042176321148872375,
0.019611302763223648,
-0.02826637774705887,
0.028661351650953293,
0.018649626523256302,
0.047190770506858826,
-0.06752333045005798,
0.029125016182661057,
-0.01549842394888401,
0.01588481105864048,
-0.0007373557891696692,
0.013566487468779087,
0.1280401647090912,
0.008543452247977257,
0.0005538217956200242,
0.04035600647330284,
-0.0017365962266921997,
-0.04348145052790642,
-0.05275474861264229,
-0.0008790311403572559,
-0.03374449163675308,
-0.01692376472055912,
0.0638483539223671,
0.02730470336973667,
0.03984082490205765,
0.0244540236890316,
-0.032095905393362045,
0.0037715693470090628,
-0.03523852303624153,
-0.031185748055577278,
0.014339262619614601,
-0.03537590429186821,
0.0009498688159510493,
0.020572977140545845,
0.05247998237609863,
0.021105334162712097,
0.0605168379843235,
0.002339789876714349,
-0.038501348346471786,
0.033572763204574585,
0.04464919865131378,
-0.026806693524122238,
0.028627006337046623,
-0.05759746953845024,
-0.05721966549754143,
0.012244184501469135,
-0.012003765441477299,
-0.007272667717188597,
0.013128582388162613,
0.06000165641307831,
0.02387014962732792,
0.030086692422628403,
0.0115229282528162,
0.027218839153647423,
-0.010389525443315506,
-0.021088160574436188,
0.0027841352857649326,
-0.0155241833999753,
0.02156899869441986,
-0.004713925067335367,
-0.03329800069332123,
0.08181107044219971,
-0.023440830409526825,
0.024694442749023438,
-0.009968792088329792,
0.006366804242134094,
-0.007774971425533295,
0.00022244102729018778,
0.0023312033154070377,
0.0010518321068957448,
-0.0503162145614624,
-0.006156437564641237,
-0.019679993391036987,
-0.06752333045005798,
0.013798319734632969,
-0.007186803966760635,
-0.005138951353728771,
0.0090586356818676,
0.011720415204763412,
-0.01088753528892994,
0.02160334400832653,
-0.055948883295059204,
0.024728788062930107,
-0.01334324199706316,
-0.026858210563659668,
0.03316061571240425,
0.026463236659765244,
0.01437360793352127,
-0.024883342906832695,
-0.020641667768359184,
0.04114595428109169,
0.024350985884666443,
-0.006122092250734568,
-0.015987848863005638,
0.016090884804725647,
-0.008491934277117252,
0.10207494348287582,
-0.046538203954696655,
0.0027734022587537766,
-0.009256122633814812,
0.008564918301999569,
-0.038673076778650284,
0.01875266432762146,
0.010252143256366253,
-0.04035600647330284,
-0.02091643214225769,
-0.032233286648988724,
-0.017739471048116684,
-0.030498838052153587,
0.009256122633814812,
-0.0047997888177633286,
-0.04392794519662857,
-0.03592543303966522,
-0.07659055292606354,
-0.04131768271327019,
-0.05677317455410957,
0.015507010743021965,
-0.01729297824203968,
-0.014682717621326447,
0.027253184467554092,
-0.042279358953237534,
0.018340516835451126,
-0.01159161888062954,
0.025484388694167137,
-0.049388885498046875,
-0.021483134478330612,
0.030533183366060257,
-0.0047997888177633286,
0.008573505096137524,
0.04832417145371437,
0.049320194870233536,
0.05897128954529762,
0.014012979343533516,
-0.05337296798825264,
-0.0006107066292315722,
-0.040115587413311005,
-0.03960040584206581,
0.004115025047212839,
-0.03987516835331917,
-0.004046333953738213,
-0.0016346329357475042,
0.019989103078842163,
0.06292102485895157,
0.03973778709769249,
0.0014832979068160057,
0.03018972836434841,
0.04746553301811218,
-0.004988689441233873,
0.034259673207998276,
-0.08043725043535233,
-0.008543452247977257,
-0.024711614474654198,
-0.0023827217519283295,
-0.02237611822783947,
-0.028661351650953293,
-0.06917191296815872,
0.01219266653060913,
-0.0010491488501429558,
0.05484982579946518,
0.017284391447901726,
0.06505045294761658,
-0.036474961787462234,
-0.02593088150024414,
-0.010561252944171429,
0.06989317387342453,
0.05278909206390381,
-0.03168375790119171,
0.02029821276664734,
-0.022874128073453903,
-0.05563977360725403,
-0.02948564477264881,
0.022221563383936882,
-0.056498412042856216,
-0.037230562418699265,
-0.014905964024364948,
-0.002552302787080407,
0.017687952145934105,
-0.06559997797012329,
-0.03908522427082062,
-0.05574280768632889,
-0.05780354142189026,
0.033486898988485336,
-0.03393339365720749,
0.007809316739439964,
0.017078319564461708,
0.05144961550831795,
0.03321213647723198,
-0.03187265992164612,
-0.045198727399110794,
0.03674972429871559,
0.058799561113119125,
-0.0024943447206169367,
-0.05055663362145424,
-0.053098201751708984,
-0.005611202213913202,
0.04375621676445007,
0.016966696828603745,
-0.07171348482370377,
-0.0912904441356659,
-0.02672082930803299,
0.0044091083109378815,
-0.042245011776685715,
-0.06693945080041885,
0.020555805414915085,
-0.03328082710504532,
-0.013961461372673512,
0.007371411193162203,
0.0517243817448616,
-0.013970048166811466,
-0.021053815260529518,
-0.024900514632463455,
-0.03523852303624153,
0.005280626472085714,
-0.013935701921582222,
-0.016047952696681023,
-0.05481547862291336,
-0.021397270262241364,
0.010690049268305302,
-0.039978206157684326,
-0.0002665804058779031,
0.024196431040763855,
-0.02153465338051319,
0.010114761069417,
0.03109988570213318,
0.024900514632463455,
-0.01511203683912754,
-0.0078737149015069,
-0.047190770506858826,
0.020452767610549927,
-0.05114050582051277,
0.03778009116649628,
0.02167203463613987,
-0.013901356607675552,
0.03970344364643097,
-0.024213604629039764,
0.015412560664117336,
0.037230562418699265,
0.014682717621326447,
-0.016597481444478035,
0.043584488332271576,
0.04114595428109169,
-0.05333862081170082,
0.019233500584959984,
-0.0018224600935354829,
-0.06621819734573364,
-0.01938805729150772,
0.04111161082983017,
-0.0768653154373169,
-0.04251977801322937,
0.01799706183373928,
-0.022753918543457985,
0.007341358810663223,
0.06412312388420105,
0.027974441647529602,
0.020504286512732506,
0.01511203683912754,
0.04842720925807953,
0.013137168250977993,
-0.01685507223010063,
-0.03443140164017677,
0.0416954830288887,
0.07061442732810974,
-0.004385496024042368,
0.021053815260529518,
0.03403642773628235,
-0.0015938476426526904,
-0.010715807788074017,
0.00009196822793455794,
0.009041463024914265,
-0.006031935103237629,
0.027236012741923332,
0.05776919424533844,
-0.00449926545843482,
-0.014536749571561813,
-0.029983654618263245,
0.03379600867629051,
0.014270571060478687,
0.02089926041662693,
-0.004752563778311014,
0.007878008298575878,
0.09438154101371765,
-0.008929840289056301,
-0.0009520153980702162,
-0.008539159782230854,
0.029073499143123627,
0.03302323445677757,
0.004007695242762566,
-0.022771092131733894,
-0.06862238794565201,
0.04251977801322937,
-0.05546804517507553,
0.009436436928808689,
-0.009436436928808689,
-0.03750532865524292,
0.023337792605161667,
-0.011153713800013065,
0.028335068374872208,
-0.07075180858373642,
0.022101353853940964,
0.08675683289766312,
0.04818679019808769,
0.08524562418460846,
-0.05179307237267494,
0.02311454713344574,
0.06529086828231812,
-0.050110138952732086,
-0.018529418855905533,
-0.034311193972826004,
-0.011540100909769535,
-0.00869800802320242,
0.0230458565056324,
0.03558197617530823,
-0.0031404702458530664,
-0.021053815260529518,
0.023956013843417168,
0.03609716147184372,
-0.008268688805401325,
0.05433464050292969,
-0.007040835451334715,
0.03661234304308891,
-0.020452767610549927,
-0.10028897225856781,
-0.008449002169072628,
0.0011881409445777535,
-0.019250674173235893,
-0.0881306529045105,
-0.047946371138095856,
-0.062371496111154556,
-0.03328082710504532,
-0.008723766542971134,
-0.05601757392287254,
0.043584488332271576,
0.00001844731013989076,
0.06364228576421738,
0.02958868071436882,
-0.020572977140545845,
0.022668056190013885,
-0.007474447600543499,
0.05632668361067772,
-0.019027428701519966,
0.032782815396785736,
0.008208584040403366,
-0.04403097927570343,
0.08016248792409897,
-0.00790806021541357,
-0.012621985748410225,
0.08449002355337143,
-0.03410511836409569,
-0.030670566484332085,
0.003932564053684473,
-0.03231915086507797,
-0.04640082269906998,
-0.0013587953289970756,
0.011625965125858784,
0.037093181163072586,
0.05035055801272392,
-0.008826803416013718,
0.0016196067444980145,
-0.012948268093168736,
-0.005864500533789396,
-0.025535907596349716,
0.040459044277668,
-0.05117485299706459,
-0.015824707224965096,
-0.006989317014813423,
-0.010552667081356049,
-0.03176962211728096,
0.015704497694969177,
0.010226383805274963,
-0.017490465193986893,
0.005907432641834021,
-0.017911197617650032,
-0.022187218070030212,
-0.007646175567060709,
0.00903287623077631,
-0.07398028671741486,
-0.013824079185724258,
0.014236225746572018,
-0.015335283242166042,
-0.0014199733268469572,
0.019817376509308815,
0.019130464643239975,
-0.026514755561947823,
-0.022118527442216873,
0.017172768712043762,
0.05320123955607414,
-0.07040835171937943,
-0.06759201735258102,
0.023973185569047928,
-0.029125016182661057,
0.001783821382559836,
-0.0258621908724308,
-0.030533183366060257,
0.047328151762485504,
-0.0017333764117211103,
0.0035590564366430044,
-0.05533066391944885,
-0.02962302602827549,
-0.041489411145448685,
0.01625402644276619,
0.035083968192338943,
-0.05962385609745979,
-0.02247915416955948,
0.017052559182047844,
-0.024144914001226425,
-0.013454864732921124,
0.06353924423456192,
0.047190770506858826,
-0.0014908110024407506,
-0.009977378882467747,
0.019319364801049232,
-0.015841878950595856,
-0.010647117160260677,
0.016279784962534904,
-0.006809003185480833,
-0.0691375657916069,
-0.05539935454726219,
-0.07803305983543396,
-0.024745959788560867,
-0.018374862149357796,
0.019147638231515884,
-0.020761877298355103,
-0.0450269989669323,
0.0020231669768691063,
-0.04265715926885605,
-0.016983868554234505,
-0.016666172072291374,
0.06082594767212868,
-0.02950281836092472,
-0.03736794739961624,
0.05151830613613129,
-0.04111161082983017,
0.02167203463613987,
-0.014356435276567936,
0.0027776954229921103,
0.0682445839047432,
0.009599577635526657,
-0.01188355591148138,
-0.04605736583471298,
-0.05110616236925125,
-0.045130036771297455,
-0.014837272465229034,
0.05182741582393646,
0.04052773490548134,
-0.03726490959525108,
-0.0022324600722640753,
0.008268688805401325,
0.021809417754411697,
-0.018374862149357796,
0.004816961940377951,
0.012123974971473217,
0.013884183950722218,
0.02967454493045807,
0.06230280548334122,
0.02732187509536743,
-0.052342601120471954,
-0.003915391396731138,
-0.012776540592312813,
0.018340516835451126,
0.002588795032352209,
-0.029846273362636566,
0.009977378882467747,
0.017147010192275047,
-0.020074967294931412,
-0.01744753308594227,
0.019817376509308815,
0.041352029889822006,
0.0029021978843957186,
-0.02890177071094513,
-0.06274929642677307,
-0.014064498245716095,
0.0534760020673275,
0.024728788062930107,
0.020761877298355103,
-0.052308253943920135,
0.08421526104211807,
0.029760409146547318,
-0.02807747758924961,
-0.03585674241185188,
0.03616585209965706,
-0.024900514632463455,
0.039222605526447296,
-0.05196480080485344,
-0.04918280988931656,
0.027991613373160362,
0.008165651932358742,
-0.014656958170235157,
-0.001963062211871147,
0.03946302458643913,
0.07294992357492447,
-0.006306699477136135,
0.05323558300733566,
0.020744705572724342,
0.005297799129039049,
0.008766698651015759,
-0.00611779885366559,
-0.0018396328669041395,
-0.0289361160248518,
0.017687952145934105,
0.014948895201086998,
-0.0009369892068207264,
0.011763347312808037,
-0.0031361770816147327,
-0.03826092928647995,
0.041523754596710205,
0.03388187289237976,
0.02606826275587082,
0.0275279488414526,
0.03592543303966522,
0.004507851786911488
] |
5,713 | simple_di | _inject | null | def _inject(func: WrappedCallable, squeeze_none: bool) -> WrappedCallable:
if getattr(func, "_is_injected", False):
return func
sig = inspect.signature(func)
@functools.wraps(func)
def _(
*args: Optional[Union[Any, _SentinelClass]],
**kwargs: Optional[Union[Any, _SentinelClass]]
) -> Any:
if not squeeze_none:
filtered_args = tuple(a for a in args if not isinstance(a, _SentinelClass))
filtered_kwargs = {
k: v for k, v in kwargs.items() if not isinstance(v, _SentinelClass)
}
else:
filtered_args = tuple(a for a in args if a is not None)
filtered_kwargs = {k: v for k, v in kwargs.items() if v is not None}
bind = sig.bind_partial(*filtered_args, **filtered_kwargs)
bind.apply_defaults()
return func(*_inject_args(bind.args), **_inject_kwargs(bind.kwargs))
setattr(_, "_is_injected", True)
return cast(WrappedCallable, _)
| (func: ~WrappedCallable, squeeze_none: bool) -> ~WrappedCallable | [
-0.03545458987355232,
-0.08985599875450134,
0.04086291417479515,
0.01836356893181801,
-0.004909028764814138,
0.0327150784432888,
0.018257522955536842,
-0.028526274487376213,
0.03153090178966522,
0.013282215222716331,
-0.013211517594754696,
-0.014864061959087849,
-0.019653789699077606,
-0.03564900532364845,
-0.03517179936170578,
0.03647969663143158,
0.014165928587317467,
0.0333513505756855,
0.026051877066493034,
-0.05935020372271538,
0.05935020372271538,
0.013785932213068008,
0.021403543651103973,
-0.005585069768130779,
-0.025716064497828484,
-0.006795757450163364,
0.0424889475107193,
0.030753232538700104,
0.040968962013721466,
0.005814835429191589,
0.058219049125909805,
-0.04726100340485573,
-0.002540676621720195,
0.0073259854689240456,
0.017046835273504257,
-0.015385453589260578,
0.041746631264686584,
0.04634194076061249,
-0.009623641148209572,
-0.05524977296590805,
-0.035083428025245667,
-0.026370013132691383,
0.024019334465265274,
-0.013388261198997498,
-0.02529188245534897,
0.009172947145998478,
0.02923324517905712,
0.0205905269831419,
-0.0326797291636467,
0.05224514752626419,
0.018593333661556244,
-0.02497374638915062,
0.05563860759139061,
-0.006035763770341873,
0.05471954494714737,
0.012336641550064087,
0.055285122245550156,
-0.009765035472810268,
-0.03262670710682869,
0.003607760649174452,
-0.027890000492334366,
-0.0021109709050506353,
0.017373809590935707,
0.013441283255815506,
0.05747673287987709,
0.013185006566345692,
-0.07557518780231476,
0.011011071503162384,
-0.023506781086325645,
-0.0012880124850198627,
-0.027890000492334366,
-0.03191973268985748,
-0.001322256401181221,
0.01862868294119835,
-0.03131880983710289,
-0.032326243817806244,
0.02615792118012905,
-0.06391016393899918,
0.07960491627454758,
-0.03379320725798607,
0.00383973540738225,
-0.0588199757039547,
-0.04627124220132828,
0.06458178907632828,
0.019936578348279,
-0.04460986331105232,
-0.04662472754716873,
0.01843426562845707,
0.018416590988636017,
0.052527934312820435,
-0.05415396764874458,
0.04616519808769226,
0.005638092756271362,
0.0002999102871399373,
0.035984817892313004,
0.014174765907227993,
0.025857459753751755,
0.007754586637020111,
0.052916768938302994,
0.03888339921832085,
0.017099857330322266,
0.04542287811636925,
0.031018346548080444,
0.015261733904480934,
0.03230856731534004,
-0.024867700412869453,
0.0012128968955948949,
0.019706813618540764,
-0.0313895046710968,
0.041357796639204025,
0.029851844534277916,
-0.03340437263250351,
-0.03250298649072647,
-0.008611788973212242,
-0.0004780338204000145,
-0.06009252369403839,
-0.004440660588443279,
0.006557154934853315,
0.020767269656062126,
0.04263034462928772,
0.00012993351265322417,
-0.005598325747996569,
-0.05995113030076027,
-0.04853355139493942,
0.04132244735956192,
0.04149919003248215,
0.005571814253926277,
0.051043298095464706,
0.013768257573246956,
-0.04916982352733612,
0.05210375413298607,
0.0002464732388034463,
-0.034942034631967545,
0.034553200006484985,
0.007423194125294685,
0.019583093002438545,
-0.00895643699914217,
0.03176066651940346,
-0.06497061997652054,
-0.00012841462739743292,
-0.0523158423602581,
-0.0050857714377343655,
-0.027536515146493912,
0.06578364223241806,
0.03374018520116806,
0.008483650162816048,
0.01778915524482727,
-0.028791388496756554,
0.02836720645427704,
-0.030841603875160217,
0.026140248402953148,
-0.027094658464193344,
-0.024090033024549484,
0.044680558145046234,
-0.0777667984366417,
0.008792949840426445,
0.03771689534187317,
0.016101261600852013,
-0.003466366557404399,
-0.03568435460329056,
0.028809063136577606,
-0.02340073511004448,
0.031142067164182663,
-0.01757706329226494,
-0.010436657816171646,
-0.003265321720391512,
0.0001594826899236068,
-0.007675052620470524,
0.052139099687337875,
0.08222071081399918,
0.008563184179365635,
0.015712426975369453,
0.041357796639204025,
0.009658989496529102,
0.0020248086657375097,
0.04973540082573891,
-0.0418526753783226,
-0.07394915074110031,
-0.027677908539772034,
0.0034243902191519737,
0.004405312240123749,
-0.04015594348311424,
-0.04086291417479515,
0.04047408327460289,
0.039908505976200104,
0.022463999688625336,
0.02196911908686161,
-0.038282472640275955,
-0.02511513978242874,
-0.04072152078151703,
-0.009729686193168163,
0.05330560356378555,
0.03352809324860573,
0.0027991628739982843,
-0.037363409996032715,
0.009252481162548065,
-0.05570930242538452,
0.028137439861893654,
0.009181784465909004,
-0.03895409405231476,
-0.044291723519563675,
0.0031570668797940016,
0.060375310480594635,
-0.012504546903073788,
-0.03708062320947647,
0.00740551995113492,
-0.0003899386210832745,
0.0496647022664547,
-0.03831782191991806,
-0.04026199132204056,
0.04810936748981476,
-0.021138429641723633,
0.0037447363138198853,
0.004506939090788364,
-0.00810365378856659,
-0.01209803856909275,
0.0653948038816452,
-0.024797003716230392,
0.04581171274185181,
0.03711596876382828,
0.03172531723976135,
-0.031142067164182663,
0.016764046624302864,
0.04878098890185356,
0.03700992465019226,
0.004345661494880915,
0.03442947939038277,
-0.04973540082573891,
0.050901900976896286,
-0.04669542610645294,
-0.03771689534187317,
0.07663564383983612,
-0.007754586637020111,
0.029392313212156296,
0.028879759833216667,
-0.042206160724163055,
-0.0004981935489922762,
-0.04503404349088669,
0.036833181977272034,
-0.00585018377751112,
0.013131983578205109,
0.012672453187406063,
-0.030293701216578484,
0.03564900532364845,
-0.0038353169802576303,
0.02536257915198803,
-0.04411498084664345,
0.06981337070465088,
-0.0014592320658266544,
0.025221185758709908,
-0.016551954671740532,
-0.0025318393018096685,
0.0040496173314750195,
0.011444090865552425,
0.007007848471403122,
0.02066122367978096,
-0.02138586901128292,
0.0007439763867296278,
-0.0496647022664547,
-0.003446483053267002,
-0.019830532371997833,
-0.015358941629529,
0.002030331874266267,
0.03039974719285965,
-0.018027756363153458,
-0.009102249518036842,
-0.01133804488927126,
-0.061612509191036224,
0.05153817683458328,
0.04885168746113777,
0.009800383821129799,
0.017347296699881554,
0.04224151000380516,
0.0014824295649304986,
0.003636481473222375,
-0.03849456459283829,
0.016896603628993034,
-0.020555177703499794,
0.01804543100297451,
-0.002234690822660923,
0.053906530141830444,
-0.009367363527417183,
-0.03191973268985748,
-0.01693195290863514,
0.008572021499276161,
0.056062787771224976,
-0.02400166168808937,
-0.0053022815845906734,
0.009924103505909443,
-0.02529188245534897,
0.03262670710682869,
0.0063362265937030315,
0.10929769277572632,
0.035277847200632095,
-0.021262148395180702,
0.03711596876382828,
-0.06391016393899918,
-0.009172947145998478,
0.018451940268278122,
-0.06447574496269226,
0.0015884751919656992,
-0.06949523836374283,
-0.05125538632273674,
-0.010277588851749897,
0.08808857202529907,
-0.02182772569358349,
-0.0170026496052742,
0.02013099566102028,
-0.058678582310676575,
0.010383634828031063,
0.048816338181495667,
0.015721265226602554,
-0.045599620789289474,
-0.03884804993867874,
0.0804532840847969,
-0.011753390543162823,
0.027677908539772034,
0.0008478127419948578,
-0.03243228793144226,
0.04238290339708328,
0.024620261043310165,
-0.035083428025245667,
-0.009482246823608875,
0.048392154276371,
-0.002699744887650013,
0.008430627174675465,
0.03515412658452988,
-0.018593333661556244,
-0.036055512726306915,
0.000013376524293562397,
-0.05411861836910248,
0.004506939090788364,
-0.004630659241229296,
-0.0005614343099296093,
-0.04008524864912033,
-0.016437072306871414,
0.004394265823066235,
-0.011629670858383179,
0.015730101615190506,
-0.003618807066231966,
-0.004966470412909985,
-0.000004776713467435911,
-0.021527262404561043,
0.06313249468803406,
-0.023842591792345047,
0.0005893264897167683,
-0.04224151000380516,
-0.002984742633998394,
0.04856889694929123,
0.010860839858651161,
0.08073607087135315,
-0.1098632737994194,
0.015279407612979412,
-0.030558815225958824,
0.05616883561015129,
0.02824348583817482,
0.0024766072165220976,
0.031142067164182663,
0.0015752194449305534,
-0.1209627166390419,
0.006322970613837242,
-0.033103909343481064,
-0.009623641148209572,
0.02378956973552704,
0.036055512726306915,
0.06564224511384964,
0.01804543100297451,
-0.047826580703258514,
-0.010410145856440067,
0.01896449364721775,
-0.0034884593915194273,
-0.05061911419034004,
0.014704993925988674,
-0.01395383756607771,
-0.058749277144670486,
-0.01836356893181801,
-0.0014271974796429276,
0.014042208902537823,
-0.028420228511095047,
0.03386390581727028,
0.004931121598929167,
-0.017108695581555367,
0.006716223433613777,
-0.054754894226789474,
0.014908247627317905,
-0.0027571863029152155,
-0.008974111638963223,
-0.026688149198889732,
0.007330404128879309,
-0.017965897917747498,
0.0037491549737751484,
-0.023064924404025078,
-0.006915058940649033,
0.005978322587907314,
-0.015518010593950748,
-0.016569629311561584,
0.016551954671740532,
0.014006860554218292,
-0.001565277692861855,
0.021544937044382095,
0.0634506344795227,
-0.05185631290078163,
0.11862970888614655,
0.031866710633039474,
0.04450381547212601,
0.022711439058184624,
-0.004595310427248478,
-0.002302073873579502,
0.039837807416915894,
0.05341164767742157,
-0.010604563169181347,
-0.00846155732870102,
-0.010913862846791744,
-0.03294484317302704,
0.008655974641442299,
-0.0019530069548636675,
-0.032785773277282715,
-0.009252481162548065,
-0.03817642480134964,
-0.06313249468803406,
0.03117741458117962,
-0.07338357716798782,
-0.01935332827270031,
0.05146747827529907,
0.004098221659660339,
0.03888339921832085,
-0.024302123114466667,
-0.022570045664906502,
0.007635285146534443,
-0.012548732571303844,
-0.05199770629405975,
-0.04878098890185356,
-0.02099703438580036,
0.008929925970733166,
-0.012725475244224072,
-0.018946819007396698,
-0.007882725447416306,
0.03326297923922539,
0.004643914755433798,
0.06889431178569794,
0.0031172996386885643,
0.021403543651103973,
-0.00876201968640089,
0.012089202180504799,
-0.011002234183251858,
-0.007135987281799316,
0.005509953945875168,
0.09006808698177338,
0.0007760109729133546,
-0.020095646381378174,
0.08186722546815872,
-0.005514372605830431,
-0.014554762281477451,
0.02773093245923519,
0.03568435460329056,
-0.03368716314435005,
-0.007445286959409714,
-0.012442687526345253,
-0.01974216103553772,
-0.006066693924367428,
-0.022835159674286842,
0.002960440469905734,
-0.01836356893181801,
-0.038742002099752426,
0.009924103505909443,
-0.020890988409519196,
-0.011461765505373478,
-0.05440140888094902,
-0.0424889475107193,
0.01494359690696001,
0.06815198808908463,
-0.05072515830397606,
0.009172947145998478,
-0.020502155646681786,
0.029763473197817802,
0.0418526753783226,
0.011311533860862255,
0.01935332827270031,
0.025185836479067802,
0.05235119163990021,
-0.02529188245534897,
0.06588968634605408,
-0.027943022549152374,
-0.018345894291996956,
-0.010931536555290222,
0.030823929235339165,
0.002648931462317705,
-0.016781721264123917,
0.08448302000761032,
0.060127872973680496,
-0.04595310613512993,
0.08158443868160248,
0.03430576249957085,
-0.04202941805124283,
-0.02654675580561161,
-0.016313353553414345,
-0.006172739434987307,
0.022958878427743912,
0.06723292917013168,
-0.02032541297376156,
-0.042206160724163055,
-0.00032863099477253854,
-0.015120339579880238,
0.02000727504491806,
0.030647186562418938,
-0.11947807669639587,
0.0019209723686799407,
0.03711596876382828,
-0.062072042375802994,
0.032538335770368576,
0.047967974096536636,
0.02269376441836357,
0.0007428717217408121,
-0.02446119114756584,
0.027041636407375336,
-0.020749595016241074,
0.025397928431630135,
-0.013335238210856915,
-0.05058376491069794,
-0.055214423686265945,
0.02773093245923519,
0.07698912918567657,
-0.010913862846791744,
-0.001596207614056766,
0.028561623767018318,
-0.03209647536277771,
0.05896136909723282,
-0.027112333104014397,
-0.026705823838710785,
-0.02988719381392002,
-0.0267941951751709,
0.009650152176618576,
-0.030894625931978226,
0.0021164941135793924,
0.023648174479603767,
0.02255237102508545,
-0.028685342520475388,
-0.037893638014793396,
0.019565418362617493,
-0.048356808722019196,
-0.029728123918175697,
0.018611008301377296,
0.009667826816439629,
0.008275977335870266,
-0.001760799321345985,
0.004847168922424316,
-0.04033268615603447,
-0.00585018377751112,
-0.07034359872341156,
-0.01183292455971241,
-0.06019856780767441,
-0.016163121908903122,
0.03430576249957085,
0.023524455726146698,
-0.013936162926256657,
-0.05461350083351135,
-0.0020137622486799955,
0.03824712336063385,
-0.07472681999206543,
0.06352133303880692,
0.020095646381378174,
0.016631489619612694,
0.06518271565437317,
-0.00758668128401041,
-0.03287414461374283,
-0.040827568620443344,
0.08808857202529907,
-0.0021054476965218782,
-0.007701563648879528,
-0.005615999922156334,
-0.011311533860862255,
0.02073192037642002,
-0.07317148149013519,
0.0033338095527142286,
-0.03504807874560356,
0.04033268615603447,
0.025592345744371414,
-0.08681602030992508,
0.013821280561387539,
-0.05061911419034004,
-0.021597959101200104,
-0.03177833929657936,
-0.01248687319457531,
-0.008912251330912113,
-0.04202941805124283,
0.01869937963783741,
-0.021103080362081528,
0.0366210900247097,
-0.07543379068374634,
0.013918489217758179,
-0.005916462279856205,
-0.006424597930163145,
-0.01875240169465542,
-0.004864843096584082,
0.04885168746113777,
-0.037681546062231064,
-0.038812700659036636,
0.030647186562418938,
0.04962935298681259,
-0.055214423686265945,
-0.0594915971159935,
0.0064599462784826756,
-0.04093361273407936,
-0.005143213085830212,
0.03863595798611641,
-0.02962207980453968,
-0.07946352660655975,
0.03151322528719902,
-0.02105005830526352,
-0.04747309535741806,
-0.025450950488448143,
-0.004025315400213003,
0.028950456529855728,
-0.003970083314925432,
-0.007493891287595034,
0.007785516791045666,
-0.039908505976200104,
0.004807401914149523,
0.045210786163806915,
0.02189842239022255,
-0.03441180661320686,
0.0002333556185476482,
-0.033757857978343964,
-0.011417579837143421,
0.0032145080622285604,
-0.03757550194859505,
-0.026334663853049278,
-0.037822939455509186,
0.022075165063142776,
0.03582574799656868,
-0.03722201660275459,
0.05517907440662384,
0.05203305557370186,
0.015659404918551445,
-0.0163487009704113,
0.008452720008790493,
0.020820291712880135,
0.03750480338931084,
-0.0089917853474617,
-0.027342097833752632,
0.07105056941509247,
-0.016764046624302864,
0.006817850284278393,
-0.0116031588986516,
0.061824601143598557,
-0.010631074197590351,
-0.044963348656892776,
-0.015942193567752838,
0.019724486395716667,
-0.0588199757039547,
-0.006411341950297356,
0.0549316368997097,
0.008819461800158024,
0.04273638874292374,
0.00849690567702055,
-0.03898944333195686,
0.028932781890034676,
-0.004115895833820105,
0.075857974588871,
-0.02294120378792286,
0.03665643930435181,
-0.0006616805330850184,
0.019070539623498917,
0.008938763290643692,
-0.02555699646472931,
0.0007141510141082108,
-0.02439049445092678,
-0.09275458008050919,
0.0673743262887001,
-0.045528922230005264,
-0.037434108555316925,
-0.022640742361545563,
-0.037292711436748505,
-0.03515412658452988,
-0.022570045664906502,
-0.05903206765651703,
-0.029374638572335243,
0.04630659148097038,
-0.03034672513604164,
0.0033117167185992002,
-0.03761085122823715,
-0.03785828873515129,
-0.019795184955000877,
0.01395383756607771,
-0.07239381968975067,
-0.021739354357123375,
-0.020643549039959908,
-0.040438733994960785,
0.02622861973941326,
-0.02902115322649479,
0.046200547367334366,
-0.04948795959353447,
0.037893638014793396,
0.01974216103553772,
0.028614645823836327,
-0.04977075010538101,
-0.03303321450948715,
-0.06967198103666306,
0.006451108958572149,
-0.016136610880494118,
0.017806828022003174,
0.036833181977272034,
-0.02562769316136837,
-0.030240679159760475,
0.026175595819950104,
0.005859021097421646,
-0.01831054501235485,
-0.019176585599780083,
0.0287737138569355,
0.009005041792988777,
0.0027704420499503613,
0.006870873272418976,
0.022835159674286842,
0.03275042399764061,
-0.02046680636703968,
-0.0145459258928895,
0.00823179166764021,
-0.008929925970733166,
-0.005903206765651703,
0.0036762484814971685,
0.02150958776473999,
-0.04008524864912033,
0.013388261198997498,
0.004087175242602825,
0.042135462164878845,
-0.016498932614922523,
-0.00004280487701180391,
-0.0075424956157803535,
0.043832194060087204,
-0.015031968243420124,
0.0601632222533226,
-0.016260329633951187,
-0.024090033024549484,
0.026529081165790558,
0.02686489373445511,
-0.05669906362891197,
0.006773664616048336,
0.028809063136577606,
-0.10696469247341156,
-0.12138690054416656,
0.008854810148477554,
-0.03066486120223999,
0.05500233173370361,
0.02582211047410965,
0.10943908989429474,
0.010569214820861816,
0.04602380469441414,
-0.013573840260505676,
0.0011908040614798665,
-0.009685500524938107,
-0.015800798311829567,
0.10321774333715439,
-0.0006058961153030396,
0.022517021745443344,
0.05415396764874458,
-0.028031393885612488,
-0.020484481006860733,
0.049063779413700104,
-0.039908505976200104,
-0.04330196604132652,
-0.03430576249957085,
-0.02407235838472843,
0.05125538632273674,
-0.05973903834819794,
0.053517695516347885,
0.036196909844875336,
0.009217132814228535,
0.042913131415843964
] |
5,714 | simple_di | _inject_args | null | def _inject_args(
args: Tuple[Union[Provider[VT], Any], ...]
) -> Tuple[Union[VT, Any], ...]:
return tuple(a.get() if isinstance(a, Provider) else a for a in args)
| (args: Tuple[Union[simple_di.Provider[~VT], Any], ...]) -> Tuple[Union[~VT, Any], ...] | [
-0.03120037354528904,
-0.05926327779889107,
0.01957431249320507,
0.000056989159929798916,
0.040647637099027634,
-0.0009189076372422278,
0.04758492484688759,
0.002769250888377428,
0.062470465898513794,
-0.004727989435195923,
0.020881589502096176,
0.05107100307941437,
-0.059716466814279556,
-0.013264516368508339,
-0.05912383645772934,
0.019400008022785187,
-0.002170081716030836,
0.0947515219449997,
0.02731339819729328,
-0.015042413957417011,
0.048491306602954865,
0.03709184005856514,
-0.009743579663336277,
-0.05616066977381706,
0.0012593446299433708,
-0.019504589959979057,
0.07592671364545822,
-0.04287872463464737,
0.015582756139338017,
0.022380603477358818,
0.014101173728704453,
-0.010789402760565281,
-0.007634504698216915,
0.021404501050710678,
-0.0013061887584626675,
-0.013569547794759274,
-0.003464287146925926,
0.06030910089612007,
0.005625654011964798,
-0.02663361467421055,
0.00566051434725523,
-0.06668861955404282,
0.049362823367118835,
-0.025396058335900307,
-0.02597125992178917,
-0.017439091578125954,
0.029788512736558914,
-0.03418096527457237,
-0.04092652350664139,
-0.02156137488782406,
0.047619786113500595,
0.0058914669789373875,
0.06111089885234833,
0.0076257893815636635,
0.0333094485104084,
0.06522446870803833,
0.0029043364338576794,
0.05518456920981407,
-0.018319325521588326,
0.0660611242055893,
0.022363172844052315,
0.005159391090273857,
0.04176317900419235,
0.051001280546188354,
0.023949336260557175,
-0.04845644533634186,
-0.04246039688587189,
-0.005342410411685705,
-0.0614943653345108,
0.02171824872493744,
-0.046852849423885345,
-0.04678313061594963,
-0.06717666983604431,
-0.029178449884057045,
0.024053918197751045,
0.03667351230978966,
0.023426424711942673,
-0.0048979357816278934,
0.0891040787100792,
0.0027801450341939926,
-0.03622031956911087,
-0.03043343685567379,
-0.059402719140052795,
0.039322927594184875,
0.04646938294172287,
0.011800364591181278,
-0.09747066348791122,
-0.018476197496056557,
0.01085912436246872,
-0.00422686617821455,
-0.10053841024637222,
0.00899407360702753,
0.0027561781462281942,
0.04312274977564812,
-0.023635590448975563,
0.005969903897494078,
0.0011406001867726445,
-0.004714916460216045,
-0.030346283689141273,
0.05096641927957535,
0.027295969426631927,
-0.0394623726606369,
0.006710694637149572,
0.0050330208614468575,
0.005255258176475763,
-0.05643955618143082,
0.030049968510866165,
0.01458050962537527,
0.002817184431478381,
0.05302320420742035,
-0.006789131555706263,
-0.06515474617481232,
0.001042009680531919,
0.028115196153521538,
-0.07104621082544327,
0.00020902833784930408,
-0.052430570125579834,
0.0014085922157391906,
0.0058740368112921715,
0.03053801879286766,
-0.030869195237755775,
0.034093815833330154,
0.023844754323363304,
0.0017288754461333156,
0.0021733499597758055,
0.009769725613296032,
-0.014380060136318207,
-0.02591896802186966,
-0.03365805745124817,
-0.025552930310368538,
0.05079211667180061,
-0.02562265284359455,
-0.05246543139219284,
-0.009290390647947788,
0.006745555438101292,
-0.03294340893626213,
-0.0033030561171472073,
-0.016985900700092316,
0.01607952080667019,
-0.016462989151477814,
-0.04835186153650284,
0.03684781491756439,
0.00040280510438606143,
-0.004069992806762457,
-0.03513963893055916,
-0.03135724738240242,
0.0338323600590229,
0.02142193168401718,
0.008837200701236725,
-0.009795871563255787,
-0.004063456319272518,
0.010205484926700592,
-0.037370726466178894,
0.03904404118657112,
-0.05413874611258507,
-0.03618546202778816,
-0.0018519774312153459,
-0.011460471898317337,
0.009612852707505226,
-0.019452299922704697,
-0.016375837847590446,
-0.027400551363825798,
0.03859085217118263,
-0.0014075028011575341,
0.053511254489421844,
0.03426811844110489,
0.035627689212560654,
0.021857691928744316,
0.018075300380587578,
0.03198473900556564,
0.02218886837363243,
-0.011965952813625336,
0.05466165766119957,
-0.013831003569066525,
-0.014615369960665703,
0.006013479549437761,
-0.04831700026988983,
-0.04263469949364662,
0.02121276780962944,
-0.007752159610390663,
-0.019818337634205818,
-0.04723631963133812,
-0.03754502907395363,
-0.019121121615171432,
0.04580702632665634,
-0.010893984697759151,
0.03289112076163292,
0.0176831167191267,
-0.029492195695638657,
-0.05267459526658058,
-0.0025143318343907595,
0.027295969426631927,
0.014772243797779083,
0.00018002309661824256,
-0.05915869399905205,
0.03890459984540939,
-0.0978889912366867,
0.020201805979013443,
-0.03646434471011162,
0.03447728231549263,
-0.06634000688791275,
-0.056021228432655334,
-0.02982337400317192,
0.0212650578469038,
0.018685363233089447,
-0.010649959556758404,
0.0238273236900568,
0.009098656475543976,
0.0030023823492228985,
-0.026267576962709427,
0.03852112963795662,
-0.005939400754868984,
0.025274045765399933,
-0.008035403676331043,
-0.02633729763329029,
0.007442770525813103,
0.043157611042261124,
-0.0145979393273592,
0.0317581444978714,
0.06121547892689705,
0.06438780575990677,
-0.05598636716604233,
0.019818337634205818,
0.027906032279133797,
0.06003021448850632,
-0.031740713864564896,
0.023600729182362556,
-0.00020017697534058243,
-0.018423907458782196,
0.0029370184056460857,
-0.011364605277776718,
0.033780068159103394,
0.024925436824560165,
0.039880700409412384,
-0.0021199695765972137,
-0.07003524899482727,
0.03238563984632492,
-0.040403611958026886,
0.003479538718238473,
0.04395940899848938,
-0.0007587660220451653,
0.07648448646068573,
-0.05257001519203186,
0.0650850236415863,
0.010310066863894463,
-0.012767750769853592,
-0.005769454408437014,
-0.011530193500220776,
0.041170548647642136,
0.042704422026872635,
-0.002342206658795476,
0.06459697335958481,
0.01624510996043682,
0.03038114495575428,
-0.04821242019534111,
-0.042913585901260376,
0.03182786703109741,
-0.03215904161334038,
-0.004130999092012644,
-0.07550838589668274,
0.053615834563970566,
0.005307549610733986,
0.009516985155642033,
0.08031917363405228,
-0.02755742333829403,
0.007560425437986851,
0.03386722132563591,
-0.057868849486112595,
0.019086262211203575,
0.02644187957048416,
0.0368826761841774,
0.01828446425497532,
0.015330015681684017,
0.0691985934972763,
0.005804315209388733,
-0.01311635784804821,
0.040089864283800125,
0.0748111754655838,
-0.016053376719355583,
0.03991556167602539,
0.04908393695950508,
0.0011612988309934735,
-0.06132006272673607,
-0.013107642531394958,
0.01208796538412571,
0.0018617820460349321,
0.00024075707187876105,
-0.014057598076760769,
-0.00452318275347352,
0.007547352928668261,
0.05215168371796608,
0.027435410767793655,
0.008074621669948101,
-0.02063756436109543,
0.013743851333856583,
0.04605105146765709,
-0.07038385421037674,
0.0034337840043008327,
0.03515706956386566,
-0.017020761966705322,
0.0097348652780056,
-0.023025525733828545,
-0.04622535780072212,
-0.013717705383896828,
0.07446256279945374,
-0.0297187902033329,
0.03384979069232941,
-0.021090755239129066,
-0.028150057420134544,
0.0011493153870105743,
0.032612234354019165,
-0.01583549566566944,
-0.02665104530751705,
-0.04800325632095337,
0.028760120272636414,
-0.021334780380129814,
-0.0024184647481888533,
0.017203781753778458,
-0.02930046245455742,
-0.008976643905043602,
-0.010545377619564533,
-0.014310338534414768,
-0.027121664956212044,
0.00759528623893857,
0.012610876932740211,
0.0748111754655838,
-0.049676571041345596,
-0.0013247085735201836,
0.031636133790016174,
-0.009455978870391846,
-0.09265987575054169,
0.048038117587566376,
-0.03498276323080063,
0.0491885207593441,
-0.02156137488782406,
0.04176317900419235,
0.007695510983467102,
-0.006745555438101292,
0.024611691012978554,
-0.021177906543016434,
0.02428051270544529,
0.007102878298610449,
-0.08436302095651627,
0.06574738025665283,
-0.0075647830963134766,
0.003858649404719472,
0.017866134643554688,
0.032193902879953384,
0.0916837751865387,
0.01819731295108795,
-0.025762096047401428,
-0.059821050614118576,
-0.0031222160905599594,
0.004294408950954676,
0.0978889912366867,
0.053406670689582825,
-0.06627029180526733,
-0.014719952829182148,
0.015530465170741081,
-0.01756981946527958,
0.054034166038036346,
-0.03221133351325989,
0.042704422026872635,
0.01431905385106802,
-0.013586978428065777,
-0.02340899407863617,
0.024663981050252914,
-0.004497036803513765,
-0.031740713864564896,
0.017900995910167694,
0.028115196153521538,
-0.002385782776400447,
0.038137663155794144,
0.03407638520002365,
-0.018354184925556183,
-0.02218886837363243,
-0.023286981508135796,
0.01767440140247345,
-0.09593679010868073,
0.00750377681106329,
-0.017134059220552444,
-0.013691560365259647,
0.06668861955404282,
0.02377503179013729,
-0.0010959348874166608,
-0.00793953612446785,
-0.016637293621897697,
-0.03231591731309891,
0.03848626837134361,
0.018737653270363808,
-0.04810783639550209,
-0.048072975128889084,
0.018894527107477188,
-0.035627689212560654,
0.04015958681702614,
-0.04437773674726486,
0.004928438924252987,
-0.006579966749995947,
-0.030816905200481415,
-0.03447728231549263,
0.053511254489421844,
-0.053615834563970566,
0.06721153110265732,
0.0008709740941412747,
-0.03904404118657112,
-0.025064880028367043,
0.0171602051705122,
0.049816012382507324,
0.008466805331408978,
0.003677809378132224,
-0.06574738025665283,
0.008488592691719532,
0.009351396933197975,
-0.053092923015356064,
0.04211178794503212,
-0.00007019811891950667,
0.006126777268946171,
0.04430801421403885,
-0.057555101811885834,
-0.021247629076242447,
0.01828446425497532,
-0.05528915300965309,
-0.04409885033965111,
0.02480342425405979,
0.05793856829404831,
-0.0037235640920698643,
-0.04504008963704109,
-0.017177635803818703,
0.036812953650951385,
-0.014998838305473328,
-0.01608823612332344,
-0.03236820921301842,
-0.012419142760336399,
-0.02393190562725067,
-0.004884862806648016,
0.01303792092949152,
-0.011817795224487782,
0.0016166673740372062,
0.07160398364067078,
-0.0007473273435607553,
-0.06421350687742233,
0.01726478710770607,
0.04835186153650284,
-0.006074485834687948,
0.002923945663496852,
-0.05215168371796608,
-0.05793856829404831,
-0.0042137932032346725,
0.0072989696636796,
-0.0579037070274353,
-0.008767479099333286,
-0.013970445841550827,
0.019748615100979805,
-0.007865456864237785,
0.08770965039730072,
-0.06463183462619781,
-0.06327226758003235,
0.0174129456281662,
-0.024559399113059044,
0.019434869289398193,
0.06138978525996208,
-0.042286090552806854,
0.01598365418612957,
-0.03104349970817566,
0.025134602561593056,
-0.03956695273518562,
0.04441259801387787,
-0.05724135413765907,
-0.0543130524456501,
-0.014589224942028522,
0.0268950704485178,
-0.0062095713801681995,
0.015120850875973701,
0.002941375831142068,
0.01388329453766346,
0.023042956367135048,
0.05748537927865982,
-0.02443738654255867,
-0.03646434471011162,
-0.012724174186587334,
-0.003852113150060177,
0.023531006649136543,
0.08743076771497726,
0.008754406124353409,
-0.05793856829404831,
0.011695782653987408,
-0.0000327159978041891,
0.0014260226162150502,
0.01710791327059269,
0.018667932599782944,
-0.03883487731218338,
0.020968742668628693,
0.026807917281985283,
-0.006070128176361322,
0.0020328175742179155,
-0.024611691012978554,
0.017482666298747063,
0.01639326848089695,
0.059193555265665054,
0.022520044818520546,
0.016924895346164703,
-0.03904404118657112,
0.06501530110836029,
-0.014388775452971458,
0.013325522653758526,
-0.09203238785266876,
0.028498664498329163,
0.018633071333169937,
-0.03677809238433838,
0.04392454773187637,
-0.013386528939008713,
-0.0030067397747188807,
0.036499205976724625,
-0.026546461507678032,
0.01767440140247345,
-0.023234691470861435,
0.0023509219754487276,
-0.0243328046053648,
-0.06166866794228554,
-0.0085801025852561,
0.004283514805138111,
0.022363172844052315,
0.0486656092107296,
0.02131734974682331,
0.010283921845257282,
-0.022119147703051567,
0.004605976864695549,
-0.024088779464364052,
0.015129566192626953,
-0.0036582001484930515,
-0.001868318417109549,
-0.00899407360702753,
-0.0368826761841774,
-0.08701243996620178,
-0.03677809238433838,
-0.0022419821470975876,
-0.03294340893626213,
-0.02572723478078842,
0.027173956856131554,
0.02002750150859356,
0.03806794062256813,
-0.011486617848277092,
-0.07101134955883026,
0.018267033621668816,
-0.013743851333856583,
-0.027853740379214287,
-0.057555101811885834,
-0.023164968937635422,
-0.0174129456281662,
-0.023252122104167938,
-0.03981097787618637,
-0.024419955909252167,
-0.0034991479478776455,
0.08994074165821075,
-0.07348646223545074,
-0.04755006358027458,
-0.040543053299188614,
-0.01757853478193283,
-0.0579037070274353,
0.029370183125138283,
0.06846651434898376,
-0.05413874611258507,
-0.0065712518990039825,
0.07885502278804779,
-0.025849247351288795,
-0.02570980414748192,
0.017534958198666573,
0.013996591791510582,
-0.024908006191253662,
0.00822278019040823,
0.02623271569609642,
-0.04601619392633438,
-0.07815780490636826,
-0.02699965238571167,
-0.06651431322097778,
-0.00254265614785254,
0.024681411683559418,
-0.04796839505434036,
0.022502616047859192,
-0.042286090552806854,
-0.017691832035779953,
0.009168378077447414,
-0.0038651858922094107,
-0.03730100393295288,
0.0317755751311779,
0.036150600761175156,
0.024768564850091934,
0.027679437771439552,
-0.008196634240448475,
0.06651431322097778,
-0.015818066895008087,
0.006693264469504356,
0.004632122348994017,
-0.000908013666048646,
0.05441763252019882,
-0.046190496534109116,
-0.043994270265102386,
0.009342681616544724,
-0.0625053271651268,
-0.0676298588514328,
-0.022171437740325928,
0.0284289438277483,
-0.01885966584086418,
-0.030154550448060036,
0.007242321036756039,
-0.04078707844018936,
-0.006274935323745012,
-0.02044583112001419,
-0.028411513194441795,
0.05588178336620331,
0.046539101749658585,
-0.03653406724333763,
0.05316264554858208,
0.007307684980332851,
0.05086183547973633,
0.026407020166516304,
-0.010806833393871784,
0.015181857161223888,
0.010946275666356087,
0.05542859435081482,
-0.04960684850811958,
0.013831003569066525,
-0.026877639815211296,
-0.007002653554081917,
0.025448348373174667,
-0.04416857287287712,
-0.04361080005764961,
-0.0471317358314991,
0.0002712602145038545,
-0.028882132843136787,
0.00566051434725523,
-0.0000934159179450944,
0.09140489250421524,
-0.033222295343875885,
-0.0005904539721086621,
0.011721927672624588,
0.02269434928894043,
-0.03771933168172836,
-0.050443507730960846,
-0.020376108586788177,
0.0021711711306124926,
0.004229045007377863,
-0.014022737741470337,
0.011408180929720402,
0.04880505055189133,
-0.003298698691651225,
-0.07627532631158829,
-0.003473002463579178,
0.011843940243124962,
0.024524539709091187,
0.07899446040391922,
0.03257737308740616,
0.008135627955198288,
0.060378823429346085,
0.0030633886344730854,
0.05270945653319359,
0.021038463339209557,
0.028498664498329163,
0.04204206541180611,
0.03733586519956589,
-0.004174575209617615,
0.039880700409412384,
0.039322927594184875,
0.03194987773895264,
-0.02577952668070793,
-0.0046539101749658585,
-0.05964674800634384,
-0.015809351578354836,
0.05180307850241661,
0.026354728266596794,
-0.016532711684703827,
-0.01725607179105282,
0.012976914644241333,
-0.010972421616315842,
-0.004784638062119484,
-0.061354923993349075,
0.0007380674942396581,
0.02750513330101967,
-0.002036085817962885,
0.004527539946138859,
-0.027435410767793655,
-0.06783902645111084,
0.004141893237829208,
-0.02663361467421055,
-0.07927335053682327,
0.01819731295108795,
0.001820384874008596,
0.06532904505729675,
0.009377541951835155,
-0.06724639236927032,
0.040403611958026886,
-0.05539373308420181,
0.03897431865334511,
-0.04873533174395561,
-0.020306387916207314,
-0.0194697305560112,
-0.0358717143535614,
-0.0932176485657692,
0.047828949987888336,
-0.009612852707505226,
-0.0073294732719659805,
0.03500019386410713,
-0.04127512872219086,
-0.03146182745695114,
0.02248518541455269,
-0.0031941162887960672,
0.032873690128326416,
-0.014231901615858078,
0.014048882760107517,
0.016794167459011078,
-0.006946004927158356,
0.0024228221736848354,
0.0243328046053648,
-0.009569276124238968,
0.03967153653502464,
-0.0012996523873880506,
0.03597629442811012,
0.030973777174949646,
-0.010702250525355339,
-0.012584730982780457,
-0.005734593607485294,
0.005852248519659042,
0.05061781033873558,
0.0004414787399582565,
-0.03566255047917366,
0.02766200713813305,
0.019644033163785934,
-0.020515551790595055,
0.021143045276403427,
-0.033065423369407654,
0.01828446425497532,
-0.017970718443393707,
0.038660574704408646,
0.02509974129498005,
0.0019315035315230489,
-0.0012538976734504104,
0.003422890091314912,
0.019277995452284813,
-0.04340163618326187,
-0.037684474140405655,
0.027574853971600533,
0.024925436824560165,
0.030503157526254654,
0.03048572689294815,
0.04497037082910538,
-0.009569276124238968,
0.017665686085820198,
-0.0389394611120224,
-0.0027953966055065393,
-0.03646434471011162,
0.03907890245318413,
0.08547856658697128,
-0.0003447946219239384,
0.024663981050252914,
0.024960298091173172,
-0.03806794062256813,
0.05476624146103859,
-0.03820738568902016,
-0.06592167913913727,
-0.05406902730464935,
-0.045318976044654846,
0.02377503179013729,
0.013647984713315964,
-0.03684781491756439,
0.06623543053865433,
-0.005721521098166704,
-0.001958738546818495,
0.03632490336894989
] |
5,715 | simple_di | _inject_kwargs | null | def _inject_kwargs(
kwargs: Dict[str, Union[Provider[VT], Any]]
) -> Dict[str, Union[VT, Any]]:
return {k: v.get() if isinstance(v, Provider) else v for k, v in kwargs.items()}
| (kwargs: Dict[str, Union[simple_di.Provider[~VT], Any]]) -> Dict[str, Union[~VT, Any]] | [
0.0019956491887569427,
-0.056695226579904556,
0.038344427943229675,
0.00864672102034092,
-0.0208150465041399,
0.03472669795155525,
0.04400695860385895,
-0.01367571298032999,
0.030864292755723,
0.016935164108872414,
0.008087458088994026,
0.05239589512348175,
-0.04568474739789963,
-0.00720487255603075,
-0.005548931658267975,
-0.0102152768522501,
-0.02768348902463913,
0.07085155695676804,
0.03556559234857559,
-0.09801073372364044,
0.05365423485636711,
0.009096751920878887,
0.011692079715430737,
-0.036456916481256485,
0.019154736772179604,
-0.0024598806630820036,
0.025394007563591003,
-0.029431182891130447,
0.030672047287225723,
0.05306001752614975,
0.0034757284447550774,
-0.014060205779969692,
-0.01309023518115282,
0.04778198152780533,
-0.0032965897116810083,
-0.03245469555258751,
0.012600881047546864,
0.0817222148180008,
-0.04124560207128525,
-0.024030806496739388,
-0.041944678872823715,
-0.000537143147084862,
-0.0065101636573672295,
-0.014654422178864479,
0.008882659487426281,
0.03338097408413887,
-0.007467026822268963,
0.008703520521521568,
0.02735142596065998,
-0.04107083007693291,
0.009114229120314121,
0.00740148825570941,
0.04190972447395325,
0.01696137897670269,
0.041944678872823715,
-0.011010478250682354,
-0.028906874358654022,
0.07214485108852386,
-0.021968524903059006,
0.08605650067329407,
-0.047222718596458435,
-0.02018587663769722,
0.004327729810029268,
0.020797569304704666,
-0.020622801035642624,
-0.04795674979686737,
-0.059491537511348724,
0.008489428088068962,
-0.030881769955158234,
0.005461546592414379,
-0.01988876797258854,
-0.08374954015016556,
-0.05938667431473732,
-0.01976642943918705,
0.014768022112548351,
0.019783906638622284,
-0.013579590246081352,
-0.011665863916277885,
0.06784551590681076,
0.019591661170125008,
-0.03589765354990959,
-0.06047024577856064,
-0.08388935774564743,
0.01406894437968731,
0.057359348982572556,
0.020081015303730965,
-0.09884962439537048,
-0.011805679649114609,
0.07466153055429459,
-0.011080386117100716,
-0.07962498068809509,
0.03656177967786789,
-0.003803421277552843,
0.02642514742910862,
-0.02521923929452896,
0.0003711121098604053,
-0.008515643887221813,
0.04369237273931503,
-0.03404509648680687,
0.04197963327169418,
0.050403524190187454,
-0.0679154247045517,
0.024694930762052536,
-0.015711776912212372,
-0.008201058954000473,
-0.06407050043344498,
-0.010521124117076397,
0.006754841189831495,
-0.013378605246543884,
0.029431182891130447,
-0.016105009242892265,
-0.06973303109407425,
-0.011202724650502205,
0.011962971650063992,
-0.052535708993673325,
0.009883214719593525,
-0.04645373299717903,
-0.030706999823451042,
0.011491094715893269,
-0.0026870809961110353,
-0.062252894043922424,
0.06207812577486038,
0.006361609790474176,
0.048935458064079285,
-0.005465915892273188,
-0.022754987701773643,
-0.010861923918128014,
0.008183581754565239,
0.00748450355604291,
-0.016900209710001945,
0.04313311353325844,
0.0027460656128823757,
-0.023890990763902664,
-0.039183322340250015,
0.01985381543636322,
-0.00689902575686574,
-0.018490612506866455,
0.014182544313371181,
0.04334283620119095,
0.03198281675577164,
-0.03504128381609917,
0.02135683223605156,
-0.06564342230558395,
-0.0049416073597967625,
-0.028906874358654022,
-0.030147738754749298,
0.02006353810429573,
0.0003391620412003249,
-0.04285348206758499,
-0.03998726233839989,
0.02495708502829075,
0.007506350055336952,
-0.007890842854976654,
0.03229740262031555,
-0.03698122501373291,
-0.02186366356909275,
-0.0056013623252511024,
-0.009559891186654568,
-0.0017422334058210254,
-0.0021005109883844852,
0.039183322340250015,
-0.006864071823656559,
0.025306623429059982,
0.015336023643612862,
0.008817121386528015,
0.05110260099172592,
0.039637722074985504,
-0.05662531778216362,
0.038973599672317505,
0.05508734658360481,
0.022964712232351303,
0.015196207910776138,
0.04694308713078499,
-0.017931349575519562,
-0.006064501591026783,
0.04208449646830559,
-0.014243713580071926,
-0.08605650067329407,
0.018123596906661987,
0.011840633116662502,
0.020290737971663475,
-0.02990306168794632,
-0.06623763591051102,
0.04082615301012993,
0.05872255191206932,
-0.03663168475031853,
0.002977635245770216,
0.007445180788636208,
-0.031021585687994957,
-0.04987921565771103,
-0.011220201849937439,
0.0016996333142742515,
0.03736571967601776,
-0.021549079567193985,
-0.059316765516996384,
-0.00037684672861360013,
-0.014331098645925522,
-0.009079275652766228,
-0.044041913002729416,
0.09283755719661713,
-0.08892271667718887,
-0.05389891192317009,
-0.045090530067682266,
0.02944866009056568,
-0.012828080914914608,
-0.00787336565554142,
0.04281852766871452,
-0.024729883298277855,
0.026652349159121513,
-0.041944678872823715,
0.03137112408876419,
-0.02591831609606743,
0.02147917076945305,
0.006352871190756559,
-0.024065759032964706,
-0.015283592976629734,
0.015336023643612862,
0.02265012636780739,
0.016699224710464478,
0.05424845218658447,
0.028365088626742363,
-0.02135683223605156,
0.016148701310157776,
0.03002540022134781,
0.059037137776613235,
-0.031388603150844574,
0.02051793970167637,
-0.010425000451505184,
-0.0336780808866024,
-0.01679534837603569,
-0.003357758978381753,
0.015239899978041649,
0.024432776495814323,
0.05309497192502022,
0.02294723503291607,
-0.08451852947473526,
0.03320620581507683,
-0.057604026049375534,
0.040896061807870865,
0.024030806496739388,
0.07158558815717697,
0.06358114629983902,
-0.03806479647755623,
0.07375273108482361,
-0.03011278435587883,
-0.015126300044357777,
0.018106119707226753,
0.015886547043919563,
0.03778516501188278,
0.018280889838933945,
0.07668885588645935,
0.026477579027414322,
-0.002722034929320216,
0.06994275003671646,
-0.03194786235690117,
-0.019993631169199944,
0.046593546867370605,
0.02432791329920292,
0.008166104555130005,
-0.0817222148180008,
-0.010730846785008907,
0.007702965755015612,
-0.0437273271381855,
0.05624082311987877,
-0.006715517956763506,
-0.009061798453330994,
0.06291701644659042,
-0.06386077404022217,
-0.04865582659840584,
0.004766838159412146,
0.0022162955719977617,
0.021496647968888283,
0.030042877420783043,
0.04921508952975273,
0.006086347624659538,
0.025149330496788025,
0.028679674491286278,
0.009795830585062504,
-0.009542414918541908,
-0.004565853159874678,
0.05008893832564354,
-0.013553374446928501,
0.0019989260472357273,
0.011980448849499226,
0.02111215516924858,
0.014103898778557777,
0.014636944979429245,
0.000880401348695159,
0.024607544764876366,
-0.004994038492441177,
0.022055910900235176,
-0.023401634767651558,
0.010652201250195503,
0.016305994242429733,
-0.016900209710001945,
0.04564979299902916,
-0.07654903829097748,
-0.043447695672512054,
0.03074195422232151,
0.004688191693276167,
-0.018735289573669434,
-0.032227493822574615,
-0.002147480146959424,
0.05648550018668175,
0.06047024577856064,
-0.004963453859090805,
0.047432441264390945,
-0.04121064767241478,
-0.03427229821681976,
-0.0165069792419672,
-0.01340482011437416,
0.022265633568167686,
-0.03315377235412598,
-0.026530008763074875,
-0.04379723593592644,
-0.05236094072461128,
-0.01363202091306448,
-0.003121820045635104,
-0.004945976659655571,
0.005273669492453337,
-0.018490612506866455,
-0.02051793970167637,
-0.048935458064079285,
-0.03470922261476517,
0.0672513023018837,
0.049774352461099625,
-0.007082534022629261,
-0.006829117890447378,
0.04313311353325844,
-0.012391157448291779,
-0.10716865211725235,
0.03166823461651802,
0.004343022126704454,
0.05690494924783707,
-0.07340318709611893,
0.03642196208238602,
-0.0015292330645024776,
0.009393860585987568,
0.014156329445540905,
0.015449623577296734,
-0.022457880899310112,
-0.01976642943918705,
-0.07305365055799484,
-0.008345243521034718,
-0.005623208358883858,
-0.017162363976240158,
0.037086088210344315,
0.004924130626022816,
0.05774384364485741,
0.03565297648310661,
-0.03343340381979942,
-0.04495071619749069,
0.07389254122972488,
0.014138852246105671,
0.05805842578411102,
0.017407041043043137,
-0.00955115258693695,
-0.02189861796796322,
-0.030095307156443596,
-0.00883896742016077,
0.09081023186445236,
0.013029065914452076,
0.013981559313833714,
0.013937867246568203,
0.04033679887652397,
0.02659991756081581,
0.02303461916744709,
-0.009961861185729504,
0.03161580115556717,
-0.056101009249687195,
0.028382565826177597,
-0.015362238511443138,
0.02282489649951458,
0.02789321169257164,
0.01274943444877863,
-0.03872891888022423,
-0.0005286777159199119,
-0.00638782512396574,
-0.06351123750209808,
0.05466789752244949,
-0.019294552505016327,
-0.01070463191717863,
0.06630754470825195,
0.01889258250594139,
0.018403228372335434,
0.010224015451967716,
-0.001081932452507317,
-0.04274861887097359,
0.07015247642993927,
0.0037903133779764175,
-0.061728585511446,
0.0037335134111344814,
0.023716220632195473,
0.03928818181157112,
0.06969807296991348,
-0.033573221415281296,
-0.023506497964262962,
-0.03392275795340538,
-0.028242750093340874,
-0.0011687710648402572,
0.034831561148166656,
-0.06774065643548965,
0.0054921312257647514,
0.0017804641975089908,
0.02333172783255577,
-0.040476616472005844,
0.0062086861580610275,
0.03332854434847832,
0.04865582659840584,
-0.0036854518111795187,
-0.03325863555073738,
-0.025411484763026237,
0.003270374145358801,
-0.04243403300642967,
0.024520160630345345,
-0.015615654177963734,
0.01692642644047737,
-0.01960913836956024,
-0.039427999407052994,
-0.00856370572000742,
0.08053378760814667,
-0.06553856283426285,
-0.05522716045379639,
0.002901173662394285,
0.08025415241718292,
0.04211944714188576,
-0.05340955778956413,
-0.04984426125884056,
0.061413999646902084,
0.00420757569372654,
-0.006842225790023804,
0.019329506903886795,
-0.026914503425359726,
0.012932943180203438,
0.025708593428134918,
0.03816965967416763,
0.013859220780432224,
-0.0010273169027641416,
0.027124226093292236,
0.017109934240579605,
-0.06424526870250702,
-0.005736808758229017,
-0.01078327838331461,
0.030042877420783043,
-0.007602473255246878,
-0.013474727980792522,
0.008270966820418835,
0.025394007563591003,
-0.008297181688249111,
-0.0361073799431324,
0.035285960882902145,
-0.024258006364107132,
-0.03490146994590759,
-0.012233864516019821,
0.06896404176950455,
-0.017608026042580605,
-0.02105972357094288,
0.016279779374599457,
-0.03313629701733589,
0.03437716141343117,
0.0637209564447403,
-0.06885918229818344,
-0.023646313697099686,
0.013098973780870438,
0.02411819063127041,
0.06585314869880676,
0.006597548723220825,
-0.029221460223197937,
-0.012067833915352821,
0.04288843274116516,
0.012242603115737438,
0.032105155289173126,
0.0037247748114168644,
-0.008935090154409409,
-0.03806479647755623,
0.06920871883630753,
0.04620905593037605,
-0.024817269295454025,
-0.03974258527159691,
0.003257266478613019,
0.01348346658051014,
0.05935171991586685,
0.03385285288095474,
-0.012828080914914608,
-0.02357640489935875,
0.015370977111160755,
-0.02819032035768032,
0.0225277878344059,
0.03409752994775772,
0.04072129353880882,
-0.015563223510980606,
0.04949472099542618,
0.04481089860200882,
0.031720664352178574,
0.0016526640392839909,
0.0055008698254823685,
0.03217506408691406,
0.025900838896632195,
0.09919916838407516,
0.006715517956763506,
-0.007965119555592537,
0.009795830585062504,
0.03862405940890312,
0.0022304956801235676,
-0.010101676918566227,
-0.07207494229078293,
-0.023890990763902664,
0.05914199724793434,
-0.033276110887527466,
0.06476957350969315,
0.03212263435125351,
0.00592468585819006,
0.04883059859275818,
0.009446291252970695,
0.03652682527899742,
-0.023681266233325005,
-0.041280556470155716,
0.008240382187068462,
-0.047677118331193924,
-0.003801236627623439,
0.027735918760299683,
0.0743119865655899,
0.07536060363054276,
-0.062043171375989914,
0.025568777695298195,
0.0007531472947448492,
0.009865738451480865,
-0.01889258250594139,
0.010302661918103695,
-0.0075194574892520905,
-0.027788350358605385,
-0.03995230793952942,
-0.0527803897857666,
-0.04016203060746193,
-0.01168334111571312,
-0.02993801422417164,
-0.002111434005200863,
-0.028033027425408363,
0.018315842375159264,
-0.018106119707226753,
0.015108822844922543,
-0.04495071619749069,
-0.029221460223197937,
-0.0026739733293652534,
0.028871921822428703,
-0.010180323384702206,
-0.02597074769437313,
-0.02411819063127041,
-0.043447695672512054,
-0.01904987543821335,
-0.012513495981693268,
-0.03998726233839989,
-0.014864145778119564,
0.03673654794692993,
-0.0901111513376236,
-0.030567185953259468,
-0.04100092500448227,
-0.02546391636133194,
-0.044880807399749756,
0.03116140142083168,
0.061379048973321915,
-0.006689302623271942,
0.06256747990846634,
0.018997443839907646,
-0.016620580106973648,
-0.05550679191946983,
-0.03652682527899742,
0.058303102850914,
-0.06504920870065689,
-0.0204829853028059,
0.030060352757573128,
-0.029588475823402405,
-0.05596119165420532,
0.01379805151373148,
-0.05575146898627281,
0.01087066251784563,
0.016742918640375137,
-0.02237049490213394,
0.02855733595788479,
-0.02759610302746296,
-0.043203018605709076,
0.04453126713633537,
0.018158551305532455,
-0.016113746911287308,
-0.007515088189393282,
0.016183655709028244,
0.01766919530928135,
0.03175561875104904,
-0.0069776722230017185,
0.044251635670661926,
-0.0284349974244833,
0.03165075555443764,
-0.02948361448943615,
0.0019945569802075624,
0.017870180308818817,
-0.06232280284166336,
-0.0430632047355175,
0.0069689336232841015,
-0.028452474623918533,
-0.06990779936313629,
-0.061833448708057404,
0.002842189045622945,
-0.015467100776731968,
-0.03970763087272644,
-0.016515716910362244,
-0.020046060904860497,
-0.01913725957274437,
0.015065130777657032,
-0.03313629701733589,
-0.03388780727982521,
0.010311400517821312,
0.00428185286000371,
0.03383537381887436,
0.03816965967416763,
0.01904987543821335,
0.003792498027905822,
-0.03949790820479393,
-0.022178249433636665,
0.015292330645024776,
0.0071699186228215694,
-0.07452171295881271,
-0.008786536753177643,
-0.03698122501373291,
0.03463931381702423,
-0.008991890586912632,
-0.051207464188337326,
-0.037715256214141846,
-0.025289146229624748,
-0.04093101620674133,
-0.01448839157819748,
-0.013072757981717587,
0.06553856283426285,
0.08703520894050598,
-0.018001258373260498,
0.019818861037492752,
0.03596756234765053,
0.045544929802417755,
-0.015292330645024776,
-0.03205272555351257,
-0.008410781621932983,
0.012181433849036694,
-0.022685080766677856,
-0.016192393377423286,
-0.01696137897670269,
0.019486799836158752,
0.03546072915196419,
-0.028120411559939384,
0.016611840575933456,
0.0066193947568535805,
0.01378057524561882,
0.05582137778401375,
0.002901173662394285,
0.009481245651841164,
0.021304402500391006,
0.014200021512806416,
0.031091492623090744,
0.006820379756391048,
0.05169681832194328,
0.060540154576301575,
-0.002092864830046892,
-0.006982041522860527,
0.03151094168424606,
-0.0046008070930838585,
-0.0054003773257136345,
0.018280889838933945,
0.02098981663584709,
-0.06057510897517204,
-0.06344132870435715,
0.03366060554981232,
0.024607544764876366,
0.019923722371459007,
-0.03463931381702423,
-0.009673492051661015,
-0.01780027337372303,
-0.03526848554611206,
-0.042573850601911545,
-0.014829191379249096,
0.027823304757475853,
0.018997443839907646,
-0.00879527535289526,
-0.004535268526524305,
-0.04460117593407631,
0.013570851646363735,
0.04442640766501427,
-0.07927544414997101,
0.04103587940335274,
-0.030497277155518532,
0.045789606869220734,
-0.02177627943456173,
-0.021584032103419304,
0.055017437785863876,
-0.04348265007138252,
-0.0014156328979879618,
-0.01109786331653595,
-0.011674602515995502,
-0.09206856787204742,
-0.007506350055336952,
-0.10989505797624588,
0.02906416729092598,
-0.007231087889522314,
-0.013999036513268948,
0.017363348975777626,
-0.030182691290974617,
-0.06721635162830353,
-0.014435960911214352,
-0.0014997407561168075,
0.018001258373260498,
-0.014470914378762245,
0.026879549026489258,
-0.026774687692523003,
-0.012714480981230736,
-0.004412929993122816,
0.024188097566366196,
-0.011499833315610886,
0.057569071650505066,
0.008943828754127026,
0.003938867710530758,
-0.017441995441913605,
0.008008812554180622,
-0.026582440361380577,
0.02576102316379547,
0.004723145626485348,
-0.011779463849961758,
0.03596756234765053,
-0.018577996641397476,
0.0023462804965674877,
-0.004775576293468475,
-0.019486799836158752,
0.0631616935133934,
-0.020954862236976624,
0.023593882098793983,
0.005011515226215124,
-0.010381308384239674,
0.0014778946060687304,
-0.03366060554981232,
-0.04557988420128822,
-0.02362883649766445,
-0.01964409090578556,
-0.037051133811473846,
-0.01516125351190567,
-0.0023462804965674877,
0.06739111989736557,
0.02320938929915428,
0.06078483164310455,
0.06899899989366531,
0.014872884377837181,
0.0472576729953289,
-0.030077829957008362,
0.048271335661411285,
-0.046803269535303116,
0.004308068193495274,
0.047886840999126434,
-0.02513185329735279,
0.0038995444774627686,
0.03799488767981529,
-0.03649187088012695,
0.0130028510466218,
-0.021758802235126495,
-0.0034800975117832422,
-0.006331025157123804,
-0.0589672289788723,
-0.07501106709241867,
0.016760393977165222,
-0.0547727607190609,
0.0845884382724762,
-0.0030846816953271627,
0.006772317923605442,
0.026058131828904152
] |
5,716 | typing | cast | Cast a value to a type.
This returns the value unchanged. To the type checker this
signals that the return value has the designated type, but at
runtime we intentionally don't check anything (we want this
to be as fast as possible).
| def cast(typ, val):
"""Cast a value to a type.
This returns the value unchanged. To the type checker this
signals that the return value has the designated type, but at
runtime we intentionally don't check anything (we want this
to be as fast as possible).
"""
return val
| (typ, val) | [
0.02025124989449978,
0.055126529186964035,
0.03568398207426071,
-0.028422510251402855,
-0.010496280156075954,
0.020150162279605865,
0.025996403768658638,
0.009763393551111221,
-0.002840987406671047,
-0.031000249087810516,
-0.027108369395136833,
0.039356835186481476,
0.01843166910111904,
0.005964178126305342,
0.005441891495138407,
0.037570953369140625,
-0.02560890093445778,
0.10802912712097168,
0.0007091938750818372,
0.012669666670262814,
-0.010673183016479015,
-0.03463940694928169,
-0.010066656395792961,
-0.04242316633462906,
0.015078925527632236,
-0.019964834675192833,
0.009738121181726456,
-0.03329157084226608,
-0.04060358554124832,
0.048724304884672165,
0.02030179277062416,
-0.021380063146352768,
0.04400687292218208,
-0.043535131961107254,
-0.0007239358383230865,
0.0166879054158926,
-0.0574178509414196,
-0.0033801221288740635,
-0.008335528895258904,
-0.002704097656533122,
-0.03527963161468506,
-0.008643004111945629,
-0.001054577063769102,
0.021919196471571922,
0.0012825509766116738,
-0.01252645906060934,
0.00505438819527626,
-0.031741559505462646,
-0.03898618370294571,
0.004793244879692793,
-0.05371129885315895,
0.04185033589601517,
0.017235463485121727,
-0.01572757214307785,
-0.029551323503255844,
0.010690031573176384,
-0.037739433348178864,
0.03767203912138939,
-0.042322076857089996,
0.04090685024857521,
0.012585426680743694,
0.04016553983092308,
-0.05650806054472923,
-0.04316447675228119,
0.020722992718219757,
-0.01008350495249033,
-0.019897442311048508,
-0.03585246205329895,
-0.037739433348178864,
-0.019088739529252052,
-0.03858182951807976,
-0.01624985784292221,
-0.03511115163564682,
0.014101743698120117,
0.07318754494190216,
0.01369739230722189,
0.027040977030992508,
0.006789728067815304,
0.01518001314252615,
-0.009249530732631683,
0.0796571597456932,
0.019055044278502464,
0.019240371882915497,
0.03249971568584442,
-0.04036771506071091,
0.07561364769935608,
-0.06388746947050095,
0.031387750059366226,
-0.012138956226408482,
0.014826205559074879,
0.06789728254079819,
-0.08760939538478851,
0.015163164585828781,
-0.006065265741199255,
-0.03649268299341202,
-0.0005559826968237758,
0.011945204809308052,
-0.016755297780036926,
-0.04137859120965004,
0.019105587154626846,
0.019392002373933792,
0.059608086943626404,
-0.027377936989068985,
-0.06146136298775673,
0.0001055630054906942,
-0.04161446541547775,
0.037570953369140625,
-0.03123611956834793,
-0.0373687781393528,
0.06328094005584717,
-0.039053574204444885,
-0.05580044537782669,
-0.0992007926106453,
-0.06425812095403671,
-0.01824634149670601,
0.0292649082839489,
-0.01568545214831829,
-0.0031358266714960337,
-0.04899387061595917,
0.03263450041413307,
-0.0035170118790119886,
0.024109432473778725,
0.057215675711631775,
0.010353071615099907,
0.0159381702542305,
0.04215359687805176,
0.013604728505015373,
-0.04518623277544975,
0.037267688661813736,
0.027243152260780334,
-0.014876749366521835,
-0.03143829479813576,
-0.019459394738078117,
0.0029336512088775635,
0.012147380039095879,
0.02901218831539154,
-0.02008276991546154,
0.018650691956281662,
-0.01637621782720089,
-0.01012562494724989,
-0.004211990162730217,
0.05162215232849121,
0.05074605718255043,
-0.05182432755827904,
0.051992807537317276,
0.0032348085660487413,
-0.025036070495843887,
0.0035401778295636177,
-0.0500047467648983,
0.07702887803316116,
-0.006280077621340752,
-0.010201440192759037,
0.06921142339706421,
0.06651575118303299,
0.031067639589309692,
0.023587144911289215,
-0.0002196816203650087,
-0.039660099893808365,
0.011060686782002449,
-0.0050249043852090836,
-0.012265315279364586,
-0.011709332466125488,
-0.011456613428890705,
-0.03201112523674965,
0.01994798518717289,
0.05724937096238136,
0.03720029816031456,
0.0785788893699646,
0.0020923062693327665,
-0.017437640577554703,
-0.04208620637655258,
-0.025322485715150833,
-0.031219271942973137,
-0.002794655505567789,
0.0197795070707798,
-0.017302855849266052,
-0.04326556250452995,
0.022593116387724876,
0.012290587648749352,
0.07541147619485855,
0.01175987720489502,
0.016831113025546074,
-0.019004499539732933,
0.041277505457401276,
0.0025587840937078,
0.021329518407583237,
-0.003140038810670376,
0.010631063021719456,
0.008141777478158474,
-0.007977509871125221,
0.01942569948732853,
0.030393721535801888,
-0.04926343634724617,
-0.037705738097429276,
0.0033738042693585157,
-0.024513782933354378,
0.001759558916091919,
0.045725367963314056,
-0.02073984034359455,
0.07992672920227051,
-0.0030916009563952684,
0.04437752813100815,
0.05293629318475723,
0.012046292424201965,
0.027158912271261215,
-0.06806576251983643,
0.010159320197999477,
-0.0018480106955394149,
0.022626811638474464,
-0.0314551442861557,
-0.03824487328529358,
-0.04124381020665169,
-0.025979556143283844,
0.011903084814548492,
-0.004098266363143921,
-0.08033107966184616,
-0.08147674053907394,
-0.0576874203979969,
0.050644971430301666,
0.006406437139958143,
-0.011010142974555492,
-0.02313224971294403,
-0.042187295854091644,
-0.007366770878434181,
0.051251497119665146,
0.008032265119254589,
-0.04299599677324295,
-0.0333758108317852,
0.05644067004323006,
0.02099256031215191,
0.04518623277544975,
-0.03662746772170067,
0.027158912271261215,
-0.005462951492518187,
0.05593523010611534,
-0.04141228646039963,
0.035178542137145996,
0.019931137561798096,
-0.012256891466677189,
0.038615528494119644,
0.03288722038269043,
0.03602094203233719,
-0.02296377159655094,
0.040232930332422256,
-0.01843166910111904,
0.03179210424423218,
-0.002659871941432357,
0.07103100419044495,
-0.06082113832235336,
0.009973992593586445,
-0.021750718355178833,
0.006073690019547939,
0.024109432473778725,
-0.04356882721185684,
0.014337615109980106,
0.005896786227822304,
-0.0206050556153059,
-0.031219271942973137,
-0.007341498974710703,
-0.0071940794587135315,
-0.02727684937417507,
0.01175987720489502,
0.04178294166922569,
0.03319048509001732,
-0.02909642830491066,
-0.046062324196100235,
-0.019796354696154594,
-0.01152400579303503,
0.002424000296741724,
0.06493204087018967,
0.0071940794587135315,
-0.009729697369039059,
0.022239308804273605,
-0.009375890716910362,
-0.02945023588836193,
0.008836755529046059,
-0.0233512744307518,
0.03228069469332695,
0.07588321715593338,
-0.012888690456748009,
-0.004991208668798208,
0.012964505702257156,
-0.03821117430925369,
-0.03396549075841904,
-0.05785589665174484,
-0.02670401893556118,
0.05148736760020256,
0.026451298967003822,
-0.03322418034076691,
0.004885908681899309,
0.05121780186891556,
0.009072626940906048,
0.008103868924081326,
-0.02426106296479702,
-0.024463240057229996,
0.0752766877412796,
-0.029248060658574104,
-0.019055044278502464,
0.011422917246818542,
0.01544115599244833,
-0.014371310360729694,
0.011540853418409824,
-0.052464552223682404,
0.07790496945381165,
0.04596123844385147,
0.047848209738731384,
-0.049634091556072235,
-0.04380469769239426,
-0.02117788791656494,
0.07204188406467438,
-0.0008971539209596813,
-0.03969379514455795,
-0.061966799199581146,
0.032381780445575714,
0.05607001483440399,
0.02151484601199627,
-0.03693073242902756,
-0.028203487396240234,
-0.007964873686432838,
-0.0002937863173428923,
0.007615278474986553,
0.009434858337044716,
0.043366651982069016,
-0.02426106296479702,
0.0024998162407428026,
-0.018330581486225128,
-0.0755462571978569,
0.0587993822991848,
0.03561658784747124,
0.015550668351352215,
-0.029298603534698486,
0.029433388262987137,
0.0681331530213356,
0.0029694531112909317,
0.02656923420727253,
-0.01581181213259697,
0.036661162972450256,
0.023806169629096985,
-0.008634580299258232,
0.023401817306876183,
0.03005676157772541,
0.018836019560694695,
0.016300402581691742,
-0.030511656776070595,
0.07076143473386765,
0.07130057364702225,
-0.04521992802619934,
0.010513127781450748,
0.04255795106291771,
0.031505685299634933,
-0.017269160598516464,
-0.06857120245695114,
-0.010925902985036373,
0.00594733003526926,
-0.010984870605170727,
0.0010140367085114121,
0.049162350594997406,
-0.052633028477430344,
-0.014784085564315319,
-0.07601799815893173,
0.0033443202264606953,
0.008226016536355019,
0.04431013762950897,
-0.035919852554798126,
-0.028557293117046356,
0.02717576175928116,
-0.06176462396979332,
-0.05516022443771362,
0.00603157002478838,
0.04269273206591606,
0.02291322685778141,
0.02613118849694729,
-0.04794929549098015,
-0.03888509422540665,
-0.03192688524723053,
-0.01245906762778759,
-0.023452362045645714,
-0.02095886319875717,
-0.022424636408686638,
-0.021447453647851944,
0.021245278418064117,
-0.005471375305205584,
-0.02508661337196827,
0.08235283195972443,
0.04943191632628441,
-0.06297767907381058,
-0.027327392250299454,
0.003017890965566039,
-0.031135031953454018,
0.04326556250452995,
-0.007952237501740456,
0.05381238833069801,
0.02988828346133232,
-0.041311200708150864,
0.005955754313617945,
0.03027578629553318,
-0.030393721535801888,
0.014084895141422749,
-0.02945023588836193,
-0.004304653964936733,
-0.03319048509001732,
0.02609749138355255,
-0.023637689650058746,
0.05553087964653969,
-0.008103868924081326,
0.08990071713924408,
0.015356916934251785,
-0.022492028772830963,
-0.018650691956281662,
-0.004188824445009232,
0.006958208046853542,
-0.047814514487981796,
0.007724790368229151,
-0.05802437663078308,
0.06857120245695114,
-0.016864808276295662,
-0.011852541007101536,
0.012981354258954525,
0.026670321822166443,
-0.008487160317599773,
-0.01934145949780941,
-0.05293629318475723,
-0.009468554519116879,
0.014371310360729694,
-0.016923777759075165,
0.01676372066140175,
0.07042447477579117,
0.03733508288860321,
-0.0609896183013916,
0.009679153561592102,
0.04431013762950897,
0.03231438994407654,
-0.006612824741750956,
-0.028287727385759354,
0.07298536598682404,
0.013250920921564102,
-0.019543634727597237,
-0.0357176773250103,
-0.03435299172997475,
0.01824634149670601,
0.008562976494431496,
0.027495872229337692,
-0.007737426087260246,
0.008006993681192398,
-0.028388815000653267,
-0.015559092164039612,
0.006444345228374004,
0.04805038496851921,
-0.03244917467236519,
-0.06186571344733238,
0.007775334175676107,
-0.009089474566280842,
0.09043985605239868,
0.010437311604619026,
-0.005610371008515358,
-0.03477419167757034,
-0.09145073592662811,
-0.005698822904378176,
0.01821264624595642,
0.03854813426733017,
-0.008588247932493687,
-0.03275243565440178,
-0.056777630001306534,
-0.047241684049367905,
-0.03750356286764145,
0.07520929723978043,
0.011465037241578102,
0.011363949626684189,
0.04569166898727417,
0.005580887198448181,
0.016847960650920868,
-0.02469911053776741,
0.04734276980161667,
-0.01725231297314167,
0.010546823963522911,
0.039794884622097015,
-0.01838112622499466,
-0.01603083498775959,
-0.009266378358006477,
0.030343178659677505,
-0.016317250207066536,
0.03223014995455742,
-0.02538987807929516,
0.05994504690170288,
-0.043366651982069016,
0.04730907455086708,
0.01950993947684765,
0.049061261117458344,
0.009022083133459091,
0.05404825881123543,
-0.007636338472366333,
0.013284617103636265,
0.03925574943423271,
-0.04319817200303078,
-0.007173019461333752,
0.015011533163487911,
-0.03868291899561882,
-0.002986301202327013,
-0.04474818333983421,
0.013756359927356243,
0.018937109038233757,
-0.016847960650920868,
-0.06941360235214233,
-0.00016571549349464476,
0.018532756716012955,
-0.02378932014107704,
-0.01004138495773077,
0.01895395666360855,
-0.014017503708600998,
0.003552813781425357,
-0.009544369764626026,
0.04579275846481323,
-0.022104524075984955,
-0.003152674762532115,
0.01876862905919552,
-0.02769804745912552,
0.014918869361281395,
-0.03128666430711746,
-0.021009407937526703,
-0.007050871849060059,
-0.002261838875710964,
-0.02313224971294403,
-0.03344320133328438,
0.001328882877714932,
0.008381860330700874,
-0.014110167510807514,
0.028018159791827202,
0.01763981580734253,
0.02247517928481102,
-0.047241684049367905,
-0.03780682384967804,
-0.032348085194826126,
-0.01646888256072998,
-0.0333758108317852,
0.07574843615293503,
-0.06526900082826614,
-0.003879243042320013,
0.018178949132561684,
0.0304948091506958,
-0.030258938670158386,
-0.0379079133272171,
-0.0390198789536953,
0.021632781252264977,
0.024244215339422226,
0.037874218076467514,
0.03814378380775452,
-0.0903724655508995,
-0.028152942657470703,
0.023401817306876183,
-0.019762657582759857,
-0.09677468985319138,
-0.033729616552591324,
0.005812546703964472,
0.04107533022761345,
-0.08430719375610352,
0.0025629960000514984,
-0.026333363726735115,
0.024968678131699562,
-0.005121780093759298,
-0.0025314062368124723,
0.042490556836128235,
0.01552539598196745,
0.028944797813892365,
-0.00936746597290039,
-0.021026255562901497,
-0.06550487130880356,
-0.015062076970934868,
0.014194407500326633,
0.047713425010442734,
-0.08821592479944229,
0.038480743765830994,
-0.011026990599930286,
0.07365928590297699,
0.049061261117458344,
0.012686514295637608,
0.07264840602874756,
-0.006494889035820961,
-0.035043757408857346,
-0.007568946573883295,
-0.018313733860850334,
-0.030781224370002747,
0.013175105676054955,
-0.06607770174741745,
0.03271874040365219,
0.015365340746939182,
-0.0233512744307518,
-0.00230395863763988,
0.0373687781393528,
-0.04966779053211212,
-0.02478335052728653,
0.004553161561489105,
0.07534407824277878,
-0.009696001186966896,
0.026299666613340378,
0.045152533799409866,
-0.08767678588628769,
0.007787969894707203,
0.0604504831135273,
-0.039222054183483124,
-0.007442586589604616,
-0.054991744458675385,
-0.009687577374279499,
-0.010285680182278156,
-0.007964873686432838,
0.011363949626684189,
0.0009134754072874784,
-0.008963115513324738,
-0.021026255562901497,
-0.014531366527080536,
-0.033123090863227844,
0.03972749039530754,
0.020975710824131966,
0.019964834675192833,
-0.0074594346806406975,
0.034572016447782516,
0.004734277259558439,
-0.03453832119703293,
-0.06382007896900177,
-0.07183970510959625,
-0.013899567537009716,
0.0030600109603255987,
0.006343257147818804,
-0.03307254612445831,
-0.002560890046879649,
0.03753725811839104,
-0.04077206552028656,
0.012838146649301052,
-0.005450315307825804,
-0.009097899310290813,
-0.05997874215245247,
-0.037132907658815384,
0.014000656083226204,
0.06638097018003464,
-0.024901285767555237,
-0.08996811509132385,
-0.00160898023750633,
0.0028072914574295282,
-0.0024998162407428026,
0.06624618172645569,
0.0450514480471611,
0.07177231460809708,
0.013790056109428406,
0.01178514864295721,
-0.023991497233510017,
0.04687102884054184,
-0.0634494200348854,
0.01917297951877117,
-0.020200705155730247,
-0.04333295673131943,
-0.006928723771125078,
0.05428412929177284,
0.02382301725447178,
0.011111230589449406,
0.010850086808204651,
0.022138221189379692,
0.04953300580382347,
0.014826205559074879,
0.0025208762381225824,
-0.0004133015463594347,
0.015255828388035297,
-0.000611265073530376,
-0.002872577402740717,
-0.030157851055264473,
-0.0032369145192205906,
0.07210927456617355,
0.002885213354602456,
-0.028338270261883736,
-0.0062337457202374935,
-0.02805185504257679,
-0.06550487130880356,
0.019526787102222443,
-0.022155068814754486,
-0.00554297911003232,
-0.02840566262602806,
-0.061057012528181076,
-0.049802571535110474,
0.022441484034061432,
0.034218210726976395,
0.026821954175829887,
0.038177479058504105,
-0.02665347419679165,
-0.007948026061058044,
0.002000695327296853,
0.017589271068572998,
-0.06624618172645569,
-0.03332526609301567,
0.012248467653989792,
-0.012661242857575417,
-0.020352337509393692,
-0.08390284329652786,
0.019088739529252052,
0.009586489759385586,
-0.059877652674913406,
-0.01117019820958376,
-0.05627219006419182,
-0.08349849283695221,
-0.006911876145750284,
0.021801261231303215,
0.018970804288983345,
0.08963115513324738,
0.05940591171383858,
-0.04882539063692093,
0.01280445046722889,
0.005951542407274246,
0.03219645470380783,
-0.0206050556153059,
-0.009712849743664265,
0.01117019820958376,
0.02914697304368019,
-0.04215359687805176,
-0.03244917467236519,
0.012282163836061954,
-0.011625093407928944,
0.03463940694928169,
-0.013141409493982792,
-0.050510186702013016,
-0.06836902350187302,
0.04943191632628441,
-0.027377936989068985,
0.043097082525491714,
0.026451298967003822,
-0.05610371008515358,
0.057653721421957016,
0.0016468882095068693,
0.07150274515151978,
0.0016574182081967592,
-0.00895469170063734,
0.045893844217061996,
0.02992197871208191,
0.017572423443198204,
0.053643908351659775,
0.03396549075841904,
0.027799135074019432,
0.0014447126304730773,
-0.050678666681051254,
0.04225468635559082,
0.0072614713571965694,
0.0013741618022322655,
-0.0008450305322185159,
0.010032961145043373,
-0.029416540637612343,
-0.0014573485823348165,
-0.028911100700497627,
-0.03784051910042763,
-0.016797417774796486,
-0.02758011221885681,
0.04599493369460106,
-0.030612744390964508,
0.030528506264090538,
0.02635021135210991,
0.002142850076779723,
0.0025672081392258406,
-0.01568545214831829,
-0.0033232602290809155,
0.1211705356836319,
-0.018195798620581627,
-0.00821338128298521,
0.04582645371556282,
-0.00013899567420594394,
0.030292633920907974,
-0.029416540637612343,
-0.0287089254707098,
-0.0862615630030632,
0.008508220314979553,
-0.02456432767212391,
-0.0021038891281932592,
0.02426106296479702,
0.023890409618616104
] |
5,717 | dataclasses | dataclass | Returns the same class as was passed in, with dunder methods
added based on the fields defined in the class.
Examines PEP 526 __annotations__ to determine fields.
If init is true, an __init__() method is added to the class. If
repr is true, a __repr__() method is added. If order is true, rich
comparison dunder methods are added. If unsafe_hash is true, a
__hash__() method function is added. If frozen is true, fields may
not be assigned to after instance creation. If match_args is true,
the __match_args__ tuple is added. If kw_only is true, then by
default all fields are keyword-only. If slots is true, an
__slots__ attribute is added.
| def dataclass(cls=None, /, *, init=True, repr=True, eq=True, order=False,
unsafe_hash=False, frozen=False, match_args=True,
kw_only=False, slots=False):
"""Returns the same class as was passed in, with dunder methods
added based on the fields defined in the class.
Examines PEP 526 __annotations__ to determine fields.
If init is true, an __init__() method is added to the class. If
repr is true, a __repr__() method is added. If order is true, rich
comparison dunder methods are added. If unsafe_hash is true, a
__hash__() method function is added. If frozen is true, fields may
not be assigned to after instance creation. If match_args is true,
the __match_args__ tuple is added. If kw_only is true, then by
default all fields are keyword-only. If slots is true, an
__slots__ attribute is added.
"""
def wrap(cls):
return _process_class(cls, init, repr, eq, order, unsafe_hash,
frozen, match_args, kw_only, slots)
# See if we're being called as @dataclass or @dataclass().
if cls is None:
# We're called with parens.
return wrap
# We're called as @dataclass without parens.
return wrap(cls)
| (cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False) | [
0.019863968715071678,
-0.028091007843613625,
0.06502247601747513,
-0.02267848327755928,
-0.025366703048348427,
-0.0276219230145216,
-0.006368738599121571,
-0.01326970849186182,
0.051166411489248276,
-0.01705847680568695,
-0.0028122582007199526,
0.0049028461799025536,
0.040666110813617706,
-0.005804934073239565,
-0.009706462733447552,
0.017572667449712753,
0.01418983843177557,
0.03207823634147644,
-0.04445487633347511,
-0.01160986814647913,
0.03947535529732704,
0.0005829741130582988,
-0.020928433164954185,
0.05881611257791519,
-0.021433601155877113,
0.023688821122050285,
-0.011447492055594921,
0.03261948749423027,
0.0007188510498963296,
-0.01748245768249035,
-0.002999441232532263,
-0.0423259511590004,
-0.011528680101037025,
0.03445974737405777,
0.02747758850455284,
-0.026972420513629913,
0.05567684769630432,
0.031609151512384415,
-0.033647868782281876,
0.021884646266698837,
-0.015290385112166405,
-0.012782581150531769,
-0.05553251504898071,
-0.044707462191581726,
0.018285315483808517,
0.035867005586624146,
0.05488301068544388,
-0.025492995977401733,
-0.0515272431075573,
-0.059790369123220444,
0.040666110813617706,
-0.01723889447748661,
0.040088772773742676,
0.004526224453002214,
0.028343593701720238,
0.010392049327492714,
0.022443940863013268,
0.10767317563295364,
-0.01318852137774229,
0.022732608020305634,
-0.0019485092489048839,
0.04250636696815491,
0.006513072643429041,
-0.05199633166193962,
-0.03189781680703163,
0.004460823256522417,
-0.03817634657025337,
-0.024590907618403435,
-0.01418983843177557,
-0.019485091790556908,
-0.07765170186758041,
0.03669692575931549,
0.03207823634147644,
0.05325925350189209,
0.010464216582477093,
-0.05217674747109413,
0.00977862998843193,
-0.046367302536964417,
0.02042326331138611,
0.003588053397834301,
0.009986110031604767,
-0.04290328547358513,
-0.019503135234117508,
0.0211629755795002,
0.000519827997777611,
-0.017771126702427864,
-0.03925885260105133,
0.01510094664990902,
-0.0497952364385128,
-0.023346027359366417,
-0.046547722071409225,
0.030689021572470665,
-0.0105814877897501,
0.013594460673630238,
-0.03261948749423027,
-0.03635413199663162,
0.0029926756396889687,
0.043552789837121964,
0.01845671236515045,
0.09085826575756073,
0.025294536724686623,
0.03388240933418274,
0.03763509541749954,
0.053547922521829605,
-0.02358056977391243,
-0.0516354963183403,
-0.03422520309686661,
0.03242103010416031,
-0.04550129920244217,
-0.0717700943350792,
0.02006242796778679,
0.04286720231175423,
-0.008218018338084221,
0.0423259511590004,
0.060187287628650665,
-0.05809444189071655,
0.0013892148854210973,
-0.00590416369959712,
-0.009498982690274715,
-0.02228156477212906,
0.008082705549895763,
0.017184769734740257,
-0.05863569676876068,
0.0193768423050642,
0.009223845787346363,
-0.04380537569522858,
0.026846127584576607,
0.0062018525786697865,
-0.003466271795332432,
-0.01454165205359459,
0.06007903441786766,
0.00783914141356945,
-0.046692054718732834,
0.04001660645008087,
0.0369134247303009,
0.05253758281469345,
0.10009564459323883,
0.032330822199583054,
-0.06415647268295288,
-0.004663792904466391,
0.03889801725745201,
0.005286233499646187,
0.015335489995777607,
0.03940318897366524,
-0.01502877939492464,
-0.03523554280400276,
-0.04402187466621399,
0.026972420513629913,
0.011212948709726334,
0.006071049720048904,
-0.0037865128833800554,
-0.027188921347260475,
0.05380050465464592,
0.06650190055370331,
0.024266157299280167,
-0.037707261741161346,
-0.060006868094205856,
-0.06754831969738007,
0.028235342353582382,
0.009318565018475056,
0.025132160633802414,
-0.052826251834630966,
-0.0022721332497894764,
-0.022913025692105293,
0.028109049424529076,
0.017374208196997643,
-0.049290068447589874,
-0.0938892811536789,
-0.014433401636779308,
0.0626048818230629,
0.03222256898880005,
-0.025294536724686623,
0.020170679315924644,
0.023688821122050285,
-0.05921303108334541,
0.0009099809103645384,
-0.015290385112166405,
0.024663075804710388,
0.0718783438205719,
-0.01510094664990902,
0.05304275080561638,
-0.0012527741491794586,
-0.0048848045989871025,
0.055929433554410934,
0.02578166499733925,
0.032673612236976624,
0.015272343531250954,
-0.007721870206296444,
0.013350896537303925,
0.04387754201889038,
-0.010482258163392544,
-0.041929032653570175,
-0.05044474080204964,
0.024590907618403435,
0.02969672530889511,
-0.007266315631568432,
-0.04095477983355522,
0.054810844361782074,
0.002776174573227763,
0.042073365300893784,
-0.016995331272482872,
0.020693890750408173,
0.08328072726726532,
-0.031266357749700546,
-0.004767532926052809,
0.009165210649371147,
0.049326151609420776,
0.032330822199583054,
-0.02284085936844349,
-0.07148142158985138,
0.03745467960834503,
0.011727139353752136,
-0.05199633166193962,
0.010076318867504597,
-0.014442422427237034,
-0.031807608902454376,
0.09157993644475937,
-0.030003434047102928,
-0.012439788319170475,
0.031609151512384415,
0.07029066979885101,
0.03462212160229683,
-0.06134195998311043,
0.08190955966711044,
0.004614178091287613,
-0.04474354535341263,
-0.01769895851612091,
0.007302399259060621,
0.01684197597205639,
-0.11575588583946228,
-0.033449407666921616,
0.037707261741161346,
0.024951742962002754,
0.003371552564203739,
-0.002211242215707898,
-0.012800623662769794,
0.011844410561025143,
0.022010937333106995,
-0.014343192800879478,
0.04167644679546356,
-0.0030580770689994097,
0.017545605078339577,
0.0020781843923032284,
0.005191514268517494,
-0.04514046385884285,
-0.014523610472679138,
-0.030725104734301567,
0.048748813569545746,
0.028524011373519897,
-0.029408056288957596,
-0.07068758457899094,
-0.037490762770175934,
-0.01804175227880478,
-0.013332854956388474,
0.009345627389848232,
0.04907356575131416,
-0.025023911148309708,
0.003739153267815709,
0.009607233107089996,
-0.006540135480463505,
-0.005610985215753317,
-0.010653655044734478,
-0.0041270507499575615,
0.07418768852949142,
0.02249806560575962,
-0.008276653476059437,
0.018583005294203758,
-0.01307124923914671,
-0.055568598210811615,
0.02248002402484417,
0.0179425235837698,
0.023490361869335175,
0.04463529586791992,
-0.008542769588530064,
-0.03150089830160141,
-0.029371973127126694,
0.019647467881441116,
-0.06419255584478378,
0.03922276943922043,
-0.059970784932374954,
0.010906239040195942,
-0.0016519479686394334,
0.022371772676706314,
-0.018285315483808517,
0.04752197489142418,
0.018564963713288307,
-0.051130324602127075,
0.04719722270965576,
0.004546521697193384,
-0.030328186228871346,
0.024969784542918205,
-0.015561011619865894,
0.052970584481954575,
0.025114119052886963,
0.06834215670824051,
0.005710214842110872,
-0.047666311264038086,
0.006066539324820042,
0.0030625874642282724,
-0.047630228102207184,
-0.02727912925183773,
-0.016625475138425827,
0.05509951338171959,
0.03189781680703163,
-0.03509121015667915,
-0.019286632537841797,
-0.04842406511306763,
-0.001226839143782854,
-0.005182493478059769,
-0.03209627792239189,
0.040630027651786804,
0.03940318897366524,
0.004521714057773352,
0.007888756692409515,
0.005538817960768938,
0.009886880405247211,
-0.015696324408054352,
0.0033016407396644354,
0.02471720054745674,
0.051671579480171204,
-0.028072966262698174,
-0.020351096987724304,
-0.007207680027931929,
-0.0341169536113739,
-0.05841919407248497,
-0.03738250955939293,
0.00986883882433176,
-0.009895901195704937,
-0.010121422819793224,
-0.0017094560898840427,
-0.006842334754765034,
0.006562687456607819,
0.037707261741161346,
0.004018800333142281,
-0.005096795037388802,
0.024374406784772873,
0.00007533840835094452,
-0.06563589721918106,
-0.005651578772813082,
-0.01400942075997591,
0.02670179307460785,
0.019322717562317848,
0.0046231988817453384,
0.007757953368127346,
-0.030544687062501907,
-0.020206762477755547,
-0.014027462340891361,
-0.005868080072104931,
0.046908557415008545,
0.003633157815784216,
0.03175348415970802,
-0.09093043208122253,
-0.00331968255341053,
-0.02652137540280819,
0.07858987152576447,
-0.06729573756456375,
0.05026432126760483,
-0.02325581945478916,
-0.030490562319755554,
-0.040666110813617706,
0.0535118393599987,
0.008448050357401371,
-0.017446374520659447,
0.02305736020207405,
-0.008046621456742287,
0.015579053200781345,
-0.02137947641313076,
-0.002487506717443466,
-0.03741859272122383,
-0.004997565411031246,
-0.01582261733710766,
-0.045789968222379684,
0.009995130822062492,
0.002246198244392872,
-0.016995331272482872,
0.0024356364738196135,
-0.034531913697719574,
-0.00870063528418541,
-0.051346827298402786,
0.030183851718902588,
-0.014956613071262836,
-0.023688821122050285,
-0.01400942075997591,
-0.008687104098498821,
0.04373320937156677,
0.017789168283343315,
-0.017446374520659447,
0.04016093909740448,
0.0022586018312722445,
0.03828459978103638,
-0.0080691734328866,
0.0035474596079438925,
-0.021650101989507675,
-0.006192831322550774,
-0.07039891928434372,
0.016823934391140938,
-0.008195466361939907,
0.01968355104327202,
0.011492596007883549,
0.004413463640958071,
0.03258340433239937,
-0.05661501735448837,
0.0754866898059845,
-0.0020319523755460978,
0.052212830632925034,
0.01735616661608219,
0.08818808943033218,
-0.07519802451133728,
-0.021126892417669296,
-0.015561011619865894,
0.03301640599966049,
0.028307508677244186,
0.024554824456572533,
0.044707462191581726,
0.04665597155690193,
0.0024965275079011917,
0.07328560203313828,
0.020387180149555206,
0.009453877806663513,
0.0017511775949969888,
0.016075201332569122,
0.006039476487785578,
0.01991809532046318,
0.02358056977391243,
0.027748215943574905,
0.036769092082977295,
-0.03563246130943298,
-0.028072966262698174,
-0.006968626752495766,
0.03218648582696915,
-0.03994444012641907,
0.019972220063209534,
-0.050228238105773926,
0.011086656711995602,
-0.005687662400305271,
-0.029011137783527374,
0.007131002843379974,
-0.008908115327358246,
0.03077922947704792,
0.043949708342552185,
-0.07425985485315323,
-0.03821243345737457,
0.017509520053863525,
-0.03296228125691414,
-0.08724991232156754,
-0.03577679395675659,
0.029408056288957596,
0.008813396096229553,
0.09352844208478928,
-0.017166728153824806,
0.08977576345205307,
0.054269589483737946,
0.04019702598452568,
0.09121909737586975,
-0.03482058271765709,
-0.06556373089551926,
0.015624157153069973,
-0.07519802451133728,
-0.01575946994125843,
-0.005547838751226664,
-0.040630027651786804,
0.008542769588530064,
-0.027730174362659454,
-0.020910391584038734,
-0.04023310914635658,
0.0027851955965161324,
0.014325151219964027,
-0.05827486142516136,
-0.047810643911361694,
-0.03987227380275726,
0.030869439244270325,
-0.011564763262867928,
0.022407855838537216,
-0.003642178839072585,
0.0071219815872609615,
0.00405488396063447,
-0.016165411099791527,
-0.020603680983185768,
-0.077435202896595,
-0.031789567321538925,
0.05733668804168701,
0.009922963567078114,
0.010265757329761982,
-0.04225378483533859,
-0.024951742962002754,
-0.018131962046027184,
-0.014604798518121243,
0.0202608872205019,
-0.0025709497276693583,
0.007717359811067581,
0.005101305432617664,
0.07061541825532913,
0.01692316308617592,
-0.012548038735985756,
0.009517024271190166,
0.0478828102350235,
0.06386779993772507,
0.02172227017581463,
-0.028235342353582382,
-0.06375955045223236,
0.013856065459549427,
-0.0062244045548141,
0.019809843972325325,
-0.01004023477435112,
0.001514379633590579,
-0.08190955966711044,
0.034748416393995285,
0.01955725997686386,
0.02468111738562584,
0.03781551122665405,
-0.021505769342184067,
-0.00173990149050951,
-0.005859059281647205,
0.04492396488785744,
0.03709384426474571,
-0.015073884278535843,
-0.02394140511751175,
0.000842324341647327,
-0.07101234048604965,
0.01050932053476572,
-0.008894584141671658,
0.08862108737230301,
-0.002066908171400428,
0.006472478620707989,
-0.04030527547001839,
0.03413499519228935,
0.028794636949896812,
-0.0028190237935632467,
0.02946218103170395,
-0.01132120005786419,
-0.014676965773105621,
-0.04925398528575897,
0.029949309304356575,
0.028127092868089676,
-0.041387781500816345,
0.057048022747039795,
-0.04950656741857529,
0.05589335039258003,
0.011357283219695091,
0.003791023278608918,
0.032529279589653015,
0.044310543686151505,
0.020910391584038734,
-0.029804974794387817,
0.006774677895009518,
0.02471720054745674,
-0.016625475138425827,
-0.0036963040474802256,
-0.011546721681952477,
0.008082705549895763,
-0.0349649153649807,
-0.03460408002138138,
0.02098255790770054,
0.006621323060244322,
-0.027964716777205467,
0.016553306952118874,
-0.0020048897713422775,
0.06123370677232742,
0.013765857554972172,
0.016210515052080154,
-0.039691854268312454,
-0.007261805236339569,
0.02690025232732296,
-0.0054666511714458466,
-0.006328144576400518,
-0.0034234225749969482,
0.08190955966711044,
0.034189119935035706,
-0.05856352671980858,
-0.046692054718732834,
-0.03597525507211685,
0.0644451379776001,
0.0006292061298154294,
0.06711532175540924,
0.008944198489189148,
0.01740127056837082,
-0.05452217534184456,
-0.012764539569616318,
-0.0045938813127577305,
-0.11380737274885178,
0.05423350632190704,
0.04878489673137665,
-0.045789968222379684,
-0.029895184561610222,
-0.046728137880563736,
-0.04344454035162926,
-0.019467050209641457,
0.009453877806663513,
-0.043191954493522644,
-0.05816660821437836,
0.029949309304356575,
0.05380050465464592,
0.012124057859182358,
0.008299206383526325,
0.03020189329981804,
-0.0035068655852228403,
-0.03637217357754707,
0.020766057074069977,
0.042073365300893784,
-0.009679400362074375,
-0.05001173913478851,
0.08970358967781067,
-0.06798132508993149,
-0.032511238008737564,
0.02616054192185402,
-0.05654285103082657,
-0.040666110813617706,
0.018763422966003418,
-0.0050110965967178345,
-0.05950170010328293,
0.003441464388743043,
0.015561011619865894,
0.039691854268312454,
0.05603768303990364,
0.010265757329761982,
-0.0285600945353508,
-0.04961482062935829,
-0.01952117681503296,
0.0011670758249238133,
0.01345012616366148,
-0.04073827713727951,
-0.012295453809201717,
0.06689881533384323,
0.013170478865504265,
-0.011673013679683208,
-0.00534486910328269,
-0.01730204001069069,
-0.05087774246931076,
0.009187762625515461,
-0.05271800234913826,
-0.00011790567077696323,
-0.015894783660769463,
0.03076118789613247,
-0.018546922132372856,
-0.008145851083099842,
-0.03184369206428528,
-0.03828459978103638,
0.02709871158003807,
0.03350353240966797,
-0.016408974304795265,
-0.01914229989051819,
0.02157793566584587,
0.02118101716041565,
0.031103981658816338,
-0.005453119520097971,
-0.04185686632990837,
0.009814713150262833,
-0.03568658605217934,
-0.01364858541637659,
-0.0221372302621603,
-0.03003951720893383,
0.028650302439928055,
0.000700245494954288,
0.00014391116565093398,
-0.019412925466895103,
-0.0022067318204790354,
-0.03763509541749954,
-0.027748215943574905,
0.0211990587413311,
-0.019611384719610214,
-0.014289068058133125,
0.008177423849701881,
-0.00663485424593091,
-0.06166670843958855,
0.023652737960219383,
0.04737764224410057,
-0.03247515484690666,
-0.03756292909383774,
0.04640338569879532,
-0.01345012616366148,
-0.03278186544775963,
0.11741572618484497,
-0.005728256423026323,
-0.022552190348505974,
-0.021650101989507675,
-0.05466650798916817,
0.03832068294286728,
-0.0479188933968544,
0.006504051852971315,
-0.006048497278243303,
-0.0165803711861372,
0.006255977787077427,
-0.014884445816278458,
-0.008741228841245174,
-0.021866604685783386,
0.03301640599966049,
0.009877859614789486,
-0.03705776110291481,
0.029191555455327034,
-0.10543600469827652,
0.02724304609000683,
0.012845727615058422,
0.00681527191773057,
-0.004151858389377594,
0.05405309051275253,
-0.07779603451490402,
-0.031031813472509384,
-0.011790284886956215,
0.004436016082763672,
-0.031410690397024155,
-0.03839284926652908,
0.04698072373867035,
-0.0030174830462783575,
0.000047007222747197375,
0.02415790595114231,
0.039691854268312454,
-0.014505568891763687,
0.01899796538054943,
0.052429333329200745,
-0.01171811856329441,
-0.011618888936936855,
0.07404334843158722,
-0.04723330959677696,
-0.055749014019966125,
0.018492795526981354,
-0.026773961260914803,
0.03465820476412773,
0.018447691574692726,
-0.046547722071409225,
-0.0021413303911685944,
0.04261462017893791,
0.015245281159877777,
0.043588872998952866,
-0.01438829768449068,
0.0017511775949969888,
0.01307124923914671,
-0.008420987986028194,
-0.049867402762174606,
0.001105621107853949,
-0.036949507892131805,
0.044707462191581726,
0.01953921839594841,
-0.03209627792239189,
-0.01096036471426487,
0.014325151219964027,
-0.036570630967617035,
-0.022425897419452667,
-0.08587874472141266,
-0.04387754201889038,
0.07584752887487411,
-0.08443540334701538,
0.03471233323216438,
0.01771700009703636,
0.0662132278084755,
-0.04337237402796745,
-0.05033648759126663,
0.010897218249738216,
0.02874051220715046,
0.03355766087770462,
-0.007757953368127346,
0.0020319523755460978,
0.02412182278931141,
0.006828803103417158,
-0.02691829390823841,
0.05989861860871315,
0.03061685338616371,
0.014243963174521923,
-0.03146481513977051,
0.02413986437022686,
-0.06191929429769516,
-0.04145994782447815,
-0.01993613690137863,
0.03202411159873009,
-0.02818121761083603,
0.0052727023139595985,
0.012124057859182358,
0.008822416886687279,
0.041929032653570175
] |
5,721 | simple_di | inject |
used with `Provide`, inject values to provided defaults of the decorated
function/method when gets called.
| def inject(
func: Optional[WrappedCallable] = None, squeeze_none: bool = False
) -> Union[WrappedCallable, Callable[[WrappedCallable], WrappedCallable]]:
"""
used with `Provide`, inject values to provided defaults of the decorated
function/method when gets called.
"""
if func is None:
wrapper = functools.partial(_inject, squeeze_none=squeeze_none)
return cast(Callable[[WrappedCallable], WrappedCallable], wrapper)
if callable(func):
return _inject(func, squeeze_none=squeeze_none)
raise ValueError("You must pass either None or Callable")
| (func: Optional[~WrappedCallable] = None, squeeze_none: bool = False) -> Union[~WrappedCallable, Callable[[~WrappedCallable], ~WrappedCallable]] | [
-0.044400181621313095,
-0.08057811111211777,
0.020412644371390343,
0.03154844045639038,
0.020752260461449623,
0.06284663826227188,
0.01598871313035488,
-0.05019151046872139,
0.03935958445072174,
-0.012655124999582767,
0.016355140134692192,
0.00770389661192894,
-0.01329860556870699,
-0.024398650974035263,
-0.01599765010178089,
0.044149938970804214,
0.03782237693667412,
0.04625912755727768,
0.029278382658958435,
-0.021056124940514565,
0.07664572447538376,
-0.029600122943520546,
0.024720391258597374,
-0.0273300651460886,
-0.02286144718527794,
0.01896481215953827,
0.07228435575962067,
0.011913334019482136,
0.01135922595858574,
0.03204892575740814,
0.08115009218454361,
-0.06166692078113556,
-0.044114191085100174,
0.029385628178715706,
0.022003471851348877,
-0.0042608268558979034,
0.0154256671667099,
0.06173842027783394,
-0.03821561858057976,
-0.06138093024492264,
-0.027937795966863632,
-0.040181808173656464,
0.025310249999165535,
-0.04393544793128967,
-0.048976048827171326,
0.021074000746011734,
0.044936418533325195,
0.05333741754293442,
-0.020430518314242363,
0.024917010217905045,
0.03542719781398773,
-0.012342321686446667,
0.05090649053454399,
-0.014826872386038303,
0.04640212282538414,
0.02359430119395256,
0.05108523368835449,
0.009250038303434849,
-0.03052959404885769,
0.020430518314242363,
0.004642893560230732,
-0.020627139136195183,
-0.01167202927172184,
0.00580473430454731,
0.027812674641609192,
-0.0011216229759156704,
-0.060737449675798416,
-0.021074000746011734,
0.0007205645670183003,
0.02713344618678093,
-0.03519483283162117,
-0.025757111608982086,
-0.004207203164696693,
0.0054472447372972965,
0.004339027684181929,
-0.008240130729973316,
0.029385628178715706,
-0.07492978125810623,
0.08186507225036621,
-0.04808232560753822,
0.0071408506482839584,
-0.04525815695524216,
-0.052372198551893234,
0.05330166965723038,
0.012440631166100502,
-0.04786783084273338,
-0.0467238649725914,
0.011850773356854916,
0.010036515071988106,
0.03487309068441391,
-0.037464890629053116,
0.013191359117627144,
0.012914304621517658,
-0.02361217513680458,
0.03828711435198784,
-0.010635309852659702,
0.0033201829064637423,
0.01993003487586975,
0.018553700298070908,
0.04661661759018898,
-0.0009138322784565389,
0.026275470852851868,
0.02707982249557972,
0.013566723093390465,
0.01901843585073948,
-0.040181808173656464,
0.014406822621822357,
0.04311322048306465,
-0.02663296088576317,
0.052622441202402115,
0.01925080455839634,
-0.04990551993250847,
-0.01522904820740223,
-0.01168096624314785,
-0.014844747260212898,
-0.02321893721818924,
-0.006533118896186352,
-0.016730504110455513,
0.020466268062591553,
0.04171901196241379,
-0.03506971150636673,
0.006010290700942278,
-0.03921658545732498,
-0.04697410762310028,
0.04733159765601158,
0.014344261959195137,
0.0022387774661183357,
0.04382820054888725,
-0.010331443510949612,
-0.014013584703207016,
0.06538481265306473,
0.012092079035937786,
-0.024166284129023552,
0.009053419344127178,
0.010072263889014721,
-0.020805882290005684,
-0.011305602267384529,
0.04111127927899361,
-0.04976252466440201,
-0.020019406452775,
-0.03589193522930145,
-0.018142586573958397,
-0.02296869456768036,
0.05308717489242554,
0.01993003487586975,
0.004115596879273653,
0.033264387398958206,
-0.04175476357340813,
0.01989428512752056,
-0.00336933764629066,
0.03925233706831932,
-0.014639191329479218,
-0.01594402641057968,
0.017320360988378525,
-0.01530054584145546,
0.006859327666461468,
0.044507429003715515,
0.009670088067650795,
-0.009111511521041393,
-0.03839436173439026,
0.03412236273288727,
-0.026311220601201057,
0.04011031240224838,
-0.008678055368363857,
0.017239926382899284,
0.021395741030573845,
-0.027937795966863632,
0.020144527778029442,
0.06220315396785736,
0.04557989910244942,
0.026561463251709938,
-0.021449364721775055,
0.04944078251719475,
-0.012029518373310566,
0.028313159942626953,
0.037715133279561996,
-0.06252489238977432,
-0.05676931515336037,
-0.0190363097935915,
-0.010939175263047218,
0.007029135245829821,
-0.04300597310066223,
-0.016900312155485153,
0.03907359018921852,
0.015139675699174404,
0.005219345446676016,
0.017686787992715836,
-0.03546294942498207,
-0.03785812854766846,
-0.036857157945632935,
-0.017928093671798706,
0.07074715197086334,
0.017239926382899284,
-0.01916143111884594,
-0.03796537593007088,
-0.0026431872975081205,
-0.06635003536939621,
-0.0067922985181212425,
0.05101373791694641,
0.008137352764606476,
-0.03549869731068611,
-0.0026275471318513155,
0.06409785151481628,
0.009084699675440788,
-0.02346917986869812,
0.0002792885934468359,
-0.0019695430528372526,
0.04157601669430733,
-0.0546601302921772,
-0.013933149166405201,
0.056912314146757126,
-0.017865533009171486,
-0.017794035375118256,
-0.013146672397851944,
-0.01606021076440811,
-0.017257800325751305,
0.0470813550055027,
-0.037214647978544235,
0.010510188527405262,
0.03163781017065048,
0.032352790236473083,
-0.03585618734359741,
0.03467647358775139,
0.04386394843459129,
0.07471528649330139,
0.0010931355645880103,
0.03506971150636673,
-0.056090086698532104,
0.033157140016555786,
-0.03885909914970398,
-0.03388999402523041,
0.06273938715457916,
-0.014621316455304623,
0.03975282236933708,
0.03918083757162094,
-0.05912874639034271,
0.009527092799544334,
-0.03578468784689903,
0.02388029173016548,
-0.008807645179331303,
0.017454419285058975,
0.022271590307354927,
-0.018410703167319298,
0.06713651120662689,
-0.013647157698869705,
0.017928093671798706,
-0.03372912481427193,
0.040432050824165344,
0.006488432642072439,
0.029725244268774986,
0.007306189741939306,
0.01552397757768631,
0.0136650325730443,
0.003722358262166381,
-0.014951993711292744,
0.04314897209405899,
-0.009544966742396355,
-0.03119095042347908,
-0.04536540433764458,
-0.017257800325751305,
0.003539144992828369,
-0.02736581303179264,
0.0006300750537775457,
0.026132475584745407,
-0.016766251996159554,
-0.020859505981206894,
0.004229546524584293,
-0.08143608272075653,
0.03964557498693466,
0.07156937569379807,
0.01905418559908867,
0.0052685001865029335,
0.05759154260158539,
-0.021824728697538376,
0.012154639698565006,
-0.0018600620096549392,
0.048153821378946304,
-0.0012690873118117452,
0.05473162606358528,
-0.0054159644059836864,
0.014978805556893349,
-0.010519125498831272,
-0.04350645840167999,
-0.003107923548668623,
-0.028831519186496735,
0.07535876333713531,
-0.0321919210255146,
0.0011886522406712174,
-0.007270440459251404,
-0.0026878733187913895,
0.04171901196241379,
0.03033297508955002,
0.06770849227905273,
0.033568255603313446,
-0.008240130729973316,
0.03928808495402336,
-0.04919053986668587,
-0.005934324115514755,
0.048153821378946304,
-0.04983402043581009,
-0.011403911747038364,
-0.06245339661836624,
-0.00975052360445261,
0.015434605069458485,
0.08901485800743103,
-0.024202032014727592,
0.0014444806147366762,
-0.02758030779659748,
-0.06284663826227188,
0.021628107875585556,
0.03154844045639038,
0.015515039674937725,
-0.0472600981593132,
-0.013968897983431816,
0.07957714051008224,
-0.010224197059869766,
0.008432281203567982,
0.032978396862745285,
-0.029046013951301575,
0.016480261459946632,
-0.0005943261203356087,
-0.024398650974035263,
-0.009062356315553188,
0.014540880918502808,
-0.028885142877697945,
0.016373014077544212,
0.016292579472064972,
-0.013986772857606411,
-0.013325417414307594,
0.029975486919283867,
-0.07242735475301743,
0.0272406917065382,
0.009232163429260254,
0.0161406472325325,
-0.08972983807325363,
-0.010805116966366768,
-0.003523504827171564,
-0.024416526779532433,
-0.01174352690577507,
0.024881262332201004,
-0.029135385528206825,
-0.007051478605717421,
-0.04915479198098183,
0.04561564698815346,
-0.003273262409493327,
0.0001531897869426757,
0.00592985562980175,
-0.014871559105813503,
0.048976048827171326,
-0.032352790236473083,
0.05569684877991676,
-0.08250855654478073,
0.024702517315745354,
-0.025703487917780876,
0.04575864225625992,
0.052050456404685974,
0.005286374595016241,
0.03158418834209442,
0.009276850149035454,
-0.12383432686328888,
0.009312598966062069,
-0.05040600523352623,
-0.0005585771868936718,
0.04314897209405899,
0.020752260461449623,
0.08486798405647278,
0.02291507087647915,
-0.03040447272360325,
-0.041004035621881485,
0.03353250399231911,
0.022539706900715828,
-0.029260506853461266,
0.0197512898594141,
-0.014058270491659641,
-0.07464378327131271,
-0.010143761523067951,
-0.014245952479541302,
0.028885142877697945,
-0.03154844045639038,
0.01555078849196434,
0.014907307922840118,
-0.01892906427383423,
-0.009071293286979198,
-0.036481793969869614,
-0.001076378277502954,
-0.010912364348769188,
-0.0036396889481693506,
-0.03104795515537262,
-0.0009870058856904507,
-0.020680760964751244,
-0.014040396548807621,
0.004151345696300268,
-0.005925386678427458,
0.004330090247094631,
-0.03778662905097008,
0.0007697193650528789,
0.02715132012963295,
0.024523772299289703,
-0.022593330591917038,
0.00761005561798811,
0.07428629696369171,
-0.05837801843881607,
0.14092232286930084,
0.03757213428616524,
0.004665236454457045,
0.007149788085371256,
-0.005232750903815031,
-0.020680760964751244,
0.051943209022283554,
0.07743220031261444,
-0.01942954957485199,
-0.03644604608416557,
0.010108012706041336,
-0.01973341405391693,
0.02763393148779869,
-0.014728562906384468,
-0.044900666922330856,
-0.024380777031183243,
-0.05726980045437813,
-0.03835861384868622,
0.024362903088331223,
-0.08794239163398743,
-0.057162556797266006,
0.07821868360042572,
0.029028140008449554,
0.00975052360445261,
-0.011707778088748455,
0.02296869456768036,
0.0016410998068749905,
-0.036177925765514374,
-0.017874469980597496,
-0.036285173147916794,
-0.025935856625437737,
-0.009670088067650795,
0.007873703725636005,
-0.04193350672721863,
-0.012199325487017632,
0.017159491777420044,
0.024076910689473152,
0.045222409069538116,
0.02380879409611225,
0.00687273358926177,
0.004423931241035461,
0.010072263889014721,
0.009258975274860859,
-0.0048618558794260025,
0.014281701296567917,
0.07514426857233047,
-0.020805882290005684,
-0.044149938970804214,
0.07171237468719482,
-0.01535416953265667,
0.006291813217103481,
0.055625349283218384,
0.04697410762310028,
-0.01878606714308262,
0.011984831653535366,
-0.014630253426730633,
-0.026221847161650658,
0.020877381786704063,
0.011412848718464375,
-0.017892343923449516,
-0.021699607372283936,
-0.030136356130242348,
-0.027812674641609192,
0.0058270771987736225,
-0.0011054242495447397,
-0.044292937964200974,
-0.052586689591407776,
0.022235840559005737,
0.06806597858667374,
-0.044686175882816315,
-0.011403911747038364,
-0.03817986696958542,
0.01627470552921295,
0.03732189163565636,
0.04011031240224838,
0.012610438279807568,
0.02314743772149086,
0.05051325261592865,
-0.018258770927786827,
0.052550941705703735,
-0.014442571438848972,
-0.002589563839137554,
-0.024559522047638893,
0.03907359018921852,
0.00968796294182539,
0.004216140601783991,
0.09795209765434265,
0.05415964499115944,
-0.05122823268175125,
0.04929778724908829,
0.01180608756840229,
-0.055518101900815964,
-0.03086921013891697,
-0.010170573368668556,
0.004140174016356468,
0.007998825050890446,
0.040932536125183105,
-0.026418466120958328,
-0.018589448183774948,
-0.01157371886074543,
0.0025203002151101828,
0.03444410488009453,
0.01887544058263302,
-0.1111077070236206,
-0.008946171961724758,
0.029010264202952385,
-0.03422961011528969,
0.04929778724908829,
0.03624942526221275,
0.039967313408851624,
-0.0118597112596035,
-0.03964557498693466,
0.024774014949798584,
-0.021199122071266174,
0.025596240535378456,
-0.025095755234360695,
-0.040217556059360504,
-0.06463408470153809,
0.012244012206792831,
0.06863796710968018,
-0.0012735560303553939,
-0.01174352690577507,
0.0015852421056479216,
-0.051943209022283554,
0.04740309342741966,
-0.02382666803896427,
-0.024076910689473152,
-0.03514120727777481,
-0.03764363378286362,
-0.003784918924793601,
-0.049333538860082626,
-0.002167279599234462,
0.01572059653699398,
0.02295081876218319,
-0.04554415121674538,
-0.014576630666851997,
0.016596445813775063,
-0.05934324115514755,
-0.005398089997470379,
0.01973341405391693,
-0.004191562999039888,
0.02388029173016548,
0.015211174264550209,
-0.0002238498127553612,
-0.049011796712875366,
-0.03383637219667435,
-0.013396915048360825,
-0.028331035748124123,
-0.07950564473867416,
-0.012413819320499897,
0.03907359018921852,
0.05744854733347893,
-0.027884172275662422,
-0.03594556078314781,
-0.0033715718891471624,
0.007748582866042852,
-0.04182625934481621,
0.03353250399231911,
0.040789540857076645,
0.028366783633828163,
0.02268270216882229,
-0.006278407759964466,
-0.012092079035937786,
-0.060737449675798416,
0.0717838704586029,
0.013897400349378586,
-0.012056330218911171,
-0.039967313408851624,
0.010876614600419998,
0.029081761837005615,
-0.06667177379131317,
-0.00007917831680970266,
-0.04168326407670975,
0.027973545715212822,
0.01587252877652645,
-0.07450079172849655,
-0.0006792298518121243,
-0.01996578276157379,
-0.052443694323301315,
-0.013825902715325356,
-0.00961646530777216,
-0.03451560065150261,
0.0018354846397414804,
0.004995914176106453,
-0.024505898356437683,
0.037250395864248276,
-0.059521984308958054,
0.009312598966062069,
-0.04615188017487526,
-0.004104425199329853,
-0.011189417913556099,
-0.0013774513499811292,
0.04168326407670975,
-0.032781779766082764,
-0.05809202790260315,
0.0273300651460886,
0.03943108022212982,
-0.05959348380565643,
-0.04947653412818909,
-0.0014567692996934056,
-0.03846586123108864,
-0.01539885625243187,
0.03918083757162094,
0.005634926725178957,
-0.08136458694934845,
0.021735355257987976,
-0.010724682360887527,
-0.0398600697517395,
0.009482406079769135,
-0.015237986110150814,
0.030029108747839928,
-0.016962872818112373,
-0.012530003674328327,
0.003677672240883112,
-0.03428323194384575,
-0.018571574240922928,
0.032853275537490845,
0.024720391258597374,
-0.028420407325029373,
0.021467238664627075,
-0.048225320875644684,
-0.01148434728384018,
0.017391858622431755,
-0.05162147060036659,
-0.044793423265218735,
-0.02654358744621277,
0.021949850022792816,
0.01368290651589632,
-0.03821561858057976,
0.052515193819999695,
0.06706500798463821,
0.024934886023402214,
-0.01982278749346733,
-0.010018640197813511,
0.028366783633828163,
0.027866298332810402,
0.0158278439193964,
-0.005617052316665649,
0.0643838420510292,
-0.007721771020442247,
0.001838836120441556,
-0.013718655332922935,
0.051835961639881134,
0.00298056798055768,
-0.05498186871409416,
-0.005165721755474806,
0.025256626307964325,
-0.0467238649725914,
-0.002741496777161956,
0.014692814089357853,
0.0058226087130606174,
0.02736581303179264,
0.02373729646205902,
-0.016596445813775063,
0.05798478052020073,
-0.016444511711597443,
0.07342832535505295,
0.00976839754730463,
0.012449568137526512,
-0.010090138763189316,
0.028617026284337044,
0.03796537593007088,
-0.06281089037656784,
-0.012252949178218842,
-0.04379245266318321,
-0.06617128849029541,
0.05752004310488701,
-0.024362903088331223,
-0.021610233932733536,
-0.03792962431907654,
-0.020680760964751244,
-0.00981308426707983,
0.017615290358662605,
-0.07342832535505295,
-0.0040977224707603455,
0.06434809416532516,
-0.018803942948579788,
0.00773517694324255,
-0.004196031950414181,
-0.03464072197675705,
-0.01604233682155609,
0.014254889450967312,
-0.1006690114736557,
0.005138909909874201,
-0.012092079035937786,
-0.0308513343334198,
-0.005031663458794355,
-0.011645217426121235,
0.06495582312345505,
-0.08093559741973877,
0.03095858171582222,
-0.008539527654647827,
0.006461620796471834,
-0.03555231913924217,
-0.05333741754293442,
-0.05151422321796417,
0.0012702045496553183,
-0.024023286998271942,
0.0037156555335968733,
0.041504520922899246,
-0.041182778775691986,
-0.012771308422088623,
0.024434400722384453,
0.002645421540364623,
-0.03846586123108864,
0.012297634966671467,
0.0384301096200943,
-0.03385424613952637,
-0.0115022212266922,
0.023969663307070732,
0.021431488916277885,
0.012413819320499897,
-0.014138706028461456,
-0.025453245267271996,
0.024345027282834053,
0.010152698494493961,
-0.018803942948579788,
-0.0023638985585421324,
-0.0012445099418982863,
-0.040074560791254044,
0.04322046786546707,
-0.0391450896859169,
0.04525815695524216,
-0.012047392316162586,
0.01622108183801174,
-0.006859327666461468,
0.032603032886981964,
0.012681936845183372,
0.06341861933469772,
0.02293294481933117,
0.020734384655952454,
0.005393621511757374,
0.006443746387958527,
-0.06513457000255585,
0.016632193699479103,
0.040968284010887146,
-0.06996067613363266,
-0.12176088988780975,
0.00976839754730463,
-0.025417495518922806,
0.0673152506351471,
0.008597619831562042,
0.1385628879070282,
-0.014907307922840118,
0.040753792971372604,
-0.01907205954194069,
-0.0312088243663311,
0.005706424359232187,
-0.03194167837500572,
0.06895970553159714,
0.025667738169431686,
0.04679536074399948,
0.05505336821079254,
-0.06559930741786957,
-0.04250548779964447,
0.024130534380674362,
-0.017552729696035385,
-0.033014144748449326,
-0.07185536623001099,
-0.017293550074100494,
0.022092845290899277,
-0.059986721724271774,
0.04168326407670975,
0.029814615845680237,
0.0003778774698730558,
0.05516061559319496
] |
5,723 | typing | overload | Decorator for overloaded functions/methods.
In a stub file, place two or more stub definitions for the same
function in a row, each decorated with @overload. For example:
@overload
def utf8(value: None) -> None: ...
@overload
def utf8(value: bytes) -> bytes: ...
@overload
def utf8(value: str) -> bytes: ...
In a non-stub file (i.e. a regular .py file), do the same but
follow it with an implementation. The implementation should *not*
be decorated with @overload. For example:
@overload
def utf8(value: None) -> None: ...
@overload
def utf8(value: bytes) -> bytes: ...
@overload
def utf8(value: str) -> bytes: ...
def utf8(value):
# implementation goes here
| def overload(func):
"""Decorator for overloaded functions/methods.
In a stub file, place two or more stub definitions for the same
function in a row, each decorated with @overload. For example:
@overload
def utf8(value: None) -> None: ...
@overload
def utf8(value: bytes) -> bytes: ...
@overload
def utf8(value: str) -> bytes: ...
In a non-stub file (i.e. a regular .py file), do the same but
follow it with an implementation. The implementation should *not*
be decorated with @overload. For example:
@overload
def utf8(value: None) -> None: ...
@overload
def utf8(value: bytes) -> bytes: ...
@overload
def utf8(value: str) -> bytes: ...
def utf8(value):
# implementation goes here
"""
return _overload_dummy
| (func) | [
-0.01471498142927885,
-0.09579861909151077,
0.03046196885406971,
0.021583158522844315,
-0.06469609588384628,
-0.028842786327004433,
-0.0370810404419899,
-0.0030226209200918674,
0.003378485096618533,
-0.02295323647558689,
-0.004481663927435875,
-0.019216662272810936,
-0.02482152171432972,
0.01864727959036827,
-0.02259737066924572,
0.029180858284235,
-0.010186610743403435,
0.00794911477714777,
-0.026636429131031036,
-0.0016080610221251845,
0.011022890917956829,
0.029305409640073776,
0.035853311419487,
0.012642072513699532,
-0.01085385587066412,
0.08441096544265747,
-0.025444284081459045,
-0.02868264727294445,
0.03318433091044426,
-0.033362261950969696,
-0.0031760872807353735,
-0.013362697325646877,
-0.0360846221446991,
0.04974980279803276,
0.010471302084624767,
-0.024696970358490944,
0.006169794127345085,
0.06555017083883286,
-0.0657636895775795,
-0.04590647295117378,
-0.0112542025744915,
-0.003438537009060383,
0.03346902132034302,
-0.05163588374853134,
-0.007913528010249138,
0.013122489675879478,
-0.037508077919483185,
0.016698922961950302,
0.01934121549129486,
-0.041315823793411255,
-0.012295105494558811,
-0.033344466239213943,
0.02112053520977497,
-0.007055005989968777,
0.027312571182847023,
0.032614946365356445,
0.03779276832938194,
0.05473190173506737,
0.011592273600399494,
0.033629160374403,
-0.047792550176382065,
-0.01330042164772749,
0.008816533721983433,
-0.01825582981109619,
0.009190190583467484,
-0.00981295295059681,
-0.02412758767604828,
-0.051956161856651306,
0.00010662022395990789,
0.01453704945743084,
0.026743188500404358,
0.013220352120697498,
0.02012411504983902,
-0.00681034941226244,
0.012517520226538181,
0.011654550209641457,
-0.04939394071698189,
0.006098621524870396,
-0.012757728807628155,
-0.027134638279676437,
-0.0013823097106069326,
-0.056297704577445984,
-0.010933925397694111,
0.017464032396674156,
-0.04875338450074196,
-0.09231115132570267,
-0.0041925241239368916,
-0.03718779981136322,
0.07629726827144623,
0.0370810404419899,
-0.03531951457262039,
0.001323369680903852,
-0.02912747859954834,
0.000728409388102591,
-0.038540083914995193,
-0.02832678332924843,
0.01693023554980755,
-0.01597829908132553,
0.028611475601792336,
-0.03996353968977928,
-0.029999345541000366,
0.028647061437368393,
-0.012989040464162827,
-0.006303243339061737,
0.015560158528387547,
-0.03323771059513092,
0.03482130542397499,
0.007998046465218067,
-0.06352174282073975,
0.030034931376576424,
0.020782465115189552,
-0.034945856779813766,
-0.01584484986960888,
0.01193924155086279,
0.02907409891486168,
0.007277421187609434,
-0.020853636786341667,
-0.03224128857254982,
0.010836062021553516,
0.026440704241394997,
-0.03624476119875908,
-0.00416138581931591,
-0.013336007483303547,
-0.008829878643155098,
0.006160897668451071,
-0.021796677261590958,
0.0028847234789282084,
0.06469609588384628,
-0.06074600666761398,
0.02384289540350437,
0.01937680132687092,
0.039287399500608444,
0.017837688326835632,
0.0009141259361058474,
0.052632302045822144,
-0.000444552133558318,
0.03204556554555893,
0.0855497345328331,
0.034145161509513855,
-0.007232938427478075,
-0.01982163079082966,
0.01636974886059761,
0.010070954449474812,
0.03304198384284973,
0.014999672770500183,
0.014892913401126862,
-0.015284364111721516,
-0.07337918132543564,
0.01673451066017151,
0.03357578068971634,
0.01478615403175354,
0.036031242460012436,
-0.05380665510892868,
0.004799717105925083,
-0.013184765353798866,
-0.015497882850468159,
0.02834457717835903,
-0.040283817797899246,
0.01703699491918087,
-0.004101334139704704,
0.02843354269862175,
-0.039678849279880524,
0.03537289425730705,
-0.07092371582984924,
0.014323530718684196,
0.016725612804293633,
-0.06046131253242493,
-0.08569207787513733,
0.026832154020667076,
-0.022668544203042984,
-0.0375792495906353,
0.017410652711987495,
0.023273512721061707,
0.012677659280598164,
0.13515719771385193,
0.019359007477760315,
-0.02418096736073494,
0.027027880772948265,
-0.005787240341305733,
-0.01839817501604557,
0.04864662513136864,
-0.006957143545150757,
-0.07288096845149994,
0.01973266527056694,
-0.003738797502592206,
0.04925159364938736,
0.0145904291421175,
-0.0042436798103153706,
-0.012579796835780144,
-0.011814688332378864,
0.08697319030761719,
-0.0030604314524680376,
0.04530150070786476,
-0.02042660117149353,
-0.0010231093037873507,
-0.09651035070419312,
-0.004684061277657747,
0.035479653626680374,
0.09949960559606552,
0.0006789219914935529,
0.007139523979276419,
0.04273927956819534,
0.04693847894668579,
0.03604903444647789,
0.018024517223238945,
0.0220101960003376,
0.06640424579381943,
-0.04875338450074196,
-0.09380578249692917,
-0.026636429131031036,
0.02581794187426567,
-0.04629792273044586,
0.0014356892788782716,
-0.003629813902080059,
-0.023077787831425667,
0.018327001482248306,
0.02626277133822441,
0.007037213072180748,
-0.061991531401872635,
-0.0024287726264446974,
0.05889551341533661,
0.009377019479870796,
-0.09117238968610764,
-0.002388737862929702,
0.06512313336133957,
0.0179266557097435,
0.020017357543110847,
-0.020693497732281685,
0.046760544180870056,
0.03403840214014053,
-0.015987195074558258,
0.0544116236269474,
0.04277486726641655,
-0.0033718126360327005,
-0.06619072705507278,
0.027437124401330948,
0.0023420306388288736,
-0.002891395939514041,
0.015293260104954243,
-0.06747183948755264,
-0.002464358927682042,
0.02749050408601761,
0.07113723456859589,
0.03416295722126961,
-0.01692133955657482,
-0.06964261084794998,
-0.07708016782999039,
0.05825495719909668,
0.0464758537709713,
0.02453683130443096,
-0.006022999994456768,
-0.0005691045662388206,
0.0011181917507201433,
0.021689917892217636,
0.02912747859954834,
0.022810889407992363,
-0.07067461311817169,
-0.01845155470073223,
0.01345166377723217,
0.03396723046898842,
-0.01698361523449421,
0.03396723046898842,
0.01962590590119362,
-0.011369858868420124,
-0.0075487676076591015,
-0.043237488716840744,
-0.04313073307275772,
-0.0071083856746554375,
0.009154604747891426,
0.056404463946819305,
-0.07163544744253159,
-0.006659107282757759,
-0.037863943725824356,
0.0038611257914453745,
0.0021741073578596115,
0.030106104910373688,
-0.0022797544952481985,
-0.04533708840608597,
0.07480263710021973,
-0.025924701243638992,
0.0220101960003376,
0.004332645796239376,
-0.014323530718684196,
-0.023362480103969574,
0.00724628334864974,
0.016948029398918152,
-0.0029203100129961967,
0.015017465688288212,
0.004621785134077072,
-0.03772159665822983,
0.036867521703243256,
-0.0007673320360481739,
0.02838016301393509,
0.05327285826206207,
-0.009955299086868763,
0.0479704849421978,
0.007224041502922773,
-0.012526417151093483,
0.07092371582984924,
-0.06437581777572632,
-0.06142214685678482,
-0.027953127399086952,
0.01332711149007082,
0.0031894322019070387,
0.04850427806377411,
0.004492784384638071,
-0.009190190583467484,
-0.058183781802654266,
-0.05174264311790466,
0.03886036202311516,
-0.028789406642317772,
-0.001731501310132444,
-0.09508689492940903,
-0.07142192870378494,
0.053486377000808716,
0.06661776453256607,
-0.03733014687895775,
0.026227185502648354,
-0.0055114454589784145,
-0.0004173062916379422,
-0.017570791766047478,
-0.0006021888111717999,
-0.03007051721215248,
-0.05967841297388077,
0.018433760851621628,
-0.045230329036712646,
0.04035498946905136,
-0.01873624511063099,
0.02596028707921505,
0.002368720481172204,
-0.017330583184957504,
-0.05131560564041138,
0.027561675757169724,
0.03743690624833107,
-0.008015839383006096,
-0.005733860656619072,
0.01193924155086279,
0.0338604710996151,
-0.005640446208417416,
0.05558597669005394,
0.056902673095464706,
-0.02136963978409767,
-0.002593359677121043,
-0.008509600535035133,
0.0005860637174919248,
0.03754366561770439,
-0.01889638416469097,
0.013949873857200146,
0.04071085527539253,
0.046760544180870056,
0.060212209820747375,
-0.04508798569440842,
-0.005653791129589081,
0.0007250731578096747,
0.04391363263130188,
0.017908861860632896,
0.014368013478815556,
-0.016601061448454857,
0.01848714053630829,
-0.12675879895687103,
-0.03457219898700714,
-0.02829119749367237,
0.001883855671621859,
0.011716825887560844,
0.09651035070419312,
0.0637708529829979,
0.011672343127429485,
0.017072580754756927,
-0.058681994676589966,
0.01703699491918087,
-0.05512335151433945,
-0.020070737227797508,
-0.03697428107261658,
-0.06619072705507278,
0.008078115060925484,
-0.06640424579381943,
-0.0045039053075015545,
0.021476399153470993,
-0.04491005092859268,
0.02320234104990959,
0.05925137549638748,
-0.006218725349754095,
0.038148634135723114,
-0.05124443396925926,
0.019643699750304222,
-0.0015780349494889379,
-0.025337524712085724,
0.03204556554555893,
-0.016627751290798187,
-0.006254312116652727,
0.005591514986008406,
0.04491005092859268,
-0.057827919721603394,
-0.008918844163417816,
-0.053913414478302,
-0.022615164518356323,
-0.01339828409254551,
0.034839097410440445,
0.01342497393488884,
0.04686730355024338,
0.046155575662851334,
0.008763154037296772,
0.04216989874839783,
0.022775303572416306,
0.010462405160069466,
0.05017684027552605,
0.00598296569660306,
-0.015444503165781498,
0.02393186278641224,
-0.002415427705273032,
-0.02492828108370304,
-0.018238035961985588,
-0.010515784844756126,
-0.019714871421456337,
0.040924374014139175,
0.04711640998721123,
0.035871103405952454,
-0.005916241090744734,
-0.02348703145980835,
-0.039394158869981766,
0.06145773455500603,
-0.02517738565802574,
0.02126288041472435,
0.13779059052467346,
0.03925181180238724,
-0.001001979922875762,
0.033646952360868454,
-0.015408916398882866,
-0.021867850795388222,
-0.019412387162446976,
0.028842786327004433,
-0.035034824162721634,
-0.015560158528387547,
-0.02101377584040165,
0.05889551341533661,
-0.07636844366788864,
-0.03526613488793373,
-0.039287399500608444,
0.02832678332924843,
0.020711291581392288,
0.03304198384284973,
0.040568508207798004,
-0.008318323642015457,
-0.01243745069950819,
-0.008616359904408455,
-0.03208114951848984,
0.016876855865120888,
0.030889006331562996,
0.057827919721603394,
-0.03176087141036987,
0.021867850795388222,
0.026636429131031036,
0.012446347624063492,
0.02254399284720421,
-0.028397956863045692,
-0.05473190173506737,
-0.011672343127429485,
-0.03225908428430557,
0.01778430864214897,
-0.0011799120111390948,
0.02318454720079899,
-0.006094173062592745,
0.01864727959036827,
-0.046262335032224655,
-0.02106715552508831,
0.05017684027552605,
0.00403683353215456,
-0.0289317537099123,
0.009652813896536827,
0.03501702845096588,
0.06313029676675797,
-0.027454916387796402,
-0.0017759844195097685,
-0.004706303123384714,
0.053130511194467545,
0.010382335633039474,
-0.02937658317387104,
0.034785717725753784,
0.003182759741321206,
0.024091999977827072,
0.02051556669175625,
0.005684929434210062,
-0.02526635304093361,
0.05764998868107796,
0.027526089921593666,
0.011592273600399494,
-0.0024532382376492023,
0.017935551702976227,
0.0008157072588801384,
0.021547572687268257,
-0.04910925030708313,
0.028842786327004433,
-0.013709665276110172,
-0.03354019299149513,
-0.010586957447230816,
0.023077787831425667,
0.008549635298550129,
-0.004955407697707415,
-0.058432888239622116,
-0.06889529526233673,
0.0021040465217083693,
-0.05320168659090996,
-0.009368122555315495,
0.015631331130862236,
0.027632849290966988,
-0.0038411084096878767,
-0.011894757859408855,
-0.030034931376576424,
-0.011423238553106785,
-0.013558423146605492,
-0.02779298834502697,
0.000312771211611107,
0.023664964362978935,
0.038895949721336365,
0.025782356038689613,
0.007161765359342098,
-0.0568670853972435,
-0.015195397660136223,
-0.03355798497796059,
-0.03615579381585121,
0.006899315398186445,
-0.05167147144675255,
0.020835844799876213,
-0.013531733304262161,
0.06551458686590195,
-0.042703695595264435,
0.032614946365356445,
0.022739717736840248,
0.048148415982723236,
-0.017392858862876892,
-0.04046174883842468,
0.019519146531820297,
-0.0215119868516922,
-0.0007056118338368833,
0.037863943725824356,
0.023575996980071068,
-0.034340888261795044,
-0.01225951872766018,
0.056795913726091385,
0.02115612104535103,
-0.040924374014139175,
0.0633082240819931,
-0.012784418649971485,
0.003983453847467899,
-0.04238341748714447,
-0.013513940386474133,
-0.05697384476661682,
-0.010844958946108818,
-0.016974719241261482,
-0.0479704849421978,
-0.010551370680332184,
-0.0002328407863387838,
0.035586412996053696,
-0.04024823009967804,
-0.05063946545124054,
-0.020746877416968346,
-0.030141690745949745,
0.05419810488820076,
-0.001591379870660603,
-0.0159516092389822,
-0.01898535154759884,
0.08006943017244339,
0.02526635304093361,
-0.02987479232251644,
-0.0037654871121048927,
0.0647672712802887,
0.0638064369559288,
-0.0028224473353475332,
-0.045764125883579254,
-0.045016810297966,
0.009563848376274109,
-0.021618744358420372,
0.061244215816259384,
-0.028415750712156296,
-0.07843244820833206,
0.047009650617837906,
0.05665356665849686,
-0.07708016782999039,
-0.011503308080136776,
-0.04875338450074196,
-0.07017640769481659,
0.017739826813340187,
-0.0042080930434167385,
-0.041564930230379105,
0.008620807901024818,
-0.020106323063373566,
0.00790463201701641,
0.04686730355024338,
-0.026120426133275032,
0.002775740111246705,
-0.05711619183421135,
-0.01367407850921154,
-0.03697428107261658,
-0.07594140619039536,
-0.03768600896000862,
0.05028359964489937,
-0.07494498044252396,
0.0030982419848442078,
0.029643481597304344,
-0.0157025046646595,
-0.03268611803650856,
0.062240634113550186,
-0.03428750857710838,
-0.01898535154759884,
0.018380381166934967,
0.0489669032394886,
-0.0346255786716938,
-0.009225777350366116,
0.03754366561770439,
0.02209916152060032,
0.03270391374826431,
0.032953016459941864,
0.007624388672411442,
-0.06160007789731026,
0.02823781780898571,
0.04241900146007538,
0.002330909948796034,
-0.010008678771555424,
0.021227294579148293,
-0.0014534825459122658,
-0.03138721361756325,
0.04031940549612045,
-0.004884235095232725,
-0.016271887347102165,
-0.0134783536195755,
0.020533360540866852,
-0.05789909139275551,
0.035479653626680374,
0.012873384170234203,
-0.05466073006391525,
-0.02190343663096428,
0.0007033876609057188,
0.07352152466773987,
0.002234159503132105,
0.0075309742242097855,
-0.057436469942331314,
0.010453508235514164,
0.0020740206819027662,
-0.01085385587066412,
0.013104695826768875,
0.043593354523181915,
-0.023558204993605614,
0.016770096495747566,
0.03925181180238724,
0.01889638416469097,
0.0657992735505104,
-0.03110252320766449,
-0.002085141371935606,
0.040177058428525925,
-0.043593354523181915,
0.023059995844960213,
0.04345100745558739,
0.017410652711987495,
0.0239852424710989,
-0.0037855044938623905,
-0.01362069882452488,
0.02709905244410038,
-0.03501702845096588,
0.08946423977613449,
-0.017668653279542923,
-0.02112053520977497,
-0.04491005092859268,
0.015257674269378185,
0.004675164818763733,
0.0197860449552536,
0.018754038959741592,
-0.0006377752288244665,
-0.039429742842912674,
0.03779276832938194,
-0.006650210823863745,
0.04177844896912575,
0.05220526456832886,
-0.027953127399086952,
0.0015035258838906884,
-0.016280783340334892,
-0.036618418991565704,
-0.01742844469845295,
-0.000819599546957761,
-0.049287181347608566,
0.0440203920006752,
-0.04672496020793915,
-0.016129542142152786,
-0.04768579080700874,
-0.07836128026247025,
-0.0430239737033844,
0.03690310940146446,
-0.02329130657017231,
0.0239852424710989,
-0.011814688332378864,
-0.020835844799876213,
0.0197860449552536,
-0.06067483127117157,
-0.023273512721061707,
0.00986633263528347,
0.011022890917956829,
-0.006307691335678101,
0.002820223104208708,
-0.06896646320819855,
0.02304220199584961,
-0.036226969212293625,
-0.0004637354286387563,
0.010809372179210186,
-0.018380381166934967,
0.049465112388134,
0.02565780282020569,
0.005306823644787073,
-0.017268305644392967,
-0.08085232973098755,
0.053094927221536636,
-0.023700550198554993,
-0.015293260104954243,
-0.022579578682780266,
0.02798871323466301,
0.027437124401330948,
0.06017662212252617,
-0.042454589158296585,
0.02546207793056965,
-0.005920689087361097,
0.0239852424710989,
0.03878919035196304,
-0.01845155470073223,
-0.03596007078886032,
-0.01878962479531765,
-0.02571118250489235,
-0.01320255920290947,
0.008914396166801453,
-0.04224107041954994,
0.0489669032394886,
0.030337415635585785,
0.0529169961810112,
0.05369989573955536,
0.015996092930436134,
0.011734619736671448,
0.005662687588483095,
-0.03307757154107094,
-0.0031716390512883663,
-0.012615382671356201,
0.0015880436403676867,
0.026369530707597733,
-0.06551458686590195,
-0.036725178360939026,
-0.02937658317387104,
-0.0014890689635649323,
0.050425946712493896,
0.03526613488793373,
-0.026725394651293755,
0.07117282599210739,
0.09401930123567581,
0.055408041924238205,
0.05925137549638748,
-0.024447865784168243,
0.01199262123554945,
-0.013015730306506157,
-0.001023665419779718,
0.02829119749367237,
-0.028611475601792336,
0.030889006331562996,
-0.007490939926356077,
-0.005711619276553392,
-0.001486844732426107,
-0.035088203847408295,
0.01471498142927885,
0.05330844596028328,
-0.03475013002753258,
0.009243570268154144,
-0.013131385669112206,
-0.0028869477100670338,
0.03476792573928833
] |
5,724 | simple_di | sync_container |
sync container states from `from_` to `to_`
| def sync_container(from_: Any, to_: Any) -> None:
"""
sync container states from `from_` to `to_`
"""
for field in dataclasses.fields(to_):
src = field.default
target = getattr(from_, field.name, None)
if target is None:
continue
if isinstance(src, Provider):
src.__setstate__(target.__getstate__())
elif dataclasses.is_dataclass(src):
sync_container(src, target)
| (from_: Any, to_: Any) -> NoneType | [
-0.008614631369709969,
-0.02821400947868824,
-0.06860219687223434,
-0.018890967592597008,
-0.044078923761844635,
0.030278023332357407,
0.010556202381849289,
-0.002073852112516761,
0.06604842096567154,
-0.020325280725955963,
-0.024575749412178993,
-0.03309417515993118,
0.00601274985820055,
0.0036229551769793034,
0.008452833630144596,
0.04135022684931755,
-0.044358789920806885,
-0.00902568455785513,
0.037222202867269516,
-0.032342035323381424,
0.036872368305921555,
0.028056584298610687,
0.047787152230739594,
-0.007753167767077684,
-0.005815969314426184,
-0.014815416187047958,
-0.059891361743211746,
-0.015952372923493385,
0.030557889491319656,
0.018296251073479652,
0.01067864429205656,
-0.002945154206827283,
0.030767789110541344,
-0.029280999675393105,
0.01332862675189972,
-0.006262005772441626,
0.05716266855597496,
0.06412433832883835,
-0.003681989386677742,
-0.01990548148751259,
-0.03914628177881241,
-0.023841099813580513,
-0.0010303667513653636,
0.01332862675189972,
0.06094086170196533,
0.07997176051139832,
0.006213903892785311,
0.004928268492221832,
0.05107557773590088,
0.0068917046301066875,
0.037047285586595535,
0.0025800163857638836,
-0.02831896021962166,
0.07178567349910736,
-0.010013962164521217,
0.016074813902378082,
-0.01531392801553011,
0.03785189986228943,
-0.02838892675936222,
0.044743604958057404,
-0.02644735388457775,
-0.024628223851323128,
0.0019973262678831816,
-0.04607297107577324,
-0.018925949931144714,
-0.014929112046957016,
-0.030382972210645676,
-0.005151286721229553,
-0.0028467639349400997,
0.01220916211605072,
-0.05607818812131882,
-0.018663575872778893,
0.04271457716822624,
0.038166750222444534,
-0.013346118852496147,
0.026762204244732857,
0.04834688454866409,
0.05810721591114998,
-0.009970232844352722,
-0.07140085846185684,
-0.005759121384471655,
-0.024278391152620316,
-0.06499892473220825,
-0.000298997649224475,
-0.015585048124194145,
0.044358789920806885,
-0.02655230462551117,
0.05271979048848152,
-0.002706830855458975,
-0.11012734472751617,
0.003946550656110048,
0.0295258816331625,
-0.004473485983908176,
0.06965169310569763,
0.007328995503485203,
0.031327519565820694,
-0.055903270840644836,
0.007140960544347763,
-0.10928774625062943,
0.04068554565310478,
0.00506382854655385,
-0.026307420805096626,
0.015698743984103203,
0.004906403832137585,
-0.0025996945332735777,
-0.06069597974419594,
0.002610626630485058,
-0.021304814144968987,
-0.046212904155254364,
0.002969205379486084,
-0.021759595721960068,
-0.015121519565582275,
-0.019013408571481705,
0.0027002713177353144,
0.015558810904622078,
-0.017788995057344437,
-0.007272148039191961,
0.029945680871605873,
-0.01739543303847313,
-0.049816180020570755,
-0.009576670825481415,
0.05107557773590088,
-0.004495350643992424,
-0.0057722399942576885,
0.023176418617367744,
0.030365480110049248,
0.037432100623846054,
0.04799704998731613,
-0.007735676132142544,
-0.05642801895737648,
-0.02868628315627575,
-0.04505845531821251,
-0.056812833994627,
0.055693369358778,
0.06083591282367706,
0.028371434658765793,
-0.005676036234945059,
-0.02702457830309868,
-0.02191702090203762,
0.01720302365720272,
-0.01978304050862789,
-0.0294034406542778,
0.003314665053039789,
0.0405106283724308,
0.06755270063877106,
-0.0038590922486037016,
-0.02543283998966217,
0.0033540213480591774,
-0.06293490529060364,
-0.019590632990002632,
-0.012314111925661564,
0.003181291278451681,
0.04190995916724205,
0.010048945434391499,
-0.09515450149774551,
-0.004490977618843317,
-0.03290176764130592,
-0.05153036117553711,
-0.0018552066758275032,
-0.012882590293884277,
-0.05132045969367027,
0.003994652535766363,
0.02977076545357704,
0.03258691728115082,
-0.02545033022761345,
0.01290008146315813,
0.014072021469473839,
-0.08976707607507706,
0.005571086425334215,
0.024680698290467262,
-0.039740998297929764,
-0.04743731766939163,
0.004810200072824955,
-0.021024946123361588,
-0.02655230462551117,
-0.04568815603852272,
0.011159664019942284,
-0.06534875184297562,
0.02553778886795044,
-0.04026574641466141,
-0.058876849710941315,
0.02394605055451393,
0.0022914044093340635,
0.04715745151042938,
-0.03267437592148781,
0.002032309537753463,
-0.012690181843936443,
0.016354680061340332,
0.05716266855597496,
-0.03998588025569916,
0.03680240362882614,
0.016398409381508827,
-0.07759290188550949,
-0.03267437592148781,
0.0026215589605271816,
-0.02062263898551464,
-0.034545980393886566,
-0.009393008425831795,
-0.018821001052856445,
0.06262005865573883,
-0.025292906910181046,
-0.02830146811902523,
0.04579310491681099,
-0.011561972089111805,
-0.00003699891021824442,
-0.011290851049125195,
-0.015410131774842739,
0.005785358604043722,
0.05041089653968811,
-0.027251970022916794,
0.008107373490929604,
0.0068042464554309845,
-0.0517752431333065,
-0.020290298387408257,
0.03284929320216179,
-0.04449872300028801,
0.0147017203271389,
-0.03395126760005951,
0.06041611358523369,
0.05191517621278763,
0.05002608150243759,
0.019310766831040382,
-0.09256573766469955,
-0.021199863404035568,
-0.014141988009214401,
0.00675614457577467,
-0.07206553965806961,
-0.03746708482503891,
0.059156715869903564,
-0.06937182694673538,
0.03365390747785568,
0.004823318682610989,
-0.05807223170995712,
-0.002160217147320509,
0.1311173141002655,
0.00014143627777229995,
-0.003537683514878154,
-0.07042133063077927,
-0.04523337259888649,
0.02961334027349949,
-0.025852639228105545,
-0.022056953981518745,
-0.014955349266529083,
0.005890308413654566,
-0.024768156930804253,
-0.0481019988656044,
-0.030278023332357407,
-0.017596585676074028,
0.009497958235442638,
0.06279497593641281,
-0.002862069057300687,
-0.04316936060786247,
-0.042784541845321655,
-0.025362873449921608,
0.016503358259797096,
-0.12286125123500824,
-0.013057506643235683,
-0.004552198573946953,
0.01656457968056202,
-0.029106082394719124,
-0.00753889512270689,
-0.07843250036239624,
-0.030190564692020416,
0.05118052661418915,
0.002341692801564932,
0.010075182653963566,
-0.023263877257704735,
0.005894681438803673,
0.007272148039191961,
-0.011824346147477627,
-0.0041958061046898365,
-0.01785021461546421,
0.018611101433634758,
0.03736213594675064,
-0.00943673774600029,
-0.04477858915925026,
-0.008260425180196762,
-0.004267959389835596,
-0.01665203832089901,
-0.030732804909348488,
0.0475422665476799,
-0.010984747670590878,
-0.03725718706846237,
-0.060730960220098495,
-0.000603461463470012,
-0.05348942428827286,
-0.009410500526428223,
-0.07745296508073807,
0.004552198573946953,
-0.012943810783326626,
0.03284929320216179,
0.012384078465402126,
-0.040020864456892014,
-0.028441401198506355,
-0.0635995864868164,
0.0055535947903990746,
-0.12013255804777145,
0.002516609150916338,
0.023718658834695816,
-0.01476294081658125,
-0.020762572064995766,
-0.008553409948945045,
-0.09011691063642502,
0.04449872300028801,
0.029823239892721176,
-0.02443581633269787,
0.026342405006289482,
-0.003587971907109022,
-0.01198177132755518,
-0.006323226727545261,
0.011911804787814617,
-0.001021074247546494,
0.008085508830845356,
-0.01711556687951088,
0.08074139058589935,
-0.049921128898859024,
0.0032446985132992268,
0.017369195818901062,
0.015296435914933681,
0.04096541181206703,
-0.04187497869133949,
-0.007888727821409702,
-0.10110165923833847,
0.04670266807079315,
-0.00048703275388106704,
0.02581765502691269,
0.02043023146688938,
0.03645256906747818,
0.060730960220098495,
0.02562524750828743,
-0.057407550513744354,
0.025502806529402733,
0.05968146398663521,
0.036662470549345016,
-0.01161444652825594,
-0.007075367029756308,
0.0020760386250913143,
-0.04432380571961403,
0.06310982257127762,
0.0024313374888151884,
0.05922668054699898,
0.013800901360809803,
-0.04072052985429764,
-0.037432100623846054,
0.011028476990759373,
0.04785711690783501,
0.02886120043694973,
-0.025030530989170074,
0.015663759782910347,
0.01645963080227375,
-0.050655778497457504,
0.03764200210571289,
0.02608002908527851,
0.016354680061340332,
0.030837755650281906,
0.018366217613220215,
0.03370638191699982,
-0.05551845580339432,
-0.008492189459502697,
-0.04484855756163597,
0.069196917116642,
0.00032031559385359287,
0.052964676171541214,
-0.05919169634580612,
-0.000266064191237092,
0.024173442274332047,
-0.048801664263010025,
-0.05478380620479584,
-0.008137984201312065,
-0.014430600218474865,
-0.00041160007822327316,
-0.011010984890162945,
0.012996286153793335,
0.04302942752838135,
-0.058422066271305084,
0.02182956226170063,
-0.046212904155254364,
0.03613772243261337,
-0.07290513813495636,
0.073674775660038,
0.04687758535146713,
-0.023473776876926422,
0.013005031272768974,
0.03837665170431137,
0.034091200679540634,
-0.03711725398898125,
0.04733236879110336,
-0.01673074997961521,
0.04026574641466141,
0.010433761402964592,
-0.0000792589780758135,
-0.01765780709683895,
-0.03424862399697304,
0.004263586364686489,
0.006620584521442652,
-0.024820631369948387,
0.021339796483516693,
0.025642739608883858,
0.05188019201159477,
-0.059996314346790314,
0.006257632747292519,
-0.049921128898859024,
0.04068554565310478,
-0.00418924679979682,
0.013634731061756611,
0.00038645585300400853,
0.016774479299783707,
-0.007993677631020546,
-0.0006559363682754338,
0.01257648691534996,
0.02608002908527851,
-0.012086721137166023,
0.0031944101210683584,
0.00029435145552270114,
0.04656273499131203,
-0.06937182694673538,
0.017823977395892143,
-0.02137478068470955,
0.015558810904622078,
0.04393899068236351,
0.003294986905530095,
0.030208056792616844,
-0.0029670188669115305,
-0.020937489345669746,
0.030505413189530373,
-0.005754748359322548,
-0.01419446337968111,
0.004547825548797846,
0.005654171574860811,
0.04135022684931755,
0.05954153090715408,
0.07157577574253082,
-0.020692605525255203,
0.011273359879851341,
0.03813176602125168,
0.029858224093914032,
0.029106082394719124,
-0.026867153123021126,
0.025187956169247627,
0.039006348699331284,
0.027706751599907875,
0.009576670825481415,
0.02284407801926136,
-0.05614815279841423,
0.0007149706361815333,
-0.03172982856631279,
-0.0551336370408535,
0.06898701190948486,
0.04484855756163597,
0.04785711690783501,
0.014316904358565807,
-0.01179810892790556,
-0.029455915093421936,
0.0010582440299913287,
0.02681467868387699,
-0.029858224093914032,
-0.009165617637336254,
-0.03410869091749191,
-0.025030530989170074,
-0.014657991006970406,
0.0013031269190832973,
-0.06573356688022614,
-0.03328658267855644,
0.018576117232441902,
0.06688801944255829,
-0.001039112568832934,
0.0010046758688986301,
-0.018453676253557205,
-0.0009297897922806442,
0.01878601685166359,
0.05495872348546982,
-0.05247490853071213,
0.02608002908527851,
-0.013092489913105965,
-0.005085693206638098,
-0.02329885959625244,
0.0072196731343865395,
0.020570164546370506,
-0.06366955488920212,
0.0019393851980566978,
0.007324622943997383,
0.005418034270405769,
0.04190995916724205,
0.042679592967033386,
-0.04257464408874512,
-0.03886641561985016,
0.05506367236375809,
0.0002004705456783995,
0.0016824768390506506,
-0.037047285586595535,
-0.04516340419650078,
-0.006624957080930471,
0.014553041197359562,
0.03697732090950012,
0.036837387830019,
-0.026867153123021126,
-0.05817718431353569,
-0.002516609150916338,
0.023701166734099388,
-0.035927820950746536,
0.02562524750828743,
0.02284407801926136,
0.0008330391719937325,
0.03960106521844864,
0.0018169437535107136,
-0.018366217613220215,
0.02284407801926136,
0.005955902393907309,
-0.0006296989158727229,
0.036767419427633286,
0.044813573360443115,
0.02831896021962166,
0.04974621534347534,
-0.015926135703921318,
-0.0022979637142270803,
-0.033618927001953125,
-0.07416453957557678,
-0.010932273231446743,
-0.049536313861608505,
-0.03374136611819267,
0.0008013356127776206,
0.020465213805437088,
0.06059102714061737,
0.026412371546030045,
-0.0009636798640713096,
-0.01591738872230053,
0.0028336450923234224,
-0.004099602345377207,
-0.024103475734591484,
-0.019538158550858498,
0.007285266648977995,
-0.05408414080739021,
0.04257464408874512,
-0.0068129925057291985,
-0.004849556367844343,
-0.025135481730103493,
0.02690213732421398,
-0.04929143190383911,
-0.03809678554534912,
-0.007272148039191961,
0.006922315340489149,
0.03711725398898125,
0.010766102001070976,
-0.01805136911571026,
0.0076219807378947735,
0.03174731880426407,
-0.04229477792978287,
-0.021304814144968987,
-0.030855245888233185,
0.015471352264285088,
-0.032516952604055405,
-0.05292969197034836,
0.006165802013128996,
0.018716050311923027,
-0.014999078586697578,
-0.06265503913164139,
-0.0034305471926927567,
0.022809093818068504,
0.05649798735976219,
-0.00753889512270689,
0.03757203370332718,
0.04890661686658859,
-0.008509681560099125,
0.07983183115720749,
0.004025262780487537,
-0.03970601409673691,
0.044988490641117096,
0.010267590172588825,
0.056288085877895355,
0.03673243522644043,
0.07773283123970032,
0.007009773515164852,
0.011920549906790257,
-0.022914044559001923,
0.07206553965806961,
0.004626537673175335,
0.002907984657213092,
-0.013809647411108017,
-0.01341608539223671,
-0.07276520878076553,
0.00009907372441375628,
-0.008767683058977127,
0.06461410224437714,
-0.007337741553783417,
0.02200447954237461,
-0.005514238495379686,
-0.0686371847987175,
0.04477858915925026,
0.03433608263731003,
0.009069413878023624,
-0.04257464408874512,
0.01869856007397175,
0.027776718139648438,
-0.005588578060269356,
0.02100745588541031,
-0.01831374317407608,
0.004674640018492937,
-0.031152604147791862,
0.0038743973709642887,
-0.008614631369709969,
0.023648692294955254,
0.023631200194358826,
0.0037716340739279985,
-0.003660124959424138,
-0.00007317790004890412,
-0.044743604958057404,
-0.033531468361616135,
-0.005020099692046642,
0.0240509994328022,
0.06510387361049652,
0.06293490529060364,
0.05191517621278763,
0.034825846552848816,
-0.021217355504631996,
0.034371066838502884,
-0.04327430948615074,
-0.03410869091749191,
-0.031974710524082184,
-0.018716050311923027,
0.031117621809244156,
0.012340349145233631,
0.015550064854323864,
-0.0351581908762455,
0.0032359526958316565,
-0.057932298630476,
-0.011964279226958752,
-0.02301899343729019,
-0.019013408571481705,
-0.02062263898551464,
-0.006725534331053495,
0.01943320780992508,
-0.011290851049125195,
0.05076072737574577,
0.0061832936480641365,
-0.02163715474307537,
-0.0068042464554309845,
0.015410131774842739,
0.035193171352148056,
-0.041944943368434906,
-0.006021495908498764,
0.06006627902388573,
-0.05705771967768669,
0.05160032585263252,
-0.0329192616045475,
-0.006673059426248074,
-0.11075704544782639,
0.02747936174273491,
-0.03680240362882614,
-0.04670266807079315,
-0.013634731061756611,
-0.025590263307094574,
0.035752903670072556,
0.0056804087944328785,
0.0034086827654391527,
0.026797186583280563,
0.01516524888575077,
0.04918648302555084,
0.00855778343975544,
0.0632847398519516,
0.020675113424658775,
-0.034633439034223557,
0.04023076221346855,
0.030925212427973747,
0.02950839139521122,
0.05810721591114998,
0.014640499837696552,
0.005418034270405769,
0.03165986016392708,
-0.018855983391404152,
0.06108079478144646,
-0.023246385157108307,
0.011990516446530819,
0.022494245320558548,
-0.012401570565998554,
0.015051553025841713,
-0.055693369358778,
0.05541350319981575,
-0.01673074997961521,
0.026867153123021126,
0.0175003819167614,
-0.03848160058259964,
0.028074076399207115,
-0.02977076545357704,
0.028826216235756874,
-0.026569796726107597,
0.06391444057226181,
0.026569796726107597,
-0.06041611358523369,
0.09151624143123627,
0.0072065540589392185,
0.05929664894938469,
0.03137999400496483,
0.025100497528910637,
-0.01784146949648857,
-0.06538373976945877,
0.00390938064083457,
-0.03897136449813843,
-0.06443919241428375,
-0.016582071781158447,
0.06499892473220825,
0.07969189435243607,
0.017141804099082947,
0.005759121384471655,
-0.035752903670072556,
0.04030073061585426,
-0.009288058616220951,
-0.028144042938947678,
0.028056584298610687,
0.010223861783742905,
-0.003830668283626437,
0.04337925836443901,
0.034266114234924316,
-0.005982139613479376,
0.016240984201431274,
0.013276152312755585,
-0.016809463500976562,
0.009375517256557941,
0.03284929320216179,
-0.02034277282655239,
0.03610273823142052,
-0.0362776555120945,
-0.009288058616220951,
0.05495872348546982,
-0.074794240295887,
0.03118758834898472,
0.05271979048848152,
0.03638260439038277,
0.002429150976240635,
-0.0019514106679707766,
0.02034277282655239,
0.018838493153452873,
0.023456284776329994,
-0.03431859239935875,
0.04659771919250488,
0.0008816877962090075,
-0.034825846552848816,
-0.00200060592032969,
0.00714533356949687,
-0.07682326436042786,
0.039356183260679245,
0.019660599529743195,
-0.0010402057087048888,
0.064719058573246,
0.06555865705013275,
-0.0234912671148777,
-0.06576855480670929,
0.03932119905948639,
-0.01934574916958809,
-0.06576855480670929,
0.015016569755971432,
0.005960274953395128,
0.04016079753637314,
-0.02394605055451393,
-0.023386318236589432,
0.030872737988829613,
-0.00887700542807579,
0.009952740743756294,
-0.012410315684974194,
-0.026149995625019073,
-0.06132567673921585,
0.00467026699334383,
-0.031974710524082184,
0.04540828987956047,
0.01600484736263752,
0.040195781737565994,
0.025677721947431564,
-0.02581765502691269,
-0.011448276229202747
] |
5,725 | logging | NullHandler |
This handler does nothing. It's intended to be used to avoid the
"No handlers could be found for logger XXX" one-off warning. This is
important for library code, which may contain code to log events. If a user
of the library does not configure logging, the one-off warning might be
produced; to avoid this, the library developer simply needs to instantiate
a NullHandler and add it to the top-level logger of the library module or
package.
| class NullHandler(Handler):
"""
This handler does nothing. It's intended to be used to avoid the
"No handlers could be found for logger XXX" one-off warning. This is
important for library code, which may contain code to log events. If a user
of the library does not configure logging, the one-off warning might be
produced; to avoid this, the library developer simply needs to instantiate
a NullHandler and add it to the top-level logger of the library module or
package.
"""
def handle(self, record):
"""Stub."""
def emit(self, record):
"""Stub."""
def createLock(self):
self.lock = None
def _at_fork_reinit(self):
pass
| (level=0) | [
-0.03748713806271553,
-0.019819095730781555,
-0.004644525703042746,
0.03371820226311684,
-0.00024288389249704778,
0.00424005463719368,
-0.02908516675233841,
0.06596560031175613,
-0.022025302052497864,
-0.02382703870534897,
0.009335014969110489,
-0.005271916277706623,
0.033056337386369705,
-0.03129137307405472,
-0.032578326761722565,
0.0026566411834210157,
0.003139249049127102,
0.02789013646543026,
-0.0015569848474115133,
-0.03432490676641464,
-0.025389768183231354,
0.025665543973445892,
0.04607296362519264,
0.03875570744276047,
-0.050080906599760056,
0.0008462872938252985,
-0.032302550971508026,
0.01440469454973936,
0.06975291669368744,
-0.03121783211827278,
-0.008549053221940994,
-0.02239300310611725,
-0.011086191982030869,
-0.00504210265353322,
0.025040453299880028,
-0.025316229090094566,
0.00894892867654562,
0.03410428762435913,
-0.05383145809173584,
0.006797876209020615,
0.04331520199775696,
-0.01803574524819851,
-0.008944331668317318,
-0.032835718244314194,
-0.004616948310285807,
0.041219305247068405,
0.06405355036258698,
0.0529489740729332,
-0.005134028382599354,
-0.025334613397717476,
-0.016675250604748726,
0.11339905112981796,
-0.029747027903795242,
0.00047054263995960355,
-0.0048444634303450584,
0.06559789925813675,
0.06405355036258698,
-0.028680695220828056,
-0.044859547168016434,
-0.017842700704932213,
0.0032587519381195307,
0.0909692794084549,
0.05184587091207504,
0.020260335877537727,
0.0059475670568645,
-0.0013283205917105079,
0.01082880049943924,
0.030151499435305595,
0.029508022591471672,
-0.01576519012451172,
-0.0640903189778328,
-0.05548611283302307,
0.00649452256038785,
0.0358324833214283,
0.04309458285570145,
-0.020609652623534203,
-0.011987059377133846,
0.003139249049127102,
0.034471988677978516,
0.0045342156663537025,
0.024838216602802277,
-0.05147816985845566,
-0.024709520861506462,
0.04739668592810631,
0.017686428502202034,
-0.026290636509656906,
0.03693558648228645,
0.015737611800432205,
-0.0004102166567463428,
0.02713635005056858,
-0.07729079574346542,
0.010681720450520515,
-0.010507062077522278,
0.006512907799333334,
-0.004626140929758549,
-0.00011311121488688514,
-0.027706285938620567,
0.0027968273498117924,
-0.023863809183239937,
0.0005153562524355948,
-0.025426538661122322,
-0.019267544150352478,
-0.025113992393016815,
-0.004706575535237789,
0.013853142969310284,
-0.015820344910025597,
0.012262835167348385,
-0.0017121087294071913,
0.02761436067521572,
0.014331154525279999,
0.04188116639852524,
-0.0018476985860615969,
-0.02765113115310669,
-0.007239117752760649,
-0.06276659667491913,
0.008466320112347603,
-0.03167745843529701,
0.010948303155601025,
-0.009973895736038685,
-0.00016517828044015914,
-0.024102814495563507,
0.012731654569506645,
-0.07846743613481522,
-0.02377188391983509,
0.06284013390541077,
-0.003093286417424679,
-0.0024704926181584597,
0.017153261229395866,
0.05666275694966316,
0.0053132823668420315,
0.03864539787173271,
0.03360788896679878,
0.023404182866215706,
-0.02287101559340954,
-0.04765407741069794,
-0.00018528693180996925,
-0.0003570723347365856,
0.014450657181441784,
0.013935876078903675,
-0.007905576378107071,
-0.04357259348034859,
-0.10177969187498093,
-0.022521698847413063,
-0.0025394365657120943,
0.06739962846040726,
0.03893955796957016,
0.008006693795323372,
0.0022992815356701612,
0.04228563979268074,
0.016528168693184853,
0.06578174978494644,
-0.024635981768369675,
0.011260849423706532,
0.08971909433603287,
-0.03897632658481598,
0.03649434447288513,
-0.0026520448736846447,
0.04228563979268074,
0.0021947165951132774,
-0.021216358989477158,
0.03871893882751465,
-0.07912930101156235,
0.05261804163455963,
-0.08810120820999146,
-0.047690846025943756,
0.016518976539373398,
-0.0008623742614872754,
-0.010617372579872608,
0.023679958656430244,
0.03963819146156311,
-0.08861599117517471,
0.03263348340988159,
-0.06103840097784996,
0.057765860110521317,
0.06802472472190857,
0.06773056089878082,
-0.03121783211827278,
0.01370606292039156,
-0.053500525653362274,
-0.01946977898478508,
0.024378590285778046,
-0.043829984962940216,
-0.030886901542544365,
0.01419326663017273,
0.016555747017264366,
0.005612039938569069,
-0.0013352150563150644,
-0.034508757293224335,
-0.000019659806639538147,
0.03002280369400978,
-0.014211651869118214,
-0.036696579307317734,
0.008553649298846722,
-0.01612369902431965,
0.08486543595790863,
0.056809838861227036,
-0.025150762870907784,
-0.01564568653702736,
0.001970648765563965,
-0.05283866450190544,
-0.0015213637379929423,
0.01839425228536129,
-0.0006239429931156337,
-0.018504563719034195,
-0.00984519999474287,
0.04511693865060806,
0.0816296711564064,
0.03607149049639702,
-0.06872335821390152,
0.017134876921772957,
0.045558180660009384,
0.01660170964896679,
-0.06232535466551781,
0.09832330048084259,
0.016831522807478905,
0.04743345454335213,
-0.010405944660305977,
0.03960141912102699,
-0.03934403136372566,
0.04886749014258385,
-0.037395212799310684,
-0.004793904721736908,
-0.028184298425912857,
0.016252392902970314,
-0.05339021608233452,
0.02693411335349083,
0.07633477449417114,
-0.011012651026248932,
0.04155023768544197,
-0.049970593303442,
0.009183337911963463,
0.04622004181146622,
-0.05327990651130676,
-0.01490109134465456,
-0.0018856177339330316,
-0.046514201909303665,
-0.004490551073104143,
-0.014974632300436497,
0.03366304561495781,
0.014257614500820637,
0.00798371247947216,
-0.02862553857266903,
0.04349905252456665,
-0.0029760815668851137,
0.06681130826473236,
0.012768424116075039,
-0.04018974304199219,
0.05412561818957329,
0.015360717661678791,
0.01789785735309124,
-0.05063245818018913,
0.009633772075176239,
-0.010102590546011925,
-0.029618332162499428,
0.014275999739766121,
-0.05747170001268387,
0.03213708475232124,
0.039270490407943726,
-0.033295344561338425,
-0.0013639417011290789,
-0.03298280015587807,
-0.0362369529902935,
-0.03985881060361862,
-0.0204074177891016,
0.02158406190574169,
-0.014947053976356983,
0.02904839627444744,
-0.0591263547539711,
0.04257979989051819,
0.06798795610666275,
0.11957643181085587,
-0.03772614523768425,
0.0031737210229039192,
0.0063934046775102615,
-0.030206654220819473,
-0.024084430187940598,
-0.04224886745214462,
0.040263283997774124,
0.018798723816871643,
0.05905281379818916,
0.065303735435009,
0.05430946871638298,
0.04103545472025871,
-0.007868805900216103,
-0.014570160768926144,
0.007891787216067314,
-0.03335050120949745,
0.020811889320611954,
-0.004467569757252932,
-0.04695544391870499,
0.01972717046737671,
0.07217974960803986,
-0.0658920556306839,
0.012400723062455654,
-0.004821482114493847,
0.01719922386109829,
-0.08655686676502228,
0.011150538921356201,
0.05438300967216492,
-0.022448159754276276,
-0.04206501692533493,
-0.041182536631822586,
-0.02908516675233841,
0.011104576289653778,
-0.013154510408639908,
-0.037137821316719055,
0.0034586894325912,
0.033993978053331375,
0.011849171482026577,
0.009261474013328552,
-0.012777617201209068,
0.03551993891596794,
0.014432272873818874,
-0.03386528044939041,
0.035685401409864426,
0.06313429772853851,
0.022448159754276276,
0.006338249426335096,
0.03178776800632477,
0.04110899567604065,
-0.06864981353282928,
0.052985746413469315,
0.01865164376795292,
0.031824540346860886,
-0.02114281989634037,
-0.007721725385636091,
0.03222901001572609,
0.002433722373098135,
-0.09214592725038528,
0.024874987080693245,
-0.030372120440006256,
-0.005198375787585974,
-0.01707972213625908,
-0.04537433013319969,
-0.06177380308508873,
-0.00882942508906126,
0.010405944660305977,
-0.048205628991127014,
-0.010359982028603554,
-0.04684513434767723,
-0.005216761026531458,
-0.030096344649791718,
-0.036181800067424774,
0.038130614906549454,
-0.0065726591274142265,
0.015406681224703789,
0.05931020528078079,
0.02641933225095272,
0.0557435043156147,
-0.011104576289653778,
0.08913077414035797,
-0.044859547168016434,
-0.061148710548877716,
-0.005134028382599354,
0.03728490322828293,
-0.08287985622882843,
-0.014799973927438259,
-0.009551038965582848,
-0.006053281016647816,
-0.013016622513532639,
-0.0065726591274142265,
0.009532653726637363,
-0.05019121617078781,
-0.006678373087197542,
0.015250408090651035,
-0.0032633482478559017,
0.013540596701204777,
0.01394506823271513,
-0.014450657181441784,
-0.00212002731859684,
-0.02741212584078312,
-0.08486543595790863,
0.0015271090669557452,
0.03147522360086441,
-0.030813362449407578,
0.04570525884628296,
0.045999422669410706,
-0.01501140184700489,
-0.047948237508535385,
-0.0127408467233181,
-0.008378990925848484,
-0.007436756975948811,
-0.05118400976061821,
-0.05725107714533806,
-0.07640831172466278,
0.015379102900624275,
0.01899176836013794,
0.06659068912267685,
-0.02954479306936264,
0.02351449243724346,
0.06681130826473236,
-0.038535088300704956,
-0.05353729799389839,
-0.021455366164445877,
-0.01716245338320732,
0.020333876833319664,
0.0014374819584190845,
0.06541404873132706,
-0.01107699889689684,
-0.012400723062455654,
0.03730328753590584,
-0.02812914177775383,
-0.029213860630989075,
-0.006733528338372707,
-0.005474151577800512,
0.020756732672452927,
0.04702898487448692,
-0.012078984640538692,
0.07460657507181168,
-0.04151346534490585,
0.007294273003935814,
0.0002961718419101089,
-0.045337557792663574,
-0.05861157178878784,
0.026731878519058228,
-0.0059245857410132885,
0.06692162156105042,
-0.0032817332539707422,
-0.004113657400012016,
0.011748054064810276,
-0.006145206280052662,
0.010810415260493755,
0.010571409948170185,
0.027743056416511536,
0.047948237508535385,
-0.007073651999235153,
-0.047506995499134064,
0.018918227404356003,
0.014606930315494537,
0.020591268315911293,
0.0031461433973163366,
0.023624802008271217,
-0.022540085017681122,
-0.025040453299880028,
-0.011564203538000584,
0.0016178853111341596,
-0.004049309529364109,
0.0354280099272728,
-0.01728195697069168,
0.005878623109310865,
-0.03456391394138336,
0.015379102900624275,
0.016298355534672737,
-0.040005892515182495,
0.055890582501888275,
0.022650394588708878,
0.025371383875608444,
0.04276365041732788,
0.015939846634864807,
-0.03318503499031067,
-0.03608987480401993,
-0.015048172324895859,
-0.010911533609032631,
0.016656864434480667,
-0.02930578589439392,
-0.08324755728244781,
-0.07280483841896057,
-0.02016841061413288,
0.041219305247068405,
-0.017235994338989258,
-0.01047029159963131,
0.044822778552770615,
0.007335639093071222,
-0.0259780902415514,
-0.00378732243552804,
0.04901457205414772,
0.07144434750080109,
-0.0232938714325428,
-0.048168860375881195,
-0.002629063557833433,
0.0529489740729332,
0.03239447623491287,
-0.012759231962263584,
-0.008944331668317318,
-0.011306812055408955,
-0.026584798470139503,
-0.011628550477325916,
-0.054677169770002365,
0.022907786071300507,
0.006016511004418135,
-0.021694371476769447,
0.004536513704806566,
0.023128407076001167,
0.013035007752478123,
-0.03754229471087456,
-0.032835718244314194,
0.04728637635707855,
-0.06254597753286362,
0.04695544391870499,
-0.037615835666656494,
-0.03222901001572609,
-0.04570525884628296,
-0.0015052768867462873,
-0.08001178503036499,
0.03248640149831772,
-0.019285928457975388,
0.002964590908959508,
0.05412561818957329,
0.008314643986523151,
-0.004931792616844177,
-0.013430287130177021,
-0.061148710548877716,
-0.01992940530180931,
-0.027706285938620567,
0.02377188391983509,
-0.09185176342725754,
-0.013310783542692661,
-0.007537874858826399,
-0.03846154734492302,
0.01726357266306877,
0.017842700704932213,
0.05931020528078079,
-0.04324166104197502,
-0.018090900033712387,
0.01924915798008442,
0.007625204045325518,
-0.027577590197324753,
-0.024838216602802277,
0.007790669333189726,
-0.0247830618172884,
0.051294319331645966,
0.04070452228188515,
0.036384034901857376,
0.008677748963236809,
-0.03599794954061508,
-0.0408148355782032,
0.013871528208255768,
0.03864539787173271,
0.05353729799389839,
0.013163703493773937,
0.007257502526044846,
-0.028257837519049644,
-0.0668848529458046,
0.008604208007454872,
-0.018881456926465034,
0.044859547168016434,
-0.019616859033703804,
-0.0259780902415514,
-0.029250631108880043,
-0.03678850457072258,
-0.020389031618833542,
0.06030299887061119,
-0.0013007430825382471,
0.0024658963084220886,
-0.003028938779607415,
-0.030427275225520134,
-0.08339463174343109,
0.055669963359832764,
0.03768937289714813,
-0.049419041723012924,
0.018164439126849174,
-0.008461724035441875,
0.11450215429067612,
-0.04416091367602348,
0.02165760099887848,
-0.05048537626862526,
0.05938374623656273,
0.007974520325660706,
0.01779673807322979,
0.03142006695270538,
-0.0076068188063800335,
0.014073763974010944,
-0.05070599541068077,
-0.00899948738515377,
0.05103692784905434,
0.0007089739083312452,
0.04511693865060806,
0.02494852803647518,
0.031125906854867935,
-0.018807917833328247,
-0.042616572231054306,
0.03820415586233139,
-0.002778442343696952,
0.024893371388316154,
-0.04805854707956314,
0.0199110209941864,
0.0264744870364666,
-0.0021889712661504745,
0.0057085612788796425,
-0.037156205624341965,
0.012198487296700478,
-0.040483903139829636,
-0.060707468539476395,
-0.049161650240421295,
-0.038351237773895264,
-0.0404103621840477,
0.010038242675364017,
0.06173703446984291,
-0.020756732672452927,
0.07335638999938965,
-0.022944554686546326,
-0.007128807250410318,
-0.01143550779670477,
-0.046992216259241104,
-0.0005386248230934143,
0.06059715896844864,
-0.042690109461545944,
-0.01740146055817604,
0.059236664324998856,
0.025665543973445892,
-0.06247243657708168,
0.04511693865060806,
-0.028294607996940613,
-0.01967201568186283,
0.023496108129620552,
-0.003525335341691971,
-0.01707972213625908,
0.004826078191399574,
-0.030886901542544365,
-0.015489413402974606,
-0.07817327976226807,
0.01839425228536129,
0.05048537626862526,
0.011260849423706532,
-0.0033736585173755884,
-0.0029967648442834616,
0.01709810644388199,
0.01618804596364498,
0.021014124155044556,
0.05357406660914421,
0.0036103662569075823,
-0.014469042420387268,
-0.02719150483608246,
-0.033295344561338425,
-0.02184145152568817,
-0.016528168693184853,
0.02303648181259632,
-0.0008020482491701841,
-0.021014124155044556,
0.04640389233827591,
-0.043351974338293076,
-0.016574131324887276,
-0.04640389233827591,
-0.01247426401823759,
0.018642451614141464,
0.03239447623491287,
-0.015379102900624275,
0.013090163469314575,
0.037836454808712006,
0.019561704248189926,
0.04188116639852524,
-0.0702676996588707,
-0.00360117363743484,
-0.04849978908896446,
0.009348803199827671,
-0.02719150483608246,
-0.005598250776529312,
-0.0046376315876841545,
0.017612887546420097,
-0.024194739758968353,
-0.02377188391983509,
0.005152413155883551,
-0.042616572231054306,
0.027779826894402504,
0.0017661148449406028,
0.04030005261301994,
-0.03871893882751465,
-0.0259780902415514,
-0.004963966552168131,
0.013935876078903675,
-0.008958120830357075,
-0.010635757818818092,
0.01803574524819851,
0.043609362095594406,
0.05100015923380852,
0.010001473128795624,
0.011031036265194416,
-0.020480956882238388,
0.007629800122231245,
-0.007910172455012798,
-0.0036149625666439533,
0.02594131976366043,
0.0057085612788796425,
-0.01755773276090622,
-0.015415873378515244,
-0.020756732672452927,
0.030372120440006256,
0.0328541025519371,
-0.011913519352674484,
-0.015084941871464252,
0.005487940739840269,
0.007000111974775791,
-0.0216024462133646,
-0.040005892515182495,
0.013117740862071514,
0.045999422669410706,
0.0034035344142466784,
-0.05000736564397812,
0.03366304561495781,
-0.06659068912267685,
-0.007422968279570341,
0.008411165326833725,
0.028478458523750305,
0.043829984962940216,
-0.06960584223270416,
-0.0271731186658144,
-0.015434258617460728,
-0.05339021608233452,
0.004729556851089001,
0.007018496748059988,
0.06824534386396408,
0.004610053729265928,
-0.0034494970459491014,
-0.03178776800632477,
-0.011141346767544746,
-0.002500368282198906,
-0.007666570134460926,
0.0005739586194977164,
0.04537433013319969,
-0.031125906854867935,
-0.0034127268008887768,
0.025389768183231354,
0.019083693623542786,
0.00848010927438736,
0.015719227492809296,
-0.03539124131202698,
-0.08339463174343109,
-0.024157969281077385,
-0.00541440024971962,
0.028276223689317703,
-0.04202824831008911,
-0.019322698935866356,
-0.033754970878362656,
-0.019855866208672523,
0.03493161499500275,
0.01107699889689684,
-0.0380203053355217,
-0.026989268139004707,
0.04827916994690895,
0.03805707395076752,
-0.014156497083604336,
-0.011996252462267876,
-0.07320930808782578,
0.010194515809416771,
0.06802472472190857,
-0.0259780902415514,
0.003890738356858492,
-0.023257100954651833,
0.023863809183239937,
-0.008935139514505863,
-0.009826814755797386,
-0.10876601934432983,
0.04861009865999222,
0.022227538749575615,
0.08949847519397736,
-0.03539124131202698,
0.006935764104127884,
0.07012061774730682,
-0.026823803782463074,
0.03176938369870186,
0.0067932796664536,
0.0076803588308393955,
-0.004550302401185036,
0.021087665110826492,
-0.047212835401296616,
-0.08692456781864166,
-0.008337625302374363,
0.0216024462133646,
-0.005350052844733,
0.01211575511842966,
-0.039049867540597916,
0.030666280537843704,
-0.01331997662782669,
0.010111783631145954,
0.05522872135043144,
0.024691136553883553,
0.04949258267879486,
-0.00015684754180256277
] |