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
|
---|---|---|---|---|---|---|
725,947 | validator_collection.validators | numeric | Validate that ``value`` is a numeric value.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if ``value``
is :obj:`None <python:None>`. If ``False``, raises an
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>` if
``value`` is :obj:`None <python:None>`.
Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:param minimum: If supplied, will make sure that ``value`` is greater than or
equal to this value.
:type minimum: numeric
:param maximum: If supplied, will make sure that ``value`` is less than or
equal to this value.
:type maximum: numeric
:returns: ``value`` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is :obj:`None <python:None>` and
``allow_empty`` is ``False``
:raises MinimumValueError: if ``minimum`` is supplied and ``value`` is less
than the ``minimum``
:raises MaximumValueError: if ``maximum`` is supplied and ``value`` is more
than the ``maximum``
:raises CannotCoerceError: if ``value`` cannot be coerced to a numeric form
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, minimum=None, maximum=None, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,949 | validator_collection.validators | path | Validate that ``value`` is a valid path-like object.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: The path represented by ``value``.
:rtype: Path-like object / :obj:`None <python:None>`
:raises EmptyValueError: if ``allow_empty`` is ``False`` and ``value`` is empty
:raises NotPathlikeError: if ``value`` is not a valid path-like object
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,950 | validator_collection.validators | path_exists | Validate that ``value`` is a path-like object that exists on the local
filesystem.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: The file name represented by ``value``.
:rtype: Path-like object / :obj:`None <python:None>`
:raises EmptyValueError: if ``allow_empty`` is ``False`` and ``value``
is empty
:raises NotPathlikeError: if ``value`` is not a path-like object
:raises PathExistsError: if ``value`` does not exist
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,951 | validator_collection.validators | string | Validate that ``value`` is a valid string.
:param value: The value to validate.
:type value: :class:`str <python:str>` / :obj:`None <python:None>`
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if ``value``
is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>` if
``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:param coerce_value: If ``True``, will attempt to coerce ``value`` to a string if
it is not already. If ``False``, will raise a :class:`ValueError` if ``value``
is not a string. Defaults to ``False``.
:type coerce_value: :class:`bool <python:bool>`
:param minimum_length: If supplied, indicates the minimum number of characters
needed to be valid.
:type minimum_length: :class:`int <python:int>`
:param maximum_length: If supplied, indicates the minimum number of characters
needed to be valid.
:type maximum_length: :class:`int <python:int>`
:param whitespace_padding: If ``True`` and the value is below the
``minimum_length``, pad the value with spaces. Defaults to ``False``.
:type whitespace_padding: :class:`bool <python:bool>`
:returns: ``value`` / :obj:`None <python:None>`
:rtype: :class:`str <python:str>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` is not a valid string and ``coerce_value``
is ``False``
:raises MinimumLengthError: if ``minimum_length`` is supplied and the length of
``value`` is less than ``minimum_length`` and ``whitespace_padding`` is
``False``
:raises MaximumLengthError: if ``maximum_length`` is supplied and the length of
``value`` is more than the ``maximum_length``
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, coerce_value=False, minimum_length=None, maximum_length=None, whitespace_padding=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,952 | validator_collection.validators | stringIO | Validate that ``value`` is a :class:`StringIO <python:io.StringIO>` object.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` / :obj:`None <python:None>`
:rtype: :class:`StringIO <python:io.StringIO>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises NotStringIOError: if ``value`` is not a :class:`StringIO <python:io.StringIO>`
object
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,953 | validator_collection.validators | time | Validate that ``value`` is a valid :class:`time <python:datetime.time>`.
.. caution::
This validator will **always** return the time as timezone naive (effectively
UTC). If ``value`` has a timezone / UTC offset applied, the validator will
coerce the value returned back to UTC.
:param value: The value to validate.
:type value: :func:`datetime <validator_collection.validators.datetime>` or
:func:`time <validator_collection.validators.time>`-compliant
:class:`str <python:str>` / :class:`datetime <python:datetime.datetime>` /
:class:`time <python:datetime.time> / numeric / :obj:`None <python:None>`
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:param minimum: If supplied, will make sure that ``value`` is on or after this value.
:type minimum: :func:`datetime <validator_collection.validators.datetime>` or
:func:`time <validator_collection.validators.time>`-compliant
:class:`str <python:str>` / :class:`datetime <python:datetime.datetime>` /
:class:`time <python:datetime.time> / numeric / :obj:`None <python:None>`
:param maximum: If supplied, will make sure that ``value`` is on or before this
value.
:type maximum: :func:`datetime <validator_collection.validators.datetime>` or
:func:`time <validator_collection.validators.time>`-compliant
:class:`str <python:str>` / :class:`datetime <python:datetime.datetime>` /
:class:`time <python:datetime.time> / numeric / :obj:`None <python:None>`
:param coerce_value: If ``True``, will attempt to coerce/extract a
:class:`time <python:datetime.time>` from ``value``. If ``False``, will only
respect direct representations of time. Defaults to ``True``.
:type coerce_value: :class:`bool <python:bool>`
:returns: ``value`` in UTC time / :obj:`None <python:None>`
:rtype: :class:`time <python:datetime.time>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`time <python:datetime.time>` and is not :obj:`None <python:None>`
:raises MinimumValueError: if ``minimum`` is supplied but ``value`` occurs
before ``minimum``
:raises MaximumValueError: if ``maximum`` is supplied but ``value`` occurs
after ``minimum``
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, minimum=None, maximum=None, coerce_value=True, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,954 | validator_collection.validators | timezone | Validate that ``value`` is a valid :class:`tzinfo <python:datetime.tzinfo>`.
.. caution::
This does **not** verify whether the value is a timezone that actually
exists, nor can it resolve timezone names (e.g. ``'Eastern'`` or ``'CET'``).
For that kind of functionality, we recommend you utilize:
`pytz <https://pypi.python.org/pypi/pytz>`_
:param value: The value to validate.
:type value: :class:`str <python:str>` / :class:`tzinfo <python:datetime.tzinfo>`
/ numeric / :obj:`None <python:None>`
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:param positive: Indicates whether the ``value`` is positive or negative
(only has meaning if ``value`` is a string). Defaults to ``True``.
:type positive: :class:`bool <python:bool>`
:returns: ``value`` / :obj:`None <python:None>`
:rtype: :class:`tzinfo <python:datetime.tzinfo>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to
:class:`tzinfo <python:datetime.tzinfo>` and is not :obj:`None <python:None>`
:raises PositiveOffsetMismatchError: if ``positive`` is ``True``, but the offset
indicated by ``value`` is actually negative
:raises NegativeOffsetMismatchError: if ``positive`` is ``False``, but the offset
indicated by ``value`` is actually positive
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, positive=True, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,955 | validator_collection.validators | url | Validate that ``value`` is a valid URL.
.. note::
URL validation is...complicated. The methodology that we have
adopted here is *generally* compliant with
`RFC 1738 <https://tools.ietf.org/html/rfc1738>`_,
`RFC 6761 <https://tools.ietf.org/html/rfc6761>`_,
`RFC 2181 <https://tools.ietf.org/html/rfc2181>`_ and uses a combination of
string parsing and regular expressions,
This approach ensures more complete coverage for unusual edge cases, while
still letting us use regular expressions that perform quickly.
:param value: The value to validate.
:type value: :class:`str <python:str>` / :obj:`None <python:None>`
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:param allow_special_ips: If ``True``, will succeed when validating special IP
addresses, such as loopback IPs like ``127.0.0.1`` or ``0.0.0.0``. If ``False``,
will raise a :class:`InvalidURLError` if ``value`` is a special IP address. Defaults
to ``False``.
:type allow_special_ips: :class:`bool <python:bool>`
:returns: ``value`` / :obj:`None <python:None>`
:rtype: :class:`str <python:str>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` is not a :class:`str <python:str>` or
:obj:`None <python:None>`
:raises InvalidURLError: if ``value`` is not a valid URL or
empty with ``allow_empty`` set to ``True``
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, allow_special_ips=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,956 | validator_collection.validators | uuid | Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,958 | validator_collection.validators | variable_name | Validate that the value is a valid Python variable name.
.. caution::
This function does **NOT** check whether the variable exists. It only
checks that the ``value`` would work as a Python variable (or class, or
function, etc.) name.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` / :obj:`None <python:None>`
:rtype: :class:`str <python:str>` or :obj:`None <python:None>`
:raises EmptyValueError: if ``allow_empty`` is ``False`` and ``value``
is empty
| # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
import math
import os
import uuid as uuid_
import datetime as datetime_
import string as string_
import sys
from ast import parse
import jsonschema
from validator_collection._compat import numeric_types, integer_types, datetime_types,\
date_types, time_types, timestamp_types, tzinfo_types, POSITIVE_INFINITY, \
NEGATIVE_INFINITY, TimeZone, json_, is_py2, is_py3, dict_, float_, basestring, re
from validator_collection._decorators import disable_on_env
from validator_collection import errors
URL_UNSAFE_CHARACTERS = ('[', ']', '{', '}', '|', '^', '%', '~')
URL_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address exclusion
# private & local networks
r"(?!(?:10|127)(?:\.\d{1,3}){3})"
r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})"
r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
r"(?:"
r"(?:localhost|invalid|test|example)|("
# host name
r"(?:(?:[A-z\u00a1-\uffff0-9]-*_*)*[A-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[A-z\u00a1-\uffff0-9]-*)*[A-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[A-z\u00a1-\uffff]{2,}))"
r")))"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
URL_SPECIAL_IP_REGEX = re.compile(
r"^"
# protocol identifier
r"(?:(?:https?|ftp)://)"
# user:pass authentication
r"(?:\S+(?::\S*)?@)?"
r"(?:"
# IP address dotted notation octets
# excludes loopback network 0.0.0.0
# excludes reserved space >= 224.0.0.0
# excludes network & broadcast addresses
# (first & last IP address of each class)
r"(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])"
r"(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}"
r"(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))"
r"|"
# host name
r"(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)"
# domain name
r"(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*"
# TLD identifier
r"(?:\.(?:[a-z\u00a1-\uffff]{2,}))"
r")"
# port number
r"(?::\d{2,5})?"
# resource path
r"(?:/\S*)?"
r"$"
, re.UNICODE)
DOMAIN_REGEX = re.compile(
r"\b((?=[a-z\u00a1-\uffff0-9-]{1,63}\.)(xn--)?[a-z\u00a1-\uffff0-9]+"
r"(-[a-z\u00a1-\uffff0-9]+)*\.)+[a-z]{2,63}\b",
re.UNICODE|re.IGNORECASE
)
URL_PROTOCOLS = ('http://',
'https://',
'ftp://')
SPECIAL_USE_DOMAIN_NAMES = ('localhost',
'invalid',
'test',
'example')
EMAIL_REGEX = re.compile(
r"(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\""
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")"
r"@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])"
r"?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}"
r"(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:"
r"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"
)
VARIABLE_NAME_REGEX = re.compile(
r"(^[a-zA-Z_])([a-zA-Z0-9_]*)"
)
MAC_ADDRESS_REGEX = re.compile(r'^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$')
IPV6_REGEX = re.compile(
'^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){,6}[0-9A-Fa-f]{1,4})?::)(?:%25(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)?$'
)
TIMEDELTA_REGEX = re.compile(r'((?P<days>\d+) days?, )?(?P<hours>\d+):'
r'(?P<minutes>\d+):(?P<seconds>\d+(\.\d+)?)')
MIME_TYPE_REGEX = re.compile(r"^multipart|[-\w.]+/[-\w.\+]+$")
# pylint: disable=W0613
## CORE
@disable_on_env
def uuid(value,
allow_empty = False,
**kwargs):
"""Validate that ``value`` is a valid :class:`UUID <python:uuid.UUID>`.
:param value: The value to validate.
:param allow_empty: If ``True``, returns :obj:`None <python:None>` if
``value`` is empty. If ``False``, raises a
:class:`EmptyValueError <validator_collection.errors.EmptyValueError>`
if ``value`` is empty. Defaults to ``False``.
:type allow_empty: :class:`bool <python:bool>`
:returns: ``value`` coerced to a :class:`UUID <python:uuid.UUID>` object /
:obj:`None <python:None>`
:rtype: :class:`UUID <python:uuid.UUID>` / :obj:`None <python:None>`
:raises EmptyValueError: if ``value`` is empty and ``allow_empty`` is ``False``
:raises CannotCoerceError: if ``value`` cannot be coerced to a
:class:`UUID <python:uuid.UUID>`
"""
if not value and not allow_empty:
raise errors.EmptyValueError('value (%s) was empty' % value)
elif not value:
return None
if isinstance(value, uuid_.UUID):
return value
try:
value = uuid_.UUID(value)
except ValueError:
raise errors.CannotCoerceError('value (%s) cannot be coerced to a valid UUID')
return value
| (value, allow_empty=False, **kwargs) | [
0.03530561923980713,
0.0046048457734286785,
0.00770893320441246,
0.015979301184415817,
-0.012394755147397518,
-0.04832658916711807,
0.007466004695743322,
-0.02293245680630207,
-0.02688409388065338,
-0.04806746542453766,
0.04396467283368111,
0.09708505123853683,
0.04040171951055527,
0.016627110540866852,
0.04936308413743973,
0.06715625524520874,
-0.01360399927943945,
0.05748229846358299,
0.03083573281764984,
-0.02465994842350483,
-0.060375846922397614,
-0.05268850550055504,
-0.018073884770274162,
0.022371022030711174,
0.005981441121548414,
0.056143488734960556,
0.022241460159420967,
-0.014575714245438576,
0.009058536030352116,
0.020254844799637794,
0.03126760572195053,
-0.0003208681591786444,
0.003085192758589983,
0.029410552233457565,
0.03083573281764984,
-0.07346159964799881,
0.009447221644222736,
0.004313331563025713,
-0.0858563557267189,
0.01293459627777338,
-0.006224369630217552,
-0.015569021925330162,
-0.03541358560323715,
0.001861102762632072,
-0.005212167277932167,
0.02152886986732483,
-0.00919889472424984,
0.06681075692176819,
-0.09440743923187256,
-0.022263053804636,
-0.013819935731589794,
-0.0488448366522789,
-0.013031767681241035,
0.04176212102174759,
0.0300583615899086,
0.042798615992069244,
-0.018559742718935013,
0.10399501770734787,
0.013312485069036484,
-0.01156339980661869,
-0.007169092074036598,
-0.01921834796667099,
-0.01926153525710106,
0.016508346423506737,
-0.011077542789280415,
0.00934465229511261,
0.00358184683136642,
-0.06214652583003044,
-0.055322930216789246,
-0.036255739629268646,
0.021453291177749634,
0.011088339611887932,
0.0009440474095754325,
-0.008432320319116116,
0.08451754599809647,
-0.03454983979463577,
-0.008356742560863495,
0.03351334482431412,
-0.03107326291501522,
-0.01199527271091938,
0.1177285835146904,
0.015245117247104645,
0.01367957703769207,
-0.01796591654419899,
0.08576998114585876,
-0.022846082225441933,
0.041459809988737106,
0.03416115418076515,
-0.08045794069766998,
0.07467084378004074,
-0.006364728324115276,
-0.06672438234090805,
-0.020222453400492668,
0.03999143838882446,
-0.053681813180446625,
-0.049924518913030624,
0.004348421469330788,
-0.02571803703904152,
0.019736595451831818,
-0.06391720473766327,
-0.003714107908308506,
0.013841529376804829,
-0.1571153998374939,
0.007088115904480219,
0.016778266057372093,
-0.007914072833955288,
-0.06478095054626465,
0.02091345004737377,
-0.02966967597603798,
-0.047851528972387314,
-0.0020001118537038565,
-0.043813515454530716,
0.023429110646247864,
-0.011401447467505932,
0.04832658916711807,
-0.030900513753294945,
-0.002826069016009569,
-0.02876274287700653,
0.005538771394640207,
-0.017523247748613358,
0.019531456753611565,
0.03694673627614975,
-0.04513072967529297,
0.030943701043725014,
0.024012139067053795,
0.0170481875538826,
-0.03362131491303444,
-0.0007125904667191207,
0.04094156250357628,
0.006143393460661173,
-0.026992062106728554,
0.06400357931852341,
0.004307933151721954,
0.04979495704174042,
-0.027661465108394623,
-0.06616294384002686,
-0.015072368085384369,
0.030187923461198807,
-0.0608077198266983,
0.02645222097635269,
-0.02176639996469021,
0.017901135608553886,
-0.007833096198737621,
-0.0651264488697052,
0.0009298765799030662,
0.007331044413149357,
0.018473368138074875,
-0.006256760098040104,
-0.02645222097635269,
-0.023234767839312553,
0.02884911745786667,
-0.005420006345957518,
0.00146971782669425,
0.047376468777656555,
0.004116289783269167,
-0.014629698358476162,
-0.014122246764600277,
-0.08188312500715256,
-0.024940665811300278,
-0.03815598040819168,
-0.028395650908350945,
-0.04344642534852028,
-0.004124387167394161,
-0.05730954930186272,
0.010613279417157173,
0.04238833487033844,
0.04599447548389435,
-0.03040385991334915,
-0.008243376389145851,
0.028438838198781013,
-0.019768986850976944,
0.041502997279167175,
-0.017695996910333633,
0.06227608770132065,
0.013118142262101173,
0.039948251098394394,
0.021712414920330048,
-0.021464088931679726,
-0.020265640690922737,
0.043036144226789474,
0.016443565487861633,
0.01052150595933199,
0.03703311085700989,
0.03515446186065674,
0.036730799823999405,
0.020222453400492668,
-0.012589097954332829,
0.017847152426838875,
0.06149871647357941,
0.00895596668124199,
0.016065675765275955,
0.006445704493671656,
0.01715615577995777,
0.026279471814632416,
-0.0026128317695111036,
-0.031375572085380554,
0.0050799064338207245,
-0.0037168071139603853,
0.0015763364499434829,
-0.04798109084367752,
-0.01733970083296299,
0.0032876331824809313,
-0.050270017236471176,
-0.044871605932712555,
-0.04469885677099228,
-0.059943974018096924,
0.00025170098524540663,
0.027704652398824692,
-0.0026047341525554657,
0.017544841393828392,
-0.01970420591533184,
-0.049017585813999176,
-0.03366450220346451,
0.09440743923187256,
-0.030425453558564186,
-0.04325208067893982,
0.01758802868425846,
0.016508346423506737,
-0.02528616413474083,
0.02822289988398552,
0.049449458718299866,
-0.01028397586196661,
-0.01671348512172699,
-0.06357170641422272,
0.015741771087050438,
-0.0006916716229170561,
0.003921946510672569,
0.04126546531915665,
-0.007957260124385357,
-0.06970430165529251,
0.06473775953054428,
-0.05562524124979973,
0.051133763045072556,
0.0820990577340126,
0.021550463512539864,
0.04262586683034897,
0.059512101113796234,
-0.006424110848456621,
0.07497315108776093,
-0.0023753014393150806,
-0.042561084032058716,
-0.020103687420487404,
0.036773987114429474,
-0.025588475167751312,
0.054502371698617935,
0.006656242534518242,
-0.030943701043725014,
0.04163255915045738,
-0.019563846290111542,
-0.10036728531122208,
-0.08076024800539017,
0.04711734503507614,
-0.014154637232422829,
-0.035435181111097336,
-0.04927670955657959,
-0.011757742613554,
-0.017544841393828392,
-0.043662361800670624,
0.06927242875099182,
-0.005544169805943966,
0.022435802966356277,
-0.04124387353658676,
0.01023539062589407,
0.04854252561926842,
-0.02697046846151352,
-0.02707843668758869,
0.01970420591533184,
0.04595128819346428,
-0.051176950335502625,
-0.012383958324790001,
-0.05882110446691513,
0.008939770981669426,
-0.05091782659292221,
0.002599335741251707,
-0.039861876517534256,
-0.06093728169798851,
0.027683058753609657,
0.00011319796612951905,
0.02982083149254322,
-0.06862462311983109,
-0.03593183308839798,
0.03595342859625816,
0.03020951710641384,
-0.004531967453658581,
0.03595342859625816,
0.009279871359467506,
-0.005830285605043173,
0.007546980865299702,
-0.056143488734960556,
0.013884716667234898,
-0.031569916754961014,
-0.08684965968132019,
0.03595342859625816,
-0.011088339611887932,
-0.04426698386669159,
0.07346159964799881,
-0.004151379223912954,
-0.022651739418506622,
0.007460606284439564,
-0.06093728169798851,
-0.03889016434550285,
0.06335576623678207,
0.034895338118076324,
-0.0026816613972187042,
-0.048585712909698486,
0.025394132360816002,
-0.01970420591533184,
-0.026992062106728554,
0.04379192367196083,
0.0059490506537258625,
0.0013408306986093521,
-0.03236887976527214,
-0.010176007635891438,
0.01656232960522175,
0.06711306422948837,
0.0526021309196949,
0.016454361379146576,
0.020406000316143036,
0.026517001911997795,
0.037357013672590256,
0.02008209377527237,
0.0663788840174675,
0.049017585813999176,
-0.020870262756943703,
0.005873472895473242,
-0.01657312735915184,
0.015353085473179817,
0.0010068039409816265,
-0.03558633476495743,
0.017253326252102852,
-0.02239261567592621,
-0.007260865066200495,
0.013960294425487518,
0.041459809988737106,
0.017264124006032944,
-0.03843669593334198,
-0.0023820495698601007,
-0.06335576623678207,
-0.018462570384144783,
-0.05558205395936966,
0.029324177652597427,
0.020783888176083565,
-0.003916548099368811,
-0.007843893021345139,
-0.0023672038223594427,
-0.056618548929691315,
0.02716481126844883,
0.0013887416571378708,
-0.014932009391486645,
0.00008633242396172136,
0.004313331563025713,
0.007525387220084667,
-0.034182749688625336,
0.06447863578796387,
0.006758812349289656,
-0.06486732512712479,
-0.039278849959373474,
-0.015212726779282093,
0.039235662668943405,
0.04247470945119858,
-0.04016418755054474,
-0.010370350442826748,
-0.028870711103081703,
-0.04802427813410759,
0.028309274464845657,
-0.01979058049619198,
0.00045447886805050075,
0.04109271615743637,
0.05527974292635918,
-0.05014045536518097,
-0.0024738225620239973,
0.04538985341787338,
0.019563846290111542,
-0.12507042288780212,
-0.008923576213419437,
-0.03830713406205177,
0.06732900440692902,
0.019229145720601082,
-0.07315928488969803,
0.008248774334788322,
0.03582386672496796,
0.06465138494968414,
-0.0007186636794358492,
-0.016400378197431564,
0.010078836232423782,
-0.07294335216283798,
-0.02457357384264469,
0.013819935731589794,
-0.05044276639819145,
0.059943974018096924,
-0.027272779494524002,
-0.000050820992328226566,
0.06452182680368423,
-0.01203846000134945,
-0.01317212637513876,
0.024595167487859726,
0.014338184148073196,
0.028546806424856186,
-0.003101387992501259,
-0.015018383972346783,
-0.03694673627614975,
-0.01584973931312561,
0.003921946510672569,
0.049060773104429245,
0.030187923461198807,
0.0017031991155818105,
0.09164345264434814,
0.012999377213418484,
-0.0010445928201079369,
0.04556260257959366,
0.0058626760728657246,
-0.022090304642915726,
-0.028244493529200554,
-0.036687612533569336,
-0.027488715946674347,
0.04109271615743637,
-0.0435543917119503,
0.004183769691735506,
0.003101387992501259,
0.0294321458786726,
-0.014770057052373886,
-0.016216831281781197,
-0.02528616413474083,
0.07518909126520157,
-0.022522177547216415,
0.036968328058719635,
-0.01052150595933199,
-0.0007105660624802113,
-0.0012429844355210662,
-0.013150532729923725,
0.03221772611141205,
0.015288304537534714,
-0.011261088773608208,
-0.0595552884042263,
0.03139716759324074,
-0.026754532009363174,
0.0064187124371528625,
-0.013895513489842415,
0.03144035488367081,
-0.025566881522536278,
0.010462123900651932,
-0.018343806266784668,
0.03921406716108322,
-0.006828991696238518,
0.05605711415410042,
-0.018916036933660507,
-0.05394093692302704,
0.005576560273766518,
-0.014608104713261127,
-0.02567484974861145,
-0.033556532114744186,
-0.0372922345995903,
-0.022047117352485657,
-0.023234767839312553,
-0.02645222097635269,
0.01575256697833538,
0.014759260229766369,
0.0340963751077652,
-0.013409656472504139,
-0.02841724455356598,
0.007784510962665081,
0.062448836863040924,
0.01584973931312561,
-0.004002922680228949,
-0.05139288678765297,
0.038371916860342026,
0.04156777635216713,
-0.009285269305109978,
-0.014608104713261127,
0.04262586683034897,
-0.03999143838882446,
-0.01950986310839653,
-0.030900513753294945,
0.009387839585542679,
0.025221383199095726,
0.0372922345995903,
0.018894443288445473,
0.020146874710917473,
-0.0347873717546463,
-0.012589097954332829,
0.05333631485700607,
-0.036342114210128784,
0.01906719245016575,
0.005695325322449207,
0.00859967153519392,
-0.022759707644581795,
0.012254396453499794,
-0.02258695848286152,
-0.05359543859958649,
0.045303478837013245,
-0.038415104150772095,
-0.02301883138716221,
-0.025804411619901657,
0.020244047045707703,
0.027704652398824692,
-0.033750876784324646,
0.004372714087367058,
0.005533372983336449,
0.019617831334471703,
-0.02442241832613945,
0.004100094549357891,
-0.00963076762855053,
0.0031850633677095175,
-0.0003321710682939738,
0.020967435091733932,
0.01845177449285984,
-0.0016519142081961036,
-0.0030096150003373623,
0.024292856454849243,
-0.030079955235123634,
-0.05143607407808304,
-0.011930491775274277,
0.03178585320711136,
0.0315915085375309,
-0.01656232960522175,
0.022889269515872,
0.03683876618742943,
-0.014802447520196438,
-0.04368395358324051,
-0.040768813341856,
-0.030187923461198807,
0.058605168014764786,
0.010953378863632679,
-0.036925140768289566,
0.007849291898310184,
0.046987783163785934,
-0.0247031357139349,
0.002483269665390253,
-0.0032741371542215347,
-0.004934148862957954,
0.05350906401872635,
0.049060773104429245,
0.0366012379527092,
-0.03569430485367775,
0.026171503588557243,
-0.0008219082956202328,
-0.038760602474212646,
-0.0727706030011177,
-0.06128278002142906,
0.013722764328122139,
-0.007816901430487633,
0.04465566948056221,
-0.08032837510108948,
-0.02182038314640522,
-0.07233873009681702,
-0.04081200063228607,
0.031051669269800186,
0.006672437768429518,
-0.04582172632217407,
-0.03429071605205536,
-0.004221558570861816,
0.0435543917119503,
0.07410940527915955,
0.010435131378471851,
-0.028719555586576462,
0.039516378194093704,
0.0350680872797966,
0.015396272763609886,
0.001673507853411138,
-0.0019677213858813047,
-0.02278130128979683,
-0.019293926656246185,
-0.04513072967529297,
-0.013981888070702553,
-0.08171037584543228,
0.004202664364129305,
-0.011282682418823242,
-0.01912117749452591,
-0.06141234189271927,
0.041459809988737106,
-0.06313983350992203,
0.026668157428503036,
0.052472569048404694,
0.01235156785696745,
-0.036579642444849014,
-0.029561707749962807,
-0.03290872275829315,
-0.00026300392346456647,
0.028093338012695312,
-0.0007672493811696768,
0.03487374633550644,
0.02692728117108345,
-0.015633802860975266,
-0.06050540879368782,
0.03286553546786308,
0.008475507609546185,
0.058648355305194855,
0.07009299099445343,
-0.0663788840174675,
-0.029756050556898117,
-0.03221772611141205,
-0.0019110380671918392,
0.00024765217676758766,
0.008610468357801437,
-0.033988405019044876,
0.04560578987002373,
0.027575090527534485,
-0.010494514368474483,
0.040336936712265015,
0.02394735813140869,
-0.01375515479594469,
0.05290444195270538,
0.05091782659292221,
-0.05255894362926483,
0.025653256103396416,
-0.00791947077959776,
-0.022673333063721657,
-0.03072776459157467,
0.010764434933662415,
-0.061930589377880096,
0.017523247748613358,
0.019391097128391266,
-0.0016208733431994915,
-0.01853814907371998,
0.028093338012695312,
-0.013571608811616898,
-0.06015991047024727,
0.04668547213077545,
0.012913002632558346,
0.0015533932019025087,
-0.004974637180566788,
0.04789471626281738,
0.011865710839629173,
0.018775679171085358,
0.04152458906173706,
0.013582405634224415,
-0.044526107609272,
0.029108241200447083,
-0.058648355305194855,
-0.0012524316553026438,
0.007385028526186943,
0.018559742718935013,
-0.013690373860299587,
0.007676542736589909,
-0.00958758033812046,
-0.024724729359149933,
0.028546806424856186,
0.015039977617561817,
-0.04012100026011467,
0.04517391696572304,
-0.0069747488014400005,
-0.006963951978832483,
0.0002930325863417238,
0.010186804458498955,
0.01317212637513876,
0.053638625890016556,
-0.024487199261784554,
-0.08576998114585876,
0.05787098407745361,
0.016173643991351128,
0.021906757727265358,
0.04310092702507973,
-0.009333855472505093,
0.004326827824115753,
-0.022414209321141243,
0.04398626461625099,
-0.01864611729979515,
-0.012405551970005035,
0.013107345439493656,
-0.00459944736212492,
-0.02774783968925476,
-0.02090265415608883,
0.03858785331249237,
-0.005598153918981552,
-0.015039977617561817,
0.0038760602474212646,
0.0644354522228241,
-0.009646963328123093,
-0.025415726006031036,
0.029367364943027496,
-0.008086821995675564,
-0.02817971259355545,
0.04387829825282097,
0.04085518792271614,
0.015450256876647472,
0.01671348512172699,
-0.012016866356134415,
-0.005306639708578587,
0.009965469129383564,
0.03463621437549591,
0.10745000094175339,
-0.02504863403737545,
-0.02977764420211315,
-0.03737860918045044,
-0.010159812867641449,
-0.017857948318123817,
0.03835032135248184,
0.03303828462958336,
0.015482647344470024,
-0.009646963328123093,
-0.011023558676242828,
-0.013981888070702553,
-0.024098513647913933,
0.026646563783288002,
-0.04646953567862511,
-0.0050772069953382015,
-0.012016866356134415,
0.06858143210411072,
0.03811279311776161,
-0.011865710839629173,
0.005009726621210575,
0.0033065276220440865,
0.0340963751077652,
0.022414209321141243,
0.009485010989010334,
0.008874990046024323,
-0.06521282345056534,
-0.00595984747633338,
0.06106684356927872,
0.013517624698579311,
0.05592755228281021,
0.01062407623976469,
0.012869815342128277,
0.003938141744583845,
-0.010915590450167656,
-0.05666173994541168,
-0.03342697024345398,
0.015201929956674576,
0.02966967597603798,
0.0007874934235587716,
0.05139288678765297,
-0.0029502324759960175,
0.03863104060292244,
0.02104301191866398,
-0.021453291177749634,
0.053638625890016556,
-0.02134532295167446,
0.008135408163070679,
0.03323262929916382,
0.007444411050528288,
0.015569021925330162,
0.08896584063768387,
-0.0350680872797966,
0.07717570662498474,
-0.024508792906999588,
-0.04875846207141876,
0.018678506836295128,
0.010737442411482334,
-0.05290444195270538,
0.013539218343794346,
0.0013435299042612314,
-0.0002611482050269842,
-0.03204497694969177,
0.05877791717648506,
0.014813244342803955,
0.048585712909698486,
0.024767916649580002,
0.008982958272099495,
-0.02928099036216736,
-0.020578749477863312,
0.0015574420103803277,
-0.025998754426836967,
-0.09553030878305435,
-0.004477983340620995,
0.01575256697833538,
-0.030187923461198807,
-0.026711344718933105,
0.044094234704971313,
-0.024055326357483864,
-0.014964399859309196,
0.0008961365092545748,
0.047808341681957245,
-0.0010074786841869354,
-0.004955742508172989,
-0.00790327601134777,
0.026754532009363174,
-0.0175340436398983,
0.016022488474845886
] |
725,960 | pymediainfo | MediaInfo |
An object containing information about a media file.
:class:`MediaInfo` objects can be created by directly calling code from
libmediainfo (in this case, the library must be present on the system):
>>> pymediainfo.MediaInfo.parse("/path/to/file.mp4")
Alternatively, objects may be created from MediaInfo's XML output.
Such output can be obtained using the ``XML`` output format on versions older than v17.10
and the ``OLDXML`` format on newer versions.
Using such an XML file, we can create a :class:`MediaInfo` object:
>>> with open("output.xml") as f:
... mi = pymediainfo.MediaInfo(f.read())
:param str xml: XML output obtained from MediaInfo.
:param str encoding_errors: option to pass to :func:`str.encode`'s `errors`
parameter before parsing `xml`.
:raises xml.etree.ElementTree.ParseError: if passed invalid XML.
:var tracks: A list of :py:class:`Track` objects which the media file contains.
For instance:
>>> mi = pymediainfo.MediaInfo.parse("/path/to/file.mp4")
>>> for t in mi.tracks:
... print(t)
<Track track_id='None', track_type='General'>
<Track track_id='1', track_type='Text'>
| class MediaInfo:
"""
An object containing information about a media file.
:class:`MediaInfo` objects can be created by directly calling code from
libmediainfo (in this case, the library must be present on the system):
>>> pymediainfo.MediaInfo.parse("/path/to/file.mp4")
Alternatively, objects may be created from MediaInfo's XML output.
Such output can be obtained using the ``XML`` output format on versions older than v17.10
and the ``OLDXML`` format on newer versions.
Using such an XML file, we can create a :class:`MediaInfo` object:
>>> with open("output.xml") as f:
... mi = pymediainfo.MediaInfo(f.read())
:param str xml: XML output obtained from MediaInfo.
:param str encoding_errors: option to pass to :func:`str.encode`'s `errors`
parameter before parsing `xml`.
:raises xml.etree.ElementTree.ParseError: if passed invalid XML.
:var tracks: A list of :py:class:`Track` objects which the media file contains.
For instance:
>>> mi = pymediainfo.MediaInfo.parse("/path/to/file.mp4")
>>> for t in mi.tracks:
... print(t)
<Track track_id='None', track_type='General'>
<Track track_id='1', track_type='Text'>
"""
def __eq__(self, other): # type: ignore
return self.tracks == other.tracks
def __init__(self, xml: str, encoding_errors: str = "strict"):
xml_dom = ET.fromstring(xml.encode("utf-8", encoding_errors))
self.tracks = []
# This is the case for libmediainfo < 18.03
# https://github.com/sbraz/pymediainfo/issues/57
# https://github.com/MediaArea/MediaInfoLib/commit/575a9a32e6960ea34adb3bc982c64edfa06e95eb
if xml_dom.tag == "File":
xpath = "track"
else:
xpath = "File/track"
for xml_track in xml_dom.iterfind(xpath):
self.tracks.append(Track(xml_track))
def _tracks(self, track_type: str) -> List[Track]:
return [track for track in self.tracks if track.track_type == track_type]
@property
def general_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``General``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("General")
@property
def video_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Video``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Video")
@property
def audio_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Audio``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Audio")
@property
def text_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Text``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Text")
@property
def other_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Other``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Other")
@property
def image_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Image``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Image")
@property
def menu_tracks(self) -> List[Track]:
"""
:return: All :class:`Track`\\s of type ``Menu``.
:rtype: list of :class:`Track`\\s
"""
return self._tracks("Menu")
@staticmethod
def _normalize_filename(filename: Any) -> Any:
if hasattr(os, "PathLike") and isinstance(filename, os.PathLike):
return os.fspath(filename)
if pathlib is not None and isinstance(filename, pathlib.PurePath):
return str(filename)
return filename
@classmethod
def _define_library_prototypes(cls, lib: Any) -> Any:
lib.MediaInfo_Inform.restype = ctypes.c_wchar_p
lib.MediaInfo_New.argtypes = []
lib.MediaInfo_New.restype = ctypes.c_void_p
lib.MediaInfo_Option.argtypes = [
ctypes.c_void_p,
ctypes.c_wchar_p,
ctypes.c_wchar_p,
]
lib.MediaInfo_Option.restype = ctypes.c_wchar_p
lib.MediaInfo_Inform.argtypes = [ctypes.c_void_p, ctypes.c_size_t]
lib.MediaInfo_Inform.restype = ctypes.c_wchar_p
lib.MediaInfo_Open.argtypes = [ctypes.c_void_p, ctypes.c_wchar_p]
lib.MediaInfo_Open.restype = ctypes.c_size_t
lib.MediaInfo_Open_Buffer_Init.argtypes = [
ctypes.c_void_p,
ctypes.c_uint64,
ctypes.c_uint64,
]
lib.MediaInfo_Open_Buffer_Init.restype = ctypes.c_size_t
lib.MediaInfo_Open_Buffer_Continue.argtypes = [
ctypes.c_void_p,
ctypes.c_char_p,
ctypes.c_size_t,
]
lib.MediaInfo_Open_Buffer_Continue.restype = ctypes.c_size_t
lib.MediaInfo_Open_Buffer_Continue_GoTo_Get.argtypes = [ctypes.c_void_p]
lib.MediaInfo_Open_Buffer_Continue_GoTo_Get.restype = ctypes.c_uint64
lib.MediaInfo_Open_Buffer_Finalize.argtypes = [ctypes.c_void_p]
lib.MediaInfo_Open_Buffer_Finalize.restype = ctypes.c_size_t
lib.MediaInfo_Delete.argtypes = [ctypes.c_void_p]
lib.MediaInfo_Delete.restype = None
lib.MediaInfo_Close.argtypes = [ctypes.c_void_p]
lib.MediaInfo_Close.restype = None
@staticmethod
def _get_library_paths(os_is_nt: bool) -> Tuple[str]:
if os_is_nt:
library_paths = ("MediaInfo.dll",)
elif sys.platform == "darwin":
library_paths = ("libmediainfo.0.dylib", "libmediainfo.dylib")
else:
library_paths = ("libmediainfo.so.0",)
script_dir = os.path.dirname(__file__)
# Look for the library file in the script folder
for library in library_paths:
absolute_library_path = os.path.join(script_dir, library)
if os.path.isfile(absolute_library_path):
# If we find it, don't try any other filename
library_paths = (absolute_library_path,)
break
return library_paths
@classmethod
def _get_library(
cls,
library_file: Optional[str] = None,
) -> Tuple[Any, Any, str, Tuple[int, ...]]:
os_is_nt = os.name in ("nt", "dos", "os2", "ce")
if os_is_nt:
lib_type = ctypes.WinDLL # type: ignore
else:
lib_type = ctypes.CDLL
if library_file is None:
library_paths = cls._get_library_paths(os_is_nt)
else:
library_paths = (library_file,)
exceptions = []
for library_path in library_paths:
try:
lib = lib_type(library_path)
cls._define_library_prototypes(lib)
# Without a handle, there might be problems when using concurrent threads
# https://github.com/sbraz/pymediainfo/issues/76#issuecomment-574759621
handle = lib.MediaInfo_New()
version = lib.MediaInfo_Option(handle, "Info_Version", "")
match = re.search(r"^MediaInfoLib - v(\S+)", version)
if match:
lib_version_str = match.group(1)
lib_version = tuple(int(_) for _ in lib_version_str.split("."))
else:
raise RuntimeError("Could not determine library version")
return (lib, handle, lib_version_str, lib_version)
except OSError as exc:
exceptions.append(str(exc))
raise OSError(
"Failed to load library from {} - {}".format(
", ".join(library_paths), ", ".join(exceptions)
)
)
@classmethod
def can_parse(cls, library_file: Optional[str] = None) -> bool:
"""
Checks whether media files can be analyzed using libmediainfo.
:param str library_file: path to the libmediainfo library, this should only be used if
the library cannot be au | (xml: str, encoding_errors: str = 'strict') | [
0.05679398402571678,
-0.04564710333943367,
-0.08349563181400299,
0.056921131908893585,
0.04138755425810814,
-0.026553306728601456,
-0.0007609174936078489,
0.07222159951925278,
-0.023586455732584,
-0.0004503254313021898,
-0.018055399879813194,
0.0235652644187212,
0.014050153084099293,
0.032804884016513824,
-0.0034939954057335854,
0.04840203747153282,
-0.03776375949382782,
0.04102729633450508,
0.00030661863274872303,
0.01592562533915043,
-0.0576416552066803,
0.056963518261909485,
-0.014516372233629227,
-0.009414450265467167,
0.01598920114338398,
0.06082042306661606,
0.0067442855797708035,
-0.0117826322093606,
-0.011549522168934345,
-0.020354708656668663,
-0.011930975131690502,
0.007925727404654026,
0.023522881790995598,
-0.004556233529001474,
-0.02468842826783657,
0.007252888288348913,
-0.01921035349369049,
0.013202481903135777,
-0.084258534014225,
-0.002056927653029561,
-0.023459305986762047,
-0.039162419736385345,
0.05632776394486427,
-0.0017403753008693457,
0.01731368713080883,
0.048020582646131516,
-0.07052625715732574,
0.02413744293153286,
-0.02564205974340439,
-0.001854281174018979,
0.016836872324347496,
0.053318530321121216,
-0.03096119686961174,
0.0011536277597770095,
-0.050605982542037964,
0.04051869362592697,
-0.03774257004261017,
0.03250819817185402,
0.01727130450308323,
0.00940915197134018,
0.041239213198423386,
0.0034171752631664276,
0.03464856743812561,
-0.032275088131427765,
-0.021636812016367912,
-0.0032423429656773806,
0.021848730742931366,
-0.014887228608131409,
-0.021912304684519768,
0.01702759973704815,
-0.002715197391808033,
-0.031724102795124054,
0.041663046926259995,
-0.003952268045395613,
0.07548514008522034,
-0.0287784431129694,
-0.03606841713190079,
0.034288305789232254,
0.03312275931239128,
0.008948231115937233,
0.023268578574061394,
0.047978200018405914,
0.01360512524843216,
0.0019191809697076678,
0.045943789184093475,
0.028502950444817543,
0.031257882714271545,
0.0007092625601217151,
-0.007782682776451111,
0.033292293548583984,
-0.04653715714812279,
0.031724102795124054,
0.026129471138119698,
0.04581663757562637,
-0.08137645572423935,
-0.03833593800663948,
-0.007851555943489075,
-0.07052625715732574,
-0.008725717663764954,
-0.009944245219230652,
-0.05336091294884682,
-0.04670669138431549,
-0.06349058449268341,
-0.050097379833459854,
0.006362833548337221,
-0.040137238800525665,
-0.018299106508493423,
0.018203742802143097,
0.014495180919766426,
0.059591297060251236,
-0.03445784002542496,
-0.09103990346193314,
-0.02841818332672119,
0.015628941357135773,
0.04886825382709503,
-0.04369746148586273,
0.0028291032649576664,
-0.012799837626516819,
0.015851454809308052,
-0.012672686949372292,
-0.022950703278183937,
0.009933648630976677,
-0.07480700314044952,
-0.013223673216998577,
0.054293353110551834,
-0.030685704201459885,
0.03977698087692261,
-0.01066476572304964,
0.020397093147039413,
-0.00015653774607926607,
-0.024052675813436508,
0.010484635829925537,
0.02212422341108322,
0.025938743725419044,
0.029541347175836563,
-0.0034198241773992777,
-0.027612894773483276,
-0.035369087010622025,
-0.05831979215145111,
-0.002746985061094165,
-0.030749280005693436,
0.0015284575056284666,
0.05870124325156212,
-0.040200814604759216,
-0.09519349783658981,
-0.014198496006429195,
0.0011483298148959875,
-0.10078812390565872,
-0.05416620150208473,
-0.000672508031129837,
-0.01060118991881609,
-0.07760431617498398,
0.02299308590590954,
-0.007099248003214598,
0.003078106790781021,
-0.04157828167080879,
0.022442100569605827,
0.007756193168461323,
-0.01647661253809929,
0.042298801243305206,
-0.0073747411370277405,
0.01338261179625988,
-0.024815579876303673,
-0.012397194281220436,
-0.016264693811535835,
-0.014240879565477371,
0.013064735569059849,
-0.03348302096128464,
-0.012916392646729946,
0.00788334384560585,
0.04047630727291107,
0.0052635096944868565,
-0.04079418629407883,
-0.006495282053947449,
0.0026145363226532936,
0.02466723695397377,
-0.018002420663833618,
0.026871182024478912,
0.03530551493167877,
0.03532670438289642,
0.015067358501255512,
0.020354708656668663,
-0.04096372053027153,
0.011941570788621902,
0.020556030794978142,
0.06603360176086426,
0.04083656892180443,
-0.018341489136219025,
0.06556738168001175,
-0.012905796989798546,
0.024773195385932922,
-0.04827488586306572,
0.03089762106537819,
-0.021626215428113937,
-0.018934858962893486,
-0.002275467850267887,
0.03981936350464821,
0.005075432360172272,
0.0065111760050058365,
0.07184015214443207,
0.03903526812791824,
0.012185276485979557,
0.012132296338677406,
-0.017451435327529907,
-0.012121700681746006,
-0.008259497582912445,
-0.0056741004809737206,
-0.008550885133445263,
-0.08277510851621628,
0.044884201139211655,
0.003523134160786867,
-0.013350823894143105,
0.028714867308735847,
-0.012471364811062813,
0.02568444237112999,
-0.06382965296506882,
0.0049058981239795685,
0.029668498784303665,
0.0023973206989467144,
-0.017737524583935738,
0.03288964927196503,
-0.0028264543507248163,
-0.07510368525981903,
-0.003560219891369343,
-0.018203742802143097,
0.020354708656668663,
0.0011284624924883246,
0.025006305426359177,
-0.0021867272444069386,
-0.04823250323534012,
0.036979664117097855,
-0.017896462231874466,
-0.03979817032814026,
0.03312275931239128,
-0.0036423378624022007,
-0.011793227866292,
0.04662192612886429,
0.048529185354709625,
-0.05153841897845268,
-0.044417981058359146,
0.04556233808398247,
-0.01149654295295477,
0.0038012764416635036,
0.041260406374931335,
-0.041154444217681885,
-0.06696604192256927,
-0.005859528202563524,
0.01936929114162922,
0.0289055947214365,
0.002433081855997443,
0.032847266644239426,
0.01883949711918831,
0.010034309700131416,
-0.010161460377275944,
0.0028211562894284725,
-0.04793581739068031,
-0.07268781960010529,
-0.03581411764025688,
0.028121497482061386,
-0.054335735738277435,
-0.0013536252081394196,
-0.029795648530125618,
0.07099247723817825,
0.03299560770392418,
-0.03462737426161766,
0.03045259416103363,
0.029075128957629204,
0.012725667096674442,
-0.027697661891579628,
0.019507037475705147,
0.07256066799163818,
-0.001870175008662045,
-0.04619808867573738,
-0.02299308590590954,
-0.038632623851299286,
0.014728290028870106,
-0.004712522961199284,
-0.03456380218267441,
0.0038648517802357674,
0.016381248831748962,
-0.01395479030907154,
0.010209142230451107,
-0.0012874009553343058,
-0.006786669138818979,
0.08120691776275635,
-0.016773298382759094,
-0.009419748559594154,
0.011379987932741642,
-0.04475704953074455,
0.02776123769581318,
-0.011538926512002945,
-0.004505902994424105,
-0.02621423825621605,
-0.008296583779156208,
0.013287249021232128,
-0.0006013168604113162,
-0.05713305249810219,
0.008174730464816093,
0.04424844682216644,
-0.07675664126873016,
-0.06590645015239716,
0.060142286121845245,
0.034373074769973755,
0.052809927612543106,
-0.09146374464035034,
0.011083303019404411,
-0.0017403753008693457,
-0.051707953214645386,
0.01678389310836792,
-0.028036730363965034,
0.029011553153395653,
0.05840455740690231,
0.034373074769973755,
0.07162823528051376,
-0.00047383506898768246,
0.010542912408709526,
-0.028100306168198586,
0.011517735198140144,
0.007459508255124092,
0.08141883462667465,
0.02075735293328762,
0.007327059283852577,
0.012428981252014637,
0.0314062237739563,
0.08324132859706879,
-0.0575992688536644,
0.008174730464816093,
-0.008312477730214596,
0.0010072720469906926,
-0.02142489328980446,
-0.07056864351034164,
0.02786719612777233,
-0.016307078301906586,
0.017144152894616127,
0.03994651511311531,
-0.0011774685699492693,
-0.06628790497779846,
-0.06611836701631546,
0.053191378712654114,
-0.009531005285680294,
0.0003311216423753649,
-0.057005900889635086,
-0.0839618518948555,
0.001439716899767518,
0.012609112076461315,
-0.034860484302043915,
0.0786215215921402,
-0.040688227862119675,
-0.0019708359614014626,
-0.06188001111149788,
0.036513444036245346,
-0.03146979957818985,
-0.045392803847789764,
0.030728086829185486,
0.01026741974055767,
-0.03892930969595909,
-0.03878096491098404,
-0.014516372233629227,
-0.009923052974045277,
0.03897169232368469,
-0.016550783067941666,
0.09239617735147476,
-0.008958826772868633,
-0.0003708562289830297,
-0.03193601965904236,
-0.052725158631801605,
0.022717593237757683,
0.04028558358550072,
-0.01870175078511238,
-0.014378625899553299,
-0.021912304684519768,
-0.013817043974995613,
-0.054335735738277435,
-0.02621423825621605,
0.04823250323534012,
0.04670669138431549,
0.05200463905930519,
0.02725263498723507,
-0.040222007781267166,
-0.042214035987854004,
0.004010545089840889,
0.055310558527708054,
-0.06391442567110062,
-0.027549320831894875,
0.0052767544984817505,
-0.0024065920151770115,
-0.0040078964084386826,
0.03630152717232704,
-0.05090266838669777,
0.029668498784303665,
-0.029096320271492004,
0.04056107625365257,
-0.04185377433896065,
-0.027973156422376633,
0.005589333362877369,
-0.008063473738729954,
0.014760077930986881,
0.02939300611615181,
0.009780008345842361,
-0.017440838739275932,
-0.0076608299277722836,
-0.0996013879776001,
-0.04102729633450508,
0.051241736859083176,
-0.027549320831894875,
0.031236689537763596,
0.05505625531077385,
0.04505373537540436,
-0.038060445338487625,
-0.052809927612543106,
0.014304454438388348,
-0.06645743548870087,
-0.06764417886734009,
-0.009207830764353275,
-0.007268782239407301,
0.05459003522992134,
-0.022717593237757683,
-0.01967657171189785,
-0.0030489680357277393,
0.026871182024478912,
-0.021340126171708107,
-0.0018317648209631443,
0.004505902994424105,
0.03324991092085838,
-0.008720419369637966,
-0.004495307337492704,
0.010585295967757702,
0.022187799215316772,
-0.06527069956064224,
-0.01309652253985405,
0.07442554831504822,
0.07061102986335754,
0.009377365000545979,
-0.07273020595312119,
0.004437029827386141,
0.0034357181284576654,
-0.04043392464518547,
-0.04891064018011093,
0.010595892556011677,
0.01989908516407013,
0.009838285855948925,
0.030728086829185486,
-0.016349460929632187,
0.04916493967175484,
0.025938743725419044,
-0.02250567451119423,
0.0011960113188251853,
-0.0069297137670218945,
0.0077932788990437984,
0.0002733409055508673,
-0.08595387637615204,
0.029562540352344513,
0.07408647984266281,
-0.034415457397699356,
0.0023549371398985386,
-0.05929461494088173,
-0.023798374459147453,
0.016752105206251144,
-0.008863463997840881,
-0.0525980107486248,
0.0005807873676531017,
0.02360764890909195,
0.011708460748195648,
-0.06425349414348602,
-0.01366870105266571,
0.08082546293735504,
0.0576840378344059,
-0.005390660371631384,
-0.09824511408805847,
-0.03895049914717674,
0.03608961030840874,
0.044841814786195755,
-0.000007646840458619408,
0.016116352751851082,
0.011252837255597115,
-0.031575758010149,
-0.04874110594391823,
-0.024900346994400024,
-0.0023430166766047478,
-0.03793329373002052,
0.06497400999069214,
-0.028015539050102234,
-0.005157550796866417,
-0.005287350155413151,
-0.0023430166766047478,
0.006172107066959143,
0.08858165889978409,
-0.07582420855760574,
0.018765324726700783,
-0.051114585250616074,
-0.009356172755360603,
0.04674907773733139,
-0.0010999860242009163,
-0.02002623677253723,
0.019040819257497787,
0.01394419465214014,
-0.01473888661712408,
-0.003131086239591241,
0.009133659303188324,
-0.0368737056851387,
0.03818759694695473,
-0.09866894781589508,
-0.024921538308262825,
-0.04653715714812279,
0.02572682686150074,
0.04458751529455185,
-0.03782733529806137,
-0.005120465066283941,
-0.014505776576697826,
0.006150915287435055,
-0.04509611800312996,
0.03831474483013153,
-0.01662495546042919,
-0.056454915553331375,
0.01910439319908619,
-0.01725011318922043,
-0.06531307846307755,
0.004219814203679562,
-0.0183944683521986,
-0.0056952922604978085,
-0.01236540637910366,
-0.02018517442047596,
0.03795448690652847,
-0.06755940616130829,
-0.01596800982952118,
0.007740299217402935,
-0.12359048426151276,
0.020397093147039413,
-0.012513748370110989,
-0.017345475032925606,
-0.007644936442375183,
-0.02199707180261612,
-0.06001513451337814,
0.010458145290613174,
0.05887077748775482,
0.0031840656884014606,
0.053699981421232224,
0.030749280005693436,
0.007528381422162056,
0.027528127655386925,
0.04198092594742775,
0.03094000555574894,
-0.06463494151830673,
-0.03517836332321167,
0.0525132417678833,
-0.01802361197769642,
-0.007385336793959141,
0.034945253282785416,
0.04056107625365257,
-0.002554934471845627,
0.03572934865951538,
0.00043211373849771917,
0.031681716442108154,
0.006346939597278833,
0.063321053981781,
0.008916443213820457,
0.07662948966026306,
-0.12181037664413452,
0.0368737056851387,
-0.01205812580883503,
0.03445784002542496,
0.032847266644239426,
-0.10282254219055176,
-0.008603864349424839,
-0.01947524957358837,
0.008084665983915329,
0.04284978657960892,
0.04577425494790077,
-0.011814420111477375,
-0.030812853947281837,
0.03458499163389206,
0.016836872324347496,
0.004405242390930653,
-0.004712522961199284,
-0.013732276856899261,
-0.002516524400562048,
0.017811695113778114,
0.04142994061112404,
0.03611079975962639,
-0.02526060678064823,
0.03212674707174301,
0.000144120684126392,
0.03816640377044678,
-0.026426155120134354,
0.04001009091734886,
-0.052767544984817505,
0.011729652993381023,
-0.005663504358381033,
0.03585650026798248,
0.015936221927404404,
-0.04835965111851692,
-0.016201119869947433,
0.008222412317991257,
-0.010002522729337215,
-0.033271100372076035,
0.02197588048875332,
0.0015364043647423387,
-0.029774457216262817,
0.03365255519747734,
-0.014770673587918282,
0.007941621355712414,
-0.05475957319140434,
-0.01285281777381897,
-0.036428678780794144,
0.00936147104948759,
0.004272793419659138,
0.005321786738932133,
-0.03623795136809349,
-0.002025139983743429,
0.01806599646806717,
-0.04352792724967003,
0.015099146403372288,
-0.010172056965529919,
-0.015162722207605839,
0.02521822415292263,
-0.016116352751851082,
-0.03685251250863075,
0.06518592685461044,
0.06366012245416641,
0.034796908497810364,
0.023459305986762047,
0.01259851548820734,
0.005944295786321163,
0.028142690658569336,
-0.006553559564054012,
0.005700590088963509,
-0.033271100372076035,
-0.03878096491098404,
-0.025832785293459892,
-0.03869619965553284,
0.0735778734087944,
0.0019734848756343126,
0.05929461494088173,
0.019665976986289024,
-0.041747815907001495,
-0.033207524567842484,
0.023989100009202957,
-0.04670669138431549,
0.05293707922101021,
0.09078560769557953,
-0.00748070003464818,
-0.032190319150686264,
-0.014558755792677402,
-0.008836974389851093,
-0.004357560537755489,
0.036449868232011795,
-0.00668071024119854,
-0.030283059924840927,
0.024412935599684715,
-0.0016860713949427009,
0.020195771008729935,
0.01777990721166134,
-0.022696401923894882,
0.0009112467523664236,
0.047045763581991196,
0.003788031404837966,
-0.015088550746440887,
0.021011654287576675,
-0.02203945629298687,
0.06594883650541306,
0.015353447757661343,
-0.009255511686205864,
0.02676522359251976,
-0.012662091292440891,
0.016773298382759094,
-0.02674403227865696,
0.01388061884790659,
0.03348302096128464,
0.04560472071170807,
-0.00015951784735079855,
0.06594883650541306,
0.022675208747386932,
0.03975578770041466,
0.022357333451509476,
0.007952217012643814,
-0.006892628036439419,
0.0017575935926288366,
0.0157454963773489,
0.02511226385831833,
0.01934809982776642,
0.02990160882472992,
0.045392803847789764,
-0.019930873066186905,
0.00014652132813353091,
0.004972122609615326,
0.05603107810020447,
0.026574498042464256,
0.0015496492851525545,
0.036386292427778244,
-0.044841814786195755,
-0.029138702899217606,
0.033313486725091934,
-0.0005867475410923362,
-0.018468640744686127,
-0.03685251250863075,
0.011115090921521187,
0.00015223317313939333,
-0.016911044716835022,
0.06001513451337814,
-0.0680680125951767,
0.030579745769500732,
-0.022908318787813187,
-0.010172056965529919,
-0.003769488772377372,
0.006913819815963507,
0.007459508255124092,
-0.03102477267384529,
0.014431605115532875,
0.005374766420572996,
0.0032953224144876003,
-0.0067707751877605915,
0.05052121356129646,
0.0007827715598978102,
-0.0523437075316906,
-0.001879446441307664,
-0.0031973104923963547,
0.04424844682216644,
0.03560219705104828,
0.02301427721977234,
0.01524748932570219,
0.017207728698849678,
0.019379887729883194,
0.07662948966026306,
0.062176696956157684,
0.0019456706941127777,
0.03793329373002052,
0.0289055947214365,
-0.023946717381477356,
0.0024370551109313965,
-0.019093798473477364,
-0.015120338648557663,
0.01892426423728466,
-0.05836217477917671,
0.016550783067941666,
-0.034902870655059814,
-0.027146676555275917,
0.007671426050364971,
-0.01467531081289053,
0.034818101674318314,
0.021763963624835014,
-0.007708511780947447,
0.010585295967757702,
-0.026489730924367905,
0.04157828167080879,
-0.03036782704293728,
-0.0030092333909124136,
0.056497298181056976,
-0.03274130821228027,
-0.011613097973167896,
-0.006235682405531406,
0.03630152717232704,
-0.04785104840993881,
-0.04509611800312996,
0.00707805622369051,
0.011210453696548939,
-0.00748070003464818,
-0.011952166445553303,
0.01735607162117958,
0.01759977638721466,
-0.027422169223427773,
-0.0524284765124321,
0.015406426973640919,
0.06188001111149788,
0.028587717562913895,
-0.050054993480443954,
0.07599373906850815,
-0.05467480421066284,
0.021869922056794167
] |
725,961 | pymediainfo | __eq__ | null | def __eq__(self, other): # type: ignore
return self.tracks == other.tracks
| (self, other) | [
0.0054412889294326305,
-0.01906386762857437,
-0.06823763251304626,
0.06483091413974762,
-0.05519574508070946,
-0.04931141063570976,
-0.0446314737200737,
0.07591135799884796,
0.06252535432577133,
-0.0052434238605201244,
0.0036540513392537832,
-0.06620736420154572,
0.06617295742034912,
0.05571191385388374,
-0.0014259187737479806,
-0.009385685436427593,
-0.022883523255586624,
0.021627509966492653,
0.014934509992599487,
-0.021920006722211838,
-0.026066569611430168,
0.02560201659798622,
0.03706098347902298,
0.016336770728230476,
-0.000158211390953511,
0.0469026193022728,
0.022866318002343178,
-0.0005390209262259305,
-0.08279361575841904,
0.07205729186534882,
-0.06606972217559814,
0.003028195584192872,
0.03565011918544769,
0.02200603485107422,
0.032398249953985214,
-0.008220002055168152,
-0.07398432493209839,
0.05798306316137314,
-0.0599789172410965,
-0.007918903604149818,
-0.01704220287501812,
-0.029679756611585617,
0.020251058042049408,
-0.004290660377591848,
0.029180793091654778,
0.02173074334859848,
-0.05464516580104828,
0.03692333772778511,
0.07659958302974701,
0.020096207037568092,
-0.021266190335154533,
0.01557972189038992,
-0.023279253393411636,
0.07425960898399353,
-0.059084221720695496,
0.016483018174767494,
0.026496710255742073,
0.027443021535873413,
-0.04525087773799896,
0.04666173830628395,
-0.014048418030142784,
0.012147193774580956,
0.06785910576581955,
-0.02623862586915493,
0.004976735915988684,
-0.033430591225624084,
-0.0414656326174736,
0.01681852899491787,
0.005957458633929491,
0.02998945862054825,
-0.020767226815223694,
-0.02231573686003685,
0.008116768673062325,
0.002860440406948328,
-0.014444148167967796,
0.0232104305177927,
-0.0016270098276436329,
0.07095612585544586,
0.025171875953674316,
-0.04215385764837265,
-0.011261101812124252,
-0.007725339848548174,
0.017653003334999084,
-0.014659219421446323,
-0.08286244422197342,
0.025860100984573364,
0.004993941634893417,
0.003473391756415367,
0.022711466997861862,
0.006602670531719923,
-0.004477771930396557,
0.027890369296073914,
0.026169802993535995,
-0.018788576126098633,
0.00026601558784022927,
-0.009841635823249817,
-0.029920635744929314,
-0.04655850678682327,
-0.056193672120571136,
-0.020491937175393105,
0.027167731896042824,
0.002193721244111657,
-0.043255019932985306,
0.005260629579424858,
-0.025894513353705406,
0.004537991713732481,
-0.008288824930787086,
-0.02011341229081154,
-0.005467097274959087,
0.020973695442080498,
-0.06135537102818489,
0.05509250983595848,
-0.03277677670121193,
0.06128654628992081,
0.004933721851557493,
-0.04841671511530876,
0.006693000439554453,
0.011622420512139797,
-0.003740079468116164,
-0.03609746694564819,
-0.0004857909516431391,
0.08534005284309387,
0.008551211096346378,
0.0131881358101964,
0.07233257591724396,
-0.03312088921666145,
0.04635203629732132,
0.0009226533002220094,
-0.05708836764097214,
-0.03926330804824829,
0.07880190759897232,
-0.028957119211554527,
0.024019096046686172,
0.03891919553279877,
0.07247022539377213,
-0.039332129061222076,
0.060426265001297,
0.008086658082902431,
0.05295901000499725,
-0.003451884724199772,
0.02484496682882309,
0.01947680301964283,
0.03110782615840435,
0.003335746703669429,
-0.028165658935904503,
0.01228483859449625,
-0.11782433092594147,
-0.02214367873966694,
-0.03296603634953499,
0.020526347681879997,
-0.026617150753736496,
-0.04931141063570976,
0.03150355815887451,
-0.005484302993863821,
-0.042497970163822174,
-0.03115944378077984,
-0.001358171459287405,
-0.00711023760959506,
0.012190207839012146,
0.0477973148226738,
0.014280694536864758,
0.008220002055168152,
0.0018678890774026513,
0.019321952015161514,
-0.056468963623046875,
0.025103053078055382,
-0.07735662907361984,
0.0006113384733907878,
-0.007312403991818428,
0.01373011339455843,
0.0010904084192588925,
-0.020595170557498932,
0.0029486194252967834,
-0.015218403190374374,
-0.017523961141705513,
-0.04170650988817215,
0.0365104041993618,
0.017076613381505013,
-0.03602864593267441,
0.00387127255089581,
0.006847850978374481,
-0.06651706993579865,
-0.00843077152967453,
-0.02407071366906166,
0.04452823847532272,
0.014487162232398987,
0.030677685514092445,
0.03119385428726673,
0.013308575376868248,
0.031710024923086166,
-0.024001890793442726,
-0.028888296335935593,
-0.03069489076733589,
-0.012259029783308506,
0.017412124201655388,
-0.0437367781996727,
0.03281118720769882,
0.0072564855217933655,
-0.010091117583215237,
0.09270407259464264,
-0.02308999001979828,
-0.03521997854113579,
-0.007497364655137062,
-0.05743248015642166,
0.012938653118908405,
0.0014463504776358604,
-0.005230519454926252,
-0.04944905638694763,
0.07095612585544586,
0.002755055669695139,
-0.01079654973000288,
-0.010418024845421314,
0.02668597362935543,
-0.030952975153923035,
0.050068460404872894,
0.01325695775449276,
0.004787473939359188,
-0.01866813749074936,
-0.016388388350605965,
0.03477263078093529,
0.05350958928465843,
-0.03274236246943474,
-0.05309665575623512,
0.023072784766554832,
-0.03754274174571037,
0.042360324412584305,
-0.010091117583215237,
0.043805599212646484,
-0.02339969202876091,
-0.05089433118700981,
0.026582738384604454,
0.047728490084409714,
0.004460566211491823,
-0.012706377543509007,
-0.0202854685485363,
0.045560576021671295,
-0.00933406874537468,
0.05027492716908455,
-0.13041888177394867,
-0.005286437924951315,
0.003748682327568531,
0.014082829467952251,
0.036269523203372955,
0.045870278030633926,
0.0063101742416620255,
-0.1081891655921936,
0.004615417215973139,
-0.00034895222052000463,
0.020904872566461563,
0.025137463584542274,
0.03854066878557205,
-0.02682361751794815,
-0.01942518539726734,
-0.008555512875318527,
0.024913789704442024,
-0.05368164926767349,
-0.08561534434556961,
-0.02601495198905468,
0.04098387435078621,
-0.015855012461543083,
-0.022109268233180046,
0.08857471495866776,
0.037267450243234634,
0.031039003282785416,
-0.0703367218375206,
0.03501351177692413,
-0.0338091142475605,
0.018324023112654686,
0.010805152356624603,
-0.023279253393411636,
0.03988271206617355,
-0.050653450191020966,
0.006077898200601339,
0.04490676149725914,
-0.024173947051167488,
-0.007794162258505821,
-0.009858841076493263,
-0.01523560844361782,
-0.07009584456682205,
-0.02737419866025448,
-0.01366129145026207,
0.003965903539210558,
0.024776145815849304,
-0.05216754972934723,
0.00933406874537468,
-0.019321952015161514,
-0.005544522777199745,
0.00019074082956649363,
0.004180974327027798,
-0.0396762415766716,
-0.006981194950640202,
-0.016895953565835953,
0.0238986574113369,
-0.011613817885518074,
0.008667348884046078,
0.00872756913304329,
-0.014211871661245823,
-0.015596927143633366,
0.03274236246943474,
0.053853705525398254,
-0.036854516714811325,
0.026083774864673615,
0.0025743963196873665,
0.012009548023343086,
-0.00023483032418880612,
0.0263762716203928,
-0.0036024341825395823,
0.020251058042049408,
0.06754940748214722,
-0.04215385764837265,
0.03575335443019867,
0.0523051954805851,
0.0182552020996809,
0.07701251655817032,
0.011863299645483494,
0.008447976782917976,
-0.03702657297253609,
-0.04566381126642227,
0.021799566224217415,
0.047453198581933975,
-0.01321394369006157,
0.005015448667109013,
-0.02376101166009903,
-0.0006559656467288733,
0.034961894154548645,
-0.06775587797164917,
-0.015037743374705315,
0.03305206447839737,
0.0021259738132357597,
-0.0012216016184538603,
-0.013755922205746174,
-0.005991869606077671,
0.0568130761384964,
-0.005583235528320074,
-0.009927663952112198,
-0.03491027653217316,
0.0021023161243647337,
0.024019096046686172,
0.044837940484285355,
-0.004550896119326353,
0.017145436257123947,
-0.0432894304394722,
0.027064496651291847,
-0.04070858284831047,
0.0068822624161839485,
0.006206940393894911,
-0.06252535432577133,
-0.02195441722869873,
0.01422047521919012,
-0.0018764919368550181,
-0.019442390650510788,
-0.0010081438813358545,
0.042360324412584305,
0.010607287287712097,
0.049655523151159286,
0.027391403913497925,
0.009660976007580757,
0.011020222678780556,
-0.027924779802560806,
-0.0031314294319599867,
0.04304855316877365,
-0.004654129967093468,
0.03129708766937256,
-0.013446220196783543,
-0.0198381207883358,
0.02250499837100506,
0.004714349750429392,
-0.03682010620832443,
-0.11555318534374237,
-0.014340914785861969,
-0.09931104630231857,
0.02362336590886116,
-0.013566659763455391,
-0.02709890902042389,
0.018272407352924347,
-0.007037113420665264,
-0.045870278030633926,
0.04263561591506004,
0.011243896558880806,
-0.01928754150867462,
0.04253238067030907,
0.026479505002498627,
-0.05316547676920891,
0.026754794642329216,
0.0076780240051448345,
0.004559498745948076,
0.013016078621149063,
-0.02014782279729843,
0.06307593733072281,
0.04002035781741142,
-0.042085036635398865,
-0.02083604969084263,
-0.018324023112654686,
-0.0070715248584747314,
-0.05571191385388374,
-0.006680096033960581,
-0.03589100018143654,
-0.017420727759599686,
-0.04094946011900902,
-0.04115593060851097,
0.021076928824186325,
0.0034002678003162146,
0.015553913079202175,
0.01789388246834278,
-0.022109268233180046,
0.029593728482723236,
0.005725182127207518,
0.019941356033086777,
-0.04697144031524658,
-0.0010065309470519423,
-0.035374827682971954,
-0.012276235967874527,
-0.009187820367515087,
-0.029318438842892647,
-0.04697144031524658,
-0.010813754983246326,
-0.004011068493127823,
-0.06644824147224426,
0.05175461247563362,
0.032260604202747345,
-0.0351683609187603,
0.02938726171851158,
-0.024913789704442024,
-0.02353733777999878,
0.005062764510512352,
-0.04322060942649841,
0.04414971545338631,
0.06961408257484436,
0.00013757804117631167,
0.004284208174794912,
-0.018237994983792305,
-0.0459735132753849,
0.05571191385388374,
0.005957458633929491,
0.03497909754514694,
0.04108710587024689,
-0.012181604281067848,
-0.07680604606866837,
-0.009162011556327343,
0.058223940432071686,
0.018151966854929924,
-0.018151966854929924,
-0.03181326016783714,
-0.009351273998618126,
-0.005282136611640453,
-0.06459003686904907,
-0.024311592802405357,
-0.0005511186900548637,
0.04845112934708595,
0.0315723791718483,
-0.0437367781996727,
0.028613006696105003,
-0.025619221851229668,
-0.07336492091417313,
0.0020334934815764427,
-0.04886406287550926,
-0.030505629256367683,
-0.0003459949803072959,
-0.018186379224061966,
-0.05027492716908455,
-0.01203535683453083,
0.008035041391849518,
-0.026496710255742073,
-0.006525245029479265,
-0.012525717727839947,
0.0811418741941452,
-0.022935139015316963,
0.012086973525583744,
0.01523560844361782,
0.02290072850883007,
0.05271812900900841,
-0.035512473434209824,
-0.0342736653983593,
0.01548509020358324,
-0.012594540603458881,
0.018719753250479698,
-0.05708836764097214,
0.023950273171067238,
-0.0378868542611599,
-0.006899468135088682,
-0.02290072850883007,
0.0002246144722448662,
-0.0004438521573320031,
-0.040157999843358994,
0.06672353297472,
-0.04174092039465904,
-0.013970992527902126,
-0.025120258331298828,
0.019373569637537003,
-0.02245338074862957,
0.030281955376267433,
-0.05915304645895958,
-0.07742545008659363,
0.016689486801624298,
0.004744459874927998,
0.02019944041967392,
0.029043147340416908,
0.03795567899942398,
-0.0171282310038805,
-0.018995044752955437,
0.030281955376267433,
0.021128546446561813,
-0.005252026487141848,
0.00612091226503253,
0.01224182453006506,
-0.015390459448099136,
-0.01803152821958065,
-0.031847670674324036,
-0.035099539905786514,
0.0396762415766716,
0.021111339330673218,
-0.04139680787920952,
0.037405095994472504,
-0.03296603634953499,
0.0919470265507698,
0.028165658935904503,
-0.06662029772996902,
-0.0518578477203846,
-0.02737419866025448,
-0.01107183936983347,
0.01911548338830471,
-0.02200603485107422,
0.02178236097097397,
-0.03644157946109772,
-0.04941464588046074,
-0.006800535600632429,
-0.06304152309894562,
0.016078686341643333,
0.021902799606323242,
-0.03589100018143654,
0.008202796801924706,
-0.02262543886899948,
-0.06386739760637283,
0.021902799606323242,
-0.021403836086392403,
0.07164435088634491,
-0.03623511269688606,
0.009222231805324554,
0.029180793091654778,
0.07240140438079834,
-0.004071288276463747,
0.018048733472824097,
0.03372308611869812,
-0.034738220274448395,
-0.0010387914953753352,
0.048898473381996155,
-0.02677200175821781,
0.0015399062540382147,
0.04955229163169861,
0.0495867021381855,
0.03919448330998421,
0.0038454642053693533,
0.03530600666999817,
-0.08306890726089478,
0.03857508301734924,
0.01490009855479002,
0.000689839303959161,
0.004808980971574783,
0.059084221720695496,
0.04525087773799896,
0.08052247017621994,
0.010590081103146076,
0.039745066314935684,
-0.017240067943930626,
-0.033705879002809525,
-0.035271596163511276,
0.023244841024279594,
0.0063101742416620255,
0.04167209938168526,
0.022883523255586624,
0.035151157528162,
-0.023588955402374268,
-0.032484278082847595,
0.007088730577379465,
0.0022431875113397837,
0.01690455712378025,
0.01799711585044861,
0.03895360603928566,
-0.03236383944749832,
-0.038299791514873505,
-0.036854516714811325,
0.04084622859954834,
0.05991009622812271,
-0.003641146933659911,
-0.003198101418092847,
-0.0495867021381855,
0.051513735204935074,
0.02145545370876789,
0.01681852899491787,
-0.015855012461543083,
-0.02668597362935543,
0.01709381863474846,
-0.004368085879832506,
-0.012173001654446125,
0.03723303973674774,
-0.06369534134864807,
0.010676110163331032,
-0.03267354145646095,
-0.03214016556739807,
0.011037428863346577,
0.06015097349882126,
-0.019528420642018318,
-0.013695701956748962,
-0.06390180438756943,
0.01928754150867462,
-0.039056841284036636,
-0.022074857726693153,
-0.035047922283411026,
0.006723110098391771,
0.04982757940888405,
0.04225709289312363,
0.051100797951221466,
0.041637688875198364,
-0.06699882447719574,
0.0779760330915451,
-0.020130617544054985,
0.011622420512139797,
0.06699882447719574,
-0.05977245047688484,
0.03165840730071068,
0.025860100984573364,
-0.0009398589609190822,
-0.018065938726067543,
0.03521997854113579,
-0.07604900002479553,
-0.04363354295492172,
0.021248985081911087,
-0.02943887747824192,
-0.00786728598177433,
-0.047900546342134476,
0.02348572015762329,
-0.050928741693496704,
0.007858683355152607,
-0.009488919749855995,
-0.019046662375330925,
-0.07016466557979584,
-0.0025077243335545063,
-0.025756867602467537,
0.03269074857234955,
0.07191964238882065,
-0.028750652447342873,
0.006748918443918228,
-0.041947390884160995,
0.08967588096857071,
-0.05178902670741081,
-0.019459597766399384,
-0.032122958451509476,
-0.0033615550491958857,
-0.00033362844260409474,
-0.022195296362042427,
0.006499436683952808,
0.035546887665987015,
0.006400504149496555,
0.01920151151716709,
-0.028509773313999176,
0.060701556503772736,
0.04562940075993538,
0.008413566276431084,
0.03274236246943474,
-0.032346632331609726,
0.0414656326174736,
0.01469363085925579,
-0.02668597362935543,
-0.03367146849632263,
0.039160072803497314,
0.023657776415348053,
0.02785595692694187,
0.006009075324982405,
-0.02737419866025448,
0.0020420963410288095,
-0.025171875953674316,
0.00761780422180891,
-0.026083774864673615,
-0.011175073683261871,
-0.02709890902042389,
-0.0315723791718483,
-0.02069840393960476,
0.014530176296830177,
-0.008121069520711899,
-0.035822175443172455,
-0.018324023112654686,
0.034256462007761,
0.0054800016805529594,
-0.00710163451731205,
0.03953859955072403,
0.09490639716386795,
-0.019597241654992104,
0.013377397321164608,
0.019545625895261765,
-0.03391234949231148,
-0.020182235166430473,
-0.02754625491797924,
-0.009041571989655495,
0.026582738384604454,
0.015768984332680702,
0.023692188784480095,
-0.026307448744773865,
-0.03432528302073479,
-0.02980019710958004,
0.0017732579726725817,
-0.02136942557990551,
-0.012052562087774277,
0.03909125179052353,
0.005196108017116785,
0.025326725095510483,
-0.007222074083983898,
-0.02957652322947979,
0.021197369322180748,
0.033843524754047394,
0.003045401070266962,
-0.06424591690301895,
0.009652373380959034,
-0.005165998358279467,
-0.06548472493886948,
0.018496081233024597,
0.005858526099473238,
0.031675614416599274,
-0.0038002992514520884,
-0.0002981417637784034,
0.048175837844610214,
-0.018461668863892555,
-0.04098387435078621,
0.026858029887080193,
0.017558371648192406,
-0.007402733433991671,
0.033740293234586716,
0.0635576918721199,
-0.022917933762073517,
-0.04986199364066124,
-0.035099539905786514,
-0.023330869153141975,
0.08417007327079773,
0.010297585278749466,
0.025051435455679893,
-0.051238443702459335,
0.03227781131863594,
-0.031537968665361404,
-0.03303486108779907,
0.04476911574602127,
0.08919411897659302,
0.038024500012397766,
-0.04549175500869751,
0.0554366260766983,
-0.032122958451509476,
-0.04721232131123543,
-0.028888296335935593,
0.03358544036746025,
0.005832717288285494,
-0.004353031050413847,
-0.03475542739033699,
0.03682010620832443,
0.027443021535873413,
0.0036906132008880377,
0.007411336526274681,
-0.009101792238652706,
0.07880190759897232,
-0.03174443542957306,
0.01052986178547144,
0.034824248403310776,
-0.01348063163459301,
-0.04872641712427139,
0.025309519842267036,
0.02150706946849823,
0.05378488078713417,
-0.0793524831533432,
0.06548472493886948,
0.010916989296674728,
0.06500297039747238
] |
725,962 | pymediainfo | __init__ | null | def __init__(self, xml: str, encoding_errors: str = "strict"):
xml_dom = ET.fromstring(xml.encode("utf-8", encoding_errors))
self.tracks = []
# This is the case for libmediainfo < 18.03
# https://github.com/sbraz/pymediainfo/issues/57
# https://github.com/MediaArea/MediaInfoLib/commit/575a9a32e6960ea34adb3bc982c64edfa06e95eb
if xml_dom.tag == "File":
xpath = "track"
else:
xpath = "File/track"
for xml_track in xml_dom.iterfind(xpath):
self.tracks.append(Track(xml_track))
| (self, xml: str, encoding_errors: str = 'strict') | [
0.008959734812378883,
0.003349004779011011,
-0.03776576370000839,
0.03301293030381203,
-0.02835184894502163,
0.014827374368906021,
-0.012212398461997509,
0.06918217986822128,
0.06364026665687561,
0.02958134561777115,
0.013451071456074715,
0.006193364970386028,
0.022094257175922394,
0.03952743113040924,
0.02449820004403591,
0.029728151857852936,
-0.06074085459113121,
0.028773915022611618,
-0.04598688334226608,
0.010340625420212746,
-0.036004096269607544,
0.05097827687859535,
-0.049216605722904205,
0.039710938930511475,
0.03629770502448082,
0.07468739151954651,
-0.007234768010675907,
-0.013038180768489838,
-0.04037156328558922,
-0.018286483362317085,
-0.03580223768949509,
0.02642502449452877,
0.008014673367142677,
-0.015552227385342121,
-0.03216879814863205,
0.013891488313674927,
-0.04026145860552788,
-0.003830710891634226,
-0.1125265583395958,
0.02378252148628235,
0.0240577831864357,
-0.02174559235572815,
-0.003943108953535557,
0.005119848530739546,
-0.009891033172607422,
0.02512212283909321,
-0.016946882009506226,
0.043417781591415405,
-0.026002958416938782,
0.0031173271127045155,
-0.017442351207137108,
0.10445224493741989,
-0.008262407965958118,
0.03727029263973236,
-0.022920038551092148,
0.03453603759407997,
-0.00613372540101409,
0.04903310164809227,
0.027250805869698524,
0.03723359480500221,
0.016203677281737328,
0.035949043929576874,
0.06286953389644623,
-0.022204359993338585,
-0.03405892103910446,
-0.004433990456163883,
0.02299344167113304,
-0.036169253289699554,
-0.023507261648774147,
-0.0032916588243097067,
0.027893081307411194,
-0.014772322960197926,
-0.006087848450988531,
0.00374583899974823,
0.0677875280380249,
0.030755791813135147,
-0.06705349683761597,
0.04216993600130081,
0.031343013048172,
0.04844587668776512,
-0.018827829509973526,
0.07868784666061401,
-0.011615999974310398,
0.0315815731883049,
0.018286483362317085,
0.012414256110787392,
0.00014823934179730713,
-0.03662801906466484,
0.007133839186280966,
0.07758680731058121,
-0.011560947634279728,
0.017625859007239342,
-0.029526295140385628,
-0.0005708791431970894,
-0.03827958181500435,
0.027195753529667854,
-0.006014445796608925,
-0.0457666739821434,
-0.0018465403700247407,
-0.0023832987062633038,
-0.03945402801036835,
0.01173528004437685,
-0.1183253824710846,
-0.04205983132123947,
-0.05751112848520279,
-0.004553270060569048,
0.01761668361723423,
-0.024846863001585007,
0.04026145860552788,
0.04172951728105545,
0.014423659071326256,
-0.03093929961323738,
0.002165383892133832,
0.09894703328609467,
0.01954350806772709,
-0.06448440253734589,
0.020662900060415268,
-0.021286824718117714,
0.037949271500110626,
-0.04976712912321091,
0.04525285214185715,
-0.013680455274879932,
-0.07142096757888794,
0.08544091135263443,
0.015442123636603355,
-0.011661876924335957,
0.059419602155685425,
-0.03930722177028656,
0.022809933871030807,
0.002711317501962185,
0.04734483361244202,
-0.02598460763692856,
0.03583893924951553,
-0.030902598053216934,
0.056410085409879684,
-0.07942187786102295,
0.03077414259314537,
-0.013469422236084938,
-0.05740102380514145,
-0.026883792132139206,
-0.017644207924604416,
-0.011166407726705074,
0.05196921527385712,
-0.01371715683490038,
-0.0927811935544014,
-0.000028278733225306496,
-0.08294521272182465,
-0.08133035153150558,
-0.06470460444688797,
-0.027782976627349854,
-0.043417781591415405,
-0.04697782173752785,
-0.014772322960197926,
-0.009432265534996986,
-0.0034361707512289286,
-0.041435904800891876,
0.029067525640130043,
0.02813163958489895,
0.05123518407344818,
0.04048166796565056,
-0.028260095044970512,
0.015855014324188232,
-0.031104454770684242,
-0.001439383951947093,
-0.005376758519560099,
-0.03082919493317604,
-0.052703242748975754,
-0.07083374261856079,
-0.04437201842665672,
0.007858691737055779,
0.04451882466673851,
0.0031792607624083757,
-0.009725877083837986,
0.004000455141067505,
-0.031012702733278275,
-0.03442593291401863,
0.024039432406425476,
0.06000682711601257,
0.004039450082927942,
0.056740399450063705,
-0.012762919999659061,
0.04334437847137451,
0.015056758187711239,
-0.03222385048866272,
0.005583203863352537,
0.0243330430239439,
0.05574946105480194,
0.031985290348529816,
0.0481155663728714,
-0.01976371556520462,
0.06929228454828262,
-0.027195753529667854,
0.00627135531976819,
-0.008973497897386551,
0.022975090891122818,
-0.011661876924335957,
0.04418851435184479,
-0.01696523278951645,
-0.014735621400177479,
0.06844815611839294,
0.030003413558006287,
0.02958134561777115,
0.028205042704939842,
-0.02453490160405636,
-0.04136250168085098,
0.0568138025701046,
-0.020479394122958183,
-0.008078900165855885,
-0.03387541323900223,
0.02126847393810749,
0.0327560193836689,
-0.002809952711686492,
0.031654976308345795,
-0.04477573558688164,
-0.007982559502124786,
-0.02458995208144188,
-0.017524929717183113,
0.00786786712706089,
0.02884731814265251,
-0.04345448315143585,
0.05835526064038277,
0.015267792157828808,
-0.07663256675004959,
-0.029361138120293617,
-0.033104684203863144,
0.03872000053524971,
0.015763260424137115,
-0.0029705213382840157,
-0.05171230435371399,
0.018295658752322197,
0.01777266338467598,
0.03376530855894089,
0.011432493105530739,
-0.0388668067753315,
0.019194843247532845,
0.015212739817798138,
0.0469411201775074,
0.0043445308692753315,
-0.06342005729675293,
-0.08169736713171005,
0.03492140397429466,
-0.038206182420253754,
-0.03805937618017197,
0.011267337016761303,
0.010891146957874298,
-0.04297736659646034,
-0.024938616901636124,
0.007473327219486237,
0.0009284312836825848,
-0.003128796350210905,
0.02180064469575882,
0.0028397724963724613,
0.0015196682652458549,
-0.0005731729906983674,
0.0344809852540493,
-0.06991621106863022,
-0.04789535701274872,
-0.011882085353136063,
0.0504644550383091,
-0.04301406815648079,
0.0234705600887537,
0.0205711480230093,
0.07149437069892883,
0.05622657760977745,
-0.04290396347641945,
0.02759946882724762,
-0.001062620896846056,
-0.012194047681987286,
-0.0009158151806332171,
0.012616113759577274,
0.07468739151954651,
-0.014175924472510815,
0.017056986689567566,
-0.0034430522937327623,
-0.026461726054549217,
-0.017121214419603348,
-0.014570464380085468,
-0.028608758002519608,
-0.047234728932380676,
0.03752720355987549,
-0.032297249883413315,
-0.04037156328558922,
0.021947450935840607,
0.040738578885793686,
0.05017084255814552,
-0.06705349683761597,
-0.007927507162094116,
0.03517831489443779,
-0.044005006551742554,
-0.03216879814863205,
-0.04066517576575279,
0.023268701508641243,
-0.048299070447683334,
-0.05240963026881218,
0.016286255791783333,
-0.03400386869907379,
-0.062098804861307144,
0.036536265164613724,
-0.000955957337282598,
-0.017846066504716873,
-0.022461270913481712,
0.01179033238440752,
0.00823946949094534,
0.029177630320191383,
-0.05846536532044411,
0.047601744532585144,
-0.05182240903377533,
0.006693421863019466,
0.04899640008807182,
-0.030260322615504265,
0.04037156328558922,
0.062686026096344,
0.004826236981898546,
0.022479621693491936,
0.026975546032190323,
0.043417781591415405,
-0.027526067569851875,
-0.006441099569201469,
0.036224305629730225,
0.04216993600130081,
0.028113288804888725,
-0.002640208462253213,
-0.016240378841757774,
0.0029705213382840157,
0.02233281545341015,
0.0071934787556529045,
0.034187376499176025,
-0.020974863320589066,
-0.007968796417117119,
-0.021451981738209724,
-0.03521501645445824,
0.002917763078585267,
-0.025911204516887665,
-0.01251518540084362,
-0.03453603759407997,
-0.019506806507706642,
-0.056410085409879684,
-0.04822566732764244,
0.03231560066342354,
-0.045950181782245636,
0.02824174426496029,
-0.03486635163426399,
-0.0344809852540493,
0.013396019116044044,
0.018029574304819107,
-0.015423772856593132,
0.006000682711601257,
-0.07105395197868347,
-0.025635942816734314,
0.008620246313512325,
0.020754653960466385,
-0.059529706835746765,
-0.0034407584462314844,
0.030590634793043137,
0.046904418617486954,
-0.014616341330111027,
-0.019451754167675972,
0.04899640008807182,
-0.008721175603568554,
0.018488341942429543,
-0.010946199297904968,
0.019671961665153503,
0.014974180608987808,
-0.0307190902531147,
0.005762123502790928,
-0.06283283233642578,
0.06338335573673248,
0.03624265640974045,
-0.05248303338885307,
0.024791810661554337,
-0.016286255791783333,
0.0038742939941585064,
-0.09241417795419693,
-0.029306085780262947,
0.04088538512587547,
0.024094482883810997,
0.04154600948095322,
0.028370199725031853,
-0.021066617220640182,
-0.0492900088429451,
-0.02277323231101036,
0.0388668067753315,
-0.036701422184705734,
-0.029838256537914276,
-0.00518407579511404,
-0.04624379053711891,
0.005092322360724211,
0.037398748099803925,
0.042940665036439896,
0.03446263447403908,
-0.0057437727227807045,
-0.0061566634103655815,
-0.03580223768949509,
-0.010982900857925415,
-0.030223621055483818,
0.0019704075530171394,
0.03211374580860138,
0.01168022770434618,
0.01906638965010643,
-0.018084626644849777,
-0.03894020989537239,
-0.08052291721105576,
-0.047234728932380676,
0.03791256994009018,
0.010147943161427975,
0.025709345936775208,
-0.0026058009825646877,
0.004144967067986727,
-0.02904917672276497,
-0.021727241575717926,
0.06991621106863022,
-0.034664493054151535,
-0.004291772376745939,
-0.04451882466673851,
-0.039380624890327454,
0.05182240903377533,
-0.007326521445065737,
-0.05193251371383667,
-0.016579868271946907,
-0.02082805708050728,
-0.06742051243782043,
0.03411397337913513,
-0.02598460763692856,
0.002741137519478798,
0.029287735000252724,
0.0008900095126591623,
0.050831470638513565,
0.014130047522485256,
-0.04044496640563011,
0.021874047815799713,
0.038426388055086136,
0.04385820031166077,
-0.01846999116241932,
-0.06749391555786133,
0.03169167786836624,
0.011927962303161621,
-0.07233850657939911,
-0.030370427295565605,
0.002125241793692112,
0.04517945274710655,
-0.03827958181500435,
0.008101838640868664,
0.040298160165548325,
0.037729062139987946,
0.024883564561605453,
-0.02503037080168724,
-0.037839166820049286,
-0.005647431593388319,
0.029764853417873383,
-0.005344644654542208,
-0.0858079269528389,
0.0029682274907827377,
0.06848485767841339,
-0.06503491848707199,
0.040628474205732346,
-0.030113516375422478,
-0.0036173840053379536,
0.015818312764167786,
-0.015203564427793026,
-0.027581118047237396,
-0.030902598053216934,
-0.0066613079980015755,
-0.004034862853586674,
-0.08162396401166916,
-0.06132807582616806,
0.07604534924030304,
-0.00012838329712394625,
0.04338108003139496,
-0.028773915022611618,
-0.06624606996774673,
0.058942485600709915,
0.03163662552833557,
0.01746070198714733,
0.01685512810945511,
-0.044812437146902084,
-0.014854900538921356,
-0.06683328747749329,
-0.03860989585518837,
0.009202881716191769,
-0.016552342101931572,
0.009670824743807316,
-0.0032205497846007347,
0.017056986689567566,
-0.002230758313089609,
-0.0022422275505959988,
-0.014185099862515926,
0.04095878824591637,
-0.09013869613409042,
-0.03152652084827423,
0.0025415734853595495,
-0.03668307140469551,
-0.017313895747065544,
-0.045840077102184296,
-0.004417933523654938,
0.038316283375024796,
0.008468853309750557,
0.03325149044394493,
0.026498427614569664,
-0.017313895747065544,
-0.04205983132123947,
0.026810389012098312,
-0.06576894968748093,
-0.01028557401150465,
-0.013836435973644257,
0.011313213035464287,
0.05112508311867714,
-0.026883792132139206,
0.00805596262216568,
0.009303811006247997,
0.022149307653307915,
-0.020974863320589066,
-0.028021536767482758,
-0.018864531069993973,
-0.03638945892453194,
0.03325149044394493,
-0.00110046926420182,
-0.04998733848333359,
0.002378711011260748,
-0.029874958097934723,
0.034334179013967514,
0.0068310522474348545,
-0.001621744129806757,
0.05769463628530502,
-0.01181785762310028,
0.010753517039120197,
-0.010358976200222969,
-0.09072591364383698,
0.01965361088514328,
-0.005473099648952484,
0.0009152417187578976,
0.045142751187086105,
-0.062098804861307144,
-0.032297249883413315,
-0.0036839053500443697,
0.046060286462306976,
0.04117899760603905,
0.07090714573860168,
0.026296569034457207,
-0.0003612796135712415,
0.021617136895656586,
0.014506237581372261,
0.019415052607655525,
-0.010358976200222969,
-0.03147146850824356,
-0.002559924265369773,
-0.018699374049901962,
-0.005711658857762814,
0.05017084255814552,
0.04389490187168121,
0.027948133647441864,
0.0475650429725647,
-0.014919128268957138,
-0.04257364943623543,
0.016818426549434662,
0.06808114051818848,
-0.03464614227414131,
0.022094257175922394,
-0.07219170033931732,
0.02717740274965763,
-0.011533422395586967,
0.0649615153670311,
0.04484913870692253,
-0.06455780565738678,
0.021195070818066597,
-0.003759601851925254,
-0.0003222843515686691,
0.04532625526189804,
-0.018708549439907074,
0.00835416093468666,
-0.0015414597000926733,
0.047711849212646484,
0.009377213194966316,
-0.015001706779003143,
0.024718407541513443,
-0.03813277930021286,
-0.027471015229821205,
0.029526295140385628,
0.018974635750055313,
0.006353933829814196,
-0.021580437198281288,
0.030003413558006287,
-0.028113288804888725,
0.006899867206811905,
-0.005459336563944817,
0.03813277930021286,
-0.04136250168085098,
0.05505213513970375,
0.012074767611920834,
0.019084740430116653,
0.001370568759739399,
0.02185569703578949,
-0.10269057750701904,
0.01264363992959261,
0.03798597306013107,
-0.04947351664304733,
-0.06400728225708008,
0.021984152495861053,
-0.07057683169841766,
-0.038536492735147476,
-0.0327560193836689,
0.015864189714193344,
-0.024846863001585007,
-0.0008556019165553153,
-0.012441782280802727,
0.002168824663385749,
-0.036224305629730225,
-0.0020472512114793062,
0.004046331625431776,
-0.006028208415955305,
0.058024950325489044,
0.011872909963130951,
-0.0055740284733474255,
0.03677482530474663,
-0.002208966761827469,
0.03849979117512703,
-0.012689516879618168,
-0.0043445308692753315,
0.05207931995391846,
0.0003827843756880611,
0.04011465609073639,
0.018827829509973526,
-0.00805596262216568,
-0.03798597306013107,
0.05589626729488373,
-0.024131184443831444,
-0.0330679826438427,
0.026718635112047195,
-0.04976712912321091,
-0.016671620309352875,
-0.021121667698025703,
0.08404625952243805,
-0.01615780033171177,
-0.006542028393596411,
-0.027727924287319183,
-0.06914547830820084,
-0.005977744236588478,
0.008556019514799118,
0.011102179996669292,
0.04789535701274872,
0.03216879814863205,
-0.014423659071326256,
0.012781270779669285,
-0.02728750742971897,
0.014735621400177479,
0.002342009451240301,
-0.017965346574783325,
-0.03354509919881821,
-0.009060664102435112,
-0.009845156222581863,
0.017901118844747543,
0.041913025081157684,
0.002461289055645466,
-0.018066275864839554,
0.04936341196298599,
0.025929555296897888,
0.049913935363292694,
-0.027893081307411194,
0.03282942250370979,
0.004101383965462446,
0.028480304405093193,
-0.005193251185119152,
0.007849516347050667,
0.017359772697091103,
0.02776462584733963,
0.007381573785096407,
-0.009193706326186657,
0.03978434205055237,
0.00829452183097601,
-0.047601744532585144,
-0.0014542938442900777,
-0.026755336672067642,
0.028663810342550278,
0.02642502449452877,
0.008166066370904446,
-0.006330995354801416,
-0.006574142258614302,
-0.0017754313303157687,
-0.0031494407448917627,
0.03985774517059326,
0.05428140237927437,
-0.033159736543893814,
0.05310695990920067,
0.02293838933110237,
-0.08221118897199631,
-0.0006233507301658392,
0.04301406815648079,
0.0069136302918195724,
0.021286824718117714,
0.03974764049053192,
-0.02169054001569748,
-0.03237065300345421,
0.0556393563747406,
-0.008560607209801674,
0.0032251374796032906,
0.0071934787556529045,
0.008849630132317543,
0.025525839999318123,
-0.023764170706272125,
0.07545812427997589,
-0.05204261839389801,
0.05237292870879173,
-0.021360227838158607,
-0.04275715723633766,
-0.0062484173104166985,
0.008643184788525105,
-0.04092208668589592,
-0.027415962889790535,
0.036059148609638214,
0.0007116635097190738,
0.06250252574682236,
0.0044546350836753845,
0.031287964433431625,
-0.02304849401116371,
-0.04683101549744606,
-0.015148512087762356,
0.04785865545272827,
0.06965930014848709,
0.005408871918916702,
0.010037839412689209,
0.03710513934493065,
0.010643412359058857,
-0.024571603164076805,
-0.003979810513556004,
0.08646854758262634,
-0.023543963208794594,
0.03927052021026611,
0.053620778024196625,
0.024241289123892784,
-0.023030143231153488,
-0.03974764049053192,
-0.004917990416288376,
0.019671961665153503,
-0.041913025081157684,
-0.01371715683490038,
-0.07912826538085938,
-0.04859268292784691,
-0.01632295735180378,
0.000541345973033458,
0.05288675054907799,
0.031049402430653572,
0.04235344007611275,
-0.020497744902968407,
-0.0020621612202376127,
0.02336045540869236,
-0.05053785815834999,
-0.023176947608590126,
0.05457501485943794,
0.00420001894235611,
-0.04426191374659538,
-0.0007099431240931153,
-0.023745819926261902,
-0.015882540494203568,
-0.01841493882238865,
0.07501770555973053,
-0.021250123158097267,
-0.004895052406936884,
0.022864986211061478,
-0.002028900431469083,
-0.015332018956542015,
-0.01948845572769642,
-0.04844587668776512,
-0.03791256994009018,
0.02765452116727829,
0.028590407222509384,
-0.047124627977609634,
0.056740399450063705,
0.040298160165548325,
0.03114115633070469
] |
725,963 | pymediainfo | _get_library_paths | null | @staticmethod
def _get_library_paths(os_is_nt: bool) -> Tuple[str]:
if os_is_nt:
library_paths = ("MediaInfo.dll",)
elif sys.platform == "darwin":
library_paths = ("libmediainfo.0.dylib", "libmediainfo.dylib")
else:
library_paths = ("libmediainfo.so.0",)
script_dir = os.path.dirname(__file__)
# Look for the library file in the script folder
for library in library_paths:
absolute_library_path = os.path.join(script_dir, library)
if os.path.isfile(absolute_library_path):
# If we find it, don't try any other filename
library_paths = (absolute_library_path,)
break
return library_paths
| (os_is_nt: bool) -> Tuple[str] | [
0.038524873554706573,
-0.03708110377192497,
-0.04762610048055649,
0.029149513691663742,
0.0390365906059742,
0.0063827382400631905,
-0.01573525369167328,
0.039475202560424805,
-0.02306375280022621,
0.0076346141286194324,
0.01918933540582657,
0.0406813882291317,
-0.0236302949488163,
-0.016310933977365494,
0.0034175291657447815,
-0.01763591170310974,
0.022515486925840378,
0.09898041933774948,
0.010462756268680096,
-0.03819591552019119,
-0.04203378036618233,
0.07675734162330627,
-0.019372090697288513,
-0.01008810754865408,
0.011541014537215233,
0.0920357033610344,
0.012765476480126381,
-0.01107498724013567,
0.025859912857413292,
0.0008303956128656864,
0.006807644851505756,
-0.0007618622621521354,
0.03189084678888321,
0.0039292448200285435,
-0.01210755668580532,
0.025421299040317535,
0.0542418546974659,
0.044702012091875076,
-0.02596956677734852,
-0.007209707051515579,
0.002056000055745244,
-0.05292601138353348,
0.07200569659471512,
-0.0014140711864456534,
-0.01467527262866497,
0.02289927378296852,
-0.11974144726991653,
0.0013341156300157309,
-0.0038241602014750242,
0.05705628916621208,
0.039146244525909424,
0.02359374426305294,
-0.0015351467300206423,
-0.040425531566143036,
-0.02935054525732994,
0.08297102898359299,
-0.012637547217309475,
0.028637798503041267,
-0.015945423394441605,
0.04393443837761879,
0.03921934589743614,
0.021144818514585495,
0.03168981522321701,
-0.013670116662979126,
0.003931529354304075,
-0.013688392005860806,
0.015835769474506378,
-0.0234292633831501,
-0.017334366217255592,
0.04137586057186127,
-0.015771806240081787,
-0.011029298417270184,
0.004219369031488895,
-0.05128121376037598,
0.09627563506364822,
-0.01757194846868515,
0.019664499908685684,
0.014529068022966385,
0.018385211005806923,
0.008064089342951775,
-0.003869849257171154,
0.0010685489978641272,
0.00032153556821867824,
0.0061771380715072155,
0.008032107725739479,
0.04488476738333702,
0.025859912857413292,
0.03505251929163933,
0.01863192953169346,
-0.04064483940601349,
-0.05647147074341774,
-0.014766650274395943,
0.02991708740592003,
0.04459235817193985,
-0.06677888333797455,
-0.047735754400491714,
0.004564320202916861,
-0.0534377284348011,
0.019554845988750458,
-0.023977531120181084,
-0.012564445845782757,
-0.05903004854917526,
-0.02564060688018799,
-0.04715093597769737,
0.0538397915661335,
-0.041522067040205,
-0.017087645828723907,
0.040425531566143036,
0.00756151182577014,
0.021272748708724976,
-0.0365876667201519,
-0.052012234926223755,
0.004591733682900667,
0.012427378445863724,
0.007113760337233543,
-0.05800661817193031,
0.0158266332000494,
-0.042728252708911896,
0.04265515133738518,
0.0047059557400643826,
-0.06509753316640854,
0.0665595754981041,
-0.03790350630879402,
0.003380978014320135,
0.08859989792108536,
-0.022826170548796654,
0.015479397028684616,
0.01717902347445488,
-0.03786695376038551,
0.026152322068810463,
0.031543612480163574,
0.010243449360132217,
0.00531361810863018,
-0.024799929931759834,
-0.02757781557738781,
0.06294101476669312,
-0.06582855433225632,
-0.017919182777404785,
0.014638721011579037,
0.008854507468640804,
-0.04166826978325844,
0.022369282320141792,
-0.003431235905736685,
-0.025201993063092232,
-0.029295718297362328,
0.086333729326725,
0.04400753974914551,
-0.01812935248017311,
-0.016987130045890808,
-0.0006847622571513057,
0.04733369126915932,
-0.04364202916622162,
-0.017626775428652763,
0.0041645425371825695,
-0.030392251908779144,
-0.03439459949731827,
0.023027202114462852,
-0.015506810508668423,
-0.022570312023162842,
-0.007479271851480007,
-0.006615751422941685,
0.01311271172016859,
-0.012774614617228508,
-0.09006194770336151,
-0.0012381690321490169,
-0.011650667525827885,
0.04086414724588394,
0.022424109280109406,
0.02843676693737507,
-0.009124072268605232,
-0.029953638091683388,
0.025859912857413292,
-0.04378823563456535,
0.014647859148681164,
0.04163171723484993,
-0.01467527262866497,
-0.04006002098321915,
0.004180533811450005,
0.04788196086883545,
0.04715093597769737,
0.008548391982913017,
0.04364202916622162,
-0.020870685577392578,
0.07244430482387543,
0.02728540636599064,
0.057568006217479706,
-0.016045939177274704,
-0.023977531120181084,
0.05197568237781525,
0.03642318397760391,
0.003383262548595667,
0.07566080242395401,
0.044446155428886414,
-0.027157478034496307,
-0.01935381442308426,
0.02185756526887417,
0.04126620665192604,
0.009069245308637619,
-0.09941902756690979,
0.017818668857216835,
0.05416874960064888,
0.02092551253736019,
-0.07661113142967224,
0.04777230694890022,
-0.004383849445730448,
-0.029441922903060913,
0.014510792680084705,
0.03629525750875473,
-0.06136932224035263,
0.028985032811760902,
0.05285291001200676,
-0.05921280384063721,
-0.0100698322057724,
-0.002912666881456971,
0.02059655264019966,
-0.002453493420034647,
-0.0021999201271682978,
0.05617906153202057,
-0.02593301609158516,
-0.0365876667201519,
-0.022460659965872765,
0.00443410687148571,
0.009183467365801334,
0.03596629574894905,
-0.03353564813733101,
0.02194894477725029,
-0.006309635937213898,
0.02991708740592003,
0.024470970034599304,
-0.035692162811756134,
0.016146454960107803,
0.009064676240086555,
-0.004952676128596067,
0.05153707042336464,
0.01658506877720356,
-0.03666076809167862,
0.01395338773727417,
-0.012948231771588326,
0.031543612480163574,
-0.050659842789173126,
0.01763591170310974,
0.017553672194480896,
0.02712092734873295,
-0.011979627422988415,
0.001633377862162888,
-0.0054872361943125725,
0.02099861577153206,
-0.02613404579460621,
0.009503290057182312,
-0.016338348388671875,
0.03194567188620567,
0.022332729771733284,
0.03296910598874092,
-0.05585010349750519,
-0.028290562331676483,
-0.033480819314718246,
-0.021802740171551704,
0.015049921348690987,
0.03337116539478302,
-0.02474510483443737,
-0.020852411165833473,
-0.00893674697726965,
0.03907313942909241,
-0.03673386946320534,
-0.0866992399096489,
-0.021894117817282677,
0.03340771794319153,
0.0365876667201519,
-0.04382478445768356,
0.03468700870871544,
0.009667770005762577,
-0.010179485194385052,
-0.05610596016049385,
-0.03527182340621948,
-0.029131237417459488,
0.0250740647315979,
-0.020358970388770103,
-0.009941902942955494,
0.04006002098321915,
-0.006857902742922306,
0.016658170148730278,
0.034467700868844986,
0.000793273386079818,
0.004870436154305935,
0.02708437480032444,
-0.017946597188711166,
-0.010791716165840626,
-0.061881035566329956,
-0.051354315131902695,
0.03419356793165207,
0.023045476526021957,
-0.008703733794391155,
-0.018915200605988503,
-0.0035728714428842068,
-0.04532338306307793,
0.03366357460618019,
0.015488534234464169,
-0.023867877200245857,
0.0517929270863533,
-0.055301833897829056,
-0.05453426390886307,
0.09379015862941742,
0.025256820023059845,
0.04616405814886093,
-0.07580701261758804,
-0.023319611325860023,
0.029131237417459488,
-0.08253241330385208,
-0.011020161211490631,
-0.008630631491541862,
-0.03867108002305031,
0.030648108571767807,
0.07226154953241348,
0.023410988971590996,
-0.00569283589720726,
0.07270016521215439,
-0.05387634038925171,
0.039438653737306595,
-0.0435689277946949,
0.054022546857595444,
-0.010325689800083637,
0.06403755396604538,
-0.006419289391487837,
0.005843609571456909,
0.05720249190926552,
-0.0128477169200778,
-0.005861884914338589,
-0.02589646354317665,
-0.020651379600167274,
0.016301797702908516,
-0.036441460251808167,
0.04861298203468323,
-0.00826055184006691,
0.033389441668987274,
0.09262052178382874,
-0.0025608623400330544,
-0.026006117463111877,
-0.07412566244602203,
-0.003312444780021906,
0.005907573737204075,
-0.0030885690357536077,
-0.08582201600074768,
-0.10270863026380539,
0.0012473068200051785,
-0.01649368926882744,
-0.01764504984021187,
0.03642318397760391,
0.03139740601181984,
-0.007173155900090933,
-0.09510599821805954,
0.050330884754657745,
0.032530490309000015,
-0.10621754080057144,
0.02244238369166851,
-0.017553672194480896,
0.021766187623143196,
-0.057604555040597916,
0.017681600525975227,
0.03152533620595932,
0.06301411986351013,
0.008840800262987614,
0.06637682020664215,
0.0035980003885924816,
0.015506810508668423,
0.005966969300061464,
-0.03306048363447189,
0.048028163611888885,
0.002241040114313364,
0.026645762845873833,
-0.027066100388765335,
-0.034997690469026566,
-0.01886037550866604,
0.007771680597215891,
-0.0009354800567962229,
0.05738524720072746,
0.010636374354362488,
0.037373512983322144,
-0.010773440822958946,
-0.03143395856022835,
0.0047699203714728355,
-0.04729714244604111,
0.01288426760584116,
-0.021437227725982666,
-0.034540802240371704,
0.021437227725982666,
0.005455253645777702,
0.009201742708683014,
0.02092551253736019,
-0.028144357725977898,
-0.01179687213152647,
0.0009137778542935848,
0.036843523383140564,
-0.010581547394394875,
-0.0060126581229269505,
0.027687469497323036,
-0.022661691531538963,
-0.025713708251714706,
0.026901619508862495,
0.024891309440135956,
0.016338348388671875,
0.0158266332000494,
-0.08070486038923264,
-0.040462084114551544,
0.03764764592051506,
-0.027925051748752594,
0.0419241264462471,
-0.009466738440096378,
0.045396484434604645,
-0.02096206322312355,
-0.10015004873275757,
-0.011842560954391956,
-0.09035435318946838,
-0.003851573681458831,
-0.055265285074710846,
-0.01177859678864479,
0.01319495216012001,
-0.03399253636598587,
-0.002238755812868476,
0.045104075223207474,
0.030465353280305862,
0.013862010091543198,
-0.04459235817193985,
-0.01677696220576763,
0.018805548548698425,
0.029533300548791885,
0.04006002098321915,
0.00452548498287797,
0.038086261600255966,
-0.009288552217185497,
0.018467450514435768,
0.01944519206881523,
0.07123812288045883,
0.0029971913900226355,
-0.0505501888692379,
-0.013670116662979126,
-0.0005922422860749066,
0.02454407326877117,
-0.01107498724013567,
-0.024105459451675415,
-0.015031646005809307,
-0.018284695222973824,
0.03735523670911789,
-0.07821938395500183,
0.058920394629240036,
-0.0007595778442919254,
-0.010910507291555405,
0.022698242217302322,
-0.0012884268071502447,
0.00504405377432704,
-0.04492131993174553,
-0.07536839693784714,
-0.02547612600028515,
0.04598130285739899,
0.00008538111433153972,
0.018915200605988503,
-0.02576853521168232,
-0.03455907851457596,
-0.0036276981700211763,
-0.020907238125801086,
0.002588275820016861,
-0.012582721188664436,
0.015049921348690987,
0.01701454445719719,
-0.02481820620596409,
0.019993459805846214,
-0.04298410937190056,
0.056288715451955795,
-0.019755877554416656,
-0.053583934903144836,
-0.0009469023207202554,
0.027504712343215942,
0.03362702578306198,
0.02050517499446869,
0.0037944624200463295,
-0.013816321268677711,
-0.020888961851596832,
0.01769987680017948,
0.006921867374330759,
0.014867166057229042,
-0.033188410103321075,
0.000012466285625123419,
-0.06853333860635757,
-0.0464564673602581,
0.023813050240278244,
-0.007269102614372969,
0.007885903120040894,
0.030721211805939674,
-0.051061905920505524,
0.017809530720114708,
-0.029131237417459488,
0.045396484434604645,
0.041046902537345886,
-0.01625610701739788,
-0.029789157211780548,
0.052304644137620926,
-0.00037008002982474864,
0.0063279117457568645,
0.03190912306308746,
0.014117867685854435,
0.01599111221730709,
0.03311530873179436,
-0.0793159157037735,
0.0005659711314365268,
-0.02777884714305401,
0.007767111528664827,
0.014647859148681164,
0.0024672001600265503,
-0.019701050594449043,
-0.040425531566143036,
0.006538080517202616,
-0.029295718297362328,
0.0195182953029871,
0.0033215824514627457,
-0.039804164320230484,
0.01981070451438427,
-0.05738524720072746,
-0.02372167259454727,
0.04298410937190056,
0.0009469023207202554,
0.03428494557738304,
-0.04086414724588394,
-0.04185102507472038,
0.0010462756035849452,
-0.10490169376134872,
-0.04853988066315651,
-0.009768284857273102,
-0.07668423652648926,
0.05113500729203224,
-0.034668732434511185,
0.005537493620067835,
0.003616275731474161,
0.0020879823714494705,
-0.05197568237781525,
0.028089530766010284,
0.07255396246910095,
0.01082826778292656,
-0.0014106445014476776,
0.02132757566869259,
0.017983147874474525,
-0.015844907611608505,
0.02823573537170887,
0.017946597188711166,
-0.02129102312028408,
0.0035865779500454664,
0.0464564673602581,
0.009594667702913284,
-0.028381939977407455,
0.010179485194385052,
0.026335077360272408,
-0.01697799190878868,
0.05943211168050766,
0.036642491817474365,
0.056617677211761475,
-0.0013752356171607971,
0.052670154720544815,
-0.017626775428652763,
0.03373667970299721,
-0.08165518939495087,
-0.011376534588634968,
-0.038122810423374176,
-0.042764801532030106,
-0.020084837451577187,
-0.08143588155508041,
-0.004324453882873058,
-0.07222500443458557,
-0.011266880668699741,
-0.023904427886009216,
0.007776249665766954,
-0.02728540636599064,
-0.030392251908779144,
0.020560001954436302,
0.008397618308663368,
-0.016237832605838776,
-0.040462084114551544,
0.011924801394343376,
0.04696818068623543,
0.018321245908737183,
-0.023904427886009216,
0.013304605148732662,
0.014931130222976208,
-0.00827882718294859,
0.009384498931467533,
0.005185689311474562,
0.0014517646050080657,
0.04864953085780144,
-0.020779307931661606,
-0.006889884825795889,
0.018641067668795586,
0.03819591552019119,
0.006040071602910757,
-0.04492131993174553,
0.01960967294871807,
0.008991573937237263,
-0.019993459805846214,
-0.03103189542889595,
-0.001121662324294448,
-0.026938170194625854,
-0.0010120089864358306,
0.00998759176582098,
0.01113895233720541,
0.04813781753182411,
-0.009101226925849915,
-0.004203378222882748,
-0.0509522520005703,
0.027724020183086395,
0.03583836555480957,
-0.01721557416021824,
-0.04323996603488922,
-0.048101264983415604,
0.008470720611512661,
-0.06747335940599442,
0.015835769474506378,
0.01948174461722374,
-0.0003483777982182801,
0.0435689277946949,
0.04517717659473419,
-0.02326478436589241,
0.01621955633163452,
0.05197568237781525,
0.014565618708729744,
-0.002313000150024891,
0.026408180594444275,
0.05738524720072746,
-0.030099842697381973,
0.02606094442307949,
0.0030954224057495594,
-0.03476011008024216,
-0.024854756891727448,
-0.017453156411647797,
-0.01255530770868063,
0.06337963044643402,
-0.006350756157189608,
0.11659805476665497,
-0.0575314536690712,
-0.023082029074430466,
-0.020249316468834877,
0.012674098834395409,
-0.06133276969194412,
0.02454407326877117,
0.07690354436635971,
-0.01645713858306408,
-0.04130275920033455,
-0.03229290992021561,
-0.0339011587202549,
0.019719326868653297,
0.02852814458310604,
-0.026682313531637192,
-0.007538667414337397,
0.02589646354317665,
-0.0032987380400300026,
0.014976819045841694,
-0.011723769828677177,
-0.016310933977365494,
-0.0005491233896464109,
0.015808356925845146,
-0.038780730217695236,
0.004719662480056286,
-0.004906986840069294,
-0.009704320691525936,
-0.0047699203714728355,
0.023045476526021957,
0.018421761691570282,
-0.026992997154593468,
0.04006002098321915,
0.00848899595439434,
-0.05669077858328819,
0.017425743862986565,
-0.014803200960159302,
0.04897849261760712,
-0.0195182953029871,
0.09079296886920929,
0.015680428594350815,
-0.013003058731555939,
0.02626197598874569,
0.011440498754382133,
-0.006515236105769873,
-0.032731521874666214,
0.06363549083471298,
0.03262186795473099,
-0.03243911266326904,
-0.013862010091543198,
-0.004998364951461554,
-0.02942364662885666,
0.04678542539477348,
-0.011577565222978592,
0.050623293966054916,
0.08786887675523758,
0.044373054057359695,
0.03280462324619293,
-0.008763129822909832,
-0.06579200178384781,
0.03258531913161278,
0.02474510483443737,
0.03194567188620567,
0.00974087230861187,
-0.013679254800081253,
0.013597014360129833,
-0.019408641383051872,
0.002453493420034647,
-0.04378823563456535,
0.08275172114372253,
-0.03243911266326904,
-0.0002821289235725999,
-0.006017227191478014,
-0.03761109709739685,
0.004191956017166376,
0.00424449797719717,
-0.01654851622879505,
-0.07792697846889496,
0.034961141645908356,
-0.03907313942909241,
-0.055265285074710846,
0.0075706494972109795,
-0.054607365280389786,
-0.005583182442933321,
-0.04298410937190056,
-0.034997690469026566,
0.016018526628613472,
-0.008461582474410534,
-0.046383362263441086,
0.015013369731605053,
0.0006116600707173347,
0.10862991213798523,
0.030593281611800194,
0.03189084678888321,
-0.014858027920126915,
0.013003058731555939,
-0.02807125635445118,
0.017480570822954178,
0.020212765783071518,
-0.07924281805753708,
-0.0295881275087595,
-0.03426666930317879,
0.021930668503046036,
-0.018385211005806923,
-0.019171059131622314,
0.028144357725977898,
-0.01354218740016222,
0.017891770228743553,
-0.020395521074533463,
0.0069949692115187645,
0.012600996531546116,
-0.02872917614877224,
0.04163171723484993,
0.029734332114458084,
-0.0183943472802639,
0.029807433485984802,
-0.06162517890334129,
-0.03691662475466728,
-0.013377707451581955,
0.055265285074710846,
0.021035166457295418,
-0.03834211826324463,
-0.026006117463111877,
0.004696818068623543,
-0.025128891691565514,
0.030648108571767807,
-0.015150437131524086,
0.01658506877720356,
0.005231378134340048,
-0.048028163611888885,
0.032731521874666214,
0.020322419703006744,
-0.002355262404307723,
0.07039744406938553,
0.01512302365154028,
-0.09466738253831863,
-0.05109845846891403
] |
725,964 | pymediainfo | _normalize_filename | null | @staticmethod
def _normalize_filename(filename: Any) -> Any:
if hasattr(os, "PathLike") and isinstance(filename, os.PathLike):
return os.fspath(filename)
if pathlib is not None and isinstance(filename, pathlib.PurePath):
return str(filename)
return filename
| (filename: Any) -> Any | [
-0.016328606754541397,
0.04489247128367424,
-0.002928938250988722,
0.040879737585783005,
0.0024698921479284763,
-0.09530245512723923,
0.03715362399816513,
0.045680686831474304,
0.09078812599182129,
-0.009485460817813873,
0.02801748737692833,
-0.025007937103509903,
-0.0003008991479873657,
0.018917178735136986,
-0.031027039512991905,
0.04879772290587425,
0.02413015067577362,
0.08863844722509384,
0.014411808922886848,
0.030364220961928368,
0.004644202999770641,
-0.0124950110912323,
-0.032227277755737305,
-0.021944643929600716,
0.0005035512149333954,
0.044247567653656006,
-0.006314683239907026,
-0.011169375851750374,
0.012432312592864037,
-0.0475795716047287,
0.037511903792619705,
-0.007980684749782085,
0.07874992489814758,
0.04127384349703789,
0.010228890925645828,
-0.011617225594818592,
-0.02196255885064602,
0.04704215005040169,
-0.08211775124073029,
-0.09272284060716629,
-0.041882921010255814,
0.014125185087323189,
0.0017690070671960711,
-0.008473319932818413,
0.003101360285654664,
0.0005335011519491673,
-0.045644860714673996,
-0.006050451658666134,
-0.03380370885133743,
0.030650844797492027,
-0.005535424686968327,
0.007770195137709379,
0.0012853291118517518,
0.019597910344600677,
-0.03409033268690109,
0.03663412109017372,
0.034108247607946396,
0.02153262123465538,
-0.03686700016260147,
-0.02427346259355545,
0.01620320789515972,
-0.026405228301882744,
0.018146876245737076,
-0.0754537507891655,
0.01096336543560028,
-0.034771066159009933,
0.005799655802547932,
0.01006766501814127,
-0.01859472692012787,
0.005683214869350195,
-0.03147488832473755,
0.016131551936268806,
-0.0427786186337471,
0.007904550060629845,
0.05492430925369263,
0.0204219538718462,
-0.013766905292868614,
0.0014835026813670993,
0.06785821169614792,
0.010855880565941334,
0.008970432914793491,
-0.04435505345463753,
-0.012324828654527664,
-0.03865840286016464,
0.01497610006481409,
-0.04055728390812874,
-0.02196255885064602,
-0.008204610086977482,
-0.0019011227414011955,
0.035165172070264816,
-0.015388121828436852,
-0.00807921215891838,
-0.020439868792891502,
0.014671562239527702,
-0.012880162335932255,
-0.01379377581179142,
0.004023930989205837,
-0.04320855438709259,
0.024022666737437248,
-0.05696650594472885,
-0.015970326960086823,
0.024792969226837158,
-0.005772784817963839,
0.014017701148986816,
0.027910003438591957,
0.013910217210650444,
0.0216221921145916,
-0.0233061071485281,
0.010560300201177597,
0.0030185081996023655,
-0.10225308686494827,
-0.07312493026256561,
-0.03197648003697395,
-0.003522339276969433,
0.03740442171692848,
-0.07609865069389343,
0.006923758890479803,
-0.014232669025659561,
0.03794184327125549,
-0.015701616182923317,
0.0046307677403092384,
0.041596297174692154,
-0.09408430010080338,
-0.008182217366993427,
0.048331957310438156,
-0.022911999374628067,
0.002834889804944396,
0.014143099077045918,
0.019777050241827965,
0.013560893945395947,
-0.02378978580236435,
0.061588313430547714,
-0.05951029062271118,
0.020457781851291656,
0.0049845692701637745,
0.023718129843473434,
-0.018666382879018784,
0.09128972142934799,
0.022625375539064407,
0.05599914863705635,
0.049012690782547,
-0.014241626486182213,
0.020583180710673332,
-0.019884534180164337,
0.032137706875801086,
0.014796960167586803,
0.028913188725709915,
-0.030847899615764618,
-0.04095139354467392,
0.019239630550146103,
0.005257757380604744,
0.018523070961236954,
0.017054123803973198,
0.017367618158459663,
0.05757557973265648,
-0.07050948590040207,
-0.006578914821147919,
-0.05420774966478348,
0.00893908366560936,
-0.03272886946797371,
-0.012781635858118534,
-0.0485469251871109,
0.022661203518509865,
-0.08233272284269333,
0.01643609069287777,
0.0033320030197501183,
0.005750392563641071,
0.021084772422909737,
0.046361420303583145,
-0.002532591111958027,
0.015728488564491272,
0.006037016399204731,
-0.03690283000469208,
0.050015874207019806,
0.02975514531135559,
0.00302746519446373,
0.015370207838714123,
0.04345935210585594,
-0.0012248693965375423,
0.011787408962845802,
0.05238052085042,
-0.04345935210585594,
0.006063887383788824,
0.029916372150182724,
0.050875745713710785,
0.027856262400746346,
-0.023377763107419014,
-0.006359468214213848,
0.029719317331910133,
-0.009077916853129864,
-0.024022666737437248,
0.025706583634018898,
-0.020977288484573364,
0.020690664649009705,
0.050302498042583466,
-0.06284229457378387,
0.034054502844810486,
-0.023109054192900658,
-0.05331204831600189,
-0.051699791103601456,
-0.02172967605292797,
0.01623903587460518,
0.005307021085172892,
0.007044678553938866,
-0.05886538699269295,
0.0082897013053298,
0.009386933408677578,
0.035595107823610306,
-0.05675153806805611,
0.02359273098409176,
0.026118604466319084,
-0.05223720893263817,
-0.05839962512254715,
-0.0012293478939682245,
-0.0024430211633443832,
-0.0015753119951114058,
-0.023198623210191727,
0.06724913418292999,
0.00676701171323657,
0.08591552078723907,
0.0001194499564007856,
0.008862948976457119,
0.03023882396519184,
-0.01619425229728222,
0.047077979892492294,
-0.0012763721169903874,
0.014967142604291439,
0.06026268005371094,
0.06724913418292999,
0.0019134385511279106,
-0.010399074293673038,
-0.06352302432060242,
-0.015164196491241455,
0.023915182799100876,
0.03858674690127373,
-0.02801748737692833,
0.02687099203467369,
-0.04105887562036514,
0.019777050241827965,
-0.04406842961907387,
-0.002758755348622799,
-0.03498603403568268,
-0.015200024470686913,
-0.008755465038120747,
-0.005333892069756985,
-0.05753975361585617,
0.022374579682946205,
0.046791356056928635,
-0.020063674077391624,
-0.008544975891709328,
0.04331604018807411,
0.06255567073822021,
-0.02344941906630993,
0.03353499993681908,
0.015621003694832325,
-0.0010602845577523112,
-0.06853894144296646,
-0.0005460969405248761,
0.00021650742564816028,
0.05743226781487465,
-0.04772288352251053,
-0.0011241032043471932,
0.007846330292522907,
-0.014967142604291439,
-0.0475795716047287,
-0.08355087041854858,
-0.038192637264728546,
0.01513732597231865,
0.023682301864027977,
0.007102899253368378,
0.010676740668714046,
0.011258945800364017,
0.003307371400296688,
-0.013498195447027683,
-0.01468051876872778,
0.03226310387253761,
-0.04070059582591057,
-0.008715158328413963,
0.05696650594472885,
0.03908833861351013,
0.0043038371950387955,
-0.006390817929059267,
-0.00320884445682168,
-0.008325529284775257,
0.03249598667025566,
-0.025079593062400818,
0.007470136042684317,
-0.0932244285941124,
-0.02316279523074627,
0.0021284064278006554,
0.04206205904483795,
0.008737551048398018,
-0.007913507521152496,
-0.018281232565641403,
-0.07409228384494781,
-0.023682301864027977,
0.0003070570819545537,
-0.10562091320753098,
0.07531043887138367,
-0.05893704295158386,
-0.04944262653589249,
0.055820006877183914,
0.0437459759414196,
0.0070894635282456875,
-0.00949441734701395,
-0.0033387208823114634,
-0.0423128567636013,
-0.053419534116983414,
-0.007488050032407045,
0.015486648306250572,
-0.016427133232355118,
-0.04152464121580124,
-0.01590762846171856,
0.040199004113674164,
0.11328810453414917,
0.10834383964538574,
0.042277026921510696,
-0.009996009059250355,
-0.005907139740884304,
0.05162813514471054,
-0.017913995310664177,
0.0745222195982933,
0.010685698129236698,
0.008536018431186676,
-0.018666382879018784,
-0.0389450266957283,
-0.007685103919357061,
-0.0003269303997512907,
0.004688987974077463,
0.056249942630529404,
0.004268009215593338,
0.013784819282591343,
0.0069595868699252605,
-0.03115243650972843,
-0.005920575466006994,
0.002362408209592104,
0.014671562239527702,
-0.004086629953235388,
0.04732877388596535,
0.00874650850892067,
-0.0115366131067276,
0.009996009059250355,
0.018540984019637108,
-0.01326531358063221,
-0.04532240703701973,
-0.004774079658091068,
-0.019114233553409576,
-0.011742623522877693,
0.03536222502589226,
-0.0841241180896759,
-0.03247807174921036,
-0.038622573018074036,
-0.06717748194932938,
-0.016982467845082283,
-0.039339132606983185,
-0.0007535074255429208,
-0.0461464524269104,
-0.0011453760089352727,
-0.002197823254391551,
0.04499995708465576,
0.05252383276820183,
-0.04414008557796478,
-0.0008710679830983281,
-0.045358236879110336,
0.05517510324716568,
0.01609572395682335,
0.057790547609329224,
-0.00811951793730259,
-0.03235267475247383,
0.013032431714236736,
-0.035541366785764694,
0.00035324160126037896,
0.021514708176255226,
-0.11995211243629456,
-0.008303136564791203,
0.012754764407873154,
0.05234469473361969,
-0.02561701275408268,
-0.006887930911034346,
0.028375769034028053,
0.04829613119363785,
0.05195058509707451,
-0.016794370487332344,
0.027910003438591957,
-0.02292991429567337,
-0.007864244282245636,
0.008822642266750336,
-0.0070312428288161755,
-0.020941460505127907,
-0.021281825378537178,
0.021783417090773582,
-0.02490045316517353,
0.060871753841638565,
0.014886530116200447,
0.02633357234299183,
-0.017287004739046097,
-0.026602283120155334,
-0.0018070742953568697,
-0.012181516736745834,
0.03401867672801018,
-0.04528658092021942,
-0.017860252410173416,
-0.009261535480618477,
0.04800950735807419,
-0.024094322696328163,
0.061122551560401917,
0.045537374913692474,
0.043960943818092346,
-0.0016906332457438111,
0.008025470189750195,
0.01927545852959156,
-0.012226301245391369,
-0.023664386942982674,
-0.05485265329480171,
0.07344737648963928,
0.06674754619598389,
-0.03127783536911011,
-0.07076027989387512,
0.05632159858942032,
-0.011706795543432236,
-0.04485664516687393,
0.02147888019680977,
-0.03389327973127365,
0.05632159858942032,
0.060871753841638565,
-0.014232669025659561,
-0.028626564890146255,
-0.009601901285350323,
0.05019501596689224,
0.029486436396837234,
-0.055748350918293,
-0.008589760400354862,
-0.056070804595947266,
-0.057683065533638,
0.03969741240143776,
0.011894892901182175,
0.019794965162873268,
0.035451795905828476,
-0.0002027920272666961,
0.016427133232355118,
-0.01845141500234604,
0.03955410048365593,
-0.011061891913414001,
0.009095830842852592,
0.003934361040592194,
-0.029540177434682846,
-0.03822846710681915,
0.04267113655805588,
-0.026996390894055367,
-0.030167168006300926,
-0.03038213588297367,
0.004765122663229704,
0.02903858572244644,
-0.04302941635251045,
-0.0374760776758194,
-0.01970539428293705,
-0.047077979892492294,
0.0019324722234159708,
0.010345332324504852,
0.021120600402355194,
-0.055354245007038116,
0.06592350453138351,
0.08878175914287567,
-0.03634749725461006,
0.014116228558123112,
-0.01630173623561859,
0.009861654601991177,
0.01323844213038683,
-0.004061998333781958,
-0.00019691399938892573,
0.06800152361392975,
-0.04761539772152901,
0.015280637890100479,
0.049335140734910965,
-0.005266714375466108,
0.040449801832437515,
-0.02398683875799179,
0.0326930396258831,
0.032137706875801086,
-0.00006840207061031833,
-0.027175530791282654,
-0.00889429822564125,
-0.04457002133131027,
0.031009124591946602,
0.05216555297374725,
-0.0021922250743955374,
-0.04220537096261978,
0.015737444162368774,
-0.01139330118894577,
0.0011509741889312863,
0.041452985256910324,
0.12052536010742188,
-0.024595914408564568,
0.013345926068723202,
0.027892090380191803,
0.04156046733260155,
-0.0013592243194580078,
0.055927492678165436,
-0.004644202999770641,
0.0028483252972364426,
0.026064863428473473,
-0.08469736576080322,
0.010022880509495735,
0.020923545584082603,
-0.0068341889418661594,
0.058184657245874405,
-0.04865441098809242,
-0.009198836050927639,
-0.03147488832473755,
-0.02980888821184635,
-0.033678311854600906,
0.016113638877868652,
0.03188691288232803,
0.0024721312802284956,
0.030256737023591995,
0.015558304265141487,
-0.019436685368418694,
-0.008468841202557087,
0.06123003363609314,
0.0346098393201828,
-0.06499197334051132,
-0.06316474825143814,
-0.04532240703701973,
-0.05008753016591072,
-0.017412403598427773,
-0.023771870881319046,
-0.0009712743922136724,
0.05660822615027428,
0.015585175715386868,
0.035595107823610306,
-0.020081588998436928,
0.019150061532855034,
0.0629497766494751,
0.012871205806732178,
0.03249598667025566,
0.08347921818494797,
-0.0466122142970562,
-0.04202623292803764,
-0.03591756150126457,
0.01165305357426405,
-0.007232775446027517,
0.015271680429577827,
-0.006220634561032057,
-0.0035089037846773863,
0.03634749725461006,
-0.03930330649018288,
-0.02898484468460083,
0.04668387025594711,
0.028053315356373787,
0.006435602903366089,
-0.005880268756300211,
0.0037149146664887667,
0.017340747639536858,
0.0365266352891922,
0.002657989040017128,
-0.057073988020420074,
-0.012038204818964005,
-0.00676701171323657,
-0.04306524246931076,
-0.002655749674886465,
-0.05872207507491112,
-0.015612046234309673,
0.027820434421300888,
-0.015558304265141487,
-0.048475269228219986,
0.03133157640695572,
-0.020547352731227875,
0.035254742950201035,
0.020923545584082603,
-0.04091556370258331,
-0.0008525942103005946,
0.04983673244714737,
0.06370216608047485,
-0.05105488747358322,
-0.03013134002685547,
0.07337572425603867,
0.0634155422449112,
-0.057611409574747086,
0.008343443274497986,
0.018755951896309853,
0.049585938453674316,
-0.03013134002685547,
-0.024954194203019142,
-0.011035021394491196,
-0.03711779788136482,
-0.06334389001131058,
0.022374579682946205,
0.029683489352464676,
0.00046184519305825233,
-0.035881731659173965,
-0.06818066537380219,
-0.05882956087589264,
0.04704215005040169,
-0.009306319989264011,
0.03478897735476494,
-0.033714137971401215,
0.003927643410861492,
-0.013444453477859497,
0.02647688426077366,
-0.038335949182510376,
0.01970539428293705,
0.0018552180845290422,
0.002586333081126213,
0.0816878154873848,
0.05940280854701996,
-0.01726013422012329,
-0.005226408131420612,
0.022965742275118828,
-0.0552825890481472,
0.024380946531891823,
-0.013731077313423157,
0.06556522101163864,
0.034054502844810486,
-0.028841532766819,
0.06004771217703819,
0.06954213231801987,
-0.017385533079504967,
-0.07566871494054794,
-0.041166361421346664,
0.015280637890100479,
-0.03840760514140129,
-0.011706795543432236,
-0.022123783826828003,
-0.0033700703643262386,
-0.02301948331296444,
-0.03690283000469208,
0.04105887562036514,
-0.03733276575803757,
-0.046504732221364975,
-0.08326424658298492,
0.015450820326805115,
-0.07251585274934769,
0.01379377581179142,
-0.06409627199172974,
0.03469941020011902,
-0.008410620503127575,
-0.03066875971853733,
0.007738845888525248,
-0.03675951808691025,
0.027283014729619026,
0.052022241055965424,
-0.0961623266339302,
-0.03473523631691933,
-0.0030498576816171408,
-0.0062116775661706924,
0.0009953463450074196,
-0.025724496692419052,
-0.03613252937793732,
0.03260347247123718,
-0.013050345703959465,
0.0024206286761909723,
0.014895486645400524,
-0.025975292548537254,
-0.013560893945395947,
0.029683489352464676,
0.03570259362459183,
0.012701022438704967,
-0.08792188763618469,
0.011321645230054855,
-0.013229485601186752,
0.025294560939073563,
-0.012082989327609539,
-0.0006001188303343952,
0.08089960366487503,
0.0022526849061250687,
-0.035165172070264816,
-0.0015977044822648168,
-0.07445055991411209,
-0.017072036862373352,
-0.041739609092473984,
0.007649275939911604,
0.01648087613284588,
-0.007425351068377495,
-0.04575234279036522,
0.024201806634664536,
0.02730092778801918,
0.023664386942982674,
0.058041345328092575,
0.032943837344646454,
0.0018473807722330093,
-0.00428816257044673,
-0.011957591399550438,
-0.03984072431921959,
-0.04435505345463753,
0.042563650757074356,
-0.028608649969100952,
0.0032939359080046415,
0.0365266352891922,
0.038192637264728546,
0.0014599906280636787,
-0.021425137296319008,
-0.004156047012656927,
-0.04643307626247406,
0.03726110979914665,
-0.05696650594472885,
-0.050875745713710785,
0.044390879571437836,
0.011447043158113956,
-0.010748396627604961,
0.008312094025313854,
0.05055329576134682,
-0.002362408209592104,
0.010202020406723022,
-0.034430697560310364,
0.015065670013427734,
-0.010022880509495735,
-0.02855490893125534,
0.016713757067918777,
-0.013345926068723202,
0.03296175226569176,
-0.02172967605292797,
-0.03690283000469208,
-0.0015450820792466402,
-0.025939464569091797,
0.0418112650513649,
0.012306914664804935,
-0.06205407902598381,
-0.009736256673932076,
0.03346334397792816,
-0.034430697560310364,
-0.002205660566687584,
-0.05008753016591072,
0.03374996781349182,
0.029683489352464676,
-0.021640105172991753,
0.0021317654754966497,
-0.00014527130406349897,
-0.0132205281406641,
0.006081801373511553,
0.047364603728055954,
0.004957698285579681,
-0.001499177422374487,
-0.021998386830091476,
0.03247807174921036,
0.02235666662454605,
-0.0002503760624676943,
0.03032839298248291,
0.0009975855937227607,
-0.03324837610125542,
0.010058708488941193,
0.010219934396445751,
-0.004124697297811508,
-0.05879373103380203,
-0.0015226895920932293,
0.01774381287395954,
-0.011088763363659382,
0.05836379528045654,
0.0010798780713230371,
-0.020690664649009705,
0.008661416359245777,
0.008088168688118458,
0.03319463133811951,
-0.01668688654899597,
-0.0018742517568171024,
0.021460965275764465,
-0.056106630712747574,
0.0043038371950387955,
0.035595107823610306,
0.019096318632364273,
-0.019597910344600677,
-0.027426326647400856,
0.04234868288040161,
-0.008956997655332088,
0.018755951896309853,
0.003947796765714884,
0.014017701148986816,
-0.019884534180164337,
-0.0075820982456207275
] |
725,965 | pymediainfo | _tracks | null | def _tracks(self, track_type: str) -> List[Track]:
return [track for track in self.tracks if track.track_type == track_type]
| (self, track_type: str) -> List[pymediainfo.Track] | [
-0.020798873156309128,
-0.0133288549259305,
-0.09608493745326996,
0.017576511949300766,
-0.03086875006556511,
0.011681057512760162,
0.01108601875603199,
0.056903958320617676,
0.01173598412424326,
-0.011809219606220722,
0.0219340231269598,
-0.03372493386268616,
0.00480607757344842,
-0.04771290719509125,
0.012331021949648857,
-0.013695032335817814,
-0.07345517724752426,
-0.014363306574523449,
0.007616488728672266,
-0.07257635146379471,
0.007968934252858162,
0.05814896151423454,
0.0333404466509819,
-0.04573554918169975,
0.004197307862341404,
0.04401451721787453,
0.00952976569533348,
-0.02376491017639637,
-0.07806900888681412,
-0.020432695746421814,
-0.025302855297923088,
0.028397053480148315,
-0.026273224502801895,
0.030209630727767944,
-0.010976165533065796,
0.02405785210430622,
-0.043684955686330795,
0.09476669877767563,
-0.023893071338534355,
0.04987335577607155,
-0.0034077379386872053,
-0.030465954914689064,
0.003666350618004799,
-0.039510536938905716,
-0.009154433384537697,
-0.00155053217895329,
-0.024991603568196297,
0.015507610514760017,
0.08107166737318039,
-0.009273441508412361,
-0.012642272748053074,
0.04782276228070259,
-0.0438680462539196,
0.020524239167571068,
0.0008124559535644948,
-0.04840864613652229,
-0.007959780283272266,
0.004417014308273792,
0.012459184043109417,
0.07587194442749023,
0.048664968460798264,
-0.01122333575040102,
0.0316743403673172,
-0.011488813906908035,
0.058258816599845886,
-0.0395471528172493,
0.02695065177977085,
0.01953556202352047,
-0.03672758862376213,
-0.00713588111102581,
0.0013170940801501274,
-0.0279393307864666,
0.02479020692408085,
-0.0014738638419657946,
0.045039813965559006,
-0.011827528476715088,
0.042623043060302734,
0.04200053960084915,
0.0564645454287529,
0.014958344399929047,
0.009850170463323593,
0.08949374407529831,
-0.0332489013671875,
0.019736958667635918,
-0.04536937177181244,
0.033139050006866455,
0.021714316681027412,
-0.037386707961559296,
-0.006106007378548384,
0.006980255711823702,
-0.007859081029891968,
-0.017356805503368378,
-0.012193705886602402,
-0.008138291537761688,
-0.01922431029379368,
-0.01557169109582901,
-0.03453052416443825,
-0.05855175852775574,
-0.06774280965328217,
-0.037606414407491684,
-0.006604923866689205,
-0.01977357640862465,
-0.025138074532151222,
0.014088673517107964,
0.010152267292141914,
-0.03672758862376213,
-0.012102161534130573,
-0.017256107181310654,
-0.014042900875210762,
0.09938053041696548,
-0.03623324632644653,
-0.008737906813621521,
-0.01792438142001629,
0.005643708165735006,
0.025687340646982193,
-0.007268620189279318,
-0.014930881559848785,
0.015983641147613525,
-0.006490493193268776,
-0.07070884853601456,
-0.05470689386129379,
0.06071220338344574,
-0.034951627254486084,
0.03804582729935646,
0.019645415246486664,
0.013630951754748821,
0.023618439212441444,
-0.027591463178396225,
-0.04247657209634781,
0.002966036554425955,
0.028616759926080704,
0.017045555636286736,
-0.021256593987345695,
-0.014152754098176956,
-0.002956882119178772,
-0.004517713095992804,
0.029916688799858093,
-0.030209630727767944,
0.032040517777204514,
-0.02347196824848652,
-0.0326630175113678,
0.050056442618370056,
0.03511640802025795,
0.002249702112749219,
-0.010344509966671467,
0.02881815657019615,
-0.03579383343458176,
-0.02425924874842167,
-0.07946048676967621,
0.0066369641572237015,
-0.03910773992538452,
-0.025028221309185028,
0.01202892605215311,
0.02640138566493988,
-0.06320220977067947,
-0.0171187911182642,
-0.030795514583587646,
0.050312768667936325,
0.018070852383971214,
0.023563511669635773,
-0.036031849682331085,
0.027078814804553986,
-0.02715205028653145,
-0.008481582626700401,
-0.000739220529794693,
0.00698483269661665,
-0.014555549249053001,
-0.005231758579611778,
-0.02795764058828354,
-0.000771261053159833,
-0.002663940191268921,
0.01414360012859106,
0.02451557293534279,
0.0039615812711417675,
-0.012450030073523521,
0.0012976409634575248,
0.027316829189658165,
-0.005181409418582916,
0.02663940191268921,
0.010362818837165833,
-0.005790179129689932,
-0.06737662851810455,
-0.03822891414165497,
-0.02881815657019615,
0.024625426158308983,
0.015699854120612144,
0.04035274311900139,
-0.0036182899493724108,
0.0006190685671754181,
0.011406424455344677,
-0.012834515422582626,
-0.02325226180255413,
-0.012871133163571358,
-0.01053675264120102,
0.03583045303821564,
-0.019206002354621887,
-0.021769242361187935,
0.029971616342663765,
-0.11168409138917923,
0.05038600414991379,
0.04676084592938423,
0.014454850926995277,
-0.01764974743127823,
-0.06151779368519783,
0.0011277117300778627,
0.04826217517256737,
0.022373436018824577,
-0.0279393307864666,
0.04595525562763214,
0.01294436864554882,
-0.02266637794673443,
0.012074697762727737,
0.00535534368827939,
-0.02347196824848652,
0.030941985547542572,
-0.037386707961559296,
-0.012614809907972813,
0.0030392720364034176,
0.048481881618499756,
0.02241005375981331,
0.006357754115015268,
-0.022373436018824577,
-0.10633789747953415,
0.035738907754421234,
-0.002901955507695675,
0.028909701853990555,
-0.052399978041648865,
0.008934726938605309,
-0.051557768136262894,
-0.0788746029138565,
-0.010436054319143295,
0.024240940809249878,
-0.027499917894601822,
-0.04145127534866333,
0.03196728229522705,
0.06832869350910187,
-0.00871502049267292,
0.09330198913812637,
-0.02771962434053421,
0.0158371701836586,
0.019938357174396515,
0.013045067898929119,
0.008179486729204655,
0.03398125618696213,
-0.04456378147006035,
0.00449711550027132,
0.020542548969388008,
-0.0052775307558476925,
0.05675748735666275,
0.01503157988190651,
0.030520882457494736,
0.001223261235281825,
-0.0005850255256518722,
-0.021952331066131592,
0.03612339496612549,
-0.03724023699760437,
-0.07389459013938904,
-0.033431991934776306,
0.017237799242138863,
-0.02771962434053421,
-0.025815501809120178,
0.05990661308169365,
0.09205698221921921,
0.029751909896731377,
-0.05309571325778961,
0.003364254254847765,
-0.020908726379275322,
0.024643735960125923,
-0.023343805223703384,
0.05364498123526573,
0.08033931255340576,
0.024753589183092117,
0.0065728831104934216,
0.022062184289097786,
-0.006907020229846239,
-0.005076133646070957,
-0.009758626110851765,
0.013429554179310799,
-0.06843854486942291,
0.0051081739366054535,
-0.05591528117656708,
0.03319397568702698,
0.08195048570632935,
-0.009557228535413742,
0.036031849682331085,
-0.02823227271437645,
0.026456313207745552,
0.046577759087085724,
-0.022776231169700623,
0.013374627567827702,
-0.028909701853990555,
0.017768755555152893,
0.019938357174396515,
-0.06170088052749634,
0.007923162542283535,
0.02010313607752323,
-0.002233681734651327,
-0.014464004896581173,
0.03301088884472847,
0.02691403403878212,
-0.024186013266444206,
0.04357510432600975,
0.01634981855750084,
-0.002327514812350273,
0.005282108206301928,
0.017329342663288116,
-0.0011397269554436207,
-0.07404106110334396,
0.04672423005104065,
-0.08011960238218307,
0.009163588285446167,
0.028085801750421524,
0.004423880018293858,
0.002345823682844639,
-0.05719690024852753,
-0.010060722939670086,
-0.06832869350910187,
0.0068795569241046906,
-0.0014212258392944932,
0.042586423456668854,
-0.004053125623613596,
0.012495801784098148,
0.008092518895864487,
0.035537511110305786,
0.02266637794673443,
-0.005222604144364595,
-0.04057244956493378,
-0.028561832383275032,
-0.053718216717243195,
-0.035555820912122726,
-0.03729516267776489,
-0.0020654690451920033,
-0.03357846289873123,
-0.0010115648619830608,
0.0034535101149231195,
-0.03247993066906929,
0.00016992917517200112,
0.022776231169700623,
0.04016965627670288,
-0.019993282854557037,
-0.019370781257748604,
-0.0326630175113678,
0.01924262009561062,
0.038924653083086014,
-0.011809219606220722,
0.006563728675246239,
-0.025247927755117416,
0.014482313767075539,
0.03041102923452854,
0.019736958667635918,
0.045259520411491394,
-0.06203044205904007,
-0.026199989020824432,
0.04441731050610542,
0.05591528117656708,
-0.022593142464756966,
0.01581886038184166,
0.010866312310099602,
-0.04035274311900139,
0.022373436018824577,
0.08209695667028427,
0.015178050845861435,
0.034969937056303024,
-0.030465954914689064,
0.00885233748704195,
-0.004600103013217449,
0.05748984217643738,
-0.011040247045457363,
-0.023325497284531593,
0.006659850478172302,
-0.07572547346353531,
0.05617160350084305,
-0.04822555556893349,
-0.014372460544109344,
0.031820811331272125,
-0.0022188059519976377,
0.08041254431009293,
0.01659698784351349,
-0.009923405945301056,
0.010234656743705273,
-0.025504251942038536,
-0.0211467407643795,
-0.02742668241262436,
0.027847787365317345,
-0.009795243851840496,
0.023911381140351295,
0.026199989020824432,
0.0013937625335529447,
0.04009642079472542,
0.0205608569085598,
0.035006552934646606,
-0.03119830973446369,
-0.041597746312618256,
-0.019920047372579575,
0.004709956236183643,
-0.017375115305185318,
-0.05536601319909096,
-0.008248144760727882,
0.03570229187607765,
-0.01951725222170353,
0.005900032352656126,
-0.043428633362054825,
-0.014793564565479755,
0.04064568504691124,
-0.05734337121248245,
0.03667265921831131,
-0.028305508196353912,
0.0012038080021739006,
-0.056647635996341705,
-0.0859784409403801,
0.04141465574502945,
-0.014637939631938934,
-0.006147202104330063,
-0.03504317253828049,
0.019077839329838753,
0.028030876070261,
-0.01017057616263628,
-0.018528573215007782,
-0.015992796048521996,
0.04192730411887169,
0.00046830650535412133,
-0.05254644900560379,
0.01172682922333479,
0.01004241406917572,
0.04694393649697304,
0.00899423100054264,
0.049287471920251846,
0.07242988049983978,
-0.03539104014635086,
0.03753317892551422,
0.04943394288420677,
0.022629760205745697,
-0.019883429631590843,
-0.031527869403362274,
0.004064568318426609,
0.05009306222200394,
-0.01789691671729088,
-0.0163315087556839,
-0.026730945333838463,
0.05375483259558678,
0.0014555549714714289,
0.0219340231269598,
-0.06660766154527664,
0.01177260186523199,
0.0765310674905777,
-0.02848859690129757,
-0.07784930616617203,
-0.005954958964139223,
0.0454426072537899,
0.0028424516785889864,
-0.13629120588302612,
0.007241156883537769,
0.05302247777581215,
-0.02010313607752323,
0.06203044205904007,
0.03409111127257347,
-0.06726677715778351,
0.032040517777204514,
-0.024424029514193535,
-0.08019284158945084,
0.04617496207356453,
0.0633486807346344,
-0.014683711342513561,
-0.04086539149284363,
0.02266637794673443,
0.011653593741357327,
-0.020945344120264053,
-0.017549049109220505,
0.03621494024991989,
-0.019883429631590843,
0.03511640802025795,
0.013017604127526283,
-0.0052775307558476925,
-0.02427755855023861,
-0.007108417805284262,
0.02925756946206093,
-0.026749255135655403,
0.009419912472367287,
0.0020071095786988735,
-0.05851513892412186,
-0.004847272764891386,
-0.0025975704193115234,
-0.06093190982937813,
-0.02164108119904995,
-0.0064538754522800446,
-0.026511238887906075,
0.022098802030086517,
-0.039473917335271835,
0.0006310837925411761,
-0.029367422685027122,
0.016743458807468414,
-0.033651698380708694,
-0.01580055244266987,
-0.003448932897299528,
0.04489334300160408,
0.06012631952762604,
0.014967499300837517,
0.03822891414165497,
0.02610844373703003,
0.0539013035595417,
0.10121142119169235,
0.0017153120134025812,
0.02219034731388092,
0.018858132883906364,
0.00898507609963417,
-0.010765613988041878,
0.022556524723768234,
-0.007717187516391277,
-0.04141465574502945,
0.028415361419320107,
0.013548561371862888,
0.019920047372579575,
0.017887763679027557,
-0.061883971095085144,
0.03330383077263832,
0.012358485721051693,
-0.030429337173700333,
-0.040133036673069,
-0.026785872876644135,
0.04518628492951393,
-0.027243593707680702,
-0.03515302389860153,
0.031784191727638245,
-0.0069299060851335526,
0.06100514531135559,
-0.015013271011412144,
-0.09037256985902786,
0.006655273027718067,
-0.04749320074915886,
0.0187848974019289,
0.08392784744501114,
0.0034626645501703024,
-0.06444720923900604,
0.009200206026434898,
0.03013639524579048,
0.03251654654741287,
-0.023691674694418907,
-0.013090839609503746,
0.07008634507656097,
0.037350088357925415,
-0.00036617735167965293,
0.007195384707301855,
0.007996398024260998,
-0.012010617181658745,
-0.0005996153922751546,
-0.0028493173886090517,
0.010088185779750347,
-0.035775527358055115,
0.0044376119039952755,
0.04335539788007736,
0.0897134467959404,
-0.032040517777204514,
-0.02347196824848652,
-0.07704371213912964,
0.08700373768806458,
-0.013374627567827702,
0.015141433104872704,
-0.03460375964641571,
-0.030758896842598915,
-0.01135149784386158,
0.056903958320617676,
-0.00974947214126587,
-0.06876810640096664,
0.015361139550805092,
-0.09667082130908966,
-0.04192730411887169,
0.04225686565041542,
0.014702020213007927,
0.03143632411956787,
-0.014940035529434681,
0.05840528756380081,
-0.03991333022713661,
0.010079031810164452,
0.007341855671256781,
-0.0005097875255160034,
0.032040517777204514,
0.040023185312747955,
-0.01635897345840931,
-0.027847787365317345,
-0.039766859263181686,
-0.030026542022824287,
-0.024332484230399132,
0.03720361739397049,
0.009941714815795422,
-0.037862736731767654,
-0.01715540885925293,
0.07305237650871277,
-0.03379816934466362,
-0.0026593629736453295,
0.04225686565041542,
0.04888467490673065,
0.0485917329788208,
0.046321433037519455,
0.0279393307864666,
-0.009072043932974339,
-0.05675748735666275,
-0.009950869716703892,
-0.024753589183092117,
-0.0908852145075798,
0.03724023699760437,
0.07257635146379471,
0.021201668307185173,
0.037862736731767654,
-0.01798846200108528,
0.0426962785422802,
-0.10040582716464996,
0.0074059367179870605,
-0.016230810433626175,
0.0016580967931076884,
0.021567845717072487,
0.0014418233186006546,
0.06979340314865112,
0.04624819755554199,
-0.017530741170048714,
0.04833541065454483,
-0.01823563128709793,
0.023618439212441444,
0.029495585709810257,
0.008010129444301128,
-0.010811385698616505,
-0.016825849190354347,
0.000008139757483149879,
0.029733600094914436,
0.05221688747406006,
-0.04005980119109154,
-0.04478348791599274,
-0.014344997704029083,
-0.09740317612886429,
-0.0011317168828099966,
-0.03822891414165497,
0.012651427648961544,
-0.018354639410972595,
-0.02217203751206398,
0.023691674694418907,
-0.0279393307864666,
-0.041268184781074524,
-0.02451557293534279,
-0.08304902166128159,
0.027902713045477867,
-0.02453388273715973,
-0.05225350707769394,
0.024973295629024506,
0.026346459984779358,
0.04057244956493378,
0.014061209745705128,
-0.055549103766679764,
-0.010088185779750347,
0.026712637394666672,
-0.02248328924179077,
-0.004774037282913923,
0.030282866209745407,
-0.010014950297772884,
0.017576511949300766,
0.03480515629053116,
-0.020652402192354202,
0.10121142119169235,
-0.004590948577970266,
-0.004643586464226246,
0.018061697483062744,
-0.05207041651010513,
0.00427969777956605,
0.06170088052749634,
-0.022629760205745697,
0.03064904361963272,
-0.042659658938646317,
-0.012861979193985462,
0.010298737324774265,
-0.000252605153946206,
-0.022574832662940025,
0.006865825038403273,
0.044746872037649155,
0.03187573701143265,
0.008650939911603928,
0.0033665429800748825,
-0.01439992431551218,
0.05170423910021782,
-0.033431991934776306,
0.031546179205179214,
-0.013356318697333336,
-0.015013271011412144,
-0.03612339496612549,
0.006980255711823702,
-0.027060505002737045,
0.009795243851840496,
0.06543589383363724,
0.09813553094863892,
-0.000672278692945838,
-0.0332489013671875,
0.026712637394666672,
-0.03436574339866638,
-0.02986176311969757,
0.028982937335968018,
-0.01004241406917572,
-0.01796099916100502,
0.04401451721787453,
0.05104512348771095,
0.007639375049620867,
-0.03962038829922676,
0.03006315976381302,
0.035006552934646606,
-0.00818864069879055,
0.0036388873122632504,
-0.0133288549259305,
0.0015230688732117414,
0.012166242115199566,
-0.03086875006556511,
0.013264774344861507,
0.025247927755117416,
-0.004417014308273792,
0.06122485175728798,
-0.057160284370183945,
-0.037606414407491684,
0.001311372616328299,
-0.030264558270573616,
-0.008605167269706726,
-0.019846811890602112,
0.04163436219096184,
-0.025138074532151222,
0.014326688833534718,
0.048994529992341995,
0.03702053055167198,
-0.03198559209704399,
0.027023887261748314,
0.06803575158119202,
-0.004197307862341404,
0.0298068355768919,
0.05382806807756424,
0.02722528576850891,
-0.043977897614240646,
-0.01745750568807125,
-0.014363306574523449,
-0.0018697930499911308,
-0.04214701056480408,
-0.007218271028250456,
0.009868479333817959,
0.0037487405352294445,
-0.0067559718154370785,
-0.004471940919756889,
-0.024424029514193535,
-0.008678402751684189,
-0.024900060147047043,
-0.02691403403878212,
-0.011653593741357327,
-0.0391443595290184,
-0.0645204484462738,
-0.06287264823913574,
0.06257970631122589,
-0.021860787644982338,
-0.008010129444301128,
-0.0322602242231369,
-0.016725150868296623,
-0.005762715823948383,
-0.010307892225682735,
-0.027042197063565254,
-0.0195721797645092,
0.04331877827644348,
-0.031015221029520035,
-0.006334868259727955,
-0.018574345856904984,
0.0074700177647173405,
-0.05170423910021782,
-0.013191538862884045,
-0.0012335599167272449,
0.035482585430145264,
-0.06543589383363724,
-0.013136612251400948,
0.02663940191268921,
-0.002384729916229844
] |
725,966 | pymediainfo | to_data |
Returns a dict representation of the object's :py:class:`Tracks <Track>`.
:rtype: dict
| def to_data(self) -> Dict[str, Any]:
"""
Returns a dict representation of the object's :py:class:`Tracks <Track>`.
:rtype: dict
"""
return {"tracks": [_.to_data() for _ in self.tracks]}
| (self) -> Dict[str, Any] | [
-0.04172525182366371,
-0.0281415693461895,
-0.0690029114484787,
-0.006359884515404701,
-0.028766529634594917,
-0.005335134454071522,
-0.04977620393037796,
0.0710248351097107,
0.025255726650357246,
-0.006897533778101206,
0.03343534469604492,
-0.0261931661516428,
0.012048856355249882,
0.005417849402874708,
0.01571589894592762,
0.012067237868905067,
-0.04264431074261665,
-0.012866818346083164,
-0.0037842232268303633,
-0.007490326184779406,
-0.003140882356092334,
-0.033950019627809525,
0.016708482056856155,
-0.006663173902779818,
-0.012591101229190826,
0.03189132735133171,
-0.009539826773107052,
-0.009149227291345596,
-0.043379560112953186,
0.055805228650569916,
-0.06528991460800171,
-0.023013222962617874,
0.042460501194000244,
0.06896614283323288,
0.01987004280090332,
0.015862949192523956,
-0.04889390990138054,
0.03295743465423584,
-0.13557949662208557,
-0.0006858473643660545,
-0.01749887317419052,
-0.03380297124385834,
-0.03974008560180664,
0.013179298490285873,
0.06573106348514557,
-0.00016198404773604125,
-0.003432683413848281,
0.02709384262561798,
0.06988520175218582,
-0.04808513820171356,
0.018519027158617973,
-0.0011534183286130428,
-0.020384715870022774,
0.05654047429561615,
-0.023215416818857193,
-0.03878426551818848,
0.008464528247714043,
0.050364404916763306,
-0.027240892872214317,
0.07580394297838211,
0.00552354147657752,
0.014153500087559223,
0.059738799929618835,
-0.0673118382692337,
0.008455337956547737,
-0.006405837368220091,
-0.039188653230667114,
0.00027140945894643664,
-0.02187359146773815,
-0.009383587166666985,
-0.004351741634309292,
-0.0498497299849987,
0.03926217555999756,
0.06113576889038086,
0.006097952835261822,
-0.012398098595440388,
0.0038830218836665154,
-0.006442599929869175,
0.001198222511447966,
0.014658981934189796,
-0.020660433918237686,
-0.014208643697202206,
-0.04279136285185814,
0.011515802703797817,
-0.00819800142198801,
-0.009870687499642372,
0.009521445259451866,
-0.0017220857553184032,
-0.05087907612323761,
0.0037106985691934824,
-0.014613029547035694,
0.04609997197985649,
-0.031762659549713135,
0.06301064789295197,
-0.026579169556498528,
-0.07580394297838211,
-0.039887137711048126,
0.02639535814523697,
-0.05874621495604515,
0.007830377668142319,
-0.02622992731630802,
0.01939213275909424,
-0.07874492555856705,
0.01363882701843977,
-0.026781363412737846,
-0.06749565154314041,
0.03567785024642944,
-0.042717836797237396,
-0.011093035340309143,
0.015881329774856567,
-0.0418723039329052,
0.036321189254522324,
-0.0033040151465684175,
0.03641309589147568,
0.01814221404492855,
-0.051651086658239365,
0.030659789219498634,
0.018739601597189903,
0.002908820053562522,
-0.060179948806762695,
-0.04503386467695236,
0.07771558314561844,
-0.023491134867072105,
0.04143115505576134,
-0.03404192626476288,
0.0123337646946311,
0.05021735280752182,
-0.011194132268428802,
-0.003940463066101074,
-0.013124154880642891,
0.04723960533738136,
-0.021046439185738564,
-0.027387941256165504,
0.012186715379357338,
0.09109707176685333,
-0.028656242415308952,
0.10161110013723373,
0.004163334611803293,
0.029593681916594505,
0.007917688228189945,
0.008942438289523125,
0.006741293705999851,
0.03389487415552139,
0.031744278967380524,
0.0010402592597529292,
-0.038343120366334915,
-0.01966785080730915,
-0.02402418851852417,
-0.08977363258600235,
-0.06845147162675858,
0.01070703100413084,
0.004893986042588949,
0.0364498570561409,
0.01104708295315504,
-0.02878491021692753,
-0.03889455273747444,
-0.011451467871665955,
-0.017609160393476486,
0.010541600175201893,
0.012297001667320728,
-0.018289262428879738,
0.0246675293892622,
-0.010909223929047585,
-0.0016405193600803614,
-0.02900548465549946,
0.03929894044995308,
0.031156081706285477,
-0.0706939771771431,
-0.0015681434888392687,
-0.01135037187486887,
-0.028068045154213905,
-0.014401646330952644,
-0.020844245329499245,
0.04540148749947548,
-0.0231418926268816,
-0.029961304739117622,
0.02400580607354641,
0.04716607928276062,
0.004154144320636988,
0.036394715309143066,
0.030917126685380936,
-0.053820062428712845,
-0.020035473629832268,
0.00781659223139286,
0.034832313656806946,
-0.041137054562568665,
0.04282812401652336,
0.03793873265385628,
0.02885843627154827,
0.008427766151726246,
0.03468526527285576,
-0.028509194031357765,
-0.04308545961976051,
-0.021119963377714157,
0.015044987201690674,
-0.05672428756952286,
0.028766529634594917,
-0.008243954740464687,
-0.0898471549153328,
0.07194389402866364,
-0.006557481829077005,
-0.03275524452328682,
0.023638183251023293,
-0.06981167942285538,
-0.04481329023838043,
0.020053856074810028,
-0.004999678116291761,
-0.030898744240403175,
0.004852628801018,
-0.022425025701522827,
0.048342473804950714,
-0.005969284567981958,
0.009907450526952744,
-0.02595421113073826,
0.06881909817457199,
-0.06859852373600006,
0.024961628019809723,
-0.010890842415392399,
0.014162690378725529,
0.010431312955915928,
0.026487264782190323,
0.004360932391136885,
-0.08455337584018707,
0.004443647805601358,
-0.0471293181180954,
-0.014043212868273258,
-0.0364498570561409,
-0.006189858540892601,
-0.01058755349367857,
-0.08484747260808945,
0.008754031732678413,
-0.0014187964843586087,
-0.07403934746980667,
-0.010780555196106434,
0.02667107619345188,
0.06330474466085434,
-0.003299419768154621,
-0.006906724069267511,
-0.0220390222966671,
0.009112464264035225,
0.07414963841438293,
-0.014484360814094543,
-0.018914222717285156,
0.015219608321785927,
-0.033306676894426346,
-0.04054885730147362,
0.06565753370523453,
0.029134152457118034,
0.049923256039619446,
0.003032892942428589,
0.07503192871809006,
-0.023233797401189804,
0.0025457919109612703,
0.03670719265937805,
0.01311496365815401,
-0.059738799929618835,
-0.012967914342880249,
0.0065299104899168015,
0.021983878687024117,
-0.048121899366378784,
0.0007570743910036981,
0.019300227984786034,
0.008956224657595158,
0.06914995610713959,
-0.01430973969399929,
0.010045308619737625,
-0.03207514062523842,
-0.0017174904933199286,
-0.023307321593165398,
0.011727185919880867,
0.12006579339504242,
-0.039445988833904266,
0.01589971035718918,
-0.03542051091790199,
-0.013473397120833397,
-0.037626251578330994,
0.024281524121761322,
-0.041357629001140594,
-0.01922670193016529,
0.032847147434949875,
-0.020219285041093826,
-0.04580587148666382,
0.02187359146773815,
-0.06889262050390244,
0.08403870463371277,
-0.018316835165023804,
0.01297710556536913,
0.07536279410123825,
0.015522897243499756,
-0.024097712710499763,
0.0030535717960447073,
-0.014704935252666473,
-0.04911448433995247,
-0.007926879450678825,
0.013013867661356926,
-0.0019633385818451643,
-0.06775298714637756,
-0.03856369107961655,
0.09337633848190308,
0.027626896277070045,
0.0063552893698215485,
0.048563048243522644,
0.04632054641842842,
0.0445927157998085,
-0.05970203876495361,
0.017434539273381233,
-0.0007909646956250072,
-0.006051999982446432,
-0.017590777948498726,
-0.0649222880601883,
-0.0016715375240892172,
0.015302322804927826,
0.06631925702095032,
0.07624509185552597,
-0.041614968329668045,
-0.054040636867284775,
-0.03893131762742996,
-0.004880200140178204,
0.022112546488642693,
0.06113576889038086,
-0.023491134867072105,
-0.003899105591699481,
0.0307700764387846,
-0.005477588158100843,
0.1113898828625679,
-0.03690938651561737,
0.021542729809880257,
-0.0009529487579129636,
0.053415678441524506,
-0.015008224174380302,
-0.026156403124332428,
-0.005381087306886911,
0.026560788974165916,
0.039372462779283524,
-0.023435991257429123,
0.03494260087609291,
-0.006428814027458429,
0.013271204195916653,
-0.004719364922493696,
-0.00590035505592823,
-0.02556820586323738,
-0.021910352632403374,
0.009438729844987392,
0.02578878030180931,
-0.04143115505576134,
0.007770639378577471,
-0.04121058061718941,
-0.02902386523783207,
0.026781363412737846,
0.0019300227286294103,
0.013252822682261467,
-0.022976461797952652,
0.03510803356766701,
0.06837794929742813,
0.0030949292704463005,
-0.06106224283576012,
0.03599032759666443,
-0.02464914694428444,
-0.03415221348404884,
-0.01834440603852272,
0.05826830491423607,
0.031100938096642494,
0.05029087886214256,
-0.0018323727417737246,
0.01862931437790394,
0.018289262428879738,
0.024832960218191147,
0.02617478556931019,
0.0028123189695179462,
-0.0016922163777053356,
-0.051614321768283844,
0.03771815821528435,
-0.025402775034308434,
0.022663980722427368,
0.03100903145968914,
0.034611742943525314,
0.02488810196518898,
0.03970332443714142,
-0.05223928391933441,
0.001662347000092268,
-0.035255081951618195,
0.003317801048979163,
-0.029851019382476807,
-0.0016680910484865308,
0.07977427542209625,
0.00030616135336458683,
0.06113576889038086,
-0.011460659094154835,
0.010339407250285149,
-0.014144309796392918,
-0.022755887359380722,
-0.01006369013339281,
-0.061907775700092316,
0.006516124587506056,
-0.0484895221889019,
-0.044445667415857315,
0.009833925403654575,
0.016000807285308838,
0.019594326615333557,
-0.004999678116291761,
0.006782651413232088,
-0.0886707603931427,
0.0019162368262186646,
-0.0009868390625342727,
-0.02442857436835766,
-0.01288519985973835,
0.020439859479665756,
-0.04786456376314163,
0.018932603299617767,
-0.04521767422556877,
0.026983555406332016,
0.00013189924356993288,
-0.016625767573714256,
-0.01601918786764145,
0.04481329023838043,
0.0537465363740921,
-0.009319252334535122,
-0.03409706801176071,
-0.007963641546666622,
0.05396711081266403,
-0.007090535946190357,
0.01669929176568985,
-0.003931272309273481,
0.005128346383571625,
0.022847793996334076,
0.0023240691516548395,
-0.0027571753598749638,
0.0440780445933342,
0.014760078862309456,
0.061687204986810684,
0.03490583971142769,
-0.04087971895933151,
0.005445421207696199,
-0.06907643377780914,
0.020366335287690163,
0.055106744170188904,
0.015008224174380302,
-0.02946501411497593,
0.026505645364522934,
0.08293583244085312,
-0.0035912208259105682,
0.017728637903928757,
0.022333120927214622,
-0.011644470505416393,
0.04455595463514328,
-0.05411416292190552,
-0.07319381833076477,
-0.008905676193535328,
0.054922934621572495,
0.0018300751689821482,
-0.0025825542397797108,
-0.0029616658575832844,
0.10227282345294952,
-0.08808255940675735,
0.013914545066654682,
-0.019520800560712814,
0.013344728387892246,
-0.031303130090236664,
0.015826186165213585,
-0.05962851271033287,
0.025476301088929176,
-0.030089974403381348,
-0.00012033921666443348,
-0.04341632127761841,
0.012287811376154423,
0.01693824678659439,
-0.043158985674381256,
-0.004779104143381119,
-0.05874621495604515,
-0.027865851297974586,
0.09830249100923538,
0.05040116608142853,
0.0010586404241621494,
-0.03290229290723801,
0.0016439658356830478,
0.056466951966285706,
-0.039409227669239044,
0.013620446436107159,
-0.03580651804804802,
-0.08014189451932907,
0.0035360774490982294,
-0.03758949041366577,
-0.021303774788975716,
-0.005964689422398806,
-0.0018427121685817838,
-0.002607828238978982,
0.011984522454440594,
0.003538375021889806,
-0.007922284305095673,
-0.01049564778804779,
-0.016708482056856155,
-0.0009667346021160483,
-0.03687262535095215,
0.0007599464734084904,
0.02663431316614151,
0.0645914301276207,
0.05065850168466568,
0.04080619663000107,
-0.02224121429026127,
-0.004871009849011898,
0.0357697531580925,
-0.033729445189237595,
0.003173049306496978,
0.004565422888845205,
-0.044886816293001175,
0.004411480389535427,
0.009971784427762032,
0.04025476053357124,
-0.02207578346133232,
0.03856369107961655,
-0.04382070526480675,
-0.008345050737261772,
0.027902614325284958,
-0.020623670890927315,
0.019061272963881493,
0.02878491021692753,
-0.07470107078552246,
0.019373752176761627,
-0.09661142528057098,
-0.008937843143939972,
-0.022443408146500587,
0.037479203194379807,
0.04389423131942749,
0.01037617027759552,
-0.02268236316740513,
0.007839568890631199,
-0.08220058679580688,
0.009843115694820881,
-0.00913084577769041,
0.03521832078695297,
0.03580651804804802,
-0.02426314353942871,
-0.0005962391733191907,
0.035255081951618195,
-0.017434539273381233,
0.026505645364522934,
0.04760722815990448,
0.012618672102689743,
-0.0357697531580925,
0.019061272963881493,
0.03534698858857155,
0.007609804160892963,
0.011580136604607105,
-0.06275331228971481,
0.06378265470266342,
0.01770106516778469,
0.005509755574166775,
0.023950662463903427,
0.018399549648165703,
0.01691986620426178,
-0.010559981688857079,
-0.02187359146773815,
-0.019759757444262505,
-0.016726864501833916,
0.024557242169976234,
-0.02183682844042778,
0.011837473139166832,
-0.03981361165642738,
-0.005160513333976269,
0.005427040159702301,
0.019759757444262505,
0.004684900399297476,
-0.03345372900366783,
0.01939213275909424,
-0.07948017120361328,
0.04804837703704834,
0.03031054697930813,
0.0874943658709526,
-0.05334215238690376,
-0.034391168504953384,
0.056025803089141846,
-0.02031119167804718,
0.039409227669239044,
0.011377943679690361,
0.028490811586380005,
0.03100903145968914,
-0.0050226543098688126,
0.008717269636690617,
0.01942889578640461,
-0.06808385252952576,
-0.0029892376624047756,
0.05051145330071449,
0.02225959487259388,
0.008505886420607567,
-0.00031190545996651053,
-0.024722672998905182,
0.0028973317239433527,
0.026156403124332428,
0.05437149852514267,
-0.0015244882088154554,
0.004514874424785376,
-0.0019909103866666555,
-0.0019346179906278849,
0.014732507057487965,
0.054702360183000565,
-0.06282683461904526,
-0.039666563272476196,
-0.0016818769508972764,
-0.032847147434949875,
-0.04937181994318962,
0.026138022541999817,
0.0015336787328124046,
-0.021450825035572052,
0.0006536802975460887,
0.014024832285940647,
-0.05455530807375908,
-0.02295807935297489,
0.047901324927806854,
-0.0008616172708570957,
-0.00781659223139286,
-0.036780718713998795,
0.0024148260708898306,
0.0029869398567825556,
-0.04341632127761841,
0.037405677139759064,
-0.034391168504953384,
-0.0036601503379642963,
-0.01856498047709465,
-0.03053112141788006,
0.03128474950790405,
0.05742277204990387,
-0.028987104073166847,
-0.008349645882844925,
0.06308417022228241,
-0.04418833181262016,
-0.048599809408187866,
0.009751209989190102,
-0.032387617975473404,
-0.058672692626714706,
-0.06337827444076538,
0.014125928282737732,
-0.03856369107961655,
0.022590456530451775,
0.016350049525499344,
-0.04455595463514328,
0.0001695950049906969,
0.003430385608226061,
-0.010284263640642166,
0.041137054562568665,
0.0051329415291547775,
0.013813448138535023,
0.023307321593165398,
-0.022130927070975304,
0.008280716836452484,
-0.0349242202937603,
-0.02753499150276184,
0.0028651647735387087,
-0.025016771629452705,
-0.03793873265385628,
-0.04676169529557228,
0.006304740905761719,
-0.018895842134952545,
-0.016552243381738663,
0.004519470036029816,
-0.00018596573499962687,
0.10624315589666367,
0.03295743465423584,
0.0112308943644166,
-0.02731441706418991,
-0.025880685076117516,
-0.046394068747758865,
0.057937443256378174,
-0.06264302134513855,
-0.06337827444076538,
0.051651086658239365,
0.012315383180975914,
-0.05506998300552368,
0.03189132735133171,
0.03652338311076164,
-0.025899067521095276,
0.01880393549799919,
0.051393747329711914,
-0.011947759427130222,
0.007062964141368866,
-0.015872139483690262,
-0.0018243310041725636,
-0.024299904704093933,
-0.013399871997535229,
0.017526444047689438,
-0.025476301088929176,
-0.019961949437856674,
0.04282812401652336,
-0.019116416573524475,
0.049040958285331726,
-0.0064839571714401245,
0.04393099248409271,
-0.006405837368220091,
-0.02795775793492794,
0.010219929739832878,
-0.029299583286046982,
0.03429926186800003,
0.01430973969399929,
-0.016947437077760696,
-0.020678814500570297,
0.03826959431171417,
-0.01562399324029684,
0.021983878687024117,
-0.04690874367952347,
0.03779168426990509,
-0.00692970072850585,
-0.007177846506237984,
-0.023288941010832787,
0.03707481920719147,
0.007894712500274181,
0.05481264740228653,
-0.02464914694428444,
-0.0016359240980818868,
0.002901927102357149,
0.028674622997641563,
-0.009084892459213734,
-0.04264431074261665,
0.06025347113609314,
-0.03841664269566536,
-0.05429797247052193,
-0.04076943174004555,
0.015550469048321247,
0.03650500252842903,
0.0283989068120718,
-0.0005471269832924008,
0.03753434866666794,
0.02470429055392742,
0.019061272963881493,
0.03194647282361984,
0.043342795222997665,
-0.003857747884467244,
0.012131571769714355,
0.043600134551525116,
-0.014355693012475967,
-0.0320383757352829,
-0.0406959094107151,
-0.006157691590487957,
-0.014465980231761932,
-0.03670719265937805,
-0.028711386024951935,
-0.03545727580785751,
-0.009241132996976376,
-0.005620042327791452,
-0.04209287837147713,
-0.0010655333753675222,
0.04047533497214317,
0.01661657728254795,
0.00841857586055994,
0.019704613834619522,
0.05499645695090294,
-0.03205676004290581,
-0.041578203439712524,
0.08455337584018707,
-0.004445945378392935,
0.02420799992978573,
-0.03190970793366432,
0.04632054641842842,
0.06540019810199738,
-0.052533380687236786,
-0.020421478897333145,
0.012297001667320728,
0.030292166396975517,
0.003926677163690329,
0.01037617027759552,
0.008225573226809502,
-0.030475977808237076,
-0.05745953321456909,
-0.013923735357820988,
0.009149227291345596,
0.01376749575138092,
-0.056908100843429565,
0.04172525182366371,
0.052717193961143494,
0.0019265762530267239
] |
725,967 | pymediainfo | to_json |
Returns a JSON representation of the object's :py:class:`Tracks <Track>`.
:rtype: str
| def to_json(self) -> str:
"""
Returns a JSON representation of the object's :py:class:`Tracks <Track>`.
:rtype: str
"""
return json.dumps(self.to_data())
| (self) -> str | [
-0.06842861324548721,
-0.040190983563661575,
-0.046704694628715515,
0.013651074841618538,
-0.016024421900510788,
-0.007020429242402315,
-0.053842056542634964,
0.08329235017299652,
0.028133688494563103,
-0.02395867556333542,
0.04466049745678902,
-0.04490302875638008,
0.0038415302988141775,
-0.002267239149659872,
0.016085054725408554,
0.02388938143849373,
-0.03773101791739464,
-0.06347403675317764,
0.03267249837517738,
0.000007541053946624743,
-0.016942577436566353,
-0.027284827083349228,
0.03443951532244682,
-0.00002273735481139738,
-0.006318819243460894,
0.03582540899515152,
0.0006626315298490226,
0.004746693652123213,
-0.05786115676164627,
0.030160561203956604,
-0.07670934498310089,
-0.04192335158586502,
0.04261630028486252,
0.05872734263539314,
0.008103160187602043,
0.04403684288263321,
-0.052733343094587326,
0.035652171820402145,
-0.14759792387485504,
-0.009649300947785378,
-0.043794311583042145,
0.015305488370358944,
-0.04573456570506096,
-0.011572231538593769,
0.0637512132525444,
-0.01784341037273407,
-0.025743016973137856,
0.0665230080485344,
0.056267376989126205,
-0.05134744569659233,
0.028809312731027603,
0.016128364950418472,
-0.04185405746102333,
0.03811213746666908,
-0.05702961981296539,
-0.037627074867486954,
0.035998646169900894,
0.020944353193044662,
-0.021394768729805946,
0.038562554866075516,
-0.0008483199053443968,
0.013564457185566425,
0.06811678409576416,
-0.04105716943740845,
-0.0030316475313156843,
0.0013176838401705027,
-0.03606794402003288,
0.010870621539652348,
0.010931254364550114,
-0.008588223718106747,
0.015253517776727676,
-0.03126927837729454,
0.0413689948618412,
0.05453500524163246,
0.0020755957812070847,
0.006271179299801588,
-0.007185004185885191,
-0.017280390486121178,
-0.02096167579293251,
-0.01844974048435688,
0.014196772128343582,
0.002092919545248151,
0.00402992544695735,
-0.013616427779197693,
-0.022832635790109634,
-0.026747792959213257,
-0.014404656365513802,
-0.027856508269906044,
-0.061707016080617905,
0.004324428271502256,
-0.008406325243413448,
0.04213123768568039,
-0.03539231792092323,
0.04985760897397995,
-0.022971225902438164,
-0.06977986544370651,
-0.02558710426092148,
-0.014344023540616035,
-0.03523640334606171,
0.0022412536200135946,
-0.0007866042433306575,
0.03099209815263748,
-0.08661849796772003,
-0.0006610074196942151,
-0.020875057205557823,
-0.0637858584523201,
0.02550048567354679,
-0.0013404212659224868,
-0.018692271783947945,
0.029935352504253387,
-0.011424980126321316,
0.02971014380455017,
-0.007994887419044971,
-0.009302826598286629,
0.06759707629680634,
-0.024062618613243103,
0.030281826853752136,
0.03248193487524986,
0.04978831112384796,
-0.06842861324548721,
-0.004673067945986986,
0.03984450921416283,
-0.02598555013537407,
0.028722694143652916,
-0.02265939861536026,
0.017280390486121178,
0.03099209815263748,
0.019211983308196068,
0.009484725072979927,
-0.05048125982284546,
0.04064140096306801,
-0.01288883201777935,
-0.01506295707076788,
0.012022647075355053,
0.1078227087855339,
-0.006925148889422417,
0.04791735112667084,
-0.004337421152740717,
0.03669159486889839,
0.03152913227677345,
0.004534478299319744,
-0.01691659353673458,
0.02082308754324913,
0.014577893540263176,
0.011502936482429504,
-0.008181117475032806,
-0.04285883158445358,
-0.031581103801727295,
-0.08467824012041092,
-0.07359107583761215,
0.018068619072437286,
-0.002156800590455532,
0.048818185925483704,
-0.038631848990917206,
-0.015807876363396645,
-0.01268094778060913,
-0.010498162358999252,
-0.01516689918935299,
0.037142012268304825,
0.00877012312412262,
0.001567794824950397,
0.009502049535512924,
-0.00032644346356391907,
-0.0017312872223556042,
-0.016942577436566353,
0.03780031204223633,
0.03343474119901657,
-0.04064140096306801,
-0.02802974544465542,
0.01912536472082138,
-0.013417204841971397,
-0.009805213660001755,
-0.012291165068745613,
0.04403684288263321,
-0.010801326483488083,
-0.031113363802433014,
0.03717665746808052,
0.09347867965698242,
-0.0014595217071473598,
0.04088393226265907,
0.00392598332837224,
-0.03918620944023132,
-0.005409325007349253,
0.004443529061973095,
0.05574766546487808,
-0.054638948291540146,
0.05366881936788559,
0.00025065228692255914,
0.002834590384736657,
0.020320700481534004,
0.03152913227677345,
-0.006894832476973534,
-0.024790214374661446,
-0.009320150129497051,
0.03776566684246063,
-0.05055055394768715,
0.06291967630386353,
-0.025050070136785507,
-0.1004081591963768,
0.05751468241214752,
-0.01143364142626524,
-0.006990112829953432,
-0.005807770416140556,
-0.0596974678337574,
0.0016663233982399106,
0.027977773919701576,
0.0010080228094011545,
-0.056267376989126205,
0.01610237918794155,
-0.03960197791457176,
0.03793890029191971,
0.003486394649371505,
-0.005924705415964127,
-0.006990112829953432,
0.07078463584184647,
-0.05096632242202759,
0.025552457198500633,
-0.004060241859406233,
0.015738580375909805,
0.011736806482076645,
0.004642751533538103,
0.003508049063384533,
-0.08038196712732315,
0.01191004365682602,
-0.0651371106505394,
-0.013547132723033428,
-0.017739469185471535,
-0.015140913426876068,
-0.0030706257093697786,
-0.07407613843679428,
-0.014681835658848286,
0.0014389498392120004,
-0.029952676966786385,
0.008363015949726105,
-0.01632758602499962,
0.08592554926872253,
-0.01959310472011566,
-0.006418430712074041,
-0.048333123326301575,
-0.008596885949373245,
0.03024717979133129,
-0.023421641439199448,
-0.03963662311434746,
0.011693497188389301,
0.0010183086851611733,
-0.02584696002304554,
0.04313601180911064,
0.02998732402920723,
0.05921240523457527,
-0.0022845629137009382,
0.0746304988861084,
-0.020909706130623817,
-0.022018421441316605,
0.025136688724160194,
-0.0037505810614675283,
-0.11163391917943954,
-0.010801326483488083,
0.01495901495218277,
0.011165124364197254,
-0.016968563199043274,
-0.024391768500208855,
0.008098829537630081,
-0.0016002767952159047,
0.0671813040971756,
-0.022139688953757286,
-0.005257742945104837,
-0.030420416966080666,
0.004149026237428188,
-0.004179342649877071,
0.040260277688503265,
0.07560062408447266,
-0.058380868285894394,
-0.0024491380900144577,
-0.0328977070748806,
-0.023854734376072884,
-0.06548358500003815,
-0.02347361296415329,
-0.03260320425033569,
-0.0393594466149807,
-0.0015829530311748385,
-0.04233912006020546,
-0.0420619435608387,
0.04916466027498245,
-0.0373152494430542,
0.04985760897397995,
-0.04389825463294983,
0.05595554783940315,
0.0630929172039032,
-0.007124371360987425,
-0.020580554381012917,
0.019298601895570755,
-0.0061152661219239235,
-0.05664849653840065,
-0.00582076283171773,
0.01605040766298771,
-0.03929014876484871,
-0.03114801086485386,
-0.016301602125167847,
0.07691722363233566,
0.012507711537182331,
0.009761904366314411,
0.04708581417798996,
0.030697595328092575,
0.00963197648525238,
-0.06461740285158157,
-0.01540076918900013,
-0.02558710426092148,
-0.030212532728910446,
0.012672286480665207,
-0.04573456570506096,
-0.004794334061443806,
-0.0017821756191551685,
0.04077998921275139,
0.07414543628692627,
-0.03248193487524986,
0.007353910245001316,
-0.0407106950879097,
-0.012499049305915833,
0.036864832043647766,
0.05252545699477196,
-0.012169898487627506,
-0.02028605155646801,
0.03956732898950577,
-0.016760678961873055,
0.0739375501871109,
-0.04708581417798996,
-0.008150801062583923,
0.03222208097577095,
0.025136688724160194,
-0.002598554827272892,
-0.00787362176924944,
-0.029225081205368042,
0.04313601180911064,
0.027977773919701576,
-0.028341572731733322,
-0.005699497181922197,
-0.002916877856478095,
-0.007159018889069557,
-0.024253180250525475,
0.006102273240685463,
0.016085054725408554,
-0.02014746330678463,
0.009242193773388863,
0.045145560055971146,
-0.05879663676023483,
0.04455655440688133,
0.0011650187661871314,
-0.012949465773999691,
0.021654624491930008,
-0.012906156480312347,
0.013737693428993225,
-0.015946464613080025,
0.03738454356789589,
0.05481218546628952,
-0.02958887815475464,
-0.050308022648096085,
0.035028520971536636,
0.0028995543252676725,
-0.021654624491930008,
-0.020649850368499756,
0.003635811386629939,
0.014257404953241348,
0.0556090772151947,
0.007457852829247713,
0.017297713086009026,
0.012862847186625004,
0.07227447628974915,
0.007821650244295597,
0.002444807207211852,
-0.0032092153560370207,
-0.07068069279193878,
0.03911691531538963,
-0.00014386791735887527,
0.0065267039462924,
-0.02116956003010273,
0.07795664668083191,
0.05318375676870346,
0.017583554610610008,
-0.046288926154375076,
-0.05678708851337433,
-0.02328305132687092,
-0.011303713545203209,
-0.042512357234954834,
0.007540140300989151,
0.040260277688503265,
0.008800439536571503,
0.0322394035756588,
-0.014707820490002632,
-0.0022434191778302193,
-0.008826425299048424,
-0.02056323178112507,
-0.035115137696266174,
-0.0542924739420414,
0.002834590384736657,
-0.0623999647796154,
-0.0522482767701149,
0.014188109897077084,
0.01313136424869299,
0.029415640980005264,
0.02842819131910801,
-0.01180610153824091,
-0.07837241888046265,
0.030610976740717888,
0.004772679414600134,
-0.030680272728204727,
0.010307601653039455,
0.02854945696890354,
-0.02305784448981285,
0.00004936577533953823,
-0.03942874073982239,
-0.013217982836067677,
-0.016344910487532616,
-0.06877508759498596,
-0.020112814381718636,
0.03887438029050827,
0.05612878501415253,
-0.04050280898809433,
-0.031113363802433014,
-0.023906705901026726,
0.04899142310023308,
-0.05436176806688309,
0.056405965238809586,
0.0020301209297031164,
0.043655723333358765,
-0.002778288209810853,
-0.01656145602464676,
0.02245151437819004,
0.06323150545358658,
0.01838044449687004,
0.0773329958319664,
0.05366881936788559,
-0.02151603437960148,
0.0019435025751590729,
-0.06638441979885101,
0.029190434142947197,
0.061637721955776215,
0.02219165861606598,
-0.05034267157316208,
-0.0007833560230210423,
0.058311574161052704,
0.03773101791739464,
0.01437867060303688,
-0.004097054712474346,
0.010584780015051365,
0.0569949708878994,
-0.03967127203941345,
-0.05581695958971977,
0.0005500274710357189,
0.05061985179781914,
-0.004989225417375565,
-0.00932881236076355,
0.01326129212975502,
0.05595554783940315,
-0.10907001048326492,
0.001283036544919014,
-0.04431402310729027,
0.013902269303798676,
-0.04552668333053589,
0.026435965672135353,
-0.06801284104585648,
-0.004854966886341572,
0.018085941672325134,
0.010480837896466255,
-0.047189757227897644,
0.0035383657086640596,
0.0014746799133718014,
-0.04639286920428276,
-0.0035275383852422237,
-0.08190645277500153,
-0.04105716943740845,
0.10428867489099503,
0.04472979158163071,
-0.04022562876343727,
-0.01773080602288246,
0.0013144357362762094,
0.0725516527891159,
-0.03353868052363396,
0.011061182245612144,
-0.0016240968834608793,
-0.050377316772937775,
-0.03303629532456398,
-0.04850636050105095,
-0.03182363510131836,
0.011416317895054817,
0.0328977070748806,
0.02848016284406185,
0.004997887182980776,
-0.00807284377515316,
0.010229644365608692,
-0.016665399074554443,
-0.001752941869199276,
0.014361347071826458,
-0.06461740285158157,
-0.004339586943387985,
0.01810326613485813,
0.07643216103315353,
0.04472979158163071,
0.0045691258274018764,
-0.05183250829577446,
0.013313262723386288,
0.032811086624860764,
-0.004265961237251759,
-0.0022845629137009382,
0.008809100836515427,
-0.03637976944446564,
-0.016925254836678505,
0.06323150545358658,
0.05453500524163246,
-0.028653398156166077,
0.02991802990436554,
-0.012325812131166458,
0.007916931062936783,
0.02945028990507126,
-0.002984007354825735,
0.01536612119525671,
0.045076265931129456,
-0.05061985179781914,
0.021879833191633224,
-0.07892677187919617,
-0.008033866062760353,
-0.04660075157880783,
0.014803101308643818,
0.02958887815475464,
0.01156356930732727,
-0.020441966131329536,
0.015617314726114273,
-0.07615498453378677,
0.0420619435608387,
-0.027492711320519447,
0.07469978928565979,
0.05623272806406021,
-0.006864516064524651,
-0.004768348298966885,
0.04393290355801582,
-0.024461064487695694,
0.04701652005314827,
0.016708707436919212,
0.03255123272538185,
0.0029320360627025366,
0.017756791785359383,
0.013988886959850788,
-0.014127477072179317,
0.012958127073943615,
-0.07712510973215103,
0.024062618613243103,
0.0036899480037391186,
0.025950901210308075,
0.0247555673122406,
0.030212532728910446,
0.023369669914245605,
0.009493387304246426,
-0.00028881855541840196,
-0.01055013295263052,
-0.018016647547483444,
0.03222208097577095,
-0.022226305678486824,
-0.00878311600536108,
-0.018622977659106255,
-0.014300714246928692,
-0.0023040520027279854,
0.017341023311018944,
0.03213546425104141,
-0.009493387304246426,
0.03229137510061264,
-0.09368656575679779,
0.06860184669494629,
0.048887480050325394,
0.07490767538547516,
-0.01414480060338974,
-0.022226305678486824,
0.05716820806264877,
-0.02286728285253048,
0.037627074867486954,
0.006401107180863619,
-0.003265517298132181,
0.0173063762485981,
0.04913001134991646,
0.030766891315579414,
0.016622088849544525,
-0.03308826684951782,
-0.03340009227395058,
0.021342797204852104,
0.014066844247281551,
-0.007903938181698322,
0.007683060597628355,
-0.004876621533185244,
0.02666117437183857,
0.048055943101644516,
0.0535995252430439,
-0.010792665183544159,
0.002689504297450185,
-0.005673511419445276,
0.020667172968387604,
-0.005023872945457697,
0.06281573325395584,
-0.03303629532456398,
-0.03435289487242699,
-0.03487260639667511,
-0.01428339071571827,
-0.034422192722558975,
0.03637976944446564,
0.007042083889245987,
-0.005487281829118729,
-0.02219165861606598,
0.0328977070748806,
-0.031719692051410675,
-0.03825072944164276,
0.03487260639667511,
-0.02002619579434395,
0.018397768959403038,
-0.014326699078083038,
0.013503823429346085,
-0.01288883201777935,
-0.04129970073699951,
0.0025335911195725203,
0.004432701505720615,
0.0007146025891415775,
-0.005049858242273331,
-0.02666117437183857,
0.019108040258288383,
0.08904381841421127,
0.005028203595429659,
-0.013166011311113834,
0.04829847440123558,
-0.03814678639173508,
-0.059524230659008026,
0.009891832247376442,
-0.0461156889796257,
-0.05727215111255646,
-0.06482528150081635,
0.008440972305834293,
-0.04403684288263321,
0.006998774595558643,
0.013347910717129707,
-0.04850636050105095,
-0.03828537464141846,
-0.019246630370616913,
-0.03644906356930733,
0.02863607555627823,
-0.01145962718874216,
-0.02142941579222679,
0.028237629681825638,
-0.0332615040242672,
0.022780664265155792,
-0.0342836007475853,
-0.007375564891844988,
-0.020407317206263542,
-0.017341023311018944,
-0.02943296544253826,
-0.05529724806547165,
-0.014300714246928692,
-0.015998436138033867,
-0.013278615660965443,
0.009943803772330284,
0.01143364142626524,
0.09528034925460815,
0.02626272849738598,
0.031026745215058327,
-0.004413212649524212,
0.014699159190058708,
-0.024374445900321007,
0.049961548298597336,
-0.06059830263257027,
-0.04469514638185501,
0.015314150601625443,
-0.004482507240027189,
-0.032724469900131226,
0.007925592362880707,
0.041819412261247635,
-0.013235306367278099,
-0.0020831748843193054,
0.05013478547334671,
0.01143364142626524,
0.002977510914206505,
-0.029155787080526352,
0.02361220307648182,
-0.02380276285111904,
0.00718933530151844,
0.02245151437819004,
-0.021810537204146385,
-0.03525372967123985,
0.02049393579363823,
-0.0223995428532362,
0.03315756097435951,
0.005340030416846275,
0.05616343393921852,
-0.003635811386629939,
0.005920374300330877,
0.02848016284406185,
-0.018397768959403038,
-0.0071676806546747684,
-0.006141251418739557,
-0.06496386975049973,
-0.0006198636256158352,
0.0665230080485344,
-0.027631301432847977,
0.023716144263744354,
-0.03437022119760513,
0.04320530593395233,
-0.013096717186272144,
0.04604639485478401,
-0.026505259796977043,
0.04327460005879402,
0.00821143388748169,
0.07151222974061966,
-0.014898381195962429,
0.026210756972432137,
-0.03249926120042801,
0.020372670143842697,
-0.03620653226971626,
-0.054777536541223526,
0.051451388746500015,
-0.012117927893996239,
-0.03627582639455795,
-0.06042506545782089,
0.029155787080526352,
0.05394599959254265,
0.0200088731944561,
0.010480837896466255,
0.04764017462730408,
0.008440972305834293,
-0.01088794507086277,
0.0096666244789958,
-0.004824650473892689,
0.020875057205557823,
0.035028520971536636,
0.026089491322636604,
0.00786495953798294,
-0.034023746848106384,
-0.05730679631233215,
-0.029762115329504013,
-0.012845523655414581,
-0.04306671768426895,
-0.02638399414718151,
-0.007332256063818932,
-0.0036011640913784504,
-0.006565682124346495,
-0.04518020898103714,
-0.00753147853538394,
0.03603329509496689,
0.014118814840912819,
0.00472937012091279,
0.027284827083349228,
-0.00912092812359333,
0.0050671822391450405,
-0.020580554381012917,
0.0855097845196724,
0.007120040711015463,
-0.011295052245259285,
-0.026470612734556198,
0.0617416650056839,
0.05387670546770096,
-0.051382094621658325,
-0.013988886959850788,
0.031581103801727295,
0.03026450239121914,
-0.0067302570678293705,
0.0596974678337574,
-0.0006507214857265353,
-0.014499936252832413,
-0.0712350532412529,
-0.0011130477068945765,
0.021897155791521072,
0.004138198681175709,
-0.04892212897539139,
0.08606413751840591,
0.0096666244789958,
-0.01967972330749035
] |
725,968 | pymediainfo | Track |
An object associated with a media file track.
Each :class:`Track` attribute corresponds to attributes parsed from MediaInfo's output.
All attributes are lower case. Attributes that are present several times such as `Duration`
yield a second attribute starting with `other_` which is a list of all alternative
attribute values.
When a non-existing attribute is accessed, `None` is returned.
Example:
>>> t = mi.tracks[0]
>>> t
<Track track_id='None', track_type='General'>
>>> t.duration
3000
>>> t.other_duration
['3 s 0 ms', '3 s 0 ms', '3 s 0 ms',
'00:00:03.000', '00:00:03.000']
>>> type(t.non_existing)
NoneType
All available attributes can be obtained by calling :func:`to_data`.
| class Track:
"""
An object associated with a media file track.
Each :class:`Track` attribute corresponds to attributes parsed from MediaInfo's output.
All attributes are lower case. Attributes that are present several times such as `Duration`
yield a second attribute starting with `other_` which is a list of all alternative
attribute values.
When a non-existing attribute is accessed, `None` is returned.
Example:
>>> t = mi.tracks[0]
>>> t
<Track track_id='None', track_type='General'>
>>> t.duration
3000
>>> t.other_duration
['3 s 0 ms', '3 s 0 ms', '3 s 0 ms',
'00:00:03.000', '00:00:03.000']
>>> type(t.non_existing)
NoneType
All available attributes can be obtained by calling :func:`to_data`.
"""
def __eq__(self, other): # type: ignore
return self.__dict__ == other.__dict__
def __getattribute__(self, name): # type: ignore
try:
return object.__getattribute__(self, name)
except AttributeError:
pass
return None
def __getstate__(self): # type: ignore
return self.__dict__
def __setstate__(self, state): # type: ignore
self.__dict__ = state
def __init__(self, xml_dom_fragment: ET.Element):
self.track_type = xml_dom_fragment.attrib["type"]
repeated_attributes = []
for elem in xml_dom_fragment:
node_name = elem.tag.lower().strip().strip("_")
if node_name == "id":
node_name = "track_id"
node_value = elem.text
if getattr(self, node_name) is None:
setattr(self, node_name, node_value)
else:
other_node_name = f"other_{node_name}"
repeated_attributes.append((node_name, other_node_name))
if getattr(self, other_node_name) is None:
setattr(self, other_node_name, [node_value])
else:
getattr(self, other_node_name).append(node_value)
for primary_key, other_key in repeated_attributes:
try:
# Attempt to convert the main value to int
# Usually, if an attribute is repeated, one of its value
# is an int and others are human-readable formats
setattr(self, primary_key, int(getattr(self, primary_key)))
except ValueError:
# If it fails, try to find a secondary value
# that is an int and swap it with the main value
for other_value in getattr(self, other_key):
try:
current = getattr(self, primary_key)
# Set the main value to an int
setattr(self, primary_key, int(other_value))
# Append its previous value to other values
getattr(self, other_key).append(current)
break
except ValueError:
pass
def __repr__(self): # type: ignore
return "<Track track_id='{}', track_type='{}'>".format(self.track_id, self.track_type)
def to_data(self) -> Dict[str, Any]:
"""
Returns a dict representation of the track attributes.
Example:
>>> sorted(track.to_data().keys())[:3]
['codec', 'codec_extensions_usually_used', 'codec_url']
>>> t.to_data()["file_size"]
5988
:rtype: dict
"""
return self.__dict__
| (xml_dom_fragment: xml.etree.ElementTree.Element) | [
0.04947818070650101,
-0.005159143824130297,
-0.05026354640722275,
0.015914034098386765,
0.014921991154551506,
-0.035775575786828995,
-0.007864013314247131,
0.05261965095996857,
0.008122357539832592,
-0.006995975039899349,
-0.017009416595101357,
0.01358893234282732,
0.06564022600650787,
0.04319523647427559,
0.003929423168301582,
0.06572289764881134,
-0.01342359185218811,
0.028004568070173264,
-0.029575303196907043,
-0.0045236158184707165,
0.05815856158733368,
0.0069908080622553825,
-0.04501398280262947,
0.03771832957863808,
0.023478368297219276,
0.015314674936234951,
-0.007486829999834299,
0.008515042252838612,
-0.03587891533970833,
-0.00039591328823007643,
-0.023953722789883614,
-0.04114914685487747,
0.004056012257933617,
-0.0015345675637945533,
-0.015149334445595741,
-0.03186940401792526,
-0.08630780130624771,
0.04294722527265549,
-0.11549042165279388,
0.0321587510406971,
0.038379691541194916,
-0.033088792115449905,
-0.025896474719047546,
-0.023168353363871574,
0.009558754041790962,
0.010964149609208107,
-0.017484771087765694,
0.028769267722964287,
0.013371922075748444,
-0.08130624890327454,
0.04761809855699539,
0.05526510253548622,
-0.011894190683960915,
0.08337301015853882,
-0.05985330417752266,
0.025069771334528923,
-0.026289157569408417,
0.06551621854305267,
-0.01747443713247776,
0.059481289237737656,
-0.00939858052879572,
0.05175161361694336,
0.04181050881743431,
-0.046750061213970184,
-0.04637804254889488,
-0.02926529012620449,
-0.022568995133042336,
0.006226107478141785,
-0.052371639758348465,
0.006386281456798315,
0.009941104799509048,
-0.041789840906858444,
0.02684718370437622,
0.02684718370437622,
0.02221764624118805,
0.02358170598745346,
-0.009620756842195988,
0.02521444484591484,
0.06944306194782257,
-0.000447259284555912,
-0.02705385908484459,
0.06365613639354706,
-0.014684313908219337,
-0.012524551711976528,
-0.025235112756490707,
0.056877173483371735,
0.011542841792106628,
-0.013175580650568008,
-0.02895527519285679,
0.012710560113191605,
-0.038586366921663284,
0.05881992354989052,
-0.009920436888933182,
0.030918695032596588,
-0.015955369919538498,
-0.0444352924823761,
-0.02155628241598606,
-0.039950426667928696,
-0.00873721856623888,
-0.00014822528464719653,
-0.013971282169222832,
-0.01913817599415779,
-0.08663848042488098,
0.004304022993892431,
-0.03794567286968231,
-0.026681842282414436,
-0.014322631061077118,
-0.018848830834031105,
0.03926839679479599,
0.02711586095392704,
-0.043608587235212326,
-0.01799112558364868,
-0.05369436740875244,
0.052040960639715195,
0.035444896668195724,
-0.0643175020813942,
0.037800997495651245,
0.031394049525260925,
0.008551210165023804,
-0.07142714411020279,
0.012297208420932293,
0.02207297272980213,
-0.056298479437828064,
0.06729362905025482,
-0.0244910791516304,
-0.017360765486955643,
0.06386281549930573,
-0.017856786027550697,
0.012524551711976528,
-0.004991219844669104,
0.016275716945528984,
-0.051834285259246826,
0.033874157816171646,
0.06452417373657227,
0.0529089979827404,
-0.029699308797717094,
0.06783098727464676,
0.017309095710515976,
-0.031724732369184494,
-0.012183536775410175,
0.013816275633871555,
-0.04114914685487747,
0.0563398152589798,
-0.010654136538505554,
-0.07539532333612442,
-0.027818558737635612,
-0.05435572937130928,
-0.015645356848835945,
-0.08196761459112167,
-0.04036377742886543,
-0.060804013162851334,
-0.028438586741685867,
0.01662706583738327,
0.02841791883111,
0.013020574115216732,
-0.0484861359000206,
-0.01829080656170845,
0.003911339212208986,
-0.0016805323539301753,
-0.000049327692977385595,
-0.04579935222864151,
-0.0031156372278928757,
0.025235112756490707,
-0.03451485559344292,
0.012545219622552395,
0.026971187442541122,
0.006944306194782257,
-0.06225074455142021,
0.0011380084324628115,
0.02829391323029995,
0.009424415417015553,
-0.004934384021908045,
0.036622945219278336,
0.019293183460831642,
-0.02052290365099907,
-0.0039733415469527245,
0.03391549363732338,
-0.001801954349502921,
0.03866903856396675,
0.024532414972782135,
0.010902146808803082,
-0.03478353098034859,
-0.03534155711531639,
-0.004087013192474842,
0.02240365371108055,
0.010003107599914074,
0.04964352026581764,
-0.013971282169222832,
0.050924912095069885,
0.030153995379805565,
0.07572600245475769,
-0.052371639758348465,
-0.03279944509267807,
0.02351970225572586,
0.047535426914691925,
0.02901727892458439,
0.02052290365099907,
-0.010235617868602276,
0.025958476588129997,
0.11830121278762817,
0.007424827199429274,
-0.01846648007631302,
0.046750061213970184,
-0.013330587185919285,
-0.038834378123283386,
0.0006591019337065518,
-0.011191492900252342,
-0.01692674495279789,
-0.05381837114691734,
0.018476814031600952,
0.008804388344287872,
-0.014291630126535892,
0.04927150532603264,
-0.011408502236008644,
0.060266654938459396,
-0.047866109758615494,
-0.0007647003512829542,
0.019882209599018097,
0.005657749250531197,
-0.012844899669289589,
0.056091804057359695,
-0.013743938878178596,
-0.046295374631881714,
0.02047123573720455,
0.009377913549542427,
-0.003565157065168023,
-0.018487147986888885,
0.00498863635584712,
-0.04340191185474396,
0.02143227681517601,
0.04546866938471794,
0.013175580650568008,
-0.021111929789185524,
-0.011749518103897572,
0.031022032722830772,
0.037201639264822006,
0.034721530973911285,
0.014198625460267067,
-0.04724607989192009,
-0.04228586331009865,
0.021142931655049324,
-0.008148192428052425,
-0.018476814031600952,
0.01705075055360794,
-0.03490753844380379,
-0.08787854015827179,
0.025586459785699844,
0.028934607282280922,
-0.0243050716817379,
-0.014952992089092731,
0.03829701989889145,
0.03494887426495552,
0.012669225223362446,
0.03424617648124695,
0.04927150532603264,
-0.07415526360273361,
-0.043608587235212326,
-0.002839208347722888,
0.014684313908219337,
-0.051586274057626724,
0.02887260541319847,
-0.022258980199694633,
0.06096935272216797,
0.05460374057292938,
-0.010359623469412327,
0.028066569939255714,
0.0011819270439445972,
-0.0020564240403473377,
-0.05551311373710632,
0.011150158010423183,
-0.004916300065815449,
-0.06650826334953308,
-0.013092909939587116,
0.0009823557920753956,
-0.020636575296521187,
-0.0037098301108926535,
0.017495105043053627,
-0.04307123273611069,
-0.038462359458208084,
-0.012865566648542881,
-0.0443112850189209,
-0.014580976217985153,
0.010933148674666882,
-0.010390624403953552,
0.051586274057626724,
-0.0016611565370112658,
-0.0223416518419981,
0.03352281078696251,
0.0243050716817379,
-0.004794877953827381,
0.00291671184822917,
0.011728850193321705,
-0.05683583766222,
-0.013816275633871555,
0.04147982597351074,
0.00986876804381609,
-0.09135068953037262,
0.014622311107814312,
0.03703629970550537,
-0.01571769267320633,
-0.0056319148279726505,
0.047204747796058655,
0.04476597160100937,
0.027260534465312958,
-0.05877859145402908,
0.048568807542324066,
0.002507235389202833,
-0.001982795773074031,
0.04125248268246651,
-0.022300316020846367,
0.044848643243312836,
0.06373880803585052,
-0.00029483591788448393,
0.05815856158733368,
0.036829624325037,
0.031063368543982506,
-0.026309825479984283,
-0.018476814031600952,
0.03742898255586624,
0.08721717447042465,
-0.007802010513842106,
-0.016286050900816917,
-0.03771832957863808,
0.020987924188375473,
0.06187872588634491,
-0.050924912095069885,
0.02300301380455494,
-0.015573019161820412,
0.02022322453558445,
-0.03817301616072655,
-0.07485796511173248,
-0.0003949444799218327,
-0.022176310420036316,
0.04369125887751579,
-0.006474118679761887,
-0.013144578784704208,
-0.050139542669057846,
-0.004358275327831507,
0.047990113496780396,
-0.013206581585109234,
0.020843252539634705,
-0.011026152409613132,
-0.026433831080794334,
-0.00024914118694141507,
0.02194896712899208,
-0.026640506461262703,
0.04011576622724533,
-0.047742102295160294,
0.037800997495651245,
0.009951438754796982,
0.005200479179620743,
-0.06816166639328003,
0.0010695471428334713,
0.034142836928367615,
0.03939240053296089,
-0.056298479437828064,
-0.002335436176508665,
-0.022052304819226265,
-0.01720575802028179,
0.023147687315940857,
0.03445285186171532,
0.00583342369645834,
0.025503790006041527,
-0.018187468871474266,
-0.0052056461572647095,
-0.04125248268246651,
-0.0006096935248933733,
0.021153265610337257,
-0.040219105780124664,
-0.016027705743908882,
-0.04125248268246651,
-0.012431547977030277,
-0.022837672382593155,
-0.041004471480846405,
0.036168258637189865,
0.008933559991419315,
0.022527659311890602,
0.04827946051955223,
-0.03331613540649414,
-0.05547177791595459,
-0.003410150296986103,
0.020305894315242767,
-0.04542733356356621,
0.03641626983880997,
0.03279944509267807,
-0.031662728637456894,
0.09209472686052322,
-0.02548312209546566,
0.021349607035517693,
0.044476624578237534,
-0.019582528620958328,
0.007786509580910206,
-0.036746952682733536,
-0.04323657229542732,
-0.003655577776953578,
-0.024201732128858566,
-0.015252672135829926,
-0.003919089213013649,
0.001591403502970934,
-0.046543385833501816,
-0.009295242838561535,
-0.09093733876943588,
-0.01678207330405712,
0.04513799026608467,
0.003952674102038145,
0.01874549314379692,
0.024842428043484688,
-0.019520526751875877,
-0.030360670760273933,
-0.015335341915488243,
0.021907631307840347,
0.010524963960051537,
-0.007998352870345116,
-0.054521068930625916,
0.04906482994556427,
0.018900498747825623,
0.033233463764190674,
-0.0263924952596426,
-0.013475260697305202,
0.055306438356637955,
-0.05476908013224602,
0.03058801405131817,
-0.017154088243842125,
0.00041948724538087845,
0.008747552521526814,
-0.029616639018058777,
0.009724095463752747,
0.03540356084704399,
-0.029823314398527145,
0.08696916699409485,
0.042306531220674515,
0.025648463517427444,
-0.023933054879307747,
-0.042037852108478546,
0.0409424714744091,
0.0006652376614511013,
-0.019913211464881897,
-0.06795499473810196,
0.027260534465312958,
0.03310946002602577,
-0.0321587510406971,
0.02161828614771366,
0.006525787524878979,
0.017216091975569725,
0.0057817548513412476,
-0.051255591213703156,
-0.06696294993162155,
0.01802212744951248,
0.03439084812998772,
0.002800456713885069,
-0.023292358964681625,
0.03484553471207619,
0.07799943536520004,
-0.03631293401122093,
0.030856693163514137,
-0.04249253869056702,
-0.022238312289118767,
-0.027611883357167244,
-0.009646591730415821,
-0.07018709182739258,
-0.022052304819226265,
0.01807379722595215,
-0.008246363140642643,
-0.04757676273584366,
-0.03530022129416466,
0.07870213687419891,
0.022837672382593155,
-0.035713572055101395,
-0.08539842814207077,
-0.019365519285202026,
0.06010131537914276,
0.003704663133248687,
0.04364992305636406,
-0.005719752050936222,
-0.01771211437880993,
-0.016647733747959137,
-0.061134692281484604,
-0.03829701989889145,
-0.05233030393719673,
-0.07742074131965637,
0.08043821156024933,
-0.009946271777153015,
0.0181047972291708,
-0.04778343811631203,
0.012700226157903671,
0.02554512582719326,
0.043484583497047424,
-0.01544901356101036,
-0.008938726969063282,
0.011294830590486526,
-0.0735352411866188,
-0.007161315530538559,
-0.023767713457345963,
-0.01244188193231821,
0.01859048567712307,
0.026041148230433464,
0.053735699504613876,
0.02560712769627571,
-0.025193776935338974,
-0.053033001720905304,
0.0005383258103393018,
-0.07820611447095871,
0.048114120960235596,
-0.0032370593398809433,
0.0027591215912252665,
0.05352902412414551,
-0.03594091534614563,
0.03765632584691048,
-0.005983263719826937,
0.03358481451869011,
-0.029492633417248726,
-0.028913941234350204,
0.02699185535311699,
-0.031394049525260925,
0.014653312042355537,
-0.012173202820122242,
-0.05199962481856346,
-0.018301140516996384,
-0.04059112071990967,
-0.0327787771821022,
0.010871145874261856,
-0.0017567441100254655,
0.004593369085341692,
0.0014415634796023369,
-0.041645169258117676,
0.026020480319857597,
-0.08820921927690506,
-0.011263829655945301,
-0.005905759986490011,
-0.023437032476067543,
0.044476624578237534,
-0.04110781103372574,
-0.0201302208006382,
0.029740644618868828,
0.024594416841864586,
0.04265787824988365,
0.064193494617939,
0.003983675502240658,
-0.0017657860880717635,
0.010871145874261856,
0.06572289764881134,
0.03891704976558685,
-0.029430629685521126,
-0.027859894558787346,
0.022713666781783104,
-0.009997940622270107,
-0.01391961332410574,
0.03304745629429817,
0.02044023387134075,
0.015697024762630463,
0.0002326717076357454,
0.005513076204806566,
0.008695882745087147,
-0.011026152409613132,
0.03385348990559578,
-0.04245120286941528,
0.026082482188940048,
-0.04534466564655304,
0.04894082248210907,
0.01581069640815258,
0.04914749786257744,
0.007042476907372475,
-0.03881371021270752,
-0.004322106949985027,
-0.025689799338579178,
0.013475260697305202,
0.04240986704826355,
0.006184772588312626,
-0.016244715079665184,
0.006944306194782257,
0.0244290754199028,
0.023375030606985092,
0.0066911280155181885,
-0.024594416841864586,
-0.014601643197238445,
0.012503883801400661,
-0.038834378123283386,
0.006412115879356861,
0.025710465386509895,
-0.033357471227645874,
0.01117082592099905,
0.04090113565325737,
0.03186940401792526,
-0.03534155711531639,
0.015604021027684212,
-0.05683583766222,
0.03561023622751236,
0.037201639264822006,
0.0242430679500103,
-0.023437032476067543,
-0.046998072415590286,
-0.03666428104043007,
0.00986876804381609,
0.012111200019717216,
0.015283673070371151,
-0.024222400039434433,
0.02672317810356617,
-0.04143849387764931,
-0.030691351741552353,
-0.02535911649465561,
0.017526105046272278,
-0.027487877756357193,
-0.01885916478931904,
0.0320967473089695,
0.00403534434735775,
-0.05902659893035889,
-0.019551528617739677,
0.01731942966580391,
0.010276952758431435,
0.0005153976962901652,
0.026681842282414436,
0.020243892446160316,
0.04414594545960426,
-0.008830222301185131,
0.037139635533094406,
-0.06142403930425644,
-0.016813073307275772,
0.05419038608670235,
-0.03999176248908043,
-0.0035341556649655104,
-0.02841791883111,
-0.038193684071302414,
-0.051462266594171524,
0.031332045793533325,
-0.06601224094629288,
-0.022630997002124786,
-0.009326244704425335,
-0.025689799338579178,
-0.027673885226249695,
-0.06473085284233093,
0.06072134152054787,
-0.039165057241916656,
0.03494887426495552,
-0.04592335596680641,
-0.0693603903055191,
-0.02294101007282734,
0.026578504592180252,
0.029905984178185463,
0.03058801405131817,
0.052826326340436935,
0.0008034520433284342,
0.009300409816205502,
-0.030340002849698067,
0.042823221534490585,
-0.02397438883781433,
-0.014167624525725842,
0.01490132324397564,
-0.04683272913098335,
-0.006587790325284004,
0.007243985775858164,
0.000003178851102347835,
-0.006257108878344297,
-0.005435572937130928,
-0.02254832722246647,
-0.01761910878121853,
0.06993908435106277,
-0.013330587185919285,
-0.01777411624789238,
-0.01274156104773283,
0.017722448334097862,
-0.03693296015262604,
0.017309095710515976,
-0.005476907826960087,
-0.035382892936468124,
0.056298479437828064,
-0.010674803517758846,
0.0016288633923977613,
0.030071325600147247,
0.03025733307003975,
-0.033750154078006744,
-0.017092086374759674,
0.04199651628732681,
0.053033001720905304,
0.032055411487817764,
-0.06332545727491379,
-0.025731133297085762,
0.016286050900816917,
0.011532507836818695,
0.010199449025094509,
0.011449838057160378,
0.04646071419119835,
0.06154804676771164,
-0.01535600982606411,
-0.04997420310974121,
0.006205440033227205,
0.011232827790081501,
0.021783625707030296,
-0.042905889451503754,
0.03548622876405716,
-0.07651136815547943,
0.002631240990012884,
-0.017949791625142097,
0.0020693412516266108,
0.02207297272980213,
-0.02947196550667286,
-0.06725229322910309,
0.010576632805168629,
0.03083602525293827,
0.06725229322910309,
-0.02920328639447689,
-0.014580976217985153,
-0.004236853215843439,
0.007409326266497374,
-0.008081022650003433,
0.032634105533361435,
-0.015335341915488243,
-0.05423172190785408,
0.03523821756243706,
0.05964662879705429,
0.021680288016796112,
-0.0263924952596426,
0.07895014435052872,
-0.0484861359000206,
-0.05419038608670235,
0.018053129315376282,
0.015645356848835945,
0.03346080705523491,
0.015562686137855053,
-0.01241088006645441,
0.07808210700750351,
0.017484771087765694,
0.018900498747825623,
0.050800904631614685,
0.056877173483371735,
-0.07097245752811432,
0.051834285259246826,
0.04679139330983162,
0.002322518965229392,
-0.0263924952596426,
-0.04621270298957825,
-0.019148509949445724,
0.03660228103399277,
-0.006603290792554617,
-0.01711275428533554,
-0.028913941234350204,
-0.0014338131295517087,
-0.01571769267320633,
-0.03765632584691048,
0.025772469118237495,
0.0811409056186676,
-0.01629638485610485,
0.012731228023767471,
0.012958571314811707,
0.07704872637987137,
-0.07233651727437973,
-0.03893771395087242,
0.05894393101334572,
0.053281012922525406,
-0.004595952574163675,
-0.010716138407588005,
0.04048778489232063,
-0.00772450678050518,
-0.04323657229542732,
0.024863095954060555,
0.05117291957139969,
0.013826609589159489,
0.015149334445595741,
0.012400546111166477,
0.050139542669057846,
-0.04613003134727478,
-0.048196788877248764,
-0.037738997489213943,
0.013960948213934898,
0.06167205050587654,
-0.05245431140065193,
0.07985951751470566,
-0.0009197071776725352,
0.04604736343026161
] |
725,969 | pymediainfo | __eq__ | null | def __eq__(self, other): # type: ignore
return self.__dict__ == other.__dict__
| (self, other) | [
0.052468687295913696,
-0.025289122015237808,
0.004623557906597853,
0.04016297683119774,
-0.04586997255682945,
-0.05542919039726257,
-0.04005597159266472,
0.027571920305490494,
0.04105469584465027,
0.00002821451380441431,
-0.011610168032348156,
-0.05571454018354416,
0.0613858662545681,
0.07604570686817169,
-0.013999972492456436,
-0.033136241137981415,
-0.025092944502830505,
0.0408763512969017,
-0.00019673528731800616,
-0.04283813387155533,
-0.02653752639889717,
0.009336287155747414,
0.028838159516453743,
0.07051705569028854,
-0.015168122947216034,
0.03106745518743992,
-0.0015861433930695057,
-0.0007735653780400753,
-0.0074681383557617664,
0.07804315537214279,
-0.07194380462169647,
-0.04337316378951073,
0.041803739964962006,
0.021900594234466553,
0.015016530640423298,
-0.02307766117155552,
-0.03122796304523945,
0.0603158064186573,
-0.021365562453866005,
-0.03666744381189346,
0.004066233988851309,
-0.0024076385889202356,
-0.013286598026752472,
-0.01597066968679428,
0.014499334618449211,
0.007374507840722799,
-0.043444499373435974,
0.030710767954587936,
0.018315887078642845,
0.015489141456782818,
0.0005631756503134966,
-0.028980834409594536,
-0.0037340691778808832,
0.07347755879163742,
-0.03433114290237427,
0.012510803528130054,
0.018208881840109825,
0.0513986237347126,
-0.05114894360303879,
0.03299356624484062,
-0.046547677367925644,
-0.004021648317575455,
0.01035284623503685,
-0.04362284392118454,
-0.03962794691324234,
-0.05007888376712799,
-0.054216451942920685,
0.007156036794185638,
0.011039468459784985,
0.0194394513964653,
-0.026359183713793755,
-0.023559188470244408,
-0.015596147626638412,
0.03720247372984886,
-0.02785727009177208,
0.010682781226933002,
-0.013045834377408028,
0.07404825836420059,
0.016532450914382935,
-0.05364575237035751,
-0.007343297824263573,
-0.05382409691810608,
-0.029408859089016914,
-0.03454515337944031,
-0.09373739361763,
0.027393575757741928,
-0.006460496690124273,
0.009710809215903282,
0.04208908975124359,
-0.010308260098099709,
-0.01437449362128973,
0.03598973900079727,
0.041803739964962006,
-0.016585955396294594,
0.030496755614876747,
-0.00457451306283474,
-0.01687130518257618,
-0.024575747549533844,
0.0002789405407384038,
0.0005567664047703147,
0.01844072714447975,
0.005229926202446222,
-0.013750291429460049,
0.01865473948419094,
-0.04237443953752518,
0.02113371714949608,
-0.024522244930267334,
-0.03252987191081047,
-0.024361735209822655,
-0.01553372759371996,
-0.06074383109807968,
0.0713731050491333,
-0.025788484141230583,
0.03916425257921219,
0.027714595198631287,
-0.033421590924263,
-0.023398680612444878,
-0.017745187506079674,
-0.0005556517862714827,
-0.009398707188665867,
0.0027152812108397484,
0.10486603528261185,
0.013233095407485962,
0.029997393488883972,
0.05724829435348511,
-0.012644561007618904,
0.018565569072961807,
0.0005219336599111557,
-0.02643052116036415,
-0.008056672289967537,
0.06930432468652725,
-0.027090393006801605,
0.0035267446655780077,
0.073762908577919,
0.07212214916944504,
-0.0010466539533808827,
0.038129862397909164,
0.04237443953752518,
0.02480759471654892,
0.041803739964962006,
0.039699286222457886,
0.007628647610545158,
0.029408859089016914,
0.01613117754459381,
-0.04130437597632408,
-0.005796167068183422,
-0.10543673485517502,
0.008694250136613846,
0.0018313658656552434,
0.007878328673541546,
-0.009291701018810272,
-0.022114606574177742,
0.02907000668346882,
-0.004407315980643034,
-0.06848394125699997,
-0.019368113949894905,
-0.032654713839292526,
-0.04658334702253342,
-0.014303156174719334,
0.008368773385882378,
0.004003813955932856,
0.00017472098988946527,
0.026573196053504944,
-0.03474133461713791,
-0.016068758442997932,
0.005724829621613026,
-0.034705664962530136,
-0.02958720363676548,
0.014365577138960361,
0.0034108213149011135,
-0.03294006362557411,
-0.04615532234311104,
-0.0055286516435444355,
-0.012314625084400177,
-0.020473845303058624,
0.022221611812710762,
0.02685854583978653,
0.023398680612444878,
-0.030229240655899048,
-0.0073076291009783745,
0.04419354349374771,
-0.06502407789230347,
-0.05029289424419403,
0.023844538256525993,
0.029194846749305725,
-0.020170660689473152,
0.0026662368327379227,
0.006344573572278023,
0.030835608020424843,
0.038236867636442184,
-0.027982110157608986,
-0.01707639917731285,
-0.01692480780184269,
0.0005266709486022592,
0.011895517818629742,
-0.03228019177913666,
0.00039040527190081775,
-0.018743911758065224,
0.02238212153315544,
0.09659089148044586,
-0.04137571528553963,
-0.04608398675918579,
-0.01908276416361332,
-0.02917701192200184,
0.01734391413629055,
-0.02842796966433525,
-0.007989793084561825,
-0.038129862397909164,
0.07847118377685547,
-0.01829805225133896,
-0.024522244930267334,
-0.03244069963693619,
0.025610141456127167,
-0.022524796426296234,
0.05361008644104004,
0.02680504322052002,
0.01227003987878561,
-0.04583430290222168,
-0.03384961560368538,
0.03916425257921219,
0.09473612159490585,
-0.03112095780670643,
-0.01597066968679428,
0.01734391413629055,
-0.030461085960268974,
0.017219074070453644,
0.010290425270795822,
0.03427764028310776,
-0.019742636010050774,
-0.06302662938833237,
0.053110722452402115,
0.023220336064696312,
0.053895436227321625,
-0.01818213053047657,
0.029943890869617462,
0.023470018059015274,
-0.012831822037696838,
0.025217784568667412,
-0.0739055871963501,
-0.008605078794062138,
0.010433100163936615,
0.014329908415675163,
0.044015198945999146,
0.02086620032787323,
0.018262384459376335,
-0.10714883357286453,
-0.005800625309348106,
0.03244069963693619,
-0.0026082750409841537,
-0.0207056924700737,
0.015792325139045715,
-0.04458589851856232,
-0.023363010957837105,
-0.02454007975757122,
0.007873869501054287,
-0.02043817564845085,
-0.05949542298913002,
-0.00653183413669467,
0.04836678504943848,
0.014089143835008144,
0.00796304177492857,
0.06695018708705902,
-0.02621650882065296,
0.018422894179821014,
-0.036399926990270615,
0.006558585911989212,
-0.025146447122097015,
0.03454515337944031,
-0.015997420996427536,
-0.012047110125422478,
0.10072846710681915,
-0.053003717213869095,
0.02443307265639305,
0.07811449468135834,
-0.045334942638874054,
-0.01728149503469467,
0.013696787878870964,
-0.035918399691581726,
-0.06966100633144379,
-0.03244069963693619,
-0.00993373803794384,
0.019171936437487602,
0.025396129116415977,
-0.06159988045692444,
-0.027518417686223984,
-0.016175763681530952,
-0.04636933654546738,
-0.03126363083720207,
0.004837570246309042,
-0.05396677181124687,
0.04255278408527374,
-0.034705664962530136,
0.033974453806877136,
-0.012787235900759697,
0.0064694141037762165,
0.05607122555375099,
0.0043248324654996395,
-0.034652162343263626,
0.013777042739093304,
0.0669858530163765,
-0.004378335550427437,
0.035454705357551575,
0.029872553423047066,
0.005234384443610907,
0.007213998585939407,
0.0138483801856637,
0.021561741828918457,
0.0603158064186573,
0.04472857341170311,
0.011556665413081646,
0.016042007133364677,
0.04704704135656357,
0.04255278408527374,
0.09259599447250366,
0.008863676339387894,
-0.022364286705851555,
-0.007815907709300518,
-0.05196932330727577,
0.014419079758226871,
0.06905464082956314,
-0.03463432565331459,
0.034919675439596176,
-0.030603760853409767,
-0.012787235900759697,
0.017317162826657295,
-0.08453486859798431,
-0.013250929303467274,
0.06513108313083649,
0.046547677367925644,
0.03310057148337364,
-0.0030050897039473057,
-0.01876174658536911,
0.08018328249454498,
0.033350251615047455,
0.006237567402422428,
-0.026252178475260735,
0.00659425463527441,
0.030835608020424843,
0.021472569555044174,
-0.03420630097389221,
0.02548529952764511,
-0.03873622789978981,
0.02937319129705429,
-0.08424951881170273,
-0.007757946383208036,
-0.014659843407571316,
-0.06773489713668823,
0.022845814004540443,
0.014303156174719334,
-0.015266211703419685,
-0.06659349799156189,
0.02507510967552662,
0.0523260124027729,
-0.010263673961162567,
0.015462390147149563,
0.025217784568667412,
0.019100598990917206,
0.014829270541667938,
-0.03228019177913666,
-0.003045216901227832,
0.07411959767341614,
0.012787235900759697,
-0.0118509316816926,
-0.029872553423047066,
-0.02102671004831791,
0.03251203894615173,
-0.016835635527968407,
-0.05653491988778114,
-0.06427503377199173,
-0.046547677367925644,
-0.055215176194906235,
0.01770951971411705,
-0.04208908975124359,
-0.039021577686071396,
-0.007445845287293196,
-0.05482282117009163,
-0.08253742009401321,
0.037024129182100296,
-0.0012673542369157076,
0.0009390905033797026,
0.0817527025938034,
0.017486589029431343,
-0.027233067899942398,
0.047332391142845154,
-0.02348785102367401,
-0.0172458253800869,
0.015355383977293968,
-0.015899332240223885,
0.060993511229753494,
0.05464447662234306,
-0.07326354831457138,
-0.0444788932800293,
-0.013036916963756084,
0.05314639210700989,
-0.06206357106566429,
-0.02254263125360012,
-0.03784451261162758,
-0.008640747517347336,
-0.09209663420915604,
-0.04419354349374771,
0.03194133937358856,
0.03577572479844093,
0.005252218805253506,
-0.029551533982157707,
0.006139478180557489,
0.022257281467318535,
0.01750442385673523,
0.02548529952764511,
-0.013206343166530132,
0.01696939393877983,
-0.04348016902804375,
-0.046012647449970245,
0.0038878903724253178,
-0.030086565762758255,
-0.030782105401158333,
-0.03285089135169983,
0.041910745203495026,
-0.04098336026072502,
0.09059854596853256,
0.027090393006801605,
0.001338691683486104,
0.019011426717042923,
-0.018797414377331734,
-0.01933244615793228,
-0.011449659243226051,
-0.020670022815465927,
0.0004887729301117361,
0.04547761753201485,
0.026822876185178757,
-0.020670022815465927,
-0.0399489663541317,
-0.031602486968040466,
0.04761774092912674,
0.01266239583492279,
0.03809419274330139,
-0.012332459911704063,
0.011182143352925777,
-0.08517690002918243,
0.013937552459537983,
0.06409668922424316,
-0.0008649664232507348,
-0.035401202738285065,
-0.02197193168103695,
-0.019475121051073074,
-0.05104193836450577,
-0.030229240655899048,
0.0074369278736412525,
0.03948527202010155,
0.06530942767858505,
0.026929883286356926,
0.03245853632688522,
0.02564580924808979,
-0.050542574375867844,
-0.06234892085194588,
-0.0424814447760582,
-0.03388528525829315,
-0.030514590442180634,
-0.02507510967552662,
-0.00914010964334011,
0.021151550114154816,
-0.03859355300664902,
-0.005332473665475845,
-0.011654754169285297,
-0.0027353449258953333,
-0.04255278408527374,
0.06727120280265808,
-0.013839462772011757,
0.017156654968857765,
0.025610141456127167,
0.06092217192053795,
0.014918441884219646,
-0.03987762704491615,
-0.04672602191567421,
-0.012805070728063583,
-0.05282537266612053,
0.027607588097453117,
-0.010236922651529312,
0.007008903194218874,
-0.06623680889606476,
0.010085330344736576,
-0.02559230662882328,
-0.006482789758592844,
0.028998669236898422,
-0.03966361656785011,
0.04265978932380676,
-0.05970943719148636,
0.005858587101101875,
-0.0005369814462028444,
-0.00025999153149314225,
-0.00015549332601949573,
-0.015087868086993694,
-0.03331458568572998,
-0.07982659339904785,
0.04005597159266472,
0.028231792151927948,
-0.01770951971411705,
0.014570672065019608,
0.024219060316681862,
-0.026947718113660812,
-0.02291715145111084,
-0.0005411613383330405,
0.014597423374652863,
-0.010379597544670105,
0.03937826678156853,
0.01927894353866577,
-0.022096771746873856,
-0.021936262026429176,
-0.03820119798183441,
-0.012858573347330093,
0.024415237829089165,
0.029712043702602386,
-0.0169783104211092,
0.030443252995610237,
-0.02213243953883648,
0.06256293505430222,
0.015426721423864365,
-0.028499307110905647,
-0.059673767536878586,
-0.03069293312728405,
-0.03698846325278282,
0.045905642211437225,
0.009470044635236263,
0.03472349792718887,
-0.04626232758164406,
-0.04629799723625183,
0.009091065265238285,
-0.026270011439919472,
0.007209539879113436,
0.0464763417840004,
-0.03427764028310776,
-0.012020358815789223,
-0.03830820322036743,
-0.04504959285259247,
0.009817815385758877,
-0.04173240065574646,
0.04950818419456482,
-0.037345148622989655,
-0.008529282175004482,
0.012733733281493187,
0.04273112490773201,
0.01622926816344261,
0.02175791934132576,
0.047903090715408325,
0.009559216909110546,
-0.007753487676382065,
0.05482282117009163,
-0.03566871955990791,
0.0025904406793415546,
0.015177040360867977,
0.03345726057887077,
0.024040717631578445,
-0.006982151884585619,
0.06570178270339966,
-0.05853236839175224,
-0.037701837718486786,
0.026412686333060265,
0.01013883389532566,
0.02912350930273533,
0.0838928297162056,
0.04116170108318329,
0.06816292554140091,
0.014686595648527145,
0.06966100633144379,
-0.05018588900566101,
-0.0061573125422000885,
-0.039913296699523926,
0.013616533949971199,
0.0010410808026790619,
0.025895491242408752,
0.0348840095102787,
-0.005787249654531479,
0.012617809697985649,
-0.031085288152098656,
-0.008266225457191467,
0.030835608020424843,
0.010468768887221813,
-0.03443814814090729,
0.0528610423207283,
-0.04558462277054787,
-0.060672491788864136,
-0.02596682868897915,
0.034241970628499985,
0.035864897072315216,
-0.016987226903438568,
-0.009987241588532925,
-0.03841521218419075,
-0.008627371862530708,
0.03149547800421715,
0.0024878932163119316,
-0.046547677367925644,
-0.05553619563579559,
0.022506961598992348,
0.0014167169574648142,
-0.040698010474443436,
0.022560464218258858,
-0.02580631896853447,
0.031352803111076355,
-0.023006323724985123,
-0.02075919508934021,
-0.013304431922733784,
0.04904448986053467,
-0.0008867020951583982,
-0.0017856652848422527,
-0.04665468633174896,
0.020152825862169266,
0.013821628876030445,
-0.022578299045562744,
-0.01938594877719879,
0.01734391413629055,
0.02507510967552662,
0.03317191079258919,
0.01728149503469467,
0.0444788932800293,
-0.06452471017837524,
0.0448712483048439,
-0.044229213148355484,
-0.01019233651459217,
0.052361682057380676,
-0.0692329853773117,
0.029997393488883972,
0.01363436784595251,
0.008676416240632534,
-0.010887877084314823,
0.02027766779065132,
-0.06958967447280884,
-0.02454007975757122,
0.025413962081074715,
-0.006228649988770485,
0.029943890869617462,
-0.02018849551677704,
-0.003125471528619528,
-0.014490417204797268,
0.014936276711523533,
-0.036078911274671555,
0.0118509316816926,
-0.05881771817803383,
0.015043282881379128,
-0.0002540003042668104,
0.006625464651733637,
0.10037177801132202,
0.012163033708930016,
-0.021615244448184967,
-0.052575692534446716,
0.08303678035736084,
-0.08760237693786621,
0.014303156174719334,
-0.009309535846114159,
-0.03568655252456665,
0.04825977608561516,
-0.029284019023180008,
-0.02286364883184433,
0.0207056924700737,
0.0017299328465014696,
-0.019243273884058,
-0.04437188804149628,
0.02218594402074814,
-0.010789787396788597,
0.017932448536157608,
0.026287846267223358,
-0.0047483984380960464,
0.04751073569059372,
-0.010843290947377682,
-0.030229240655899048,
-0.031923502683639526,
0.07183679938316345,
0.03185216709971428,
0.0024254729505628347,
-0.031406305730342865,
0.009906986728310585,
0.011101888492703438,
-0.00440062815323472,
0.0276967603713274,
-0.00768660893663764,
-0.026894213631749153,
-0.045905642211437225,
-0.044015198945999146,
-0.004327061586081982,
0.021936262026429176,
-0.006665592081844807,
-0.05082792416214943,
-0.018458561971783638,
0.038129862397909164,
-0.008021003566682339,
-0.0028579561039805412,
0.008627371862530708,
0.06866228580474854,
-0.02118721976876259,
0.0013977679191157222,
0.026929883286356926,
-0.030336245894432068,
-0.011182143352925777,
-0.07069540023803711,
0.0007791385869495571,
0.03973495215177536,
0.018119709566235542,
0.006915273144841194,
-0.03525852784514427,
-0.028410134837031364,
-0.02423689514398575,
-0.0013921946519985795,
-0.016354108229279518,
-0.0018971300451084971,
0.060101792216300964,
0.019724801182746887,
0.03632859140634537,
0.00448088301345706,
-0.04818844050168991,
0.025467466562986374,
0.07540367543697357,
-0.0214368999004364,
-0.05760498344898224,
0.029284019023180008,
0.01040634885430336,
-0.05535785108804703,
0.05328906700015068,
0.009826731868088245,
0.009808897972106934,
0.014757933095097542,
-0.01718340627849102,
0.018476396799087524,
-0.03527636453509331,
-0.023148998618125916,
0.03798718750476837,
0.0033751525916159153,
0.008012086153030396,
0.06331197917461395,
0.05018588900566101,
-0.054787151515483856,
-0.032244522124528885,
0.007084699347615242,
0.01828021928668022,
0.09116924554109573,
0.004899990279227495,
0.028659816831350327,
-0.0414113849401474,
0.014784684404730797,
-0.042124759405851364,
-0.026894213631749153,
0.030621595680713654,
0.09808897972106934,
0.019938813522458076,
0.005506358575075865,
0.043801188468933105,
-0.0027264277450740337,
-0.012573223561048508,
-0.012252205051481724,
0.006674509029835463,
0.0374164879322052,
0.0016273853834718466,
-0.016264935955405235,
0.01734391413629055,
0.010040744207799435,
-0.008426735177636147,
0.01824454963207245,
0.034973178058862686,
0.06124319136142731,
-0.02165091224014759,
-0.014945193193852901,
0.052575692534446716,
-0.014258570969104767,
-0.02853497490286827,
0.012171950191259384,
-0.0036716489121317863,
0.027108225971460342,
-0.025556636974215508,
0.026055999100208282,
0.006259860470890999,
0.06538075953722
] |
725,970 | pymediainfo | __getattribute__ | null | def __getattribute__(self, name): # type: ignore
try:
return object.__getattribute__(self, name)
except AttributeError:
pass
return None
| (self, name) | [
0.06251730024814606,
-0.023942064493894577,
0.002380895894020796,
0.0341268889605999,
0.0023143424186855555,
-0.06557446718215942,
0.07103614509105682,
-0.017930787056684494,
0.0633760541677475,
0.00547026377171278,
-0.0052040498703718185,
0.028974363580346107,
0.042250704020261765,
0.005646308418363333,
0.004106991458684206,
0.05173134803771973,
-0.02823583595454693,
0.04262855648994446,
-0.008274096064269543,
0.0026041718665510416,
0.011971032246947289,
0.0021758682560175657,
-0.002085699001327157,
-0.003282587742432952,
0.029146114364266396,
0.09219584614038467,
0.04462086409330368,
0.029163289815187454,
0.04970468953251839,
-0.005543258041143417,
-0.01799948699772358,
-0.031207125633955002,
0.02492104470729828,
0.032014355063438416,
0.021778004243969917,
0.02115970104932785,
-0.038643937557935715,
0.03381773829460144,
-0.07460855692625046,
-0.021949755027890205,
0.03555241972208023,
0.0007578505319543183,
-0.0005490659386850893,
-0.05049474164843559,
-0.008737822994589806,
-0.06832247972488403,
0.009540758095681667,
0.056196872144937515,
-0.020627275109291077,
-0.019047167152166367,
0.04980773851275444,
0.07206664979457855,
0.02174365520477295,
0.01999179646372795,
-0.04695667698979378,
0.019974621012806892,
0.0003893913235515356,
0.07241015136241913,
-0.04005229100584984,
0.08388310670852661,
-0.03021096996963024,
0.0057880026288330555,
0.03240938112139702,
-0.07728787511587143,
-0.04149499908089638,
-0.07584516704082489,
-0.013989104889333248,
0.01944219321012497,
-0.01729530841112137,
0.03840348497033119,
-0.04190720245242119,
0.02461189404129982,
-0.006045629270374775,
0.038953088223934174,
0.013233400881290436,
-0.036926425993442535,
0.008694885298609734,
-0.029558317735791206,
0.07474596053361893,
-0.03175672888755798,
-0.007823250256478786,
0.051593948155641556,
-0.05726172402501106,
-0.0146245826035738,
-0.0526588037610054,
-0.008115226402878761,
-0.009085618890821934,
-0.032151754945516586,
-0.005848115775734186,
0.018222762271761894,
-0.04214765131473541,
0.0823029950261116,
-0.012331709265708923,
0.03469366580247879,
-0.007398166693747044,
-0.011618942953646183,
0.04032709449529648,
-0.011318379081785679,
0.046304021030664444,
0.03775083273649216,
0.020902074873447418,
0.03148192539811134,
-0.0011711259139701724,
0.018514739349484444,
0.03309638425707817,
-0.003802133956924081,
-0.016702767461538315,
-0.01798231154680252,
0.03672032803297043,
0.014487181790173054,
0.006676813587546349,
-0.014014867134392262,
-0.0434873104095459,
0.029420915991067886,
0.012254421599209309,
-0.08202819526195526,
-0.026295050978660583,
-0.022104332223534584,
-0.0008721721824258566,
-0.014263906516134739,
-0.03021096996963024,
0.026518328115344048,
-0.044689565896987915,
-0.019459368661046028,
0.020403997972607613,
0.021846706047654152,
-0.006054216530174017,
-0.01708061993122101,
0.053792357444763184,
0.001410503638908267,
0.03136169910430908,
-0.004517046734690666,
-0.03278723359107971,
0.052040498703718185,
-0.01116380374878645,
0.011421429924666882,
0.09095923602581024,
0.05413585901260376,
-0.0044054086320102215,
0.015809664502739906,
-0.027445781975984573,
-0.05313970521092415,
0.04317815601825714,
-0.02761753275990486,
-0.03429863974452019,
-0.0034092538990080357,
0.012572160921990871,
0.0107258390635252,
0.024113815277814865,
-0.039949242025613785,
0.017132144421339035,
0.013516790233552456,
-0.005410151090472937,
0.011730581521987915,
-0.016488078981637955,
0.028544986620545387,
-0.0846388041973114,
-0.03371468558907509,
-0.014135093428194523,
-0.05049474164843559,
-0.03596462309360504,
0.010219174437224865,
-0.05293360352516174,
-0.11424864828586578,
0.05210920050740242,
-0.011799281463027,
0.050288643687963486,
-0.003379197558388114,
0.05076954513788223,
0.03213458135724068,
-0.07282234728336334,
0.02143450267612934,
0.012185720726847649,
0.05997538939118385,
0.005805178079754114,
0.06217379868030548,
-0.02778928354382515,
0.012443347834050655,
0.016316328197717667,
0.04781543090939522,
0.011764931492507458,
-0.03757908195257187,
-0.05052909255027771,
0.00004250162237440236,
0.044414762407541275,
-0.002363720675930381,
0.03285593166947365,
-0.01382594183087349,
0.0035445077810436487,
0.08257779479026794,
0.01999179646372795,
0.004100550897419453,
-0.012348884716629982,
0.02301461063325405,
0.023100486025214195,
-0.01273532398045063,
0.012426172383129597,
0.027840809896588326,
-0.029712893068790436,
0.0820968970656395,
0.024371441453695297,
0.027411431074142456,
-0.03297615796327591,
0.05654037371277809,
-0.02332376316189766,
-0.027531657367944717,
0.04321250692009926,
-0.009746859781444073,
-0.06461266428232193,
0.014375544153153896,
-0.03826608508825302,
0.016883106902241707,
-0.010004485957324505,
0.039090488106012344,
0.050013840198516846,
0.0032740000169724226,
-0.0146245826035738,
-0.010854652151465416,
0.01587836444377899,
0.07206664979457855,
-0.0024216866586357355,
-0.013508202508091927,
0.038815688341856,
0.03716687858104706,
0.004315239377319813,
-0.006225967314094305,
0.0071748909540474415,
0.008763586170971394,
-0.010322224348783493,
-0.026020249351859093,
0.025968724861741066,
0.03579287230968475,
0.03524326905608177,
-0.0014985259622335434,
0.01706344448029995,
0.013156113214790821,
0.011627530679106712,
0.010622788220643997,
-0.06763547658920288,
-0.040258392691612244,
0.006505062337964773,
-0.013903229497373104,
0.008364264853298664,
0.077631376683712,
-0.007999294437468052,
-0.011902332305908203,
-0.02088490128517151,
0.048742882907390594,
-0.03974314033985138,
-0.04867418482899666,
0.052040498703718185,
0.041529349982738495,
-0.024302741512656212,
0.006702575832605362,
-0.006702575832605362,
-0.0797610804438591,
-0.06179594621062279,
-0.03623942285776138,
0.030039219185709953,
0.011928094550967216,
-0.011756343767046928,
-0.04331555962562561,
0.026982054114341736,
0.01786208525300026,
-0.006663931999355555,
-0.0072908224537968636,
0.024113815277814865,
0.03235785663127899,
-0.0635821595788002,
0.03495129197835922,
0.03340553492307663,
-0.06842552870512009,
0.024216866120696068,
-0.0022628172300755978,
-0.009746859781444073,
-0.06385695934295654,
0.007157715503126383,
0.020627275109291077,
-0.012640860863029957,
-0.004199307877570391,
0.032014355063438416,
0.03240938112139702,
0.00006380274862749502,
0.03775083273649216,
-0.06100589409470558,
-0.04565136879682541,
0.017235195264220238,
-0.03596462309360504,
-0.025676747784018517,
-0.008724941872060299,
0.04819328337907791,
0.02000897191464901,
-0.01757011003792286,
-0.03589592128992081,
0.01743270829319954,
-0.005354331806302071,
-0.029730068519711494,
0.007157715503126383,
0.04286900535225868,
0.012400410138070583,
0.01782773621380329,
0.005976928863674402,
-0.035621121525764465,
0.024079466238617897,
-0.026982054114341736,
0.01446141954511404,
0.01786208525300026,
0.03713252767920494,
-0.025401948019862175,
0.045445267111063004,
0.020610099658370018,
0.015629325062036514,
-0.020197896286845207,
0.06165854632854462,
0.023787489160895348,
0.021365802735090256,
0.038918737322092056,
0.014263906516134739,
0.011034990660846233,
0.08525711297988892,
-0.026947705075144768,
0.001652028295211494,
-0.03192847967147827,
0.008390028029680252,
0.0027115161065012217,
-0.03371468558907509,
-0.03240938112139702,
0.0058008842170238495,
-0.015457574278116226,
0.04249115288257599,
-0.03702947869896889,
-0.022413482889533043,
-0.005474557634443045,
0.024800820276141167,
-0.044826965779066086,
0.01913304254412651,
0.001881744945421815,
-0.016470903530716896,
0.010777364484965801,
-0.046991027891635895,
0.005350038409233093,
0.02433709241449833,
-0.042250704020261765,
-0.006277492735534906,
0.00803364533931017,
0.037098176777362823,
0.03398948907852173,
0.019081516191363335,
0.06413175910711288,
-0.0544106625020504,
-0.014229555614292622,
-0.07055523991584778,
-0.01532017346471548,
0.025796974077820778,
-0.012761086225509644,
-0.016178928315639496,
-0.012314533814787865,
0.0281843114644289,
0.005633427295833826,
0.019802870228886604,
0.027720583602786064,
-0.03524326905608177,
-0.01585260219871998,
-0.02761753275990486,
-0.04393386095762253,
-0.02375314012169838,
-0.04565136879682541,
0.03285593166947365,
0.002483946271240711,
-0.06382260471582413,
-0.05121609568595886,
0.028149960562586784,
-0.0156980250030756,
-0.0635821595788002,
0.01273532398045063,
-0.004248686134815216,
0.04379646107554436,
-0.020335298031568527,
0.0244744922965765,
0.034745194017887115,
-0.0015650794375687838,
0.012967186979949474,
-0.024113815277814865,
0.03481389209628105,
0.022344782948493958,
-0.026535503566265106,
-0.007737374864518642,
-0.013456677086651325,
0.0125292232260108,
-0.013645603321492672,
0.014813508838415146,
-0.052452702075242996,
-0.030863624066114426,
0.011996795423328876,
-0.009678158909082413,
-0.030434247106313705,
-0.002458183793351054,
-0.07241015136241913,
-0.013903229497373104,
-0.004538515582680702,
0.004089816473424435,
0.022241732105612755,
-0.04060189425945282,
0.018806716427206993,
-0.025796974077820778,
0.028613688424229622,
0.021091001108288765,
0.004937836434692144,
-0.0031301588751375675,
-0.019940270110964775,
-0.030915148556232452,
0.04609792307019234,
-0.045136116445064545,
-0.10435580462217331,
0.07385285198688507,
0.01224583387374878,
0.08615021407604218,
0.002279992215335369,
0.026896178722381592,
0.0187208391726017,
-0.034195590764284134,
-0.030417071655392647,
-0.03175672888755798,
-0.0032954690977931023,
-0.031911302357912064,
-0.007067546714097261,
0.01873801462352276,
0.01606729067862034,
0.011756343767046928,
0.04760932922363281,
-0.024835169315338135,
-0.010992052964866161,
-0.01887541636824608,
-0.052452702075242996,
0.051593948155641556,
-0.030331196263432503,
-0.03512304276227951,
-0.04623532295227051,
-0.05581901967525482,
0.013963342644274235,
-0.01605011522769928,
-0.000922087230719626,
-0.014581644907593727,
0.017389770597219467,
0.0043517365120351315,
-0.022653933614492416,
-0.0345219150185585,
0.08683721721172333,
0.04664752632379532,
-0.07790617644786835,
-0.016093052923679352,
0.029558317735791206,
0.044105611741542816,
-0.02722250670194626,
-0.028974363580346107,
-0.03613637387752533,
-0.06509356200695038,
-0.07179184257984161,
0.031172774732112885,
0.007441104389727116,
-0.09329505264759064,
0.04939553886651993,
0.001838807249441743,
-0.05970058590173721,
-0.04664752632379532,
0.05942578613758087,
0.012159958481788635,
-0.005251281429082155,
-0.041804149746894836,
-0.036033324897289276,
0.055922068655490875,
-0.07083003968000412,
0.02244783379137516,
-0.07611996680498123,
-0.008213982917368412,
0.006135798059403896,
-0.04091104865074158,
0.015260061249136925,
0.009669571183621883,
-0.025985900312662125,
0.002434568013995886,
0.006307549308985472,
0.031207125633955002,
-0.019682643935084343,
-0.019785694777965546,
0.022963086143136024,
-0.017947960644960403,
0.045136116445064545,
0.04424301162362099,
-0.011180979199707508,
-0.04424301162362099,
0.0633760541677475,
-0.022413482889533043,
0.0028403291944414377,
0.024817993864417076,
0.007441104389727116,
0.03364598751068115,
0.0010525105753913522,
0.01706344448029995,
-0.0027716290205717087,
-0.03713252767920494,
-0.05897923558950424,
0.02476646937429905,
0.0023572801146656275,
-0.010811714455485344,
-0.018600614741444588,
-0.043109457939863205,
0.005998397711664438,
0.05224660038948059,
-0.02085055038332939,
0.016728529706597328,
0.015938477590680122,
0.024783644825220108,
0.004160663578659296,
0.03165367618203163,
-0.014418481849133968,
-0.001250560744665563,
-0.023942064493894577,
-0.020661624148488045,
0.019459368661046028,
0.07186054438352585,
0.012194308452308178,
-0.033731862902641296,
-0.03052012249827385,
-0.055647268891334534,
0.012426172383129597,
-0.004055466502904892,
0.02617482654750347,
-0.004100550897419453,
-0.01468469575047493,
0.03812868520617485,
-0.015363111160695553,
-0.050597794353961945,
0.021949755027890205,
0.012185720726847649,
0.023134836927056313,
-0.10126429051160812,
0.026415277272462845,
-0.025711098685860634,
-0.005740771535784006,
0.08615021407604218,
-0.05581901967525482,
0.046853624284267426,
0.04647577181458473,
-0.02102230116724968,
-0.0368577279150486,
-0.10112688690423965,
0.03294180706143379,
-0.0016348531935364008,
-0.009660984389483929,
0.014641758054494858,
0.009618046693503857,
-0.000176983856363222,
-0.06145244464278221,
0.03196283057332039,
-0.001609090599231422,
0.02519584633409977,
-0.009197256527841091,
-0.009265957400202751,
0.04781543090939522,
0.0374416783452034,
-0.01474480889737606,
0.0544106625020504,
0.00235942704603076,
-0.021194051951169968,
-0.020695975050330162,
-0.025350421667099,
0.011816456913948059,
0.03108689934015274,
-0.024646243080496788,
-0.019047167152166367,
0.017759036272764206,
-0.004098404198884964,
0.036033324897289276,
0.024354267865419388,
0.0748833566904068,
-0.023787489160895348,
0.005487438756972551,
-0.033766213804483414,
-0.03933094069361687,
0.015431812033057213,
-0.03812868520617485,
-0.03902178630232811,
-0.031310174614191055,
-0.07811227440834045,
-0.07199794799089432,
-0.0036175018176436424,
0.02200128138065338,
-0.03768213093280792,
-0.054616764187812805,
-0.027325555682182312,
-0.023100486025214195,
-0.002080331789329648,
-0.02131427824497223,
0.030691873282194138,
0.02950679138302803,
0.02246500737965107,
-0.04187285155057907,
-0.007651499472558498,
-0.001598356175236404,
0.018342988565564156,
0.01913304254412651,
0.024508843198418617,
0.07474596053361893,
0.009557933546602726,
0.026398101821541786,
-0.05818917974829674,
-0.013207638636231422,
-0.004379645921289921,
-0.03682337701320648,
-0.03630812466144562,
0.015096897259354591,
0.01093193981796503,
0.028888488188385963,
0.00785760022699833,
-0.03285593166947365,
-0.01066572591662407,
0.03398948907852173,
-0.011361316777765751,
-0.025298897176980972,
0.00737240444868803,
0.0002008679584832862,
-0.012700974009931087,
0.03398948907852173,
-0.049464236944913864,
-0.07241015136241913,
0.033336836844682693,
-0.06633017212152481,
0.02158907800912857,
0.029111765325069427,
0.014341194182634354,
-0.018085362389683723,
0.01928761787712574,
-0.05300230532884598,
-0.023237885907292366,
0.02967854216694832,
0.04760932922363281,
0.012074083089828491,
-0.055922068655490875,
0.04293770715594292,
-0.014968084171414375,
0.014796333387494087,
-0.03682337701320648,
0.037647780030965805,
-0.05970058590173721,
0.020369648933410645,
-0.016273390501737595,
-0.021228402853012085,
0.0483650341629982,
-0.015148422680795193,
-0.07309715449810028,
-0.050288643687963486,
0.021640604361891747,
-0.02492104470729828,
0.04733452945947647,
-0.02174365520477295,
-0.03199717774987221,
0.019751345738768578,
-0.012984362430870533,
-0.035311970859766006,
-0.06330735236406326,
-0.00801646988838911,
-0.017303895205259323,
0.025848498567938805,
0.0477810800075531,
-0.0008641213644295931,
-0.0762573704123497,
-0.06667367368936539,
-0.005547551903873682,
-0.031172774732112885,
-0.020489873364567757,
0.1220804899930954,
0.007170597091317177,
-0.022688284516334534,
-0.053174056112766266,
-0.009806971997022629,
0.015809664502739906,
-0.04675057530403137,
0.043246857821941376,
0.0001412918936694041,
0.0026750192046165466,
0.033628810197114944,
-0.039365287870168686,
0.03249525651335716,
-0.006509356200695038,
-0.03658292442560196,
0.05063214525580406,
-0.03912483900785446,
0.05080389603972435,
-0.06938733160495758,
-0.03888438642024994,
-0.042113304138183594,
0.01446141954511404,
0.10806562006473541,
-0.030331196263432503,
-0.035346321761608124,
0.004276595544070005,
0.0512847974896431,
0.04668187350034714,
0.05873878300189972,
0.01827428862452507,
0.0038321902975440025,
-0.027669057250022888,
-0.009772622026503086,
-0.007784606423228979,
0.022207381203770638,
-0.003945975098758936,
0.01671135611832142,
0.007814662531018257,
-0.02519584633409977,
-0.013911817222833633,
0.018944116309285164,
0.002999198855832219,
-0.06399435549974442,
0.058223530650138855,
0.007080427836626768,
-0.03723558038473129,
0.03424711525440216,
-0.030039219185709953,
0.05757087841629982,
-0.026398101821541786,
0.000014424385881284252,
0.037647780030965805,
0.0034457510337233543,
-0.006019866559654474,
0.056780822575092316,
-0.06042193993926048,
-0.050872594118118286,
-0.03771648183465004,
0.06698282063007355,
0.048158932477235794,
0.022052805870771408,
0.017544347792863846,
0.030262496322393417,
0.03933094069361687,
-0.027102280408143997,
0.032752882689237595,
-0.01440130639821291,
-0.018926940858364105,
0.04967033863067627,
-0.030039219185709953,
0.02231043204665184,
-0.011172391474246979,
0.047987181693315506,
0.045685719698667526,
0.02146885357797146,
-0.02590002492070198,
0.05183440074324608,
0.03227198123931885,
0.005448794923722744,
0.03280440717935562,
-0.023272236809134483,
0.018171237781643867,
0.02617482654750347,
0.06918123364448547,
-0.054616764187812805,
-0.01829146221280098,
-0.0019697672687470913,
0.06663931906223297,
-0.0002620541781652719,
-0.053620606660842896,
0.015826838091015816,
-0.0672919750213623,
0.07357805222272873,
-0.020197896286845207,
0.015294411219656467,
-0.011739169247448444,
0.0012634419836103916
] |
725,971 | pymediainfo | __getstate__ | null | def __getstate__(self): # type: ignore
return self.__dict__
| (self) | [
0.024721140041947365,
-0.04103274270892143,
0.010892525315284729,
0.002641573315486312,
-0.00045819743536412716,
-0.007743480149656534,
0.007004926912486553,
0.0055640689097344875,
0.05404577776789665,
-0.0616578571498394,
-0.03802415728569031,
0.027566608041524887,
-0.02948775328695774,
0.030013348907232285,
-0.047521136701107025,
0.018595226109027863,
-0.018504606559872627,
0.006062478758394718,
-0.037190452218055725,
-0.011327501386404037,
-0.009877581149339676,
-0.00827360711991787,
0.051109686493873596,
0.018033383414149284,
-0.019900154322385788,
-0.006619791965931654,
-0.02067948691546917,
-0.03227885067462921,
0.0806155651807785,
-0.006153098773211241,
-0.06854497641324997,
-0.03532368317246437,
0.0036746414843946695,
-0.0026642284356057644,
0.00018534624541644007,
-0.00029451504815369844,
-0.02414117194712162,
0.04541875049471855,
-0.00790206529200077,
-0.04197518900036812,
-0.016936881467700005,
-0.03421811759471893,
-0.031064540147781372,
-0.01684626005589962,
0.02305373176932335,
-0.000046725945139769465,
0.03113703615963459,
0.007589426357299089,
0.03519681468605995,
-0.06042542681097984,
0.06477518379688263,
0.015206038020551205,
-0.0014771062415093184,
0.043570101261138916,
-0.022346895188093185,
-0.03070206008851528,
0.033891886472702026,
0.019773287698626518,
-0.012025276198983192,
0.06792876124382019,
-0.05951922386884689,
0.01204339973628521,
0.02881716378033161,
-0.0565468892455101,
-0.013919234275817871,
-0.060787905007600784,
-0.023524954915046692,
0.006696818862110376,
-0.0315176397562027,
0.03169888257980347,
-0.0004499850037973374,
-0.03242384269833565,
0.03302193433046341,
0.01612129993736744,
-0.0341818705201149,
-0.040779005736112595,
-0.04444005340337753,
-0.0028681233525276184,
0.02821907214820385,
-0.016574401408433914,
-0.055785682052373886,
0.024829883128404617,
-0.05274084955453873,
0.04161271080374718,
-0.012215577997267246,
-0.021567562595009804,
0.013429885730147362,
-0.0008778813644312322,
-0.04744863882660866,
0.0018667723052203655,
-0.015731634572148323,
0.07271350175142288,
-0.023796815425157547,
0.053429558873176575,
-0.016003495082259178,
-0.03193449229001999,
-0.019918279722332954,
0.013611125759780407,
-0.011001269333064556,
-0.027947211638092995,
-0.04969601705670357,
0.00215902179479599,
-0.05879426375031471,
0.01049379725009203,
-0.015278534032404423,
-0.00802440196275711,
0.021386323496699333,
-0.046433694660663605,
0.02785659208893776,
-0.04907979816198349,
0.0073311589658260345,
0.02212940715253353,
-0.029469627887010574,
0.0442950613796711,
0.04657868668437004,
-0.021694431081414223,
-0.04498377442359924,
-0.023742442950606346,
-0.007000396028161049,
-0.006588074844330549,
-0.017544034868478775,
0.03363814949989319,
-0.027475988492369652,
0.035051822662353516,
0.017235927283763885,
0.05745308846235275,
-0.01641128398478031,
-0.015586642548441887,
0.06067916005849838,
-0.016329726204276085,
0.014109536074101925,
0.0005414545885287225,
-0.02267312817275524,
0.03914784640073776,
0.021005719900131226,
0.03526930883526802,
0.07474339008331299,
0.02091509848833084,
-0.03936533257365227,
0.06821874529123306,
0.04009029269218445,
0.014145784080028534,
0.0064249588176608086,
0.0032600550912320614,
0.04378759115934372,
0.0017240457236766815,
0.023379962891340256,
0.051182184368371964,
-0.023017482832074165,
-0.016003495082259178,
0.06430396437644958,
-0.026497291401028633,
0.005650158040225506,
0.0308833010494709,
-0.055495698004961014,
0.019555799663066864,
-0.036284253001213074,
-0.023742442950606346,
-0.03798791021108627,
-0.04255515709519386,
-0.034399356693029404,
-0.002650635316967964,
-0.017960887402296066,
-0.09250491112470627,
0.02511986717581749,
0.06140412017703056,
0.04092399775981903,
-0.07474339008331299,
-0.01124594360589981,
-0.027204127982258797,
-0.09438980370759964,
-0.023742442950606346,
-0.05288584157824516,
0.05564069002866745,
-0.0412139818072319,
0.06966866552829742,
-0.025192363187670708,
0.060715410858392715,
0.0045921690762043,
-0.003312161425128579,
0.01897583156824112,
-0.03320317342877388,
-0.11505117267370224,
0.046542439609766006,
0.029958976432681084,
-0.0032532585319131613,
0.03586740046739578,
-0.010086007416248322,
0.06147661805152893,
0.03697296604514122,
-0.00585405295714736,
-0.00854093674570322,
0.018105879426002502,
-0.007707232143729925,
-0.006982272025197744,
-0.019664542749524117,
-0.04690491780638695,
-0.011689981445670128,
-0.0005658087320625782,
0.07242351770401001,
0.004712240770459175,
-0.039619069546461105,
-0.029759611934423447,
0.015369154512882233,
-0.03965531662106514,
0.007059298921376467,
-0.007276786956936121,
-0.04001779854297638,
0.030992044135928154,
0.008468440733850002,
-0.03412749618291855,
-0.02845468372106552,
-0.00936104729771614,
0.049768511205911636,
0.03885786235332489,
-0.08728519827127457,
0.03416374698281288,
-0.011445308104157448,
0.007023050915449858,
0.040162790566682816,
0.08387788385152817,
0.010928773321211338,
0.008880761452019215,
-0.06401398032903671,
-0.036882344633340836,
-0.034018754959106445,
-0.015786007046699524,
-0.025591092184185982,
-0.040597766637802124,
-0.04324387013912201,
0.03595802187919617,
-0.028291568160057068,
0.02080635540187359,
-0.013538629747927189,
0.05078345537185669,
0.038894109427928925,
-0.00711367093026638,
-0.03273195028305054,
-0.03412749618291855,
0.027276623994112015,
0.019302062690258026,
-0.003280444536358118,
0.068146251142025,
0.012242764234542847,
-0.020480122417211533,
-0.006733066868036985,
0.045636240392923355,
0.07807820290327072,
-0.02591732330620289,
-0.011137199588119984,
0.04389633610844612,
-0.02444927953183651,
-0.04125022888183594,
0.0020751983392983675,
0.021930042654275894,
-0.06390523165464401,
-0.009533225558698177,
0.0032645859755575657,
0.028744667768478394,
-0.007358345203101635,
0.016692206263542175,
-0.02140444703400135,
-0.012387756258249283,
0.03644736856222153,
0.01738091930747032,
0.03528743237257004,
0.03314880281686783,
0.0002555767714511603,
-0.06321652233600616,
0.03456247225403786,
0.18066005408763885,
-0.029777737334370613,
-0.03160826116800308,
0.018703971058130264,
-0.04694116860628128,
-0.0885901227593422,
-0.0013502382207661867,
-0.003173965960741043,
-0.06339776515960693,
-0.010647851973772049,
0.04846358299255371,
0.03282256796956062,
0.02693226747214794,
0.01829618029296398,
-0.04407757520675659,
-0.03294943645596504,
-0.011019393801689148,
0.009111842140555382,
0.02713163197040558,
-0.007367406971752644,
0.0361030139029026,
0.007045706268399954,
-0.0009543420164845884,
-0.024068675935268402,
0.08119553327560425,
-0.016583463177084923,
-0.10279934108257294,
0.00446983240544796,
0.010276309214532375,
0.0531395748257637,
0.03320317342877388,
0.00327591341920197,
-0.07285849004983902,
0.06252781301736832,
-0.015196976251900196,
0.029034651815891266,
0.041938941925764084,
0.0340731255710125,
-0.010421301238238811,
-0.008241889998316765,
0.010928773321211338,
0.01903020218014717,
0.028309691697359085,
0.052269622683525085,
-0.011363749392330647,
-0.09612970799207687,
-0.02633417584002018,
-0.02687789686024189,
0.010892525315284729,
0.11374624073505402,
-0.0819929912686348,
-0.003910253755748272,
-0.006311683915555477,
0.0018214622978121042,
0.016456594690680504,
0.006461206823587418,
-0.0032487274147570133,
0.025989819318056107,
0.02493862807750702,
0.015242286026477814,
-0.0974346399307251,
-0.03224259987473488,
0.0341818705201149,
0.020280759781599045,
-0.01770715042948723,
0.01124594360589981,
0.021205082535743713,
0.010702223517000675,
-0.007023050915449858,
-0.08547279983758926,
0.04672367870807648,
-0.009524163790047169,
-0.03976406157016754,
-0.024340536445379257,
-0.020770106464624405,
0.0029678053688257933,
0.007974561303853989,
0.017670903354883194,
0.09214243292808533,
-0.06263655424118042,
-0.05690936744213104,
-0.024793636053800583,
0.0017206475604325533,
0.06785626709461212,
0.0015552659751847386,
-0.04646994173526764,
-0.011871221475303173,
-0.005274084862321615,
-0.0076256743632256985,
0.012143081985414028,
0.05922923982143402,
-0.009515101090073586,
-0.03824164718389511,
-0.01502479799091816,
0.01728123612701893,
0.002650635316967964,
-0.03849538043141365,
-0.022582506760954857,
0.016583463177084923,
-0.07742574065923691,
-0.013629250228404999,
-0.053248319774866104,
-0.054335761815309525,
0.02042575180530548,
0.0011814584722742438,
0.010375991463661194,
-0.020045146346092224,
0.0028409373480826616,
-0.012541810050606728,
0.018939582630991936,
0.05219712853431702,
-0.004429053049534559,
-0.002265500370413065,
0.04038027673959732,
0.009315737523138523,
-0.0010194751666858792,
0.02365182340145111,
-0.00697774114087224,
0.04911604896187782,
-0.0017931435722857714,
-0.09641969203948975,
-0.02220190316438675,
-0.0701761394739151,
0.02845468372106552,
0.020298883318901062,
-0.019320186227560043,
0.04617995768785477,
-0.036628611385822296,
-0.012668677605688572,
-0.0005895964568480849,
0.024431155994534492,
0.0187402181327343,
0.0073311589658260345,
-0.031354524195194244,
-0.006588074844330549,
-0.01708187349140644,
0.018287118524312973,
0.05212463065981865,
-0.0005963929579593241,
-0.1062791496515274,
-0.009660093113780022,
-0.019229566678404808,
-0.04675992578268051,
-0.08032558113336563,
0.020280759781599045,
-0.03363814949989319,
0.04063401371240616,
-0.0005423041293397546,
0.041395220905542374,
0.02347058430314064,
-0.0031603730749338865,
0.037625428289175034,
0.008096897974610329,
-0.0048255156725645065,
-0.013828613795340061,
0.03893035650253296,
-0.03787916526198387,
0.03820539638400078,
0.04081525281071663,
0.04556374251842499,
0.019737038761377335,
0.0010002184426411986,
0.011327501386404037,
-0.017308423295617104,
0.01732654683291912,
-0.03893035650253296,
-0.015514146536588669,
-0.029052777215838432,
-0.015858503058552742,
0.10359679907560349,
-0.00695055490359664,
0.05139967054128647,
0.02202066406607628,
0.020969470962882042,
0.06796500831842422,
-0.032568834722042084,
-0.012369631789624691,
0.05016724020242691,
0.06252781301736832,
-0.036827974021434784,
0.0009622712968848646,
-0.0045921690762043,
0.037734173238277435,
-0.04367884621024132,
-0.03267757594585419,
0.012641492299735546,
-0.0531395748257637,
-0.03864037245512009,
-0.013629250228404999,
-0.005015817936509848,
-0.011073765344917774,
-0.0015790536999702454,
-0.03903910145163536,
0.02840031310915947,
-0.01744435355067253,
-0.023579327389597893,
-0.012396818026900291,
-0.004506080411374569,
-0.051544662564992905,
0.01563195325434208,
0.03137264773249626,
0.03349315747618675,
-0.03218822926282883,
-0.0785856768488884,
-0.05284959077835083,
0.012451189570128918,
-0.021966291591525078,
-0.020588867366313934,
-0.04241016507148743,
-0.06981366127729416,
-0.011146261356770992,
0.008128615096211433,
0.011173447594046593,
-0.006193878129124641,
-0.014807309955358505,
-0.004465301055461168,
0.0308833010494709,
0.026859771460294724,
0.03740794211626053,
-0.010566293261945248,
-0.05571318417787552,
0.020461998879909515,
-0.01744435355067253,
0.019773287698626518,
0.019809534773230553,
0.006873528007417917,
-0.00655182683840394,
0.011898407712578773,
0.02323497086763382,
-0.011100951582193375,
0.0033257545437663794,
-0.04306263104081154,
0.039510324597358704,
0.041395220905542374,
0.0022417125292122364,
-0.07068361341953278,
-0.029469627887010574,
0.0032849754206836224,
0.040597766637802124,
-0.008264545351266861,
0.026968516409397125,
0.016284417361021042,
0.03331191837787628,
-0.01800619624555111,
-0.0046216207556426525,
-0.05491572991013527,
-0.02457614801824093,
0.0029474159236997366,
-0.03586740046739578,
0.01915707066655159,
0.03659236058592796,
0.05382828786969185,
0.03965531662106514,
-0.035849276930093765,
-0.034399356693029404,
0.016193795949220657,
-0.01133656408637762,
-0.0128589803352952,
-0.0028318753466010094,
0.023035608232021332,
0.0411052368581295,
-0.070067398250103,
-0.0035704285837709904,
0.058468032628297806,
-0.02832781709730625,
-0.018758343532681465,
-0.00695055490359664,
-0.007489744108170271,
-0.10511921346187592,
-0.013756117783486843,
0.05727184936404228,
-0.011182509362697601,
0.0059809209778904915,
0.03802415728569031,
0.025500472635030746,
0.009478853084146976,
-0.03242384269833565,
-0.00002950460293504875,
-0.04712240770459175,
-0.032568834722042084,
0.005147216841578484,
-0.0651739165186882,
0.01471669040620327,
-0.08344291150569916,
0.01167185790836811,
-0.013792365789413452,
0.04875356703996658,
0.024123048409819603,
0.02919776923954487,
0.01009506918489933,
0.033837512135505676,
0.036392997950315475,
-0.019682666286826134,
-0.014607946388423443,
0.00451740762218833,
0.011762477457523346,
0.019537674263119698,
0.050384726375341415,
-0.004648806527256966,
-0.014807309955358505,
0.03175325319170952,
-0.008799203671514988,
0.04135897383093834,
0.017861204221844673,
0.05922923982143402,
0.0374804362654686,
-0.008105960674583912,
0.049406033009290695,
0.02055261842906475,
-0.052269622683525085,
0.06879871338605881,
-0.0196464192122221,
-0.019990775734186172,
-0.022002538666129112,
-0.042663902044296265,
0.017308423295617104,
-0.0598454587161541,
0.057018112391233444,
0.024249915033578873,
-0.026732904836535454,
-0.03922034054994583,
-0.00969634111970663,
0.018595226109027863,
-0.008853575214743614,
0.01926581561565399,
-0.003697296604514122,
0.022419391199946404,
-0.014662317931652069,
-0.026914143934845924,
-0.004703178536146879,
0.005600316915661097,
0.023017482832074165,
0.04085150361061096,
-0.0008127482724376023,
-0.004988631699234247,
-0.010820029303431511,
0.009669155813753605,
0.04299013316631317,
-0.0022405798081308603,
0.005246898625046015,
-0.029524000361561775,
-0.03557741641998291,
0.009406357072293758,
-0.055241961032152176,
-0.0007430841214954853,
-0.029360884800553322,
0.007371938321739435,
0.03233322128653526,
-0.04820984601974487,
0.016701268032193184,
0.01201621349900961,
0.00398274976760149,
-0.018096817657351494,
0.02390556037425995,
-0.018957706168293953,
-0.0409964956343174,
0.03064768947660923,
-0.004501549061387777,
-0.011979965493083,
-0.015224162489175797,
0.005332987755537033,
0.02827344462275505,
0.03972781449556351,
-0.06622510403394699,
0.010375991463661194,
0.04183019697666168,
0.04197518900036812,
0.024648644030094147,
-0.021331951022148132,
0.049478527158498764,
-0.0007374203414656222,
-0.008835451677441597,
-0.011563113890588284,
-0.0038173680659383535,
-0.051363423466682434,
-0.024123048409819603,
-0.013855800032615662,
-0.02816469967365265,
0.039510324597358704,
-0.04125022888183594,
-0.013058343902230263,
0.00041260424768552184,
-0.007865817286074162,
-0.009596659801900387,
-0.022944986820220947,
-0.01618473418056965,
0.00606701010838151,
0.048499830067157745,
0.012931476347148418,
-0.026787275448441505,
-0.09844958037137985,
0.0340731255710125,
-0.06981366127729416,
-0.012523685581982136,
0.07452590018510818,
0.054879479110240936,
-0.08097804337739944,
0.06977741420269012,
0.04415006935596466,
-0.014462954364717007,
0.03994530066847801,
0.016556276008486748,
0.0020423484966158867,
-0.007960968650877476,
-0.05687312036752701,
-0.026316052302718163,
0.037915412336587906,
-0.011753415688872337,
0.06125912815332413,
-0.005337518639862537,
-0.018341490998864174,
0.07467088848352432,
-0.017308423295617104,
0.03164450824260712,
0.031209532171487808,
0.02524673566222191,
0.0019245425937697291,
-0.011001269333064556,
0.0702848806977272,
-0.05698186531662941,
-0.045165013521909714,
-0.0351424403488636,
0.002648369874805212,
0.047919861972332,
-0.025319231674075127,
-0.0195920467376709,
-0.01401891652494669,
-0.07873066514730453,
0.03519681468605995,
-0.013040220364928246,
0.029052777215838432,
0.009533225558698177,
0.044657543301582336,
-0.025989819318056107,
0.061875347048044205,
0.002512439852580428,
0.007983623072504997,
-0.014807309955358505,
0.00863608717918396,
-0.04067026078701019,
0.024920504540205002,
0.016583463177084923,
-0.01701843924820423,
0.0016583462711423635,
0.031463269144296646,
-0.01946517825126648,
-0.00973258912563324,
0.007453496102243662,
-0.035233061760663986,
0.030194588005542755,
-0.04929728806018829,
0.006583543960005045,
0.01671939343214035,
0.01928393915295601,
0.03613926097750664,
0.07151731848716736,
-0.007838631048798561,
-0.025754207745194435,
-0.02269125171005726,
0.029813984408974648,
0.005831398069858551,
0.005727184936404228,
-0.06738504022359848,
0.010421301238238811,
-0.001324184937402606,
-0.02522861212491989,
0.05574943125247955,
0.038169149309396744,
0.02231064811348915,
0.057380594313144684,
0.017371857538819313,
0.04494752734899521,
0.011327501386404037,
0.06107788905501366,
-0.006850873120129108,
-0.001605106983333826,
0.000006384994321706472,
-0.0016085052629932761,
0.004338433034718037,
-0.027077259495854378,
0.012179329991340637,
0.04737614467740059,
0.015731634572148323,
-0.010022573173046112,
0.040960244834423065,
-0.026732904836535454,
-0.02767535299062729,
-0.005808742716908455,
0.02354308031499386,
-0.00937010906636715,
-0.06658758968114853,
-0.03410937264561653,
-0.013719869777560234,
0.04574498161673546,
-0.004920666571706533,
0.03831414133310318,
-0.0115812374278903,
-0.01310365367680788
] |
725,972 | pymediainfo | __init__ | null | def __init__(self, xml_dom_fragment: ET.Element):
self.track_type = xml_dom_fragment.attrib["type"]
repeated_attributes = []
for elem in xml_dom_fragment:
node_name = elem.tag.lower().strip().strip("_")
if node_name == "id":
node_name = "track_id"
node_value = elem.text
if getattr(self, node_name) is None:
setattr(self, node_name, node_value)
else:
other_node_name = f"other_{node_name}"
repeated_attributes.append((node_name, other_node_name))
if getattr(self, other_node_name) is None:
setattr(self, other_node_name, [node_value])
else:
getattr(self, other_node_name).append(node_value)
for primary_key, other_key in repeated_attributes:
try:
# Attempt to convert the main value to int
# Usually, if an attribute is repeated, one of its value
# is an int and others are human-readable formats
setattr(self, primary_key, int(getattr(self, primary_key)))
except ValueError:
# If it fails, try to find a secondary value
# that is an int and swap it with the main value
for other_value in getattr(self, other_key):
try:
current = getattr(self, primary_key)
# Set the main value to an int
setattr(self, primary_key, int(other_value))
# Append its previous value to other values
getattr(self, other_key).append(current)
break
except ValueError:
pass
| (self, xml_dom_fragment: xml.etree.ElementTree.Element) | [
0.009912817738950253,
0.008744624443352222,
-0.011537712998688221,
0.00716299656778574,
-0.022517768666148186,
-0.004119924735277891,
-0.0008454979979433119,
0.060457613319158554,
0.0010263756848871708,
0.0018724746769294143,
-0.022190866991877556,
0.02495991811156273,
0.040881961584091187,
0.05830390751361847,
-0.022152408957481384,
0.03305554762482643,
-0.010220490396022797,
0.027882805094122887,
-0.04761229455471039,
-0.012479959055781364,
0.02730591967701912,
0.008984994143247604,
-0.04834301769733429,
0.06038069725036621,
0.03001728281378746,
-0.0020142924040555954,
-0.018402650952339172,
0.03474774584174156,
0.010903138667345047,
-0.012576106935739517,
-0.014364452101290226,
-0.07768726348876953,
-0.020556358620524406,
-0.002199376467615366,
-0.020767882466316223,
-0.05495797097682953,
-0.08530215919017792,
0.05876541510224342,
-0.08191776275634766,
0.049842920154333115,
0.056880924850702286,
-0.03070954605937004,
-0.045843180269002914,
-0.038209058344364166,
-0.013393361121416092,
0.016479698941111565,
-0.000010760269105958287,
0.014374067075550556,
-0.015883583575487137,
-0.07045696675777435,
0.006076528690755367,
0.03344013914465904,
0.01837380789220333,
0.08068706840276718,
-0.04503553733229637,
0.03892055153846741,
-0.012614565901458263,
0.08768661320209503,
-0.02028714492917061,
0.06295745074748993,
-0.024729164317250252,
0.05157357454299927,
0.005581368692219257,
-0.0018808875465765595,
-0.05568869411945343,
-0.031228741630911827,
-0.04868914932012558,
0.001916942885145545,
-0.023402327671647072,
0.005057364236563444,
0.016883520409464836,
-0.007778341416269541,
0.004276164807379246,
0.027113623917102814,
0.03965127095580101,
0.05365036427974701,
-0.008922497741878033,
0.050496723502874374,
0.042804915457963943,
0.048150721937417984,
-0.018364192917943,
0.0739951953291893,
0.008744624443352222,
-0.02067173458635807,
-0.03224790841341019,
0.039843566715717316,
-0.009278244338929653,
-0.00916286651045084,
0.026190608739852905,
0.012133827432990074,
-0.03169025108218193,
0.048842985183000565,
-0.03707451745867729,
0.0007926168036647141,
0.020267914980649948,
-0.0014950953191146255,
0.005129474680870771,
-0.06141909211874008,
0.01599896140396595,
0.0037016829010099173,
0.004273761063814163,
0.02938270755112171,
-0.09953200072050095,
-0.037151433527469635,
-0.04038199409842491,
-0.008225427940487862,
-0.004312220029532909,
-0.01733541302382946,
0.04288183152675629,
0.040151238441467285,
-0.022633146494627,
-0.028844282031059265,
-0.01870070956647396,
0.07318755984306335,
-0.006711103022098541,
-0.029459627345204353,
0.051804330199956894,
0.03570922091603279,
0.03369012102484703,
-0.04022815823554993,
0.07561047375202179,
-0.006610148120671511,
-0.04645852372050285,
0.1329144537448883,
-0.035843826830387115,
-0.007768726442009211,
0.048804525285959244,
0.006706295534968376,
-0.00262723327614367,
-0.010547392070293427,
0.03303631767630577,
-0.07191840559244156,
0.026171378791332245,
0.03532462939620018,
0.06449581682682037,
-0.07311064004898071,
0.033459365367889404,
0.02738283760845661,
-0.02699824795126915,
-0.024786852300167084,
0.005874618887901306,
-0.029459627345204353,
0.04626622796058655,
-0.020460210740566254,
-0.0985320657491684,
0.014970182441174984,
-0.07038004696369171,
0.03761294484138489,
-0.08222543448209763,
-0.03036341443657875,
-0.06407276540994644,
-0.015797052532434464,
0.0018268044805154204,
0.04022815823554993,
0.009085948579013348,
-0.03299785777926445,
-0.03980511054396629,
0.00441317493095994,
0.02932501956820488,
-0.009321510791778564,
-0.015797052532434464,
-0.020479440689086914,
0.07022621482610703,
-0.02269083447754383,
0.016450855880975723,
0.007831222377717495,
-0.009758981876075268,
-0.08784045279026031,
-0.029113495722413063,
0.015047100372612476,
0.02834431454539299,
0.007768726442009211,
0.0173161830753088,
0.012585721909999847,
-0.0023820570204406977,
-0.019498733803629875,
0.061111416667699814,
-0.015383617021143436,
0.030844151973724365,
0.05188124626874924,
-0.01132618822157383,
-0.0017294550780206919,
0.00930708833038807,
-0.018248815089464188,
0.041151177138090134,
0.005581368692219257,
0.04534320905804634,
-0.01368180476129055,
0.05007367208600044,
0.016220100224018097,
0.042189568281173706,
-0.029940364882349968,
-0.019219907000660896,
0.0072639514692127705,
0.058534663170576096,
0.05668862909078598,
-0.0023351849522441626,
-0.027209771797060966,
-0.015595141798257828,
0.10953135043382645,
-0.02265237644314766,
0.0015900409780442715,
0.04030507802963257,
0.02530604973435402,
-0.021114014089107513,
0.003913207445293665,
-0.008528292179107666,
0.01670083962380886,
-0.03530539944767952,
-0.013287599198520184,
0.010816605761647224,
0.005028519779443741,
0.07118768990039825,
0.010133957490324974,
0.02670980431139469,
-0.06372663378715515,
-0.03424777835607529,
0.022402392700314522,
0.015739362686872482,
-0.02830585464835167,
0.06626492738723755,
-0.02261391654610634,
-0.012778016738593578,
-0.02267160452902317,
0.022517768666148186,
-0.010691613890230656,
-0.012931852601468563,
-0.03643994405865669,
-0.049189116805791855,
0.07584123313426971,
0.043843306601047516,
0.01197037659585476,
0.00917248148471117,
-0.023460015654563904,
0.03607458248734474,
-0.03242097422480583,
0.01297031156718731,
-0.010095498524606228,
-0.030844151973724365,
-0.06414968520402908,
-0.008581173606216908,
-0.0007974242325872183,
-0.013162607327103615,
0.004093484487384558,
-0.023883065208792686,
-0.030728774145245552,
0.02695978805422783,
0.01733541302382946,
-0.045804720371961594,
-0.025075295940041542,
0.002569544827565551,
0.01997947320342064,
-0.014181772246956825,
0.03876671567559242,
0.05561177432537079,
-0.06341896206140518,
-0.016768142580986023,
0.06288053095340729,
0.01031663827598095,
-0.034882351756095886,
0.031209513545036316,
-0.022152408957481384,
0.04972754046320915,
0.025440655648708344,
-0.018277660012245178,
-0.018402650952339172,
0.0003145829541608691,
0.007388943340629339,
-0.061457548290491104,
-0.006677451077848673,
0.040151238441467285,
-0.07961022108793259,
-0.0031151825096458197,
0.041497305035591125,
-0.004518937319517136,
0.022633146494627,
-0.00017802329966798425,
-0.003951666411012411,
-0.03674761578440666,
-0.02430611476302147,
-0.01697005331516266,
-0.009239785373210907,
-0.005110245198011398,
0.04295875132083893,
0.02469070442020893,
-0.0067495619878172874,
-0.010951212607324123,
0.028748134151101112,
0.010537778027355671,
-0.03857441991567612,
-0.0025863705668598413,
0.020537128672003746,
-0.0487276054918766,
0.033190153539180756,
0.03232482448220253,
0.028728904202580452,
-0.03395933285355568,
0.053496528416872025,
-0.019527578726410866,
-0.0057977004908025265,
-0.0004131342575419694,
0.03063262812793255,
0.036516860127449036,
-0.00324498163536191,
-0.02434457466006279,
0.04330488294363022,
0.0024000846315175295,
0.005869811400771141,
0.06353433430194855,
0.012018450535833836,
0.040189698338508606,
0.06318821012973785,
-0.056227121502161026,
0.028421232476830482,
0.03442084416747093,
0.04707386717200279,
0.0035502503160387278,
-0.04045891389250755,
0.029286561533808708,
0.05961151421070099,
-0.03036341443657875,
-0.045497048646211624,
-0.04265107959508896,
0.006518807727843523,
0.03540154919028282,
0.004937179386615753,
0.0465354397892952,
-0.027844347059726715,
0.0006880562868900597,
-0.017931528389453888,
-0.06457272917032242,
-0.001481874962337315,
-0.023402327671647072,
0.04430481791496277,
-0.0033243035431951284,
-0.04426635801792145,
-0.028267396613955498,
0.0010858670575544238,
0.02703670598566532,
-0.02969038113951683,
0.034843891859054565,
-0.0026632887311279774,
-0.022402392700314522,
0.0029589426703751087,
0.05830390751361847,
-0.019806407392024994,
-0.0091820964589715,
-0.0243638027459383,
0.03772832080721855,
0.0109992865473032,
-0.005922692362219095,
-0.06568804383277893,
-0.011258884333074093,
0.014287534169852734,
0.05991918966174126,
-0.014902878552675247,
0.013845255598425865,
-0.028402002528309822,
-0.010114728473126888,
0.03824751824140549,
0.05068901926279068,
-0.015402846038341522,
0.023883065208792686,
-0.015518223866820335,
-0.017200807109475136,
-0.04038199409842491,
-0.014297149144113064,
0.014854805544018745,
0.008119665086269379,
-0.011095433495938778,
-0.0021416880190372467,
-0.012585721909999847,
-0.01066276989877224,
-0.04765075445175171,
0.016479698941111565,
-0.02395998314023018,
0.0022005783393979073,
0.04572780057787895,
0.0003749756724573672,
-0.08153317123651505,
-0.002276294631883502,
-0.0013076073955744505,
0.008840772323310375,
0.01896030828356743,
-0.02830585464835167,
-0.04899682104587555,
0.10637771338224411,
-0.02405613102018833,
0.059188466519117355,
0.08030247688293457,
0.0033916067332029343,
0.00649957824498415,
0.0038050415460020304,
-0.042535699903964996,
0.01665276475250721,
-0.012201131321489811,
-0.014797116629779339,
-0.025267591699957848,
-0.0052977330051362514,
-0.027748199179768562,
-0.014874034561216831,
-0.06264977902173996,
-0.00475930655375123,
0.04807380214333534,
0.03070954605937004,
0.007590853609144688,
0.02470993436872959,
-0.023210031911730766,
0.00933112483471632,
0.0019349706126376987,
-0.0006447898922488093,
0.017537323758006096,
0.0414588488638401,
-0.07395673543214798,
0.05041980370879173,
-0.01051854807883501,
0.024517638608813286,
-0.006816865410655737,
-0.007244721986353397,
0.003184889443218708,
-0.05903463065624237,
0.07122614979743958,
-0.028594298288226128,
0.0011213214602321386,
-0.02370999939739704,
-0.01019164640456438,
0.02732514962553978,
0.04230494797229767,
-0.05795777589082718,
0.07834106683731079,
0.03276710584759712,
0.04611239209771156,
-0.004230494610965252,
-0.04530475288629532,
0.04311258718371391,
0.00001616857116459869,
-0.0129991564899683,
-0.04330488294363022,
0.037536025047302246,
0.009239785373210907,
-0.023921525105834007,
0.025825247168540955,
0.020902490243315697,
0.0026512702461332083,
-0.014364452101290226,
-0.06099604070186615,
-0.06191905960440636,
0.0169988963752985,
-0.0018075749976560473,
-0.02330617979168892,
-0.02238316275179386,
0.03432469442486763,
0.03738218918442726,
-0.02836354449391365,
-0.0023231664672493935,
-0.04030507802963257,
-0.04530475288629532,
-0.01629702001810074,
0.019210292026400566,
-0.01703735627233982,
-0.023229261860251427,
-0.010095498524606228,
-0.000024168353775166906,
-0.032113298773765564,
-0.0727260485291481,
0.04103579744696617,
0.009831092320382595,
-0.03803599253296852,
-0.03159410506486893,
0.0018123823683708906,
0.043497178703546524,
-0.031555645167827606,
0.03895901143550873,
-0.018902618438005447,
-0.041189633309841156,
-0.027805887162685394,
-0.03942051902413368,
-0.0685340166091919,
-0.04468940570950508,
-0.04188189655542374,
0.024113819003105164,
0.00341323995962739,
0.03759371489286423,
-0.03724758327007294,
-0.014277919195592403,
0.007244721986353397,
0.0299980528652668,
-0.05134282261133194,
-0.03668992593884468,
0.0467277355492115,
-0.0772642195224762,
-0.01864302158355713,
-0.029075035825371742,
0.02197934314608574,
0.04342025890946388,
-0.000775190070271492,
0.04607393220067024,
0.013604885898530483,
-0.02467147633433342,
-0.05865003913640976,
-0.02128707990050316,
-0.051842790096998215,
0.03759371489286423,
-0.013258755207061768,
0.04142038896679878,
0.07811031490564346,
-0.025786787271499634,
0.037536025047302246,
-0.040497370064258575,
0.04030507802963257,
-0.015806665644049644,
-0.073456771671772,
0.029190413653850555,
-0.0064659263007342815,
0.013124148361384869,
-0.013249140232801437,
-0.020114079117774963,
-0.015566297806799412,
-0.0459970161318779,
-0.01368180476129055,
0.019085299223661423,
0.007610083092004061,
0.00868693646043539,
-0.00966764148324728,
-0.00042244853102602065,
0.033555515110492706,
-0.05895771086215973,
-0.00966764148324728,
0.007345676887780428,
-0.043189503252506256,
0.0067832134664058685,
-0.052842725068330765,
-0.008302345871925354,
-0.0009097967413254082,
0.03140180930495262,
0.041151177138090134,
0.07749497145414352,
-0.01569128967821598,
0.0259983129799366,
0.007196648512035608,
0.021114014089107513,
0.03201715275645256,
-0.04422789812088013,
-0.04403560236096382,
-0.021267849951982498,
-0.0025382968597114086,
-0.013124148361384869,
0.03103644773364067,
-0.02501760795712471,
0.014729813672602177,
0.02230624482035637,
0.007090886123478413,
-0.006364971399307251,
-0.008999415673315525,
-0.018739167600870132,
-0.08937881141901016,
-0.030286496505141258,
-0.04057428985834122,
0.0747259184718132,
0.02465224638581276,
0.04438173398375511,
-0.016537388786673546,
-0.011614630930125713,
0.015566297806799412,
-0.0012403040891513228,
0.01532592810690403,
0.013960632495582104,
-0.04338179901242256,
-0.025267591699957848,
0.05391957610845566,
0.029940364882349968,
-0.024883000180125237,
-0.009311895817518234,
-0.018094979226589203,
-0.035478465259075165,
-0.019460275769233704,
-0.056880924850702286,
-0.02630598470568657,
0.028901970013976097,
-0.008730202913284302,
-0.02970961108803749,
0.04311258718371391,
0.0059371148236095905,
-0.041497305035591125,
0.029190413653850555,
0.001462645479477942,
0.05130436271429062,
0.06541883200407028,
0.030190348625183105,
-0.03369012102484703,
-0.04334333911538124,
-0.050458263605833054,
-0.020421750843524933,
-0.011701163835823536,
-0.013412591069936752,
-0.02530604973435402,
0.023152343928813934,
-0.04430481791496277,
-0.05795777589082718,
-0.06611109524965286,
-0.011730007827281952,
-0.016075879335403442,
-0.015287469141185284,
0.030882611870765686,
0.0028820245061069727,
-0.061149876564741135,
-0.02065250650048256,
0.016575846821069717,
0.00358149828389287,
0.02534450963139534,
0.06003456562757492,
0.02505606599152088,
0.07668732851743698,
0.017277725040912628,
-0.004312220029532909,
-0.042535699903964996,
-0.012826090678572655,
0.056150201708078384,
-0.059880729764699936,
-0.010720457881689072,
-0.0685340166091919,
0.009422465227544308,
-0.0512659028172493,
0.023190801963210106,
-0.09630144387483597,
-0.0217293594032526,
0.0054515693336725235,
-0.0572655126452446,
0.011739622801542282,
-0.017768077552318573,
0.060149941593408585,
-0.031190283596515656,
0.031767167150974274,
-0.09445540606975555,
-0.04265107959508896,
-0.01828727498650551,
0.04411252215504646,
0.0320940725505352,
0.026902100071310997,
0.02105632610619068,
0.021152473986148834,
0.017729617655277252,
-0.01896030828356743,
0.02297927811741829,
-0.012604950927197933,
-0.02069096453487873,
0.039497435092926025,
-0.033132463693618774,
-0.025479115545749664,
0.01696043834090233,
-0.004225687123835087,
-0.0054659913294017315,
0.009883973747491837,
0.0003344134020153433,
-0.030767234042286873,
0.06295745074748993,
-0.028882740065455437,
0.000017004229448502883,
0.01098005659878254,
0.022921590134501457,
0.003055090084671974,
0.033478595316410065,
0.00659091817215085,
-0.020864030346274376,
0.020075619220733643,
-0.004740077070891857,
0.034170858561992645,
0.026152148842811584,
-0.006470733787864447,
-0.01597011648118496,
-0.024113819003105164,
0.02038329280912876,
0.053188856691122055,
0.028094330802559853,
-0.05430416762828827,
-0.06641876697540283,
0.004716040100902319,
0.04522783309221268,
-0.01737387292087078,
0.02932501956820488,
0.015114403329789639,
0.04865068942308426,
-0.016220100224018097,
-0.11168505996465683,
-0.017085429280996323,
0.0017426753183826804,
0.005187163129448891,
-0.016902748495340347,
0.03474774584174156,
-0.07864873856306076,
-0.02769051119685173,
-0.0379975326359272,
0.006850516889244318,
0.03224790841341019,
-0.020806342363357544,
-0.06195751577615738,
-0.00027206767117604613,
0.020114079117774963,
0.054458003491163254,
-0.0028075100854039192,
-0.012287664227187634,
-0.006619762629270554,
-0.02299850806593895,
0.012729942798614502,
0.0217293594032526,
-0.032882481813430786,
-0.03928591310977936,
0.052188921719789505,
0.07045696675777435,
0.04365101456642151,
-0.021556293591856956,
0.013451050035655499,
-0.03976665064692497,
-0.03832443431019783,
-0.0007637725211679935,
0.06976470351219177,
0.012749172747135162,
-0.010278179310262203,
-0.030574938282370567,
0.05734243243932724,
-0.0016357111744582653,
0.0074177877977490425,
0.028152018785476685,
0.07311064004898071,
-0.047843050211668015,
0.02995959483087063,
0.08730202913284302,
0.0333632193505764,
-0.0020719808526337147,
-0.08076398819684982,
-0.0048963166773319244,
0.02361385151743889,
0.00734086986631155,
-0.040535829961299896,
-0.02067173458635807,
-0.006441889796406031,
0.005879425909370184,
-0.01828727498650551,
-0.0169988963752985,
0.058457743376493454,
-0.006542844697833061,
-0.017729617655277252,
-0.030517250299453735,
0.06784175336360931,
-0.07014929503202438,
-0.007485091220587492,
0.03772832080721855,
0.056880924850702286,
-0.01628740504384041,
-0.022883130237460136,
-0.003853115253150463,
0.009225362911820412,
0.0059178853407502174,
0.03768986091017723,
0.05061209946870804,
0.013556811958551407,
0.034843891859054565,
0.02738283760845661,
0.032228678464889526,
-0.03759371489286423,
-0.02497914806008339,
-0.05299656093120575,
-0.00814851000905037,
-0.005691938102245331,
-0.01333567313849926,
0.05634249746799469,
0.029786529019474983,
0.05572715401649475
] |
725,973 | pymediainfo | __repr__ | null | def __repr__(self): # type: ignore
return "<Track track_id='{}', track_type='{}'>".format(self.track_id, self.track_type)
| (self) | [
-0.015485753305256367,
-0.033949192613363266,
0.013328267261385918,
0.022252412512898445,
0.01130451075732708,
-0.047571662813425064,
-0.0008012562175281346,
0.05010358616709709,
0.030454423278570175,
-0.03339644894003868,
-0.02480216696858406,
-0.015414430759847164,
-0.021949293091893196,
0.04122401773929596,
0.0062718638218939304,
0.04493275284767151,
-0.04083174839615822,
-0.06183603033423424,
-0.00011394776811357588,
-0.024552540853619576,
0.013889926485717297,
0.06062355637550354,
0.0239106435328722,
-0.011420408263802528,
0.022466376423835754,
0.022555530071258545,
-0.006164880935102701,
-0.017741305753588676,
-0.08259068429470062,
-0.00238928128965199,
-0.04881979525089264,
-0.029045816510915756,
0.014843855984508991,
0.009637362323701382,
-0.03213048726320267,
0.025372741743922234,
-0.10149096697568893,
0.05081680417060852,
-0.0770275816321373,
-0.005937542766332626,
0.031078487634658813,
-0.012347592040896416,
-0.013827520422637463,
-0.024748675525188446,
-0.029652051627635956,
0.0011088316095992923,
0.02389281429350376,
0.004716156050562859,
0.03922700881958008,
-0.09193383902311325,
0.0011756957974284887,
0.08237671852111816,
-0.05798465013504028,
0.042757440358400345,
-0.07709889858961105,
-0.04304272681474686,
0.04129534214735031,
0.013774028979241848,
-0.02351837418973446,
0.06893254816532135,
-0.03747962415218353,
0.0490337610244751,
0.042258184403181076,
-0.03790755569934845,
0.013800774700939655,
-0.04232950881123543,
-0.04047514125704765,
0.034448444843292236,
-0.027565889060497284,
0.009334244765341282,
0.044861432164907455,
-0.0565938726067543,
-0.0002751183928921819,
0.0322374664247036,
0.00955712515860796,
-0.025551047176122665,
0.011625458486378193,
0.015378770418465137,
0.05891183391213417,
-0.027958158403635025,
-0.009833497926592827,
0.04771430417895317,
-0.013381758704781532,
0.010136615484952927,
-0.046359192579984665,
-0.011037053540349007,
-0.019078589975833893,
-0.040261175483465195,
-0.06483154743909836,
0.014094976708292961,
0.00276149227283895,
0.00230235792696476,
-0.043577641248703,
0.039975885301828384,
-0.049853961914777756,
-0.046145226806402206,
0.0006920446758158505,
-0.05741407349705696,
-0.0028595596086233854,
-0.009280753321945667,
0.018124660477042198,
-0.051957953721284866,
-0.09842412918806076,
-0.016127649694681168,
-0.06843329966068268,
-0.04368462413549423,
0.007363979239016771,
0.002447230275720358,
-0.004934579133987427,
0.06105148792266846,
-0.005255527328699827,
0.05245720595121384,
-0.027155788615345955,
0.02899232506752014,
0.03912002593278885,
-0.037871893495321274,
0.021271737292408943,
0.0373726412653923,
0.049461692571640015,
-0.060052983462810516,
-0.0034925409127026796,
0.008032621815800667,
-0.05680783838033676,
0.0223237331956625,
-0.030935844406485558,
0.05185097083449364,
0.012267354875802994,
-0.0226981732994318,
-0.02749456651508808,
-0.07866798341274261,
0.061871688812971115,
-0.02692399173974991,
-0.026656534522771835,
0.002872932469472289,
0.049568671733140945,
-0.01731337420642376,
0.056451231241226196,
0.016778461635112762,
0.04521804302930832,
0.07667096704244614,
0.0016392876859754324,
-0.01710832491517067,
0.021039940416812897,
0.027655040845274925,
-0.022466376423835754,
-0.014977584592998028,
-0.04204421862959862,
0.03730131685733795,
-0.03207699581980705,
-0.036249320954084396,
-0.01898943819105625,
-0.012240609154105186,
0.029438085854053497,
0.0035660916473716497,
-0.02030889131128788,
0.03628498315811157,
0.01651991903781891,
0.008117316290736198,
0.03567874804139137,
-0.001982524059712887,
-0.017233137041330338,
-0.042864419519901276,
0.051458701491355896,
0.01330152153968811,
-0.013265861198306084,
0.02911713719367981,
0.008175265043973923,
-0.028867511078715324,
0.011919661425054073,
0.020950788632035255,
-0.006744370795786381,
-0.05969637259840965,
-0.021485701203346252,
0.02831476740539074,
-0.008135146461427212,
0.013684876263141632,
0.02720927819609642,
0.0690038725733757,
-0.008598738349974155,
0.003552718786522746,
0.03320031240582466,
-0.054561201483011246,
-0.0390487015247345,
-0.00013602689432445914,
0.05580933392047882,
-0.05798465013504028,
0.05680783838033676,
-0.020077096298336983,
0.028546564280986786,
0.02371450886130333,
0.03560742363333702,
-0.01415738370269537,
-0.05103076994419098,
0.009476888924837112,
0.02490914985537529,
-0.02972337417304516,
0.05634424835443497,
-0.03617800027132034,
-0.03343210741877556,
0.07667096704244614,
0.020380213856697083,
0.014469416812062263,
-0.012115796096622944,
-0.025247929617762566,
0.005144087132066488,
0.00989590398967266,
0.02731626108288765,
-0.05181531235575676,
0.04992528259754181,
-0.017286628484725952,
0.029331102967262268,
0.021039940416812897,
0.006129220128059387,
-0.006904845125973225,
0.04439784213900566,
-0.03393136337399483,
-0.028831850737333298,
-0.007185674738138914,
-0.024374235421419144,
0.04090306907892227,
0.025747181847691536,
-0.0384424664080143,
-0.06108715012669563,
-0.01660015620291233,
-0.043755944818258286,
0.008826076984405518,
-0.011866169981658459,
0.0006396676762960851,
-0.04158062860369682,
-0.0027726362459361553,
0.020540688186883926,
0.007698300294578075,
-0.027886835858225822,
0.032255299389362335,
-0.017037002369761467,
0.08144953101873398,
-0.030864523723721504,
0.007341691292822361,
-0.0833752229809761,
0.009521464817225933,
0.02328657917678356,
0.042864419519901276,
-0.018436694517731667,
0.0038781245239079,
0.02029106207191944,
-0.09229045361280441,
0.0008564192103222013,
0.048570167273283005,
0.008375857956707478,
0.0014175213873386383,
0.0658300518989563,
-0.00772950379177928,
-0.011473899707198143,
0.0058171870186924934,
0.025943316519260406,
-0.09057872742414474,
-0.04083174839615822,
-0.02631775662302971,
0.016252461820840836,
-0.0036730743013322353,
-0.028225615620613098,
0.05053151771426201,
0.022751664742827415,
0.0641539916396141,
0.004658207297325134,
0.01415738370269537,
-0.07424602657556534,
0.004020768217742443,
0.023857152089476585,
0.013943417929112911,
0.10527102649211884,
-0.026763517409563065,
-0.032968517392873764,
0.03197001293301582,
-0.03708735108375549,
-0.07071559876203537,
0.0012993946438655257,
-0.022181089967489243,
-0.07538717985153198,
-0.043363675475120544,
-0.041366662830114365,
-0.006472456268966198,
0.04921206459403038,
-0.010199022479355335,
0.020077096298336983,
-0.01890028640627861,
0.04910508170723915,
0.027441075071692467,
0.00507276551797986,
0.0014453815529122949,
0.009325329214334488,
0.04521804302930832,
-0.022466376423835754,
0.009521464817225933,
0.044469162821769714,
-0.019756147637963295,
-0.007216877769678831,
0.022377224639058113,
-0.008304535411298275,
0.01769672892987728,
-0.00048030796460807323,
0.0009255122276954353,
0.030169134959578514,
0.025337081402540207,
-0.04671579971909523,
0.007742876652628183,
-0.02651389129459858,
0.011429323814809322,
0.03762226551771164,
-0.04293574392795563,
0.0236075259745121,
0.05691482126712799,
0.03307550027966499,
0.09093533456325531,
0.006887014489620924,
0.04750034213066101,
-0.05274249613285065,
-0.0490337610244751,
0.037051692605018616,
0.07346148788928986,
0.002338018734008074,
-0.01741144247353077,
0.01370270736515522,
0.04650183394551277,
0.05359835550189018,
-0.05231456458568573,
-0.04528936371207237,
-0.0041567254811525345,
-0.0031114148441702127,
0.008884025737643242,
-0.04051079973578453,
-0.015833446756005287,
0.0015044448664411902,
0.018561506643891335,
0.015039991587400436,
-0.022181089967489243,
-0.009378820657730103,
0.00809948518872261,
-0.012757692486047745,
-0.026549551635980606,
0.054454218596220016,
-0.0022332649677991867,
-0.005875135771930218,
0.01571754924952984,
-0.028938833624124527,
0.027565889060497284,
-0.02740541473031044,
-0.02619294263422489,
0.03751528263092041,
0.014781449921429157,
-0.004557910840958357,
-0.0809502825140953,
0.024980472400784492,
0.013693791814148426,
0.00505493488162756,
-0.011866169981658459,
-0.008759212680161,
0.015521413646638393,
-0.05163700506091118,
0.024231592193245888,
0.03389570116996765,
-0.014968669973313808,
0.0546325221657753,
0.01929255574941635,
-0.035161662846803665,
-0.02189580164849758,
0.030454423278570175,
0.009164855815470219,
-0.0025586707051843405,
0.028689207509160042,
-0.11382964253425598,
0.031952179968357086,
-0.044469162821769714,
-0.03173821419477463,
-0.025782842189073563,
0.06982407718896866,
0.0366237610578537,
0.021967124193906784,
-0.038941722363233566,
-0.09278970211744308,
0.009494719095528126,
0.004127751104533672,
-0.028082972392439842,
0.042472150176763535,
0.01010986976325512,
-0.007760706823319197,
0.05409761145710945,
0.017438188195228577,
0.03521515429019928,
-0.0019268038449808955,
-0.029438085854053497,
0.0005973203224129975,
-0.020023604854941368,
-0.03377088904380798,
-0.038763415068387985,
-0.051957953721284866,
0.015833446756005287,
-0.014745788648724556,
-0.02169966697692871,
-0.026870500296354294,
-0.000498417008202523,
-0.058662205934524536,
-0.016724970191717148,
0.005469493102282286,
-0.016368361189961433,
0.007613605819642544,
0.004078717436641455,
-0.0013963477686047554,
-0.025033963844180107,
-0.0770275816321373,
0.028582224622368813,
0.006236202549189329,
-0.05078114569187164,
-0.04853450879454613,
0.052278902381658554,
0.029331102967262268,
-0.04521804302930832,
-0.023179596289992332,
-0.0397975817322731,
0.03070404939353466,
-0.06793404370546341,
0.029687711969017982,
-0.009044500067830086,
-0.005166375078260899,
0.0031158726196736097,
0.02159268409013748,
0.024837827309966087,
0.07289091497659683,
0.042864419519901276,
0.06344076991081238,
0.0013216827064752579,
0.03544694930315018,
0.01220494881272316,
0.00687364162877202,
0.04949735105037689,
0.0043417164124548435,
-0.0014208646025508642,
-0.05509611591696739,
-0.015271787531673908,
0.070073701441288,
0.004252564162015915,
-0.014915178529918194,
-0.002629992552101612,
0.004738444462418556,
0.039868906140327454,
-0.02332223951816559,
-0.11347303539514542,
-0.02440989762544632,
0.054561201483011246,
0.020843805745244026,
-0.004671580158174038,
0.032362282276153564,
0.03441278263926506,
-0.06222829967737198,
0.014772534370422363,
-0.03769358992576599,
-0.044647466391325,
-0.025658030062913895,
0.0002891877375077456,
-0.0818774625658989,
-0.049960944801568985,
0.022662512958049774,
-0.029438085854053497,
-0.011259933933615685,
0.01094790082424879,
-0.02121824584901333,
0.008933059871196747,
-0.0033811007160693407,
-0.0640113428235054,
-0.03712301328778267,
0.04493275284767151,
0.026888331398367882,
-0.002018184866756201,
0.030186966061592102,
-0.03510817140340805,
0.04322103038430214,
-0.043078385293483734,
0.0008865080890245736,
-0.025889825075864792,
-0.05969637259840965,
-0.03221963718533516,
-0.04518238082528114,
-0.03291502594947815,
0.011464984156191349,
0.0039360737428069115,
0.05880485102534294,
0.019256895408034325,
0.01979180797934532,
-0.02041587419807911,
-0.0005438289954327047,
0.020041434094309807,
0.02562236785888672,
-0.09129194915294647,
-0.0012113567208871245,
0.010528885759413242,
0.045859936624765396,
0.006922675296664238,
-0.0071633863262832165,
-0.04589559882879257,
0.019542181864380836,
0.04339933395385742,
-0.04389858618378639,
0.04653749614953995,
-0.027280600741505623,
0.03361041471362114,
-0.004890003241598606,
0.037051692605018616,
0.04047514125704765,
-0.02389281429350376,
0.02720927819609642,
0.029081476852297783,
-0.07588642835617065,
0.03883473947644234,
-0.01680520735681057,
0.015111313201487064,
-0.010118785314261913,
-0.01486168708652258,
-0.0027236025780439377,
-0.05434723570942879,
0.01314996276050806,
0.008643314242362976,
-0.01386318076401949,
-0.050174910575151443,
-0.013515487313270569,
-0.013515487313270569,
0.02531925030052662,
-0.062798872590065,
0.03423447906970978,
-0.040974393486976624,
0.050067927688360214,
0.05042453482747078,
-0.003742167493328452,
-0.022965630516409874,
0.0047250716015696526,
-0.008683432824909687,
0.0833752229809761,
-0.07185674458742142,
0.04332801327109337,
-0.019738316535949707,
0.028582224622368813,
0.014986500144004822,
-0.04439784213900566,
-0.025551047176122665,
-0.05958938971161842,
0.0357857309281826,
-0.04339933395385742,
0.04350631684064865,
0.020487196743488312,
0.02052285708487034,
-0.008340196684002876,
0.04821356013417244,
-0.02439206652343273,
-0.025765011087059975,
-0.05762803927063942,
0.03350343182682991,
0.04621654748916626,
0.01631486974656582,
0.005616594105958939,
0.006708709988743067,
0.03330729529261589,
0.049354709684848785,
0.021967124193906784,
0.005585391074419022,
-0.004618088714778423,
-0.022983459755778313,
0.01870414987206459,
0.03969059884548187,
0.022822987288236618,
-0.009262923151254654,
-0.017750220373272896,
0.04717939347028732,
-0.042971402406692505,
0.0373726412653923,
0.028189953416585922,
-0.03211265429854393,
0.017687814310193062,
0.041972897946834564,
0.053063444793224335,
0.0058171870186924934,
-0.003942760173231363,
-0.04361329972743988,
0.01898943819105625,
0.01961350440979004,
-0.01749167963862419,
-0.029883848503232002,
-0.0003975635045208037,
0.029669882729649544,
0.001260390505194664,
0.05498913303017616,
-0.01619897037744522,
-0.013979079201817513,
-0.041972897946834564,
0.014130637980997562,
0.016662562265992165,
0.061158470809459686,
-0.07189241051673889,
-0.00001501833048678236,
-0.010591291822493076,
-0.020683331415057182,
0.01449616253376007,
0.04885545372962952,
0.0036819896195083857,
0.019934453070163727,
0.03082886151969433,
0.03127462416887283,
-0.0895802229642868,
0.0077562490478158,
0.014986500144004822,
-0.04871281236410141,
0.013640300370752811,
0.015414430759847164,
0.04589559882879257,
0.03252275660634041,
-0.021236075088381767,
0.0372299961745739,
-0.0335925817489624,
-0.0013651445042341948,
0.04332801327109337,
-0.04889111593365669,
0.02720927819609642,
0.013461995869874954,
0.008019248954951763,
-0.07281959056854248,
0.040653444826602936,
-0.03628498315811157,
-0.018828963860869408,
0.0012247295817360282,
-0.04532502591609955,
0.01911425031721592,
-0.06850461661815643,
0.024659523740410805,
-0.03022262640297413,
-0.022751664742827415,
-0.018454523757100105,
-0.0821627527475357,
-0.013952333480119705,
0.008888483047485352,
-0.0006608413532376289,
0.013346098363399506,
0.03683772683143616,
-0.005157459992915392,
0.0018967150244861841,
-0.042864419519901276,
0.0310249961912632,
0.013586808927357197,
-0.010511054657399654,
-0.025961147621273994,
-0.04493275284767151,
-0.028885342180728912,
-0.013381758704781532,
0.006245118100196123,
-0.010840918868780136,
-0.0017406984698027372,
0.004582427907735109,
-0.009985056705772877,
0.10705406963825226,
-0.019952282309532166,
0.023981966078281403,
-0.028742698952555656,
0.006182711571455002,
-0.05623726546764374,
0.018472354859113693,
-0.016653647646307945,
-0.05384798347949982,
0.030258286744356155,
0.027387583628296852,
-0.03311116248369217,
0.005518526770174503,
-0.00027400400722399354,
-0.061978671699762344,
-0.018329711630940437,
0.012766608037054539,
-0.01769672892987728,
-0.016350530087947845,
-0.06240660324692726,
-0.005366967990994453,
0.0019089734414592385,
0.024088948965072632,
0.021378720179200172,
-0.03482288494706154,
-0.007515538018196821,
-0.008785958401858807,
-0.017322290688753128,
-0.0410100519657135,
0.02440989762544632,
0.048463184386491776,
-0.017340119928121567,
0.008411518298089504,
0.013346098363399506,
-0.05302778258919716,
-0.03730131685733795,
-0.006352100521326065,
-0.024552540853619576,
-0.018329711630940437,
0.03462674841284752,
-0.039155684411525726,
0.06194301322102547,
-0.07481659948825836,
0.05434723570942879,
0.0001895879249786958,
0.012927082367241383,
-0.00965519342571497,
0.04489709436893463,
0.029687711969017982,
0.0650811716914177,
-0.021253906190395355,
0.04389858618378639,
0.011144036427140236,
0.005745864938944578,
0.011268849484622478,
-0.00442418223246932,
0.07923855632543564,
-0.003621811745688319,
-0.02389281429350376,
-0.022537698969244957,
0.010921156033873558,
0.0239106435328722,
0.023857152089476585,
-0.0025921028573065996,
0.046466175466775894,
0.003040092997252941,
-0.020041434094309807,
0.033556923270225525,
0.03628498315811157,
0.030472252517938614,
0.08979418873786926,
0.0062629482708871365,
-0.010457564145326614,
-0.03182736784219742,
-0.025337081402540207,
0.0010519970674067736,
0.032255299389362335,
-0.04778562858700752,
-0.029045816510915756,
0.020469365641474724,
0.019470861181616783,
0.0022912139538675547,
-0.001427551032975316,
0.048570167273283005,
0.037158675491809845,
0.008482840843498707,
0.013827520422637463,
0.03730131685733795,
-0.0005081680719740689,
-0.024980472400784492,
-0.01314996276050806,
0.06376171857118607,
0.04454048350453377,
-0.017518425360322,
-0.0075422837398946285,
0.057877667248249054,
0.0313994362950325,
-0.0390487015247345,
0.0071366410702466965,
0.05028189346194267,
0.012748777866363525,
0.012597219087183475,
0.050460197031497955,
0.01589585281908512,
-0.012873590923845768,
-0.02601463906466961,
-0.026032468304038048,
0.03173821419477463,
0.04953301325440407,
-0.09407349675893784,
0.07788344472646713,
0.0030556947458535433,
-0.0010960160288959742
] |
725,974 | pymediainfo | __setstate__ | null | def __setstate__(self, state): # type: ignore
self.__dict__ = state
| (self, state) | [
-0.01673836261034012,
0.0051641506142914295,
0.024794965982437134,
0.012423898093402386,
-0.0394817590713501,
-0.015558489598333836,
-0.029074210673570633,
0.03499119356274605,
0.024037733674049377,
-0.04754716530442238,
-0.057021379470825195,
0.05349936708807945,
-0.0036474838852882385,
0.05825408175587654,
-0.07191949337720871,
0.02127295359969139,
0.00682830112054944,
0.030535846948623657,
-0.04768804833292961,
-0.029972324147820473,
-0.0195295587182045,
-0.00994968507438898,
0.05857106298208237,
0.06737609207630157,
-0.020727042108774185,
-0.017196225002408028,
-0.03312452509999275,
-0.021378614008426666,
0.05874716490507126,
-0.015611319802701473,
-0.024953456595540047,
-0.027911948040127754,
-0.005811320152133703,
0.011226413771510124,
0.03136352077126503,
-0.032578613609075546,
-0.015311948023736477,
0.04036226123571396,
-0.005820125341415405,
-0.0038720122538506985,
-0.019881758838891983,
0.004492767155170441,
-0.0353257842361927,
0.01290817465633154,
0.03000754490494728,
0.04258112981915474,
0.04004528000950813,
0.035061631351709366,
0.042686790227890015,
-0.03958741948008537,
0.014783646911382675,
0.0017169809434562922,
0.002419182099401951,
0.029690563678741455,
-0.02844025008380413,
0.015743395313620567,
0.04892075061798096,
0.04384905472397804,
-0.006476100068539381,
0.02468930557370186,
-0.06501634418964386,
-0.0039446535520255566,
0.00024571537505835295,
-0.08509181439876556,
-0.017522010952234268,
-0.041806284338235855,
-0.03000754490494728,
0.048955969512462616,
-0.007462263572961092,
0.02326289191842079,
0.0094037726521492,
-0.005309433676302433,
0.02932075224816799,
0.018701884895563126,
-0.05223144218325615,
0.010918238200247288,
-0.09044527262449265,
0.03877735510468483,
-0.01746918074786663,
-0.018737105652689934,
-0.014316979795694351,
0.011323269456624985,
-0.024020124226808548,
0.06135345250368118,
-0.060402512550354004,
-0.01882515661418438,
0.016747169196605682,
0.004895597230643034,
-0.027683015912771225,
-0.0203748419880867,
-0.009465408511459827,
0.07431446015834808,
-0.00846603699028492,
0.0221534576267004,
0.006515722721815109,
0.015989935025572777,
-0.007039621938019991,
0.0012360061518847942,
-0.01624528132379055,
-0.015444023534655571,
-0.05663395673036575,
-0.05825408175587654,
-0.017759747803211212,
-0.035730816423892975,
-0.014625156298279762,
-0.05395722761750221,
0.017090564593672752,
-0.06469936668872833,
0.004842767026275396,
-0.043179869651794434,
0.0029716978315263987,
0.022893080487847328,
-0.04053836315870285,
0.032173581421375275,
0.017979873344302177,
0.01355094276368618,
0.006229559425264597,
-0.06751697510480881,
0.0011534590739756823,
0.013374841772019863,
0.017803771421313286,
0.039129555225372314,
-0.023438991978764534,
0.06272704154253006,
0.012740879319608212,
0.03779119253158569,
-0.00548993656411767,
0.04141886532306671,
0.06801005452871323,
-0.04680754244327545,
-0.02888050116598606,
-0.0014638364082202315,
-0.01223018765449524,
0.05360502749681473,
0.02581634931266308,
0.027489306405186653,
-0.011244024150073528,
-0.0183849036693573,
-0.028510689735412598,
0.014686791226267815,
0.004299056250602007,
-0.002182547003030777,
0.025059117004275322,
0.01500377245247364,
0.08847294747829437,
0.03206792101264,
-0.000992216868326068,
0.01511823758482933,
-0.023703143000602722,
0.017557231709361076,
0.038918234407901764,
-0.020233960822224617,
0.003552829846739769,
0.016289306804537773,
-0.06649558991193771,
0.04363773390650749,
-0.017345910891890526,
-0.02468930557370186,
-0.011622640304267406,
0.018050312995910645,
0.002227672841399908,
-0.027506915852427483,
-0.010953458026051521,
-0.039763517677783966,
-0.014405030757188797,
0.03404024988412857,
0.0018270438304170966,
-0.06635471433401108,
-0.021149683743715286,
-0.03347672522068024,
-0.0685383602976799,
-0.08882515132427216,
-0.02847546897828579,
0.06258615851402283,
-0.007294967770576477,
0.07410313934087753,
0.0035858487244695425,
0.00750188622623682,
-0.027172325178980827,
-0.007589936722069979,
0.04800502583384514,
-0.033705659210681915,
-0.08840250968933105,
0.05909936502575874,
0.0250767283141613,
-0.02468930557370186,
-0.025622639805078506,
0.013612577691674232,
0.05110440030694008,
0.052125781774520874,
0.029285531491041183,
-0.023368552327156067,
-0.020674211904406548,
-0.026379872113466263,
-0.005349056329578161,
0.012740879319608212,
-0.03691069036722183,
-0.08156980574131012,
0.03344150632619858,
0.06522766500711441,
0.012388678267598152,
-0.02759496681392193,
0.006018238607794046,
-0.007814465090632439,
0.018930817022919655,
0.01096226368099451,
-0.011684276163578033,
-0.026802513748407364,
0.0637132003903389,
-0.0217308159917593,
-0.004193395841866732,
-0.03874213621020317,
-0.0033106915652751923,
0.03673458844423294,
0.028757231310009956,
-0.0886138305068016,
0.045187417417764664,
0.011825156398117542,
0.04103144258260727,
0.02417861483991146,
0.0881911888718605,
0.04370817169547081,
-0.018261633813381195,
-0.0743848979473114,
-0.029003771021962166,
-0.001497955876402557,
-0.0164566021412611,
-0.06864401698112488,
-0.04244024679064751,
0.00223867897875607,
-0.018279243260622025,
-0.008686162531375885,
0.0032886790577322245,
-0.010161005891859531,
0.0511748380959034,
0.04082012176513672,
0.006779873743653297,
-0.03736855089664459,
-0.0931924432516098,
0.02488301694393158,
0.0038455971516668797,
-0.0043430812656879425,
0.04479999467730522,
-0.019599998369812965,
-0.04011572152376175,
-0.0008221697644330561,
0.014211319386959076,
0.08410565555095673,
-0.06124779209494591,
0.018983647227287292,
0.007039621938019991,
-0.05673961713910103,
-0.04487043619155884,
-0.004006288945674896,
0.031064148992300034,
-0.04198238626122475,
0.027876727283000946,
0.02690817415714264,
-0.012934589758515358,
0.0036166664212942123,
-0.004785533994436264,
-0.05043521523475647,
-0.029937105253338814,
0.014184904284775257,
0.06716477125883102,
0.03835471346974373,
0.03958741948008537,
0.0014220124576240778,
-0.055260371416807175,
0.009923269972205162,
0.13468174636363983,
-0.03379370644688606,
-0.0063748424872756,
0.060367289930582047,
-0.03072955645620823,
-0.06420628726482391,
-0.0005640722811222076,
-0.018913205713033676,
-0.07100376486778259,
-0.02062138170003891,
0.10375848412513733,
0.02192452736198902,
0.042933329939842224,
0.05508427321910858,
-0.034638989716768265,
-0.016007546335458755,
-0.012371067889034748,
0.06276226043701172,
0.015910690650343895,
-0.032120753079652786,
0.04004528000950813,
0.031064148992300034,
0.024988677352666855,
0.016122011467814445,
0.058817606419324875,
-0.021132074296474457,
-0.10094087570905685,
0.05272452533245087,
-0.0009867137996479869,
0.04398993402719498,
0.03997483849525452,
-0.026379872113466263,
-0.05311194434762001,
0.06533332914113998,
0.007352200802415609,
-0.012371067889034748,
0.03715723007917404,
0.04462389647960663,
0.012582388706505299,
0.004391509108245373,
0.04934339225292206,
0.03548427298665047,
-0.06248049810528755,
0.04096100479364395,
0.036593709141016006,
-0.07075722515583038,
-0.009386163204908371,
-0.06638993322849274,
-0.005300628487020731,
0.07783646881580353,
-0.0631144568324089,
-0.07234213501214981,
-0.05184401944279671,
-0.013207546435296535,
-0.00476352171972394,
0.01559370942413807,
0.03199748322367668,
0.028510689735412598,
0.011657861061394215,
-0.012168552726507187,
-0.07656854391098022,
-0.003031131811439991,
0.03560754284262657,
0.01321635115891695,
-0.04328553006052971,
-0.035766035318374634,
-0.011323269456624985,
-0.02535848878324032,
-0.003227043664082885,
-0.05110440030694008,
0.027172325178980827,
0.03287798538804054,
-0.0474415048956871,
-0.020955972373485565,
-0.006194339133799076,
0.017759747803211212,
-0.020462891086935997,
-0.005397483706474304,
0.08100628107786179,
-0.015496853739023209,
-0.07089810818433762,
-0.012547168880701065,
0.015989935025572777,
0.05124527961015701,
0.01311949547380209,
-0.024125784635543823,
-0.003286477643996477,
-0.0026283017359673977,
-0.026062890887260437,
-0.05219622328877449,
0.007211320102214813,
0.0007610848406329751,
-0.037755973637104034,
-0.04198238626122475,
0.04120754450559616,
0.01390314381569624,
-0.04342641308903694,
-0.054837729781866074,
0.016632702201604843,
-0.04036226123571396,
0.018772326409816742,
-0.11467672139406204,
-0.05536603182554245,
0.05938112735748291,
0.03323018550872803,
0.010284275747835636,
-0.04980125278234482,
0.009659118950366974,
-0.0014352200087159872,
0.03817861154675484,
0.05399245023727417,
-0.04458867758512497,
0.047864146530628204,
0.05776100233197212,
0.013189936056733131,
0.0036783015821129084,
0.059733327478170395,
0.006181131582707167,
0.07072200626134872,
0.0029761004261672497,
-0.08156980574131012,
0.00203506276011467,
0.0035946539137512445,
0.014739621430635452,
0.016254086047410965,
-0.017742136493325233,
0.03786163404583931,
-0.02822892926633358,
0.0136830173432827,
0.0007930030697025359,
0.016632702201604843,
0.009835219010710716,
-0.014334590174257755,
-0.003951257560402155,
0.047194965183734894,
0.007779244799166918,
0.011622640304267406,
0.07255345582962036,
-0.0016234274953603745,
-0.1074213758111,
0.025481758639216423,
-0.021801255643367767,
-0.031222639605402946,
-0.07600502669811249,
0.013172325678169727,
-0.03044779598712921,
0.056845277547836304,
-0.04723018407821655,
0.05962766706943512,
0.02937358245253563,
0.029866663739085197,
0.0599798709154129,
0.03201509267091751,
0.015989935025572777,
-0.01490691676735878,
0.018966035917401314,
-0.00288144638761878,
-0.013057860545814037,
0.06385408341884613,
0.04434213414788246,
-0.012045281939208508,
0.02331572212278843,
-0.0273660346865654,
0.03426918014883995,
0.03548427298665047,
-0.038918234407901764,
-0.005419496446847916,
-0.03895345702767372,
-0.03962263837456703,
0.06536854803562164,
0.019617607817053795,
0.008078616112470627,
0.01265282928943634,
-0.012450313195586205,
0.05624653771519661,
-0.01949433796107769,
0.0059257857501506805,
0.06047295033931732,
0.05205534026026726,
-0.029637733474373817,
0.005696855019778013,
-0.007343395613133907,
-0.013084275647997856,
-0.04589182138442993,
-0.020568551495671272,
0.01930062659084797,
-0.015523268841207027,
-0.028316978365182877,
-0.000028719534384435974,
-0.016791192814707756,
-0.02641509287059307,
-0.013471697457134724,
-0.06399496644735336,
0.044025152921676636,
0.007840880192816257,
0.01658867858350277,
-0.03652326762676239,
-0.01859622448682785,
-0.017874212935566902,
0.01514465268701315,
-0.013594967313110828,
-0.0004537342465482652,
-0.0010819181334227324,
-0.033511947840452194,
-0.044729556888341904,
-0.01279370952397585,
-0.03382892906665802,
-0.023403771221637726,
-0.06649558991193771,
-0.024935847148299217,
0.006304401904344559,
0.016465406864881516,
0.029620124027132988,
-0.0077220117673277855,
0.0009179244516417384,
-0.011032703332602978,
0.059944648295640945,
0.00941257830709219,
0.05110440030694008,
0.019670438021421432,
-0.04863898828625679,
-0.00827672891318798,
-0.011296854354441166,
-0.0005712263518944383,
0.02239999733865261,
0.010698112659156322,
-0.06670691072940826,
0.0008133646915666759,
0.019582388922572136,
-0.04754716530442238,
-0.020674211904406548,
-0.019617607817053795,
-0.004250628408044577,
0.02243521809577942,
0.027665406465530396,
-0.028405029326677322,
-0.024495596066117287,
0.010020124725997448,
0.004406917840242386,
-0.0026349055115133524,
0.03072955645620823,
0.0264327023178339,
0.036593709141016006,
-0.025252828374505043,
0.013964778743684292,
-0.04391949251294136,
-0.04951949417591095,
0.04198238626122475,
-0.03004276566207409,
-0.01689685322344303,
0.04793458804488182,
0.016958490014076233,
0.04775848612189293,
-0.016254086047410965,
-0.010777357965707779,
-0.013013835065066814,
0.04148930311203003,
-0.034603770822286606,
0.03050062619149685,
0.00931572262197733,
0.00727735785767436,
-0.016791192814707756,
-0.0016080187633633614,
0.06878490000963211,
0.005745282396674156,
0.01455471571534872,
0.0113320741802454,
-0.021607546135783195,
-0.05385156720876694,
-0.012969810515642166,
0.026362262666225433,
-0.0015860061394050717,
0.01878993585705757,
0.01756603643298149,
0.006559747736901045,
0.014801256358623505,
-0.078118234872818,
-0.014994967728853226,
-0.03853081539273262,
-0.03655848652124405,
-0.020286791026592255,
-0.07403270155191422,
-0.005049685016274452,
-0.03986917808651924,
-0.006506917532533407,
-0.04057358205318451,
0.07656854391098022,
0.026820123195648193,
0.03993961960077286,
0.012591194361448288,
-0.010724527761340141,
0.04955471307039261,
0.007294967770576477,
-0.029761003330349922,
0.036171067506074905,
0.008765407837927341,
0.014176099561154842,
-0.012459118850529194,
0.02667924389243126,
-0.013832703232765198,
0.04455345496535301,
0.006854716222733259,
0.012388678267598152,
0.05406288802623749,
0.030571067705750465,
0.01886037550866604,
0.022364778444170952,
0.045187417417764664,
0.014924527145922184,
-0.0327899344265461,
0.04856855049729347,
0.005560377147048712,
-0.044694334268569946,
-0.03874213621020317,
-0.0367698073387146,
0.006766666192561388,
-0.029056601226329803,
0.07889307290315628,
-0.0005153694655746222,
-0.05385156720876694,
-0.048744648694992065,
-0.020269181579351425,
0.04148930311203003,
-0.01951194740831852,
-0.02932075224816799,
-0.0037179242353886366,
0.04955471307039261,
-0.0505760982632637,
0.006793081294745207,
0.013207546435296535,
0.000582782959099859,
0.02868678979575634,
0.026309432461857796,
-0.006920753978192806,
-0.007493081036955118,
-0.009703143499791622,
-0.009421383030712605,
0.078118234872818,
-0.00022838047880213708,
-0.0009327829466201365,
-0.016535848379135132,
-0.004382703918963671,
0.020498111844062805,
-0.009694338776171207,
-0.023808803409337997,
-0.040855344384908676,
0.007981760427355766,
0.03860125318169594,
-0.06244527921080589,
-0.004422326572239399,
-0.038425154983997345,
-0.00688993651419878,
-0.02662641368806362,
-0.005547169595956802,
-0.040221381932497025,
-0.04708930477499962,
0.027049055323004723,
-0.02014590986073017,
-0.01968804933130741,
-0.04818112775683403,
-0.015989935025572777,
-0.0048735844902694225,
-0.0006526728975586593,
-0.05737357959151268,
0.029532073065638542,
0.010566037148237228,
0.016254086047410965,
0.05272452533245087,
-0.003224842483177781,
0.0254993699491024,
0.024372324347496033,
-0.023844024166464806,
0.04613836109638214,
-0.01882515661418438,
-0.03810817375779152,
-0.0008551885839551687,
-0.02217106707394123,
-0.028105657547712326,
-0.0017301884945482016,
-0.029690563678741455,
-0.016527043655514717,
0.007149685174226761,
-0.02581634931266308,
0.0016542451921850443,
-0.01758364588022232,
0.0250767283141613,
0.01152578555047512,
0.024020124226808548,
0.058817606419324875,
-0.011983647011220455,
-0.07839999347925186,
0.04479999467730522,
-0.03856603428721428,
0.017152199521660805,
0.08544401824474335,
0.05272452533245087,
-0.06350187957286835,
0.04198238626122475,
-0.010372325778007507,
-0.01572578400373459,
0.015408803708851337,
0.007048427127301693,
-0.0065553453750908375,
-0.008906289003789425,
-0.017803771421313286,
-0.04141886532306671,
0.023122010752558708,
-0.03312452509999275,
0.06410062313079834,
0.010046539828181267,
-0.06674212962388992,
0.059944648295640945,
0.01859622448682785,
-0.009588678367435932,
0.013709432445466518,
0.07382138073444366,
-0.020251570269465446,
-0.004635848570615053,
0.0547320693731308,
-0.048040248453617096,
-0.02803521789610386,
-0.0273660346865654,
-0.028986161574721336,
0.008144653402268887,
-0.04398993402719498,
-0.0363471657037735,
-0.03698112815618515,
-0.10826665908098221,
0.025904400274157524,
-0.008941508829593658,
0.03722767159342766,
0.02956729382276535,
0.030623896047472954,
-0.015893081203103065,
0.03715723007917404,
-0.014457860961556435,
-0.01210691686719656,
-0.022118236869573593,
0.023210061714053154,
-0.05307672545313835,
0.04906162992119789,
-0.013189936056733131,
-0.01154339499771595,
0.027436476200819016,
0.04374339431524277,
0.00611509382724762,
0.00861132051795721,
-0.05332326516509056,
-0.019635219126939774,
0.01882515661418438,
-0.04057358205318451,
-0.003405345603823662,
-0.008875470608472824,
-0.005930188111960888,
0.02754213660955429,
-0.0043430812656879425,
-0.019388677552342415,
0.01399119384586811,
0.009606288745999336,
0.0019327042391523719,
-0.007171697448939085,
0.012124527245759964,
-0.05596477538347244,
-0.01511823758482933,
-0.020797481760382652,
-0.037086788564920425,
0.05695093795657158,
0.05272452533245087,
0.024742135778069496,
0.07748427242040634,
0.008087420836091042,
0.01756603643298149,
0.00943018775433302,
-0.012362263165414333,
-0.021625155583024025,
0.020744651556015015,
-0.022364778444170952,
0.011649055406451225,
-0.0056264144368469715,
0.021343395113945007,
0.004521383438259363,
0.043602511286735535,
0.013357231393456459,
0.006484905257821083,
0.05184401944279671,
-0.031680501997470856,
-0.024566035717725754,
0.020991193130612373,
0.014986162073910236,
-0.011833961121737957,
-0.06508678942918777,
-0.017918238416314125,
0.011288049630820751,
0.01154339499771595,
0.04103144258260727,
0.057479240000247955,
-0.0003582546778488904,
-0.009747168980538845
] |
725,975 | pymediainfo | to_data |
Returns a dict representation of the track attributes.
Example:
>>> sorted(track.to_data().keys())[:3]
['codec', 'codec_extensions_usually_used', 'codec_url']
>>> t.to_data()["file_size"]
5988
:rtype: dict
| def to_data(self) -> Dict[str, Any]:
"""
Returns a dict representation of the track attributes.
Example:
>>> sorted(track.to_data().keys())[:3]
['codec', 'codec_extensions_usually_used', 'codec_url']
>>> t.to_data()["file_size"]
5988
:rtype: dict
"""
return self.__dict__
| (self) -> Dict[str, Any] | [
-0.013800600543618202,
-0.009955884888768196,
-0.039456505328416824,
-0.006753485184162855,
-0.008845597505569458,
-0.006620434112846851,
-0.032959945499897,
0.033290278166532516,
0.0006962237530387938,
-0.02464655041694641,
-0.002470619510859251,
-0.017516853287816048,
0.012827951461076736,
0.01247926615178585,
0.021985530853271484,
0.03198729455471039,
-0.016507500782608986,
-0.013699664734303951,
-0.016140462830662727,
0.003622198710218072,
0.02259114198386669,
-0.0066525498405098915,
-0.029179461300373077,
-0.0000027106632387585705,
-0.02376566082239151,
0.018764778971672058,
0.001297247246839106,
-0.03718087449669838,
-0.005734956823289394,
0.05993718281388283,
-0.039456505328416824,
-0.0251971073448658,
0.019985178485512733,
0.06173566356301308,
-0.016379037871956825,
0.0018237163312733173,
-0.039383094757795334,
0.00629927683621645,
-0.12244362384080887,
0.00776742585003376,
-0.02451808750629425,
-0.027913182973861694,
-0.0371992252767086,
0.018168343231081963,
0.06625021994113922,
-0.0009646197431720793,
0.007441679947078228,
0.004512263927608728,
0.05784507095813751,
-0.05134851112961769,
0.0189574733376503,
0.01926945522427559,
-0.019049232825636864,
0.04701747000217438,
-0.008496912196278572,
-0.03956661373376846,
0.007276513613760471,
0.034409742802381516,
-0.0441545806825161,
0.09065820276737213,
-0.007698606234043837,
0.030482443049550056,
0.06698429584503174,
-0.09374131262302399,
-0.013011470437049866,
0.0002579296997282654,
-0.010937710292637348,
-0.003629080718383193,
-0.052743252366781235,
-0.02506864443421364,
0.017498500645160675,
-0.08441856503486633,
0.011726840399205685,
0.04466843232512474,
-0.017626963555812836,
-0.015332981012761593,
0.0060607027262449265,
-0.03117981366813183,
0.004707252606749535,
0.02527051419019699,
-0.027270866557955742,
-0.0007346479687839746,
-0.014479619450867176,
0.012589377351105213,
-0.011029468849301338,
-0.006959943566471338,
0.021912124007940292,
0.0019120346987619996,
-0.04826539754867554,
0.026151403784751892,
-0.022554438561201096,
0.03905276209115982,
-0.026867127045989037,
0.06746144592761993,
-0.012268220074474812,
-0.09770531207323074,
-0.024499736726284027,
0.045255690813064575,
-0.033473797142505646,
0.002619728446006775,
-0.045035470277071,
-0.008272102102637291,
-0.05138521268963814,
-0.004831127822399139,
-0.038465503603219986,
-0.06812211126089096,
0.0164799727499485,
-0.049366507679224014,
-0.029179461300373077,
0.007281101308763027,
-0.039640024304389954,
0.046503618359565735,
-0.0004192253400105983,
0.03262961283326149,
0.0495133250951767,
-0.027289219200611115,
0.03518052026629448,
-0.00954296812415123,
-0.008056467399001122,
-0.037401095032691956,
-0.040153875946998596,
0.0945487916469574,
-0.018003176897764206,
0.02662855200469494,
-0.02332521602511406,
0.026683608070015907,
0.036336686462163925,
-0.03404270485043526,
0.025655902922153473,
0.00194185646250844,
0.04422798752784729,
-0.03088618442416191,
0.006129521876573563,
0.04602647200226784,
0.08030775189399719,
-0.023123346269130707,
0.11715828627347946,
0.037327688187360764,
0.029087701812386513,
0.033400390297174454,
0.020131992176175117,
0.01709475927054882,
0.03934639319777489,
-0.00629927683621645,
0.017425093799829483,
-0.05824881047010422,
-0.033473797142505646,
-0.05520240217447281,
-0.08243656158447266,
-0.05589977279305458,
0.01733333431184292,
0.0010638345265761018,
0.011424033902585506,
-0.007923416793346405,
0.024187754839658737,
-0.0405576154589653,
-0.000681886391248554,
-0.010891830548644066,
-0.0294363871216774,
-0.00861161109060049,
-0.015764249488711357,
0.03488688915967941,
0.0058496561832726,
-0.0374378003180027,
-0.0233986247330904,
0.026536792516708374,
0.04602647200226784,
-0.03189553692936897,
0.02040727064013481,
-0.007340745069086552,
-0.02145332656800747,
0.0005201605963520706,
-0.0008080554543994367,
0.053550735116004944,
-0.008790542371571064,
-0.012873831205070019,
0.04136509820818901,
0.013369332067668438,
0.023049939423799515,
0.02807834930717945,
0.026867127045989037,
-0.053000178188085556,
-0.03237268328666687,
0.03674042969942093,
0.04485195130109787,
-0.06291018426418304,
0.03563931584358215,
0.03668537363409996,
0.018131639808416367,
0.01903088204562664,
0.07282018661499023,
-0.04092465341091156,
-0.060597848147153854,
0.004239280242472887,
0.03886924311518669,
-0.04202576354146004,
0.03681383654475212,
-0.03151014819741249,
-0.033216871321201324,
0.06368096172809601,
0.03406105563044548,
-0.03978683799505234,
0.02501358836889267,
-0.05325710400938988,
-0.04584295302629471,
0.0035166756715625525,
0.005982707254588604,
-0.020535733550786972,
-0.018994176760315895,
0.009056643582880497,
0.06459855288267136,
-0.030482443049550056,
0.027289219200611115,
-0.010001764632761478,
0.039529912173748016,
-0.07307711243629456,
-0.014323628507554531,
0.014773248694837093,
0.016764426603913307,
0.01677360199391842,
0.043640729039907455,
0.023545438423752785,
-0.04804517701268196,
0.02226080931723118,
-0.010121052153408527,
-0.014397036284208298,
-0.00023671034432481974,
0.004973354749381542,
-0.03795165196061134,
-0.06536933034658432,
0.029032645747065544,
0.017259925603866577,
-0.03538239002227783,
0.014222693629562855,
0.04250291362404823,
0.05780836567282677,
-0.01063490379601717,
0.006937004160135984,
-0.01847114972770214,
-0.03195059299468994,
0.07113181799650192,
0.0025142051745206118,
-0.010928533971309662,
0.023875772953033447,
-0.06056114658713341,
-0.07546285539865494,
0.04242950677871704,
0.05171554908156395,
0.023655550554394722,
-0.03173036873340607,
0.06173566356301308,
-0.004725604318082333,
0.0011177430860698223,
0.03872242942452431,
0.007239809725433588,
-0.020994530990719795,
0.003596964990720153,
-0.013727192766964436,
0.00823539774864912,
-0.03872242942452431,
0.00773531012237072,
0.029546497389674187,
-0.001753749791532755,
0.06705770641565323,
0.006257985252887011,
0.015112758614122868,
-0.016957120969891548,
-0.011066173203289509,
-0.05314699187874794,
0.004175048787146807,
0.04584295302629471,
-0.020994530990719795,
0.00910252332687378,
-0.055239103734493256,
-0.03362061083316803,
-0.05777166411280632,
0.03244609385728836,
-0.0499170646071434,
0.0008849038858897984,
0.018296806141734123,
-0.025564143434166908,
-0.026812070980668068,
0.021434975787997246,
-0.06070796027779579,
0.052302807569503784,
0.006271748803555965,
-0.011864478699862957,
0.041768837720155716,
0.009327334351837635,
-0.007473795674741268,
-0.014736545272171497,
-0.029050998389720917,
-0.06566296517848969,
-0.01572754606604576,
0.027491088956594467,
-0.003468502080067992,
-0.05582636594772339,
-0.043016765266656876,
0.08926346153020859,
0.050614435225725174,
-0.015011823736131191,
0.02826186828315258,
0.028463738039135933,
0.07010411471128464,
-0.06555285304784775,
0.06261655688285828,
0.03413446247577667,
-0.009024527855217457,
-0.026408329606056213,
-0.06720452010631561,
0.020994530990719795,
0.03354720398783684,
0.049880363047122955,
0.0838313102722168,
-0.036520205438137054,
-0.036153167486190796,
-0.03497865051031113,
-0.011121228337287903,
-0.00030825394787825644,
0.07641715556383133,
-0.02451808750629425,
0.010754191316664219,
0.014874184504151344,
-0.030849481001496315,
0.11040480434894562,
-0.04125498607754707,
0.035033706575632095,
-0.008822658099234104,
0.07296700775623322,
0.002612846437841654,
-0.031528498977422714,
0.003661196446046233,
0.02925286814570427,
0.024848422035574913,
-0.03081277757883072,
0.05868925526738167,
-0.03204235062003136,
0.018131639808416367,
-0.00436544930562377,
-0.004046585410833359,
-0.012983942404389381,
-0.010368802584707737,
0.015920240432024002,
0.013543674722313881,
-0.03551085293292999,
-0.017397565767169,
-0.015764249488711357,
-0.06291018426418304,
0.034905243664979935,
-0.009396153502166271,
0.005918475799262524,
-0.02020540088415146,
0.00020559820404741913,
0.060047294944524765,
-0.00459943525493145,
-0.05050432309508324,
0.030409036204218864,
-0.019251104444265366,
-0.03420787304639816,
-0.00031226841383613646,
0.02683042176067829,
0.03206070512533188,
0.03661196678876877,
-0.033400390297174454,
0.028427034616470337,
0.01579177752137184,
0.008134462870657444,
0.019232751801609993,
0.001860419986769557,
0.01852620579302311,
-0.05083465948700905,
0.01450714748352766,
-0.003431798191741109,
0.020976178348064423,
0.016048703342676163,
0.016993824392557144,
0.0015576143050566316,
0.030023647472262383,
-0.07348085939884186,
0.008028939366340637,
-0.03101464733481407,
0.011378154158592224,
-0.04554932191967964,
0.019452974200248718,
0.08874960243701935,
0.010194459930062294,
0.05402788147330284,
-0.030849481001496315,
-0.004454914480447769,
0.010919357649981976,
-0.018131639808416367,
-0.0018799188546836376,
-0.056927476078271866,
0.04041080176830292,
-0.028849126771092415,
-0.02314169891178608,
-0.015076055191457272,
0.012497617863118649,
0.002711487701162696,
-0.0019613553304225206,
0.00427598413079977,
-0.08573990315198898,
-0.023930829018354416,
-0.0161588154733181,
-0.007207693997770548,
0.0012869243510067463,
-0.006602082401514053,
-0.04268643260002136,
-0.0016929593402892351,
-0.053000178188085556,
0.03195059299468994,
0.01820504665374756,
-0.0029959415551275015,
-0.011359802447259426,
0.05233951285481453,
0.041071467101573944,
-0.021306512877345085,
-0.0410347655415535,
-0.002355920383706689,
0.04448491334915161,
-0.0046820188872516155,
0.007207693997770548,
-0.022003883495926857,
0.0006692694732919335,
0.035841185599565506,
0.024059291929006577,
-0.010304570198059082,
0.024095995351672173,
0.020866068080067635,
0.08177589625120163,
0.020572436973452568,
-0.0034111524000763893,
0.00499170646071434,
-0.030280573293566704,
0.0343179814517498,
0.05314699187874794,
0.02178366109728813,
-0.05281665921211243,
0.025527440011501312,
0.08941027522087097,
-0.0267570149153471,
0.019691547378897667,
0.01640656404197216,
-0.004922886844724417,
0.03314346447587013,
-0.04224598780274391,
-0.07204940915107727,
0.005317451898008585,
0.06202929466962814,
-0.017443444579839706,
0.017168167978525162,
0.004512263927608728,
0.0945487916469574,
-0.10475242882966995,
0.016580907627940178,
0.01820504665374756,
-0.01634233258664608,
-0.056927476078271866,
-0.006895712111145258,
-0.05872596055269241,
-0.005840480327606201,
-0.01543391589075327,
-0.02033386379480362,
-0.06658055633306503,
0.025931181386113167,
0.0022607201244682074,
-0.04224598780274391,
-0.005698253400623798,
-0.047568026930093765,
-0.004858655389398336,
0.05824881047010422,
0.045329101383686066,
0.006436915602535009,
0.005312864203006029,
0.01357120182365179,
0.02807834930717945,
-0.04353061690926552,
0.007427916396409273,
-0.03094124048948288,
-0.08074819296598434,
0.05597317963838577,
-0.024683253839612007,
-0.0267570149153471,
0.014525499194860458,
0.013708841055631638,
0.032537851482629776,
0.0035419093910604715,
0.014085054397583008,
-0.0029615317471325397,
0.011001941747963428,
-0.035088758915662766,
0.005478031001985073,
-0.03261125832796097,
-0.00041893860907293856,
0.027546145021915436,
0.06984718888998032,
0.056230105459690094,
0.008781366050243378,
-0.028335275128483772,
0.026683608070015907,
0.012047997675836086,
-0.04349391534924507,
0.027032293379306793,
-0.010267866775393486,
-0.04309017211198807,
0.03596964851021767,
-0.02826186828315258,
0.041768837720155716,
0.011607552878558636,
0.04198906198143959,
-0.03218916803598404,
0.009763190522789955,
0.02694053389132023,
-0.013470266945660114,
0.030665962025523186,
0.017186518758535385,
-0.06669066846370697,
-0.009308981709182262,
-0.06859926134347916,
-0.024683253839612007,
-0.013874008320271969,
0.04995376989245415,
0.020003529265522957,
-0.02350873500108719,
-0.023306865245103836,
0.013341804035007954,
-0.06136862561106682,
-0.003629080718383193,
-0.012341626919806004,
0.03195059299468994,
0.0391995795071125,
-0.0020152637735009193,
0.015176990069448948,
0.026408329606056213,
0.009405329823493958,
0.01871890015900135,
0.03136333078145981,
0.02090277150273323,
-0.07362767308950424,
-0.011359802447259426,
0.036391742527484894,
-0.03163861110806465,
0.03813517093658447,
-0.05028410255908966,
0.05509229004383087,
0.021379919722676277,
0.011873655021190643,
0.027362626045942307,
0.01331427600234747,
-0.001020248862914741,
-0.019563084468245506,
-0.03281312808394432,
-0.02813340537250042,
-0.056927476078271866,
0.01578260213136673,
-0.04162202402949333,
0.05028410255908966,
-0.017920592799782753,
0.027858126908540726,
-0.007258161436766386,
0.005835892166942358,
-0.0032941591925919056,
-0.043824248015880585,
0.011001941747963428,
-0.07226963341236115,
0.049439918249845505,
0.015176990069448948,
0.06709440797567368,
-0.07905982434749603,
-0.03949320688843727,
0.024224458262324333,
0.04147521033883095,
0.044081173837184906,
0.007157226093113422,
0.016681842505931854,
0.005124757532030344,
-0.013809775933623314,
0.03648350387811661,
0.030390683561563492,
-0.02545403316617012,
0.013176636770367622,
0.06001058965921402,
0.040631022304296494,
0.062469739466905594,
-0.008919005282223225,
-0.006464443635195494,
0.019930122420191765,
0.01478242501616478,
0.03341874107718468,
-0.00553767429664731,
-0.012653608806431293,
-0.03385918587446213,
0.022976530715823174,
-0.015332981012761593,
0.04309017211198807,
-0.06918652355670929,
-0.017672844231128693,
0.00336986081674695,
-0.015011823736131191,
-0.0222791600972414,
0.02670195885002613,
-0.008395977318286896,
-0.04628339782357216,
0.03648350387811661,
-0.008464796468615532,
-0.042135875672101974,
-0.014580554328858852,
0.07461867481470108,
0.008253750391304493,
-0.03068431280553341,
-0.04349391534924507,
-0.022481031715869904,
-0.0029982354026287794,
-0.050247397273778915,
0.04356732219457626,
-0.03912616893649101,
0.019104288890957832,
-0.042209282517433167,
-0.029032645747065544,
-0.004918299149721861,
0.024775013327598572,
-0.03270301967859268,
-0.013250044547021389,
0.05689077451825142,
-0.028298571705818176,
-0.03136333078145981,
-0.009130051359534264,
0.004548967815935612,
-0.07634374499320984,
-0.08999752998352051,
0.0008212458342313766,
-0.057294514030218124,
0.008056467399001122,
0.02402258850634098,
-0.03055584989488125,
0.007019587326794863,
-0.009680607356131077,
0.0027390155009925365,
0.03413446247577667,
0.032152462750673294,
0.03176707401871681,
0.03824527934193611,
-0.039529912173748016,
0.02238927222788334,
-0.023472031578421593,
0.003950238227844238,
-0.0004608037997968495,
-0.04206246882677078,
-0.014360331930220127,
-0.04643021151423454,
0.0009210340795107186,
-0.038465503603219986,
0.01272701658308506,
-0.00857949536293745,
-0.02982177585363388,
0.07307711243629456,
0.03417116776108742,
0.019618140533566475,
-0.0432736910879612,
-0.043934356421232224,
-0.07373778522014618,
0.03817187249660492,
-0.0503942146897316,
-0.06419481337070465,
0.07212281972169876,
-0.010827599093317986,
-0.09124545753002167,
0.044998764991760254,
0.024371273815631866,
-0.07069137692451477,
0.02683042176067829,
0.07421492785215378,
0.00639562401920557,
0.012763720005750656,
-0.015039350837469101,
-0.008428093045949936,
-0.013213341124355793,
-0.014415387995541096,
0.0503942146897316,
-0.029931887984275818,
0.01344273891299963,
0.055496033281087875,
0.008184930309653282,
0.004711840767413378,
-0.018700547516345978,
0.034519851207733154,
-0.018324334174394608,
-0.022756308317184448,
-0.0067901890724897385,
-0.0015151756815612316,
0.013662961311638355,
-0.0001790740352589637,
-0.020994530990719795,
-0.006602082401514053,
0.02027880772948265,
-0.02550908923149109,
0.04723769426345825,
-0.01572754606604576,
0.07788529992103577,
-0.03341874107718468,
-0.034960296005010605,
-0.014543850906193256,
0.05083465948700905,
0.005322040058672428,
0.046687137335538864,
-0.055165696889162064,
-0.020242104306817055,
-0.009391565807163715,
0.00340656447224319,
0.00653326278552413,
-0.01746179722249508,
0.04140179976820946,
-0.053807660937309265,
-0.03762131929397583,
-0.032776426523923874,
0.03132662922143936,
-0.002759661292657256,
0.011479089967906475,
-0.0026403742376714945,
0.055055588483810425,
0.012066349387168884,
0.03307005763053894,
0.011102876625955105,
0.06992059201002121,
-0.017938945442438126,
0.03897935524582863,
0.003213869873434305,
-0.001900564762763679,
-0.03626327961683273,
-0.03993365168571472,
-0.04118157923221588,
-0.02277466095983982,
-0.042392801493406296,
-0.03549250215291977,
-0.03626327961683273,
0.01291053555905819,
-0.01840691827237606,
-0.03872242942452431,
0.029601553454995155,
0.04261302575469017,
0.004734780639410019,
0.040447503328323364,
-0.010451385751366615,
0.06724122166633606,
-0.02270125411450863,
-0.04734780639410019,
0.0463935062289238,
0.00855196826159954,
0.023912476375699043,
-0.037529557943344116,
0.030335627496242523,
0.06547944247722626,
-0.06614011526107788,
-0.020939474925398827,
0.02350873500108719,
0.006129521876573563,
0.02350873500108719,
0.014681490138173103,
0.033473797142505646,
-0.009065819904208183,
-0.04598976671695709,
-0.046944063156843185,
0.01784718595445156,
0.050687842071056366,
-0.06177236884832382,
0.040704429149627686,
0.049366507679224014,
0.013699664734303951
] |
725,984 | penne.delegates | Attribute | Attribute for a geometry patch
Each attribute is a view into a buffer that corresponds to a specific element of the mesh
(e.g. position, normal, etc.). Attributes allow information for the vertices to be extracted from buffers
Attributes:
view (BufferViewID): View of the buffer storing the data
semantic (AttributeSemantic): String describing the type of attribute
channel (Optional[int]): Channel of attribute, if applicable
offset (Optional[int]): Offset into buffer
stride (Optional[int]): Distance, in bytes, between data for two vertices in the buffer
format (Format): How many bytes per element, how to decode the bytes
minimum_value (Optional[List[float]]): Minimum value for attribute data
maximum_value (Optional[List[float]]): Maximum value for attribute data
normalized (Optional[bool]): Whether to normalize the attribute data
| class Attribute(NoodleObject):
"""Attribute for a geometry patch
Each attribute is a view into a buffer that corresponds to a specific element of the mesh
(e.g. position, normal, etc.). Attributes allow information for the vertices to be extracted from buffers
Attributes:
view (BufferViewID): View of the buffer storing the data
semantic (AttributeSemantic): String describing the type of attribute
channel (Optional[int]): Channel of attribute, if applicable
offset (Optional[int]): Offset into buffer
stride (Optional[int]): Distance, in bytes, between data for two vertices in the buffer
format (Format): How many bytes per element, how to decode the bytes
minimum_value (Optional[List[float]]): Minimum value for attribute data
maximum_value (Optional[List[float]]): Maximum value for attribute data
normalized (Optional[bool]): Whether to normalize the attribute data
"""
view: BufferViewID
semantic: AttributeSemantic
channel: Optional[int] = None
offset: Optional[int] = 0
stride: Optional[int] = 0
format: Format
minimum_value: Optional[List[float]] = None
maximum_value: Optional[List[float]] = None
normalized: Optional[bool] = False
| (*, view: penne.delegates.BufferViewID, semantic: penne.delegates.AttributeSemantic, channel: Optional[int] = None, offset: Optional[int] = 0, stride: Optional[int] = 0, format: penne.delegates.Format, minimum_value: Optional[List[float]] = None, maximum_value: Optional[List[float]] = None, normalized: Optional[bool] = False, **extra_data: Any) -> None | [
0.044713426381349564,
-0.010230432264506817,
-0.023841198533773422,
0.028169458732008934,
0.014666004106402397,
-0.04950670525431633,
-0.043819159269332886,
0.00680538360029459,
-0.027328846976161003,
-0.009108125232160091,
-0.013968474231660366,
-0.0038855967577546835,
-0.01782277226448059,
0.05340571701526642,
-0.0488986037671566,
0.012779097072780132,
-0.03798852860927582,
0.018922721967101097,
-0.04235255718231201,
0.0011044216807931662,
0.009416647255420685,
0.03673655167222023,
-0.004739623051136732,
0.0358959399163723,
0.025683391839265823,
-0.009828011505305767,
0.017053700983524323,
0.010749108158051968,
0.03308793529868126,
-0.013476626947522163,
-0.004368501715362072,
-0.08377507328987122,
0.0019740976858884096,
0.02131936140358448,
-0.014809086918830872,
-0.05877132713794708,
-0.0021697189658880234,
0.0563746877014637,
-0.11775728315114975,
-0.03464396297931671,
0.0038252335507422686,
-0.030923806130886078,
0.008607334457337856,
-0.0053074839524924755,
0.01690167561173439,
-0.02400216832756996,
0.0398128367960453,
0.017321981489658356,
-0.07597705721855164,
-0.04192331060767174,
0.027811750769615173,
-0.011875886470079422,
0.05769820511341095,
0.0696098655462265,
-0.03666501119732857,
0.025003748014569283,
-0.0017930084140971303,
0.11632645130157471,
-0.009711756370961666,
0.062169548124074936,
-0.051974888890981674,
0.023036357015371323,
0.03240829333662987,
-0.10151736438274384,
-0.04850512370467186,
-0.0569470189511776,
-0.031335171312093735,
0.03079860843718052,
0.006286707706749439,
0.030083194375038147,
-0.020371437072753906,
0.002857187995687127,
0.05666085332632065,
0.02834831178188324,
0.018815409392118454,
0.003161239204928279,
-0.003069576807320118,
0.08577823638916016,
0.050973307341337204,
-0.06095334514975548,
-0.015801725909113884,
0.03625364601612091,
-0.021891694515943527,
-0.014844858087599277,
-0.018529243767261505,
-0.016078948974609375,
-0.011518178507685661,
-0.015300934202969074,
0.021301476284861565,
-0.019208887591958046,
-0.06814326345920563,
0.07082606852054596,
-0.04492805153131485,
0.0505082868039608,
0.009157310239970684,
-0.0006857921835035086,
0.03476915881037712,
-0.011705975048244,
0.04195908084511757,
0.03745196759700775,
-0.023716000840067863,
-0.024950092658400536,
-0.020907998085021973,
0.04489228129386902,
-0.04059979319572449,
-0.016195202246308327,
-0.007896390743553638,
-0.010445056483149529,
0.027167877182364464,
0.028706019744277,
-0.054657693952322006,
0.03079860843718052,
0.00828986894339323,
0.025200488045811653,
-0.03332044556736946,
-0.019423512741923332,
-0.01999584399163723,
-0.0053924391977488995,
0.03070918098092079,
-0.03777390345931053,
0.00991743803024292,
0.04324682801961899,
-0.01718784123659134,
0.04392646998167038,
0.0018053045496344566,
0.031621336936950684,
-0.004026444163173437,
-0.008678875863552094,
-0.0358959399163723,
-0.020174698904156685,
-0.05809168517589569,
0.002747640013694763,
-0.0015258457278832793,
0.05912903696298599,
0.03271234408020973,
-0.01594480872154236,
0.03802429884672165,
-0.018260963261127472,
-0.018475588411092758,
0.04821895807981491,
0.021337246522307396,
0.003720157081261277,
0.07243575155735016,
-0.03308793529868126,
-0.0860644057393074,
-0.03174653276801109,
-0.00813337229192257,
-0.052940696477890015,
-0.049041684716939926,
-0.03403586149215698,
-0.03518052399158478,
-0.008361410349607468,
0.02806214615702629,
0.003588252468034625,
0.022267285734415054,
0.004258953966200352,
-0.0622410885989666,
-0.06850097328424454,
0.04034939780831337,
-0.011366153135895729,
-0.0606314055621624,
0.011205185204744339,
0.02954663150012493,
-0.01702687330543995,
0.0056875478476285934,
0.011509235948324203,
0.012761211954057217,
-0.08148574829101562,
-0.027883293107151985,
0.03289119526743889,
-0.008678875863552094,
-0.01551555935293436,
-0.002626913832500577,
0.06095334514975548,
0.005991599056869745,
0.07250729203224182,
0.010310916230082512,
-0.009488189592957497,
0.03205058351159096,
-0.013646537438035011,
0.044069554656744,
-0.02112262323498726,
-0.007771193515509367,
0.043461449444293976,
0.022696536034345627,
-0.007002122700214386,
0.015086309984326363,
-0.03070918098092079,
0.05179603397846222,
-0.010239374823868275,
0.07172033935785294,
0.030297817662358284,
-0.012636014260351658,
0.016642337664961815,
-0.005150986835360527,
-0.019137347117066383,
0.014764373190701008,
-0.04263872280716896,
-0.0020892347674816847,
0.058592475950717926,
-0.0002406141284154728,
-0.03292696923017502,
0.00015943130711093545,
0.03780967369675636,
-0.020174698904156685,
-0.014719660393893719,
0.04592963308095932,
-0.008075244724750519,
-0.09164463728666306,
-0.02654189057648182,
0.019208887591958046,
0.015381419099867344,
0.06034523993730545,
0.03251560404896736,
0.04882706329226494,
-0.07014642655849457,
-0.004945305176079273,
0.036915406584739685,
-0.016973216086626053,
0.013664423488080502,
0.033624496310949326,
-0.015757011249661446,
-0.002289327559992671,
-0.015640756115317345,
-0.05805591493844986,
-0.014710717834532261,
0.03308793529868126,
0.04424840584397316,
0.011795401573181152,
-0.042781807482242584,
0.013530283235013485,
-0.03464396297931671,
-0.030816493555903435,
0.014701774343848228,
-0.02148032933473587,
0.017080528661608696,
0.007596811279654503,
0.03460819274187088,
-0.061811842024326324,
-0.03476915881037712,
0.0042254189029335976,
-0.007753308396786451,
0.006698071490973234,
0.010301973670721054,
0.012027911841869354,
-0.025200488045811653,
0.02954663150012493,
0.014317239634692669,
-0.02144455909729004,
-0.029439320787787437,
-0.011106815189123154,
0.008464251644909382,
-0.02854505181312561,
0.035717085003852844,
0.01072227954864502,
-0.07182765007019043,
-0.04431995004415512,
-0.0472889207303524,
0.008956098929047585,
-0.03328467532992363,
-0.053298406302928925,
-0.08184345811605453,
0.017008988186717033,
0.07297231256961823,
0.0851343646645546,
0.012904294766485691,
0.009684928692877293,
0.025969557464122772,
-0.021140508353710175,
0.023519262671470642,
0.09758258610963821,
0.004540648311376572,
0.014907456934452057,
-0.024502957239747047,
-0.035627659410238266,
-0.03305216506123543,
0.04306797310709953,
-0.010373515076935291,
0.06950254738330841,
0.009237794205546379,
0.004059979226440191,
-0.01285063847899437,
-0.036843862384557724,
0.0032283093314617872,
0.01922677271068096,
-0.023215211927890778,
0.0026828055270016193,
0.06041678041219711,
-0.02389485575258732,
-0.029135268181562424,
0.03931204602122307,
0.046036943793296814,
-0.033266790211200714,
-0.03713002800941467,
0.03333833068609238,
0.010954789817333221,
-0.04850512370467186,
0.05977290868759155,
0.03870394080877304,
-0.06295650452375412,
0.027042681351304054,
-0.022857503965497017,
0.061454132199287415,
-0.027167877182364464,
-0.05247567594051361,
0.0060765547677874565,
0.0441768653690815,
0.01935197040438652,
-0.03190750256180763,
0.01598057895898819,
0.059522513300180435,
0.029171040281653404,
-0.04228101670742035,
0.05043674632906914,
-0.013127862475812435,
0.049041684716939926,
0.02199900522828102,
0.01682119071483612,
0.020228354260325432,
0.07383081316947937,
-0.044784966856241226,
-0.009801182895898819,
-0.00789191946387291,
-0.008504494093358517,
0.007619168143719435,
-0.012054739519953728,
0.0664978101849556,
-0.016928503289818764,
-0.0023608689662069082,
0.02103319577872753,
-0.04818318784236908,
0.01509525254368782,
-0.020532405003905296,
0.034071631729602814,
-0.03487647324800491,
0.013762792572379112,
-0.01130355428904295,
-0.04163714125752449,
0.027686553075909615,
-0.026559775695204735,
0.006711485330015421,
0.004833521321415901,
-0.037881214171648026,
0.007216746918857098,
0.0020355787128210068,
-0.0606314055621624,
0.036521926522254944,
-0.02280384674668312,
0.05866401642560959,
0.041494060307741165,
0.00951501727104187,
0.045750778168439865,
0.0049989609979093075,
0.048970144242048264,
0.03709425777196884,
-0.04063556343317032,
-0.029600288718938828,
-0.05301223695278168,
-0.0436045341193676,
0.03605690598487854,
-0.055587731301784515,
-0.014621290378272533,
0.03795275837182999,
-0.016964273527264595,
-0.05022212117910385,
-0.0547650046646595,
0.001524727907963097,
-0.01522045023739338,
0.013521340675652027,
-0.008821958675980568,
-0.03464396297931671,
-0.00671595660969615,
-0.0441768653690815,
-0.027132106944918633,
0.004632310941815376,
-0.02505740523338318,
-0.022857503965497017,
0.005544465035200119,
-0.04328259825706482,
-0.00003821600694209337,
0.00011548640031833202,
-0.005812745541334152,
0.020228354260325432,
0.030691295862197876,
-0.017894312739372253,
-0.0013760557631030679,
0.05308378115296364,
-0.008920328691601753,
-0.039884377270936966,
0.004317081533372402,
0.025665506720542908,
-0.06317112594842911,
-0.024789122864603996,
-0.022589223459362984,
-0.05877132713794708,
-0.02280384674668312,
0.014952169731259346,
0.011160471476614475,
-0.027775980532169342,
-0.04621579870581627,
0.0091751953586936,
-0.05837785080075264,
-0.0126270717009902,
0.02638092264533043,
-0.029922224581241608,
-0.014388781040906906,
0.07640630006790161,
-0.0023944040294736624,
-0.0054058535024523735,
0.02496797777712345,
0.0176618043333292,
0.041494060307741165,
-0.024950092658400536,
-0.03602113574743271,
0.07043258845806122,
-0.014630232937633991,
0.07712171971797943,
-0.0199600737541914,
-0.021229935809969902,
0.033821236342191696,
0.0017080529360100627,
0.037881214171648026,
0.006496861111372709,
0.03838200494647026,
0.020371437072753906,
-0.04757508635520935,
0.01794796995818615,
0.011178356595337391,
0.03192538768053055,
0.06782132387161255,
-0.032980624586343765,
0.01222465094178915,
-0.036843862384557724,
-0.046072714030742645,
0.00415387749671936,
-0.03174653276801109,
-0.016892733052372932,
-0.05190334469079971,
0.026327265426516533,
0.01931620016694069,
0.00683668302372098,
0.020103156566619873,
0.06610433012247086,
0.014666004106402397,
-0.0358959399163723,
-0.014263583347201347,
-0.035913825035095215,
0.02047874964773655,
0.06449464708566666,
-0.02545088343322277,
0.08320274204015732,
0.03730888292193413,
0.08527744561433792,
-0.002828124212101102,
-0.03763081878423691,
-0.055945441126823425,
-0.04557192325592041,
-0.06732053309679031,
0.03274811431765556,
-0.04353299364447594,
-0.0260589849203825,
0.027758095413446426,
-0.02267865091562271,
-0.06982448697090149,
-0.06774978339672089,
0.01336931437253952,
0.03748773783445358,
-0.030923806130886078,
-0.039848607033491135,
-0.0011161589063704014,
0.06045255437493324,
-0.05168871954083443,
0.02618418261408806,
-0.04550038278102875,
0.06878713518381119,
0.005535522010177374,
-0.013109976425766945,
0.0037536921445280313,
-0.055301565676927567,
-0.09200234711170197,
-0.009210965596139431,
-0.03167499229311943,
-0.004084571730345488,
0.013914817944169044,
0.004460164345800877,
0.05909326300024986,
0.009255679324269295,
0.01551555935293436,
0.014603405259549618,
0.003172417636960745,
-0.0729365423321724,
0.04596540331840515,
-0.016597624868154526,
0.01285063847899437,
0.033588726073503494,
0.06896598637104034,
0.052296824753284454,
-0.004191883839666843,
-0.025039518252015114,
-0.018761754035949707,
-0.01774228736758232,
-0.05140255391597748,
0.004726209212094545,
-0.07676400989294052,
-0.00008090335904853418,
-0.018260963261127472,
-0.02541511133313179,
-0.029618173837661743,
0.026971139013767242,
0.012430332601070404,
-0.023107899352908134,
-0.020568177103996277,
0.0781233012676239,
0.02092588320374489,
0.006689128465950489,
0.017688632011413574,
-0.012117338366806507,
-0.002857187995687127,
-0.0462515689432621,
-0.043819159269332886,
0.029600288718938828,
0.04263872280716896,
-0.022267285734415054,
-0.06835788488388062,
-0.03748773783445358,
-0.0032842012587934732,
-0.049005914479494095,
-0.05734049901366234,
0.03367815166711807,
-0.01014100480824709,
0.05086599290370941,
-0.010695451870560646,
0.018976379185914993,
0.0279011782258749,
0.0358959399163723,
-0.010650738142430782,
0.050007496029138565,
0.053656112402677536,
-0.004097985569387674,
0.0011435458436608315,
0.0436045341193676,
0.0168569628149271,
-0.027489814907312393,
-0.02722153440117836,
0.0330163948237896,
-0.016633395105600357,
-0.0074358428828418255,
0.001419651322066784,
-0.006425319239497185,
0.00784720666706562,
-0.005553407594561577,
-0.00420529767870903,
-0.048683978617191315,
-0.004350616596639156,
0.009863781742751598,
0.02389485575258732,
0.009371934458613396,
-0.0610964260995388,
-0.00415387749671936,
0.039777062833309174,
-0.011938485316932201,
-0.0051957000978291035,
0.03938358649611473,
0.021533986553549767,
-0.009622329846024513,
0.07218535244464874,
0.05641045793890953,
0.028759676963090897,
-0.001506842439994216,
0.021891694515943527,
0.007623639423400164,
0.011196241714060307,
-0.012618129141628742,
0.016606567427515984,
0.006013955920934677,
0.01886906661093235,
-0.022553453221917152,
0.008079716004431248,
-0.01935197040438652,
-0.0358959399163723,
0.009184137918055058,
0.033141590654850006,
0.0135481683537364,
-0.08613594621419907,
0.026881711557507515,
0.024860665202140808,
0.012251478619873524,
0.07354464381933212,
0.05047251656651497,
-0.027454044669866562,
-0.009032112546265125,
-0.03138882666826248,
-0.0062598795630037785,
-0.03312370553612709,
-0.025003748014569283,
0.05276184529066086,
-0.01838616095483303,
-0.036199990659952164,
-0.0014073550701141357,
0.03231886401772499,
-0.003369156736880541,
0.0409574992954731,
-0.014674946665763855,
0.04292488843202591,
-0.00527171278372407,
-0.03870394080877304,
-0.011929541826248169,
-0.029332008212804794,
-0.00394372409209609,
-0.038238923996686935,
0.027758095413446426,
-0.0026291494723409414,
-0.04990018531680107,
-0.018779639154672623,
-0.004887177608907223,
-0.03628941625356674,
-0.015828553587198257,
0.049005914479494095,
0.05190334469079971,
-0.004198590759187937,
0.010042635723948479,
-0.022428255528211594,
-0.014925342053174973,
-0.022034777328372,
-0.009801182895898819,
-0.030530327931046486,
0.00017871397722046822,
-0.04811164736747742,
0.012394561432301998,
-0.01791219785809517,
0.040850184857845306,
-0.00871017575263977,
-0.00819149985909462,
-0.02725730463862419,
-0.001633157953619957,
-0.036432500928640366,
0.00828986894339323,
-0.0054863374680280685,
-0.03247983381152153,
0.06950254738330841,
-0.013977416791021824,
0.006188338156789541,
-0.0004510466824285686,
0.020371437072753906,
-0.0579843707382679,
0.030977461487054825,
0.010749108158051968,
-0.040850184857845306,
0.038882795721292496,
-0.015524501912295818,
-0.012662842869758606,
0.00981906894594431,
-0.01539930421859026,
-0.058163225650787354,
0.013825391419231892,
0.027275189757347107,
-0.05150986835360527,
-0.00016921237693168223,
-0.02554030902683735,
-0.011562892235815525,
-0.03609267622232437,
0.022374598309397697,
0.06989602744579315,
-0.03863240033388138,
-0.00841059535741806,
-0.02890275977551937,
-0.017608147114515305,
-0.029135268181562424,
0.06825057417154312,
0.05751935392618179,
-0.049041684716939926,
0.06299227476119995,
-0.0043103741481900215,
0.01670493558049202,
-0.003773813135921955,
-0.0056875478476285934,
0.01714312843978405,
-0.010346687398850918,
0.020138926804065704,
0.030047422274947166,
0.036915406584739685,
0.03748773783445358,
-0.015926921740174294,
-0.05147409811615944,
0.0064700329676270485,
-0.011267783120274544,
-0.007502913009375334,
0.01738457940518856,
0.031013233587145805,
-0.05208219960331917,
-0.010811707004904747,
-0.034429337829351425,
0.05015058070421219,
0.00252407300285995,
0.0024927735794335604,
-0.07633475959300995,
0.0004228213510941714,
0.04367607459425926,
0.020246239379048347,
0.0244493018835783,
-0.0032037170603871346,
-0.0001479734928580001,
-0.05705433338880539,
0.04653773456811905,
0.04618002846837044,
0.03308793529868126,
-0.038560859858989716,
0.008580506779253483,
0.03625364601612091,
-0.028366198763251305,
0.012349848635494709,
0.09329009056091309,
0.01838616095483303,
-0.05447883903980255,
0.050293661653995514,
0.056553542613983154,
-0.015685470774769783,
0.032175783067941666,
-0.022106317803263664,
0.03305216506123543,
-0.05086599290370941,
0.05186757445335388,
0.045786548405885696,
0.021873807534575462,
-0.01770651713013649,
0.007641524542123079,
-0.04127943515777588,
-0.014200984500348568,
-0.037523508071899414,
-0.024485072121024132,
0.023197324946522713,
0.03373181074857712,
-0.04396224021911621,
-0.029457205906510353,
0.0218022670596838,
-0.00782932061702013,
-0.014281468465924263,
-0.04986441507935524,
-0.0007187683368101716,
0.055230025202035904,
-0.03766658902168274,
0.020049501210451126,
-0.017125243321061134,
0.016731765121221542,
-0.06678397208452225,
0.03253348916769028,
0.0051107448525726795,
0.030566098168492317,
-0.0067472560331225395,
-0.06188338249921799,
0.04338990896940231,
0.04288911819458008,
-0.019012149423360825,
0.03360661119222641,
0.09314700961112976,
-0.08806756883859634,
0.06900175660848618,
0.03586016967892647,
0.02850928157567978,
-0.08563515543937683,
-0.04024208337068558,
-0.005472923628985882,
0.01791219785809517,
0.03741619735956192,
-0.06503120809793472,
0.04138674959540367,
-0.05644622817635536,
0.022177860140800476
] |
725,987 | pydantic.main | __delattr__ | null | def __delattr__(self, item: str) -> Any:
if item in self.__private_attributes__:
attribute = self.__private_attributes__[item]
if hasattr(attribute, '__delete__'):
attribute.__delete__(self) # type: ignore
return
try:
# Note: self.__pydantic_private__ cannot be None if self.__private_attributes__ has items
del self.__pydantic_private__[item] # type: ignore
except KeyError as exc:
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') from exc
elif item in self.model_fields:
object.__delattr__(self, item)
elif self.__pydantic_extra__ is not None and item in self.__pydantic_extra__:
del self.__pydantic_extra__[item]
else:
try:
object.__delattr__(self, item)
except AttributeError:
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
| (self, item: str) -> Any | [
0.054841604083776474,
0.0508728064596653,
0.026356441900134087,
0.02448028326034546,
-0.031642161309719086,
-0.10989969223737717,
0.0003182369109708816,
0.05101712420582771,
0.02778160199522972,
0.053903523832559586,
0.018797682598233223,
0.029838163405656815,
0.020114602521061897,
0.04304344579577446,
-0.0002397347125224769,
0.049970805644989014,
-0.08125216513872147,
0.01213190145790577,
0.03214728459715843,
-0.04437840357422829,
0.009669440798461437,
0.02554464153945446,
-0.012609961442649364,
0.028449082747101784,
0.0008760675555095077,
0.01845492236316204,
0.026049762964248657,
0.0519552044570446,
0.05628480389714241,
0.006115560419857502,
-0.022080961614847183,
-0.019663602113723755,
-0.012474660761654377,
0.012231120839715004,
-0.000734566303435713,
-0.013683341443538666,
-0.02025892212986946,
0.055924005806446075,
-0.07042817026376724,
-0.0007768475916236639,
-0.01520772185176611,
0.029098521918058395,
0.02788984216749668,
-0.023614361882209778,
0.04221360385417938,
-0.02152172289788723,
0.00784740038216114,
0.06985088437795639,
-0.0466153658926487,
-0.0014849175931885839,
0.01593834161758423,
0.03860560432076454,
0.023073162883520126,
0.04654320329427719,
-0.0029698351863771677,
0.014792801812291145,
-0.0014477100921794772,
0.06378944963216782,
0.009687480516731739,
0.05101712420582771,
-0.012104840949177742,
0.037162404507398605,
0.014982221648097038,
-0.09849841147661209,
0.011951501481235027,
-0.036711402237415314,
-0.013178220950067043,
0.024552442133426666,
-0.02130524255335331,
-0.01717408187687397,
-0.04437840357422829,
-0.0028999303467571735,
0.02556268312036991,
0.04751736298203468,
0.0562126450240612,
-0.06126384437084198,
0.034510523080825806,
-0.027709443122148514,
0.08594256639480591,
-0.05332624539732933,
0.016705041751265526,
0.015640681609511375,
-0.035556841641664505,
-0.013647261075675488,
-0.02799808233976364,
0.020818162709474564,
0.016055600717663765,
-0.0434403233230114,
-0.03106488287448883,
0.0349615216255188,
-0.03613412380218506,
0.02047540247440338,
-0.05415608361363411,
0.023866921663284302,
-0.009705521166324615,
0.006304980721324682,
0.011013421230018139,
-0.010869100689888,
-0.000024787384973024018,
-0.024119481444358826,
0.05141400545835495,
0.030235042795538902,
-0.054120004177093506,
0.03519604355096817,
-0.008221730589866638,
0.0003472700191196054,
0.029441282153129578,
-0.0561765655875206,
-0.0019178777001798153,
-0.002181712770834565,
-0.03490740433335304,
0.034600723534822464,
-0.021539762616157532,
0.05448080599308014,
0.017625082284212112,
-0.0039056604728102684,
-0.043079525232315063,
-0.049465686082839966,
0.0360078439116478,
-0.028683602809906006,
-0.03274260461330414,
-0.0027668853290379047,
-0.07273728400468826,
0.016010502353310585,
0.04210536554455757,
-0.008275850676000118,
-0.015875201672315598,
0.011338140815496445,
0.022315481677651405,
0.035232122987508774,
-0.04906880483031273,
0.0056600505486130714,
0.008145060390233994,
-0.015198701061308384,
0.02215312235057354,
0.03606196492910385,
0.031028803437948227,
0.02300100214779377,
-0.010039260610938072,
0.020727962255477905,
-0.020836202427744865,
0.029747962951660156,
0.047733843326568604,
0.013502941466867924,
0.0004166112921666354,
-0.008817050606012344,
-0.06671192497015,
0.010138480924069881,
-0.06847984343767166,
-0.01325940154492855,
-0.07959248870611191,
0.0013349601067602634,
0.012402500957250595,
0.012718201614916325,
-0.046254564076662064,
0.06104736402630806,
-0.12130097299814224,
-0.0037658503279089928,
-0.05978456512093544,
-0.02215312235057354,
-0.010336920619010925,
0.01822040230035782,
0.014792801812291145,
-0.012384461238980293,
0.045641206204891205,
-0.017859602347016335,
0.043296005576848984,
-0.055094163864851,
0.005678090732544661,
0.037270642817020416,
-0.043079525232315063,
0.03223748132586479,
0.0519552044570446,
0.04210536554455757,
-0.021666042506694794,
0.06815512478351593,
0.009353741072118282,
-0.014702601358294487,
-0.0015818827087059617,
-0.04589376598596573,
0.022351562976837158,
-0.05393960699439049,
-0.013737461529672146,
-0.033969324082136154,
0.07353104650974274,
0.00021986251522321254,
-0.027907881885766983,
0.026139963418245316,
0.02319944277405739,
0.07129408419132233,
0.025147762149572372,
-0.0055337706580758095,
0.004295775201171637,
-0.017814502120018005,
0.002169310115277767,
0.011716981418430805,
-0.004449115600436926,
-0.007906030863523483,
-0.012519760988652706,
0.011581680737435818,
-0.051883045583963394,
0.0032201402354985476,
-0.01224014163017273,
0.04279088228940964,
-0.07028384506702423,
-0.021810362115502357,
-0.013232341036200523,
-0.026428602635860443,
-0.04199712350964546,
-0.004455880261957645,
-0.017706261947751045,
0.06000104546546936,
0.05523848533630371,
0.0036080002319067717,
0.07454128563404083,
-0.06285136938095093,
-0.0423940047621727,
0.021449562162160873,
0.013403721153736115,
0.024552442133426666,
0.018121181055903435,
-0.00028751252102665603,
0.014413961209356785,
0.04048176482319832,
0.024462241679430008,
-0.008289380930364132,
-0.007238550577312708,
0.03476308286190033,
0.011915421113371849,
-0.015442241914570332,
0.02141348272562027,
-0.017949800938367844,
0.07028384506702423,
-0.005312780383974314,
0.030884483829140663,
0.003919190261512995,
-0.03341008350253105,
-0.009615320712327957,
-0.04831112548708916,
-0.04791424423456192,
0.005001590587198734,
-0.008411150425672531,
-0.008546451106667519,
0.03678356483578682,
0.00508728064596653,
0.07270120829343796,
0.03326576203107834,
0.03622432425618172,
-0.0006849563214927912,
-0.0614442452788353,
0.06303176283836365,
0.03157000243663788,
0.008388601243495941,
0.07060856372117996,
0.008379580453038216,
-0.04051784425973892,
-0.05332624539732933,
-0.0034276002552360296,
0.009994161315262318,
0.03341008350253105,
0.015189681202173233,
-0.0034817203413695097,
0.013872761279344559,
0.08103568851947784,
0.023271601647138596,
-0.0023812802974134684,
0.0646553635597229,
0.060794804245233536,
-0.03559292480349541,
0.03184060379862785,
0.04672360420227051,
-0.06306784600019455,
0.06645936518907547,
-0.011202841065824032,
-0.04304344579577446,
0.03838912397623062,
-0.025364242494106293,
-0.04921312630176544,
0.017967842519283295,
-0.00008540812996216118,
0.03802832216024399,
-0.06526872515678406,
0.05642912536859512,
0.03380696475505829,
-0.008753910660743713,
0.02132328227162361,
0.025995641946792603,
0.04694008454680443,
0.004821190610527992,
0.05448080599308014,
0.042466163635253906,
-0.06768608838319778,
0.02141348272562027,
0.03359048441052437,
0.05022336542606354,
-0.018905920907855034,
-0.07349496334791183,
0.01865336112678051,
0.057403285056352615,
0.000422812532633543,
-0.030595842748880386,
0.07800497114658356,
-0.000180259085027501,
0.008758421055972576,
0.023379841819405556,
-0.03627844527363777,
0.05054808408021927,
0.015424201264977455,
0.0201326422393322,
0.042574405670166016,
0.030776243656873703,
-0.00295405020006001,
-0.04311560466885567,
0.04827504605054855,
0.03265240415930748,
-0.003242690348997712,
-0.005826920736581087,
0.012916641309857368,
-0.0004707312909886241,
0.02841300331056118,
-0.01604658178985119,
-0.03032524324953556,
-0.04780600592494011,
0.020818162709474564,
0.009831801056861877,
-0.01897808164358139,
-0.007450520526617765,
0.025472482666373253,
-0.0206918828189373,
0.030758202075958252,
0.0013496176106855273,
-0.005001590587198734,
-0.04282696545124054,
-0.012916641309857368,
0.035574883222579956,
-0.033861082047224045,
0.03976016491651535,
-0.001261672587133944,
0.043728962540626526,
-0.015297921374440193,
-0.02141348272562027,
0.04113120213150978,
0.009597280994057655,
-0.03903856500983238,
-0.04910488426685333,
0.0206918828189373,
-0.0046272603794932365,
0.03770360350608826,
0.004794130567461252,
0.008424680680036545,
0.06873240321874619,
-0.0018400801345705986,
0.021287202835083008,
-0.01230328157544136,
0.018689442425966263,
-0.060361847281455994,
-0.07446912676095963,
0.05206344649195671,
-0.006187720689922571,
-0.05397568643093109,
0.032796721905469894,
0.0023249052464962006,
-0.015667742118239403,
-0.0328688845038414,
0.02139544114470482,
-0.04279088228940964,
-0.03972408547997475,
-0.07468561083078384,
-0.0022922076750546694,
-0.07591232657432556,
-0.028791842982172966,
0.0002639759622979909,
-0.024552442133426666,
-0.007243060506880283,
0.054336484521627426,
0.03263436257839203,
0.029278922826051712,
0.07078896462917328,
-0.017706261947751045,
0.06274312734603882,
-0.02245980128645897,
-0.03645884245634079,
0.03654904291033745,
0.004469410516321659,
0.02217116206884384,
0.0087403804063797,
-0.015920301899313927,
0.004735500551760197,
-0.01129304151982069,
0.056537363678216934,
-0.013746481388807297,
-0.018996121361851692,
-0.05058416351675987,
0.006259880494326353,
-0.030902523547410965,
-0.002566190203651786,
-0.052532486617565155,
-0.07021168619394302,
-0.025797203183174133,
-0.0027127652429044247,
0.029603643342852592,
-0.009326680563390255,
-0.008302911184728146,
-0.020926402881741524,
0.025310123339295387,
0.05256856605410576,
-0.02532816305756569,
0.04019312560558319,
-0.0010581588139757514,
-0.0028255153447389603,
0.034600723534822464,
0.021557802334427834,
0.026464682072401047,
-0.036927882581949234,
0.04730088636279106,
-0.009561200626194477,
0.05213560536503792,
-0.008974900469183922,
0.06129992753267288,
0.042754802852869034,
-0.01739056222140789,
0.007243060506880283,
-0.02523796260356903,
-0.06389768421649933,
-0.05996496602892876,
-0.008465270511806011,
-0.0055698505602777,
0.0024083403404802084,
0.04639888554811478,
0.0201326422393322,
-0.004261950496584177,
-0.005520240403711796,
-0.008650180883705616,
-0.045100003480911255,
-0.010363981127738953,
-0.012970761395990849,
-0.009922000579535961,
-0.05610440671443939,
0.000713707588147372,
0.03313948214054108,
-0.06086696684360504,
-0.02045736275613308,
-0.0005499381804838777,
0.011735021136701107,
0.00554279051721096,
0.04051784425973892,
0.007960150949656963,
0.04481136426329613,
0.05704248696565628,
-0.011771101504564285,
0.03730672225356102,
0.022766482084989548,
0.043728962540626526,
-0.0392189621925354,
-0.013962961733341217,
-0.07176312804222107,
-0.019248681142926216,
-0.04672360420227051,
-0.027943963184952736,
0.022712362930178642,
-0.04867192357778549,
0.04163632541894913,
0.004956490360200405,
-0.07028384506702423,
-0.04282696545124054,
0.06920144706964493,
0.023470042273402214,
-0.006629700772464275,
-0.039471521973609924,
0.02130524255335331,
-0.010409081354737282,
-0.0509088858962059,
0.001699142623692751,
-0.034095603972673416,
-0.07519073039293289,
0.05534672364592552,
0.014305721037089825,
0.008641161024570465,
0.006769510451704264,
-0.07901521027088165,
0.03997664526104927,
-0.015748921781778336,
-0.01118480134755373,
-0.019248681142926216,
0.010102400556206703,
0.038316965103149414,
-0.04639888554811478,
-0.01287154108285904,
0.03994056209921837,
0.008925290778279305,
-0.037884004414081573,
-0.0201326422393322,
-0.032904963940382004,
-0.03570116311311722,
0.08615905046463013,
-0.01897808164358139,
-0.006038890685886145,
-0.0023474551271647215,
0.021070722490549088,
-0.05588792636990547,
-0.019537322223186493,
0.005118850618600845,
0.019970281049609184,
-0.020421281456947327,
0.005547300446778536,
-0.026356441900134087,
0.0016901226481422782,
0.04401760548353195,
-0.022838642820715904,
-0.08522097021341324,
-0.049646083265542984,
-0.00828487053513527,
0.07908736914396286,
0.01091420091688633,
-0.0038019304629415274,
-0.03326576203107834,
-0.015604601241648197,
0.011716981418430805,
0.0014240326127037406,
0.009231970645487309,
0.03198492154479027,
0.003472700249403715,
-0.0445588044822216,
-0.02448028326034546,
-0.03436620160937309,
-0.013106061145663261,
-0.02065580151975155,
0.03368068486452103,
0.07663393020629883,
-0.03452856466174126,
0.06075872480869293,
0.015839122235774994,
-0.01309704128652811,
-0.024029282853007317,
-0.00615164078772068,
-0.011211860924959183,
-0.03867776319384575,
-0.0008225113269872963,
-0.025995641946792603,
0.01091420091688633,
0.07988112419843674,
-0.010905181057751179,
0.03939936310052872,
0.007482090499252081,
-0.06436672806739807,
-0.011924440972507,
-0.01939300261437893,
0.005267680622637272,
-0.017724301666021347,
0.0497904047369957,
-0.03398736193776131,
0.021341321989893913,
-0.03405952453613281,
-0.04491960257291794,
-0.02585132233798504,
0.014540241099894047,
0.00024917753762565553,
0.009362760931253433,
0.04311560466885567,
-0.002320395316928625,
-0.030704082921147346,
0.02098052203655243,
0.07865440845489502,
0.014774761162698269,
0.03478112444281578,
0.049032725393772125,
0.0008726851083338261,
-0.021882522851228714,
0.014287681318819523,
-0.011581680737435818,
-0.016903482377529144,
-0.0034569152630865574,
0.01001220103353262,
0.005858490709215403,
-0.011843261308968067,
0.014531221240758896,
-0.006805590819567442,
-0.04419800266623497,
-0.04708440601825714,
-0.07822144776582718,
-0.026248201727867126,
0.021702121943235397,
-0.040012724697589874,
-0.013800601474940777,
-0.03571920469403267,
-0.08832384645938873,
0.04412584379315376,
-0.002322650281712413,
-0.04080648347735405,
-0.07454128563404083,
0.002233577659353614,
-0.024083402007818222,
0.019338881596922874,
-0.007856421172618866,
0.020204801112413406,
0.04762560501694679,
-0.025039521977305412,
-0.022135082632303238,
-0.06941792368888855,
0.06411416828632355,
0.07230432331562042,
-0.033229682594537735,
0.06097520515322685,
-0.002987875370308757,
0.010869100689888,
0.03871384263038635,
-0.054552964866161346,
0.006336550693958998,
-0.043296005576848984,
-0.050728484988212585,
-0.03267044201493263,
0.005393960513174534,
-0.012231120839715004,
0.03456464409828186,
-0.010309861041605473,
-0.047228723764419556,
0.03221944347023964,
0.036296483129262924,
0.0014894276391714811,
-0.05715072527527809,
-0.055382806807756424,
-0.035665083676576614,
-0.026681162416934967,
0.028575362637639046,
-0.01830158196389675,
-0.011689920909702778,
-0.021557802334427834,
0.014702601358294487,
-0.022531962022185326,
0.01092322077602148,
-0.023686522617936134,
-0.04145592451095581,
0.02161192148923874,
0.009317660704255104,
0.023560242727398872,
0.017246240749955177,
0.006102030631154776,
-0.00828487053513527,
-0.016506601125001907,
0.00885764043778181,
0.04834720492362976,
-0.013971981592476368,
-0.03532232344150543,
0.04932136461138725,
-0.11502305418252945,
-0.016840342432260513,
-0.0036485902965068817,
-0.01654268242418766,
0.07764416933059692,
-0.011500501073896885,
-0.03748712316155434,
-0.005398470442742109,
0.005826920736581087,
-0.0816129669547081,
0.013015861622989178,
-0.03030720353126526,
0.008681750856339931,
-0.018779641017317772,
-0.012691141106188297,
-0.016245022416114807,
-0.04322384297847748,
-0.030794283375144005,
-0.021666042506694794,
-0.014594361186027527,
0.02765532210469246,
-0.027078041806817055,
-0.02715020254254341,
-0.05011512339115143,
0.023560242727398872,
-0.009498060680925846,
0.017814502120018005,
0.030180923640727997,
-0.041600242257118225,
0.03277868404984474,
-0.037270642817020416,
-0.0281063225120306,
0.015550481155514717,
-0.03564704209566116,
0.006995010655373335,
-0.02162996120750904,
-0.011229900643229485,
0.03687376528978348,
-0.030379362404346466,
-0.01012946106493473,
0.04167240485548973,
-0.011040480807423592,
0.030126802623271942,
0.031335484236478806,
0.003653100458905101,
-0.0720156878232956,
-0.07396400719881058,
-0.02058364264667034,
-0.020006362348794937,
0.01823844201862812,
-0.010851060971617699,
-0.0880352109670639,
0.011509520933032036,
-0.0339512825012207,
0.04708440601825714,
0.013466861099004745,
0.017192121595144272,
0.0035223104059696198,
0.011626780964434147,
0.01214092131704092,
0.023397881537675858,
0.06187720596790314,
-0.023379841819405556,
-0.0033396552316844463,
-0.011058521457016468,
-0.01767018251121044,
0.0328688845038414,
0.036711402237415314,
-0.006286940537393093,
-0.04502784460783005,
0.03140764310956001,
0.035556841641664505,
0.016353260725736618,
-0.026158003136515617,
0.010959301143884659,
-0.039291124790906906,
0.001987782772630453,
-0.003375735366716981,
0.02606780268251896,
0.03795616328716278,
0.0009662676020525396,
-0.040662165731191635,
-0.03903856500983238,
-0.029874242842197418,
-0.008636650629341602,
0.04322384297847748,
0.029405202716588974,
-0.0164344422519207,
-0.006025360431522131,
0.04932136461138725,
0.0018536101561039686,
-0.028791842982172966,
0.009633361361920834,
0.004803150426596403,
0.010769881308078766,
0.05386744439601898,
-0.03521408513188362,
0.06905712932348251,
0.0466514453291893,
0.05289328470826149,
-0.07194352895021439,
0.040770404040813446,
-0.04037352278828621,
0.07966464757919312,
0.029224803671240807,
-0.06656760722398758,
0.058269206434488297,
-0.016777202486991882,
-0.05556320399045944,
0.07475776970386505,
0.08868464827537537,
-0.03274260461330414,
-0.024029282853007317,
-0.009741600602865219,
0.008442720398306847,
-0.04607416316866875,
-0.04401760548353195,
-0.02502148225903511,
0.020836202427744865,
0.016903482377529144,
-0.004812170285731554,
0.020836202427744865,
-0.04737304523587227,
0.0020080776885151863
] |
725,988 | pydantic.main | __eq__ | null | def __eq__(self, other: Any) -> bool:
if isinstance(other, BaseModel):
# When comparing instances of generic types for equality, as long as all field values are equal,
# only require their generic origin types to be equal, rather than exact type equality.
# This prevents headaches like MyGeneric(x=1) != MyGeneric[Any](x=1).
self_type = self.__pydantic_generic_metadata__['origin'] or self.__class__
other_type = other.__pydantic_generic_metadata__['origin'] or other.__class__
return (
self_type == other_type
and self.__dict__ == other.__dict__
and self.__pydantic_private__ == other.__pydantic_private__
and self.__pydantic_extra__ == other.__pydantic_extra__
)
else:
return NotImplemented # delegate to the other item in the comparison
| (self, other: Any) -> bool | [
0.02660025656223297,
-0.024175161495804787,
-0.025236140936613083,
0.07142661511898041,
-0.023947808891534805,
-0.06301456689834595,
-0.02612660638988018,
0.002084065694361925,
-0.008809913881123066,
0.01005088072270155,
0.023928863927721977,
-0.055095117539167404,
0.07301808148622513,
0.0692288726568222,
0.0240804310888052,
-0.0012397823156788945,
-0.019211295992136,
0.017610354349017143,
0.05073752626776695,
-0.02764228917658329,
-0.010666627436876297,
0.006749530788511038,
-0.01250439416617155,
0.0319051519036293,
0.01995019242167473,
0.06172623857855797,
-0.003469495801255107,
0.01787560060620308,
0.007384223863482475,
0.08139223605394363,
-0.022337395697832108,
-0.04914605990052223,
0.0627114325761795,
0.04088557884097099,
0.01732616499066353,
-0.015933629125356674,
-0.0460389070212841,
0.06574279814958572,
-0.06794054061174393,
-0.035069141536951065,
-0.0032824035733938217,
-0.018207155168056488,
-0.016786202788352966,
-0.021712174639105797,
-0.009918258525431156,
-0.029915815219283104,
-0.04346224293112755,
0.02701706998050213,
0.015516816638410091,
0.025217194110155106,
-0.03018106147646904,
-0.018074532970786095,
-0.023928863927721977,
0.05195007473230362,
-0.028400132432579994,
0.010837141424417496,
-0.012343352660536766,
0.036092229187488556,
-0.014910542406141758,
0.04005195200443268,
-0.036186959594488144,
-0.004963865503668785,
0.01044874731451273,
-0.03398921713232994,
-0.0333450511097908,
-0.02423200011253357,
-0.06202937290072441,
0.00015748906298540533,
0.012883314862847328,
0.008217849768698215,
-0.04963865503668785,
-0.01247597485780716,
-0.01629360392689705,
0.08343841135501862,
-0.021579552441835403,
0.013868509791791439,
-0.011140278540551662,
0.04289386048913002,
0.020632250234484673,
-0.060968395322561264,
0.022128988057374954,
-0.0264486875385046,
-0.03592171519994736,
-0.05759599804878235,
-0.1130700409412384,
0.014067443087697029,
-0.06282510608434677,
0.008430993184447289,
0.05123012512922287,
-0.03677428513765335,
-0.02199636586010456,
0.02898745983839035,
0.0180271677672863,
-0.025217194110155106,
0.026505526155233383,
0.018301885575056076,
-0.016710417345166206,
-0.05740653723478317,
-0.03592171519994736,
-0.009070422500371933,
-0.004125502891838551,
0.030692603439092636,
0.02565295435488224,
0.012087580747902393,
-0.002455882029607892,
0.024648813530802727,
-0.010003515519201756,
-0.03345872834324837,
-0.06623540073633194,
-0.00222497689537704,
-0.0500175766646862,
0.06309035420417786,
-0.04505371302366257,
0.013508534990251064,
-0.02296261489391327,
-0.026335012167692184,
0.01762930117547512,
0.004063928034156561,
-0.007355804555118084,
-0.011168697848916054,
0.008246269077062607,
0.06077893450856209,
0.005423307418823242,
0.0018129003001376987,
0.062484078109264374,
0.010751884430646896,
0.01167076826095581,
-0.017430366948246956,
-0.08207429945468903,
-0.001811716239899397,
-0.028153833001852036,
0.00028330268105491996,
0.02580452337861061,
0.07957341521978378,
0.05668658763170242,
0.04008984565734863,
-0.007559474557638168,
0.026960231363773346,
0.014342160895466805,
0.007118979003280401,
0.0019893355201929808,
0.027983319014310837,
0.07661783695220947,
-0.02923375740647316,
-0.0424012653529644,
0.006877416744828224,
-0.08199851214885712,
-0.002732967957854271,
0.020954333245754242,
-0.009946676902472973,
-0.01756298914551735,
-0.00060035299975425,
0.03304191306233406,
0.025634007528424263,
-0.08169537782669067,
-0.010240340605378151,
-0.0224700178951025,
-0.013802198693156242,
0.021390091627836227,
0.01603783294558525,
-0.043651703745126724,
0.003313190769404173,
0.036186959594488144,
-0.051836397498846054,
-0.010808723047375679,
-0.006995829753577709,
-0.0677131861448288,
-0.039824601262807846,
0.027509666979312897,
0.02311418391764164,
-0.009321457706391811,
-0.03162096068263054,
0.0213711466640234,
-0.023246806114912033,
-0.009103577584028244,
0.03764580562710762,
0.030882064253091812,
0.017098812386393547,
-0.007673150859773159,
-0.014550567604601383,
0.03993827849626541,
-0.07093401998281479,
-0.049752332270145416,
-0.007725252769887447,
0.04592522978782654,
-0.0012883315794169903,
-0.010950817726552486,
-0.027225475758314133,
0.022678423672914505,
0.04876713827252388,
0.001436347607523203,
-0.02836223877966404,
-0.01947654038667679,
-0.061915695667266846,
-0.018065059557557106,
-0.014114808291196823,
0.036338526755571365,
-0.03152623027563095,
0.051268015056848526,
0.04751669988036156,
-0.05933903530240059,
-0.05736864358186722,
-0.029612679034471512,
-0.006029581185430288,
-0.02533087134361267,
-0.03412184119224548,
0.0015950207598507404,
-0.016786202788352966,
0.06888784468173981,
-0.03861205279827118,
-0.05062384903430939,
-0.014815812930464745,
-0.0036518515553325415,
-0.004655992146581411,
0.055322472006082535,
0.028854837641119957,
-0.025709792971611023,
-0.07294230163097382,
0.0025956090539693832,
0.04001406207680702,
0.08230164647102356,
-0.02209109626710415,
-0.017591409385204315,
0.015706276521086693,
0.03065471164882183,
0.004878608509898186,
-0.02112484723329544,
0.04509160295128822,
-0.022261610254645348,
-0.04312121495604515,
0.027926480397582054,
-0.0012196521274745464,
0.02921481244266033,
0.005252792965620756,
-0.003952620085328817,
0.031109416857361794,
-0.002410885179415345,
0.012608597055077553,
-0.06839524954557419,
-0.015014746226370335,
0.005645923316478729,
0.007152134552598,
0.006171676330268383,
-0.001859081326983869,
-0.02214793488383293,
-0.09238094836473465,
-0.03707742318511009,
0.025217194110155106,
0.010429801419377327,
-0.01206863485276699,
0.015298936516046524,
-0.01685251295566559,
-0.02485721930861473,
-0.013195925392210484,
0.016236767172813416,
-0.005058595910668373,
-0.0568760484457016,
-0.0630524605512619,
0.0637345165014267,
0.01346116978675127,
0.0118697015568614,
0.05149536952376366,
-0.0213711466640234,
0.03249247744679451,
-0.06816789507865906,
-0.024800382554531097,
-0.024023594334721565,
0.041984450072050095,
0.015535762533545494,
-0.0201017614454031,
0.11936012655496597,
-0.04251493886113167,
0.02478143572807312,
0.06089261174201965,
-0.033515565097332,
-0.006901099346578121,
0.0018057955894619226,
-0.03025684505701065,
-0.0655912309885025,
-0.05717918276786804,
-0.031242039054632187,
-0.00613378407433629,
0.052935268729925156,
-0.08131645619869232,
-0.020291222259402275,
-0.0065932259894907475,
-0.026979178190231323,
-0.054450951516628265,
-0.021238524466753006,
-0.049297627061605453,
0.05168483033776283,
-0.040241412818431854,
0.03620590642094612,
-0.0011657743016257882,
-0.015857845544815063,
-0.00038661787402816117,
-0.019741786643862724,
-0.010581369511783123,
0.015412612818181515,
0.0023374692536890507,
-0.0120402155444026,
0.032681938260793686,
0.05426149070262909,
-0.0017489574383944273,
0.0441821925342083,
0.004850189201533794,
-0.0069579374976456165,
0.04080979526042938,
0.03162096068263054,
0.01513789501041174,
0.01187917497009039,
0.04725145176053047,
0.02478143572807312,
0.07131294161081314,
0.028797999024391174,
0.03311770036816597,
-0.015706276521086693,
-0.019988084211945534,
0.002950847614556551,
0.04687253385782242,
-0.03018106147646904,
0.04956287145614624,
-0.024591974914073944,
-0.006650064140558243,
-0.0020959069952368736,
-0.06509863585233688,
-0.020537519827485085,
0.05623188242316246,
0.004944919608533382,
0.05501933395862579,
0.02921481244266033,
-0.0007252785726450384,
0.07631469517946243,
0.019590217620134354,
0.013669576495885849,
-0.04584944620728493,
0.021465877071022987,
0.036584824323654175,
0.026183443143963814,
-0.017733504995703697,
0.009591438807547092,
-0.018841847777366638,
0.05649712681770325,
-0.0644923597574234,
-0.0360543355345726,
0.0179419107735157,
-0.03254931792616844,
0.0297074094414711,
0.013764306902885437,
-0.014645298011600971,
-0.07112348079681396,
-0.01676725596189499,
0.02248896285891533,
-0.0659322589635849,
-0.02184479869902134,
0.02811594121158123,
-0.022848937660455704,
0.047213561832904816,
-0.0325872078537941,
-0.026183443143963814,
0.11125122010707855,
-0.0050443862564861774,
0.00889990758150816,
0.003869730979204178,
-0.026903392747044563,
0.038176294416189194,
-0.014834758825600147,
-0.052935268729925156,
-0.047857727855443954,
0.014806339517235756,
-0.06093050166964531,
0.028229616582393646,
-0.011282374151051044,
-0.01056242361664772,
-0.00309767946600914,
0.004348118789494038,
-0.07919449359178543,
0.053011052310466766,
-0.024269891902804375,
-0.01239071786403656,
0.07578420639038086,
0.019334446638822556,
0.005593821872025728,
0.018406089395284653,
0.025937145575881004,
-0.03743739798665047,
0.025539277121424675,
-0.018889212980866432,
-0.010155083611607552,
0.022375287488102913,
-0.044826358556747437,
-0.042136020958423615,
-0.022223718464374542,
0.03018106147646904,
-0.05744443088769913,
-0.038081564009189606,
-0.06426500529050827,
0.02303839847445488,
-0.08813703060150146,
-0.012182311154901981,
0.014721082523465157,
0.031185200437903404,
0.030541036278009415,
-0.02239423245191574,
0.0053854151628911495,
0.045167386531829834,
0.019239716231822968,
0.005011230707168579,
-0.029517948627471924,
0.06699323654174805,
-0.007891030982136726,
-0.006754267495125532,
0.020310167223215103,
0.0032966129947453737,
-0.026107659563422203,
0.0009514470584690571,
0.06221883371472359,
-0.034671273082494736,
0.0605136901140213,
0.03266299515962601,
0.024345677345991135,
0.07188132405281067,
-0.02175006829202175,
-0.032681938260793686,
-0.011007656343281269,
-0.0032871400471776724,
0.024591974914073944,
0.07529161125421524,
0.01563996635377407,
-0.020063869655132294,
0.005650660023093224,
-0.017572462558746338,
0.053162623196840286,
0.04262861609458923,
0.011329739354550838,
0.027812805026769638,
0.03486073389649391,
-0.07593577355146408,
0.011926539242267609,
0.014436891302466393,
-0.0250087883323431,
-0.03575120121240616,
-0.03635747358202934,
-0.03027579002082348,
-0.009297775104641914,
-0.039673034101724625,
0.01995019242167473,
0.05486776679754257,
0.05043438822031021,
0.04122661054134369,
0.012883314862847328,
0.04982811585068703,
-0.033553458750247955,
-0.015592600218951702,
-0.02836223877966404,
-0.029423218220472336,
0.005698025226593018,
-0.037778425961732864,
-0.01603783294558525,
0.02898745983839035,
-0.018936578184366226,
0.010278233326971531,
-0.021484822034835815,
-0.04008984565734863,
0.023644672706723213,
0.023947808891534805,
-0.018766064196825027,
0.0069105722941458225,
0.006730584893375635,
0.06509863585233688,
0.013338020071387291,
-0.07199499756097794,
-0.009823528118431568,
0.040468767285346985,
-0.05842962488532066,
0.02032911404967308,
0.013034883886575699,
0.013243290595710278,
-0.06013476848602295,
-0.02152271568775177,
-0.0005846632993780077,
0.009255146607756615,
-0.0020580149721354246,
-0.01740194857120514,
0.045470524579286575,
-0.04289386048913002,
0.00901358388364315,
0.020480681210756302,
-0.0013629315653815866,
-0.014247431419789791,
0.00013802494504489005,
-0.01985546201467514,
-0.05710339918732643,
0.05248056352138519,
0.01627465896308422,
-0.03429235517978668,
0.0007702754228375852,
0.025274032726883888,
0.001962100388482213,
0.008890435099601746,
0.042211804538965225,
0.011917066760361195,
-0.0016696208622306585,
0.03624379634857178,
0.020461736246943474,
-0.023909917101264,
-0.023076290264725685,
-0.029764248058199883,
-0.030616819858551025,
0.05376889556646347,
-0.00017391883011441678,
-0.011983377858996391,
0.016217820346355438,
-0.03741845116019249,
0.07161607593297958,
0.012400191277265549,
-0.0026074503548443317,
-0.07207078486680984,
-0.02383413352072239,
-0.028456969186663628,
0.005840120371431112,
-0.024288838729262352,
-0.015033692121505737,
-0.02017754502594471,
-0.03804367035627365,
0.04065822809934616,
-0.022583693265914917,
0.03603539243340492,
0.05096488073468208,
-0.06790264695882797,
0.01520420704036951,
-0.004042613785713911,
-0.0154031403362751,
0.0020189385395497084,
-0.025122465565800667,
0.031090471893548965,
-0.01516631431877613,
-0.010723465122282505,
0.016142036765813828,
0.008914117701351643,
0.019798623397946358,
0.03162096068263054,
0.007602103520184755,
0.004613363649696112,
-0.014285323210060596,
0.043803270906209946,
-0.0120402155444026,
0.011613929644227028,
0.019031308591365814,
0.05736864358186722,
-0.024762488901615143,
0.020120706409215927,
0.05903589725494385,
-0.006119574885815382,
-0.07650415599346161,
0.009870893321931362,
0.002718758536502719,
0.0250087883323431,
0.08639399707317352,
0.04675885662436485,
0.05297316238284111,
0.0030408413149416447,
0.1072346568107605,
-0.005674342624843121,
-0.015043165534734726,
-0.020291222259402275,
0.009946676902472973,
-0.01560207363218069,
0.027111800387501717,
0.03440602868795395,
-0.017458787187933922,
-0.017922965809702873,
-0.02684655599296093,
-0.036414310336112976,
0.07335910946130753,
-0.0118697015568614,
-0.0492597334086895,
0.034993357956409454,
-0.07790616154670715,
-0.035315439105033875,
-0.045470524579286575,
0.014560041017830372,
0.06244618818163872,
0.00007208380702650174,
0.006081682629883289,
-0.09018320590257645,
-0.008123119361698627,
0.015668384730815887,
-0.027604397386312485,
-0.03660377115011215,
-0.042211804538965225,
0.035144925117492676,
0.001518052420578897,
-0.026259228587150574,
0.005158062558621168,
0.0010177582735195756,
-0.03918043524026871,
-0.04884292185306549,
-0.015308409929275513,
-0.01520420704036951,
0.04869135469198227,
-0.023966755717992783,
-0.02908219024538994,
-0.04656939581036568,
0.02930954284965992,
-0.00916988868266344,
-0.03139360621571541,
0.007644732017070055,
0.008885698392987251,
-0.008388364687561989,
0.08556036651134491,
0.04842611029744148,
0.04425797611474991,
-0.05592874437570572,
0.020708033815026283,
-0.059680063277482986,
-0.0313178226351738,
0.08093753457069397,
-0.03152623027563095,
0.010088772512972355,
0.025198249146342278,
0.026031875982880592,
-0.00985194742679596,
-0.011481307446956635,
-0.05899800732731819,
-0.008838333189487457,
0.0325872078537941,
-0.038725730031728745,
0.024023594334721565,
-0.060096874833106995,
0.01525157131254673,
-0.023208914324641228,
0.015980994328856468,
-0.007450534962117672,
0.036186959594488144,
-0.07775459438562393,
0.005925377830862999,
0.014607406221330166,
0.0019467067904770374,
0.07987655699253082,
0.01968494802713394,
-0.014702136628329754,
-0.05649712681770325,
0.10109613090753555,
-0.07013828307390213,
0.02065119706094265,
-0.021579552441835403,
-0.030067384243011475,
0.03630063682794571,
0.01947654038667679,
-0.04497792571783066,
0.06070315092802048,
-0.007758408319205046,
-0.02923375740647316,
-0.023928863927721977,
0.0052149007096886635,
0.019012363627552986,
-0.01995019242167473,
0.024970896542072296,
-0.030124222859740257,
0.031090471893548965,
-0.002410885179415345,
0.021787960082292557,
-0.0192965529859066,
0.055815067142248154,
0.02286788448691368,
-0.026903392747044563,
-0.06521230936050415,
0.01619887351989746,
0.026657095178961754,
-0.023530997335910797,
0.022507909685373306,
-0.035391226410865784,
0.001265833037905395,
-0.018718698993325233,
-0.024288838729262352,
0.030389467254281044,
0.014635824598371983,
-0.04122661054134369,
-0.03518281877040863,
-0.006967410445213318,
-0.0228110458701849,
-0.039673034101724625,
0.03575120121240616,
0.0010017724707722664,
0.00756894750520587,
-0.00549909146502614,
0.021939527243375778,
0.014351634308695793,
-0.03683112561702728,
-0.0066879563964903355,
-0.06081682816147804,
0.0017406685510650277,
0.009676695801317692,
0.04808507859706879,
-0.04035509005188942,
-0.051040664315223694,
0.0006252197199501097,
-0.019514434039592743,
0.01723143458366394,
0.0035026513505727053,
-0.0284380242228508,
0.038801513612270355,
0.011216063052415848,
0.05081330984830856,
0.05918746441602707,
-0.07013828307390213,
0.05558771640062332,
0.07836087048053741,
-0.03955935686826706,
-0.012021269649267197,
0.023549942299723625,
-0.014076916500926018,
-0.07047931104898453,
0.01561154704540968,
0.007019512355327606,
0.05073752626776695,
0.028968513011932373,
-0.011263428255915642,
0.00985194742679596,
-0.029764248058199883,
-0.015782061964273453,
0.04008984565734863,
-0.031980935484170914,
-0.008691500872373581,
0.03955935686826706,
0.050320714712142944,
-0.025558223947882652,
-0.0013688522158190608,
0.012930680066347122,
0.03918043524026871,
0.057141292840242386,
0.056118205189704895,
0.005754863377660513,
-0.0106855733320117,
0.005053859204053879,
-0.06070315092802048,
-0.02948005683720112,
-0.00992773100733757,
0.0677131861448288,
0.03417867794632912,
-0.0037063213530927896,
0.04315910488367081,
0.0007152134785428643,
-0.021541660651564598,
0.011187643744051456,
0.004499687347561121,
0.013953766785562038,
-0.007360541261732578,
-0.012172838672995567,
0.023095237091183662,
-0.006114838179200888,
0.006029581185430288,
-0.029821084812283516,
0.03302296996116638,
0.09048634022474289,
-0.02786964178085327,
-0.05164693668484688,
0.010240340605378151,
-0.01409586239606142,
0.0019917036406695843,
-0.011102386750280857,
0.016322024166584015,
-0.00813732948154211,
-0.0033652924466878176,
0.015384194441139698,
-0.018567129969596863,
0.08525723218917847
] |
725,989 | pydantic.main | __getattr__ | null | def __getattr__(self, item: str) -> Any:
private_attributes = object.__getattribute__(self, '__private_attributes__')
if item in private_attributes:
attribute = private_attributes[item]
if hasattr(attribute, '__get__'):
return attribute.__get__(self, type(self)) # type: ignore
try:
# Note: self.__pydantic_private__ cannot be None if self.__private_attributes__ has items
return self.__pydantic_private__[item] # type: ignore
except KeyError as exc:
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') from exc
else:
pydantic_extra = object.__getattribute__(self, '__pydantic_extra__')
if pydantic_extra is not None:
try:
return pydantic_extra[item]
except KeyError as exc:
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') from exc
else:
if hasattr(self.__class__, item):
return super().__getattribute__(item) # Raises AttributeError if appropriate
else:
# this is the current error
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
| (self, item: str) -> Any | [
0.04892634227871895,
-0.012844079174101353,
0.013164038769900799,
0.01568714529275894,
0.021007612347602844,
-0.0917825996875763,
0.07360891997814178,
-0.01512950286269188,
0.05093751475214958,
0.023768402636051178,
0.02607210911810398,
0.07064700871706009,
0.04581816866993904,
0.04358759522438049,
-0.015330620110034943,
0.09697508811950684,
-0.041210755705833435,
0.030533256009221077,
0.014745552092790604,
0.023091917857527733,
0.03475672006607056,
0.024938540533185005,
-0.013602839782834053,
-0.011244283057749271,
0.008382933214306831,
0.05667850002646446,
0.03418993204832077,
0.03493955358862877,
0.07649768888950348,
-0.05495985969901085,
0.010732348076999187,
-0.0116739422082901,
0.0046851178631186485,
0.040881652384996414,
-0.00836464948952198,
0.034720152616500854,
-0.03890704736113548,
0.050242748111486435,
-0.05027931556105614,
-0.004717113915830851,
-0.007445909548550844,
0.019709492102265358,
0.037736911326646805,
-0.05005991458892822,
0.01941695623099804,
-0.05133974924683571,
0.005096494220197201,
0.07218281179666519,
-0.008332653902471066,
-0.031063474714756012,
0.05517926067113876,
0.01565057970583439,
-0.004749109968543053,
-0.016299638897180557,
-0.026254944503307343,
0.02696799673140049,
-0.017350934445858,
0.06976940482854843,
0.013721682131290436,
0.05602029711008072,
-0.002607668051496148,
0.018054844811558723,
0.04574503377079964,
-0.05591059848666191,
-0.00798984058201313,
-0.0662224292755127,
-0.03144742548465729,
0.0016535038594156504,
-0.03120974265038967,
0.010741489939391613,
0.014087350107729435,
0.022817667573690414,
-0.03446418419480324,
0.0376272089779377,
0.035451486706733704,
-0.053716592490673065,
-0.0285952165722847,
-0.07324324548244476,
0.09470794349908829,
-0.024792272597551346,
0.017808018252253532,
0.009242252446711063,
-0.04984051361680031,
-0.038321979343891144,
-0.043295059353113174,
0.011865918524563313,
-0.03706042468547821,
-0.06457692384719849,
-0.04080852121114731,
0.032928381115198135,
-0.05770236998796463,
0.05488672852516174,
-0.03497612103819847,
0.028869468718767166,
-0.018054844811558723,
-0.008090399205684662,
0.035926856100559235,
-0.056861333549022675,
-0.0030807508155703545,
0.025669874623417854,
0.038175713270902634,
0.019947174936532974,
0.004246316850185394,
0.001819196972064674,
-0.0010387249058112502,
0.004534279927611351,
0.00416175602003932,
-0.014242758974432945,
0.05360689014196396,
-0.0005233619594946504,
-0.030770940706133842,
0.007125949952751398,
-0.05960384011268616,
0.06055457890033722,
-0.02247028239071369,
-0.008753171190619469,
-0.018612487241625786,
-0.025340775027871132,
0.017012691125273705,
-0.00402691587805748,
-0.019490091130137444,
-0.0014820970827713609,
-0.028211265802383423,
0.010924323461949825,
0.03927271440625191,
-0.01785372756421566,
-0.05784863606095314,
-0.04837784171104431,
0.06263888627290726,
0.011417975649237633,
-0.04249059036374092,
0.007336209062486887,
-0.00610665138810873,
0.029948187991976738,
-0.007656168192625046,
0.06699033081531525,
0.03839511424303055,
0.05510612949728966,
-0.01693955808877945,
0.04790247231721878,
0.003665819065645337,
-0.036365658044815063,
0.020715078338980675,
-0.04545250162482262,
-0.03781004622578621,
-0.0135571314021945,
0.017424067482352257,
0.031410858035087585,
0.008981714025139809,
-0.014846110716462135,
-0.036969009786844254,
0.009918737225234509,
0.006006092764437199,
0.07210967689752579,
-0.012048752047121525,
0.015138644725084305,
-0.06614929437637329,
-0.0150746526196599,
-0.01633620634675026,
-0.030368706211447716,
-0.02382325381040573,
-0.000797612767200917,
-0.04249059036374092,
-0.0391995832324028,
0.053424056619405746,
0.013392580673098564,
0.00017683464102447033,
-0.034244783222675323,
0.042709991335868835,
0.020459109917283058,
-0.048560675233602524,
0.016363631933927536,
-0.02228744886815548,
0.005325036589056253,
0.007391059305518866,
0.03406194970011711,
-0.043002527207136154,
0.015952255576848984,
0.04124731943011284,
-0.0542650930583477,
0.010878615081310272,
-0.018575921654701233,
-0.050718117505311966,
-0.054447926580905914,
0.04878007620573044,
0.057629235088825226,
0.0005296468734741211,
0.031392574310302734,
-0.017570335417985916,
0.06848956644535065,
0.025212790817022324,
0.01631792262196541,
0.04801217466592789,
0.0005824972759000957,
-0.025816142559051514,
0.01870390586555004,
0.004566275980323553,
0.019252406433224678,
-0.029600802809000015,
0.06421125680208206,
-0.024828840047121048,
0.020130008459091187,
-0.04863381013274193,
0.09149006754159927,
-0.05715386942028999,
-0.02499338984489441,
0.03453731909394264,
-0.031410858035087585,
-0.06614929437637329,
-0.010814623907208443,
-0.09712135046720505,
0.05064498260617256,
0.04004061594605446,
-0.0003742380649782717,
0.023018784821033478,
0.02907058596611023,
-0.022799383848905563,
-0.01764346845448017,
0.007052816450595856,
0.04611070081591606,
0.05104721710085869,
-0.013081763871014118,
0.01386794913560152,
0.03861451521515846,
0.060627710074186325,
-0.01870390586555004,
0.012560687027871609,
0.03323919698596001,
-0.031063474714756012,
0.017058400437235832,
0.024444889277219772,
-0.03029557317495346,
0.05155915021896362,
0.02124529518187046,
-0.013383439742028713,
-0.030496690422296524,
0.024828840047121048,
-0.026382926851511,
-0.04325849562883377,
-0.005978667642921209,
0.006152359768748283,
-0.002769933082163334,
-0.003352716099470854,
0.033056363463401794,
-0.023859819397330284,
0.009251394309103489,
0.0013883947394788265,
0.029271703213453293,
-0.008721175603568554,
-0.015303194522857666,
0.09053933620452881,
0.08169016987085342,
-0.009319956414401531,
0.05634940043091774,
-0.03040527179837227,
-0.07053730636835098,
-0.0979258194565773,
-0.05331435799598694,
0.019014721736311913,
-0.0020180288702249527,
0.005718129221349955,
0.030185872688889503,
0.028357533738017082,
0.05623969808220863,
-0.0422346256673336,
-0.00978161208331585,
0.040589120239019394,
0.03349516540765762,
-0.047683075070381165,
0.017808018252253532,
0.01565057970583439,
-0.02786388248205185,
0.053241223096847534,
0.027205679565668106,
-0.018118835985660553,
0.0248471237719059,
0.014727268368005753,
0.019069572910666466,
-0.04640323668718338,
-0.016235647723078728,
0.005032502114772797,
0.012716095894575119,
0.0008238951559178531,
0.0033755702897906303,
0.01138140819966793,
-0.044245798140764236,
0.0331660658121109,
0.05196138471364975,
-0.01591568812727928,
0.04311222583055496,
0.07057387381792068,
-0.04731740429997444,
0.011253424920141697,
-0.008254949003458023,
0.028430666774511337,
-0.013666831888258457,
-0.09149006754159927,
0.013520564883947372,
0.06040830910205841,
-0.02126357890665531,
-0.028394099324941635,
0.058543406426906586,
-0.03450075164437294,
0.0033595722634345293,
0.030825790017843246,
0.027315380051732063,
0.03898018226027489,
0.016838999465107918,
-0.008849158883094788,
0.037279825657606125,
0.02513965778052807,
-0.0006027804338373244,
-0.00684712827205658,
0.03281867876648903,
0.0057546962052583694,
0.00217229500412941,
-0.03674960881471634,
0.029308268800377846,
0.0263646449893713,
0.056276265531778336,
-0.04442863166332245,
0.009900454431772232,
-0.023859819397330284,
0.026126960292458534,
0.0027927872724831104,
0.011683084070682526,
-0.03214219585061073,
0.03409851714968681,
-0.024042654782533646,
0.024627722799777985,
0.015193494968116283,
-0.016775008291006088,
-0.03755407780408859,
-0.02139156311750412,
0.021135594695806503,
0.014955810271203518,
0.014937527477741241,
0.02197663113474846,
0.0496942475438118,
-0.03755407780408859,
-0.006682578008621931,
0.023439303040504456,
0.016409339383244514,
-0.001579227508045733,
-0.025688158348202705,
-0.0023608424235135317,
0.0631873831152916,
0.03974808380007744,
0.017552051693201065,
-0.029034018516540527,
-0.015348903834819794,
-0.046659205108881,
0.0030030463822185993,
0.0038486530538648367,
-0.024792272597551346,
-0.05755610391497612,
-0.03632909059524536,
-0.006805990822613239,
0.01895987242460251,
0.014818685129284859,
0.06552766263484955,
-0.028375817462801933,
-0.032599277794361115,
-0.025084806606173515,
-0.039418984204530716,
-0.04117418825626373,
-0.028832901269197464,
-0.029125435277819633,
0.01914270594716072,
-0.07956930249929428,
-0.01927069015800953,
-0.006682578008621931,
-0.0391630157828331,
-0.03876078128814697,
0.03515895456075668,
0.038321979343891144,
0.017442351207137108,
0.03453731909394264,
-0.0019117566989734769,
0.05378972366452217,
-0.0046851178631186485,
-0.03497612103819847,
0.016153372824192047,
0.025688158348202705,
0.06190754845738411,
-0.019947174936532974,
0.002683087019249797,
-0.012085318565368652,
0.00700253713876009,
0.028704917058348656,
-0.030368706211447716,
-0.039528682827949524,
-0.01881360448896885,
0.0029162003193050623,
-0.009745045565068722,
-0.0308806411921978,
-0.016775008291006088,
-0.07759469747543335,
-0.01824682019650936,
0.025998976081609726,
0.016775008291006088,
-0.03579887002706528,
-0.0068014198914170265,
-0.017360076308250427,
0.002744793426245451,
0.03177652508020401,
0.01369425654411316,
0.036658190190792084,
-0.027827315032482147,
0.014270183630287647,
-0.015239203348755836,
0.010421530343592167,
-0.03197764232754707,
-0.0677947998046875,
0.018905023112893105,
-0.014489584602415562,
0.07324324548244476,
0.0263646449893713,
0.00019611789321061224,
0.011317417025566101,
0.015412895008921623,
-0.032343313097953796,
-0.013090904802083969,
-0.039711516350507736,
-0.020312843844294548,
-0.027534781023859978,
-0.022525133565068245,
0.001810055342502892,
0.040589120239019394,
0.012606395408511162,
-0.006719144526869059,
0.011865918524563313,
-0.037133559584617615,
-0.05335092172026634,
0.05993294343352318,
-0.040150318294763565,
-0.025377340614795685,
-0.09170947223901749,
-0.01378567423671484,
0.010732348076999187,
-0.03854138031601906,
0.013767390511929989,
-0.010878615081310272,
0.046183835715055466,
0.008734888397157192,
-0.041357021778821945,
-0.022086331620812416,
0.052656155079603195,
0.07898423075675964,
-0.06238291785120964,
0.005585574544966221,
0.013310305774211884,
0.07002536952495575,
0.007368205115199089,
-0.005293040536344051,
-0.0467323362827301,
-0.027187395840883255,
-0.008222953416407108,
0.019837474450469017,
0.03402538225054741,
-0.03784660995006561,
0.0007296213880181313,
-0.011207716539502144,
-0.0691843330860138,
-0.041357021778821945,
0.053094957023859024,
0.008062973618507385,
-0.0007981841336004436,
-0.055362094193696976,
0.01077805645763874,
0.01914270594716072,
-0.04468459635972977,
0.0033412890043109655,
-0.03876078128814697,
-0.0071853711269795895,
0.002223717048764229,
0.007889281958341599,
-0.014014216139912605,
-0.03422649949789047,
-0.08512745052576065,
0.021921781823039055,
-0.01671101525425911,
-0.023311318829655647,
0.00557186221703887,
-0.013685115613043308,
0.014910101890563965,
-0.046659205108881,
0.07123207300901413,
0.016985267400741577,
-0.0338791161775589,
0.00896800123155117,
0.07159774005413055,
-0.015248345211148262,
0.010357539169490337,
0.010512947104871273,
0.011555100791156292,
-0.039711516350507736,
-0.020587094128131866,
0.017094966024160385,
-0.0308806411921978,
0.024170637130737305,
-0.03678617626428604,
0.07715589553117752,
0.02532249130308628,
-0.019033005461096764,
0.0036726754624396563,
-0.043916694819927216,
0.00036023985012434423,
0.033677998930215836,
-0.05185168609023094,
-0.008350936695933342,
0.006193497218191624,
0.05605686455965042,
-0.005475874524563551,
0.008396645076572895,
-0.01176535990089178,
-0.004063482861965895,
0.002735651796683669,
0.008990855887532234,
-0.005338748916983604,
0.05839713662862778,
-0.05587403103709221,
-0.031995926052331924,
-0.01033011358231306,
-0.017094966024160385,
-0.0034624163527041674,
0.023695269599556923,
0.04007718339562416,
-0.01664702408015728,
-0.0233478844165802,
0.013986791484057903,
0.008524629287421703,
-0.044977132230997086,
0.010266121476888657,
-0.001979176653549075,
0.03777347877621651,
-0.03450075164437294,
-0.011317417025566101,
-0.04442863166332245,
0.011253424920141697,
0.11818381398916245,
0.007912135683000088,
0.02005687542259693,
-0.005535295233130455,
-0.0263646449893713,
-0.059421006590127945,
-0.06958656758069992,
-0.011911626905202866,
-0.005553578957915306,
0.027004562318325043,
-0.03579887002706528,
0.001102145412005484,
-0.04234432429075241,
-0.008625187911093235,
0.007793293800204992,
-0.01122599933296442,
0.005827829707413912,
-0.003224732354283333,
-0.02005687542259693,
0.05060841515660286,
0.01633620634675026,
-0.014599284157156944,
0.0225982666015625,
0.024280337616801262,
-0.029893338680267334,
0.005818687845021486,
-0.03042355552315712,
0.04600100219249725,
0.006888266187161207,
-0.03601827099919319,
-0.010595222935080528,
0.013584556989371777,
-0.008529200218617916,
0.021281862631440163,
0.010732348076999187,
0.025340775027871132,
-0.025212790817022324,
-0.004269171040505171,
-0.026419494301080704,
-0.021738946437835693,
0.011134582571685314,
0.0071716587990522385,
-0.04186895489692688,
0.009406802244484425,
-0.045086830854415894,
-0.10275263339281082,
0.004145758226513863,
0.001355256070382893,
-0.059713542461395264,
-0.06241948530077934,
-0.021007612347602844,
-0.09295274317264557,
-0.011408833786845207,
0.01666530780494213,
0.03481156751513481,
0.033970534801483154,
-0.03327576443552971,
-0.005667849909514189,
-0.018566779792308807,
-0.006394614465534687,
0.010970031842589378,
0.024646006524562836,
0.0481584407389164,
0.051595717668533325,
0.04307565838098526,
0.034701868891716,
-0.00681970315054059,
-0.013675973750650883,
-0.04292939230799675,
-0.05368002504110336,
-0.007884711027145386,
0.011792784556746483,
0.0001651218335609883,
0.02621837705373764,
-0.02126357890665531,
-0.025487041100859642,
-0.01445301715284586,
0.09309900552034378,
0.009036564268171787,
-0.08154390752315521,
-0.0663321316242218,
-0.00286363554187119,
-0.03960181772708893,
0.049657680094242096,
-0.049511414021253586,
-0.018530212342739105,
0.04095478728413582,
-0.040004052221775055,
0.02124529518187046,
-0.021775513887405396,
0.04249059036374092,
-0.010631789453327656,
0.02755306474864483,
0.003752665128558874,
-0.01777145266532898,
0.03550633788108826,
0.039711516350507736,
0.011948193423449993,
-0.04132045432925224,
0.07393801957368851,
-0.0073590632528066635,
-0.02665717899799347,
-0.07869169861078262,
0.07064700871706009,
-0.055800896137952805,
0.00021925781038589776,
-0.04388012737035751,
-0.010979173704981804,
0.05470389500260353,
0.04340476170182228,
-0.03755407780408859,
0.010458097793161869,
-0.02261655032634735,
-0.03194107860326767,
0.04161299020051956,
-0.0542650930583477,
0.017488060519099236,
-0.02804671600461006,
-0.014562717638909817,
-0.01752462610602379,
-0.06146874651312828,
-0.022378865629434586,
-0.027351947501301765,
-0.0024659717455506325,
0.04084508493542671,
-0.019618073478341103,
-0.04885321110486984,
-0.07708276063203812,
0.06296798586845398,
0.002637378638610244,
0.06256575137376785,
0.05931130796670914,
-0.02680344507098198,
0.024664288386702538,
-0.04537936672568321,
0.007299642078578472,
0.033531732857227325,
-0.040589120239019394,
0.044355496764183044,
-0.030460122972726822,
0.0018751898314803839,
-0.008840017952024937,
-0.07265818119049072,
0.030167588964104652,
-0.002329989103600383,
-0.052765853703022,
0.04384356364607811,
0.002566530369222164,
-0.008680038154125214,
-0.11840321123600006,
-0.01633620634675026,
-0.04340476170182228,
-0.017442351207137108,
0.07090297341346741,
-0.009882170706987381,
-0.05982324108481407,
-0.02199491485953331,
-0.007011679001152515,
0.029015734791755676,
0.018566779792308807,
0.021793797612190247,
-0.0065454524010419846,
0.040150318294763565,
-0.02709597907960415,
0.00500964792445302,
0.0512666180729866,
-0.01681157387793064,
0.028192982077598572,
0.023000501096248627,
-0.032306745648384094,
-0.000055778615205781534,
0.015102077275514603,
0.014425592496991158,
-0.05602029711008072,
0.048706941306591034,
-0.028503799811005592,
0.03795631229877472,
0.02950938604772091,
-0.006294055841863155,
-0.003994920291006565,
-0.010211271233856678,
-0.015239203348755836,
0.021007612347602844,
0.027681047096848488,
-0.004849668592214584,
0.009589636698365211,
-0.032325029373168945,
-0.03164854273200035,
-0.0039537823759019375,
0.06165158003568649,
0.06099338084459305,
-0.003227017819881439,
0.008419499732553959,
-0.0036178252194076777,
0.05046214908361435,
-0.02967393770813942,
-0.005146773532032967,
-0.007738443557173014,
0.001876332564279437,
0.06585676223039627,
-0.01723209209740162,
0.07956930249929428,
0.011417975649237633,
0.04168612137436867,
-0.05005991458892822,
0.027315380051732063,
-0.03934584930539131,
0.01822853647172451,
0.03550633788108826,
-0.0263646449893713,
0.03504925221204758,
0.021903498098254204,
-0.010485522449016571,
0.04128388687968254,
0.10831078141927719,
-0.02905230224132538,
-0.0338791161775589,
-0.02047739364206791,
0.029893338680267334,
-0.046183835715055466,
-0.048560675233602524,
-0.03583543747663498,
0.025560175999999046,
0.04830470681190491,
-0.017661752179265022,
0.007413913495838642,
-0.05887250602245331,
0.030825790017843246
] |
725,991 | pydantic.main | __init__ | Create a new model by parsing and validating input data from keyword arguments.
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
`__init__` uses `__pydantic_self__` instead of the more common `self` for the first arg to
allow `self` as a field name.
| def __init__(__pydantic_self__, **data: Any) -> None: # type: ignore
"""Create a new model by parsing and validating input data from keyword arguments.
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
`__init__` uses `__pydantic_self__` instead of the more common `self` for the first arg to
allow `self` as a field name.
"""
# `__tracebackhide__` tells pytest and some other tools to omit this function from tracebacks
__tracebackhide__ = True
__pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
| (__pydantic_self__, **data: Any) -> NoneType | [
-0.007439626846462488,
0.01720326952636242,
0.03603612631559372,
-0.0004565856943372637,
-0.02046244591474533,
-0.038887906819581985,
0.01899952068924904,
0.022240178659558296,
0.01935136318206787,
-0.031351059675216675,
-0.005657264497131109,
0.03385099768638611,
0.028184473514556885,
0.03433246538043022,
0.015332946553826332,
0.014305194839835167,
0.0022117497865110636,
0.01977727934718132,
-0.008953477256000042,
-0.036999065428972244,
0.01618477702140808,
0.01050899364054203,
-0.02992517128586769,
0.06559093296527863,
0.029258521273732185,
0.09851603209972382,
-0.04510997235774994,
0.02594378963112831,
0.034943562000989914,
0.011240457184612751,
0.004270725417882204,
0.01136082410812378,
0.013675580732524395,
0.06733163446187973,
0.02683265507221222,
-0.060628097504377365,
-0.026610439643263817,
0.05751706659793854,
-0.15984781086444855,
-0.004527663346379995,
0.05085056647658348,
0.004513774998486042,
-0.023351263254880905,
0.018295833840966225,
-0.0037429609801620245,
-0.05910961702466011,
0.033443599939346313,
0.022351287305355072,
-0.05910961702466011,
-0.008971995674073696,
-0.01879582181572914,
0.01909211091697216,
0.01341632753610611,
0.0021110577508807182,
0.02029578387737274,
0.005745225120335817,
0.01664772816002369,
0.026999318972229958,
0.012258949689567089,
0.01703660748898983,
-0.060109592974185944,
0.05473935976624489,
0.04710992053151131,
-0.0462210550904274,
-0.03303620219230652,
-0.0054396772757172585,
-0.04488775506615639,
-0.04625809192657471,
0.015545903705060482,
-0.005708189215511084,
-0.01716623269021511,
-0.021555012091994286,
-0.0031480686739087105,
0.12066362053155899,
0.09273839741945267,
-0.0590725839138031,
-0.027795594185590744,
-0.005814667791128159,
0.059220727533102036,
0.017999544739723206,
0.023777177557349205,
-0.027795594185590744,
-0.09444206207990646,
-0.027795594185590744,
-0.024666044861078262,
-0.012036733329296112,
-0.022073516622185707,
-0.014971843920648098,
0.008036834187805653,
0.005194313358515501,
-0.0791831836104393,
0.037813860923051834,
-0.05636894702911377,
0.022592023015022278,
0.031091807410120964,
0.01824028044939041,
-0.0009600452031008899,
-0.02131427638232708,
-0.004451276734471321,
0.04844322055578232,
0.0070090824738144875,
0.08007205277681351,
-0.04133228957653046,
0.006851678714156151,
-0.017453262582421303,
-0.03479541838169098,
-0.03444357588887215,
-0.04203597456216812,
-0.03303620219230652,
-0.005536897107958794,
-0.049369122833013535,
0.0076896208338439465,
-0.038332365453243256,
0.06459096074104309,
-0.034943562000989914,
-0.028536316007375717,
0.033276937901973724,
-0.017795847728848457,
0.01697179302573204,
0.0016272737411782146,
0.010768246836960316,
0.024184575304389,
-0.06614647805690765,
0.0028888159431517124,
0.06781310588121414,
0.0306103378534317,
0.011323788203299046,
-0.06655387580394745,
0.025017887353897095,
-0.0053331987001001835,
0.0036156494170427322,
0.025499356910586357,
0.009990488179028034,
0.03444357588887215,
0.0025369729846715927,
0.04296187683939934,
0.04940615966916084,
0.003527688793838024,
-0.014351489953696728,
0.007907208055257797,
0.023036455735564232,
0.03885086998343468,
0.04788767918944359,
-0.034999117255210876,
-0.005453566089272499,
0.005370234604924917,
-0.06151696667075157,
-0.028647424653172493,
0.02499936893582344,
0.04766546189785004,
0.02222166210412979,
-0.027665968984365463,
0.05355420336127281,
0.07384999096393585,
-0.010036783292889595,
-0.018295833840966225,
-0.042998913675546646,
-0.07599808275699615,
0.04396185278892517,
0.0011909421300515532,
-0.0376657173037529,
-0.027554860338568687,
0.05773928388953209,
-0.027295608073472977,
-0.016295885667204857,
0.009208100847899914,
-0.03286954015493393,
-0.08547932654619217,
0.005513749551028013,
0.017027348279953003,
-0.024295682087540627,
-0.003708239644765854,
-0.011666372418403625,
0.02820299193263054,
-0.03642500564455986,
-0.02872149646282196,
0.02148093841969967,
0.038036078214645386,
0.031906601041555405,
-0.00878218561410904,
0.046332161873579025,
0.016018114984035492,
-0.0288881603628397,
-0.008597005158662796,
0.05277644470334053,
0.04318409413099289,
-0.05173943564295769,
0.04766546189785004,
0.003990639932453632,
0.08273865282535553,
0.04351741820573807,
-0.0012430241331458092,
0.0008529877522960305,
-0.009814566932618618,
-0.011490450240671635,
0.015332946553826332,
-0.002030041301622987,
0.012323763221502304,
-0.026462294161319733,
0.02340681664645672,
0.009944193065166473,
0.01879582181572914,
-0.0012221913784742355,
-0.032462142407894135,
-0.011731185019016266,
0.0042221155017614365,
-0.0336102619767189,
0.01635143905878067,
-0.011740444228053093,
-0.08977551013231277,
-0.020869843661785126,
-0.008073870092630386,
0.015907006338238716,
0.024073466658592224,
0.028314100578427315,
-0.06603536754846573,
0.021240204572677612,
-0.04777657240629196,
0.02735116146504879,
0.03090662695467472,
0.11977475136518478,
0.0336102619767189,
-0.012462648563086987,
0.011833034455776215,
0.0440729595720768,
-0.009999747388064861,
-0.00478228647261858,
0.01716623269021511,
-0.008999772369861603,
-0.029591845348477364,
-0.06585019081830978,
-0.05310976877808571,
-0.024110501632094383,
0.017342153936624527,
-0.02966591715812683,
-0.01380520686507225,
0.032591771334409714,
-0.04014713317155838,
-0.058405932039022446,
-0.054035671055316925,
0.0012221913784742355,
0.006652609910815954,
-0.010416403412818909,
-0.008198866620659828,
-0.029554808512330055,
-0.015907006338238716,
-0.009601609781384468,
0.03335101157426834,
0.014740368351340294,
-0.023351263254880905,
0.0010161780519410968,
0.0025855829007923603,
-0.023462370038032532,
0.06777606904506683,
-0.014027423225343227,
-0.01449037529528141,
0.016638468950986862,
-0.09444206207990646,
0.05503564700484276,
0.0031804752070456743,
-0.009245136752724648,
-0.0013506603427231312,
0.001758057507686317,
0.10414551943540573,
-0.02444382756948471,
-0.07977576553821564,
-0.003085570177063346,
-0.010194187052547932,
-0.024795670062303543,
-0.03120291605591774,
0.1374039351940155,
-0.034388020634651184,
0.05851704254746437,
0.02490677870810032,
-0.04344334825873375,
-0.07218336313962936,
-0.028388172388076782,
-0.007675732020288706,
-0.03564724698662758,
0.011444155126810074,
0.002775392960757017,
-0.04422110691666603,
0.04122118279337883,
-0.023036455735564232,
0.020055050030350685,
-0.04125821590423584,
-0.017971768975257874,
-0.008360899984836578,
-0.06451688706874847,
-0.0029790913686156273,
0.0028679831884801388,
-0.027036353945732117,
0.03240659087896347,
-0.001945552765391767,
0.03309175744652748,
-0.05355420336127281,
-0.030147386714816093,
0.02731412462890148,
0.010333072394132614,
-0.09088659286499023,
0.01664772816002369,
-0.005069316364824772,
0.024184575304389,
0.00714796781539917,
-0.02983258105814457,
-0.02649933099746704,
-0.014120013453066349,
0.014064460061490536,
0.007786840666085482,
-0.028388172388076782,
0.0023598941043019295,
0.06140585616230965,
0.003617964219301939,
0.03581390902400017,
0.03822125867009163,
0.00714796781539917,
0.0010005534859374166,
-0.021240204572677612,
0.007277593947947025,
0.04425814375281334,
0.00017794690211303532,
-0.01031455397605896,
0.02353644371032715,
-0.05633191019296646,
-0.03992491960525513,
-0.0009201156790368259,
0.0070970430970191956,
0.018101394176483154,
-0.01769399829208851,
-0.0013113095192238688,
-0.0015497293788939714,
0.005601710639894009,
0.02666599303483963,
0.010231222957372665,
-0.015814416110515594,
-0.021295757964253426,
0.013194111175835133,
-0.0036249083932489157,
0.027665968984365463,
-0.036869440227746964,
0.029221484437584877,
-0.020055050030350685,
0.022110553458333015,
-0.03716572746634483,
-0.014462597668170929,
-0.005268385633826256,
0.025499356910586357,
-0.03749905154109001,
0.03570280224084854,
0.017027348279953003,
-0.00861552357673645,
-0.006703534629195929,
-0.02333274483680725,
-0.03985084593296051,
0.035758357495069504,
-0.043850746005773544,
-0.043554455041885376,
0.029980724677443504,
-0.0038309218361973763,
-0.0513690747320652,
0.06747977435588837,
-0.019332844763994217,
-0.029388146474957466,
0.006958157755434513,
-0.028999267145991325,
-0.03048071265220642,
0.0030925145838409662,
0.0007980122463777661,
0.009962711483240128,
0.031869564205408096,
-0.013499659486114979,
-0.057035598903894424,
-0.013731135055422783,
-0.009814566932618618,
0.02174019254744053,
0.0625169426202774,
-0.0003865643229801208,
0.0513690747320652,
-0.07477588951587677,
0.05118389427661896,
-0.034776899963617325,
0.0031480686739087105,
0.042147085070610046,
-0.016314402222633362,
0.04459146782755852,
-0.033665817230939865,
-0.010749728418886662,
0.030110351741313934,
0.015138506889343262,
0.015101470984518528,
-0.001047427300363779,
-0.07003527134656906,
0.02744375169277191,
0.00005077996684121899,
0.049295052886009216,
-0.016925498843193054,
-0.016147740185260773,
0.020518001168966293,
-0.037091657519340515,
0.04755435511469841,
0.00018011698557529598,
-0.06618351489305496,
0.05062835291028023,
-0.016508841887116432,
0.017175491899251938,
0.06040588393807411,
0.039184197783470154,
0.010379367507994175,
-0.013916315510869026,
0.05166536197066307,
0.03220289200544357,
-0.0064720590598881245,
-0.0003483708424028009,
-0.036999065428972244,
0.04170265048742294,
0.027277089655399323,
0.08533117920160294,
-0.00938402209430933,
-0.002879556966945529,
-0.006717422977089882,
0.03159179538488388,
0.015712566673755646,
0.04255448281764984,
0.007217410486191511,
0.010740469209849834,
0.07110931724309921,
-0.027684485539793968,
0.04340631142258644,
0.04148043319582939,
-0.015981078147888184,
-0.01361076720058918,
0.0470728874206543,
-0.0256845373660326,
-0.022573504596948624,
0.009147916920483112,
-0.010583066381514072,
0.011129348538815975,
-0.057331886142492294,
0.018740268424153328,
0.06644276529550552,
-0.03253621608018875,
-0.05559118837118149,
0.07562772184610367,
0.02829558216035366,
0.0006510252133011818,
-0.04292484372854233,
-0.00010814252163982019,
0.06585019081830978,
0.04870247468352318,
-0.0120922876521945,
0.07851653546094894,
0.03164735063910484,
0.03933234140276909,
-0.005768372677266598,
-0.028017811477184296,
-0.06618351489305496,
-0.033147312700748444,
0.0019432379631325603,
-0.01271264161914587,
0.017536593601107597,
-0.019184701144695282,
0.038332365453243256,
-0.028480762615799904,
-0.02474011667072773,
-0.005773002281785011,
0.03522133454680443,
0.0051989429630339146,
-0.0005665366188623011,
-0.06440578401088715,
0.012592274695634842,
-0.016638468950986862,
-0.02324015460908413,
0.03444357588887215,
0.02636970393359661,
-0.04348038509488106,
-0.008555339649319649,
0.009291431866586208,
-0.08140534907579422,
-0.026332668960094452,
-0.046072911471128464,
0.08725705742835999,
-0.017499558627605438,
0.01599033735692501,
0.07462774217128754,
0.01922173611819744,
-0.038887906819581985,
-0.011157126165926456,
-0.004698955453932285,
-0.031091807410120964,
0.004148043226450682,
-0.01521257869899273,
0.02966591715812683,
0.023443853482604027,
-0.008430343121290207,
-0.008985884487628937,
-0.0009872436057776213,
-0.006671127863228321,
0.002209434984251857,
0.030702928081154823,
-0.02281423844397068,
0.0355176217854023,
0.005513749551028013,
0.019443953409790993,
-0.027943739667534828,
0.04177672415971756,
0.0043748896569013596,
-0.021092060953378677,
-0.02448086254298687,
-0.009194212034344673,
-0.013194111175835133,
-0.04807285964488983,
0.025017887353897095,
0.028943713754415512,
0.009217360056936741,
0.019740242511034012,
-0.0010503206867724657,
-0.028832605108618736,
0.009536796249449253,
-0.05140610784292221,
0.005171165801584721,
-0.023443853482604027,
0.016925498843193054,
0.027073390781879425,
-0.037258319556713104,
0.023943839594721794,
0.024073466658592224,
0.009078474715352058,
0.016036631539463997,
0.08184978365898132,
0.027406714856624603,
0.010481216944754124,
-0.052887555211782455,
0.01499962154775858,
0.06029477342963219,
-0.02777707576751709,
0.01361076720058918,
0.0055924514308571815,
-0.009231248870491982,
-0.009555314667522907,
0.006124845240265131,
0.07047969847917557,
0.048258040100336075,
0.004659604746848345,
0.01290708128362894,
-0.002432808978483081,
-0.014499633572995663,
-0.05440603569149971,
0.057850390672683716,
-0.09710866212844849,
0.01863841898739338,
-0.007439626846462488,
-0.035591695457696915,
-0.02751782350242138,
0.03429543226957321,
-0.03527688607573509,
0.029610363766551018,
0.04562847688794136,
0.01801806315779686,
0.04914690554141998,
0.027462270110845566,
-0.038110148161649704,
-0.009527537040412426,
0.03064737468957901,
0.0021909167990088463,
-0.05333198606967926,
-0.0022013334091752768,
-0.02986961603164673,
-0.015907006338238716,
-0.07622029632329941,
-0.006884085480123758,
0.023221636191010475,
-0.013795947656035423,
0.014110755175352097,
0.05499861016869545,
-0.015740342438220978,
0.022592023015022278,
-0.04259151592850685,
0.032628804445266724,
-0.030110351741313934,
-0.04059156775474548,
0.02486974187195301,
0.01785140112042427,
-0.05940590798854828,
-0.005638746544718742,
-0.033499155193567276,
-0.0881459191441536,
-0.003995269536972046,
-0.01519406121224165,
-0.02422161027789116,
-0.05966516211628914,
0.020573554560542107,
0.003823977429419756,
-0.013795947656035423,
-0.004692011047154665,
-0.024647526443004608,
-0.008902553468942642,
-0.04588773101568222,
-0.08614597469568253,
0.03077699989080429,
-0.01866619475185871,
-0.030147386714816093,
0.041665613651275635,
-0.038887906819581985,
0.02983258105814457,
0.029369628056883812,
0.00014691469550598413,
-0.03433246538043022,
0.030110351741313934,
-0.017990287393331528,
-0.022110553458333015,
0.015592198818922043,
-0.013777430169284344,
0.002009208546951413,
-0.0034651902969926596,
-0.014184826985001564,
-0.05118389427661896,
-0.010721951723098755,
0.038887906819581985,
0.031239952892065048,
-0.05766521021723747,
0.005893369670957327,
-0.010499735362827778,
0.053443096578121185,
0.04473961144685745,
-0.033795442432165146,
0.025832680985331535,
0.029554808512330055,
-0.05681338161230087,
-0.042480409145355225,
-0.06262804567813873,
0.04011010006070137,
-0.028091883286833763,
-0.04425814375281334,
-0.03351767361164093,
0.027277089655399323,
-0.010897872969508171,
0.021888336166739464,
0.015360723249614239,
0.05451714247465134,
0.028351135551929474,
-0.038665689527988434,
-0.030869590118527412,
-0.021203167736530304,
0.04114710912108421,
-0.061739180237054825,
-0.024943815544247627,
-0.024758635088801384,
-0.05829482525587082,
0.055887479335069656,
0.035887982696294785,
-0.00860163476318121,
0.06759088486433029,
-0.016268108040094376,
-0.012425612658262253,
0.035499103367328644,
0.005175795406103134,
0.0196846891194582,
-0.030443675816059113,
0.031128844246268272,
-0.04773953557014465,
-0.04392481595277786,
0.029165931046009064,
0.04396185278892517,
-0.02212907187640667,
0.016462547704577446,
0.05088760331273079,
-0.017934732139110565,
-0.0654798299074173,
0.0013182538095861673,
0.06296136975288391,
-0.047961752861738205,
0.02953629195690155,
-0.014462597668170929,
0.028832605108618736,
-0.012749678455293179,
0.021684637293219566,
0.0038980497047305107,
0.0012187191750854254,
-0.00420359754934907,
-0.010036783292889595,
-0.0014640834415331483,
-0.030925145372748375,
-0.026721548289060593,
-0.01637921668589115,
-0.0196846891194582,
0.03248066082596779,
-0.012175618670880795,
0.02983258105814457,
0.05696152523159981,
-0.05666523426771164,
-0.04814693331718445,
0.006087809335440397,
-0.016240330412983894,
0.029610363766551018,
-0.02872149646282196,
-0.07829432189464569,
-0.05451714247465134,
-0.035758357495069504,
0.018193984404206276,
0.009069215506315231,
0.02992517128586769,
0.009490501135587692,
-0.02148093841969967,
0.007453515660017729,
0.0057267071679234505,
0.049332089722156525,
-0.05625784024596214,
0.025203067809343338,
0.04748028144240379,
-0.07218336313962936,
0.04810989648103714,
0.038887906819581985,
-0.013166334480047226,
-0.05610969290137291,
-0.0017985657323151827,
-0.01998097635805607,
0.06055402755737305,
0.03711017593741417,
-0.0135922497138381,
-0.057628173381090164,
0.050146881490945816,
0.015953300520777702,
-0.003034645691514015,
-0.010157151147723198,
-0.0336102619767189,
-0.031128844246268272,
-0.06959083676338196,
-0.07262779772281647,
0.05244312062859535,
-0.02744375169277191,
0.026166006922721863,
-0.027332643046975136,
-0.018981002271175385,
-0.00257863849401474,
0.01866619475185871,
-0.06051699072122574,
0.016295885667204857,
-0.008740520104765892,
0.04370259866118431,
0.04433221369981766,
0.027203017845749855,
0.04477664828300476,
-0.03159179538488388,
0.012518202885985374,
-0.03940641134977341,
0.05085056647658348,
0.04759139195084572,
-0.011833034455776215,
0.04311002418398857,
-0.046924740076065063,
-0.009147916920483112,
-0.004985985346138477,
0.01303670834749937,
0.01189784798771143,
0.02144390344619751,
0.023647550493478775,
-0.00912476982921362,
-0.008416454307734966,
-0.008916441351175308,
-0.017064383253455162,
-0.019499506801366806,
-0.06810939311981201,
0.060887351632118225,
-0.027536341920495033,
0.025314176455140114,
-0.010471957735717297,
0.019573580473661423,
0.05359124019742012
] |
725,992 | pydantic.main | __iter__ | So `dict(model)` works. | def __iter__(self) -> TupleGenerator:
"""So `dict(model)` works."""
yield from self.__dict__.items()
extra = self.__pydantic_extra__
if extra:
yield from extra.items()
| (self) -> 'TupleGenerator' | [
0.045464955270290375,
-0.025877850130200386,
-0.05257778987288475,
-0.017362108454108238,
-0.0020172393415123224,
-0.01837184466421604,
-0.0036301370710134506,
0.007720463909208775,
0.07470263540744781,
-0.023983478546142578,
0.02359030582010746,
0.03243667259812355,
0.01685277186334133,
0.0598335936665535,
0.014359705150127411,
0.020462803542613983,
0.005633972585201263,
0.044750094413757324,
-0.002718693343922496,
-0.008846364915370941,
0.03005976788699627,
-0.01585197076201439,
-0.005164847243577242,
0.02264311909675598,
-0.01644172891974449,
0.03140012547373772,
-0.012170453555881977,
-0.011580695398151875,
0.07934921234846115,
0.005124636460095644,
-0.01283169724047184,
-0.03946014866232872,
0.054293446242809296,
0.029559368267655373,
0.00260252901352942,
-0.04768101125955582,
-0.046001095324754715,
0.06616008281707764,
-0.0824945867061615,
0.016057493165135384,
0.05683119222521782,
0.008028746582567692,
-0.01117858849465847,
0.019015217199921608,
-0.024662593379616737,
-0.05711713433265686,
0.0030939937569200993,
0.012215131893754005,
0.04839587211608887,
-0.05600910633802414,
0.04317740723490715,
0.019694332033395767,
0.020337702706456184,
0.029327038675546646,
0.0002342834632145241,
-0.03547481819987297,
-0.04281998053193092,
0.048646070063114166,
0.004358398262411356,
0.07992109656333923,
-0.012947861105203629,
0.014797555282711983,
0.015423055738210678,
-0.025055764243006706,
0.02384050562977791,
-0.055115532130002975,
-0.06801871955394745,
-0.019765816628932953,
0.010669251903891563,
0.014413319528102875,
-0.013001475483179092,
-0.037994690239429474,
-0.002309884177520871,
0.08263755589723587,
-0.022142719477415085,
-0.03506377339363098,
-0.057474564760923386,
-0.022321432828903198,
0.09679174423217773,
-0.058689821511507034,
-0.016111107543110847,
-0.013778883032500744,
-0.07634680718183517,
-0.019515616819262505,
-0.05422196164727211,
0.01890798844397068,
-0.005021875724196434,
-0.053042445331811905,
-0.0015514647820964456,
0.05286373198032379,
-0.07463114708662033,
0.08535401523113251,
-0.024608979001641273,
0.03767300397157669,
-0.0014274815330281854,
0.013966533355414867,
-0.025341708213090897,
0.0059824660420417786,
-0.027825837954878807,
0.020391317084431648,
-0.0129031827673316,
0.030971212312579155,
-0.0004515332111623138,
0.022053362801671028,
-0.03695814684033394,
-0.06283599883317947,
-0.00785003136843443,
-0.07513155043125153,
0.043391864746809006,
-0.021713804453611374,
-0.08135081082582474,
0.033026427030563354,
-0.01419886201620102,
0.052363332360982895,
-0.02662845142185688,
-0.033205144107341766,
0.018300358206033707,
-0.011375173926353455,
0.002718693343922496,
0.004771675448864698,
-0.024501750245690346,
0.03956737741827965,
-0.036350518465042114,
0.035528428852558136,
0.051112331449985504,
0.03422381356358528,
0.04432117938995361,
-0.028487082570791245,
0.02126701921224594,
0.007224531378597021,
-0.00479848263785243,
0.005843962077051401,
0.03781597688794136,
-0.012849568389356136,
0.027825837954878807,
0.007715995889157057,
0.03685091808438301,
-0.013868240639567375,
-0.000828788208309561,
0.07195043563842773,
-0.00516931526362896,
0.04239106550812721,
0.02746840938925743,
-0.001722360379062593,
-0.041711948812007904,
-0.04142600670456886,
-0.043105922639369965,
0.04589386656880379,
0.030667398124933243,
-0.03727983310818672,
0.026735680177807808,
0.03749429062008858,
0.02773648127913475,
0.08349538594484329,
-0.08892830461263657,
0.05129104480147362,
-0.03874529153108597,
0.011160716414451599,
0.005361433140933514,
-0.050290241837501526,
-0.054007504135370255,
-0.01408269815146923,
0.027486281469464302,
-0.03034571185708046,
0.010535215958952904,
0.057188622653484344,
-0.027772223576903343,
-0.04596535488963127,
0.05515127629041672,
-0.027629252523183823,
-0.02691439539194107,
-0.022571634501218796,
0.0157358068972826,
-0.004423182457685471,
0.003120800945907831,
0.08077892661094666,
0.02015898935496807,
0.03574288636445999,
0.013966533355414867,
0.01117858849465847,
0.044213950634002686,
-0.056080590933561325,
-0.07212914526462555,
-0.020051760599017143,
0.06219262629747391,
-0.0015280084917321801,
-0.005486533511430025,
0.02140999026596546,
0.021016817539930344,
0.01820206642150879,
0.022124847397208214,
0.006232666317373514,
0.017281686887145042,
-0.018693530932068825,
-0.037851717323064804,
0.02757563814520836,
-0.0038825711235404015,
0.0014531718334183097,
-0.030024025589227676,
0.05075490102171898,
-0.07134280353784561,
-0.07513155043125153,
-0.03417019918560982,
0.009364636614918709,
-0.025145120918750763,
0.014341834001243114,
0.016102170571684837,
-0.053864531219005585,
0.0007265859167091548,
-0.04335612431168556,
-0.015146048739552498,
-0.006809019949287176,
0.051934417337179184,
0.011839831247925758,
0.06365808099508286,
-0.02605656534433365,
0.05472236126661301,
-0.05243481695652008,
-0.02139211818575859,
0.000152046894072555,
0.08385281264781952,
-0.02732543833553791,
-0.00911443680524826,
-0.03874529153108597,
0.06330065429210663,
-0.06608860194683075,
-0.02675355225801468,
-0.027772223576903343,
-0.06962714344263077,
-0.016236206516623497,
0.014538419432938099,
-0.021964004263281822,
-0.00979355163872242,
0.0031766491010785103,
0.03513525798916817,
0.016379177570343018,
-0.007054752670228481,
-0.04081837832927704,
-0.03286558389663696,
-0.0005512223578989506,
0.020033888518810272,
0.06691068410873413,
-0.019622845575213432,
0.004606364760547876,
-0.03928143531084061,
-0.013028282672166824,
0.033187270164489746,
0.04038946330547333,
-0.003317386843264103,
-0.00011043994163628668,
0.058439623564481735,
0.0064828661270439625,
-0.006129905115813017,
0.06776851415634155,
0.0007204425637610257,
-0.044070981442928314,
-0.0036524764727801085,
-0.04013926163315773,
0.03928143531084061,
-0.031114183366298676,
0.006402445025742054,
0.040889862924814224,
-0.044356923550367355,
0.07398777455091476,
0.0026047630235552788,
0.01020459458231926,
0.009873973205685616,
0.0026583774015307426,
-0.02192826196551323,
0.012009610421955585,
0.10679975152015686,
-0.009614836424589157,
-0.011964932084083557,
0.01570899970829487,
-0.02178529091179371,
0.013778883032500744,
0.02191038988530636,
-0.0029800632037222385,
-0.06287173926830292,
-0.006129905115813017,
-0.0012174921575933695,
-0.02137424610555172,
0.017987608909606934,
-0.039531633257865906,
0.0016207165317609906,
-0.010892645455896854,
-0.020855974406003952,
0.057331591844558716,
0.005879705306142569,
-0.014225669205188751,
0.0805644690990448,
-0.017031485214829445,
0.011544953100383282,
-0.02373327687382698,
0.07584641128778458,
-0.06816168874502182,
-0.06633879989385605,
0.03047081269323826,
0.02371540665626526,
-0.015941327437758446,
0.04550069570541382,
0.0070904954336583614,
0.017898250371217728,
0.0709138885140419,
0.007278145756572485,
0.019426260143518448,
0.046430010348558426,
0.01654895767569542,
-0.05050469934940338,
0.00675987359136343,
-0.01571793481707573,
0.036475617438554764,
0.04621555283665657,
0.05425770580768585,
-0.03588585928082466,
-0.05611633509397507,
-0.041461750864982605,
0.039245691150426865,
-0.012179388664662838,
0.05779625102877617,
-0.05929744988679886,
0.029416397213935852,
0.030578041449189186,
-0.02015898935496807,
0.004492434207350016,
0.01698680780827999,
0.010535215958952904,
0.026396123692393303,
-0.0028750684577971697,
0.009775679558515549,
-0.030292097479104996,
-0.013215932995080948,
-0.01310870423913002,
0.06469462811946869,
-0.03502802923321724,
0.05575890466570854,
0.01987304538488388,
0.0053122867830097675,
0.011375173926353455,
-0.0752745196223259,
0.007094963453710079,
-0.048217155039310455,
0.02069513127207756,
-0.008828493766486645,
-0.03279409930109978,
-0.0037217282224446535,
0.00628181267529726,
0.003911612089723349,
0.0480026975274086,
-0.006313087418675423,
-0.011133909225463867,
0.006777745205909014,
0.05150550231337547,
0.030953340232372284,
0.013796755112707615,
-0.02773648127913475,
-0.016754478216171265,
-0.008100232109427452,
-0.00965951569378376,
0.0036859852261841297,
0.049575384706258774,
0.008082360960543156,
-0.021302761510014534,
0.012054288759827614,
0.02566339448094368,
-0.03604670241475105,
-0.02387624979019165,
-0.004986132960766554,
0.002562318230047822,
-0.013090833090245724,
-0.031793300062417984,
0.02525234967470169,
-0.04285572096705437,
0.003371001221239567,
0.030953340232372284,
-0.007497070822864771,
-0.03917420655488968,
0.09350339323282242,
-0.05532998964190483,
0.05268501862883568,
0.010696059092879295,
-0.009248471818864346,
0.04114006459712982,
0.03559991717338562,
0.05947616696357727,
-0.0661243423819542,
0.06544522941112518,
-0.0017435827758163214,
-0.04178343713283539,
-0.0036770496517419815,
-0.030399326235055923,
-0.05947616696357727,
-0.04382077977061272,
0.0062147947028279305,
0.018157387152314186,
-0.06362234055995941,
-0.02773648127913475,
-0.021767418831586838,
-0.03928143531084061,
0.009445058181881905,
0.01956923119723797,
-0.05615207552909851,
0.01684383675456047,
0.0019948999397456646,
-0.014136312529444695,
-0.06626731157302856,
0.00506655452772975,
0.0006807903409935534,
0.026431865990161896,
0.0044432878494262695,
-0.010043751448392868,
-0.03202562779188156,
-0.023804763332009315,
-0.03570714592933655,
0.05297096073627472,
-0.009311022236943245,
0.06115608289837837,
-0.0003247576532885432,
-0.008864236064255238,
0.09536202251911163,
0.0800640657544136,
-0.030971212312579155,
0.021713804453611374,
0.0031185669358819723,
-0.0007679135887883604,
-0.004633171949535608,
-0.024466006085276604,
0.028898125514388084,
0.02980956807732582,
-0.014547355473041534,
0.0020194731187075377,
-0.07992109656333923,
0.013743140734732151,
-0.025037892162799835,
0.02578849345445633,
-0.03568927198648453,
0.007175384555011988,
-0.05025450140237808,
0.012983604334294796,
0.050290241837501526,
0.0015469968784600496,
0.023107776418328285,
0.029219811782240868,
-0.03545694425702095,
0.04539346694946289,
-0.03547481819987297,
-0.027522023767232895,
0.05390027537941933,
0.10401180386543274,
0.014189926907420158,
0.020033888518810272,
-0.003167713526636362,
0.06376530975103378,
-0.021767418831586838,
0.014511612243950367,
-0.014127376489341259,
0.049468155950307846,
-0.04803844168782234,
-0.0325617715716362,
0.04335612431168556,
0.03375915810465813,
-0.025502551347017288,
-0.019247544929385185,
-0.012858503498136997,
0.016477471217513084,
0.01643279194831848,
-0.024912793189287186,
0.017460400238633156,
-0.08556847274303436,
-0.006219262722879648,
0.029023224487900734,
0.00024293994647450745,
-0.007094963453710079,
-0.04371355101466179,
-0.04514326900243759,
0.002524341456592083,
0.044928811490535736,
-0.015271148644387722,
-0.031686071306467056,
-0.07734760642051697,
0.040889862924814224,
-0.030863983556628227,
0.01667405664920807,
0.007675785105675459,
0.017344236373901367,
0.017344236373901367,
0.0020775552839040756,
-0.022535890340805054,
-0.011142845265567303,
0.00800193939357996,
-0.028773024678230286,
-0.011223266832530499,
-0.014547355473041534,
-0.020498545840382576,
-0.0016028451500460505,
0.01612897776067257,
-0.018800759688019753,
0.041747692972421646,
0.018255680799484253,
-0.0499328151345253,
0.031507354229688644,
-0.02496640756726265,
0.04789546877145767,
-0.008873172104358673,
-0.034831445664167404,
0.02028408832848072,
-0.03820914775133133,
-0.04553643986582756,
-0.006786680780351162,
-0.01070499513298273,
0.0022875447757542133,
0.00999907311052084,
0.008051085285842419,
-0.00326153845526278,
0.03999629244208336,
-0.07027051597833633,
-0.0030917597468942404,
-0.027933066710829735,
-0.008949125185608864,
-0.0048074182122945786,
0.02083810418844223,
-0.011634309776127338,
0.01985517516732216,
0.033187270164489746,
-0.020319832488894463,
0.01419886201620102,
0.017210200428962708,
-0.02453749254345894,
0.06469462811946869,
-0.0027075237594544888,
0.04893201217055321,
-0.019479874521493912,
-0.010624573566019535,
0.021320633590221405,
-0.04281998053193092,
-0.015950264409184456,
0.05490107461810112,
-0.03688666224479675,
-0.010043751448392868,
0.05061192810535431,
0.1017957478761673,
0.030703140422701836,
0.01835397258400917,
0.020748745650053024,
0.037601519376039505,
-0.00855595339089632,
-0.054007504135370255,
-0.014538419432938099,
-0.04442840814590454,
-0.004083625040948391,
-0.09972266107797623,
-0.007854499854147434,
-0.022732477635145187,
0.016933193430304527,
-0.03713686019182205,
-0.015610706061124802,
0.013305289670825005,
-0.010436923243105412,
0.012670854106545448,
0.03853083401918411,
0.018550558015704155,
0.01670980080962181,
-0.05107658728957176,
-0.02108830399811268,
0.02577062137424946,
0.053435616195201874,
-0.005799283739179373,
0.044893067330121994,
-0.050576187670230865,
0.007157513406127691,
-0.019926659762859344,
-0.0030984615441411734,
0.011366238817572594,
0.0353318452835083,
0.038959749042987823,
0.025502551347017288,
-0.06708940118551254,
0.026556964963674545,
-0.007796417456120253,
-0.09800700098276138,
-0.002156859962269664,
0.028451338410377502,
0.02720033749938011,
-0.03375915810465813,
0.0013671654742211103,
-0.09636282920837402,
-0.018872244283556938,
0.054829590022563934,
0.014315026812255383,
0.0008416333002969623,
0.004523709416389465,
0.0016955533064901829,
-0.04500029608607292,
-0.024340907111763954,
0.021606575697660446,
-0.043105922639369965,
-0.08013555407524109,
-0.07159300148487091,
-0.08478213101625443,
-0.0037016228307038546,
-0.005361433140933514,
0.040067777037620544,
0.028040295466780663,
0.02071300335228443,
0.020641516894102097,
-0.016772350296378136,
-0.007506006397306919,
0.03531397506594658,
0.0022797260899096727,
0.0037463014014065266,
-0.03971035033464432,
-0.0157358068972826,
0.014457997865974903,
-0.035117387771606445,
-0.0008980400743894279,
-0.06194242462515831,
-0.02664632350206375,
0.06494482606649399,
0.00027616965235210955,
-0.014100569300353527,
0.004686786327511072,
-0.022982677444815636,
-0.039817579090595245,
0.03656497597694397,
-0.049039240926504135,
0.00008565727330278605,
0.04528623819351196,
-0.017987608909606934,
0.005245268810540438,
-0.053471360355615616,
0.008882107213139534,
-0.028487082570791245,
0.03935291990637779,
-0.01956923119723797,
0.010535215958952904,
-0.03576076030731201,
0.013510812073946,
-0.0037217282224446535,
-0.03224008530378342,
0.012527882121503353,
-0.015557091683149338,
-0.04164046421647072,
-0.027236079797148705,
0.0692339763045311,
-0.06744682788848877,
0.03522461652755737,
-0.039674606174230576,
-0.014395448379218578,
0.05079064518213272,
-0.004461158998310566,
0.011536017060279846,
0.0499328151345253,
-0.04921795800328255,
-0.027897324413061142,
-0.02455536462366581,
-0.02276821993291378,
-0.0229111909866333,
-0.039388664066791534,
0.001307966304011643,
0.0009611485875211656,
-0.009275279007852077,
0.014136312529444695,
-0.010526280850172043,
-0.05779625102877617,
0.04278423637151718,
0.041068580001592636,
-0.08092189580202103,
-0.010794351808726788,
0.041604720056056976,
-0.011804088950157166,
-0.014440126717090607,
0.028040295466780663,
-0.0296665970236063,
-0.03778023272752762,
-0.07405926287174225,
0.018836501985788345,
-0.0011828661663457751,
0.016173657029867172,
0.038816776126623154,
-0.03756577521562576,
-0.03116779774427414,
-0.02759351022541523,
0.014100569300353527,
0.06190668046474457,
-0.05054044350981712,
-0.027146723121404648,
-0.03077462688088417,
-0.009891844354569912,
0.038566574454307556,
-0.07556046545505524,
-0.007130706217139959,
-0.04139026254415512,
0.0015872076619416475,
0.009418250992894173,
-0.016370242461562157,
-0.05121956020593643,
-0.01351974718272686,
-0.05011152848601341,
0.01876501552760601,
-0.02167806215584278,
0.007702592294663191,
-0.020444931462407112,
0.0296665970236063,
-0.016861706972122192,
0.017871443182229996,
0.03417019918560982,
-0.025073636323213577,
0.013501876033842564,
0.036225415766239166,
-0.02301841974258423,
0.017603373154997826,
0.06490908563137054,
-0.030256355181336403,
-0.06905525922775269,
0.012098968029022217,
-0.012054288759827614,
0.06255005300045013,
0.05422196164727211,
0.031936269253492355,
-0.0003847945190500468,
0.005660779774188995,
-0.010517344810068607,
-0.02414432168006897,
0.02911258302628994,
-0.010990938171744347,
-0.005544615443795919,
-0.03257964178919792,
0.0089580612257123,
0.006116501521319151,
0.03585011512041092,
0.03863806277513504,
-0.043105922639369965,
-0.04167620837688446,
0.028469210490584373,
0.005638440605252981,
-0.005750136915594339,
-0.031114183366298676,
0.025448936969041824,
0.01574474200606346,
0.0010214647045359015,
-0.023393720388412476,
0.04181917756795883,
-0.009051886387169361,
0.05611633509397507,
-0.022392919287085533,
-0.0018530453089624643,
0.06987734884023666,
0.005084425676614046,
0.021195532754063606,
-0.025448936969041824,
0.07513155043125153,
0.0518629290163517,
0.021624447777867317,
0.014600969851016998,
0.041032835841178894,
0.017835700884461403,
0.039245691150426865,
-0.06262154132127762,
-0.011813024058938026,
-0.0008405163534916937,
-0.057331591844558716,
-0.014368641190230846,
0.03767300397157669,
0.0036100316792726517,
0.020605774596333504,
0.007854499854147434,
0.059511907398700714,
0.024751950055360794
] |
725,995 | pydantic.main | __repr_args__ | null | def __repr_args__(self) -> _repr.ReprArgs:
for k, v in self.__dict__.items():
field = self.model_fields.get(k)
if field and field.repr:
yield k, v
pydantic_extra = self.__pydantic_extra__
if pydantic_extra is not None:
yield from ((k, v) for k, v in pydantic_extra.items())
yield from ((k, getattr(self, k)) for k, v in self.model_computed_fields.items() if v.repr)
| (self) -> '_repr.ReprArgs' | [
0.04628977179527283,
-0.039923056960105896,
0.03748872131109238,
-0.00840781070291996,
0.013248386792838573,
-0.04070953279733658,
0.033987030386924744,
-0.06602659076452255,
0.08366613835096359,
-0.0006635896861553192,
-0.015673356130719185,
0.032095737755298615,
0.03810666874051094,
0.03694567829370499,
0.011750336736440659,
0.057712409645318985,
0.010832780040800571,
-0.027601586654782295,
0.009245782159268856,
-0.0014629402430728078,
0.059472620487213135,
-0.007106378674507141,
0.00963433925062418,
-0.009699879214167595,
0.022283505648374557,
0.018201317638158798,
0.00793966930359602,
0.005800265818834305,
0.010664249770343304,
0.02986738830804825,
-0.013126670382916927,
-0.009203650057315826,
0.021534480154514313,
0.01364162564277649,
-0.023107433691620827,
-0.0696968138217926,
-0.03527909889817238,
0.043218765407800674,
-0.029324345290660858,
-0.008880632929503918,
0.05415453761816025,
-0.0003361836716067046,
-0.013660350814461708,
-0.023800283670425415,
-0.04231993481516838,
-0.06329264491796494,
0.04883645847439766,
-0.02956777811050415,
-0.010130569338798523,
-0.06243126839399338,
0.02007388137280941,
0.041833069175481796,
0.013753979466855526,
0.01215293724089861,
0.020991437137126923,
-0.04299405962228775,
-0.01627257652580738,
0.059622425585985184,
-0.0038668436463922262,
0.03265750780701637,
-0.06711267679929733,
0.029755035415291786,
-0.0036678838077932596,
-0.024792741984128952,
0.004344347398728132,
-0.07456547766923904,
-0.053368061780929565,
-0.0167688075453043,
-0.012536813504993916,
-0.014137854799628258,
-0.014081678353250027,
-0.040784433484077454,
-0.027507958933711052,
0.05909810587763786,
-0.013903784565627575,
-0.047263503074645996,
0.001879585674032569,
-0.004370095208287239,
0.06437873840332031,
-0.06392931938171387,
-0.023538123816251755,
-0.00415006885305047,
-0.06692542135715485,
-0.03348143771290779,
-0.004845258314162493,
-0.03226426988840103,
-0.009896498173475266,
-0.0065914238803088665,
0.03308819979429245,
0.05640161409974098,
-0.049323324114084244,
0.06437873840332031,
-0.031253084540367126,
0.01329520158469677,
-0.0488739088177681,
0.015823161229491234,
-0.0370580330491066,
-0.0097560565918684,
0.015823161229491234,
0.015252030454576015,
0.033032022416591644,
0.012265291064977646,
-0.012293379753828049,
0.039286382496356964,
-0.014540456235408783,
-0.04452956095337868,
-0.031009651720523834,
-0.041308753192424774,
0.012106123380362988,
-0.013117307797074318,
-0.035728514194488525,
0.06288068741559982,
-0.024380777031183243,
0.0048078070394694805,
-0.0027386241126805544,
-0.03157142177224159,
-0.008716783486306667,
0.014493642374873161,
0.04142110422253609,
-0.03999795764684677,
-0.016497284173965454,
0.00471417885273695,
-0.029268167912960052,
0.0023254898842424154,
-0.0338933989405632,
0.03093474917113781,
-0.006394804455339909,
0.017171407118439674,
-0.03203956410288811,
-0.03496076166629791,
-0.023556848987936974,
-0.005243177991360426,
-0.030747493728995323,
0.019175050780177116,
0.014690261334180832,
-0.012976865284144878,
0.09857174754142761,
0.018566466867923737,
0.032751135528087616,
0.07475274056196213,
-0.005196363665163517,
0.038162846118211746,
0.035204194486141205,
0.018154503777623177,
-0.09220503270626068,
-0.0434434749186039,
0.03136543929576874,
0.07007133215665817,
0.015907427296042442,
-0.014577907510101795,
0.017798716202378273,
0.06812386214733124,
0.061644792556762695,
0.022714195773005486,
-0.0014488960150629282,
0.04531603679060936,
-0.041158948093652725,
-0.02915581502020359,
0.0326387844979763,
-0.0024062441661953926,
-0.05715063959360123,
-0.028556594625115395,
0.049285873770713806,
-0.05276884138584137,
0.036140475422143936,
0.05804947018623352,
0.04554074630141258,
-0.09849684685468674,
0.04325621947646141,
0.052132170647382736,
0.02657167613506317,
-0.05602710321545601,
-0.013885058462619781,
0.005308717489242554,
-0.018079601228237152,
0.09280425310134888,
0.009980764240026474,
0.014577907510101795,
-0.0364588126540184,
0.0011334861628711224,
0.06400422006845474,
-0.06520266085863113,
-0.04299405962228775,
-0.05100863054394722,
0.07655040174722672,
-0.05793711543083191,
-0.0374138206243515,
-0.017911070957779884,
-0.002110145054757595,
-0.027095993980765343,
0.02072927914559841,
0.008712101727724075,
0.016394294798374176,
-0.002586478367447853,
-0.05917301028966904,
-0.022864000871777534,
-0.014765163883566856,
-0.02237713523209095,
0.02835061214864254,
0.01894097961485386,
-0.05314335227012634,
-0.05801201984286308,
-0.06640110164880753,
0.008627836592495441,
-0.033593788743019104,
-0.0012113145785406232,
-0.01050508115440607,
-0.03984815254807472,
0.012377644889056683,
-0.04655193164944649,
0.017190134152770042,
0.01504604797810316,
0.05261903628706932,
-0.026646578684449196,
0.03814411908388138,
-0.0007197665981948376,
0.013772704638540745,
-0.01938103325664997,
-0.04419250041246414,
0.044155050069093704,
0.07037094235420227,
-0.03909912705421448,
-0.022414585575461388,
-0.006965936627238989,
0.02848169207572937,
-0.030223175883293152,
-0.007410670164972544,
0.005477248225361109,
-0.016150860115885735,
-0.017995335161685944,
-0.011984406970441341,
-0.018351122736930847,
-0.0933285653591156,
0.03318182751536369,
0.0023547487799078226,
0.05235687643289566,
-0.02602863311767578,
-0.01301431655883789,
-0.01336074061691761,
0.012855148874223232,
-0.011076213791966438,
0.0789472833275795,
-0.02226478047668934,
-0.006319901905953884,
0.035859592258930206,
-0.0833665281534195,
0.04291915521025658,
0.03814411908388138,
0.023706654086709023,
0.016590913757681847,
0.028575319796800613,
0.010598709806799889,
0.0035789371468126774,
0.0824676975607872,
0.015083499252796173,
-0.0488739088177681,
-0.028575319796800613,
-0.025335785001516342,
0.05565258860588074,
-0.004175816662609577,
-0.0008315352606587112,
0.0004406376101542264,
-0.03496076166629791,
0.04842449352145195,
0.0710076093673706,
0.014287659898400307,
-0.002921199193224311,
-0.04539094120264053,
-0.010804691351950169,
0.001465281005948782,
0.10014469921588898,
-0.02535451017320156,
-0.060820866376161575,
0.05123334005475044,
-0.027170896530151367,
0.0074387588538229465,
0.018603919073939323,
0.004243697039783001,
-0.046739187091588974,
-0.03338780999183655,
0.02155320718884468,
-0.02430587448179722,
0.01484942901879549,
-0.04411759600043297,
0.06201930344104767,
-0.007190644275397062,
-0.035597432404756546,
0.012162300758063793,
-0.003946427721530199,
-0.0024764654226601124,
0.09235483407974243,
0.03623410314321518,
0.040222667157649994,
-0.02089780941605568,
0.07067055255174637,
-0.06872308254241943,
-0.0030663227662444115,
0.018585193902254105,
-0.015092862769961357,
-0.003159950952976942,
0.0014184669125825167,
-0.003941746428608894,
0.05741279944777489,
0.04804998263716698,
-0.015092862769961357,
0.002347726607695222,
0.02900600992143154,
0.028313161805272102,
0.017302487045526505,
-0.0007929136627353728,
-0.016413019970059395,
0.038462456315755844,
0.04486662149429321,
0.03868716210126877,
-0.03215191513299942,
-0.025448139756917953,
-0.011244744062423706,
0.04026011750102043,
0.0056972745805978775,
0.013622899539768696,
-0.006596105173230171,
0.03879951685667038,
-0.026253340765833855,
0.03999795764684677,
0.010739152319729328,
0.012649167329072952,
-0.052431780844926834,
0.013435643166303635,
0.03177740424871445,
0.01282706018537283,
0.003248897846788168,
-0.010851506143808365,
-0.03129053860902786,
0.07014623284339905,
-0.019774271175265312,
0.028144629672169685,
0.010851506143808365,
0.010036940686404705,
-0.015383109450340271,
-0.06973426789045334,
0.03026062808930874,
-0.0198117233812809,
0.014680898748338223,
-0.026272065937519073,
-0.04228248447179794,
0.030447883531451225,
0.03252642974257469,
0.018042149022221565,
0.05138314515352249,
0.043068960309028625,
-0.010458267293870449,
-0.044417206197977066,
0.018201317638158798,
0.0025303014554083347,
-0.017583372071385384,
-0.017789354547858238,
-0.06849837303161621,
-0.010280373506247997,
-0.02239586040377617,
0.02385645918548107,
0.07276781648397446,
-0.0034104064106941223,
-0.002004813402891159,
-0.0005395323969423771,
0.005032514687627554,
-0.03159014880657196,
-0.012592989951372147,
0.0015495463740080595,
0.011712885461747646,
0.0059079378843307495,
-0.047825273126363754,
0.03306947275996208,
-0.011862690560519695,
-0.06965936720371246,
-0.023519398644566536,
-0.006207548081874847,
-0.01953083835542202,
0.03814411908388138,
-0.06085831671953201,
0.018763087689876556,
0.02615971304476261,
-0.026346968486905098,
0.03104710392653942,
0.040484823286533356,
0.006568016484379768,
-0.0319833867251873,
0.04494152590632439,
0.017911070957779884,
-0.005135505460202694,
0.008000527508556843,
-0.05640161409974098,
-0.02726452611386776,
-0.021403402090072632,
0.015495463274419308,
0.03252642974257469,
-0.06715013086795807,
0.006048380397260189,
-0.021253596991300583,
-0.060970671474933624,
-0.006858264096081257,
0.005814309697598219,
-0.0239875391125679,
-0.036009397357702255,
-0.014446827583014965,
0.02426842413842678,
-0.020111333578824997,
0.021534480154514313,
0.023369593545794487,
0.04355582967400551,
0.03713293373584747,
-0.0033308223355561495,
0.0023254898842424154,
-0.007452803198248148,
-0.03999795764684677,
0.06550227105617523,
-0.015439286828041077,
0.005505336914211512,
-0.004845258314162493,
-0.02224605530500412,
0.03224554285407066,
0.04179561883211136,
0.00808011181652546,
0.004704815801233053,
0.0024600804317742586,
0.009587525390088558,
0.030691316351294518,
-0.03325672820210457,
0.04539094120264053,
0.04542839154601097,
0.024642936885356903,
-0.032769862562417984,
-0.007087653037160635,
0.030410433188080788,
0.024174796417355537,
0.01616022363305092,
-0.04273189976811409,
0.04587780684232712,
-0.04688899219036102,
-0.007780501618981361,
0.03183358162641525,
-0.00473056361079216,
-0.012302742339670658,
0.03348143771290779,
-0.04898626357316971,
0.03608429804444313,
0.021646834909915924,
0.013988049700856209,
0.02900600992143154,
0.04628977179527283,
0.014053589664399624,
0.04737585783004761,
0.03267623484134674,
0.028519142419099808,
-0.041158948093652725,
0.0049107978120446205,
-0.03662734478712082,
-0.004686090163886547,
-0.04273189976811409,
-0.05516572296619415,
0.02130977250635624,
0.021871542558073997,
-0.009859046898782253,
-0.023968813940882683,
0.004316259175539017,
0.023538123816251755,
0.00794903188943863,
0.024998724460601807,
-0.013763342052698135,
-0.1153499186038971,
0.01866009645164013,
0.03864971175789833,
-0.022695470601320267,
-0.004868665244430304,
0.01262107864022255,
-0.028125904500484467,
0.032620057463645935,
0.029623955488204956,
-0.021403402090072632,
-0.0744156762957573,
-0.09617486596107483,
0.03121563419699669,
-0.057600054889917374,
-0.04119639843702316,
-0.025729022920131683,
0.023500673472881317,
0.02589755319058895,
-0.017676999792456627,
0.027376879006624222,
-0.03578469157218933,
0.008108200505375862,
0.00005943194992141798,
0.027770116925239563,
-0.04194542393088341,
0.017199495807290077,
0.005875168368220329,
-0.001041613519191742,
0.023687928915023804,
0.019624466076493263,
0.006535246968269348,
-0.028968557715415955,
-0.001544864964671433,
-0.03237662464380264,
0.06827367097139359,
0.018688185140490532,
-0.02115996740758419,
0.005041877273470163,
0.00684890104457736,
0.020542021840810776,
0.01618831232190132,
-0.02074800431728363,
0.028163356706500053,
-0.06186949834227562,
0.039660897105932236,
0.010523807257413864,
-0.013679076917469501,
-0.06407912820577621,
0.0010275692911818624,
0.013594811782240868,
-0.001721588079817593,
0.006099876016378403,
0.006614830810576677,
-0.01364162564277649,
-0.05138314515352249,
-0.010570621117949486,
-0.04992254450917244,
0.08201828598976135,
0.0012487658532336354,
-0.0008754234877415001,
0.03278858959674835,
-0.01866009645164013,
0.047563113272190094,
-0.004082188475877047,
0.03879951685667038,
-0.00881041120737791,
-0.07419096678495407,
0.056776128709316254,
-0.013510545715689659,
0.020991437137126923,
-0.042245034128427505,
0.04554074630141258,
0.08778578042984009,
0.06962191313505173,
-0.062206562608480453,
0.017658274620771408,
0.015720171853899956,
-0.037769608199596405,
0.0007121593225747347,
0.012143574655056,
-0.008201828226447105,
-0.044417206197977066,
-0.05381747707724571,
-0.005926663521677256,
-0.0016373227117583156,
0.01280833501368761,
-0.05617690831422806,
0.06112047657370567,
0.0233321413397789,
0.009830959141254425,
0.028388064354658127,
0.02915581502020359,
0.025579217821359634,
-0.03284476324915886,
0.047937627881765366,
-0.044005244970321655,
-0.013370104134082794,
0.08898422122001648,
0.011272832751274109,
0.04194542393088341,
-0.07347939163446426,
0.014325111173093319,
-0.04235738888382912,
0.023013805970549583,
0.017517833039164543,
0.03205828741192818,
0.018060876056551933,
-0.038724616169929504,
-0.044005244970321655,
0.013856970705091953,
-0.006914441008120775,
-0.059884581714868546,
-0.014006775803864002,
0.009587525390088558,
0.021796640008687973,
-0.04299405962228775,
-0.03688950091600418,
-0.039248932152986526,
0.016066595911979675,
0.010411453433334827,
0.029361797496676445,
0.003749808529391885,
-0.013594811782240868,
-0.001235891948454082,
-0.03662734478712082,
-0.02280782349407673,
0.020579474046826363,
-0.03151524439454079,
-0.08284220844507217,
-0.015467374585568905,
-0.048087432980537415,
0.004288170486688614,
0.002499872352927923,
0.000662419362924993,
0.033593788743019104,
0.013285838067531586,
-0.03400575369596481,
-0.05164530128240585,
0.06670071184635162,
0.0425446443259716,
0.020167509093880653,
0.011890778318047523,
-0.03541017696261406,
0.007003387901932001,
0.001748506212607026,
-0.035747237503528595,
-0.01479325257241726,
-0.04108404368162155,
-0.013285838067531586,
0.05643906444311142,
0.004632254131138325,
0.0012323808623477817,
-0.04149600863456726,
-0.009737330488860607,
-0.04479172080755234,
0.03499821200966835,
-0.040896788239479065,
0.020673101767897606,
-0.004971656482666731,
-0.024362051859498024,
0.015738897025585175,
-0.024474406614899635,
0.014877517707645893,
0.002544345799833536,
0.017021602019667625,
-0.015167765319347382,
-0.03237662464380264,
-0.04804998263716698,
0.018819263204932213,
0.005856442730873823,
-0.09018266201019287,
0.016431745141744614,
0.012087398208677769,
-0.03838755190372467,
-0.07325468957424164,
0.043331120163202286,
-0.058686140924692154,
0.0927293449640274,
-0.05074647441506386,
-0.08194337785243988,
0.05550278350710869,
-0.013688439503312111,
0.01369780208915472,
0.03838755190372467,
-0.011731610633432865,
-0.028856204822659492,
-0.0345487967133522,
0.011394549161195755,
-0.032357897609472275,
0.001262810081243515,
-0.013313926756381989,
-0.022489488124847412,
-0.017133956775069237,
-0.026890013366937637,
-0.005814309697598219,
-0.07490254193544388,
0.012761521153151989,
0.04584035649895668,
-0.07385390996932983,
0.011834601871669292,
0.035616159439086914,
-0.002726920647546649,
-0.01587933860719204,
0.023762831464409828,
-0.03666479513049126,
0.004943567793816328,
-0.0824676975607872,
0.015401835553348064,
-0.014006775803864002,
0.039136577397584915,
0.009671790525317192,
-0.042245034128427505,
0.039248932152986526,
-0.05640161409974098,
-0.023912636563181877,
0.01979299634695053,
0.0040236711502075195,
-0.05250668153166771,
-0.02183409035205841,
0.05808692052960396,
0.025729022920131683,
-0.0239875391125679,
-0.005144868511706591,
-0.024081166833639145,
0.0412338487803936,
-0.026890013366937637,
0.006530565209686756,
-0.051870010793209076,
0.014484278857707977,
-0.06329264491796494,
0.04909861832857132,
-0.013922509737312794,
-0.01607595756649971,
0.027732666581869125,
0.015617179684340954,
0.005243177991360426,
-0.006596105173230171,
0.050371959805488586,
0.011188567616045475,
0.018173228949308395,
-0.008445261977612972,
-0.008037978783249855,
-0.00383173325099051,
0.08786068111658096,
-0.025972455739974976,
-0.10366512089967728,
0.0033706144895404577,
-0.0045479885302484035,
0.08179357647895813,
0.031103281304240227,
0.014194032177329063,
-0.004564373753964901,
0.016038507223129272,
0.06385441869497299,
-0.007078290451318026,
0.02048584446310997,
-0.010963859967887402,
0.04378053545951843,
-0.09999489784240723,
-0.012330831028521061,
0.009793507866561413,
-0.028556594625115395,
0.05231942608952522,
-0.00041459727799519897,
0.007401307579129934,
-0.004569055046886206,
-0.006315220613032579,
-0.0279573742300272,
-0.007808589842170477,
-0.019081423059105873,
-0.012302742339670658,
0.007214051205664873,
0.003433813340961933,
0.08231789618730545,
0.010888957418501377,
0.08111945539712906,
-0.00912406574934721,
0.04067208245396614,
0.03436154127120972,
0.03883696720004082,
0.011010673828423023,
-0.057712409645318985,
0.051757656037807465,
0.048087432980537415,
0.023800283670425415,
-0.027358153834939003,
0.03211446478962898,
0.025822650641202927,
0.03835010156035423,
-0.0351480171084404,
-0.018407300114631653,
-0.005135505460202694,
-0.054191987961530685,
-0.04763801768422127,
-0.01092640869319439,
0.04288170486688614,
0.020841632038354874,
0.013885058462619781,
0.03211446478962898,
0.017995335161685944
] |
725,999 | pydantic.main | __setattr__ | null | def __setattr__(self, name: str, value: Any) -> None:
if name in self.__class_vars__:
raise AttributeError(
f'{name!r} is a ClassVar of `{self.__class__.__name__}` and cannot be set on an instance. '
f'If you want to set a value on the class, use `{self.__class__.__name__}.{name} = value`.'
)
elif not _fields.is_valid_field_name(name):
if self.__pydantic_private__ is None or name not in self.__private_attributes__:
_object_setattr(self, name, value)
else:
attribute = self.__private_attributes__[name]
if hasattr(attribute, '__set__'):
attribute.__set__(self, value) # type: ignore
else:
self.__pydantic_private__[name] = value
return
elif self.model_config.get('frozen', None):
error: pydantic_core.InitErrorDetails = {
'type': 'frozen_instance',
'loc': (name,),
'input': value,
}
raise pydantic_core.ValidationError.from_exception_data(self.__class__.__name__, [error])
attr = getattr(self.__class__, name, None)
if isinstance(attr, property):
attr.__set__(self, value)
elif self.model_config.get('validate_assignment', None):
self.__pydantic_validator__.validate_assignment(self, name, value)
elif self.model_config.get('extra') != 'allow' and name not in self.model_fields:
# TODO - matching error
raise ValueError(f'"{self.__class__.__name__}" object has no field "{name}"')
elif self.model_config.get('extra') == 'allow' and name not in self.model_fields:
# SAFETY: __pydantic_extra__ is not None when extra = 'allow'
self.__pydantic_extra__[name] = value # type: ignore
else:
self.__dict__[name] = value
self.__pydantic_fields_set__.add(name)
| (self, name: str, value: Any) -> NoneType | [
0.07589449733495712,
-0.0006769386818632483,
0.02734832465648651,
0.030849063768982887,
-0.03992004320025444,
-0.01210753247141838,
0.016623681411147118,
-0.018209651112556458,
0.011130806058645248,
-0.028354061767458916,
-0.018509438261389732,
-0.00811359379440546,
0.06177549064159393,
0.032299645245075226,
0.052723854780197144,
0.04471663758158684,
0.018644826486706734,
0.008418216370046139,
0.0025119262281805277,
-0.020714323967695236,
0.0426664799451828,
-0.013113269582390785,
-0.036496665328741074,
0.027870533987879753,
0.019669905304908752,
0.030481582507491112,
0.0005790243740193546,
0.05249176174402237,
-0.0006860048742964864,
-0.0022508210968226194,
0.02562696486711502,
-0.014824957586824894,
0.016149822622537613,
0.0007101812516339123,
0.05871959775686264,
-0.05017082765698433,
-0.031023133546113968,
0.055741067975759506,
-0.08216101676225662,
-0.0399974063038826,
0.018083933740854263,
-0.0036337103229016066,
-0.07442457228899002,
-0.030674993991851807,
-0.014109336771070957,
-0.011575652286410332,
0.013122940436005592,
0.07844752818346024,
-0.0030583124607801437,
-0.000017367330656270497,
0.00605376623570919,
0.010560243390500546,
-0.005338145419955254,
0.024659909307956696,
0.028605496510863304,
0.017116878181695938,
-0.020965758711099625,
0.05748176574707031,
-0.00024176381703000516,
0.0015569590032100677,
-0.031912826001644135,
-0.005550897214561701,
0.058216728270053864,
-0.06448324769735336,
-0.046379972249269485,
-0.002896330552175641,
-0.03276383504271507,
0.0048860469833016396,
-0.014322089031338692,
0.004332407843321562,
-0.015792012214660645,
-0.03158402442932129,
0.0007549075526185334,
0.03707690164446831,
0.025781694799661636,
0.01905098930001259,
-0.06614658236503601,
0.00867932103574276,
0.01441879477351904,
-0.030056077986955643,
0.026458632200956345,
0.023770218715071678,
-0.01777447573840618,
-0.0378698855638504,
-0.03344077244400978,
0.03885628283023834,
-0.08169683068990707,
-0.014525170437991619,
-0.0012414571829140186,
-0.01729094795882702,
-0.01946682296693325,
0.07233573496341705,
0.009254719130694866,
0.06927984207868576,
0.0022895033471286297,
0.012271931394934654,
0.06719100475311279,
-0.0829346626996994,
-0.004322736989706755,
0.040152136236429214,
0.0009712861501611769,
0.029475845396518707,
0.025085413828492165,
0.019805291667580605,
-0.01390625536441803,
-0.056592077016830444,
-0.020714323967695236,
-0.028218673542141914,
-0.0036796454805880785,
-0.04154469445347786,
0.01641092821955681,
-0.007180385757237673,
-0.060847118496894836,
0.045219507068395615,
-0.011275865137577057,
-0.02313196286559105,
0.00465637119486928,
-0.05883564427495003,
0.031912826001644135,
-0.003396781627088785,
0.011498287320137024,
0.01725226640701294,
-0.03558763489127159,
0.03502674400806427,
0.05198889225721359,
0.023228667676448822,
0.04080973193049431,
-0.003512828378006816,
0.0293984804302454,
-0.026303904131054878,
-0.029030999168753624,
-0.005439686123281717,
0.003829539055004716,
0.030578289180994034,
0.038778916001319885,
0.06193022057414055,
-0.020153433084487915,
0.03181611746549606,
-0.008587450720369816,
-0.018112946301698685,
0.016072459518909454,
0.021565333008766174,
0.059377193450927734,
-0.056978896260261536,
0.035819727927446365,
-0.003237217664718628,
-0.03924310579895973,
0.029940031468868256,
-0.02759975753724575,
0.007083680015057325,
-0.018644826486706734,
-0.01145960483700037,
-0.00931274238973856,
0.0706724002957344,
-0.05314935743808746,
0.0377344973385334,
-0.033498793840408325,
-0.03491069748997688,
0.056940216571092606,
-0.004861870314925909,
-0.033846937119960785,
-0.023073939606547356,
0.010627937503159046,
-0.05651471018791199,
0.04390431195497513,
0.01255237776786089,
-0.028392743319272995,
-0.033111974596977234,
0.002000595675781369,
0.048700906336307526,
-0.027367664501070976,
-0.016401257365942,
0.056553393602371216,
0.06185285747051239,
-0.01135322917252779,
0.01084068976342678,
0.020714323967695236,
-0.019940679892897606,
0.04491004720330238,
0.0033580996096134186,
0.033498793840408325,
0.028296038508415222,
-0.015743659809231758,
-0.00424295524135232,
0.045219507068395615,
0.045645009726285934,
-0.02777382731437683,
0.043246712535619736,
0.03742504119873047,
0.10049638897180557,
0.0853329598903656,
-0.0016899291658774018,
-0.004076138138771057,
-0.019167035818099976,
-0.03297658637166023,
0.026207199320197105,
0.01152729894965887,
-0.052337031811475754,
-0.0078331483528018,
0.052723854780197144,
0.001257171854376793,
-0.004520983435213566,
0.016797751188278198,
-0.0015291562303900719,
0.028063945472240448,
-0.03189348429441452,
0.0525304451584816,
-0.020714323967695236,
-0.019312094897031784,
-0.06107921153306961,
-0.05945456027984619,
-0.03197084739804268,
0.01939912885427475,
0.02168137952685356,
0.06452193111181259,
-0.09260521829128265,
0.06398037821054459,
-0.04622524231672287,
0.01826767437160015,
0.06018952280282974,
0.10273995250463486,
0.05844882130622864,
-0.011295205913484097,
0.0016282793367281556,
0.03858550637960434,
-0.039127055555582047,
-0.06935720890760422,
-0.036980193108320236,
-0.003529751906171441,
-0.014148019254207611,
-0.0024224736262112856,
0.04104182496666908,
-0.017542382702231407,
0.012271931394934654,
0.016130482777953148,
0.04235702380537987,
0.04978400841355324,
-0.03417573496699333,
-0.06761650741100311,
-0.025975104421377182,
-0.004876376129686832,
-0.004835276398807764,
-0.02558828331530094,
0.037018876522779465,
-0.040577638894319534,
-0.022338977083563805,
-0.05829409509897232,
0.0694732517004013,
-0.012378307990729809,
-0.008655144833028316,
0.04224097356200218,
-0.005517050623893738,
-0.06223968043923378,
0.020114749670028687,
-0.032260965555906296,
-0.01195280347019434,
-0.05767517909407616,
-0.022203588858246803,
0.04587710276246071,
0.033537477254867554,
-0.0107343140989542,
-0.01017342135310173,
0.025684988126158714,
0.03922376409173012,
-0.0071271974593400955,
-0.04185415431857109,
0.015318156220018864,
0.012204238213598728,
-0.044368498027324677,
0.0032928232103586197,
0.038218025118112564,
-0.011159817688167095,
0.010879372246563435,
0.035432904958724976,
-0.033808253705501556,
-0.08695761114358902,
-0.0213332399725914,
-0.029882008209824562,
-0.00790567696094513,
-0.021700721234083176,
0.011923791840672493,
-0.07976271957159042,
0.06038293242454529,
-0.005507379770278931,
0.003423375776037574,
-0.010724643245339394,
-0.0059328842908144,
0.018809225410223007,
-0.004620106890797615,
-0.011382240802049637,
0.03301526606082916,
-0.029630573466420174,
0.02369285561144352,
-0.008321510627865791,
0.018490096554160118,
-0.03922376409173012,
-0.09175420552492142,
0.06227836012840271,
-0.014834628440439701,
-0.051911529153585434,
0.01996002160012722,
0.026342585682868958,
-0.03609050437808037,
0.055470291525125504,
0.00864547397941351,
-0.0423957034945488,
0.020811030641198158,
0.021004440262913704,
0.0078331483528018,
0.03684480860829353,
0.042434386909008026,
0.05709494650363922,
-0.04858485981822014,
0.05117656663060188,
0.12517563998699188,
0.048700906336307526,
0.015511566773056984,
-0.019109012559056282,
-0.018248332664370537,
0.01996002160012722,
0.009694729000329971,
-0.01478627510368824,
-0.04336275905370712,
-0.039726629853248596,
0.005222098436206579,
-0.012687765061855316,
0.024737274274230003,
0.03216426074504852,
0.009651212021708488,
-0.005033522844314575,
-0.06332278251647949,
0.006585646420717239,
-0.009341754019260406,
0.031448639929294586,
0.01263941265642643,
-0.031216545030474663,
-0.021178511902689934,
-0.023750878870487213,
0.020927077159285545,
-0.025220802053809166,
0.0199987031519413,
0.05477401241660118,
-0.0375991091132164,
-0.03651600703597069,
0.0032251293305307627,
0.020153433084487915,
-0.014941004104912281,
0.006479270290583372,
0.026303904131054878,
-0.01406098436564207,
-0.04939718544483185,
-0.0038029449060559273,
-0.017726123332977295,
-0.02696150168776512,
-0.04812067002058029,
-0.04649601876735687,
-0.006561470218002796,
-0.007528525311499834,
-0.030965110287070274,
-0.08069109171628952,
0.0008310631383210421,
-0.01221390813589096,
-0.019621552899479866,
0.01957319863140583,
-0.02862483635544777,
0.04189283400774002,
-0.06715232133865356,
-0.05728835612535477,
0.019631221890449524,
0.007601054850965738,
0.0025844553019851446,
-0.016565658152103424,
0.00014377392653841525,
-0.016323894262313843,
0.019863314926624298,
0.05988006293773651,
-0.02030816115438938,
0.04084841534495354,
-0.03369220718741417,
0.0119334626942873,
0.027870533987879753,
0.007668748497962952,
0.025994446128606796,
0.057327039539813995,
0.0725291445851326,
-0.03429178148508072,
0.06061502546072006,
-0.04781121388077736,
0.055431608110666275,
0.040152136236429214,
-0.04200888052582741,
0.0035031577572226524,
-0.005183416418731213,
0.008597121573984623,
0.021429944783449173,
0.010357161983847618,
-0.055779751390218735,
-0.0031598531641066074,
0.03531685844063759,
0.03111984021961689,
0.013683832250535488,
-0.020230796188116074,
0.06788728386163712,
0.042124927043914795,
0.028566813096404076,
0.05601184442639351,
0.032860539853572845,
0.004520983435213566,
-0.030075419694185257,
0.03705755993723869,
-0.02069498412311077,
0.01926374062895775,
-0.007223903201520443,
-0.06958930194377899,
0.024969367310404778,
0.0005678427987731993,
0.060498978942632675,
-0.05411641299724579,
0.03630325570702553,
-0.0027077547274529934,
0.00006399186531780288,
0.02112048678100109,
0.008074911311268806,
0.0007784795016050339,
-0.01731996051967144,
0.039765313267707825,
0.028431424871087074,
-0.009245048277080059,
0.01714589074254036,
0.00733027933165431,
0.0035684341564774513,
0.06525689363479614,
0.014583193697035313,
0.008756686002016068,
0.0214686281979084,
-0.05635998398065567,
0.029263094067573547,
-0.08394040167331696,
-0.011836756952106953,
0.008959767408668995,
-0.0746566653251648,
-0.03932046890258789,
0.0037981097120791674,
0.03643864393234253,
-0.028063945472240448,
-0.040925778448581696,
-0.060498978942632675,
0.07755783200263977,
0.04901036247611046,
-0.015646954998373985,
0.0462639257311821,
0.002760942792519927,
0.01650763303041458,
0.04394299164414406,
0.0006811695639044046,
-0.051524706184864044,
-0.04200888052582741,
-0.07218100875616074,
0.03305394947528839,
0.00148080347571522,
-0.059764016419649124,
0.02317064441740513,
0.00790567696094513,
-0.0037352510262280703,
-0.05086710676550865,
0.039552561938762665,
0.05171811580657959,
0.005947390105575323,
-0.026284562423825264,
-0.010531231760978699,
0.024099018424749374,
-0.06525689363479614,
0.053884319961071014,
0.0064937761053442955,
-0.058526188135147095,
-0.029630573466420174,
-0.013384045101702213,
-0.03618720918893814,
-0.06777123361825943,
-0.059299830347299576,
0.025820376351475716,
0.03918508067727089,
0.013461410067975521,
0.04061632230877876,
0.02862483635544777,
-0.002146862680092454,
0.02077234722673893,
0.008157111704349518,
0.0337308906018734,
0.03748306259512901,
-0.02305459789931774,
0.00814744085073471,
-0.005850684363394976,
0.006928951013833284,
-0.03845011815428734,
-0.02108180522918701,
-0.03922376409173012,
-0.009191860444843769,
-0.009336918592453003,
-0.008814709261059761,
-0.03108115680515766,
-0.028257355093955994,
-0.03825670853257179,
-0.001206401502713561,
0.024737274274230003,
-0.006372894626110792,
-0.041622061282396317,
-0.007799300830811262,
0.011856097728013992,
-0.006223001051694155,
0.02935979887843132,
-0.0004073720483575016,
0.006203659810125828,
-0.0013865155633538961,
0.040964461863040924,
-0.026458632200956345,
-0.0074898432940244675,
-0.01538584940135479,
-0.06251045316457748,
-0.04425245150923729,
-0.036071162670850754,
-0.041776787489652634,
0.008408545516431332,
0.0032928232103586197,
-0.018606143072247505,
0.023963630199432373,
0.022725800052285194,
-0.010695631615817547,
0.019031647592782974,
-0.00728676188737154,
0.016449609771370888,
-0.017087867483496666,
0.0069386218674480915,
0.038604848086833954,
0.031216545030474663,
0.02309328131377697,
0.011072782799601555,
0.026110492646694183,
-0.00734962010756135,
-0.0026739079039543867,
0.04688284173607826,
0.02686479687690735,
0.007446325849741697,
0.052298352122306824,
-0.013606468215584755,
-0.045645009726285934,
-0.053458817303180695,
0.023402737453579903,
-0.03552960976958275,
-0.041776787489652634,
-0.04579973965883255,
0.03318933770060539,
-0.025182120501995087,
0.012030167505145073,
-0.05964796990156174,
0.0014082742854952812,
0.06548898667097092,
0.014360771514475346,
0.03665139526128769,
0.06572107970714569,
-0.0052752867341041565,
-0.0049053882248699665,
0.07430852949619293,
0.007547866553068161,
-0.004740988370031118,
0.002441814634948969,
-0.038353413343429565,
-0.024447157979011536,
-0.005695955827832222,
-0.013190634548664093,
-0.0005835574120283127,
0.04382694512605667,
-0.011150147765874863,
0.02901165932416916,
0.021487968042492867,
0.05690153315663338,
-0.026922820135951042,
0.08208364993333817,
-0.058526188135147095,
-0.02674875035881996,
-0.0028407250065356493,
0.01281348243355751,
-0.06931852549314499,
-0.023750878870487213,
-0.023712195456027985,
-0.06417378783226013,
0.012649083510041237,
0.021217193454504013,
-0.06769387423992157,
-0.03665139526128769,
-0.06703627109527588,
0.00807974673807621,
-0.007620395626872778,
0.007388302590698004,
0.002210930222645402,
0.02115917019546032,
-0.044059038162231445,
-0.045258186757564545,
0.09809809178113937,
0.029475845396518707,
-0.025162778794765472,
-0.018538450822234154,
-0.025472236797213554,
0.02017277292907238,
0.03591643273830414,
-0.02206820249557495,
-0.016710715368390083,
0.00660982308909297,
-0.0035998632665723562,
-0.031235886737704277,
0.019457152113318443,
0.021313898265361786,
-0.007040162570774555,
0.004871541168540716,
-0.030056077986955643,
-0.037792522460222244,
-0.011885109357535839,
0.08618396520614624,
-0.01577267237007618,
-0.0694732517004013,
0.009264389984309673,
0.024137699976563454,
0.003551510628312826,
-0.013799878768622875,
-0.00032184808515012264,
0.010511890985071659,
-0.00008884820272214711,
-0.05558633804321289,
-0.020230796188116074,
-0.05608920753002167,
0.0006503447075374424,
-0.010192763060331345,
-0.017406994476914406,
-0.022261612117290497,
0.010831018909811974,
-0.028508789837360382,
0.033247362822294235,
0.0011393120512366295,
-0.015395520254969597,
0.01936044730246067,
-0.004753076937049627,
-0.03206755220890045,
-0.009288566187024117,
0.05334277078509331,
-0.04425245150923729,
0.0270001832395792,
0.0058071669191122055,
-0.0353362001478672,
-0.009099990129470825,
0.046418655663728714,
-0.029649915173649788,
-0.009070978499948978,
-0.028063945472240448,
-0.05875828117132187,
0.0668041780591011,
-0.04858485981822014,
-0.006227836012840271,
-0.011034101247787476,
0.04460059106349945,
-0.020269479602575302,
-0.07601054757833481,
-0.009506153874099255,
0.010231444612145424,
-0.06138867139816284,
0.0374637208878994,
0.06196890398859978,
-0.06251045316457748,
-0.02309328131377697,
0.020482230931520462,
0.024698592722415924,
-0.02284184657037258,
0.0014070654287934303,
-0.0766681432723999,
0.019766610115766525,
-0.045219507068395615,
-0.03767647594213486,
0.014737922698259354,
-0.026303904131054878,
-0.00029555626679211855,
-0.0007265002932399511,
-0.04463927075266838,
0.01869317889213562,
-0.008669651113450527,
0.02175874449312687,
-0.010743984021246433,
-0.021043123677372932,
0.04668942838907242,
0.0005031709442846477,
0.09740181267261505,
-0.06661076843738556,
-0.05365222692489624,
0.01137256994843483,
-0.029630573466420174,
0.040964461863040924,
-0.05291726440191269,
-0.10451933741569519,
0.019302424043416977,
-0.023886265233159065,
-0.008365028537809849,
0.021178511902689934,
-0.006198824383318424,
0.027889875695109367,
-0.040964461863040924,
-0.027135571464896202,
0.01358712650835514,
0.0028431424871087074,
-0.04904904589056969,
0.010038034059107304,
0.05678548663854599,
-0.035858411341905594,
0.057365719228982925,
0.045645009726285934,
-0.02021145634353161,
-0.07237441837787628,
-0.004257461056113243,
0.0015086062485352159,
0.03231898695230484,
-0.012803812511265278,
-0.003038971219211817,
0.026419950649142265,
-0.018596474081277847,
0.05396168678998947,
0.034195076674222946,
-0.039687950164079666,
-0.03119720332324505,
-0.04819803684949875,
-0.023248009383678436,
-0.013567785732448101,
0.05063501372933388,
0.004076138138771057,
0.060112155973911285,
0.04154469445347786,
-0.03301526606082916,
0.004146249499171972,
-0.023499444127082825,
-0.06278122961521149,
0.013277669437229633,
-0.006967633496969938,
-0.005879695992916822,
0.07496612519025803,
0.015463214367628098,
0.0474630743265152,
-0.002504673320800066,
-0.020404865965247154,
-0.03471728414297104,
0.055470291525125504,
0.006590481847524643,
0.04193151742219925,
0.03228030726313591,
0.022338977083563805,
-0.00003190149072906934,
-0.013944937847554684,
0.02210688404738903,
0.055431608110666275,
0.10939329862594604,
-0.034098368138074875,
-0.016594668850302696,
-0.034021005034446716,
0.02129455842077732,
-0.03527817875146866,
-0.05051896721124649,
-0.0174650177359581,
0.009772093966603279,
-0.009061308577656746,
0.01075365487486124,
0.04080973193049431,
-0.038430776447057724,
0.04467795416712761
] |
726,008 | pydantic.main | model_copy | Returns a copy of the model.
Args:
update: Values to change/add in the new model. Note: the data is not validated
before creating the new model. You should trust this data.
deep: Set to `True` to make a deep copy of the model.
Returns:
New model instance.
| def model_copy(self: Model, *, update: dict[str, Any] | None = None, deep: bool = False) -> Model:
"""Returns a copy of the model.
Args:
update: Values to change/add in the new model. Note: the data is not validated
before creating the new model. You should trust this data.
deep: Set to `True` to make a deep copy of the model.
Returns:
New model instance.
"""
copied = self.__deepcopy__() if deep else self.__copy__()
if update:
if self.model_config.get('extra') == 'allow':
for k, v in update.items():
if k in self.model_fields:
copied.__dict__[k] = v
else:
if copied.__pydantic_extra__ is None:
copied.__pydantic_extra__ = {}
copied.__pydantic_extra__[k] = v
else:
copied.__dict__.update(update)
copied.__pydantic_fields_set__.update(update.keys())
return copied
| (self: 'Model', *, update: 'dict[str, Any] | None' = None, deep: 'bool' = False) -> 'Model' | [
0.011864308267831802,
-0.030079340562224388,
0.030098585411906242,
0.017772406339645386,
-0.061082422733306885,
-0.04587917402386665,
-0.0018222249345853925,
-0.012951629236340523,
0.018186166882514954,
-0.022015845403075218,
-0.021284550428390503,
-0.017069978639483452,
-0.020976636558771133,
0.06978099048137665,
0.001759679988026619,
0.008554233238101006,
-0.002320179482921958,
-0.011806574650108814,
-0.016030767932534218,
-0.02374786138534546,
0.046418022364377975,
-0.021323038265109062,
-0.02982916124165058,
0.033119991421699524,
0.0003506129141896963,
0.012268445454537868,
-0.030675925314426422,
0.0167331974953413,
0.044647518545389175,
0.014616289176046848,
0.04587917402386665,
-0.004936245270073414,
-0.012932384386658669,
0.051729537546634674,
-0.025422142818570137,
-0.03342790529131889,
-0.010141914710402489,
0.08452237397432327,
-0.12324254959821701,
-0.041414421051740646,
0.0338897742331028,
-0.04622557759284973,
-0.0015359612880274653,
0.03265811875462532,
0.042261186987161636,
-0.01938895508646965,
-0.0109694330021739,
0.000819099135696888,
0.017300913110375404,
-0.031137796118855476,
-0.04549428075551987,
0.08467632532119751,
-0.008308865129947662,
0.011864308267831802,
-0.003738267347216606,
-0.04453204944729805,
-0.031580422073602676,
0.027462072670459747,
-0.0429924800992012,
0.04834248498082161,
-0.051383133977651596,
-0.03358186036348343,
0.009920601733028889,
-0.02357465960085392,
0.005143124610185623,
-0.013528968207538128,
-0.030906859785318375,
-0.02888617478311062,
0.03385128825902939,
-0.023343723267316818,
-0.07501552999019623,
-0.007625680882483721,
0.011296591721475124,
0.07774826884269714,
-0.008429143577814102,
0.008939125575125217,
0.015289850533008575,
0.0024536889977753162,
0.06712523847818375,
-0.04364679753780365,
-0.0540773831307888,
0.013634813018143177,
-0.034852005541324615,
0.018157299607992172,
-0.037161361426115036,
0.015790211036801338,
0.0031681456603109837,
-0.05246083438396454,
0.027231138199567795,
0.005196047481149435,
-0.036891937255859375,
0.07990366220474243,
-0.035082943737506866,
0.044378094375133514,
0.06462343782186508,
0.021996600553393364,
-0.034409381449222565,
0.011633372865617275,
-0.028924664482474327,
0.02463311329483986,
-0.036276109516620636,
0.014423842541873455,
-0.05942738801240921,
-0.02388257347047329,
-0.022747140377759933,
-0.032773587852716446,
0.013721413910388947,
-0.026211172342300415,
-0.03402448818087578,
-0.023459192365407944,
0.005345193203538656,
0.017849385738372803,
-0.01925424300134182,
0.0206109881401062,
0.008150096982717514,
-0.006244879215955734,
0.014876090921461582,
-0.012701448984444141,
-0.01413517352193594,
0.024748580530285835,
0.0011630967492237687,
0.04884284734725952,
0.0004191718762740493,
-0.03589121624827385,
0.02255469560623169,
0.04949716106057167,
0.02476782537996769,
-0.0421072281897068,
0.002699058037251234,
0.011768084950745106,
-0.10299720615148544,
-0.05107522010803223,
0.026961712166666985,
0.023901818320155144,
-0.028193367645144463,
-0.01820540986955166,
0.009901356883347034,
0.012547492049634457,
0.008948747999966145,
-0.001937692635692656,
0.002156600123271346,
0.04183780401945114,
0.11662239581346512,
0.012335801497101784,
-0.022015845403075218,
-0.043762266635894775,
-0.05280723795294762,
-0.011748841032385826,
-0.00523934792727232,
0.055232059210538864,
-0.03167664632201195,
0.03671873360872269,
0.005758952349424362,
0.05003601312637329,
-0.047264788299798965,
0.03198456019163132,
-0.050844285637140274,
-0.08914107829332352,
0.01881161704659462,
-0.0004594653146341443,
-0.04791910573840141,
0.0009267487330362201,
0.05415436252951622,
-0.07328351587057114,
-0.006148655898869038,
-0.011209990829229355,
0.009295151568949223,
-0.06770257651805878,
-0.00009223886445397511,
0.04272305592894554,
-0.03864319622516632,
0.00976183358579874,
0.03229247406125069,
0.0013002146733924747,
-0.010853965766727924,
0.03421693295240402,
0.01867690309882164,
-0.006071677431464195,
-0.02207357995212078,
-0.009208550676703453,
0.03823906183242798,
-0.031310997903347015,
-0.0015660310164093971,
0.03373581916093826,
0.025402897968888283,
0.0008894623024389148,
-0.06412307173013687,
0.053769469261169434,
0.019331220537424088,
0.05688709765672684,
0.06396912038326263,
-0.0013387039070948958,
0.04337737336754799,
-0.026076460257172585,
-0.04795759171247482,
-0.049381695687770844,
-0.0347750298678875,
-0.01039209496229887,
-0.037738699465990067,
0.09499144554138184,
-0.01273993868380785,
-0.08228999376296997,
0.021246060729026794,
-0.027404338121414185,
-0.019283108413219452,
0.02136152796447277,
-0.027308115735650063,
-0.0011095725931227207,
0.006942496635019779,
-0.06608602404594421,
0.0074043674394488335,
0.04283852502703667,
0.0425306111574173,
0.017060356214642525,
0.024710092693567276,
0.006148655898869038,
-0.00004961503509548493,
-0.06362271308898926,
0.010940566658973694,
0.0078085046261549,
0.02925182320177555,
0.04191478341817856,
-0.04634104669094086,
0.013086341321468353,
0.0017296102596446872,
-0.006600904744118452,
-0.04179931432008743,
0.013249920681118965,
-0.022747140377759933,
-0.07166696339845657,
-0.0069809858687222,
-0.04811155050992966,
-0.03261963278055191,
-0.00996871292591095,
0.02357465960085392,
0.01823427714407444,
-0.044031690806150436,
-0.0206109881401062,
0.0890640988945961,
-0.024787070229649544,
-0.022343004122376442,
0.009824378415942192,
-0.025422142818570137,
0.016136614605784416,
0.011864308267831802,
-0.032773587852716446,
-0.014423842541873455,
-0.02095739170908928,
0.014462332241237164,
-0.03061819076538086,
0.031118551269173622,
0.017300913110375404,
-0.023382212966680527,
0.11400512605905533,
0.042068738490343094,
0.05569393187761307,
0.029925383627414703,
-0.059311918914318085,
0.0014096684753894806,
0.006095733493566513,
-0.01296125166118145,
-0.007154187653213739,
-0.0021890755742788315,
0.003981230780482292,
-0.04330039396882057,
-0.08444539457559586,
-0.010844343341886997,
0.04791910573840141,
-0.011104146018624306,
0.028482038527727127,
0.18136130273342133,
-0.001869133673608303,
-0.004606680944561958,
0.05296119302511215,
-0.015963412821292877,
-0.0438777320086956,
-0.01881161704659462,
-0.00006115429277997464,
-0.012816917151212692,
-0.07155149430036545,
0.026307396590709686,
-0.012239578180015087,
0.06000472605228424,
-0.04018276557326317,
-0.004989167675375938,
-0.04576370492577553,
-0.011864308267831802,
0.011498660780489445,
-0.06092846766114235,
0.012489758431911469,
0.016146237030625343,
-0.00004130827801418491,
0.04899680241942406,
-0.015010803937911987,
-0.011181124486029148,
-0.024921782314777374,
-0.011200369335711002,
0.02609570510685444,
-0.027057936415076256,
-0.008347353897988796,
-0.014856847003102303,
0.03643006458878517,
0.03340866044163704,
0.06119789183139801,
0.03616064041852951,
-0.007563135586678982,
-0.011498660780489445,
0.006615338381379843,
0.021323038265109062,
0.015799833461642265,
-0.017849385738372803,
0.012422402389347553,
0.01400046143680811,
0.04599464312195778,
0.01840747892856598,
-0.020803434774279594,
-0.009723343886435032,
0.0019593429751694202,
0.019879693165421486,
0.008405087515711784,
-0.026730777695775032,
0.034852005541324615,
0.01986044831573963,
0.009136383421719074,
-0.03200380504131317,
-0.027057936415076256,
0.014683645218610764,
0.025248941034078598,
-0.020168362185359,
-0.0013988433638587594,
-0.0022840958554297686,
0.036314599215984344,
0.03594895079731941,
0.0868317261338234,
-0.044916942715644836,
0.01602114550769329,
-0.018080320209264755,
-0.05765688046813011,
-0.020168362185359,
-0.00772190373390913,
0.061043936759233475,
0.042068738490343094,
-0.0045537580735981464,
-0.0749000608921051,
0.002819336950778961,
-0.009757022373378277,
-0.01578058861196041,
0.02867448329925537,
-0.012778427451848984,
-0.03421693295240402,
-0.01479911245405674,
0.007635302841663361,
-0.0018486863700672984,
0.0139619717374444,
0.03579499199986458,
-0.007866238243877888,
-0.04949716106057167,
-0.05442378669977188,
-0.002154194749891758,
-0.0717824324965477,
0.025114228948950768,
0.010343982838094234,
-0.0029179654084146023,
-0.02095739170908928,
0.04045218974351883,
0.021592464298009872,
-0.05935040861368179,
0.003081544768065214,
-0.07528495043516159,
-0.020168362185359,
-0.029213333502411842,
-0.03492898494005203,
0.026711532846093178,
-0.017907118424773216,
0.00017906517314258963,
0.018927084282040596,
-0.08144323527812958,
0.028058655560016632,
-0.054654721170663834,
0.046995364129543304,
0.033350925892591476,
0.008799602277576923,
-0.037026647478342056,
0.040529169142246246,
0.08413747698068619,
-0.05246083438396454,
0.02126530557870865,
0.007745959796011448,
-0.01136394776403904,
0.003180173458531499,
-0.04160686954855919,
-0.0465334914624691,
-0.05677162855863571,
0.0013399067102000117,
-0.017810896039009094,
0.03616064041852951,
-0.015347584150731564,
0.04807306081056595,
-0.07693999260663986,
-0.040567658841609955,
0.021784909069538116,
-0.008381032384932041,
0.06038961932063103,
-0.002768819686025381,
-0.04460902884602547,
-0.029271068051457405,
0.011864308267831802,
0.0185037013143301,
-0.00857347808778286,
0.01585756614804268,
0.030329521745443344,
-0.020803434774279594,
-0.04037521407008171,
0.02499876171350479,
0.009016104973852634,
0.0025162340607494116,
0.1107720360159874,
-0.0749000608921051,
-0.021688686683773994,
0.006557604297995567,
0.0735529363155365,
0.007038719952106476,
-0.029097866266965866,
-0.017339402809739113,
0.010151537135243416,
-0.015376451425254345,
0.0014686051290482283,
0.056964077055454254,
0.02343994751572609,
0.025595344603061676,
0.020168362185359,
0.013759903609752655,
-0.013480856083333492,
0.006177523173391819,
0.03602593019604683,
0.012643715366721153,
0.10623030364513397,
-0.040567658841609955,
0.007327388972043991,
0.05834968760609627,
-0.06119789183139801,
-0.04395471140742302,
0.015665121376514435,
-0.05042090639472008,
-0.0336780846118927,
-0.022439226508140564,
-0.020322319120168686,
0.021015124395489693,
-0.015020426362752914,
-0.03031027689576149,
0.03902808949351311,
0.022804874926805496,
0.0669327899813652,
0.02024533972144127,
-0.03492898494005203,
-0.0265960656106472,
0.015020426362752914,
0.01147941593080759,
-0.010623030364513397,
0.019975915551185608,
-0.023728616535663605,
0.019542912021279335,
0.0780176892876625,
-0.0010849154787138104,
0.0022131314035505056,
0.007149376440793276,
0.03541010245680809,
-0.029848406091332436,
-0.024094264954328537,
0.027308115735650063,
0.05042090639472008,
-0.053730979561805725,
0.0259225033223629,
0.0017380297649651766,
-0.008318486623466015,
-0.010825098492205143,
0.0016418066807091236,
-0.0585036464035511,
-0.026384374126791954,
-0.0553860180079937,
-0.001391626545228064,
-0.0021048802882432938,
-0.036930426955223083,
0.05915796384215355,
0.014712512493133545,
-0.010853965766727924,
0.020707210525870323,
0.0037214283365756273,
0.0033798364456743,
0.02521045319736004,
0.01725280098617077,
0.030521968379616737,
0.011623750440776348,
-0.030021607875823975,
-0.052306875586509705,
-0.013471233658492565,
-0.05530903860926628,
0.051036734133958817,
0.06454645842313766,
-0.024883294478058815,
0.021246060729026794,
-0.008304053917527199,
0.0076978481374681,
-0.009607876650989056,
-0.04576370492577553,
0.04152989014983177,
-0.028174124658107758,
-0.01741638034582138,
0.015809455886483192,
0.025730056688189507,
-0.026615310460329056,
0.01530909538269043,
0.009040160104632378,
0.039990320801734924,
0.02459462359547615,
-0.04241514205932617,
0.006701938807964325,
0.00041796910227276385,
0.017531849443912506,
-0.04634104669094086,
0.018590303137898445,
0.0076689813286066055,
0.004101509694010019,
-0.07509250938892365,
-0.0056771631352603436,
0.004038964863866568,
-0.023420702666044235,
0.008193396963179111,
0.08567705005407333,
-0.022766385227441788,
0.04807306081056595,
-0.0005565905012190342,
0.006206389982253313,
0.026288151741027832,
-0.0156170092523098,
-0.02401728555560112,
0.006798162125051022,
-0.012720693834125996,
-0.07497704029083252,
-0.010315116494894028,
0.012037510052323341,
0.01170072890818119,
0.046995364129543304,
0.027616029605269432,
-0.021823398768901825,
0.03933600336313248,
-0.008544611744582653,
0.015597764402627945,
-0.048765867948532104,
0.002140963915735483,
-0.0412219762802124,
-0.004868888761848211,
-0.011296591721475124,
-0.0014722134219482541,
-0.025768546387553215,
0.04091406241059303,
-0.009651176631450653,
-0.023593904450535774,
0.033119991421699524,
0.006985797081142664,
-0.0011264117201790214,
-0.07670905441045761,
0.0815202072262764,
-0.008785168640315533,
-0.057849328964948654,
0.06439249962568283,
-0.05453925207257271,
0.031176283955574036,
-0.049381695687770844,
0.03548707813024521,
-0.009497219696640968,
0.051383133977651596,
0.03933600336313248,
0.03710362687706947,
0.032638873904943466,
-0.008823658339679241,
0.011229235678911209,
0.0398748517036438,
-0.02268940769135952,
0.01938895508646965,
0.03983636200428009,
-0.004216977395117283,
0.015049292705953121,
-0.0068799518048763275,
-0.030598945915699005,
-0.06346875429153442,
0.01707960106432438,
0.037065137177705765,
0.05072882026433945,
-0.05438529700040817,
0.029617469757795334,
0.06554717570543289,
-0.01588643342256546,
-0.02064947783946991,
-0.003796001197770238,
-0.009184494614601135,
-0.10830872505903244,
-0.04483996331691742,
-0.004459940828382969,
0.013788769952952862,
-0.015463052317500114,
0.041760824620723724,
0.012220333330333233,
-0.023420702666044235,
-0.021611709147691727,
0.00790953915566206,
-0.03225398436188698,
-0.014144795946776867,
0.05219141021370888,
-0.021573219448328018,
0.014953069388866425,
-0.02241998165845871,
-0.0540773831307888,
-0.057541415095329285,
0.03837377205491066,
-0.020168362185359,
-0.04418564587831497,
0.0012929978547617793,
-0.004599464125931263,
-0.03820057213306427,
-0.011912419460713863,
0.048419464379549026,
-0.006244879215955734,
-0.005633862689137459,
-0.07289861887693405,
0.047534212470054626,
0.0049073779955506325,
0.0014818357303738594,
-0.010372850112617016,
-0.020707210525870323,
0.042915504425764084,
-0.049920544028282166,
-0.002797686727717519,
0.01659848541021347,
0.031118551269173622,
-0.0014132767682895064,
0.02313203364610672,
-0.019177263602614403,
0.011960531584918499,
0.0819820836186409,
0.04976658895611763,
-0.022400738671422005,
0.0059177204966545105,
0.01796485297381878,
-0.08721661567687988,
0.005629051476716995,
-0.03412071242928505,
-0.05469321087002754,
0.007938405498862267,
-0.03812359273433685,
-0.05596335604786873,
0.05592486634850502,
0.026557575911283493,
-0.0186095479875803,
0.024479156360030174,
-0.041991762816905975,
-0.0050805797800421715,
-0.04968960955739021,
0.04222269728779793,
-0.05107522010803223,
-0.022843364626169205,
0.019167641177773476,
0.028328081592917442,
-0.0412219762802124,
0.05846515670418739,
0.0882173404097557,
-0.026249662041664124,
-0.02255469560623169,
0.022747140377759933,
0.021573219448328018,
-0.04880435764789581,
-0.0022985292598605156,
-0.07824862748384476,
0.050497882068157196,
-0.041991762816905975,
0.004789504688233137,
0.028828440234065056,
-0.018580680713057518,
0.019783468917012215,
0.0022840958554297686,
0.04414715990424156,
-0.03387053310871124,
0.0024380527902394533,
0.020168362185359,
0.0268077552318573,
0.08090437948703766,
-0.012364668771624565,
0.0135193457826972,
-0.0013483262155205011,
0.00144575210288167,
-0.007962461560964584,
-0.01598265767097473,
-0.017608826979994774,
-0.004965112078934908,
0.027019446715712547,
-0.035775747150182724,
-0.04884284734725952,
-0.02476782537996769,
-0.04045218974351883,
0.03319697082042694,
0.03146495297551155,
0.015540030784904957,
-0.018253521993756294,
-0.02109210379421711,
0.0354485884308815,
0.02765451930463314,
-0.09445259720087051,
0.03860470652580261,
-0.002208320191130042,
-0.0010710833594202995,
0.05561695247888565,
0.06266048550605774,
-0.016588862985372543,
-0.000941783597227186,
0.04133744537830353,
-0.0007890294073149562,
0.016232836991548538,
-0.003779162187129259,
-0.012624470517039299,
0.014096683822572231,
0.007601624820381403,
0.009545331820845604,
-0.024652358144521713,
-0.021169081330299377,
0.012509003281593323,
0.016252081841230392,
-0.03271585330367088,
-0.031176283955574036,
0.02813563495874405,
-0.02432519942522049,
0.03918204829096794,
0.020264584571123123,
0.04249212145805359,
-0.010497940704226494,
0.024825559929013252,
-0.01653112843632698,
0.014144795946776867,
0.02507573924958706,
0.0014361297944560647,
-0.03469805046916008,
0.027057936415076256,
0.002023090608417988,
-0.006124600302428007,
0.01479911245405674,
-0.1032281443476677,
-0.008395465090870857,
0.023901818320155144,
-0.03473654016852379,
0.031118551269173622,
-0.01867690309882164,
0.004334850702434778,
0.016059635207057,
0.05357702076435089,
0.043454352766275406,
0.040259744971990585,
0.01969686895608902,
-0.04191478341817856,
-0.010411339811980724,
0.005754141602665186,
-0.009910979308187962,
0.005513583775609732,
-0.05480867624282837,
0.035429347306489944,
0.045840684324502945,
0.03165740147233009,
0.007914350368082523,
0.025518367066979408,
0.02238149382174015
] |
726,009 | pydantic.main | model_dump | Usage docs: https://docs.pydantic.dev/dev-v2/usage/serialization/#modelmodel_dump
Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Args:
mode: The mode in which `to_python` should run.
If mode is 'json', the dictionary will only contain JSON serializable types.
If mode is 'python', the dictionary may contain any Python objects.
include: A list of fields to include in the output.
exclude: A list of fields to exclude from the output.
by_alias: Whether to use the field's alias in the dictionary key if defined.
exclude_unset: Whether to exclude fields that are unset or None from the output.
exclude_defaults: Whether to exclude fields that are set to their default value from the output.
exclude_none: Whether to exclude fields that have a value of `None` from the output.
round_trip: Whether to enable serialization and deserialization round-trip support.
warnings: Whether to log warnings when invalid fields are encountered.
Returns:
A dictionary representation of the model.
| def model_dump(
self,
*,
mode: Literal['json', 'python'] | str = 'python',
include: IncEx = None,
exclude: IncEx = None,
by_alias: bool = False,
exclude_unset: bool = False,
exclude_defaults: bool = False,
exclude_none: bool = False,
round_trip: bool = False,
warnings: bool = True,
) -> dict[str, Any]:
"""Usage docs: https://docs.pydantic.dev/dev-v2/usage/serialization/#modelmodel_dump
Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Args:
mode: The mode in which `to_python` should run.
If mode is 'json', the dictionary will only contain JSON serializable types.
If mode is 'python', the dictionary may contain any Python objects.
include: A list of fields to include in the output.
exclude: A list of fields to exclude from the output.
by_alias: Whether to use the field's alias in the dictionary key if defined.
exclude_unset: Whether to exclude fields that are unset or None from the output.
exclude_defaults: Whether to exclude fields that are set to their default value from the output.
exclude_none: Whether to exclude fields that have a value of `None` from the output.
round_trip: Whether to enable serialization and deserialization round-trip support.
warnings: Whether to log warnings when invalid fields are encountered.
Returns:
A dictionary representation of the model.
"""
return self.__pydantic_serializer__.to_python(
self,
mode=mode,
by_alias=by_alias,
include=include,
exclude=exclude,
exclude_unset=exclude_unset,
exclude_defaults=exclude_defaults,
exclude_none=exclude_none,
round_trip=round_trip,
warnings=warnings,
)
| (self, *, mode: "Literal['json', 'python'] | str" = 'python', include: 'IncEx' = None, exclude: 'IncEx' = None, by_alias: 'bool' = False, exclude_unset: 'bool' = False, exclude_defaults: 'bool' = False, exclude_none: 'bool' = False, round_trip: 'bool' = False, warnings: 'bool' = True) -> 'dict[str, Any]' | [
0.00512569909915328,
-0.011735153384506702,
0.006771318148821592,
-0.0342792347073555,
0.0325886532664299,
-0.034513041377067566,
-0.014720647595822811,
-0.047120463103055954,
-0.07604019343852997,
-0.09805372357368469,
-0.032642610371112823,
0.005399968940764666,
-0.03230089694261551,
0.023686125874519348,
0.04161708056926727,
-0.00754916574805975,
-0.01677992008626461,
-0.018281659111380577,
0.018506471067667007,
0.00837647169828415,
0.07258709520101547,
-0.026347892358899117,
-0.0011532822391018271,
0.04654494300484657,
0.00048587354831397533,
-0.016564100980758667,
-0.016672011464834213,
-0.004653595387935638,
-0.009657896123826504,
0.04766000807285309,
0.004676076117902994,
-0.00096163060516119,
0.023578215390443802,
0.031563516706228256,
-0.03902725130319595,
-0.04147319868206978,
0.0029675099067389965,
0.10208234190940857,
-0.10021191090345383,
-0.040573954582214355,
0.003414884675294161,
0.0032260429579764605,
-0.03938695043325424,
0.019963249564170837,
-0.00384652242064476,
-0.02873988449573517,
0.0342792347073555,
-0.012004926800727844,
0.03219298645853996,
-0.039638739079236984,
-0.01587168127298355,
0.015170270577073097,
-0.0031945693772286177,
0.04467451572418213,
-0.014711655676364899,
-0.051652658730745316,
-0.047480158507823944,
-0.02248113602399826,
-0.008398952893912792,
0.027157211676239967,
-0.05726395174860954,
0.03650936484336853,
-0.011798100546002388,
0.00915431883186102,
-0.0032395317684859037,
0.01399225927889347,
-0.0717238187789917,
-0.06719162315130234,
0.0003591361455619335,
0.005103217903524637,
-0.019135942682623863,
-0.07416976243257523,
0.07956523448228836,
0.08934903144836426,
0.07690346986055374,
-0.03812800720334053,
0.009199281223118305,
0.023380381986498833,
0.03032255731523037,
-0.036689214408397675,
-0.05568127706646919,
-0.03235485032200813,
-0.04496227204799652,
0.0018052352825179696,
-0.03845173493027687,
0.003392403479665518,
0.006699378602206707,
-0.013209915719926357,
0.03064628504216671,
-0.025160888209939003,
-0.021258162334561348,
0.05938616767525673,
-0.033577825874090195,
0.07262305915355682,
-0.019423700869083405,
-0.01859639585018158,
-0.024369550868868828,
0.019297806546092033,
-0.006811784114688635,
0.025358721613883972,
-0.03557414934039116,
-0.0034261252731084824,
-0.03740860894322395,
0.00118025962729007,
-0.05679634213447571,
-0.0489189513027668,
-0.021096298471093178,
-0.0017400399083271623,
-0.013146968558430672,
-0.04039410501718521,
-0.0012263460084795952,
0.046760763972997665,
-0.020646676421165466,
-0.044530633836984634,
0.02931540086865425,
0.013048051856458187,
0.022948743775486946,
0.0010279499692842364,
-0.024153733626008034,
-0.03109590709209442,
-0.056904252618551254,
0.056220825761556625,
-0.060141537338495255,
-0.053990695625543594,
0.036976974457502365,
0.030232632532715797,
-0.007562654092907906,
-0.029783008620142937,
0.019747430458664894,
0.03323611244559288,
-0.04686867445707321,
-0.014936466701328754,
-0.015835711732506752,
-0.00455917464569211,
0.009549986571073532,
-0.0033721704967319965,
-0.02980099432170391,
0.01192399486899376,
0.0009779294487088919,
0.05089729279279709,
0.016024554148316383,
0.0358259379863739,
0.08711890131235123,
0.013983266428112984,
-0.02659968100488186,
-0.027301091700792313,
0.007630097679793835,
-0.02539469115436077,
0.008808108977973461,
-0.021096298471093178,
0.06280330568552017,
0.009032920934259892,
0.0001450033305445686,
0.018542440608143806,
-0.04733628034591675,
0.028164368122816086,
-0.018326621502637863,
-0.008389960043132305,
0.007675060071051121,
-0.06970950961112976,
-0.028398171067237854,
0.0037048913072794676,
0.04701255261898041,
-0.03722876310348511,
0.02882980927824974,
-0.005224616266787052,
0.018128788098692894,
-0.036563318222761154,
0.0472283698618412,
-0.035718027502298355,
-0.0506095327436924,
-0.005197638645768166,
0.005247096996754408,
0.034620948135852814,
-0.02579035982489586,
0.0537029393017292,
0.03949486091732979,
0.002511142985895276,
-0.04467451572418213,
0.06089690327644348,
0.09150721877813339,
-0.06564491987228394,
-0.014154123142361641,
0.034620948135852814,
0.030502405017614365,
-0.05485397204756737,
-0.03909919038414955,
-0.013884349726140499,
0.048739101737737656,
0.009140829555690289,
0.06294718384742737,
0.0017658933065831661,
-0.008057239465415478,
-0.02579035982489586,
-0.053631000220775604,
-0.05478203296661377,
-0.05668843165040016,
-0.060393325984478,
0.003972416743636131,
0.05341517925262451,
0.008497869595885277,
-0.024549400433897972,
-0.020610705018043518,
-0.006231770850718021,
-0.030466435477137566,
0.014918481931090355,
0.029009658843278885,
-0.07211948186159134,
0.0022447414230555296,
-0.06247957423329353,
0.04215662553906441,
-0.01787699945271015,
0.011834070086479187,
0.013452711515128613,
0.07050084322690964,
0.013308832421898842,
0.02507096342742443,
0.017112640663981438,
-0.011447394266724586,
0.00832701288163662,
0.005341517738997936,
0.04564569890499115,
-0.0732705220580101,
-0.005818117875605822,
-0.04427884519100189,
-0.04827149584889412,
0.0022964479867368937,
-0.008596786297857761,
0.0004189921892248094,
-0.08755053579807281,
0.0016118974890559912,
0.0012004927266389132,
-0.07136411964893341,
0.009532001800835133,
0.02785862423479557,
0.10021191090345383,
-0.052947573363780975,
-0.006987137254327536,
0.021653831005096436,
-0.03686906397342682,
0.04373930022120476,
0.006159831304103136,
-0.06258748471736908,
-0.033254098147153854,
-0.002046907553449273,
0.004253430757671595,
-0.0020188060589134693,
-0.009334167465567589,
0.03154553100466728,
-0.03314618766307831,
0.05607694759964943,
-0.011384447105228901,
0.0014016987988725305,
0.08848575502634048,
-0.00575067475438118,
0.03985456004738808,
0.037012942135334015,
-0.05809125676751137,
0.0014781346544623375,
0.00046170633868314326,
-0.02899167314171791,
-0.04129335284233093,
-0.020322946831583977,
0.0027112250681966543,
0.04373930022120476,
-0.041257381439208984,
-0.025520585477352142,
-0.0007750371587462723,
0.01649216189980507,
-0.007166986353695393,
0.08229894191026688,
-0.033577825874090195,
-0.037912189960479736,
0.015278180129826069,
-0.03663526102900505,
-0.004869414027780294,
-0.003131622215732932,
-0.023110607638955116,
0.012409587390720844,
0.021941589191555977,
-0.008371975272893906,
-0.05503382161259651,
0.044530633836984634,
-0.033056262880563736,
0.0043231225572526455,
-0.012193768285214901,
-0.00986472237855196,
0.06733550131320953,
0.011330492794513702,
0.004318626131862402,
0.034513041377067566,
0.02309262380003929,
0.036365486681461334,
-0.03469289094209671,
-0.010593111626803875,
-0.02122219279408455,
0.03282245993614197,
-0.031599484384059906,
0.022571060806512833,
0.018848184496164322,
-0.019621536135673523,
0.034908708184957504,
0.13236893713474274,
0.039602771401405334,
-0.004341107327491045,
-0.020844509825110435,
0.017022715881466866,
-0.002722465666010976,
-0.019315792247653008,
-0.0029337883461266756,
-0.03548422455787659,
0.026006178930401802,
0.08697502315044403,
0.05309145152568817,
-0.06460179388523102,
0.021204207092523575,
-0.020448841154575348,
0.0038060564547777176,
0.014945459552109241,
-0.003900477197021246,
-0.03237283602356911,
0.06600461900234222,
0.055897098034620285,
0.018578410148620605,
0.02676154486835003,
-0.027840638533234596,
0.008102201856672764,
0.02728310599923134,
0.06916996091604233,
-0.021689800545573235,
-0.03012472204864025,
-0.01459475327283144,
0.014522814191877842,
0.07733511179685593,
-0.05158071964979172,
0.05679634213447571,
0.02631192095577717,
-0.04618524760007858,
-0.04460257291793823,
0.04409899562597275,
0.029621144756674767,
0.04150917008519173,
-0.004489482846111059,
-0.008174140937626362,
-0.030987998470664024,
0.006879227701574564,
-0.01065605878829956,
0.03311021625995636,
0.031185831874608994,
-0.011780115775763988,
-0.03077217936515808,
0.024189703166484833,
0.007468233350664377,
0.03647339716553688,
-0.038991283625364304,
-0.07985299825668335,
0.01109668891876936,
-0.024855144321918488,
-0.04719240218400955,
-0.023704109713435173,
-0.04539391025900841,
-0.02873988449573517,
0.0021728018764406443,
0.017679166048765182,
0.05276772379875183,
-0.003821793245151639,
-0.012112836353480816,
0.001309526152908802,
0.03145560622215271,
-0.01587168127298355,
-0.03154553100466728,
0.002432459034025669,
-0.010224420577287674,
-0.005687727592885494,
-0.04532197117805481,
0.07258709520101547,
-0.015727803111076355,
0.06381046026945114,
-0.07848614454269409,
0.03812800720334053,
0.0028685929719358683,
-0.008192125707864761,
-0.015754779800772667,
0.00908687524497509,
0.060105565935373306,
-0.05744379758834839,
0.047084491699934006,
-0.01600656844675541,
-0.03938695043325424,
0.00029956112848594785,
-0.015898659825325012,
-0.03152754530310631,
-0.08078821003437042,
0.03740860894322395,
-0.01797591708600521,
0.006168823689222336,
-0.0521562360227108,
0.02886577881872654,
-0.012958127073943615,
0.01480158045887947,
-0.009253235533833504,
-0.06442194432020187,
0.06283926963806152,
0.01204988919198513,
-0.03233686462044716,
-0.010521171614527702,
0.000002278849478898337,
-0.07690346986055374,
0.054278455674648285,
-0.013677523471415043,
0.05636470392346382,
-0.017220551148056984,
-0.07963717728853226,
0.019387731328606606,
0.034261252731084824,
0.05413457751274109,
0.07416976243257523,
0.0012252219021320343,
-0.0269234087318182,
-0.006937678437680006,
0.08618368208408356,
0.0045097158290445805,
0.035232435911893845,
-0.04499824345111847,
-0.002699984470382333,
-0.007104039192199707,
-0.0044737462885677814,
0.06780310720205307,
0.037336669862270355,
0.048055678606033325,
-0.00276517984457314,
-0.049422528594732285,
-0.002287455601617694,
-0.04370332881808281,
0.008853071369230747,
0.012670367956161499,
0.10013997554779053,
-0.023794034495949745,
0.0036644251085817814,
0.058882590383291245,
-0.025682449340820312,
0.004327618516981602,
-0.012184775434434414,
-0.011267545633018017,
-0.002852856181561947,
0.004869414027780294,
-0.03780427947640419,
0.04539391025900841,
0.01661805622279644,
0.05902647227048874,
0.06852250546216965,
0.006366657558828592,
0.08546428382396698,
0.005017789546400309,
-0.048379406332969666,
-0.04787582904100418,
0.05611291527748108,
0.017778081819415092,
-0.014549791812896729,
0.035843923687934875,
0.0010420007165521383,
-0.021941589191555977,
0.04129335284233093,
-0.007184971123933792,
0.018056849017739296,
0.04733628034591675,
0.013803417794406414,
0.0016658521490171552,
-0.05481800436973572,
-0.003920710179954767,
0.058846622705459595,
0.03780427947640419,
-0.004159010015428066,
0.03415334224700928,
-0.011249560862779617,
0.04111350327730179,
0.039279039949178696,
-0.011186613701283932,
-0.031077923253178596,
-0.07711929082870483,
0.025376707315444946,
-0.043487511575222015,
-0.05291160196065903,
0.02053876593708992,
0.04913477227091789,
0.012535481713712215,
0.027948549017310143,
-0.01445087417960167,
-0.03132971003651619,
0.031815305352211,
0.005800133105367422,
-0.014765609987080097,
-0.021851664409041405,
-0.03052039071917534,
-0.014747625216841698,
0.028775854036211967,
-0.041868869215250015,
0.014154123142361641,
-0.037660397589206696,
-0.03949486091732979,
0.046473003923892975,
-0.013272862881422043,
-0.012688353657722473,
0.00029394085868261755,
-0.07276694476604462,
0.04755209758877754,
0.013578605838119984,
-0.002830374985933304,
0.030196662992239,
0.020304962992668152,
-0.055249638855457306,
0.030214646831154823,
0.01972944475710392,
0.020808540284633636,
-0.013075028546154499,
0.031203817576169968,
0.05999765545129776,
-0.00015202868962660432,
-0.030556360259652138,
-0.05269578471779823,
-0.02579035982489586,
0.02886577881872654,
0.006429605185985565,
0.019747430458664894,
-0.024513430893421173,
0.07762286812067032,
-0.0030416976660490036,
0.007027603220194578,
0.05938616767525673,
0.03298432379961014,
0.07668764889240265,
0.014333972707390785,
-0.0021728018764406443,
0.015350120142102242,
-0.0036531847435981035,
0.011699182912707329,
0.02255307510495186,
0.011546311900019646,
-0.04686867445707321,
-0.028308246284723282,
0.05812722444534302,
0.023056652396917343,
-0.010179458186030388,
-0.007166986353695393,
0.056904252618551254,
0.018902139738202095,
0.018056849017739296,
0.03740860894322395,
-0.011465379036962986,
-0.01107870414853096,
-0.014136138372123241,
-0.014163115993142128,
0.02740900218486786,
0.011213590390980244,
0.007603120058774948,
0.025034993886947632,
0.04719240218400955,
-0.013515658676624298,
0.008439418859779835,
-0.01836259290575981,
-0.020934434607625008,
-0.04104156047105789,
0.01762521080672741,
-0.02409977838397026,
0.0014264280907809734,
0.05676037445664406,
0.05179653689265251,
0.0122477225959301,
-0.05744379758834839,
-0.0018063592724502087,
-0.06057317182421684,
0.03141963481903076,
0.05125699192285538,
-0.010188451036810875,
0.020646676421165466,
0.007198459934443235,
-0.031563516706228256,
0.04924267902970314,
0.006290222052484751,
0.009406107477843761,
-0.022139422595500946,
0.0138483801856637,
0.0016399988671764731,
-0.005381984170526266,
0.044206906110048294,
-0.04043007642030716,
0.045429881662130356,
0.006240763235837221,
0.08416937291622162,
-0.005417953711003065,
0.015799742192029953,
0.023596201092004776,
0.04363138973712921,
-0.022463152185082436,
0.03866755589842796,
-0.02963913045823574,
-0.06399030983448029,
-0.04165304824709892,
0.026257967576384544,
-0.010503186844289303,
-0.02312859334051609,
-0.01166321337223053,
-0.0015871681971475482,
-0.06596864759922028,
0.003725124290212989,
0.03855964541435242,
-0.023038668558001518,
0.040250226855278015,
0.01483754999935627,
-0.014657700434327126,
-0.05219220742583275,
-0.029099583625793457,
-0.052300114184617996,
-0.08121985197067261,
0.027067288756370544,
-0.04783985763788223,
0.0023762560449540615,
0.01655510812997818,
0.004237694200128317,
-0.0719396322965622,
0.07740704715251923,
0.03917113319039345,
-0.004810963291674852,
-0.019675489515066147,
-0.017193572595715523,
0.09582359343767166,
-0.052947573363780975,
0.010997772216796875,
0.01868632063269615,
0.011123666539788246,
0.0024077296257019043,
-0.025502601638436317,
0.010278375819325447,
0.024369550868868828,
-0.013515658676624298,
-0.03755249083042145,
0.02320053242146969,
-0.013947296887636185,
-0.0005564081366173923,
-0.017607225105166435,
0.013857372105121613,
-0.05435039475560188,
0.002387496642768383,
-0.013308832421898842,
-0.05600500479340553,
0.015377096831798553,
-0.004017379134893417,
-0.03967471048235893,
0.037300702184438705,
-0.09035618603229523,
-0.010206435807049274,
-0.008978965692222118,
-0.008021268993616104,
-0.05830707401037216,
0.006393635179847479,
0.005449427291750908,
-0.03269656375050545,
-0.013093013316392899,
0.045142121613025665,
0.012148805893957615,
-0.04690464213490486,
0.003309223335236311,
-0.02186965011060238,
-0.026653634384274483,
-0.03578997030854225,
0.0473003089427948,
-0.07999687641859055,
-0.005732689518481493,
0.029117567464709282,
-0.013344802893698215,
-0.003421628847718239,
-0.001090897130779922,
-0.013128983788192272,
0.024153733626008034,
-0.08294639736413956,
0.019261837005615234,
-0.01665402576327324,
0.038991283625364304,
0.008228096179664135,
-0.05503382161259651,
0.011456387117505074,
-0.032246943563222885,
0.005638268776237965,
0.008785627782344818,
0.024891113862395287,
0.009585956111550331,
-0.046473003923892975,
0.01924385316669941,
0.014810572378337383,
-0.026905423030257225,
0.004028619732707739,
-0.03525042161345482,
-0.018128788098692894,
-0.022822849452495575,
0.03016069158911705,
-0.031203817576169968,
0.03866755589842796,
0.043811239302158356,
-0.002340286271646619,
0.0061418465338647366,
-0.024639325216412544,
0.0018929116195067763,
0.030898073688149452,
-0.011285530403256416,
0.05082535371184349,
0.004550181794911623,
-0.07978105545043945,
0.02413574792444706,
0.020916448906064034,
-0.026581695303320885,
0.0006345300935208797,
0.08294639736413956,
-0.024549400433897972,
-0.027768699452280998,
-0.004864918068051338,
-0.005148180294781923,
-0.0010043447837233543,
0.0700332373380661,
-0.02406380884349346,
0.01839856244623661,
-0.022660985589027405,
0.04427884519100189,
0.010476209223270416,
-0.04618524760007858,
0.021096298471093178,
-0.008282050490379333,
-0.03203112259507179,
0.02025100775063038,
0.031023968011140823,
0.022750910371541977,
0.031311728060245514,
-0.008740665391087532,
-0.013911327347159386,
-0.01483754999935627,
-0.014315987937152386,
0.012967118993401527,
0.003621710930019617,
-0.00457715941593051,
0.006281229667365551,
-0.025124918669462204,
0.03611369803547859,
0.024891113862395287,
-0.04424287751317024,
0.03605974093079567,
-0.042911991477012634,
0.022571060806512833,
0.04604136571288109,
0.012868202291429043,
-0.021078312769532204,
-0.032606638967990875,
-0.024351567029953003,
0.027498925104737282,
0.023470306769013405,
0.02186965011060238,
0.025970209389925003,
0.03755249083042145,
0.03032255731523037,
-0.003540778998285532,
-0.0005727069219574332,
-0.0159076526761055,
-0.05183250829577446,
-0.010260390117764473,
-0.020790554583072662,
-0.004084822256118059,
0.014882512390613556,
0.015026391483843327,
0.009972631931304932,
-0.03661727532744408
] |
726,010 | pydantic.main | model_dump_json | Usage docs: https://docs.pydantic.dev/dev-v2/usage/serialization/#modelmodel_dump_json
Generates a JSON representation of the model using Pydantic's `to_json` method.
Args:
indent: Indentation to use in the JSON output. If None is passed, the output will be compact.
include: Field(s) to include in the JSON output. Can take either a string or set of strings.
exclude: Field(s) to exclude from the JSON output. Can take either a string or set of strings.
by_alias: Whether to serialize using field aliases.
exclude_unset: Whether to exclude fields that have not been explicitly set.
exclude_defaults: Whether to exclude fields that have the default value.
exclude_none: Whether to exclude fields that have a value of `None`.
round_trip: Whether to use serialization/deserialization between JSON and class instance.
warnings: Whether to show any warnings that occurred during serialization.
Returns:
A JSON string representation of the model.
| def model_dump_json(
self,
*,
indent: int | None = None,
include: IncEx = None,
exclude: IncEx = None,
by_alias: bool = False,
exclude_unset: bool = False,
exclude_defaults: bool = False,
exclude_none: bool = False,
round_trip: bool = False,
warnings: bool = True,
) -> str:
"""Usage docs: https://docs.pydantic.dev/dev-v2/usage/serialization/#modelmodel_dump_json
Generates a JSON representation of the model using Pydantic's `to_json` method.
Args:
indent: Indentation to use in the JSON output. If None is passed, the output will be compact.
include: Field(s) to include in the JSON output. Can take either a string or set of strings.
exclude: Field(s) to exclude from the JSON output. Can take either a string or set of strings.
by_alias: Whether to serialize using field aliases.
exclude_unset: Whether to exclude fields that have not been explicitly set.
exclude_defaults: Whether to exclude fields that have the default value.
exclude_none: Whether to exclude fields that have a value of `None`.
round_trip: Whether to use serialization/deserialization between JSON and class instance.
warnings: Whether to show any warnings that occurred during serialization.
Returns:
A JSON string representation of the model.
"""
return self.__pydantic_serializer__.to_json(
self,
indent=indent,
include=include,
exclude=exclude,
by_alias=by_alias,
exclude_unset=exclude_unset,
exclude_defaults=exclude_defaults,
exclude_none=exclude_none,
round_trip=round_trip,
warnings=warnings,
).decode()
| (self, *, indent: 'int | None' = None, include: 'IncEx' = None, exclude: 'IncEx' = None, by_alias: 'bool' = False, exclude_unset: 'bool' = False, exclude_defaults: 'bool' = False, exclude_none: 'bool' = False, round_trip: 'bool' = False, warnings: 'bool' = True) -> 'str' | [
-0.020796921104192734,
-0.03276612237095833,
0.024166550487279892,
-0.014154192060232162,
0.015803905203938484,
-0.05064971745014191,
-0.04685888811945915,
-0.06581304222345352,
-0.08634671568870544,
-0.08711892366409302,
-0.023411894217133522,
-0.014092766679823399,
-0.03273101896047592,
0.02269233763217926,
0.010688038542866707,
0.008362644352018833,
-0.0007387514342553914,
-0.019638612866401672,
0.05314183980226517,
0.015224751085042953,
0.05036891624331474,
-0.015303726308047771,
0.005019341595470905,
0.06665544956922531,
-0.01697976514697075,
-0.005918786395341158,
-0.011118017137050629,
0.014057666063308716,
0.012048174627125263,
0.013460961170494556,
0.021253226324915886,
-0.009512178599834442,
0.026939472183585167,
0.03783811256289482,
-0.03264326974749565,
-0.032660819590091705,
0.004690276458859444,
0.05243983492255211,
-0.1239040270447731,
-0.03783811256289482,
0.03424033150076866,
0.02278008870780468,
-0.021832380443811417,
-0.007634313311427832,
0.03548639267683029,
-0.0284136850386858,
0.03473173826932907,
0.011521670036017895,
0.03462643548846245,
-0.011354943737387657,
0.0001303920871578157,
0.02916834130883217,
-0.03769771009683609,
0.004321723245084286,
-0.00337401544675231,
-0.04155874252319336,
-0.00821346789598465,
-0.03787321224808693,
-0.011153116822242737,
0.004380954895168543,
-0.03276612237095833,
0.022973140701651573,
0.03920702263712883,
0.035591695457696915,
-0.019147207960486412,
0.015330052003264427,
-0.07139398902654648,
-0.06030229851603508,
-0.0004387536318972707,
0.00011599549179663882,
-0.026500718668103218,
-0.035240691155195236,
0.08073066920042038,
0.07525502145290375,
0.07939685881137848,
-0.02367514558136463,
0.014943948946893215,
-0.01932271011173725,
0.022393984720110893,
-0.061214905232191086,
-0.04254155233502388,
-0.04327865689992905,
-0.04994771257042885,
0.010135209187865257,
-0.025465261191129684,
-0.002979137236252427,
0.022411534562706947,
-0.025640761479735374,
0.002373657189309597,
-0.0009537406731396914,
-0.03241511806845665,
0.07932665944099426,
-0.03469663858413696,
0.062092412263154984,
0.001527959480881691,
0.002827767049893737,
-0.013355660252273083,
0.005716959945857525,
0.010091333650052547,
0.05900358781218529,
-0.002417532494291663,
-0.006418965756893158,
-0.04419126361608505,
0.014066440984606743,
-0.04250645264983177,
-0.06767336279153824,
-0.04008452966809273,
0.007366673555225134,
-0.020007165148854256,
-0.012758955359458923,
0.023464543744921684,
0.034257881343364716,
-0.03157271072268486,
-0.05924928933382034,
0.05036891624331474,
-0.020656520500779152,
0.026834171265363693,
0.017743196338415146,
0.006813843734562397,
-0.03413503244519234,
-0.007094646338373423,
0.049315907061100006,
-0.04503367096185684,
-0.021428726613521576,
0.028273284435272217,
0.018936606124043465,
-0.025991765782237053,
0.04036533460021019,
0.011240867897868156,
0.030888255685567856,
-0.04854370281100273,
-0.016321634873747826,
-0.0007700126152485609,
0.031327009201049805,
0.056335967034101486,
0.04914040490984917,
-0.011977974325418472,
-0.004712213762104511,
-0.007858077064156532,
0.04643768444657326,
0.010003582574427128,
0.015566978603601456,
0.06472493708133698,
0.00680506881326437,
-0.022973140701651573,
-0.005931949242949486,
0.002209124621003866,
-0.04152364283800125,
-0.027588827535510063,
-0.022709887474775314,
0.04696418717503548,
-0.003349883947521448,
0.002516251988708973,
-0.0071867844089865685,
-0.040786538273096085,
0.051983531564474106,
-0.050509318709373474,
-0.03734670951962471,
0.022481735795736313,
-0.06767336279153824,
-0.056055162101984024,
0.0016628762241452932,
0.04141834378242493,
-0.04324355721473694,
0.008288055658340454,
-0.00841529481112957,
-0.006177651230245829,
-0.015970632433891296,
-0.0037469558883458376,
-0.03388933092355728,
-0.05005301535129547,
-0.01680426299571991,
0.0029703620821237564,
0.030256450176239014,
-0.02971239574253559,
0.053843844681978226,
0.026430519297719002,
0.01578635536134243,
-0.05759957432746887,
0.0408567376434803,
0.07216619700193405,
-0.04763109236955643,
0.03183596208691597,
0.02074427157640457,
0.052861038595438004,
-0.07135888934135437,
-0.03525824099779129,
-0.027290476486086845,
0.02965974435210228,
0.02321884222328663,
0.05977579578757286,
0.035416193306446075,
0.030010748654603958,
-0.014180516824126244,
-0.057845279574394226,
-0.050017911940813065,
-0.027764329686760902,
-0.03485458716750145,
-0.0009312545880675316,
0.023745346814393997,
-0.007006895262748003,
-0.025254659354686737,
-0.023376792669296265,
-0.01680426299571991,
0.004729764070361853,
-0.004769252147525549,
-0.0004423185018822551,
-0.10101863741874695,
-0.022236034274101257,
-0.09736820310354233,
0.021025074645876884,
-0.003692111698910594,
0.0012087662471458316,
-0.017049966380000114,
0.06827006489038467,
0.012794055975973606,
0.07939685881137848,
0.006028474774211645,
-0.023868197575211525,
-0.02118302509188652,
0.005497582722455263,
0.04117263853549957,
-0.06346132606267929,
0.007221884559839964,
-0.0363989993929863,
-0.0461919829249382,
0.00025694508804008365,
-0.017576470971107483,
0.0033125898335129023,
-0.08957593888044357,
-0.0029681683517992496,
-0.03769771009683609,
-0.027764329686760902,
0.007880015298724174,
-0.01516332570463419,
0.1043180599808693,
-0.05324713885784149,
-0.031046206131577492,
0.05931948870420456,
-0.04608668014407158,
0.006576916668564081,
-0.003981688991189003,
-0.025588111951947212,
-0.030940905213356018,
0.004262491595000029,
0.019831664860248566,
-0.007871240377426147,
0.002239837311208248,
0.04559527710080147,
0.006712930276989937,
0.04022493213415146,
-0.013952365145087242,
0.018761105835437775,
0.07785244286060333,
-0.0038127689622342587,
0.03875071927905083,
0.0317482128739357,
-0.03401217982172966,
0.01059151254594326,
0.016584886237978935,
-0.048964906483888626,
-0.0657077431678772,
-0.005945111624896526,
0.006177651230245829,
0.012127149850130081,
-0.02965974435210228,
0.01496149878948927,
0.002402176149189472,
0.016198784112930298,
0.002744403900578618,
0.032660819590091705,
-0.03362607955932617,
-0.033064473420381546,
0.0023144253063946962,
-0.003128313459455967,
0.0164269357919693,
0.0028387359343469143,
-0.0461919829249382,
0.019831664860248566,
-0.012416727840900421,
-0.016988540068268776,
-0.05545846000313759,
0.05500215291976929,
-0.010512537322938442,
0.024008598178625107,
-0.04169914498925209,
0.004545487463474274,
0.04892980307340622,
-0.037627510726451874,
0.014663145877420902,
0.04626218229532242,
0.009161176159977913,
0.05665186792612076,
-0.05805588141083717,
0.024535102769732475,
-0.056546568870544434,
0.017199141904711723,
0.014101541601121426,
0.019972065463662148,
0.03164291009306908,
-0.03273101896047592,
0.030133599415421486,
0.11702436953783035,
0.017778297886252403,
-0.030098499730229378,
-0.02242908626794815,
0.001472018426284194,
0.001191216055303812,
-0.024412252008914948,
-0.010398460552096367,
-0.03587249666452408,
0.046648286283016205,
0.048157598823308945,
0.04205014929175377,
-0.06388252973556519,
0.0051378048956394196,
-0.030010748654603958,
0.02149892784655094,
0.020182667300105095,
-0.006287339609116316,
-0.014145417138934135,
0.06384743005037308,
0.0071867844089865685,
0.00016494393639732152,
0.030976006761193275,
-0.02225358411669731,
0.013311784714460373,
0.053843844681978226,
0.02837858535349369,
-0.029378943145275116,
-0.002928680507466197,
-0.05458095297217369,
-0.02385064773261547,
0.05644126608967781,
-0.04426146671175957,
0.018620703369379044,
0.021428726613521576,
-0.05609026551246643,
-0.05408954620361328,
0.0457356795668602,
0.03653940185904503,
0.006690992973744869,
0.00924015138298273,
0.0016859108582139015,
-0.02167442999780178,
0.011074141599237919,
0.022236034274101257,
0.03015114925801754,
-0.025342410430312157,
-0.000673486792948097,
0.013882164843380451,
0.04857880249619484,
0.025096707046031952,
0.045489974319934845,
-0.051351726055145264,
-0.06595344841480255,
0.02158667892217636,
-0.025166908279061317,
-0.02571096271276474,
-0.04461246728897095,
-0.06490043550729752,
0.000015013601114333142,
0.014908848330378532,
0.014285817742347717,
0.07427221536636353,
-0.00025694508804008365,
-0.009714005514979362,
-0.03494234010577202,
0.014338468201458454,
-0.008647833950817585,
-0.04134814068675041,
-0.0031348946504294872,
-0.024271851405501366,
-0.0036877242382615805,
-0.023569844663143158,
0.06998997926712036,
-0.0005127933109179139,
0.053036537021398544,
-0.06939327716827393,
0.024078799411654472,
-0.017918698489665985,
-0.005458095110952854,
0.01074946392327547,
0.024482453241944313,
0.05191332846879959,
-0.04959670826792717,
0.06370702385902405,
-0.029326291754841805,
-0.059214189648628235,
0.0035253854002803564,
-0.02695702202618122,
-0.06009169667959213,
-0.05798567831516266,
0.01807664893567562,
-0.03453868627548218,
-0.029782596975564957,
-0.03748710826039314,
0.013215259648859501,
-0.0132064837962389,
0.0179888978600502,
-0.019901864230632782,
-0.057704877108335495,
0.10607307404279709,
-0.021920131519436836,
-0.013197708874940872,
-0.023955948650836945,
0.014952723868191242,
-0.10073783248662949,
0.03178331255912781,
0.031204158440232277,
0.029150791466236115,
-0.026395417749881744,
-0.07883524894714355,
0.02179728075861931,
0.048964906483888626,
0.023376792669296265,
0.044121064245700836,
0.0015619628829881549,
-0.02348209358751774,
0.005945111624896526,
0.03885602205991745,
0.016988540068268776,
0.030361751094460487,
-0.03187106177210808,
0.0051992302760481834,
-0.04222564771771431,
0.0048131272196769714,
0.07202579826116562,
0.0068094562739133835,
0.022709887474775314,
0.03790831193327904,
-0.01662876270711422,
0.033994629979133606,
-0.050509318709373474,
0.027290476486086845,
0.028361033648252487,
0.10200144350528717,
-0.053001437336206436,
-0.008735585026443005,
0.07251720130443573,
-0.002766341669484973,
-0.01593553088605404,
-0.026448069140315056,
-0.008801397867500782,
0.0019403878832235932,
-0.00146214640699327,
-0.00736228609457612,
0.05647636577486992,
0.042787253856658936,
0.037592411041259766,
0.04907020553946495,
0.015882881358265877,
0.05324713885784149,
-0.017971348017454147,
-0.04099714010953903,
-0.04166404530405998,
0.068375363945961,
-0.0005547491018660367,
-0.03381912782788277,
0.04366476088762283,
-0.010196634568274021,
-0.011574320495128632,
0.0687965676188469,
0.013890939764678478,
0.027676578611135483,
0.021253226324915886,
0.008836498484015465,
-0.0025184457190334797,
-0.07686963677406311,
-0.019831664860248566,
0.07132378965616226,
0.021112823858857155,
-0.031467411667108536,
0.052650436758995056,
-0.0016892014537006617,
-0.005247493274509907,
-0.0031765762250870466,
0.0004140737291891128,
-0.04317335784435272,
-0.03583739697933197,
0.04391046240925789,
-0.04401576519012451,
-0.026834171265363693,
0.03090580552816391,
0.07651863247156143,
0.04310315474867821,
0.039101723581552505,
-0.02490365505218506,
-0.002292487770318985,
0.01662876270711422,
0.018146850168704987,
0.007958990521728992,
-0.024008598178625107,
-0.04057593643665314,
-0.025412609800696373,
0.030080948024988174,
-0.04924570769071579,
-0.0009899379219859838,
-0.026483168825507164,
-0.03653940185904503,
0.039944130927324295,
-0.0273080263286829,
0.0010036489693447948,
-0.017260568216443062,
-0.08115187287330627,
0.031046206131577492,
0.029501793906092644,
0.005953886546194553,
0.024657953530550003,
0.0009126075310632586,
-0.037627510726451874,
0.03573209419846535,
0.020094916224479675,
0.04050573334097862,
-0.0076869637705385685,
0.011828797869384289,
0.02083202265202999,
0.013180159032344818,
0.018708454445004463,
-0.04454226791858673,
-0.040962040424346924,
0.02149892784655094,
-0.011205767281353474,
0.006089900154620409,
-0.03531089052557945,
0.0821346789598465,
0.024587754160165787,
0.03236246854066849,
0.022007882595062256,
0.04643768444657326,
0.0421905480325222,
0.007287697866559029,
-0.018497852608561516,
0.026360318064689636,
-0.03748710826039314,
0.03311712294816971,
-0.014584170654416084,
0.01645326055586338,
-0.04685888811945915,
-0.034661535173654556,
0.07385101169347763,
0.046297281980514526,
0.00636192737147212,
-0.030519701540470123,
0.02042836882174015,
0.025324858725070953,
0.001179150422103703,
0.04257665202021599,
-0.01752381958067417,
0.019901864230632782,
-0.009433203376829624,
-0.01819949969649315,
0.00499740382656455,
0.011065366677939892,
0.020884672179818153,
0.05177292972803116,
0.04426146671175957,
-0.021481378003954887,
0.029361393302679062,
0.03202901408076286,
-0.02829083427786827,
-0.0028058295138180256,
0.026886822655797005,
-0.0357496440410614,
-0.042471352964639664,
0.047315191477537155,
0.05707307159900665,
0.009406877681612968,
-0.036258600652217865,
0.04106733947992325,
-0.05479155480861664,
0.00821346789598465,
0.04401576519012451,
0.030572352930903435,
-0.010240510106086731,
0.018796205520629883,
-0.006418965756893158,
0.05089541897177696,
-0.005633596796542406,
0.0007727548363618553,
-0.012127149850130081,
0.012644879519939423,
-0.024622853845357895,
-0.024938756600022316,
0.025833813473582268,
-0.03615329787135124,
0.026623569428920746,
-0.014250718057155609,
0.06100430339574814,
-0.040470633655786514,
0.007028833031654358,
0.04317335784435272,
-0.0007776907877996564,
0.005598496180027723,
0.03166045993566513,
-0.005229943431913853,
-0.0475257933139801,
-0.03903152421116829,
0.02899283915758133,
-0.039628226310014725,
-0.013127508573234081,
-0.021130375564098358,
0.00013738473353441805,
-0.03436318412423134,
0.021516477689146996,
0.07069198787212372,
-0.019112108275294304,
-0.00908220000565052,
-0.007520237006247044,
-0.03481948748230934,
-0.052510034292936325,
-0.014373568817973137,
-0.057845279574394226,
-0.04503367096185684,
0.003683336777612567,
-0.048824504017829895,
-0.00771328853443265,
0.0341876819729805,
-0.011907773092389107,
-0.04970201104879379,
0.09526218473911285,
0.0457356795668602,
0.012372852303087711,
-0.02295558899641037,
-0.009187500923871994,
0.054826654493808746,
-0.039277225732803345,
0.030274000018835068,
0.036750003695487976,
0.0029769432730972767,
0.010872314684092999,
-0.04577077925205231,
0.007665026001632214,
0.05875788629055023,
-0.018971707671880722,
-0.08030946552753448,
0.021165475249290466,
-0.018989257514476776,
-0.0071253590285778046,
-0.025026507675647736,
-0.011934098787605762,
-0.009468303062021732,
-0.013601362705230713,
0.03134455904364586,
-0.06672564893960953,
0.041453443467617035,
-0.043980661779642105,
-0.055528659373521805,
0.020568769425153732,
-0.09645559638738632,
-0.029694845899939537,
0.007300860248506069,
-0.006756805814802647,
-0.07114829123020172,
-0.012916906736791134,
-0.014145417138934135,
-0.013820739462971687,
0.005642371717840433,
0.06991977989673615,
0.03480193763971329,
-0.028273284435272217,
0.027413327246904373,
-0.0457356795668602,
-0.029343843460083008,
0.01767299696803093,
0.03720630705356598,
-0.06068840250372887,
-0.03525824099779129,
0.068831667304039,
-0.04878940433263779,
0.006590079516172409,
0.013662788085639477,
-0.026448069140315056,
0.021411176770925522,
-0.0723767951130867,
-0.003334527602419257,
0.020656520500779152,
0.03334527462720871,
0.025833813473582268,
-0.09119055420160294,
-0.019287608563899994,
-0.04857880249619484,
0.023587394505739212,
0.04268195107579231,
0.011995524168014526,
0.01567227952182293,
-0.022165833041071892,
-0.03160781040787697,
0.0435243584215641,
0.01038968563079834,
0.016935890540480614,
-0.04001433029770851,
-0.04787679761648178,
0.007077096030116081,
0.0390666238963604,
-0.01154799573123455,
0.027606377378106117,
0.02518445812165737,
-0.02051611989736557,
-0.024657953530550003,
0.023253941908478737,
-0.009301576763391495,
0.028852438554167747,
0.02118302509188652,
0.052861038595438004,
0.020481020212173462,
-0.05584456026554108,
0.003446409711614251,
0.019375359639525414,
-0.04138324037194252,
0.036083098500967026,
0.07764184474945068,
-0.023640045896172523,
-0.0037184369284659624,
0.00720433471724391,
-0.0020007165148854256,
0.03255552053451538,
0.022358885034918785,
0.016444485634565353,
0.03281877189874649,
-0.02455265261232853,
0.035152941942214966,
-0.030625002458691597,
-0.044963471591472626,
0.007467586547136307,
0.0022968752309679985,
-0.03583739697933197,
0.022622136399149895,
0.02971239574253559,
-0.004233972635120153,
0.023868197575211525,
-0.004446768201887608,
0.028747137635946274,
-0.0035999733954668045,
0.010758238844573498,
-0.004073827527463436,
-0.025061607360839844,
0.012407952919602394,
0.0002810765290632844,
-0.011372493579983711,
0.03041440062224865,
0.021463828161358833,
-0.022446636110544205,
0.047490693628787994,
-0.061741411685943604,
0.023920847102999687,
0.03143230825662613,
0.051983531564474106,
-0.008603958413004875,
-0.053001437336206436,
0.007314023096114397,
0.032134316861629486,
0.0199896153062582,
0.005756447557359934,
0.06647995114326477,
0.051176223903894424,
0.0022617748472839594,
-0.006533041596412659,
0.040119633078575134,
-0.0028672548942267895,
-0.04394556209445,
-0.05563395842909813,
-0.01761157065629959,
-0.016558561474084854,
0.014285817742347717,
0.04275215417146683,
-0.003025206271559,
-0.022218484431505203
] |
726,012 | penne.delegates | AttributeSemantic | String indicating type of attribute, used in Attribute inside of geometry patch
Takes value of either POSITION, NORMAL, TANGENT, TEXTURE, or COLOR
| class AttributeSemantic(Enum):
"""String indicating type of attribute, used in Attribute inside of geometry patch
Takes value of either POSITION, NORMAL, TANGENT, TEXTURE, or COLOR
"""
position = "POSITION"
normal = "NORMAL"
tangent = "TANGENT"
texture = "TEXTURE"
color = "COLOR"
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.06730816513299942,
-0.020019138231873512,
-0.006751153618097305,
-0.03612994775176048,
0.029568903148174286,
-0.052028536796569824,
-0.00904574990272522,
-0.03243383392691612,
-0.013838318176567554,
-0.030011022463440895,
-0.017587484791874886,
0.052346862852573395,
-0.0019011107506230474,
0.013900214806199074,
-0.030205555260181427,
-0.02558983489871025,
-0.028472449630498886,
-0.006786523386836052,
-0.04283246770501137,
-0.01599585823714733,
0.03940162435173988,
0.07569073140621185,
-0.016199231147766113,
-0.023945152759552002,
0.067485012114048,
0.011627723462879658,
-0.005243528634309769,
-0.006799786817282438,
0.007405489683151245,
-0.0523114949464798,
-0.024546435102820396,
-0.07788364589214325,
-0.020195985212922096,
0.012865656055510044,
-0.017605170607566833,
-0.042089708149433136,
-0.011786886490881443,
0.04859769716858864,
-0.034909699112176895,
-0.007454122416675091,
-0.02744673378765583,
0.0022293839138001204,
-0.04944656416773796,
-0.004973836243152618,
-0.016305340453982353,
-0.03059461899101734,
-0.013307775370776653,
-0.011804571375250816,
-0.06447860598564148,
-0.07576147466897964,
0.049941737204790115,
-0.008665528148412704,
0.0218052975833416,
0.022565742954611778,
-0.02024904079735279,
0.004704143851995468,
-0.02166382037103176,
0.05676805227994919,
-0.0402858629822731,
0.0632053017616272,
0.005234686192125082,
0.04718291759490967,
-0.015076249837875366,
-0.08021803200244904,
-0.05195779725909233,
-0.07169397920370102,
0.005190474446862936,
0.03975532203912735,
-0.026969244703650475,
0.046121831983327866,
-0.03685501962900162,
0.0033313650637865067,
0.028277916833758354,
-0.014572234824299812,
-0.00008379532664548606,
-0.013696840032935143,
-0.016959676519036293,
0.05326646938920021,
0.039366256445646286,
-0.012016788125038147,
-0.015465314500033855,
0.03105442225933075,
0.01666787825524807,
-0.0267039742320776,
-0.05489346757531166,
-0.01851593516767025,
-0.02744673378765583,
-0.035917729139328,
0.0015639951452612877,
-0.032522257417440414,
-0.0512150377035141,
0.019099531695246696,
-0.028507819399237633,
0.0381636917591095,
0.004774882923811674,
0.02092106081545353,
0.03609457612037659,
-0.02822486311197281,
0.03745630383491516,
0.002367546083405614,
-0.013431568630039692,
-0.0174194797873497,
0.03908329829573631,
-0.015827851369976997,
-0.0381283238530159,
-0.045131485909223557,
-0.023485349491238594,
-0.01356420386582613,
0.007308223284780979,
-0.0018347928998991847,
-0.007312644738703966,
-0.06281623244285583,
0.017711278051137924,
-0.004239919129759073,
-0.003543582046404481,
-0.004880991298705339,
-0.00136283109895885,
-0.031744129955768585,
0.02560751885175705,
-0.028684666380286217,
0.01170730497688055,
0.03061230480670929,
0.014342333190143108,
0.044671680778265,
0.03462674096226692,
0.05804135277867317,
0.004841200541704893,
0.0032893638126552105,
-0.06090628355741501,
0.02244194969534874,
-0.04661700502038002,
0.018374456092715263,
0.010849595069885254,
0.04566202685236931,
0.021716874092817307,
-0.006565463729202747,
-0.003773483680561185,
0.009160701185464859,
0.021221701055765152,
0.08700897544622421,
0.027588210999965668,
0.0326637364923954,
-0.0035170549526810646,
-0.07583221048116684,
-0.05825357139110565,
0.01621691696345806,
-0.00023888230498414487,
-0.014987826347351074,
-0.038269802927970886,
0.005725438240915537,
0.005566275212913752,
0.0029953548219054937,
-0.03575856611132622,
-0.006211768835783005,
0.042655620723962784,
-0.02930363267660141,
-0.05195779725909233,
-0.07049141824245453,
0.025412987917661667,
0.014607604593038559,
-0.010265997610986233,
-0.01773780584335327,
-0.012989449314773083,
-0.035546351224184036,
0.02470559813082218,
0.05804135277867317,
0.004312868695706129,
-0.05563622713088989,
-0.023273132741451263,
-0.04488389939069748,
-0.044707052409648895,
-0.006472618784755468,
0.02548372559249401,
0.0696779191493988,
0.07335634529590607,
0.05195779725909233,
0.018109185621142387,
0.04148842766880989,
0.0511796697974205,
-0.03865886479616165,
0.030859891325235367,
0.004423398524522781,
-0.049198977649211884,
0.023927468806505203,
0.031107477843761444,
-0.04120546951889992,
0.035369500517845154,
-0.012193636037409306,
0.033158909529447556,
-0.0057784924283623695,
0.03432610258460045,
-0.007264011539518833,
-0.047324392944574356,
0.011335925199091434,
0.005137420259416103,
-0.022406579926609993,
0.00985040608793497,
-0.0762566477060318,
0.038623496890068054,
0.05181632190942764,
0.002045904751867056,
-0.0036894811782985926,
-0.028720036149024963,
0.09167774766683578,
0.03858812525868416,
-0.0015805746661499143,
0.06281623244285583,
-0.058819480240345,
-0.09486100822687149,
-0.03298206254839897,
-0.05149799585342407,
0.000798024411778897,
0.06713131815195084,
0.07639812678098679,
0.025448357686400414,
-0.06780333817005157,
-0.017941180616617203,
0.0523114949464798,
-0.04410576820373535,
0.03232772648334503,
0.056697312742471695,
0.0024073368404060602,
0.09323401004076004,
0.0004951730370521545,
0.026880821213126183,
-0.02788885310292244,
0.02113327756524086,
0.01547415740787983,
-0.028366340324282646,
0.029038360342383385,
0.008895429782569408,
-0.050578389316797256,
0.02932131662964821,
0.026986930519342422,
-0.03356565907597542,
0.025642888620495796,
0.04173601418733597,
0.022583426907658577,
-0.01603122614324093,
0.0011705094948410988,
-0.002253700513392687,
0.025076977908611298,
-0.028578557074069977,
0.023060915991663933,
-0.00822783075273037,
-0.04120546951889992,
0.05362016707658768,
0.0005443587433546782,
-0.048102524131536484,
-0.052028536796569824,
-0.03298206254839897,
0.032522257417440414,
-0.007966980338096619,
0.005614908412098885,
0.011459718458354473,
-0.04421187937259674,
-0.05369090288877487,
-0.011291713453829288,
0.026544811204075813,
-0.04039197042584419,
-0.07583221048116684,
-0.054398294538259506,
0.03770389035344124,
0.0610123910009861,
0.06981939822435379,
-0.038729604333639145,
0.04488389939069748,
0.03678428381681442,
-0.04530833289027214,
0.0009107646765187383,
0.10575481504201889,
-0.0060128155164420605,
-0.03232772648334503,
0.010159889236092567,
-0.0006250454462133348,
-0.0015418892726302147,
0.02168150432407856,
-0.007909504696726799,
0.057015638798475266,
-0.02942742593586445,
0.013838318176567554,
0.0027632424607872963,
-0.02875540591776371,
0.04230192303657532,
0.009461341425776482,
0.019683128222823143,
0.01874583587050438,
0.028348656371235847,
0.0072816964238882065,
0.014324648305773735,
0.03140811622142792,
0.03657206520438194,
-0.021929090842604637,
-0.033070486038923264,
0.06893516331911087,
0.014024008065462112,
0.040250495076179504,
0.028348656371235847,
0.02297249250113964,
-0.029038360342383385,
0.05980982631444931,
-0.007427595555782318,
0.05825357139110565,
-0.0016734196105971932,
-0.08410867303609848,
-0.007458543870598078,
0.05241760239005089,
-0.025642888620495796,
-0.04201896861195564,
0.014722554944455624,
0.0060791331343352795,
0.0838257223367691,
-0.07484186440706253,
0.026332594454288483,
-0.01247659232467413,
0.10667441785335541,
-0.017896968871355057,
-0.013590731658041477,
0.010310210287570953,
0.05577770620584488,
-0.03791610524058342,
-0.03084220550954342,
-0.01809149980545044,
-0.04152379557490349,
-0.03139043226838112,
-0.032699104398489,
0.0019574807956814766,
0.00243828515522182,
0.014395386911928654,
0.0012246690457686782,
-0.03570551425218582,
-0.008908693678677082,
0.01872815191745758,
0.025094661861658096,
-0.04757197946310043,
0.009089961647987366,
0.005623750854283571,
-0.0004081309016328305,
0.0003069962258450687,
-0.03040008619427681,
0.018339086323976517,
0.030912945047020912,
-0.001037321169860661,
0.020956430584192276,
0.021327810361981392,
-0.01257385779172182,
0.032080139964818954,
0.006481461226940155,
0.08410867303609848,
0.009576292708516121,
-0.012122896499931812,
0.01356420386582613,
-0.00997419934719801,
0.015102777630090714,
0.024051262065768242,
-0.020761897787451744,
-0.008842375129461288,
-0.07102195918560028,
-0.005782913416624069,
0.05531790107488632,
0.037102606147527695,
-0.060941651463508606,
0.060941651463508606,
0.002851666184142232,
-0.03236309438943863,
-0.05482272803783417,
0.036642804741859436,
-0.004682037979364395,
0.05641435459256172,
-0.026421017944812775,
0.01798539236187935,
0.002133222995325923,
-0.025678258389234543,
-0.024157369509339333,
-0.015721743926405907,
0.009929987601935863,
0.029480479657649994,
-0.005062260199338198,
-0.015651004388928413,
-0.03526339307427406,
-0.0084488894790411,
-0.010946860536932945,
0.013130927458405495,
0.07264895737171173,
-0.009841564111411572,
-0.026615550741553307,
0.05089671537280083,
-0.004872148856520653,
-0.04152379557490349,
0.0566619411110878,
-0.0036850599572062492,
-0.04838547855615616,
0.008665528148412704,
-0.05241760239005089,
-0.0022293839138001204,
-0.031974028795957565,
-0.02318470925092697,
-0.035670142620801926,
-0.017914652824401855,
0.025660574436187744,
-0.012847972102463245,
-0.005380585324019194,
-0.013245878741145134,
-0.017790859565138817,
-0.031231271103024483,
0.007352435030043125,
0.01895805262029171,
0.03950773552060127,
-0.03678428381681442,
0.001012451946735382,
-0.00008172289381036535,
-0.002252595266327262,
-0.045909613370895386,
-0.052983514964580536,
0.032822899520397186,
-0.035793937742710114,
0.08863597363233566,
-0.019913028925657272,
-0.0436105951666832,
0.03248688951134682,
0.0035369503311812878,
-0.002447127364575863,
0.03059461899101734,
0.07866176962852478,
0.0022083832882344723,
0.025218455120921135,
0.014616446569561958,
0.021080223843455315,
0.0019221113761886954,
0.05949150398373604,
-0.024988552555441856,
0.04442409425973892,
-0.032522257417440414,
-0.060729436576366425,
0.029657326638698578,
-0.05839504674077034,
-0.06065869703888893,
-0.05613140016794205,
-0.01624344475567341,
-0.0283309705555439,
0.001101428410038352,
-0.0003664059331640601,
-0.008298569358885288,
0.05284203588962555,
-0.01317513920366764,
-0.05729859322309494,
-0.02734062448143959,
0.033830929547548294,
0.09217292070388794,
-0.04583887383341789,
-0.004328342620283365,
0.054292187094688416,
0.035457927733659744,
0.009708927944302559,
0.04923434555530548,
-0.02352071925997734,
-0.014943614602088928,
-0.023768305778503418,
-0.0017198420828208327,
-0.04424724727869034,
-0.0019707444589585066,
0.033919353038072586,
-0.05160410329699516,
-0.02189372107386589,
-0.0234146099537611,
0.0020094297360628843,
0.06175515055656433,
-0.025996584445238113,
-0.01830371655523777,
0.012821444310247898,
-0.0034595795441418886,
-0.024564119055867195,
0.052665188908576965,
-0.027959590777754784,
-0.0013860423350706697,
0.0228840671479702,
-0.014908244833350182,
0.011928364634513855,
-0.07462964951992035,
-0.05896095931529999,
0.039719950407743454,
-0.022477319464087486,
-0.03717334568500519,
0.038269802927970886,
0.02518308535218239,
0.04969415068626404,
0.0072816964238882065,
0.02134549431502819,
0.02155771106481552,
-0.009894617833197117,
-0.037951476871967316,
0.019859975203871727,
0.06985476613044739,
-0.004323921632021666,
0.06925348192453384,
0.054964207112789154,
0.017357584089040756,
0.008700897917151451,
-0.048951391130685806,
0.0391894094645977,
0.024015892297029495,
-0.07027920335531235,
-0.022565742954611778,
-0.03416693955659866,
0.04718291759490967,
-0.015987014397978783,
0.04283246770501137,
-0.026279540732502937,
0.019541649147868156,
-0.00637535285204649,
0.005968603305518627,
-0.010522427037358284,
0.10073234140872955,
-0.019417855888605118,
0.017896968871355057,
0.014775609597563744,
0.02429884858429432,
-0.00004383193299872801,
0.009461341425776482,
0.004206760320812464,
-0.01809149980545044,
-0.03570551425218582,
-0.057015638798475266,
-0.05301888287067413,
-0.019329432398080826,
0.0009931093081831932,
-0.02604963816702366,
-0.04608646035194397,
-0.009947672486305237,
-0.009876933880150318,
0.07279043644666672,
0.026332594454288483,
-0.0027632424607872963,
0.023715252056717873,
0.018887314945459366,
0.03471516817808151,
0.017569800838828087,
0.027269886806607246,
0.04071029648184776,
0.014059376902878284,
0.04085177555680275,
0.00028074541478417814,
-0.016703248023986816,
0.023237762972712517,
0.05064912885427475,
-0.020655788481235504,
-0.024104315787553787,
-0.06260401755571365,
0.015739427879452705,
-0.00032108876621350646,
-0.013873687013983727,
0.04311542212963104,
-0.12407620996236801,
-0.07533703744411469,
-0.01322819385677576,
0.007264011539518833,
0.024263478815555573,
-0.047430504113435745,
-0.0179677065461874,
0.036324478685855865,
-0.02134549431502819,
-0.03646595776081085,
0.018922682851552963,
0.018692782148718834,
-0.017401795834302902,
0.019966084510087967,
0.005084366071969271,
0.028012646362185478,
0.014227381907403469,
-0.009196070954203606,
0.03604152426123619,
-0.013086715713143349,
0.04746587201952934,
-0.0005543064326047897,
0.0228840671479702,
0.016835883259773254,
0.01918795518577099,
-0.00028903514612466097,
0.009815037250518799,
0.02026672475039959,
-0.0010505847167223692,
0.018480565398931503,
-0.040568817406892776,
-0.030683042481541634,
0.033618710935115814,
0.06345288455486298,
0.006596412044018507,
0.06263938546180725,
0.011203289963304996,
-0.026774713769555092,
-0.045379072427749634,
-0.023025546222925186,
0.061472196131944656,
-0.053973861038684845,
-0.06999624520540237,
0.005645856726914644,
0.046227939426898956,
-0.02527150884270668,
-0.022954806685447693,
0.027623580768704414,
-0.004237708635628223,
0.017923494800925255,
-0.007078321650624275,
0.06256864964962006,
0.010911491699516773,
-0.018250662833452225,
0.06122460961341858,
-0.028242547065019608,
-0.02877308987081051,
-0.01959470473229885,
0.026986930519342422,
-0.013493465259671211,
-0.06034037098288536,
-0.039260149002075195,
0.047890305519104004,
-0.009107646532356739,
0.007498334627598524,
0.0212570708245039,
0.03429073095321655,
-0.04010901600122452,
-0.0435752272605896,
-0.03172644227743149,
-0.03996753692626953,
-0.00964703131467104,
-0.007193272467702627,
0.003749167313799262,
-0.020638104528188705,
-0.02877308987081051,
-0.017145365476608276,
-0.10264229774475098,
0.018339086323976517,
0.025289194658398628,
-0.03612994775176048,
-0.09089962393045425,
-0.028560873121023178,
-0.01603122614324093,
0.011698463000357151,
0.019011108204722404,
-0.014395386911928654,
0.03823443129658699,
-0.00006821754504926503,
0.03609457612037659,
-0.026739344000816345,
0.023998206481337547,
-0.025554465129971504,
0.055070314556360245,
-0.021822983399033546,
-0.0664946660399437,
0.03276984393596649,
-0.015721743926405907,
0.011114866472780704,
0.041771382093429565,
0.007290538400411606,
-0.01503203809261322,
0.018339086323976517,
0.003629795042797923,
-0.06713131815195084,
0.0013153033796697855,
0.014572234824299812,
-0.023237762972712517,
-0.05740470066666603,
0.032646048814058304,
0.062144216150045395,
0.04764271900057793,
-0.008802585303783417,
-0.035139601677656174,
-0.02799496054649353,
-0.04877454414963722,
0.0795106440782547,
-0.023025546222925186,
-0.044707052409648895,
0.06454934179782867,
0.028012646362185478,
-0.010283682495355606,
-0.03441452607512474,
0.029250578954815865,
0.0610123910009861,
0.024493379518389702,
0.07915694266557693,
0.02711072377860546,
0.03745630383491516,
0.002672608010470867,
-0.02092106081545353,
-0.029816489666700363,
0.062144216150045395,
-0.0029224050231277943,
-0.007737078703939915,
-0.012503119185566902,
0.028012646362185478,
-0.0133431451395154,
-0.05468124896287918,
-0.06242717057466507,
-0.01948859542608261,
0.00781223876401782,
0.018922682851552963,
-0.0348389595746994,
0.00004614614590536803,
0.02539530210196972,
0.03526339307427406,
0.028048016130924225,
0.029657326638698578,
0.0028428237419575453,
-0.07034993916749954,
0.020178301259875298,
0.04109936207532883,
-0.0018425299786031246,
-0.01756095699965954,
0.009266809560358524,
0.06553968787193298,
-0.025306878611445427,
0.0019132690504193306,
0.03324733301997185,
-0.03671354427933693,
-0.002168592531234026,
0.0555301196873188,
-0.005075523629784584,
-0.03140811622142792,
0.022813329473137856,
-0.02527150884270668,
0.00964703131467104,
-0.023025546222925186,
0.012989449314773083,
0.028348656371235847,
0.01764938235282898,
-0.04866843670606613,
-0.011981419287621975,
-0.02069115824997425,
0.02482939139008522,
-0.02560751885175705,
-0.03052387945353985,
-0.016155019402503967,
0.03071841225028038,
-0.05726322531700134,
0.018480565398931503,
-0.013422725722193718,
0.023149339482188225,
0.006207347847521305,
-0.022742589935660362,
0.02058505080640316,
0.03542255610227585,
-0.020390518009662628,
0.06790944188833237,
-0.05064912885427475,
-0.035882361233234406,
-0.0730026513338089,
0.03434378653764725,
-0.014271593652665615,
0.006751153618097305,
-0.0020613789092749357,
0.000987582840025425,
0.014713712967932224,
0.015226570889353752,
-0.03908329829573631,
-0.013493465259671211,
0.07264895737171173,
-0.07073900103569031,
0.058112092316150665,
-0.00197516568005085,
-0.011981419287621975,
-0.02201751433312893,
-0.0294097401201725,
-0.03625373914837837,
0.009302179329097271,
-0.008205724880099297,
-0.04937582463026047,
-0.009947672486305237,
-0.051922429352998734,
-0.0007565757841803133
] |
726,013 | pydantic.main | BaseModel | usage docs: https://docs.pydantic.dev/2.0/usage/models/
A base class for creating Pydantic models.
Attributes:
__class_vars__: The names of classvars defined on the model.
__private_attributes__: Metadata about the private attributes of the model.
__signature__: The signature for instantiating the model.
__pydantic_complete__: Whether model building is completed, or if there are still undefined fields.
__pydantic_core_schema__: The pydantic-core schema used to build the SchemaValidator and SchemaSerializer.
__pydantic_custom_init__: Whether the model has a custom `__init__` function.
__pydantic_decorators__: Metadata containing the decorators defined on the model.
This replaces `Model.__validators__` and `Model.__root_validators__` from Pydantic V1.
__pydantic_generic_metadata__: Metadata for generic models; contains data used for a similar purpose to
__args__, __origin__, __parameters__ in typing-module generics. May eventually be replaced by these.
__pydantic_parent_namespace__: Parent namespace of the model, used for automatic rebuilding of models.
__pydantic_post_init__: The name of the post-init method for the model, if defined.
__pydantic_root_model__: Whether the model is a `RootModel`.
__pydantic_serializer__: The pydantic-core SchemaSerializer used to dump instances of the model.
__pydantic_validator__: The pydantic-core SchemaValidator used to validate instances of the model.
__pydantic_extra__: An instance attribute with the values of extra fields from validation when
`model_config['extra'] == 'allow'`.
__pydantic_fields_set__: An instance attribute with the names of fields explicitly specified during validation.
__pydantic_private__: Instance attribute with the values of private attributes set on the model instance.
| class BaseModel(metaclass=_model_construction.ModelMetaclass):
"""usage docs: https://docs.pydantic.dev/2.0/usage/models/
A base class for creating Pydantic models.
Attributes:
__class_vars__: The names of classvars defined on the model.
__private_attributes__: Metadata about the private attributes of the model.
__signature__: The signature for instantiating the model.
__pydantic_complete__: Whether model building is completed, or if there are still undefined fields.
__pydantic_core_schema__: The pydantic-core schema used to build the SchemaValidator and SchemaSerializer.
__pydantic_custom_init__: Whether the model has a custom `__init__` function.
__pydantic_decorators__: Metadata containing the decorators defined on the model.
This replaces `Model.__validators__` and `Model.__root_validators__` from Pydantic V1.
__pydantic_generic_metadata__: Metadata for generic models; contains data used for a similar purpose to
__args__, __origin__, __parameters__ in typing-module generics. May eventually be replaced by these.
__pydantic_parent_namespace__: Parent namespace of the model, used for automatic rebuilding of models.
__pydantic_post_init__: The name of the post-init method for the model, if defined.
__pydantic_root_model__: Whether the model is a `RootModel`.
__pydantic_serializer__: The pydantic-core SchemaSerializer used to dump instances of the model.
__pydantic_validator__: The pydantic-core SchemaValidator used to validate instances of the model.
__pydantic_extra__: An instance attribute with the values of extra fields from validation when
`model_config['extra'] == 'allow'`.
__pydantic_fields_set__: An instance attribute with the names of fields explicitly specified during validation.
__pydantic_private__: Instance attribute with the values of private attributes set on the model instance.
"""
if typing.TYPE_CHECKING:
# Here we provide annotations for the attributes of BaseModel.
# Many of these are populated by the metaclass, which is why this section is in a `TYPE_CHECKING` block.
# However, for the sake of easy review, we have included type annotations of all class and instance attributes
# of `BaseModel` here:
# Class attributes
model_config: ClassVar[ConfigDict]
"""
Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict].
"""
model_fields: ClassVar[dict[str, FieldInfo]]
"""
Metadata about the fields defined on the model,
mapping of field names to [`FieldInfo`][pydantic.fields.FieldInfo].
This replaces `Model.__fields__` from Pydantic V1.
"""
__class_vars__: ClassVar[set[str]]
__private_attributes__: ClassVar[dict[str, ModelPrivateAttr]]
__signature__: ClassVar[Signature]
__pydantic_complete__: ClassVar[bool]
__pydantic_core_schema__: ClassVar[CoreSchema]
__pydantic_custom_init__: ClassVar[bool]
__pydantic_decorators__: ClassVar[_decorators.DecoratorInfos]
__pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata]
__pydantic_parent_namespace__: ClassVar[dict[str, Any] | None]
__pydantic_post_init__: ClassVar[None | Literal['model_post_init']]
__pydantic_root_model__: ClassVar[bool]
__pydantic_serializer__: ClassVar[SchemaSerializer]
__pydantic_validator__: ClassVar[SchemaValidator]
# Instance attributes
# Note: we use the non-existent kwarg `init=False` in pydantic.fields.Field below so that @dataclass_transform
# doesn't think these are valid as keyword arguments to the class initializer.
__pydantic_extra__: dict[str, Any] | None = _Field(init=False) # type: ignore
__pydantic_fields_set__: set[str] = _Field(init=False) # type: ignore
__pydantic_private__: dict[str, Any] | None = _Field(init=False) # type: ignore
else:
# `model_fields` and `__pydantic_decorators__` must be set for
# pydantic._internal._generate_schema.GenerateSchema.model_schema to work for a plain BaseModel annotation
model_fields = {}
__pydantic_decorators__ = _decorators.DecoratorInfos()
# Prevent `BaseModel` from being instantiated directly:
__pydantic_validator__ = _mock_validator.MockValidator(
'Pydantic models should inherit from BaseModel, BaseModel cannot be instantiated directly',
code='base-model-instantiated',
)
__slots__ = '__dict__', '__pydantic_fields_set__', '__pydantic_extra__', '__pydantic_private__'
model_config = ConfigDict()
__pydantic_complete__ = False
__pydantic_root_model__ = False
def __init__(__pydantic_self__, **data: Any) -> None: # type: ignore
"""Create a new model by parsing and validating input data from keyword arguments.
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
`__init__` uses `__pydantic_self__` instead of the more common `self` for the first arg to
allow `self` as a field name.
"""
# `__tracebackhide__` tells pytest and some other tools to omit this function from tracebacks
__tracebackhide__ = True
__pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
# The following line sets a flag that we use to determine when `__init__` gets overridden by the user
__init__.__pydantic_base_init__ = True # type: ignore
@property
def model_computed_fields(self) -> dict[str, ComputedFieldInfo]:
"""Get the computed fields of this model instance.
Returns:
A dictionary of computed field names and their corresponding `ComputedFieldInfo` objects.
"""
return {k: v.info for k, v in self.__pydantic_decorators__.computed_fields.items()}
@property
def model_extra(self) -> dict[str, Any] | None:
"""Get extra fields set during validation.
Returns:
A dictionary of extra fields, or `None` if `config.extra` is not set to `"allow"`.
"""
return self.__pydantic_extra__
@property
def model_fields_set(self) -> set[str]:
"""Returns the set of fields that have been set on this model instance.
Returns:
A set of strings representing the fields that have been set,
i.e. that were not filled from defaults.
"""
return self.__pydantic_fields_set__
@classmethod
def model_construct(cls: type[Model], _fields_set: set[str] | None = None, **values: Any) -> Model:
"""Creates a new instance of the `Model` class with validated data.
Creates a new model setting `__dict__` and `__pydantic_fields_set__` from trusted or pre-validated data.
Default values are respected, but no other validation is performed.
Behaves as if `Config.extra = 'allow'` was set since it adds all passed values
Args:
_fields_set: The set of field names accepted for the Model instance.
values: Trusted or pre-validated data dictionary.
Returns:
A new instance of the `Model` class with validated data.
"""
m = cls.__new__(cls)
fields_values: dict[str, Any] = {}
defaults: dict[str, Any] = {} # keeping this separate from `fields_values` helps us compute `_fields_set`
for name, field in cls.model_fields.items():
if field.alias and field.alias in values:
fields_values[name] = values.pop(field.alias)
elif name in values:
fields_values[name] = values.pop(name)
elif not field.is_required():
defaults[name] = field.get_default(call_default_factory=True)
if _fields_set is None:
_fields_set = set(fields_values.keys())
fields_values.update(defaults)
_extra: dict[st | (**data: 'Any') -> 'None' | [
0.015190592966973782,
0.00709456205368042,
-0.001905021257698536,
0.0339309461414814,
0.026256324723362923,
-0.02544325217604637,
-0.012017622590065002,
-0.022785888984799385,
-0.02919132262468338,
-0.04251779615879059,
-0.003153138794004917,
0.035755403339862823,
0.04711860045790672,
0.05683582276105881,
0.020822614431381226,
0.010069221258163452,
0.009746966883540154,
-0.0044297631829977036,
0.025562237948179245,
-0.049458667635917664,
0.04287475347518921,
-0.03942415118217468,
-0.04549245536327362,
0.02282555215060711,
0.009950234554708004,
0.04398529231548309,
-0.02399558387696743,
0.014337857253849506,
0.06171426177024841,
-0.00984612200409174,
-0.008358792401850224,
-0.001296455622650683,
0.0006256080232560635,
0.03910685330629349,
0.03865073621273041,
-0.08424234390258789,
0.024372374638915062,
0.09820341318845749,
-0.0978861153125763,
0.016142483800649643,
0.04358867183327675,
0.03284023702144623,
-0.023955922573804855,
-0.024550853297114372,
0.00880003347992897,
-0.04235914722084999,
0.03383179008960724,
0.06131764128804207,
-0.028160106390714645,
-0.02919132262468338,
-0.011660664342343807,
0.02338082157075405,
-0.009543698281049728,
0.007159012835472822,
0.04339035972952843,
-0.052155692130327225,
-0.03742121160030365,
0.034069761633872986,
0.0022867692168802023,
0.020088864490389824,
-0.014476674608886242,
0.04580974951386452,
0.03196766972541809,
-0.013138078153133392,
-0.0026647988706827164,
-0.0007542000385001302,
-0.03456553816795349,
-0.06151594966650009,
0.02845757268369198,
-0.02425338700413704,
-0.05667717382311821,
-0.04826880246400833,
0.006038558203727007,
0.0943165272474289,
0.06171426177024841,
-0.053305890411138535,
0.015349240973591805,
-0.02552257478237152,
0.0675445944070816,
-0.03607270121574402,
-0.004219058435410261,
-0.022984199225902557,
-0.04977596178650856,
-0.044183604419231415,
-0.016767162829637527,
0.006018727086484432,
-0.018651112914085388,
-0.010173334740102291,
0.0357157401740551,
0.007059857714921236,
-0.06560114771127701,
0.05532865971326828,
0.0030415889341384172,
0.07139182090759277,
0.015835102647542953,
0.016182145103812218,
-0.02032683789730072,
-0.02738669514656067,
-0.02302386239171028,
0.00439505884423852,
-0.022944537922739983,
0.041407257318496704,
-0.030777806416153908,
-0.023658456280827522,
-0.029171491041779518,
-0.03633050248026848,
-0.06992432475090027,
-0.041843537241220474,
-0.02272639609873295,
-0.014665069989860058,
-0.059056900441646576,
-0.031650371849536896,
-0.04997427389025688,
-0.0021814166102558374,
-0.023123016580939293,
-0.010262574069201946,
0.02254791557788849,
-0.01222584955394268,
0.009776713326573372,
0.0051213717088103294,
0.005562612786889076,
0.028318755328655243,
-0.0472375862300396,
0.004828863311558962,
0.05088650435209274,
0.036409828811883926,
0.01722327619791031,
-0.010411307215690613,
0.014268448576331139,
0.007729155942797661,
-0.07008296996355057,
0.03131324425339699,
0.025562237948179245,
0.0373418889939785,
0.002093416405841708,
0.042041849344968796,
-0.0061674597673118114,
0.0005924529395997524,
-0.034525878727436066,
0.03920600935816765,
0.020297091454267502,
0.05560629442334175,
0.0761512741446495,
-0.08079174160957336,
-0.016747331246733665,
0.011016154661774635,
-0.026633115485310555,
-0.059572506695985794,
0.0021417546086013317,
0.00872566644102335,
0.02068379707634449,
-0.028259262442588806,
0.017163783311843872,
0.05453541874885559,
-0.0452941432595253,
0.030044058337807655,
-0.05945352092385292,
-0.03151155635714531,
0.039265502244234085,
-0.027961796149611473,
-0.06536317616701126,
-0.03494232892990112,
0.053147245198488235,
-0.08154532313346863,
-0.010252658277750015,
0.020465655252337456,
-0.026712439954280853,
-0.08923977613449097,
-0.004489256534725428,
0.022071970626711845,
-0.05235400050878525,
-0.0020289653912186623,
0.030024226754903793,
0.013762756250798702,
-0.010946745984256268,
0.018403224647045135,
0.043033402413129807,
0.011621002107858658,
0.021715011447668076,
0.011968045495450497,
0.0675445944070816,
-0.02649429813027382,
-0.04465955123305321,
-0.01597392000257969,
0.037738509476184845,
0.033970609307289124,
-0.0436679981648922,
0.02934996969997883,
0.021001093089580536,
0.06238851696252823,
0.06976567208766937,
0.019474102184176445,
0.032364290207624435,
-0.02032683789730072,
-0.04584941267967224,
0.024689670652151108,
0.00955361407250166,
-0.0064550102688372135,
-0.04224016144871712,
0.001367103774100542,
-0.014179208315908909,
-0.03018287569284439,
0.0013571882154792547,
-0.028140274807810783,
0.006519461516290903,
0.011293789371848106,
-0.00914707686752081,
-0.025720886886119843,
-0.015150930732488632,
-0.08876382559537888,
-0.04053469002246857,
-0.002667277818545699,
0.010148545727133751,
-0.006261657457798719,
0.024907812476158142,
-0.08876382559537888,
0.05497170239686966,
-0.023043692111968994,
0.009236317127943039,
0.022607410326600075,
0.1076430007815361,
0.049022383987903595,
-0.013147993013262749,
0.009280936792492867,
0.029587943106889725,
-0.03654864430427551,
-0.006688025314360857,
0.0297069288790226,
0.017044797539711,
-0.049458667635917664,
-0.034704357385635376,
-0.07904660701751709,
-0.030777806416153908,
0.04826880246400833,
-0.01816525124013424,
0.006965660024434328,
0.02201247774064541,
0.0016112737357616425,
0.010718688368797302,
-0.02669260837137699,
-0.005379175301641226,
0.032304797321558,
-0.02560189925134182,
-0.0365288145840168,
-0.03960262984037399,
-0.02157619409263134,
-0.005696472246199846,
0.008646342903375626,
0.017163783311843872,
-0.03938448801636696,
0.024312881752848625,
0.0006686786073260009,
-0.025542406365275383,
0.0733749270439148,
-0.011363198049366474,
0.00787293165922165,
0.017481081187725067,
-0.11271975189447403,
0.05370251461863518,
-0.028616221621632576,
-0.00911733042448759,
-0.03436722978949547,
-0.007882846519351006,
0.07496140897274017,
0.0033316181506961584,
-0.07329560071229935,
0.03597354516386986,
0.0008744258666411042,
-0.03837310150265694,
-0.026077846065163612,
0.12557028234004974,
-0.008091072551906109,
-0.03982077166438103,
0.021695179864764214,
-0.0628248006105423,
-0.02050531655550003,
-0.04941900447010994,
-0.014694816432893276,
-0.0017302600899711251,
-0.020009540021419525,
-0.015250085853040218,
-0.04565110430121422,
0.04469921067357063,
-0.019860807806253433,
0.04041570425033569,
-0.02812044508755207,
-0.019503848627209663,
0.002300403080880642,
-0.06492689251899719,
0.025820041075348854,
0.024590516462922096,
-0.051243461668491364,
0.03938448801636696,
-0.04279543086886406,
0.024114569649100304,
-0.09423720091581345,
-0.020644133910536766,
0.059850141406059265,
-0.026375310495495796,
-0.09526842087507248,
-0.015329410322010517,
0.045532114803791046,
0.0592552088201046,
0.031471893191337585,
0.0031035610008984804,
-0.03053983487188816,
0.021635686978697777,
-0.009375134482979774,
0.04914136976003647,
-0.01561696082353592,
0.0030713356100022793,
0.05798602104187012,
0.014962535351514816,
0.0010913281003013253,
0.04220049828290939,
0.02516561560332775,
-0.031828854233026505,
-0.011521846055984497,
0.0209416002035141,
0.02478882670402527,
0.006107966881245375,
0.037302225828170776,
0.023341158404946327,
-0.03216598182916641,
-0.010649279691278934,
-0.0005376076442189515,
0.0004226494929753244,
0.028893856331706047,
-0.03565624728798866,
-0.017253022640943527,
-0.019751736894249916,
0.0139214051887393,
0.001513357856310904,
0.06314209848642349,
-0.014972451142966747,
0.012672048062086105,
0.020901938900351524,
-0.05505102500319481,
0.005359344184398651,
-0.01915680430829525,
0.024550853297114372,
-0.010807928629219532,
0.010450969450175762,
-0.040257055312395096,
-0.044818196445703506,
-0.02246859297156334,
0.03726256266236305,
0.017748799175024033,
0.012106862850487232,
-0.031749527901411057,
-0.006702898535877466,
0.0001780147576937452,
-0.027644498273730278,
0.004347959998995066,
-0.005002385005354881,
-0.05148143321275711,
-0.05346453934907913,
-0.004670214839279652,
0.011521846055984497,
-0.02193315327167511,
0.03163054212927818,
-0.0025272208731621504,
-0.034684523940086365,
0.03159087896347046,
0.009419754147529602,
0.009161950089037418,
-0.015369072556495667,
-0.016112737357616425,
0.015458311885595322,
0.006648363079875708,
0.004675172735005617,
-0.03999925032258034,
0.008338960818946362,
-0.021556362509727478,
0.017461249604821205,
0.056359875947237015,
-0.0034084636718034744,
0.054932039231061935,
-0.07206607609987259,
0.012662132270634174,
0.019365031272172928,
0.021893491968512535,
0.008844653144478798,
0.0303613543510437,
0.04434225335717201,
-0.05826365575194359,
0.03698492795228958,
0.004045536275953054,
-0.031749527901411057,
0.017847955226898193,
0.013326472602784634,
-0.0594138577580452,
-0.018631281331181526,
-0.00941479578614235,
0.032185811549425125,
-0.006930955685675144,
-0.03355415537953377,
0.037916988134384155,
-0.0048486944288015366,
-0.0005115793901495636,
-0.0010312151862308383,
-0.05758940055966377,
0.10193165391683578,
0.014089968986809254,
0.013385966420173645,
0.016390372067689896,
0.05298859626054764,
-0.022686732932925224,
-0.008656257763504982,
0.07948289066553116,
-0.007937381975352764,
0.0021962900646030903,
-0.019533595070242882,
-0.017719052731990814,
0.022984199225902557,
0.007620085030794144,
0.0607227087020874,
-0.01760006695985794,
-0.0013014134019613266,
0.00541387964040041,
0.04081232473254204,
0.017024965956807137,
0.030916623771190643,
-0.02964743599295616,
-0.015428565442562103,
0.047396235167980194,
-0.0519573800265789,
0.06921040266752243,
-0.004400016739964485,
-0.009186739102005959,
0.04826880246400833,
0.05239366367459297,
-0.01928570680320263,
-0.04007857292890549,
-0.013276895508170128,
-0.03232463076710701,
0.05235400050878525,
-0.06913107633590698,
0.0006073262193240225,
0.04343002289533615,
-0.03194784000515938,
-0.002701982157304883,
0.02157619409263134,
0.015279832296073437,
0.03914651274681091,
0.005205653607845306,
-0.0049800751730799675,
0.07722215354442596,
0.05084684118628502,
0.007535803131759167,
0.011174802668392658,
0.004774327855557203,
0.046880628913640976,
0.03240395337343216,
-0.046959951519966125,
-0.032007332891225815,
0.02165551856160164,
0.005508077330887318,
-0.04993461072444916,
0.027089228853583336,
0.005478330422192812,
0.01782812364399433,
-0.005190780386328697,
-0.022845381870865822,
-0.02040616236627102,
0.03688577190041542,
0.051441773772239685,
-0.029052505269646645,
-0.07202641665935516,
0.0363701656460762,
0.02720821648836136,
-0.04039587080478668,
0.042478132992982864,
0.030044058337807655,
-0.05191771686077118,
-0.015031944029033184,
0.04941900447010994,
-0.05818433314561844,
-0.04287475347518921,
-0.06310243904590607,
0.10153502970933914,
-0.009657726623117924,
-0.04227982088923454,
0.03527945652604103,
0.05604257807135582,
0.0065492079593241215,
0.03670729324221611,
-0.013842080719769001,
-0.012979429215192795,
0.022488422691822052,
-0.01630113273859024,
0.037103913724422455,
0.05449575558304787,
0.007511014584451914,
-0.02516561560332775,
-0.008284425362944603,
0.006450052838772535,
-0.007035068701952696,
0.04378698393702507,
-0.026018351316452026,
0.04370765760540962,
-0.013614023104310036,
-0.007040026597678661,
-0.012731540948152542,
0.014060222543776035,
0.006415348034352064,
-0.04406461864709854,
-0.03664780035614967,
0.009900657460093498,
-0.023598963394761086,
-0.03599337488412857,
0.01737201027572155,
0.03428790345788002,
-0.009692431427538395,
-0.0014290758408606052,
-0.02463017776608467,
0.0015852454816922545,
0.016985304653644562,
-0.019414609298110008,
-0.027803147211670876,
-0.051005490124225616,
0.018046265468001366,
0.012463822029531002,
0.012047369964420795,
0.01454608328640461,
0.07666688412427902,
0.015190592966973782,
0.012463822029531002,
0.07404918223619461,
-0.000898594968020916,
0.05425778403878212,
-0.03456553816795349,
-0.015121184289455414,
0.03813512995839119,
-0.01316782459616661,
0.01612265221774578,
0.029032673686742783,
-0.03607270121574402,
-0.02470950223505497,
-0.027525512501597404,
0.0641336515545845,
0.03599337488412857,
0.0025978689081966877,
0.03629084303975105,
0.005914614070206881,
-0.007382112555205822,
-0.017134036868810654,
0.02328166551887989,
-0.06334041059017181,
0.0174513328820467,
-0.03553726151585579,
0.0169654730707407,
0.0024801220279186964,
0.022785888984799385,
-0.05445609241724014,
0.00172406283672899,
0.030956286936998367,
0.0034605201799422503,
0.0391266830265522,
0.03974144533276558,
-0.0008378623169846833,
-0.000013004450920561794,
0.045889075845479965,
-0.020842446014285088,
-0.04410427808761597,
0.03252293914556503,
-0.033811960369348526,
-0.007649831939488649,
-0.07543735951185226,
0.0035571965854614973,
-0.0418832004070282,
-0.0030168001540005207,
-0.005830332171171904,
0.02873520739376545,
0.013098415918648243,
0.024372374638915062,
-0.05996912717819214,
0.034882836043834686,
-0.023975752294063568,
-0.008993386290967464,
0.036310672760009766,
0.01517076138406992,
-0.014080053195357323,
0.011938299052417278,
0.019067564979195595,
-0.07698418200016022,
0.02266690321266651,
0.031015779823064804,
0.00676239188760519,
-0.03686594218015671,
-0.008205101825296879,
0.0451354943215847,
-0.003430773504078388,
-0.028794700279831886,
-0.02641497366130352,
0.007342450320720673,
-0.08947774767875671,
-0.07325594127178192,
0.02909216657280922,
-0.004397537559270859,
-0.05021224543452263,
0.0012351032346487045,
-0.01285052765160799,
-0.017530657351017,
0.0014947662129998207,
0.008284425362944603,
-0.007590338587760925,
0.012751372531056404,
0.019553426653146744,
-0.00846786331385374,
-0.015468227677047253,
-0.020882107317447662,
-0.0392853319644928,
-0.03329635038971901,
-0.020039286464452744,
-0.07702384144067764,
-0.03688577190041542,
0.09606166183948517,
0.04331103712320328,
-0.09780679643154144,
0.01316782459616661,
0.021715011447668076,
0.04152624309062958,
0.021437376737594604,
-0.03287990018725395,
0.08931910246610641,
0.011948213912546635,
-0.032800573855638504,
0.0049800751730799675,
-0.02845757268369198,
0.03777817264199257,
-0.0011855256743729115,
-0.028417911380529404,
0.01785787008702755,
0.03553726151585579,
-0.04180387780070305,
0.022785888984799385,
-0.00015562734915874898,
0.019265875220298767,
0.033177364617586136,
-0.015289748087525368,
-0.05651852488517761,
0.007035068701952696,
0.05798602104187012,
-0.05897757411003113,
0.007307745981961489,
-0.010490631684660912,
-0.03736171871423721,
0.045968398451805115,
0.024828488007187843,
-0.001115497201681137,
0.061555612832307816,
-0.013534699566662312,
-0.09201612323522568,
0.01706462725996971,
-0.034406889230012894,
0.012999260798096657,
-0.017034880816936493,
0.022964369505643845,
-0.017897533252835274,
-0.016618428751826286,
0.009340429678559303,
0.04906204342842102,
-0.028695546090602875,
0.011333451606333256,
0.05961216986179352,
-0.034149087965488434,
-0.03145206347107887,
0.02272639609873295,
0.05326623097062111,
-0.011700325645506382,
-0.0026821510400623083,
-0.031015779823064804,
0.008249721489846706,
-0.03740138188004494,
0.040058743208646774,
0.014119715429842472,
0.019811229780316353,
-0.008096030913293362,
-0.016896063461899757,
0.03742121160030365,
-0.013485121540725231,
-0.02802128903567791,
0.05092616379261017,
0.025125954300165176,
-0.014932788908481598,
0.0014662591274827719,
0.01643003337085247,
0.02004920318722725,
-0.05013292282819748,
-0.008720709010958672,
0.011224380694329739,
0.002751559717580676,
0.03642965853214264,
-0.034684523940086365,
-0.0902709886431694,
-0.04656333103775978,
-0.013723094016313553,
-0.005765880923718214,
0.005453541874885559,
0.01912705786526203,
-0.0071490975096821785,
-0.0373418889939785,
-0.002078543184325099,
0.03966212272644043,
0.06258682906627655,
-0.07575464993715286,
0.008195186033844948,
0.04339035972952843,
-0.048308465629816055,
0.0678618922829628,
0.06909141689538956,
-0.014456843957304955,
-0.06052439659833908,
-0.014456843957304955,
-0.019731905311346054,
0.07396985590457916,
0.03807563707232475,
-0.005671683233231306,
-0.023222172632813454,
0.007550676353275776,
0.05481305345892906,
-0.002083500847220421,
-0.00030102930031716824,
-0.017024965956807137,
-0.01678699254989624,
-0.02371794916689396,
-0.0010913281003013253,
0.049736302345991135,
-0.015825185924768448,
0.02704956755042076,
-0.015507889911532402,
-0.027505680918693542,
0.00508170947432518,
-0.014080053195357323,
-0.050093259662389755,
0.01691589504480362,
-0.005488246213644743,
-0.035418275743722916,
-0.020088864490389824,
0.025899365544319153,
0.0014563435688614845,
-0.07242303341627121,
0.0139214051887393,
-0.041050296276807785,
0.0660770982503891,
0.030420847237110138,
-0.007991917431354523,
0.037123747169971466,
-0.03696509823203087,
-0.020346669480204582,
0.017560403794050217,
0.006707856431603432,
0.011611086316406727,
0.041684892028570175,
0.03276091441512108,
-0.010143587365746498,
-0.02310318686068058,
-0.018730437383055687,
-0.017709137871861458,
-0.011799481697380543,
-0.10589786618947983,
0.008978513069450855,
-0.018839508295059204,
0.053028255701065063,
0.005418837536126375,
-0.0160730741918087,
0.044183604419231415
] |
726,041 | penne.delegates | BoundingBox | Axis-aligned bounding box
Attributes:
min (Vec3): Minimum point of bounding box
max (Vec3): Maximum point of bounding box
| class BoundingBox(NoodleObject):
"""Axis-aligned bounding box
Attributes:
min (Vec3): Minimum point of bounding box
max (Vec3): Maximum point of bounding box
"""
min: Vec3
max: Vec3
| (*, min: List[float], max: List[float], **extra_data: Any) -> None | [
0.05836433172225952,
-0.018624313175678253,
-0.021360142156481743,
0.00008938742394093424,
-0.04753383621573448,
-0.03439057990908623,
-0.05546867847442627,
-0.030122311785817146,
0.0036031135823577642,
-0.0223378948867321,
-0.0030061202123761177,
0.0037394349928945303,
-0.052986688911914825,
0.01904737949371338,
-0.03786912560462952,
0.018718328326940536,
0.013660336844623089,
-0.023278040811419487,
-0.01325607392936945,
-0.014215024188160896,
-0.009518989361822605,
0.03593242168426514,
0.02404896169900894,
0.013613329268991947,
0.027170250192284584,
-0.014431257732212543,
0.019705483689904213,
0.0011881109094247222,
0.010125383734703064,
-0.02953942120075226,
-0.06393000483512878,
-0.03305556997656822,
0.013744950294494629,
-0.00772330816835165,
0.023278040811419487,
-0.07378274202346802,
0.07603909820318222,
0.06389239430427551,
-0.09664712101221085,
0.008771572262048721,
-0.02070203796029091,
-0.05170809105038643,
-0.013500511646270752,
0.012494554743170738,
0.05986856669187546,
0.00327876303344965,
0.06332831084728241,
0.019056782126426697,
-0.06953328102827072,
0.011366378515958786,
-0.006125058047473431,
-0.04926370829343796,
0.07562543451786041,
0.02491389773786068,
-0.06622395664453506,
0.04576636105775833,
0.0017275202553719282,
0.10612380504608154,
0.000853771052788943,
0.06381718069314957,
-0.038000743836164474,
0.029106954112648964,
0.019479846581816673,
-0.1047699898481369,
0.004458647686988115,
0.003741785418242216,
-0.028881318867206573,
0.04279549419879913,
-0.006961788982152939,
0.033205993473529816,
-0.007084008306264877,
0.03613925352692604,
0.03454100340604782,
0.03504868224263191,
0.045465514063835144,
-0.005814809817820787,
-0.018567904829978943,
0.09581979364156723,
0.0364777073264122,
-0.02047640271484852,
0.004813552834093571,
-0.012974029406905174,
0.009114725515246391,
-0.028580471873283386,
-0.014901331625878811,
-0.030742809176445007,
0.0288437120616436,
0.02040119096636772,
0.08461323380470276,
-0.018116634339094162,
-0.0244626272469759,
0.03260429948568344,
-0.021303731948137283,
0.03328120708465576,
-0.0377563051879406,
0.002803988754749298,
0.034183748066425323,
-0.031720563769340515,
-0.038621243089437485,
0.015550032258033752,
-0.0311752762645483,
0.005006283055990934,
-0.0206456296145916,
0.04930131137371063,
-0.0306111890822649,
0.02160457894206047,
-0.002695871749892831,
-0.056521642953157425,
-0.032115425914525986,
0.05422768369317055,
0.00815577618777752,
0.0007767965435050428,
-0.04065195843577385,
0.04787229001522064,
-0.025572000071406364,
0.012880015186965466,
-0.02606087736785412,
0.004146048799157143,
0.004728939849883318,
-0.0078643299639225,
0.018567904829978943,
0.0053729405626654625,
-0.017138881608843803,
0.0012797751696780324,
0.0069570885971188545,
0.034578610211610794,
0.014121009036898613,
0.028881318867206573,
-0.05810108780860901,
-0.04362282529473305,
0.025628410279750824,
-0.05746179074048996,
-0.05546867847442627,
0.03638369217514992,
0.0008149900240823627,
-0.0034761938732117414,
0.06769058853387833,
-0.0021470608189702034,
0.001380841014906764,
0.04068956524133682,
0.022187471389770508,
0.03247268125414848,
0.06471972167491913,
-0.03854602947831154,
-0.03758708015084267,
0.019630270078778267,
-0.008625849150121212,
-0.04527748376131058,
0.021360142156481743,
-0.027433492243289948,
-0.016894442960619926,
-0.03219063580036163,
0.06133519485592842,
0.005452853161841631,
-0.00817927997559309,
-0.03173936530947685,
0.002738178474828601,
-0.1483176052570343,
0.016894442960619926,
0.05945490300655365,
-0.004498603753745556,
0.018906358629465103,
0.011808247305452824,
-0.024387415498495102,
-0.006543423514813185,
-0.0012550964020192623,
0.03358205407857895,
-0.07829544693231583,
-0.021961836144328117,
0.015061155892908573,
-0.018163641914725304,
-0.04971497878432274,
-0.10529647022485733,
0.04362282529473305,
0.032923951745033264,
0.015117565169930458,
-0.015173973515629768,
0.023108815774321556,
-0.003558456664904952,
-0.0523097850382328,
0.0388844832777977,
0.009495485574007034,
0.039072513580322266,
-0.028693288564682007,
-0.02530875988304615,
0.01464749127626419,
0.022131063044071198,
0.025045517832040787,
0.018915759399533272,
-0.03711700811982155,
0.005072093568742275,
0.010134785436093807,
-0.024594247341156006,
-0.004780647810548544,
-0.0038334496784955263,
-0.007521176710724831,
-0.0012950525851920247,
0.009030112996697426,
-0.005081494804471731,
-0.0032928651198744774,
-0.0453903004527092,
-0.010097179561853409,
0.012043284252285957,
-0.001497184275649488,
-0.00520371412858367,
0.013679140247404575,
-0.0038122963160276413,
-0.01285181101411581,
-0.006007540039718151,
-0.04460057616233826,
0.017373917624354362,
0.027546308934688568,
-0.05558149516582489,
-0.00044980162056162953,
0.022074652835726738,
-0.004012077581137419,
-0.007775016129016876,
0.0014713301789015532,
-0.02393614500761032,
0.06118477135896683,
0.03632728382945061,
-0.02463185414671898,
0.007507074624300003,
-0.04493902996182442,
-0.002339791040867567,
0.024199385195970535,
0.030874429270625114,
0.00045920308912172914,
0.037944335490465164,
-0.10093419253826141,
0.036628130823373795,
-0.029896676540374756,
-0.08175519108772278,
0.00036930153146386147,
-0.034183748066425323,
-0.030310342088341713,
-0.018558504059910774,
-0.03493586555123329,
-0.05381402000784874,
-0.029953086748719215,
0.03363846242427826,
-0.004449245985597372,
-0.041704922914505005,
0.014957739971578121,
-0.002364469924941659,
-0.018943963572382927,
-0.010792888700962067,
0.04497663676738739,
0.0001793624396668747,
-0.020946476608514786,
-0.06678804755210876,
-0.012842409312725067,
-0.009739923290908337,
0.017919203266501427,
0.05802587792277336,
-0.019912315532565117,
-0.07385795563459396,
-0.06291463971138,
0.020250767469406128,
0.016903843730688095,
-0.015437214635312557,
-0.07806981354951859,
0.0008273294079117477,
0.07148878276348114,
0.10304012149572372,
0.03768109530210495,
-0.011911663226783276,
0.017909802496433258,
0.006219072733074427,
0.01513636764138937,
0.1304924190044403,
-0.008221586234867573,
0.024255795404314995,
-0.029953086748719215,
0.022676346823573112,
-0.0010576654458418489,
0.041930560022592545,
0.047345805913209915,
0.06738974153995514,
-0.0014654542319476604,
0.019968723878264427,
-0.017232896760106087,
-0.0559951588511467,
-0.0034996974281966686,
0.023560086265206337,
-0.022413106635212898,
-0.004583217203617096,
-0.0035043982788920403,
-0.024067765101790428,
-0.04625523462891579,
-0.006510518491268158,
0.014374848455190659,
0.0003264073166064918,
-0.03170175850391388,
0.004268267657607794,
-0.0154466163367033,
-0.00997496023774147,
0.013321883976459503,
0.019517453387379646,
-0.03986223787069321,
0.01165782380849123,
-0.022450711578130722,
0.009537791833281517,
-0.020965280011296272,
-0.01807902753353119,
0.01818244531750679,
0.027283068746328354,
-0.0023844479583203793,
0.0021505863405764103,
-0.025383971631526947,
-0.01068947184830904,
-0.017524341121315956,
-0.015230382792651653,
0.006256678607314825,
0.013914177194237709,
0.06817946583032608,
0.04166731983423233,
-0.012663780711591244,
0.006073350086808205,
0.010473238304257393,
-0.029332589358091354,
-0.02794117107987404,
-0.02929498255252838,
-0.01071767695248127,
-0.008480126969516277,
-0.04937652498483658,
-0.0038475519977509975,
0.034635018557310104,
-0.0006063948385417461,
0.020777249708771706,
0.02280796878039837,
-0.01773117482662201,
0.017994415014982224,
0.007798519916832447,
-0.04275788739323616,
-0.008578842505812645,
0.0576874241232872,
0.05324992910027504,
0.022488318383693695,
-0.0353495292365551,
-0.0012844759039580822,
0.028129201382398605,
-0.008287396281957626,
0.05644642934203148,
-0.017204690724611282,
-0.02171739749610424,
-0.020438797771930695,
-0.04260746389627457,
0.04644326493144035,
-0.006110955961048603,
-0.03066759742796421,
0.03518030419945717,
0.008188680745661259,
-0.018163641914725304,
-0.00450565479695797,
-0.02656855620443821,
0.0465184785425663,
-0.07483571022748947,
-0.021755004301667213,
0.0229771938174963,
-0.013359489850699902,
-0.021905427798628807,
-0.04629284143447876,
-0.008889090269804,
-0.04020068794488907,
0.009570697322487831,
0.017467932775616646,
-0.027621520683169365,
0.05877799540758133,
0.00678316131234169,
-0.02463185414671898,
-0.05689769983291626,
-0.0625009760260582,
-0.0011904612183570862,
0.017007261514663696,
0.008715162985026836,
-0.05764981731772423,
0.007149818353354931,
-0.019686680287122726,
-0.018943963572382927,
0.016292748972773552,
-0.016734618693590164,
0.019009774550795555,
-0.013688541017472744,
-0.031137671321630478,
0.04952694848179817,
0.04418691247701645,
0.03911011666059494,
-0.02735828049480915,
0.014092804864048958,
-0.0007550556329078972,
-0.03734264150261879,
-0.018257657065987587,
0.0056126778945326805,
-0.08641831576824188,
-0.006204970646649599,
0.0244626272469759,
0.00018788251327350736,
0.01151680201292038,
-0.037944335490465164,
0.04730820283293724,
-0.003929814789444208,
-0.03583840653300285,
0.016725216060876846,
-0.02718905359506607,
-0.04629284143447876,
0.041817743331193924,
0.007652797270566225,
0.04418691247701645,
0.012353532947599888,
-0.03493586555123329,
0.020833659917116165,
0.00665624113753438,
-0.011460392735898495,
0.014459461905062199,
-0.015512426383793354,
0.00786903128027916,
0.0035937121137976646,
-0.02606087736785412,
-0.050993576645851135,
0.017129478976130486,
-0.004987480118870735,
0.03209662064909935,
0.016170529648661613,
0.005904123652726412,
-0.04268267750740051,
0.01989351212978363,
-0.06517099589109421,
0.041704922914505005,
0.011686027981340885,
-0.02592925727367401,
0.006722051650285721,
-0.04663129523396492,
-0.04915088787674904,
0.0017898050136864185,
-0.05136963725090027,
-0.03021632693707943,
-0.07675360888242722,
0.030141115188598633,
0.03328120708465576,
0.03798194229602814,
0.044149305671453476,
0.029313785955309868,
-0.002909755101427436,
-0.016903843730688095,
0.008325002156198025,
-0.04715777561068535,
-0.010802289471030235,
0.06889397650957108,
-0.04362282529473305,
0.06987173110246658,
-0.010764683596789837,
0.08732086420059204,
-0.018229451030492783,
0.02901293896138668,
-0.0989786833524704,
-0.11808247119188309,
-0.06441887468099594,
0.01727050170302391,
-0.029953086748719215,
-0.0682922825217247,
-0.0054669552482664585,
-0.028430048376321793,
-0.01686623878777027,
-0.03869645297527313,
-0.008188680745661259,
0.002811039797961712,
-0.016781626269221306,
-0.0069570885971188545,
0.01022880058735609,
0.047007352113723755,
-0.05050469934940338,
0.019517453387379646,
-0.053212326020002365,
0.1023632138967514,
0.03734264150261879,
0.0053729405626654625,
0.01370734442025423,
-0.01778758317232132,
-0.06381718069314957,
-0.013368891552090645,
-0.029652239754796028,
-0.02777194418013096,
0.01903797872364521,
-0.0011587312910705805,
0.06581029295921326,
-0.02724546194076538,
0.014026994816958904,
0.024763474240899086,
-0.03219063580036163,
-0.047232989221811295,
0.08995327353477478,
-0.014619287103414536,
0.025402773171663284,
-0.014534673653542995,
0.03572558984160423,
0.01228772196918726,
-0.012691985815763474,
-0.013679140247404575,
-0.010764683596789837,
0.004089639987796545,
-0.0015406659804284573,
0.0034315367229282856,
-0.08085265010595322,
0.02149176225066185,
-0.014901331625878811,
-0.06821706891059875,
-0.020626826211810112,
0.017796983942389488,
0.039410967379808426,
0.0063271899707615376,
-0.04475099965929985,
0.07558782398700714,
0.020043935626745224,
0.01499534584581852,
0.04787229001522064,
-0.03209662064909935,
0.052084147930145264,
0.0161893330514431,
-0.013660336844623089,
0.007474169135093689,
0.03185218200087547,
0.0017604253953322768,
-0.04742101952433586,
0.00815577618777752,
0.026606163010001183,
-0.025459183380007744,
-0.06035744398832321,
0.031194079667329788,
0.03721101954579353,
0.05625840276479721,
-0.02758391574025154,
0.006519920192658901,
0.015258586965501308,
-0.012221911922097206,
0.0801757425069809,
0.011620217934250832,
0.0267941914498806,
0.04132886603474617,
0.020495206117630005,
0.031156474724411964,
0.021078096702694893,
0.057386577129364014,
0.04629284143447876,
0.018502093851566315,
0.07562543451786041,
0.01705426722764969,
-0.02194303274154663,
-0.012927022762596607,
0.01739272102713585,
0.04320915788412094,
-0.013096248731017113,
0.005293027963489294,
-0.03677855432033539,
0.012193707749247551,
-0.008357907645404339,
-0.03437177836894989,
-0.05392683669924736,
0.025496788322925568,
0.05832672491669655,
-0.009852741844952106,
0.045916784554719925,
0.06340351700782776,
0.023804524913430214,
-0.04806032031774521,
0.07822023332118988,
0.010426230728626251,
0.014412454329431057,
0.04915088787674904,
0.0400126613676548,
0.029520617797970772,
0.02525234967470169,
-0.002738178474828601,
-0.012691985815763474,
0.016913246363401413,
0.04335958510637283,
-0.022074652835726738,
0.015456018038094044,
-0.07927320152521133,
-0.05919165909290314,
0.002062447601929307,
-0.023447267711162567,
-0.003741785418242216,
-0.09566936641931534,
-0.01206208672374487,
0.028693288564682007,
-0.052761055529117584,
0.02040119096636772,
0.02230028808116913,
0.02246951498091221,
0.022544726729393005,
0.003699478693306446,
0.02382332645356655,
0.023842129856348038,
-0.01927301473915577,
0.02246951498091221,
-0.06735213845968246,
-0.02280796878039837,
0.001686388859525323,
-0.008658754639327526,
0.027828354388475418,
0.08107828348875046,
-0.011112538166344166,
0.09965559095144272,
-0.003060178831219673,
0.0032364563085138798,
-0.006712649948894978,
-0.08055180311203003,
-0.06528381258249283,
-0.03277352824807167,
0.025007912889122963,
0.010012566111981869,
-0.06302746385335922,
-0.022018244490027428,
-0.050993576645851135,
-0.019536256790161133,
-0.034409381449222565,
0.046781718730926514,
0.0412912592291832,
0.02045760117471218,
-0.007779716979712248,
-0.005255422089248896,
-0.010886902920901775,
-0.0018450386123731732,
-0.012889416888356209,
-0.06919482350349426,
0.034747835248708725,
-0.04618002474308014,
0.03448459506034851,
0.022901982069015503,
0.003565507708117366,
-0.011582612060010433,
-0.007713906932622194,
-0.08912594616413116,
-0.038452014327049255,
0.0016476077726110816,
-0.0017686516512185335,
-0.007389556150883436,
-0.030197523534297943,
0.09363865107297897,
-0.015314996242523193,
-0.0008308549877256155,
0.008047658950090408,
0.06092153117060661,
0.0065387231297791,
0.00821218453347683,
-0.022901982069015503,
0.014581681229174137,
0.02508312463760376,
-0.02794117107987404,
-0.02228148654103279,
0.029445406049489975,
0.010021967813372612,
-0.013547519221901894,
0.007967746816575527,
-0.01268258411437273,
-0.02576003037393093,
-0.010313413105905056,
0.008494229055941105,
-0.04550311714410782,
-0.03467262536287308,
-0.04377324879169464,
0.005250721238553524,
0.003675975138321519,
0.011272363364696503,
-0.0003634256136137992,
-0.00500158267095685,
0.003809946123510599,
-0.017129478976130486,
0.055844735354185104,
0.05084315314888954,
0.020438797771930695,
-0.018708927556872368,
-0.016565391793847084,
-0.02371050976216793,
-0.037079401314258575,
0.003699478693306446,
-0.004284720402210951,
0.017740575596690178,
0.020551614463329315,
0.02850526012480259,
-0.011582612060010433,
-0.05422768369317055,
-0.0031729964539408684,
0.031551335006952286,
0.009161733090877533,
-0.014525271952152252,
0.029840268194675446,
0.007779716979712248,
0.005744298454374075,
0.007558782584965229,
-0.03066759742796421,
0.05456613749265671,
0.020532812923192978,
0.026211300864815712,
-0.0012268918799236417,
0.02286437712609768,
0.011140743270516396,
0.011215955018997192,
0.018389277160167694,
0.033544447273015976,
-0.014685097150504589,
-0.08559098839759827,
0.07066145539283752,
0.004009727388620377,
0.03489825874567032,
0.018144838511943817,
-0.005034487694501877,
0.0559951588511467,
-0.02194303274154663,
0.02617369405925274,
0.0675777718424797,
0.03027273528277874,
-0.04264507070183754,
0.04219380021095276,
0.06107195466756821,
0.00729554146528244,
0.054302893579006195,
-0.016772223636507988,
-0.022149864584207535,
-0.01904737949371338,
0.05091836676001549,
0.01499534584581852,
-0.013331285677850246,
0.02423699200153351,
0.013162058778107166,
-0.02530875988304615,
-0.06283943355083466,
-0.07746811956167221,
0.004562063608318567,
0.014318440109491348,
0.03606404364109039,
-0.02797877788543701,
0.01983710378408432,
-0.014309038408100605,
0.028298426419496536,
0.0005479294923134148,
-0.017599552869796753,
-0.03835799917578697,
0.02485748939216137,
0.010670669376850128,
-0.02525234967470169,
0.06690086424350739,
-0.0357067845761776,
-0.020213162526488304,
0.009768128395080566,
-0.014327841810882092,
0.024556642398238182,
-0.00678316131234169,
0.0189815703779459,
0.044713396579027176,
0.07746811956167221,
0.034221354871988297,
-0.0031447920482605696,
0.030855627730488777,
-0.04433733597397804,
0.03267951309680939,
0.0028415946289896965,
-0.020720841363072395,
-0.08987805992364883,
-0.05693530663847923,
-0.03604523837566376,
-0.013754351995885372,
0.03880926966667175,
-0.020213162526488304,
0.01584147848188877,
-0.018774736672639847,
0.03638369217514992
] |
726,069 | penne.delegates | Buffer | A buffer of bytes containing data for an image or a mesh.
Bytes can be stored directly in the buffer with inline_bytes, or they can be stored in a URI with uri_bytes.
The server should create a separate server to host the bytes, and there is support for this in the ByteServer
class. To obtain these bytes, clients would have to make an HTTP request to the URI.
A buffer could store a single attribute, or it could store multiple attributes interleaved together. This is
where buffer views specify how to interpret the buffer.
Attributes:
id: ID for the buffer
name: Name of the buffer
size: Size of the buffer in bytes
inline_bytes: Bytes of the buffer
uri_bytes: URI for the bytes
| class Buffer(Delegate):
"""A buffer of bytes containing data for an image or a mesh.
Bytes can be stored directly in the buffer with inline_bytes, or they can be stored in a URI with uri_bytes.
The server should create a separate server to host the bytes, and there is support for this in the ByteServer
class. To obtain these bytes, clients would have to make an HTTP request to the URI.
A buffer could store a single attribute, or it could store multiple attributes interleaved together. This is
where buffer views specify how to interpret the buffer.
Attributes:
id: ID for the buffer
name: Name of the buffer
size: Size of the buffer in bytes
inline_bytes: Bytes of the buffer
uri_bytes: URI for the bytes
"""
id: BufferID
name: Optional[str] = "Unnamed Buffer Delegate"
size: int
inline_bytes: Optional[bytes] = None
uri_bytes: Optional[str] = None
@model_validator(mode="after")
def one_of(cls, model):
if bool(model.inline_bytes) != bool(model.uri_bytes):
return model
else:
raise ValueError("One plot type must be specified")
| (*, client: object = None, id: penne.delegates.BufferID, name: Optional[str] = 'Unnamed Buffer Delegate', signals: Optional[dict] = {}, size: int, inline_bytes: Optional[bytes] = None, uri_bytes: Optional[str] = None, **extra_data: Any) -> None | [
0.028680279850959778,
-0.08216413110494614,
-0.07455770671367645,
0.015865100547671318,
-0.024858692660927773,
-0.0013274505035951734,
-0.05397992581129074,
0.05820572003722191,
-0.017720775678753853,
-0.023793058469891548,
0.047880083322525024,
-0.004260243382304907,
-0.04339706897735596,
0.0610351637005806,
-0.02484031952917576,
0.0001531563320895657,
0.007477818056941032,
-0.01770240254700184,
0.021937383338809013,
0.005691042169928551,
-0.037664685398340225,
0.011023810133337975,
0.031472980976104736,
0.05008484423160553,
-0.013145893812179565,
0.053391989320516586,
0.010693096555769444,
-0.0049147820100188255,
0.022819288074970245,
0.022727422416210175,
-0.0028133683372288942,
-0.10935620218515396,
0.039832703769207,
0.0363418273627758,
-0.014285021461546421,
-0.010445060208439827,
0.024472858756780624,
0.09708302468061447,
-0.06033698841929436,
-0.07213246822357178,
-0.007096577901393175,
-0.03305305913090706,
0.05647865682840347,
0.006664812099188566,
0.006063095759600401,
0.020228693261742592,
-0.028367938473820686,
0.05052579939365387,
-0.06548143178224564,
-0.029047740623354912,
-0.004655263386666775,
0.01116160862147808,
-0.008938472718000412,
0.028588416054844856,
0.006655625533312559,
0.007638582028448582,
0.01840057782828808,
0.12089445441961288,
-0.046006035059690475,
0.04795357584953308,
-0.05930810049176216,
0.004483016207814217,
0.0774606391787529,
-0.0978914350271225,
-0.005093919113278389,
-0.06489349901676178,
-0.015736490488052368,
-0.015975339338183403,
0.006527014542371035,
0.03689301759004593,
-0.006724524311721325,
0.004469236359000206,
0.005966637283563614,
0.05262032151222229,
-0.0036539339926093817,
-0.055302783846855164,
0.014404445886611938,
0.10847429931163788,
0.009903056547045708,
-0.008782302029430866,
0.06419532001018524,
0.006531607825309038,
-0.011271846480667591,
-0.06415858119726181,
-0.012925418093800545,
-0.05070952698588371,
-0.012750874273478985,
0.03308980539441109,
-0.011519881896674633,
-0.01620500162243843,
-0.031509723514318466,
-0.005819653160870075,
-0.009664207696914673,
0.010812520980834961,
-0.02083500288426876,
-0.05140770226716995,
0.0006378882098942995,
0.005686448886990547,
-0.00778556615114212,
0.026438772678375244,
-0.0707361176609993,
0.027045082300901413,
-0.04214770346879959,
0.01336637046188116,
-0.05860992521047592,
-0.012778433971107006,
0.00916354265064001,
-0.031509723514318466,
-0.029047740623354912,
0.010399128310382366,
0.020632898434996605,
0.02296627126634121,
-0.03428405150771141,
0.03433917090296745,
-0.017206331714987755,
0.032079290598630905,
-0.0627254843711853,
-0.010490993037819862,
-0.017518673092126846,
-0.024564724415540695,
-0.017932064831256866,
0.0744842141866684,
-0.060888178646564484,
0.04192722588777542,
0.006568353623151779,
0.03715024143457413,
0.07198548316955566,
-0.02676948718726635,
-0.029029367491602898,
-0.03803214803338051,
-0.04031040146946907,
0.03505571931600571,
-0.008364316076040268,
0.08194366097450256,
0.035919249057769775,
0.057801514863967896,
0.001595007604919374,
-0.02331535890698433,
-0.06228452920913696,
0.046042781323194504,
0.02708182856440544,
0.05350222811102867,
0.0600062757730484,
-0.007101171184331179,
-0.021367819979786873,
0.0012849628692492843,
0.027798375114798546,
-0.10310937464237213,
-0.03935500234365463,
-0.0075742765329778194,
-0.02065127156674862,
-0.006563760340213776,
0.04997460916638374,
0.06720849871635437,
0.011170794256031513,
0.04141278192400932,
-0.049276433885097504,
-0.00876852311193943,
0.013981866650283337,
0.0098938699811697,
-0.02594269998371601,
0.011777103878557682,
0.006554574239999056,
-0.016544902697205544,
-0.023572580888867378,
0.007197629660367966,
-0.04475666955113411,
-0.051554687321186066,
-0.031252503395080566,
0.03843635320663452,
-0.009838750585913658,
-0.005057173315435648,
-0.011189167387783527,
0.05012159049510956,
-0.0035942215472459793,
0.059638816863298416,
-0.017013413831591606,
0.0054430062882602215,
0.012475279159843922,
-0.0280004795640707,
0.0764317512512207,
-0.00008440105011686683,
-0.010454246774315834,
0.053612466901540756,
0.019659128040075302,
0.001373383100144565,
0.011510695330798626,
-0.01414722390472889,
0.06066770479083061,
-0.023995161056518555,
-0.009912243112921715,
0.0637543722987175,
0.03343889117240906,
-0.03402682766318321,
-0.03145460784435272,
-0.043838020414114,
0.04471992328763008,
-0.03542317822575569,
-0.010371568612754345,
0.028184209018945694,
-0.029801035299897194,
-0.05122397467494011,
0.006908254697918892,
0.004855069797486067,
-0.0637543722987175,
-0.011575001291930676,
0.03308980539441109,
0.021073851734399796,
-0.08966032415628433,
0.017977997660636902,
0.00251021352596581,
0.004315362311899662,
0.01617744192481041,
0.06456278264522552,
0.060153260827064514,
-0.05239984765648842,
-0.03479849547147751,
0.05864667147397995,
0.003467906964942813,
-0.019493771716952324,
0.11913064867258072,
-0.013035655952990055,
-0.015414961613714695,
0.03869357332587242,
-0.024656590074300766,
-0.029617303982377052,
0.037315599620342255,
-0.0017454366898164153,
0.026751114055514336,
-0.0435807965695858,
0.0045909578911960125,
0.005374107509851456,
0.0035069496370851994,
0.024821946397423744,
0.03095853514969349,
0.0017247670330107212,
0.014698414131999016,
-0.003552882233634591,
-0.047843337059020996,
0.0065178279764950275,
0.01969587430357933,
-0.005718601867556572,
0.015708930790424347,
-0.02344397082924843,
0.019052818417549133,
-0.025795716792345047,
0.03869357332587242,
0.020541032776236534,
-0.049460165202617645,
-0.03422893211245537,
-0.009994921274483204,
0.008740963414311409,
-0.02506079524755478,
-0.045087385922670364,
0.023958414793014526,
-0.04883548244833946,
-0.05372270196676254,
-0.08142921328544617,
0.0056267366744577885,
-0.0017913691699504852,
-0.042772386223077774,
0.00539248064160347,
0.007519157603383064,
0.0567726232111454,
0.0627254843711853,
0.01896095462143421,
-0.0435807965695858,
-0.0060676890425384045,
-0.019181430339813232,
0.07672572135925293,
0.09847937524318695,
0.04633675143122673,
0.008842014707624912,
-0.012631449848413467,
0.001220657373778522,
-0.05166492611169815,
0.02454635128378868,
0.04986437037587166,
0.04747587814927101,
-0.017426807433366776,
-0.013403116725385189,
-0.042257942259311676,
0.004398040939122438,
-0.033163297921419144,
0.036525558680295944,
-0.024730082601308823,
0.025483375415205956,
0.012916231527924538,
-0.0035482889506965876,
-0.05449436977505684,
0.042992860078811646,
0.02743091620504856,
-0.032465122640132904,
-0.03204254433512688,
-0.01735331490635872,
0.00949885044246912,
-0.03781167045235634,
0.039061035960912704,
0.061071909964084625,
-0.04427897185087204,
-0.02908448688685894,
-0.02122083492577076,
0.1000962033867836,
0.03180369362235069,
-0.025079168379306793,
-0.043213337659835815,
0.005047986749559641,
-0.01973262056708336,
0.012438532896339893,
-0.01035319548100233,
0.05916111543774605,
0.021772025153040886,
-0.016159068793058395,
-0.004896409343928099,
0.02921309880912304,
0.051775164902210236,
0.03865683078765869,
0.042037464678287506,
0.003247430780902505,
0.053391989320516586,
-0.03654393181204796,
0.0009197992039844394,
-0.03160158917307854,
-0.02480357326567173,
-0.006219266448169947,
0.0337512344121933,
0.045050639659166336,
-0.01617744192481041,
-0.05346548184752464,
0.0640115961432457,
-0.03048083558678627,
0.037278853356838226,
0.006876101717352867,
0.009113016538321972,
-0.03038897179067135,
-0.019512144848704338,
-0.011868969537317753,
0.010637977160513401,
0.023646073415875435,
-0.032906074076890945,
0.04729214683175087,
-0.04872524365782738,
-0.0014330954290926456,
0.03092178888618946,
-0.0008641059976071119,
-0.03022361360490322,
-0.01775752194225788,
-0.02790861390531063,
0.05835270509123802,
0.05633167177438736,
-0.0028983436059206724,
-0.008194365538656712,
-0.012401786632835865,
-0.001947539858520031,
0.05533953011035919,
-0.02825770154595375,
-0.02559361420571804,
-0.026255041360855103,
-0.041559766978025436,
0.0021703126840293407,
-0.0017511782934889197,
0.023076510056853294,
0.0015169222606346011,
-0.008428622037172318,
-0.046006035059690475,
0.019181430339813232,
0.04027365520596504,
-0.011997580528259277,
0.02454635128378868,
0.006830169353634119,
-0.024399368092417717,
0.014285021461546421,
-0.06419532001018524,
0.021367819979786873,
0.009489663876593113,
-0.006145774386823177,
-0.022157859057188034,
0.019769366830587387,
-0.014578989706933498,
-0.0007584611303173006,
-0.019806113094091415,
-0.01379813626408577,
0.05633167177438736,
0.021037105470895767,
0.011299406178295612,
0.02772488445043564,
-0.011372897773981094,
0.002310406882315874,
-0.040016431361436844,
0.013017282821238041,
0.05548651143908501,
-0.06261524558067322,
-0.039318256080150604,
-0.0050112404860556126,
-0.0567726232111454,
-0.029378455132246017,
0.020816629752516747,
0.07995937019586563,
-0.022782541811466217,
-0.03327353671193123,
-0.026218296959996223,
-0.034559644758701324,
-0.061770085245370865,
0.05199563875794411,
-0.016324426978826523,
0.029727542772889137,
0.057875003665685654,
0.022415081039071083,
-0.027045082300901413,
0.0023172968067228794,
0.06496699154376984,
-0.03026035986840725,
-0.017334941774606705,
-0.004717272240668535,
0.04916619509458542,
0.011281033046543598,
0.014836211688816547,
-0.07000119984149933,
0.00288226711563766,
0.03342051804065704,
0.010977878235280514,
0.08877842128276825,
0.03454127162694931,
-0.014523870311677456,
0.03777492418885231,
-0.005879365839064121,
-0.0016891693230718374,
0.01943865232169628,
0.03286932781338692,
0.033696115016937256,
0.0011586484033614397,
-0.038142383098602295,
-0.007725853938609362,
-0.05846294388175011,
-0.03514758124947548,
0.01535065658390522,
0.012208870612084866,
-0.03669091686606407,
0.012631449848413467,
0.02629178762435913,
0.013678711839020252,
0.0038904864341020584,
0.024050280451774597,
0.01566299796104431,
-0.030756430700421333,
-0.05280405282974243,
0.0023586361203342676,
0.02109222486615181,
-0.03204254433512688,
-0.017959624528884888,
0.0400899238884449,
0.01041750144213438,
0.054090164601802826,
-0.03549667075276375,
0.001538740238174796,
-0.044389210641384125,
0.008731776848435402,
-0.07103008776903152,
-0.03275908902287483,
0.010270516388118267,
-0.00804278813302517,
0.008479147218167782,
-0.03320004418492317,
-0.07804857939481735,
-0.040457386523485184,
0.003957088571041822,
0.060630958527326584,
-0.008649097755551338,
-0.0031188197899609804,
0.010031667537987232,
0.03542317822575569,
-0.03428405150771141,
0.00750078447163105,
-0.019879605621099472,
0.02096361294388771,
0.017261449247598648,
0.04148627445101738,
0.03308980539441109,
-0.06757596135139465,
-0.06926627457141876,
-0.03105039894580841,
-0.040457386523485184,
-0.036525558680295944,
0.002806478412821889,
-0.005948264617472887,
0.06548143178224564,
0.017895318567752838,
0.006935813929885626,
0.04431571811437607,
0.03777492418885231,
-0.0640115961432457,
0.05556000396609306,
-0.05048905313014984,
-0.023205121979117393,
0.016214188188314438,
0.079665407538414,
0.052289608865976334,
0.03795865550637245,
-0.023995161056518555,
-0.023462343961000443,
0.00723896874114871,
-0.08723508566617966,
-0.011933274567127228,
-0.08708810061216354,
0.00015157739107962698,
-0.05802198871970177,
-0.012456906028091908,
0.0034908733796328306,
-0.017803454771637917,
0.008006042800843716,
-0.04920294135808945,
0.03286932781338692,
-0.006338690873235464,
0.04365428909659386,
-0.013788949698209763,
0.013357183896005154,
-0.009103829972445965,
-0.02458309754729271,
-0.05879365652799606,
-0.04721865430474281,
0.026346907019615173,
0.09304095804691315,
0.0265122652053833,
-0.07393302023410797,
-0.007523750886321068,
-0.029157979413866997,
-0.032428376376628876,
-0.05699310079216957,
0.05717683210968971,
-0.025556867942214012,
0.03274071589112282,
0.02812908962368965,
0.034210558980703354,
0.04677770286798477,
0.024564724415540695,
-0.02375631220638752,
0.04178024083375931,
0.015240417793393135,
-0.045087385922670364,
-0.022727422416210175,
-0.02886401116847992,
-0.003169345436617732,
-0.04064111411571503,
-0.0774606391787529,
0.01938353292644024,
0.011648492887616158,
0.03920802101492882,
0.014275834895670414,
0.02362770028412342,
-0.028845638036727905,
-0.0372421070933342,
-0.026916470378637314,
0.023223495110869408,
-0.04075135290622711,
-0.017481926828622818,
0.015837540850043297,
0.01589266024529934,
-0.012117004953324795,
0.006233046296983957,
-0.0034839834552258253,
-0.02039404958486557,
0.019052818417549133,
0.02008170820772648,
0.04163325950503349,
0.010426687076687813,
0.030444089323282242,
0.040494129061698914,
0.021239208057522774,
0.026530638337135315,
-0.03799540176987648,
0.0024114586412906647,
0.03193230554461479,
-0.009067084640264511,
-0.007298681419342756,
0.04721865430474281,
0.007289494853466749,
-0.026365280151367188,
0.005112292245030403,
-0.018575120717287064,
-0.016517342999577522,
0.03114226460456848,
0.05115048214793205,
-0.024178890511393547,
-0.03817912936210632,
0.013504168018698692,
0.017775895074009895,
-0.03048083558678627,
0.03887730464339256,
-0.020853374153375626,
0.01113404892385006,
0.0012562550837174058,
0.023793058469891548,
-0.031160637736320496,
-0.012061886489391327,
0.008051974698901176,
0.04821079969406128,
-0.04108206555247307,
-0.02746766060590744,
-0.022543692961335182,
0.00477239117026329,
-0.003943308722227812,
0.015938593074679375,
-0.03968571871519089,
0.0014985492452979088,
0.03518432751297951,
-0.02899262122809887,
-0.07378603518009186,
0.030021511018276215,
-0.02039404958486557,
-0.04931318014860153,
-0.004391151014715433,
0.048798736184835434,
-0.002244953066110611,
-0.014578989706933498,
-0.029709169641137123,
-0.05397992581129074,
-0.03213440626859665,
0.047843337059020996,
-0.0034058981109410524,
0.05982254445552826,
0.03340214490890503,
0.00613658782094717,
0.007859058678150177,
-0.014569803141057491,
-0.03320004418492317,
-0.009278373792767525,
-0.007431885693222284,
-0.03520270064473152,
-0.004763204604387283,
-0.026934843510389328,
0.006651032250374556,
0.011795477010309696,
0.041376035660505295,
0.011170794256031513,
0.028808891773223877,
-0.04119230434298515,
-0.01925492286682129,
0.03332865238189697,
0.02908448688685894,
0.019291669130325317,
0.02048591524362564,
-0.00360800139605999,
-0.008424028754234314,
-0.03494548052549362,
-0.0019877308513969183,
0.04005317762494087,
0.025740597397089005,
-0.008506706915795803,
0.02785349451005459,
-0.010408314876258373,
-0.02147805690765381,
0.016765378415584564,
-0.005369514226913452,
-0.0328509546816349,
0.06467302143573761,
0.10200699418783188,
0.005126072093844414,
-0.020118454471230507,
0.017674842849373817,
-0.007505377754569054,
0.0026571976486593485,
-0.009774445556104183,
0.058095481246709824,
-0.031730201095342636,
-0.04200071841478348,
0.0007062128861434758,
-0.018887462094426155,
-0.011078929528594017,
0.034210558980703354,
0.02965405024588108,
-0.047181908041238785,
0.021165715530514717,
-0.072426438331604,
-0.04174349457025528,
0.01899770088493824,
-0.01572730392217636,
-0.004901002626866102,
-0.02204762026667595,
-0.037480954080820084,
-0.02908448688685894,
0.01176791824400425,
-0.0000024581088382547023,
-0.031197383999824524,
0.039538733661174774,
-0.016388731077313423,
0.011519881896674633,
0.02493218518793583,
0.011666866019368172,
0.035478297621011734,
-0.04934992641210556,
0.02654900960624218,
0.00279040215536952,
0.09157112240791321,
-0.01604883000254631,
-0.027008336037397385,
-0.060373734682798386,
-0.0254098828881979,
-0.05820572003722191,
-0.04968063905835152,
-0.027743255719542503,
0.009857123717665672,
-0.03073805756866932,
-0.040494129061698914,
0.00310503994114697,
0.01187815610319376,
0.023168375715613365,
-0.05927135422825813,
-0.001913090469315648,
0.011023810133337975,
-0.019971469417214394,
0.006733710877597332,
0.02877214550971985,
0.03575389087200165,
-0.004205124452710152,
-0.014138037338852882,
0.014560616575181484,
-0.009829564020037651,
0.023829804733395576,
0.0005873623886145651,
0.06415858119726181,
-0.06180683150887489,
0.03209766000509262,
0.05556000396609306,
0.03571714460849762,
-0.019016074016690254,
-0.0064718956127762794,
-0.03917127475142479,
0.0015640031779184937,
-0.001584672718308866,
-0.015405775047838688,
0.05835270509123802,
0.019291669130325317,
-0.04585905373096466,
-0.017013413831591606,
0.004620813764631748,
-0.02055940590798855,
0.005103105679154396,
-0.08209064602851868,
0.011382084339857101,
0.03342051804065704,
-0.018290339037775993,
-0.022892780601978302,
0.014092104509472847,
0.029029367491602898,
-0.046520479023456573,
0.00301317498087883,
0.03402682766318321,
0.0497908778488636,
-0.003353075822815299,
-0.029892899096012115,
0.05673587694764137,
0.03132599592208862,
-0.025832463055849075,
0.03182206675410271,
0.07628476619720459,
-0.06651032716035843,
0.004650670103728771,
-0.0024918406270444393,
-0.02331535890698433,
-0.04288262128829956,
-0.017426807433366776,
0.011997580528259277,
0.02401353418827057,
-0.01465248130261898,
-0.05034206807613373,
-0.004786171019077301,
-0.051811911165714264,
0.059932783246040344
] |
726,086 | penne.delegates | __str__ | null | def __str__(self):
return f"{self.name} - {type(self).__name__} - {self.id.compact_str()}"
| (self) | [
-0.024132899940013885,
-0.028938734903931618,
0.0491301566362381,
-0.0032197367399930954,
0.03291478380560875,
-0.06126575544476509,
0.031186068430542946,
-0.016120292246341705,
0.038031790405511856,
-0.07143061608076096,
-0.06741999089717865,
-0.021920140832662582,
-0.03464350476861,
0.015981994569301605,
0.022352321073412895,
0.0025152843445539474,
-0.037271153181791306,
-0.043909430503845215,
0.01801323890686035,
0.0018065100302919745,
0.030581016093492508,
0.044600918889045715,
0.0331222303211689,
-0.030719313770532608,
0.005371990147978067,
0.06354766339063644,
-0.002718408592045307,
-0.017641564831137657,
-0.022767212241888046,
-0.0018518888391554356,
-0.01903318241238594,
-0.04819665104150772,
-0.0018011077772825956,
-0.006409220863133669,
-0.054592907428741455,
-0.0034401481971144676,
-0.06434287130832672,
0.058638107031583786,
-0.07468060404062271,
-0.021505247801542282,
0.01917148008942604,
0.031186068430542946,
-0.048162076622247696,
-0.038100939244031906,
-0.04304507002234459,
-0.02956107258796692,
0.03346797451376915,
0.016180798411369324,
-0.022058438509702682,
-0.016872284933924675,
0.008306488394737244,
0.02136695198714733,
-0.04218071326613426,
0.00046216187183745205,
-0.04819665104150772,
-0.02026057243347168,
0.031721971929073334,
-0.020658176392316818,
-0.011314457282423973,
0.05210355296730995,
-0.044047728180885315,
0.008107686415314674,
0.03168739750981331,
-0.027763206511735916,
-0.0162845216691494,
-0.030788462609052658,
-0.01567082665860653,
0.039795082062482834,
0.0016401209868490696,
0.06029767543077469,
0.04937217757105827,
-0.061922669410705566,
0.02115950547158718,
0.061507776379585266,
0.02888687327504158,
-0.04169667139649391,
-0.039587635546922684,
-0.011262595653533936,
0.036925408989191055,
-0.02012227475643158,
0.01725260354578495,
-0.03300122171640396,
-0.04881898686289787,
-0.005804169923067093,
-0.02745203673839569,
-0.05932959169149399,
0.0018281190423294902,
-0.047332290560007095,
-0.07882952690124512,
-0.021799130365252495,
-0.022611627355217934,
0.024132899940013885,
-0.048507820814847946,
0.05324450507760048,
-0.04591474309563637,
-0.0342286117374897,
0.011003288440406322,
-0.03879242762923241,
0.025775181129574776,
0.03910359367728233,
0.00745941698551178,
-0.012481342069804668,
-0.036925408989191055,
-0.007891596294939518,
-0.04218071326613426,
-0.03875785320997238,
-0.030961334705352783,
0.008176835253834724,
-0.0073816245421767235,
0.025239279493689537,
-0.001397020067088306,
0.048646118491888046,
-0.007148247677832842,
-0.02046801708638668,
0.037962641566991806,
-0.061507776379585266,
0.003120335517451167,
0.020502591505646706,
0.043701983988285065,
-0.04480836167931557,
0.019551796838641167,
-0.021522535011172295,
-0.05269131809473038,
-0.0085225785151124,
-0.009507947601377964,
0.05939874053001404,
-0.057185981422662735,
-0.026535816490650177,
0.03536956384778023,
-0.06669393181800842,
0.006089408416301012,
-0.014002613723278046,
-0.04484293609857559,
0.015376944094896317,
0.09473372995853424,
-0.008137938566505909,
0.011141586117446423,
0.0645848959684372,
0.025861617177724838,
0.16166968643665314,
-0.02472066320478916,
-0.012706074863672256,
0.01752055436372757,
0.030926760286092758,
-0.012610996142029762,
-0.007653897628188133,
-0.0027465003076940775,
0.064308300614357,
-0.03651051968336105,
-0.026846986263990402,
0.0361647754907608,
0.027832355350255966,
0.027192730456590652,
0.033502548933029175,
-0.004779904615134001,
0.034176748245954514,
-0.033035796135663986,
-0.0339520163834095,
0.021591683849692345,
-0.050962597131729126,
-0.011331744492053986,
-0.04435889795422554,
0.04854239523410797,
-0.015178142115473747,
0.012723362073302269,
0.014642239548265934,
0.02497997134923935,
-0.010251295752823353,
0.029612934216856956,
0.029042458161711693,
-0.03393472731113434,
-0.0347818024456501,
-0.027002571150660515,
0.05241472274065018,
-0.029215330258011818,
0.06423915177583694,
0.004753973800688982,
0.05182695761322975,
0.0033601950854063034,
-0.024478642269968987,
0.017209384590387344,
-0.025481298565864563,
-0.01283572893589735,
0.012861659750342369,
0.08007420599460602,
-0.05255302041769028,
0.0263629462569952,
-0.00612398236989975,
0.0687338188290596,
-0.0085225785151124,
-0.011115655303001404,
0.010527891106903553,
-0.023994602262973785,
0.019050469622015953,
-0.023510560393333435,
-0.029336340725421906,
-0.004555171355605125,
-0.09431883692741394,
0.01963823288679123,
-0.004684824962168932,
-0.0015342369442805648,
0.052864186465740204,
-0.024616939947009087,
0.010735336691141129,
0.02696799673140049,
0.018877597525715828,
0.04318336769938469,
0.004952776245772839,
0.018722012639045715,
-0.024132899940013885,
0.033779144287109375,
0.025066407397389412,
-0.017771217972040176,
0.04093603417277336,
0.05628705024719238,
-0.06717797368764877,
-0.0026449381839483976,
-0.04511953145265579,
0.0032154149375855923,
0.039380189031362534,
0.0726061463356018,
-0.02169540710747242,
0.0031419445294886827,
-0.02511826902627945,
-0.05929501727223396,
-0.023164818063378334,
0.018307121470570564,
-0.02964750863611698,
0.007087742909789085,
-0.0034271827898919582,
0.01970738172531128,
-0.047193992882966995,
-0.050616856664419174,
0.04906100779771805,
-0.037824343889951706,
0.04888813570141792,
-0.05480035021901131,
-0.031652823090553284,
-0.04563814774155617,
-0.04325251653790474,
-0.030096976086497307,
0.019655520096421242,
0.022680776193737984,
0.02155710943043232,
0.035213980823755264,
-0.04937217757105827,
-0.014460723847150803,
0.030235273763537407,
-0.018324408680200577,
-0.047608885914087296,
0.036579668521881104,
-0.04031369835138321,
-0.01030315738171339,
0.013086393475532532,
0.012299826368689537,
-0.08456887304782867,
-0.06565669924020767,
-0.0067765736021101475,
-0.00533741619437933,
0.001221987302415073,
-0.053832270205020905,
-0.021470673382282257,
-0.02978580631315708,
0.03689083456993103,
-0.008397246710956097,
-0.037202004343271255,
-0.06126575544476509,
0.00845342967659235,
-0.002136046765372157,
-0.006837078835815191,
0.12273895740509033,
-0.019275203347206116,
-0.07855293154716492,
0.04629506170749664,
-0.049787070602178574,
-0.05832693725824356,
-0.017226671800017357,
0.016656195744872093,
-0.11084537953138351,
-0.05618332698941231,
-0.02409832552075386,
-0.02465151436626911,
0.023856304585933685,
-0.007148247677832842,
0.025135556235909462,
-0.041247203946113586,
0.02976851910352707,
0.022888222709298134,
-0.000950254499912262,
0.012688788585364819,
0.033035796135663986,
0.03087489865720272,
-0.020986633375287056,
0.018393557518720627,
0.014771892689168453,
0.007502635009586811,
0.01956908404827118,
0.04498123377561569,
-0.00831513199955225,
-0.014815110713243484,
-0.03448791801929474,
0.02176455594599247,
0.04387485608458519,
-0.030909473076462746,
-0.05611417815089226,
-0.03457435593008995,
-0.02757304720580578,
-0.009170847944915295,
0.024288484826683998,
0.005933823529630899,
-0.01269743125885725,
0.02136695198714733,
0.004410391207784414,
0.08408483117818832,
0.015169498510658741,
0.08878694474697113,
-0.047954630106687546,
-0.00691487081348896,
0.025636883452534676,
0.09079225361347198,
-0.023631570860743523,
-0.0036929731722921133,
-0.02019142359495163,
0.050478558987379074,
0.031168781220912933,
-0.037755195051431656,
-0.051031745970249176,
0.03689083456993103,
0.010190791450440884,
0.04567272216081619,
-0.028662139549851418,
-0.048507820814847946,
0.01896403357386589,
0.0014845363330096006,
-0.009265926666557789,
-0.01868743821978569,
0.03448791801929474,
-0.0029669117648154497,
-0.024115612730383873,
0.007005628664046526,
0.07889867573976517,
0.010951426811516285,
-0.008150904439389706,
0.024392208084464073,
-0.024461355060338974,
0.033381540328264236,
-0.01471138745546341,
0.0171834547072649,
0.03682168945670128,
-0.009144917130470276,
-0.0016012247651815414,
-0.06002108007669449,
0.02791879139840603,
-0.020761899650096893,
0.016180798411369324,
0.007463738787919283,
0.012014588341116905,
0.040624868124723434,
-0.04280305281281471,
0.026725975796580315,
0.006875974591821432,
-0.07744655758142471,
0.03512754291296005,
-0.005363346543163061,
-0.011426824145019054,
0.015731330960989,
0.0180823877453804,
-0.01696736365556717,
0.04238815978169441,
-0.04228443652391434,
-0.060608845204114914,
0.025913478806614876,
-0.022352321073412895,
-0.043148793280124664,
-0.042872197926044464,
0.08214866369962692,
0.02990681678056717,
0.03613020107150078,
-0.05722055584192276,
-0.062925323843956,
0.027261879295110703,
-0.019465360790491104,
0.03239617124199867,
0.05974448472261429,
-0.03896529600024223,
0.03393472731113434,
0.01451258547604084,
0.0003730248718056828,
-0.009948770515620708,
0.011262595653533936,
-0.009836403653025627,
-0.03536956384778023,
-0.014097693376243114,
0.004684824962168932,
-0.012706074863672256,
-0.06209554150700569,
0.021920140832662582,
-0.026466667652130127,
-0.03920731693506241,
0.002160897245630622,
0.01944807358086109,
-0.04861154407262802,
0.02759033441543579,
0.006936479825526476,
-0.011867647059261799,
0.02717544324696064,
0.034539781510829926,
-0.008621979504823685,
-0.01799595169723034,
-0.011487329378724098,
0.021850991994142532,
-0.024962684139609337,
-0.03730572760105133,
-0.030632877722382545,
0.08685077726840973,
0.00744645157828927,
-0.02136695198714733,
0.002673029899597168,
0.008911539800465107,
-0.016950076445937157,
-0.02772863209247589,
0.06921786069869995,
0.013103680685162544,
0.06811147928237915,
-0.03654509410262108,
0.021868279203772545,
0.004477378912270069,
0.06434287130832672,
0.06890668720006943,
0.01608571782708168,
-0.002956107258796692,
0.0162845216691494,
0.02122865431010723,
0.004814479034394026,
0.05196525529026985,
-0.04543070122599602,
0.05528439208865166,
-0.030200699344277382,
-0.02791879139840603,
0.05894927307963371,
0.024876248091459274,
-0.05860353261232376,
-0.0002882096450775862,
-0.0005699366447515786,
-0.007891596294939518,
-0.031462661921978,
-0.05448918417096138,
0.027123581618070602,
0.03108234517276287,
0.030200699344277382,
0.04266475513577461,
0.02833368442952633,
-0.020969346165657043,
-0.044739216566085815,
0.014953408390283585,
-0.058430660516023636,
-0.008060146123170853,
-0.0259480532258749,
0.009862334467470646,
-0.028990596532821655,
-0.06907956302165985,
0.042872197926044464,
-0.01650061085820198,
0.054108865559101105,
0.01376059278845787,
-0.010562465526163578,
0.008012606762349606,
0.00035060555092059076,
-0.06154235079884529,
-0.006767929997295141,
0.028765862807631493,
0.026380233466625214,
-0.0342286117374897,
-0.005393599160015583,
-0.034055739641189575,
0.07716996222734451,
-0.023493273183703423,
-0.030909473076462746,
-0.03592275455594063,
-0.0167685616761446,
-0.030840324237942696,
-0.06662478297948837,
-0.018047813326120377,
0.043079644441604614,
0.007882952690124512,
0.027555759996175766,
0.015376944094896317,
0.03263819217681885,
-0.013025888241827488,
0.009689463302493095,
0.03813551366329193,
0.03319137915968895,
-0.06773115694522858,
-0.02942277491092682,
0.0004111106973141432,
0.016198085620999336,
-0.028938734903931618,
-0.0316009595990181,
-0.07468060404062271,
0.033779144287109375,
0.02095205895602703,
-0.030079688876867294,
0.016733987256884575,
-0.016474679112434387,
0.06181894615292549,
-0.02368343248963356,
0.028592990711331367,
0.021608971059322357,
-0.011262595653533936,
-0.02271535061299801,
0.026241935789585114,
-0.06489606201648712,
0.04632963612675667,
-0.00618016580119729,
-0.0038463969249278307,
0.001372169703245163,
0.0018540497403591871,
0.000794129678979516,
-0.003684329567477107,
0.04570729658007622,
-0.002039887011051178,
0.002783235628157854,
-0.051031745970249176,
0.012896234169602394,
-0.017641564831137657,
0.03785891830921173,
-0.036856260150671005,
0.026466667652130127,
-0.030632877722382545,
0.08532951027154922,
0.0035611584316939116,
0.020986633375287056,
-0.0008611174998804927,
0.029612934216856956,
-0.020485304296016693,
0.08823375403881073,
-0.09321246296167374,
-0.01013028621673584,
0.006733355578035116,
0.016258589923381805,
0.024461355060338974,
0.0013332735979929566,
-0.0061931312084198,
-0.035213980823755264,
-0.0024094004184007645,
-0.04688282310962677,
-0.013406205922365189,
0.05694396048784256,
0.02888687327504158,
-0.008444786071777344,
0.034660790115594864,
-0.02257705293595791,
-0.014296495355665684,
-0.03889614716172218,
-0.03637222200632095,
0.04176582023501396,
-0.0029820380732417107,
0.005367668345570564,
0.013328413479030132,
0.02511826902627945,
-0.015074418857693672,
0.025982627645134926,
0.09127629548311234,
0.006586414761841297,
0.04702112078666687,
0.039241891354322433,
0.013743305578827858,
-0.011513260193169117,
-0.007602035999298096,
-0.021850991994142532,
-0.023441411554813385,
-0.058568958193063736,
0.0353349894285202,
0.04477379098534584,
-0.061369478702545166,
0.02093477174639702,
0.013440780341625214,
0.03239617124199867,
-0.01752919703722,
0.034608930349349976,
-0.0361647754907608,
0.034453343600034714,
-0.015765905380249023,
-0.028160812333226204,
-0.040071677416563034,
0.01773664355278015,
-0.02155710943043232,
-0.009093055501580238,
0.056840237230062485,
-0.04702112078666687,
-0.030338997021317482,
-0.015385587699711323,
0.0010739659192040563,
0.011971370317041874,
0.06078171357512474,
-0.015593034215271473,
0.008937470614910126,
-0.039656784385442734,
0.0003206231049261987,
-0.0051947967149317265,
0.037616897374391556,
0.012299826368689537,
0.015022557228803635,
0.06534553319215775,
0.053002484142780304,
0.009525234811007977,
-0.0017524876166135073,
0.033104944974184036,
-0.05632162466645241,
0.010622970759868622,
-0.03730572760105133,
0.017606990411877632,
0.0016746952896937728,
-0.000899473438039422,
-0.011374962516129017,
-0.06043597310781479,
0.0322924479842186,
0.004598389379680157,
-0.03327781707048416,
-0.024063751101493835,
-0.002307838061824441,
0.05946788936853409,
-0.04145465046167374,
0.038377534598112106,
-0.032845638692379,
0.02347598597407341,
-0.019655520096421242,
-0.02136695198714733,
0.036717966198921204,
-0.07170721143484116,
0.005570793058723211,
0.014210059307515621,
-0.012732005678117275,
-0.04470464214682579,
-0.02300923317670822,
-0.01125395204871893,
0.011876290664076805,
0.02854112908244133,
-0.04435889795422554,
0.01566218212246895,
-0.0012457572156563401,
-0.010890921577811241,
-0.09355820715427399,
0.02409832552075386,
-0.04173124581575394,
0.02074461244046688,
-0.04197326675057411,
-0.08270185440778732,
-0.00028118674526922405,
-0.05099717155098915,
-0.06368596106767654,
0.02053716592490673,
0.006344394292682409,
0.00845775194466114,
0.04560357332229614,
0.006875974591821432,
-0.044531770050525665,
-0.00111610337626189,
-0.02129780314862728,
-0.007087742909789085,
0.020589027553796768,
-0.05030568689107895,
0.003753478405997157,
-0.04570729658007622,
0.030425431206822395,
0.014763249084353447,
-0.02745203673839569,
-0.03153181076049805,
0.022265885025262833,
-0.007835413329303265,
-0.006478369701653719,
0.04563814774155617,
0.00883374735713005,
-0.051654085516929626,
-0.08671247959136963,
-0.005099717527627945,
0.02793607860803604,
0.04190411791205406,
0.04975249618291855,
-0.05317535623908043,
0.01771935634315014,
-0.05984820798039436,
-0.003995498642325401,
-0.024893535301089287,
0.014365644194185734,
0.048023778945207596,
-0.019966689869761467,
-0.0054108863696455956,
0.0259480532258749,
-0.06852637231349945,
-0.018116962164640427,
-0.03848125785589218,
-0.025308428332209587,
0.007826769724488258,
0.05601045489311218,
0.017192097380757332,
0.018877597525715828,
-0.026881560683250427,
0.00043785179150290787,
0.001798946876078844,
0.013233333826065063,
0.028385544195771217,
0.031462661921978,
-0.021401526406407356,
0.01970738172531128,
0.005480035208165646,
0.036441370844841,
0.020969346165657043,
0.04957962408661842,
-0.014910190366208553,
0.0524492971599102,
0.07371252030134201,
-0.007044524885714054,
-0.009490660391747952,
0.02957835979759693,
-0.0363030731678009,
0.014936121180653572,
0.043840281665325165,
0.00131706683896482,
0.028299110010266304,
0.01616351120173931,
0.0313243642449379,
0.014426149427890778,
-0.0008821862866170704,
0.05407429113984108,
0.07799974083900452,
-0.000964840583037585,
-0.019932115450501442,
-0.030356284230947495,
-0.022283172234892845,
0.06216469034552574,
0.04581101983785629,
-0.023700719699263573,
0.003753478405997157,
0.06866466999053955,
-0.0089028961956501,
0.05604502931237221,
-0.003753478405997157,
0.03374456986784935,
0.019050469622015953,
0.0012187459506094456,
0.040763165801763535,
0.021436098963022232,
0.049994517117738724,
-0.00665556313470006,
0.016578402370214462,
0.07087742537260056,
0.048231225460767746,
-0.040140826255083084,
0.01403718814253807,
0.04332166537642479,
0.03263819217681885,
-0.02313024364411831,
0.00737730273976922,
0.017321752384305,
-0.04345996305346489,
-0.0056874812580645084,
0.06455031782388687,
0.022888222709298134,
-0.010208077728748322,
-0.021401526406407356,
-0.036441370844841,
0.02074461244046688,
-0.0010323686292394996,
-0.009438798762857914,
0.05628705024719238,
-0.014426149427890778,
-0.005354702938348055
] |
726,097 | penne.delegates | on_new | null | def on_new(self, message: dict):
pass
| (self, message: dict) | [
0.004075837321579456,
0.011006740853190422,
-0.046173762530088425,
-0.025585612282156944,
0.00355013576336205,
-0.012432074174284935,
0.03274747356772423,
0.07644009590148926,
0.07021086663007736,
0.008248456753790379,
-0.03480628877878189,
-0.0395222045481205,
-0.00526581471785903,
0.011552238836884499,
-0.027644427493214607,
-0.002687897067517042,
-0.006506382487714291,
-0.015432312153279781,
-0.037727341055870056,
-0.048813268542289734,
-0.03424319252371788,
-0.01081317663192749,
0.04737033694982529,
0.022207045927643776,
0.0021401995327323675,
0.04261922463774681,
-0.0340496301651001,
0.02803155593574047,
0.08397148549556732,
-0.004465164616703987,
-0.11297086626291275,
-0.0971338227391243,
0.038325630128383636,
0.04768707603216171,
-0.036495570093393326,
0.01665528304874897,
-0.05504250153899193,
0.011737003922462463,
-0.05740046128630638,
0.030688658356666565,
0.02854185923933983,
0.03412001579999924,
-0.03316979482769966,
0.03244832903146744,
0.07299114018678665,
0.03503504395484924,
0.0032091995235532522,
0.08094485849142075,
0.011455456726253033,
0.008389230817556381,
-0.05504250153899193,
0.029087357223033905,
-0.01719198375940323,
0.015256345272064209,
-0.06802887469530106,
0.04825017228722572,
0.04258403182029724,
0.027996361255645752,
-0.023561991751194,
0.014622864313423634,
-0.011596230790019035,
0.005406588315963745,
0.024318650364875793,
-0.05233260989189148,
-0.0035193415824323893,
-0.03670673072338104,
0.09354409575462341,
0.01069879811257124,
0.02542724274098873,
-0.018142204731702805,
0.03741060197353363,
-0.012827999889850616,
-0.013329505920410156,
0.006326016504317522,
-0.0005196527927182615,
0.01625056006014347,
-0.044273316860198975,
0.05233260989189148,
0.0075929793529212475,
0.10149780660867691,
0.021767128258943558,
-0.05169912800192833,
0.025339258834719658,
0.043569449335336685,
0.009519819170236588,
-0.030723851174116135,
0.012669629417359829,
-0.030688658356666565,
-0.06405201554298401,
0.016162576153874397,
-0.004232008010149002,
0.0008077988750301301,
-0.04652569442987442,
0.015599481761455536,
-0.006233633495867252,
-0.0841122642159462,
-0.0067263413220644,
0.035492558032274246,
0.08643502742052078,
0.03558054193854332,
-0.03137493133544922,
0.05405708774924278,
-0.0271341223269701,
-0.06985893100500107,
0.007065078243613243,
-0.0395222045481205,
0.01206254307180643,
-0.020464971661567688,
-0.012159325182437897,
0.03864236921072006,
0.021168839186429977,
-0.03667153790593147,
-0.014068568125367165,
0.07098511606454849,
-0.011420262977480888,
0.04673685505986214,
0.004265001974999905,
0.012124131433665752,
0.0030134362168610096,
-0.03885352984070778,
-0.019778698682785034,
0.00735102454200387,
-0.006295222323387861,
-0.06282024830579758,
-0.014235736802220345,
-0.0005224022315815091,
-0.002476736670359969,
-0.05032658204436302,
0.08467535674571991,
-0.0281723290681839,
-0.007153061684221029,
0.001210873480886221,
0.0037305019795894623,
-0.023139670491218567,
-0.020852098241448402,
-0.004619135987013578,
-0.006026872433722019,
-0.04708879068493843,
0.004526752978563309,
0.06433356553316116,
-0.00033241280470974743,
0.06088460981845856,
0.04719436913728714,
-0.01815980300307274,
-0.03512302786111832,
-0.0025361254811286926,
0.0020225215703248978,
0.0018355565844103694,
-0.020007455721497536,
-0.008442020043730736,
0.0407891683280468,
-0.006295222323387861,
-0.01812460832297802,
0.03475349768996239,
-0.0027098930440843105,
0.004887485411018133,
-0.0009095298009924591,
-0.00922947283834219,
-0.03723463416099548,
0.004658728372305632,
0.03313460201025009,
0.002641705796122551,
0.02225983515381813,
0.009097497910261154,
-0.001039305585436523,
0.03565093129873276,
0.03390885517001152,
-0.02445942349731922,
-0.03867756202816963,
0.0761585533618927,
-0.046138565987348557,
0.02423066645860672,
-0.020113036036491394,
0.008116481825709343,
0.0281723290681839,
0.06257389485836029,
0.003376368200406432,
0.006950699724256992,
0.05965283885598183,
-0.031568493694067,
0.005446181166917086,
-0.025251274928450584,
0.022136658430099487,
0.05103045329451561,
0.036425184458494186,
0.04047242924571037,
0.005208625458180904,
0.021467983722686768,
-0.030459901317954063,
-0.041035521775484085,
-0.0176582969725132,
-0.015546691603958607,
-0.004456366412341595,
-0.009335053153336048,
0.04005010798573494,
0.03670673072338104,
0.00900951400399208,
0.025374451652169228,
-0.07285036891698837,
0.041563425213098526,
-0.007650168612599373,
-0.022770140320062637,
-0.0504673570394516,
-0.057787589728832245,
0.00035880785435438156,
0.023808345198631287,
0.027644427493214607,
0.02058814838528633,
0.008952325209975243,
-0.09445912390947342,
-0.007782144006341696,
0.04779265820980072,
0.011024337261915207,
0.042232099920511246,
0.019162815064191818,
-0.0745396539568901,
-0.03250112012028694,
-0.011842584237456322,
-0.026623819023370743,
0.003017835319042206,
0.051382385194301605,
0.01995466649532318,
-0.06514301151037216,
-0.009599003940820694,
-0.029192937538027763,
0.029791226610541344,
0.039064690470695496,
-0.021573564037680626,
0.003237794153392315,
-0.006831921637058258,
-0.0021017068065702915,
0.021802321076393127,
0.0176582969725132,
0.044941991567611694,
-0.023561991751194,
0.0009414238738827407,
-0.014482090249657631,
-0.003644718090072274,
-0.08143756538629532,
0.02980882301926613,
0.03955739736557007,
-0.012572847306728363,
0.00907990150153637,
0.06792329251766205,
0.07341346144676208,
-0.02396671660244465,
0.012132929638028145,
0.06595245748758316,
0.00572332926094532,
0.0542682446539402,
0.011675415560603142,
-0.0496579073369503,
-0.03000238724052906,
0.03241313621401787,
-0.02433624677360058,
-0.02132721059024334,
-0.026975752785801888,
0.018599720671772957,
0.018036624416708946,
-0.020271407440304756,
-0.013523070141673088,
0.07700319588184357,
-0.02783799171447754,
0.09579647332429886,
0.03412001579999924,
-0.0034093621652573347,
0.005679337307810783,
0.010918756946921349,
-0.012132929638028145,
0.020816905423998833,
0.15020549297332764,
-0.009132691659033298,
-0.0003263639227952808,
-0.014842823147773743,
-0.0233332347124815,
-0.08798354119062424,
-0.030283933505415916,
0.027591638267040253,
-0.05567598342895508,
-0.039592593908309937,
0.026993349194526672,
0.021467983722686768,
0.0357741080224514,
0.0021808920428156853,
-0.04765188321471214,
0.048813268542289734,
0.05370515212416649,
0.06591726839542389,
-0.026518238708376884,
-0.078340545296669,
-0.015546691603958607,
-0.0030156357679516077,
-0.04012049362063408,
0.0538107305765152,
-0.0055165677331388,
0.0020709126256406307,
-0.01875809021294117,
0.09284023195505142,
0.009484625421464443,
0.004168220330029726,
0.024811357259750366,
-0.039099883288145065,
-0.0504673570394516,
-0.04951713606715202,
-0.06179963797330856,
0.0011415864573791623,
0.012264905497431755,
0.021344806998968124,
-0.03241313621401787,
-0.04399177059531212,
0.003761296160519123,
0.04642011597752571,
-0.05120642110705376,
0.01875809021294117,
-0.027644427493214607,
0.10051239281892776,
0.03461272269487381,
0.00634801248088479,
0.0663747787475586,
0.03878314420580864,
-0.014482090249657631,
-0.016708074137568474,
-0.03860717639327049,
-0.006977094803005457,
-0.0020060245878994465,
-0.005938888993114233,
-0.00029446990811266005,
-0.00924707017838955,
0.004192415624856949,
-0.020852098241448402,
0.01574905402958393,
-0.00941423885524273,
0.006268827244639397,
-0.06989412009716034,
-0.08594232052564621,
-0.005204226355999708,
-0.03603805601596832,
-0.008719168603420258,
-0.0006785730365663767,
-0.05687255784869194,
-0.013012764975428581,
-0.022207045927643776,
0.001171280862763524,
0.006840720307081938,
0.019444361329078674,
-0.026025529950857162,
-0.000736862129997462,
0.001519915647804737,
0.029597662389278412,
-0.04698320850729942,
-0.02143278904259205,
-0.05627427250146866,
0.009590205736458302,
0.010118107311427593,
0.04346386715769768,
-0.08559038490056992,
0.01678725890815258,
-0.022453399375081062,
-0.0012746615102514625,
-0.015599481761455536,
-0.03955739736557007,
0.019110023975372314,
0.007271839305758476,
-0.05437382683157921,
-0.039029497653245926,
0.0441325418651104,
0.06289063394069672,
0.016769662499427795,
0.051311999559402466,
-0.024019505828619003,
0.02720450982451439,
-0.034630320966243744,
-0.016734469681978226,
0.0853792279958725,
-0.003455553436651826,
-0.07665126025676727,
-0.0222950279712677,
0.027010945603251457,
-0.06370007991790771,
-0.005283411592245102,
-0.011789794079959393,
-0.007236646022647619,
-0.03681231290102005,
-0.022013481706380844,
0.009994929656386375,
0.002687897067517042,
0.0013978384668007493,
0.06271466612815857,
-0.021802321076393127,
0.007254242897033691,
-0.01801902800798416,
-0.026922963559627533,
-0.03807927668094635,
-0.003921866416931152,
-0.03408482298254967,
-0.0059828804805874825,
-0.012273703701794147,
-0.010074115358293056,
-0.005001863930374384,
-0.0014539279509335756,
0.016734469681978226,
-0.006352411583065987,
-0.05282531678676605,
-0.029157744720578194,
0.0008347438415512443,
-0.002498732414096594,
-0.015793045982718468,
0.07292075455188751,
0.01537072379142046,
-0.0412466824054718,
0.05106564611196518,
0.029245728626847267,
-0.05423305183649063,
-0.04005010798573494,
0.012581645511090755,
0.007469802629202604,
0.004152823239564896,
-0.031022995710372925,
-0.019479556009173393,
0.016734469681978226,
-0.03089981898665428,
0.04406215623021126,
0.025339258834719658,
0.00718385586515069,
0.005054654087871313,
0.006695547141134739,
-0.05222702771425247,
0.03003758005797863,
0.0530012845993042,
-0.011816189624369144,
-0.015062781982123852,
-0.018969250842928886,
-0.01149944867938757,
0.013672641478478909,
-0.03060067445039749,
0.022048674523830414,
-0.01672567054629326,
-0.04726475849747658,
-0.03316979482769966,
0.04846133291721344,
-0.05697814002633095,
-0.02787318453192711,
0.03797369450330734,
0.015643473714590073,
0.04385099560022354,
-0.04729995131492615,
-0.0038866729009896517,
-0.045610666275024414,
0.026025529950857162,
-0.041704196482896805,
-0.0315157026052475,
-0.014658057130873203,
0.008969921618700027,
0.01605699583888054,
0.03376808017492294,
-0.050643324851989746,
-0.032765068113803864,
-0.03123415634036064,
0.029650451615452766,
-0.0445900559425354,
-0.05405708774924278,
0.010355662554502487,
-0.07242804765701294,
0.007584181148558855,
-0.030618270859122276,
0.016804855316877365,
-0.016206568107008934,
-0.013927794061601162,
-0.051980674266815186,
0.029580065980553627,
0.040965136140584946,
0.022470995783805847,
-0.03387366235256195,
-0.0399797186255455,
-0.02423066645860672,
-0.014596468769013882,
0.03415520861744881,
-0.04634972661733627,
-0.019813893362879753,
0.024582600221037865,
0.018001431599259377,
0.0016606892459094524,
0.01969071663916111,
-0.011138715781271458,
-0.03207879886031151,
-0.023737957701086998,
0.007650168612599373,
-0.05303647741675377,
0.024318650364875793,
0.01425333321094513,
-0.0357741080224514,
0.021855110302567482,
0.021485580131411552,
-0.016875242814421654,
0.04121148958802223,
-0.02095767855644226,
-0.011886576190590858,
0.011138715781271458,
0.025022517889738083,
-0.03385606408119202,
-0.023614780977368355,
-0.003510543145239353,
-0.047546304762363434,
-0.008595991879701614,
-0.024811357259750366,
-0.08425303548574448,
0.01553789246827364,
0.04782785102725029,
0.009933341294527054,
0.02009543962776661,
0.014807629399001598,
0.022770140320062637,
-0.0018289578147232533,
0.010153300128877163,
0.03163887932896614,
-0.02419547364115715,
-0.009704584255814552,
0.005784917622804642,
-0.024441827088594437,
-0.015045184642076492,
0.06859196722507477,
0.013347102329134941,
0.04462524875998497,
-0.031093383207917213,
-0.019866682589054108,
-0.021485580131411552,
-0.06679710000753403,
-0.02850666642189026,
0.023438815027475357,
0.054584987461566925,
0.04525873064994812,
0.003981254994869232,
0.021186435595154762,
-0.0016749865608289838,
-0.04444928467273712,
0.041563425213098526,
0.027961168438196182,
-0.0172271765768528,
-0.10241284221410751,
-0.014455695636570454,
-0.024424230679869652,
-0.04610337316989899,
-0.04318232089281082,
-0.024177877232432365,
-0.04642011597752571,
0.00997733324766159,
0.025655999779701233,
-0.04265442118048668,
0.010408452711999416,
-0.04272480681538582,
-0.006154448725283146,
-0.02132721059024334,
-0.022048674523830414,
0.007236646022647619,
-0.009994929656386375,
-0.01779027096927166,
0.0000034067845717800083,
-0.04258403182029724,
0.014904411509633064,
-0.0004415673902258277,
-0.028453877195715904,
0.02389632910490036,
0.0037546975072473288,
0.07791822403669357,
-0.014394107274711132,
0.05676697939634323,
-0.01935637928545475,
0.06570610404014587,
-0.04128187522292137,
0.03695308789610863,
0.032589104026556015,
-0.0037942901253700256,
0.022646963596343994,
-0.04047242924571037,
0.017279967665672302,
-0.022910913452506065,
0.017702287063002586,
0.013091950677335262,
-0.004278199747204781,
-0.04916520044207573,
-0.026254286989569664,
0.03755137324333191,
-0.009018312208354473,
-0.022347819060087204,
-0.04979868233203888,
0.03241313621401787,
0.019602732732892036,
0.04349905997514725,
0.0076765636913478374,
0.03130454197525978,
-0.01183378603309393,
-0.004777505993843079,
-0.002289771568030119,
-0.011816189624369144,
0.019338781014084816,
0.013822213746607304,
0.05694294720888138,
-0.03227236121892929,
-0.02509290538728237,
-0.0049446746706962585,
-0.026958156377077103,
0.07700319588184357,
-0.041563425213098526,
-0.0042474051006138325,
0.00668234983459115,
-0.025409646332263947,
-0.023280443623661995,
0.01769348978996277,
0.013206329196691513,
0.012432074174284935,
-0.008679576218128204,
-0.014473292045295238,
-0.05029138922691345,
0.01775507815182209,
0.01274881511926651,
0.04381580278277397,
-0.003928464837372303,
0.027978764846920967,
0.055922336876392365,
0.07876286655664444,
0.04085955396294594,
-0.016215365380048752,
-0.006779131479561329,
0.031128576025366783,
-0.01708640344440937,
-0.0340496301651001,
-0.012361686676740646,
-0.00735102454200387,
-0.1047356054186821,
-0.00768536189571023,
-0.020816905423998833,
0.04149303585290909,
0.0031894033309072256,
-0.042372871190309525,
0.052015867084264755,
0.00016565650003030896,
-0.01812460832297802,
-0.03818485513329506,
0.007403814699500799,
0.004566345829516649,
-0.028911391273140907,
-0.021309612318873405,
0.017376748844981194,
-0.09558531641960144,
0.00294524896889925,
0.07249843329191208,
0.01581943966448307,
-0.01228250190615654,
0.027521250769495964,
-0.06355930864810944,
0.06999970227479935,
0.01995466649532318,
-0.034859076142311096,
0.09910465776920319,
0.03603805601596832,
0.0054637775756418705,
-0.03408482298254967,
0.04582182690501213,
0.003798689227551222,
-0.004856691230088472,
-0.01625056006014347,
0.02058814838528633,
0.05820990726351738,
0.025304066017270088,
0.01077798381447792,
0.029456889256834984,
0.03726982697844505,
-0.000647778797429055,
-0.005996078252792358,
0.016232963651418686,
0.0344543531537056,
0.00934385135769844,
0.04406215623021126,
0.008134078234434128,
0.05690775439143181,
-0.05750603973865509,
0.011956962756812572,
0.04575144127011299,
0.06454472243785858,
0.018247785046696663,
0.012247308157384396,
0.027943572029471397,
0.00198622839525342,
-0.04064839333295822,
0.040965136140584946,
0.0374457947909832,
0.012264905497431755,
0.024424230679869652,
0.015212353318929672,
-0.0296680498868227,
0.00885994266718626,
-0.03316979482769966,
-0.026377465575933456,
-0.007883325219154358,
-0.03584449365735054,
0.013663843274116516,
-0.08221181482076645,
-0.06750097125768661,
-0.05366995930671692,
-0.031022995710372925,
0.02590235322713852,
0.005195428151637316,
-0.005402189213782549,
-0.05155835300683975,
0.018775686621665955,
-0.010214888490736485,
-0.02416027896106243,
-0.047546304762363434,
0.026553431525826454,
0.008213263005018234,
-0.05015061795711517,
-0.016276953741908073,
0.026412658393383026,
-0.010003727860748768,
0.005450580269098282,
0.028330698609352112,
-0.007065078243613243,
0.013954189606010914,
-0.0006879213033244014,
0.007830535061657429,
-0.06669152528047562,
-0.01925079897046089,
0.023579588159918785,
-0.01689283922314644,
0.08347877860069275,
-0.024248262867331505,
0.008789555169641972,
-0.07105550915002823,
-0.023421218618750572,
0.006194041110575199,
0.004271600861102343,
-0.04768707603216171,
-0.08354916423559189,
0.05307167023420334,
0.014042172580957413,
-0.0037305019795894623,
0.0019334382377564907,
-0.012361686676740646,
-0.0003912517859134823,
0.0058289095759391785,
-0.037727341055870056,
-0.0025251274928450584,
0.07517313212156296,
0.02349160425364971,
-0.0009023811435326934,
-0.029316114261746407,
-0.00458834134042263,
0.016074592247605324,
-0.04603298753499985,
0.08340839296579361,
0.015089176595211029,
0.03478869050741196,
-0.027820395305752754,
-0.004119829274713993,
-0.07348385453224182,
-0.00028127236873842776,
0.004984267521649599,
0.02393152192234993,
0.006150049157440662,
0.05117122456431389,
-0.01083077397197485,
0.03311700373888016,
0.03874795138835907,
-0.005208625458180904,
0.041070714592933655,
0.043006353080272675,
0.022083867341279984,
0.049376361072063446
] |
726,098 | penne.delegates | on_remove | null | def on_remove(self, message: dict):
pass
| (self, message: dict) | [
0.008463418111205101,
0.044584453105926514,
-0.061943572014570236,
-0.020173193886876106,
-0.004416064824908972,
-0.03310777246952057,
0.0006982213817536831,
0.10673145204782486,
0.08530379086732864,
0.01002726424485445,
-0.006374051328748465,
-0.04560158774256706,
-0.024156976491212845,
-0.030463218688964844,
-0.04410979151725769,
0.00129049108363688,
0.014595898799598217,
-0.019749388098716736,
0.008471894077956676,
-0.09093194454908371,
-0.01832539774477482,
-0.018715299665927887,
0.02090214192867279,
0.028784943744540215,
-0.015706272795796394,
0.022478701546788216,
0.0008889343589544296,
0.009586505591869354,
0.06984332948923111,
-0.0012364557478576899,
-0.09099975228309631,
-0.05746817588806152,
-0.003839687677100301,
0.028361137956380844,
-0.04322827234864235,
0.0675039142370224,
-0.021003855392336845,
0.040854956954717636,
-0.06848714500665665,
0.01649455353617668,
-0.02278384193778038,
0.04750024154782295,
0.027377905324101448,
-0.005551866255700588,
0.09581419825553894,
0.05384039133787155,
-0.01084944885224104,
0.07520024478435516,
0.022529559209942818,
0.06282509118318558,
-0.01642674393951893,
0.004678824916481972,
-0.0029751223046332598,
0.03183634951710701,
-0.04455054923892021,
0.0024432449135929346,
0.03654908016324043,
0.03451480716466904,
-0.009518695995211601,
0.020410524681210518,
0.025597918778657913,
0.018477967008948326,
0.01791854202747345,
-0.03831211477518082,
0.02722533605992794,
-0.04994136840105057,
0.08326952159404755,
0.009772979654371738,
0.011722490191459656,
-0.025699632242321968,
-0.010934210382401943,
-0.04614406079053879,
0.012620960362255573,
0.025208016857504845,
0.026750672608613968,
-0.03207368403673172,
0.037634026259183884,
0.04044810310006142,
0.038074783980846405,
0.005717150866985321,
0.061468906700611115,
-0.04051591083407402,
0.02444516494870186,
0.07364063709974289,
0.03231101483106613,
-0.02176670730113983,
0.07703108340501785,
-0.0379391647875309,
-0.040380291640758514,
0.024597734212875366,
-0.033667195588350296,
-0.042075518518686295,
-0.04394026845693588,
-0.005200107116252184,
-0.012866768054664135,
-0.022207465022802353,
-0.011018970981240273,
-0.012154772877693176,
0.03993953391909599,
-0.04522864148020744,
0.05082288756966591,
0.051128026098012924,
0.013129528611898422,
-0.046483106911182404,
0.014417900703847408,
-0.0019262009300291538,
0.004818681161850691,
-0.0695042833685875,
-0.0016125841066241264,
0.05458628758788109,
0.02339412458240986,
0.02174975350499153,
0.007395424880087376,
0.030022459104657173,
0.04804271459579468,
-0.02341107651591301,
-0.046313583850860596,
-0.03019198216497898,
-0.004767823964357376,
-0.030683597549796104,
0.004572873003780842,
-0.005221297033131123,
-0.04383855313062668,
-0.058146264404058456,
-0.0031955016311258078,
0.010688402689993382,
0.0021624730434268713,
-0.0003239471698179841,
0.07004675269126892,
-0.05295887216925621,
-0.04407588392496109,
-0.04163476079702377,
-0.0053696297109127045,
-0.0421772338449955,
0.006725810468196869,
-0.0077853272669017315,
0.04763586074113846,
-0.04560158774256706,
0.04766976460814476,
0.039125826209783554,
0.007484424393624067,
0.06089252978563309,
0.015104467049241066,
0.006594430655241013,
0.029802080243825912,
-0.006958904210478067,
0.0017513807397335768,
-0.02551315724849701,
-0.033836718648672104,
-0.024953732267022133,
-0.02700495533645153,
-0.0034180001821368933,
-0.010069645009934902,
-0.007793803233653307,
-0.01941034197807312,
0.04709338769316673,
-0.03125997260212898,
-0.002337293466553092,
-0.05787502974271774,
-0.03139559179544449,
0.0655035451054573,
0.0018615705193951726,
0.000655840674880892,
-0.010349356569349766,
0.006238433066755533,
-0.01287524402141571,
0.09093194454908371,
0.0284967552870512,
-0.060248345136642456,
0.06245214119553566,
-0.05862092971801758,
0.040854956954717636,
0.005441676825284958,
0.026428578421473503,
0.012281915172934532,
0.0612315759062767,
0.02151242271065712,
0.022224416956305504,
0.006026529707014561,
-0.03310777246952057,
0.0003146764065604657,
-0.02068176120519638,
0.031141309067606926,
0.033836718648672104,
0.045906729996204376,
0.023750120773911476,
0.019139105454087257,
0.012154772877693176,
-0.007111474871635437,
-0.02912398986518383,
-0.027072764933109283,
-0.030276743695139885,
0.009739075787365437,
0.03926144167780876,
0.04519473388791084,
0.046483106911182404,
0.009849265217781067,
0.0063698128797113895,
-0.08523598313331604,
-0.03331119939684868,
-0.03624394163489342,
-0.016197888180613518,
-0.02829332835972309,
-0.05038212612271309,
-0.024801161140203476,
0.012637912295758724,
0.04034638777375221,
0.02593696303665638,
-0.0041787330992519855,
-0.030124172568321228,
0.014604374766349792,
0.04329608008265495,
0.05356915295124054,
0.004827157128602266,
0.05828188359737396,
-0.08496474474668503,
-0.05380648374557495,
0.01664712280035019,
-0.001913486747071147,
0.018732251599431038,
0.016350459307432175,
0.036176130175590515,
-0.023038126528263092,
-0.010383261367678642,
-0.040617622435092926,
0.03627784550189972,
0.021648040041327477,
-0.008014182560145855,
0.05082288756966591,
-0.026547245681285858,
0.04878861457109451,
0.04068543389439583,
0.029683412984013557,
0.001705821487121284,
0.008781272917985916,
0.01669798046350479,
-0.05024651065468788,
-0.03654908016324043,
0.020986901596188545,
0.0006526621291413903,
0.018681393936276436,
-0.03041236102581024,
0.024326497688889503,
0.10008616745471954,
0.08991480618715286,
0.016163984313607216,
0.04177037626504898,
0.06594430655241013,
-0.016096174716949463,
0.017248928546905518,
0.019715482369065285,
-0.038922399282455444,
-0.0284628514200449,
0.04343169927597046,
-0.0010812365217134356,
-0.04109228774905205,
-0.009510220028460026,
0.0031976208556443453,
0.003487928304821253,
0.0016422505723312497,
-0.0295477956533432,
-0.02195318229496479,
0.02405526302754879,
0.07309816032648087,
0.044177599251270294,
0.0001495242613600567,
0.0072767590172588825,
0.05000917986035347,
-0.05021260678768158,
0.04895813763141632,
0.10245948284864426,
-0.056213706731796265,
0.033819764852523804,
-0.01518922857940197,
-0.017164167016744614,
-0.024309545755386353,
-0.051772214472293854,
0.00834475178271532,
-0.03226015716791153,
0.001532060792669654,
0.01834234967827797,
-0.02871713414788246,
0.04129571467638016,
0.014739993028342724,
-0.02173280157148838,
0.07716670632362366,
0.06380832195281982,
0.04478788003325462,
-0.002941217739135027,
-0.02069871313869953,
-0.005632389802485704,
-0.050314318388700485,
-0.05879044905304909,
0.0506194606423378,
-0.010840972885489464,
0.00947631523013115,
-0.042312849313020706,
0.06574087589979172,
0.042278945446014404,
0.04075324162840843,
0.02442821115255356,
0.03120911680161953,
-0.03437919169664383,
-0.049025945365428925,
-0.04722900688648224,
0.0047254436649382114,
0.06401174515485764,
0.03858335316181183,
-0.01191744115203619,
-0.024377355352044106,
0.013129528611898422,
0.012027631513774395,
-0.08462569862604141,
0.0295138917863369,
0.03519289940595627,
0.08889766782522202,
0.028751039877533913,
0.0015140490140765905,
0.011137637309730053,
0.05339962989091873,
-0.010654497891664505,
-0.024987636134028435,
-0.03861725702881813,
-0.000532671925611794,
0.011120685376226902,
-0.0737762525677681,
-0.04682215303182602,
0.010942686349153519,
0.01769816316664219,
0.0068614287301898,
-0.006064672488719225,
-0.005657818168401718,
-0.021224234253168106,
-0.05458628758788109,
-0.04075324162840843,
-0.016782741993665695,
0.015163799747824669,
0.007429329678416252,
0.030632739886641502,
0.01646912470459938,
-0.03695593401789665,
-0.009366125799715519,
0.006556287873536348,
0.04519473388791084,
-0.02386878803372383,
-0.03041236102581024,
-0.020325765013694763,
0.018189778551459312,
0.04116009548306465,
-0.00009416452667210251,
0.08394760638475418,
0.014350091107189655,
-0.0029560509137809277,
0.033209484070539474,
0.058756545186042786,
-0.06353708356618881,
-0.01095963828265667,
0.018274540081620216,
0.05417943373322487,
-0.019037391990423203,
-0.011256302706897259,
0.0048652999103069305,
0.021664993837475777,
-0.057061318308115005,
-0.039363157004117966,
0.012434485368430614,
0.010468022897839546,
-0.03692203015089035,
0.0315820686519146,
-0.07140293717384338,
0.012773530557751656,
-0.004538968671113253,
-0.02280079387128353,
0.04705948382616043,
0.0026191247161477804,
-0.00906946137547493,
0.018257588148117065,
0.05038212612271309,
-0.07316596806049347,
-0.007704803720116615,
-0.019478151574730873,
0.01201067864894867,
-0.03688812628388405,
-0.026055630296468735,
-0.003464618930593133,
0.0401429608464241,
-0.020783474668860435,
0.050314318388700485,
-0.02619124762713909,
0.02322460152208805,
-0.011798775754868984,
-0.03760012239217758,
-0.02873408794403076,
-0.03266701102256775,
-0.05577294901013374,
-0.012163248844444752,
-0.05184002220630646,
-0.003398928791284561,
-0.019647672772407532,
0.010188310407102108,
0.005225535482168198,
0.0035790465772151947,
-0.0674021989107132,
-0.013536382466554642,
0.03283653408288956,
0.04285532236099243,
-0.04997527226805687,
0.06557135283946991,
0.02703886106610298,
-0.025564013049006462,
0.03559975326061249,
-0.012883719988167286,
0.0011114327935501933,
-0.03519289940595627,
-0.003125573741272092,
-0.002570386976003647,
-0.026242103427648544,
-0.023767074570059776,
-0.0012544675264507532,
0.00917965080589056,
-0.029412178322672844,
0.03222625330090523,
-0.0064969551749527454,
-0.019342532381415367,
-0.008993175812065601,
0.013536382466554642,
-0.033633291721343994,
0.010357833467423916,
0.019715482369065285,
0.017833782359957695,
-0.04156694933772087,
-0.038888491690158844,
0.002436887938529253,
-0.03631174936890602,
-0.01361266802996397,
0.03478604555130005,
-0.022529559209942818,
-0.05563732981681824,
-0.033023010939359665,
0.06977551430463791,
-0.05607808753848076,
0.016147030517458916,
0.006530859507620335,
-0.014994277618825436,
0.06068910285830498,
-0.013307526707649231,
-0.04621187224984169,
0.0072979493997991085,
0.057027414441108704,
-0.013655048795044422,
0.009925550781190395,
-0.02805599570274353,
-0.006933475844562054,
-0.007450520060956478,
0.016799693927168846,
-0.05943463742733002,
-0.04468616843223572,
-0.0061918143182992935,
-0.029869887977838516,
-0.06079081818461418,
-0.038278210908174515,
0.03293824940919876,
-0.07933659106492996,
-0.030870072543621063,
-0.010196786373853683,
0.0865921601653099,
0.024360403418540955,
-0.022936413064599037,
-0.044008076190948486,
0.03120911680161953,
0.05943463742733002,
-0.04678824916481972,
-0.04685605689883232,
-0.04370293766260147,
-0.0464492030441761,
0.015545225702226162,
0.04075324162840843,
0.01182420365512371,
0.0015500725712627172,
0.013375336304306984,
0.04163476079702377,
-0.023750120773911476,
-0.025597918778657913,
-0.016935311257839203,
-0.019325580447912216,
-0.008908414281904697,
-0.007073332089930773,
-0.054111625999212265,
0.05353524908423424,
-0.024767257273197174,
-0.051128026098012924,
-0.03397233784198761,
-0.0070351893082261086,
-0.03454871475696564,
0.10476499050855637,
-0.07086046040058136,
-0.051399264484643936,
-0.009789932519197464,
0.031514257192611694,
-0.04448274150490761,
-0.02212270349264145,
-0.012307343073189259,
-0.04404198005795479,
-0.03919363394379616,
-0.0015988104278221726,
-0.07425091415643692,
0.058553118258714676,
0.039125826209783554,
-0.012400580570101738,
-0.026937147602438927,
-0.029039228335022926,
0.04661872610449791,
0.02700495533645153,
0.034480903297662735,
0.04119399935007095,
-0.01856272853910923,
-0.037871357053518295,
-0.0008831070153973997,
0.010493450798094273,
0.0033501910511404276,
0.04394026845693588,
0.006285051815211773,
0.003708307631313801,
0.02973427064716816,
-0.01361266802996397,
-0.05150097608566284,
-0.06896180659532547,
-0.012824387289583683,
0.05207735300064087,
0.03712545707821846,
0.011883537285029888,
0.017138738185167313,
-0.011705538257956505,
-0.03076835907995701,
-0.02447906881570816,
0.03993953391909599,
-0.015901222825050354,
-0.07126731425523758,
-0.06913132965564728,
0.01667255163192749,
-0.0030429314356297255,
0.001879582297988236,
0.005297582596540451,
-0.02274993807077408,
-0.09032166004180908,
0.04499130696058273,
0.0004717497213277966,
-0.003930806182324886,
-0.007090284489095211,
-0.007437805645167828,
-0.05353524908423424,
-0.01338381227105856,
0.0038079023361206055,
-0.016570838168263435,
0.02149547077715397,
-0.033446814864873886,
-0.031090451404452324,
-0.04143133386969566,
0.0071199508383870125,
-0.0036998316645622253,
-0.04516083002090454,
-0.009366125799715519,
0.03392148017883301,
0.05204344913363457,
0.015494368970394135,
0.06926695257425308,
-0.010256120003759861,
-0.0020268550142645836,
-0.013282098807394505,
0.012790483422577381,
-0.036616887897253036,
-0.04973794147372246,
0.015197704546153545,
-0.04794100299477577,
-0.047161199152469635,
0.010451070964336395,
0.052653729915618896,
-0.03980391472578049,
0.0003951996623072773,
-0.04661872610449791,
-0.024156976491212845,
-0.00013422749179881066,
0.04410979151725769,
-0.0059926253743469715,
-0.022529559209942818,
0.02344498038291931,
0.04682215303182602,
0.017045501619577408,
-0.008942319080233574,
0.02659810148179531,
0.014494185335934162,
0.0009615112212486565,
0.030276743695139885,
-0.022851651534438133,
0.017181118950247765,
0.004678824916481972,
0.05784112215042114,
0.0031764304731041193,
-0.09303402155637741,
0.04543206840753555,
0.03443004935979843,
0.0077005657367408276,
0.03222625330090523,
0.01834234967827797,
-0.004021924454718828,
-0.009306793101131916,
-0.059807587414979935,
-0.005890911445021629,
-0.0023542456328868866,
-0.005250963848084211,
-0.06811419874429703,
-0.007230140268802643,
-0.027055812999606133,
0.018088065087795258,
0.033429864794015884,
-0.004030400887131691,
0.04980574920773506,
0.00033454233198426664,
0.00792518351227045,
0.04688996076583862,
0.009010127745568752,
-0.034091003239154816,
-0.015757128596305847,
0.011544491164386272,
-0.019139105454087257,
-0.01649455353617668,
-0.04241456463932991,
-0.008696511387825012,
-0.09513610601425171,
0.02486897073686123,
-0.028784943744540215,
-0.0007692089420743287,
0.03136168792843819,
0.005428962409496307,
0.004933108575642109,
-0.005098393186926842,
-0.026750672608613968,
-0.030073316767811775,
-0.00993402674794197,
-0.029819032177329063,
0.08374418318271637,
-0.0527215413749218,
-0.03485385328531265,
-0.0006685549160465598,
-0.05929901823401451,
0.09900122135877609,
0.034921664744615555,
-0.04031248390674591,
0.036379557102918625,
-0.03905801475048065,
0.051331453025341034,
0.019291676580905914,
-0.019461199641227722,
0.03081921488046646,
0.015062086284160614,
0.04600844532251358,
-0.020969949662685394,
0.034684330224990845,
-0.006772429216653109,
-0.0073403301648795605,
-0.01709635742008686,
0.003723141038790345,
0.014282282441854477,
0.05190782994031906,
-0.008056563325226307,
-0.021631088107824326,
0.05211126059293747,
-0.014375519938766956,
0.008696511387825012,
-0.0048822518438100815,
0.029852936044335365,
-0.009857741184532642,
0.00585700711235404,
-0.028225518763065338,
0.00195480789989233,
-0.008488846011459827,
0.010281547904014587,
0.028208566829562187,
0.01667255163192749,
0.000590150710195303,
-0.024953732267022133,
0.053704772144556046,
-0.0169014073908329,
-0.028513707220554352,
0.026513339951634407,
0.06028224900364876,
-0.004581349436193705,
0.03273482248187065,
0.013824570924043655,
-0.03865116089582443,
-0.020546143874526024,
-0.03810868784785271,
-0.027157526463270187,
-0.0012523485347628593,
-0.041668664664030075,
0.005835816729813814,
-0.04170256853103638,
-0.07255569100379944,
0.000379571778466925,
0.003695593448355794,
0.0379052609205246,
0.007878564298152924,
-0.0037676405627280474,
-0.05675617977976799,
0.0026636244729161263,
-0.006590192671865225,
-0.02112252078950405,
-0.05316229909658432,
0.008755844086408615,
0.03783745318651199,
-0.01813892275094986,
-0.023953549563884735,
0.022088799625635147,
-0.01329057477414608,
-0.008832129649817944,
0.06035006046295166,
0.026648959144949913,
0.004746634047478437,
-0.007679375354200602,
0.007577661890536547,
-0.0421433262526989,
0.005339962895959616,
0.04539816081523895,
0.022326132282614708,
0.021342899650335312,
-0.049873560667037964,
0.04519473388791084,
-0.09750942140817642,
-0.04116009548306465,
0.03248053789138794,
0.018274540081620216,
-0.023936595767736435,
-0.06631725281476974,
0.06669020652770996,
0.03205673024058342,
-0.03080226294696331,
0.0019251414341852069,
-0.012061535380780697,
0.014392471872270107,
0.02998855523765087,
-0.011942869983613491,
-0.010179834440350533,
0.05207735300064087,
0.021478518843650818,
0.021376805379986763,
-0.032395776361227036,
-0.006641049403697252,
0.06774124503135681,
-0.01129868347197771,
0.02592001110315323,
0.036176130175590515,
0.006458812393248081,
-0.04763586074113846,
0.014417900703847408,
-0.0590277835726738,
-0.024140022695064545,
-0.01564694009721279,
-0.00014131300849840045,
-0.02088518813252449,
0.02152937464416027,
-0.023038126528263092,
0.01812197081744671,
-0.014739993028342724,
-0.03415881097316742,
0.03692203015089035,
0.03432833403348923,
0.015197704546153545,
0.042312849313020706
] |
726,099 | penne.delegates | on_update | null | def on_update(self, message: dict):
pass
| (self, message: dict) | [
0.023906046524643898,
-0.008272125385701656,
-0.08746200054883957,
0.0057478295639157295,
0.0051981136202812195,
-0.04957118257880211,
-0.013588977977633476,
0.0663880929350853,
0.05418000370264053,
0.007581681944429874,
-0.02944718301296234,
-0.07493727654218674,
0.0045736366882920265,
0.015277705155313015,
-0.025401273742318153,
-0.02095077373087406,
-0.009393545798957348,
-0.023818092420697212,
-0.00243634101934731,
-0.03683536499738693,
0.0030630172695964575,
-0.04728436470031738,
0.05520027503371239,
0.04601781815290451,
0.004727556835860014,
0.02132018283009529,
0.02541886456310749,
0.018663955852389336,
0.07472618669271469,
-0.012049772776663303,
-0.0763445496559143,
-0.059738729149103165,
0.04633445665240288,
0.04760100319981575,
-0.058577731251716614,
0.009472704492509365,
-0.008166579529643059,
0.028075091540813446,
-0.08232545852661133,
0.021161863580346107,
0.014996250160038471,
0.049465637654066086,
0.016852091997861862,
0.027336273342370987,
0.10441964119672775,
0.038840729743242264,
-0.049289729446172714,
0.07430399954319,
0.028391728177666664,
-0.005215704906731844,
-0.04172563925385475,
-0.009279204532504082,
-0.0026496308855712414,
0.030660955235362053,
-0.059246182441711426,
0.057170458137989044,
0.03534013777971268,
0.033211637288331985,
-0.0072782388888299465,
0.003157568397000432,
-0.0031333807855844498,
-0.01783718168735504,
0.03271909058094025,
-0.03593822941184044,
-0.0025770682841539383,
-0.05780373141169548,
0.08535109460353851,
0.03270149976015091,
-0.022041410207748413,
-0.025524409487843513,
0.024609683081507683,
-0.004454897716641426,
-0.01783718168735504,
-0.011319749988615513,
-0.03572713956236839,
0.02102113701403141,
-0.020563773810863495,
0.06554373353719711,
0.012920523062348366,
0.059914637356996536,
0.045560456812381744,
-0.050134092569351196,
0.04651036486029625,
0.017819590866565704,
0.008914193138480186,
-0.0569593645632267,
0.04028318449854851,
-0.013756091706454754,
-0.06902673095464706,
0.02909536473453045,
-0.005061784293502569,
-0.008883409202098846,
-0.037151999771595,
0.005919340997934341,
-0.01326354593038559,
-0.050626639276742935,
-0.011909046210348606,
-0.03426709398627281,
-0.004652795847505331,
0.03929809108376503,
-0.003617130918428302,
0.03301813825964928,
0.04541973024606705,
-0.062307003885507584,
0.03208582103252411,
-0.04724918305873871,
-0.004749545827507973,
-0.059246182441711426,
0.004859488923102617,
0.03697609156370163,
0.043660636991262436,
-0.05678345635533333,
-0.03268390893936157,
0.02939441055059433,
0.016245204955339432,
0.019050955772399902,
-0.025137409567832947,
-0.009393545798957348,
0.03157568350434303,
-0.008280920796096325,
-0.013835250400006771,
0.03704645484685898,
-0.002746380865573883,
-0.053441185504198074,
-0.011689160019159317,
-0.02302650175988674,
-0.007489329669624567,
0.02334313653409481,
0.07732964307069778,
-0.02934163808822632,
-0.04292181879281998,
-0.044153183698654175,
0.004881477449089289,
-0.008003863506019115,
0.01564711518585682,
-0.0164914783090353,
0.054109636694192886,
-0.06068863719701767,
0.03280704841017723,
0.06930818408727646,
0.03336995467543602,
0.06709173321723938,
0.03539291024208069,
-0.05059145763516426,
-0.0006541619659401476,
0.0036743013188242912,
-0.0015930767403915524,
0.014899500645697117,
-0.01564711518585682,
-0.028743546456098557,
0.01320197805762291,
-0.0041712443344295025,
0.001748096663504839,
0.013096432201564312,
-0.034935545176267624,
0.0047759320586919785,
-0.021619228646159172,
-0.046721454709768295,
-0.008623943664133549,
0.002020755782723427,
0.02146090939640999,
-0.021548865363001823,
0.028638001531362534,
-0.007190284319221973,
0.0023373921867460012,
0.04038872942328453,
-0.01618363708257675,
-0.009675000794231892,
-0.05118954926729202,
0.0592813678085804,
-0.031030364334583282,
0.014961068518459797,
-0.043168094009160995,
0.014345386996865273,
0.07768145948648453,
0.05963318422436714,
0.003071812679991126,
0.015427228063344955,
0.0428866371512413,
-0.010976728051900864,
-0.027652909979224205,
-0.023360727354884148,
0.005769818555563688,
0.06586036831140518,
0.001966883661225438,
0.04974709451198578,
0.00974536407738924,
0.020211955532431602,
-0.028497273102402687,
-0.05407445505261421,
0.009912477806210518,
-0.049536000937223434,
-0.01473238691687584,
-0.016605818644165993,
0.006389897782355547,
0.03775009140372276,
0.011143841780722141,
-0.020194364711642265,
-0.04524381831288338,
0.013588977977633476,
-0.016368340700864792,
-0.04742509126663208,
-0.03658909350633621,
0.030766502022743225,
-0.006636170670390129,
0.02146090939640999,
0.06491045653820038,
0.019631454721093178,
0.025348501279950142,
-0.08506964147090912,
-0.024187501519918442,
0.05182281881570816,
0.00031801065779291093,
0.007898318581283092,
0.009244022890925407,
-0.07331891357898712,
-0.0019833750557154417,
0.003120187669992447,
-0.03655391186475754,
0.014749977737665176,
0.0307313185185194,
0.020933182910084724,
-0.05083772912621498,
-0.044153183698654175,
-0.019332410767674446,
0.03687054663896561,
0.024222683161497116,
0.004758341237902641,
0.004366943147033453,
-0.041162729263305664,
0.012559909373521805,
0.021355364471673965,
0.015990136191248894,
0.05629090964794159,
-0.00002910058719862718,
-0.006710932124406099,
-0.03512904793024063,
-0.025102227926254272,
-0.04563082009553909,
0.004032716155052185,
0.05090809240937233,
-0.01889263652265072,
0.022692274302244186,
0.07915909588336945,
0.017617296427488327,
-0.05977391079068184,
0.04394209384918213,
0.04327363893389702,
-0.03697609156370163,
0.03680018335580826,
0.022956136614084244,
-0.04320327565073967,
-0.019455546513199806,
0.058014821261167526,
-0.013448250479996204,
-0.03275427222251892,
0.010185136459767818,
0.060160912573337555,
0.019226863980293274,
-0.014398159459233284,
-0.03270149976015091,
0.013360296376049519,
-0.054426275193691254,
0.07050436735153198,
0.018663955852389336,
-0.015875795856118202,
0.007291432004421949,
0.04095163941383362,
-0.02756495587527752,
0.05315972864627838,
0.1578960120677948,
-0.01991290971636772,
-0.014486114494502544,
0.01674654521048069,
-0.022199727594852448,
-0.0335986390709877,
0.006029284559190273,
0.03314127400517464,
-0.03268390893936157,
-0.050626639276742935,
0.048867546021938324,
-0.003410437610000372,
0.03030913695693016,
0.031558092683553696,
-0.013096432201564312,
0.011381318792700768,
0.06452345848083496,
0.08542145788669586,
-0.04450500011444092,
-0.02830377407371998,
0.03637799993157387,
0.0020746279042214155,
-0.017951523885130882,
0.043484728783369064,
-0.029007410630583763,
0.021777546033263206,
0.00542239798232913,
0.08654727786779404,
0.04728436470031738,
0.016825705766677856,
0.01716872863471508,
0.011372523382306099,
-0.06814718246459961,
-0.03806672990322113,
-0.0027815625071525574,
0.010554545558989048,
0.0452086366713047,
0.022533955052495003,
-0.011961818672716618,
-0.04932491108775139,
0.016544250771403313,
0.020088819786906242,
-0.08190327882766724,
0.019033364951610565,
-0.028831500560045242,
0.05055627599358559,
0.007687227800488472,
-0.005303659476339817,
0.02921850048005581,
0.05372263863682747,
-0.03739827498793602,
-0.013210773468017578,
0.003669903613626957,
0.015664706006646156,
-0.02548922784626484,
-0.04682700335979462,
0.023132046684622765,
0.01698402315378189,
0.0290250014513731,
-0.038277819752693176,
0.02847968228161335,
-0.03986100107431412,
0.05041554570198059,
-0.05727600306272507,
-0.056677911430597305,
-0.0016634403727948666,
-0.021478500217199326,
-0.020511001348495483,
0.015198546461760998,
-0.005695057101547718,
0.023923637345433235,
0.0116451820358634,
0.006513034459203482,
0.019455546513199806,
0.007344204932451248,
-0.011442886665463448,
0.0005323998630046844,
0.01698402315378189,
0.05812036618590355,
-0.025929000228643417,
-0.019596273079514503,
-0.03534013777971268,
-0.01032586395740509,
0.019525909796357155,
0.06325691193342209,
-0.07578163594007492,
0.01200579572468996,
-0.08366236835718155,
0.007880727760493755,
-0.0064690569415688515,
-0.07029327750205994,
0.028743546456098557,
0.02482077293097973,
-0.020739682018756866,
-0.04151454567909241,
0.045982636511325836,
0.010756840929389,
-0.006068863905966282,
0.07205236703157425,
-0.02475040964782238,
-0.006746113765984774,
0.003933767322450876,
-0.013923205435276031,
0.07018773257732391,
0.0022868183441460133,
-0.03048504702746868,
-0.03500591218471527,
0.048480547964572906,
-0.0498526394367218,
-0.014107909984886646,
0.029552727937698364,
-0.029535137116909027,
-0.03979063779115677,
-0.006433875299990177,
0.04144418239593506,
0.02260431833565235,
-0.009947659447789192,
0.01148686371743679,
-0.02517259120941162,
0.0071199205704033375,
-0.009270409122109413,
0.008386466652154922,
-0.04661590978503227,
-0.009886091575026512,
-0.06360872834920883,
0.012850159779191017,
0.006618579849600792,
-0.014969863928854465,
-0.0058445800095796585,
-0.055692821741104126,
0.018048273399472237,
-0.023747729137539864,
-0.018171409144997597,
-0.020176773890852928,
-0.007832353003323078,
-0.016403524205088615,
-0.03556881844997406,
0.0698007270693779,
0.00589735247194767,
0.0012126733781769872,
0.00245173298753798,
0.011407705023884773,
-0.048304639756679535,
-0.025577181950211525,
-0.031417366117239,
-0.02102113701403141,
-0.03539291024208069,
-0.06480491161346436,
-0.016597023233771324,
0.04102200269699097,
-0.015471205115318298,
0.044329091906547546,
0.01827695593237877,
0.022991318255662918,
-0.010888773016631603,
-0.03257836401462555,
-0.025207772850990295,
0.007075943518429995,
0.04492718353867531,
0.03680018335580826,
-0.01436297781765461,
-0.0056466818787157536,
-0.037011273205280304,
-0.004015125334262848,
-0.011416500434279442,
0.017705250531435013,
0.020511001348495483,
-0.055939093232154846,
-0.03641318157315254,
0.035480864346027374,
-0.03551604598760605,
-0.014618045650422573,
0.04450500011444092,
0.0017436989583075047,
0.04422354698181152,
-0.027090001851320267,
-0.034742046147584915,
-0.06167373061180115,
0.004696772899478674,
-0.04010727256536484,
-0.028708364814519882,
-0.006411886774003506,
-0.001518315402790904,
0.01889263652265072,
0.015532772988080978,
-0.061497822403907776,
-0.06948409229516983,
-0.011671568267047405,
0.022217318415641785,
-0.0639253631234169,
-0.07965163886547089,
-0.00861514825373888,
-0.08767309784889221,
-0.00008355682075489312,
0.0023022103123366833,
0.005088170524686575,
-0.000673402042593807,
-0.03183954581618309,
-0.04098682105541229,
0.03711681813001633,
0.062060728669166565,
-0.032842230051755905,
-0.013087636791169643,
-0.019948091357946396,
-0.006104045547544956,
-0.016904864460229874,
0.02003604546189308,
-0.0009262713720090687,
-0.05351154878735542,
0.0047055683098733425,
-0.013641750440001488,
0.014978659339249134,
-0.011099863797426224,
-0.007902716286480427,
0.003581949044018984,
-0.052350547164678574,
0.0047759320586919785,
-0.06325691193342209,
0.03690572828054428,
-0.03240245580673218,
-0.03880554810166359,
0.02694927342236042,
0.039931364357471466,
-0.07655563950538635,
0.011970614083111286,
-0.05090809240937233,
-0.043731000274419785,
0.028989819809794426,
0.02072209119796753,
-0.021109091117978096,
-0.01906854659318924,
0.0006013892125338316,
-0.01105588674545288,
-0.016975227743387222,
-0.025454046204686165,
-0.06216627359390259,
0.025893818587064743,
0.05372263863682747,
0.04675664007663727,
0.020581364631652832,
-0.007326614111661911,
0.0024957102723419666,
0.01669377274811268,
0.006834068335592747,
0.058014821261167526,
-0.03764454647898674,
-0.010818409733474255,
0.0203526820987463,
-0.023941228166222572,
-0.035480864346027374,
0.03361622989177704,
-0.0034148353151977062,
0.044153183698654175,
-0.01772284135222435,
-0.005602704826742411,
-0.029376819729804993,
-0.03922772780060768,
-0.03030913695693016,
0.012120136991143227,
0.0019844744820147753,
0.026175273582339287,
0.026016956195235252,
0.017327046021819115,
-0.0046615912579,
-0.026615045964717865,
0.03641318157315254,
0.0010296179680153728,
-0.03753900155425072,
-0.19237418472766876,
0.026298409327864647,
-0.022322865203022957,
-0.02242841012775898,
0.0016535455361008644,
-0.05481327325105667,
-0.03697609156370163,
0.025031864643096924,
0.017494160681962967,
-0.034302275627851486,
0.008914193138480186,
-0.053441185504198074,
-0.0558687299489975,
-0.005813795607537031,
0.009718977846205235,
0.02652709186077118,
-0.051541365683078766,
-0.03697609156370163,
-0.028743546456098557,
-0.05009891092777252,
0.009912477806210518,
0.0025836648419499397,
-0.028919456526637077,
-0.022270090878009796,
0.03055541031062603,
0.08077745884656906,
-0.01650027371942997,
0.08739163726568222,
-0.009666205383837223,
0.06121636554598808,
-0.04833982139825821,
0.044821638613939285,
0.014855523593723774,
0.008500806987285614,
-0.0013907812535762787,
-0.057838913053274155,
0.02621045522391796,
-0.02487354725599289,
0.02860281988978386,
-0.03586786612868309,
0.01889263652265072,
-0.05347636714577675,
-0.023483864963054657,
0.022340456023812294,
0.034495774656534195,
0.008192966692149639,
-0.015101796016097069,
0.02554200030863285,
0.026544682681560516,
0.04278109222650528,
0.02761772833764553,
0.049887821078300476,
-0.04703809320926666,
-0.0342143177986145,
-0.014635637402534485,
-0.007511318661272526,
0.013958387076854706,
0.015392046421766281,
0.028180638328194618,
-0.03256077319383621,
-0.0025133013259619474,
-0.009833318181335926,
-0.01405513659119606,
0.06892118602991104,
-0.030221182852983475,
-0.0037512616254389286,
-0.011873864568769932,
-0.040670182555913925,
-0.02774086408317089,
0.03470686450600624,
0.01436297781765461,
0.025524409487843513,
-0.012823773548007011,
-0.02292095497250557,
-0.027213137596845627,
0.031681228429079056,
0.03215618431568146,
0.029535137116909027,
0.03310609236359596,
0.03289500251412392,
0.042323727160692215,
0.05537618324160576,
0.01152204629033804,
0.048797182738780975,
-0.013729705475270748,
0.011372523382306099,
-0.01310522761195898,
-0.013501022942364216,
-0.0007509119459427893,
-0.02420509234070778,
-0.07901836931705475,
-0.025031864643096924,
-0.012771000154316425,
0.062131091952323914,
0.039509184658527374,
-0.02847968228161335,
0.055024366825819016,
0.0036149320658296347,
-0.048973094671964645,
-0.05305418372154236,
-0.027846410870552063,
-0.0014204659964889288,
0.06666954606771469,
0.013281136751174927,
0.042323727160692215,
-0.055270638316869736,
0.007273841183632612,
0.10857109725475311,
-0.01693125069141388,
-0.03379213809967041,
-0.0006222784286364913,
-0.03989618271589279,
0.02351904660463333,
-0.020370272919535637,
-0.022745046764612198,
0.10005709528923035,
0.034425411373376846,
0.036202091723680496,
-0.03173400089144707,
-0.016711363568902016,
0.017195114865899086,
-0.020458228886127472,
-0.04735472798347473,
0.01588459126651287,
0.002524295588955283,
0.019754592329263687,
-0.0009158267639577389,
0.006095250137150288,
0.016702568158507347,
0.001959187677130103,
0.0219886377453804,
0.006557011511176825,
0.05731118470430374,
0.046228911727666855,
0.02529572881758213,
0.009991636499762535,
0.032771866768598557,
-0.057100094854831696,
0.015216137282550335,
0.024715228006243706,
0.04957118257880211,
0.021795136854052544,
0.0208276379853487,
0.008623943664133549,
-0.026667818427085876,
-0.00762126175686717,
0.01063370518386364,
0.042992182075977325,
0.021302592009305954,
0.024099545553326607,
0.006732920650392771,
-0.01936759240925312,
-0.02126741036772728,
-0.047460272908210754,
-0.06216627359390259,
-0.018065864220261574,
0.015348068438470364,
-0.047214001417160034,
-0.07535945624113083,
-0.033334773033857346,
-0.032595954835414886,
-0.02339591085910797,
0.04651036486029625,
0.016790524125099182,
-0.005409204866737127,
-0.02267468348145485,
0.016588227823376656,
0.007137511856853962,
-0.04003690928220749,
-0.054848454892635345,
0.01936759240925312,
0.027776045724749565,
-0.02798713743686676,
-0.010853591375052929,
-0.00047990199527703226,
-0.030467456206679344,
0.039755456149578094,
0.054426275193691254,
-0.011689160019159317,
0.0019866733346134424,
0.023325545713305473,
0.027459410950541496,
-0.08324018865823746,
0.0008449133601970971,
-0.005602704826742411,
-0.021478500217199326,
0.060407184064388275,
-0.00937595497816801,
0.008786659687757492,
-0.046545546501874924,
-0.023237591609358788,
0.02895463816821575,
-0.0022516364697366953,
-0.061814457178115845,
-0.06279955059289932,
0.01540084183216095,
0.042570002377033234,
0.006724125239998102,
-0.013940796256065369,
-0.023307954892516136,
-0.010756840929389,
0.0180306825786829,
-0.015022637322545052,
-0.033756956458091736,
0.056502003222703934,
0.010589728131890297,
0.028514863923192024,
-0.019350001588463783,
-0.0023263979237526655,
0.007317818701267242,
-0.015216137282550335,
0.06381981819868088,
0.05358191207051277,
0.041092365980148315,
-0.014389364048838615,
0.008672318421304226,
0.014908296056091785,
-0.011196614243090153,
-0.018804682418704033,
0.0059765116311609745,
0.0025968579575419426,
0.04337918385863304,
0.019948091357946396,
0.027177955955266953,
0.019156500697135925,
-0.005431193392723799,
0.012384000234305859,
0.04608818516135216,
-0.008980159647762775,
0.041338637471199036
] |
726,100 | penne.delegates | BufferID | ID specific to buffers | class BufferID(ID):
"""ID specific to buffers"""
pass
| (slot: int, gen: int) | [
0.020789097994565964,
-0.054723192006349564,
-0.09037184715270996,
0.0009800702100619674,
-0.007894141599535942,
-0.020967697724699974,
-0.008135252632200718,
0.057795118540525436,
-0.026682913303375244,
-0.049758099019527435,
-0.03188018873333931,
-0.015189971774816513,
-0.04818641394376755,
0.046721890568733215,
-0.045257363468408585,
-0.008108462207019329,
0.0087067736312747,
0.027272295206785202,
-0.021503498777747154,
-0.0402565523982048,
-0.018913792446255684,
0.07758405804634094,
0.023628845810890198,
0.012162693776190281,
-0.017431408166885376,
0.09272937476634979,
0.017154578119516373,
-0.006728773470968008,
0.014716681092977524,
-0.02000325545668602,
-0.027790237218141556,
-0.08772855997085571,
0.035702239722013474,
0.007371735293418169,
-0.05236566439270973,
-0.028772540390491486,
-0.01493100170046091,
0.09422962367534637,
-0.07972726225852966,
-0.03414841368794441,
0.01694025658071041,
0.014493430033326149,
0.032523151487112045,
-0.02227148227393627,
0.0154042923822999,
0.0366845428943634,
0.026736494153738022,
-0.015815073624253273,
-0.07269039750099182,
0.03889918699860573,
0.002269342541694641,
0.0005684518837369978,
-0.017020627856254578,
0.013216436840593815,
-0.013430757448077202,
0.015913303941488266,
0.010903560556471348,
0.054580312222242355,
-0.057152159512043,
0.01607404462993145,
-0.034630633890628815,
0.010099858045578003,
0.039756469428539276,
-0.038149066269397736,
-0.001828422537073493,
-0.07026143372058868,
-0.028718959540128708,
0.017752889543771744,
-0.0066037531942129135,
0.07386916130781174,
0.009608706459403038,
-0.028326038271188736,
0.0017234947299584746,
0.04157819598913193,
0.009903397411108017,
-0.025861350819468498,
-0.0016286132158711553,
0.08187046647071838,
0.030844304710626602,
0.012591334991157055,
0.07415492832660675,
-0.004051998723298311,
0.01964605413377285,
0.010465988889336586,
0.021771399304270744,
-0.007023464422672987,
0.031451545655727386,
-0.015440012328326702,
-0.05897388234734535,
-0.059188202023506165,
-0.018895931541919708,
0.013180715963244438,
-0.002799562644213438,
0.054937511682510376,
-0.013270016759634018,
-0.05068682134151459,
-0.004683797713369131,
0.03000488318502903,
-0.014663100242614746,
0.009706936776638031,
-0.07608380913734436,
0.0015527080977335572,
-0.047329131513834,
-0.03647021949291229,
-0.03972075134515762,
-0.017735028639435768,
0.018449431285262108,
-0.004310969263315201,
-0.013466477394104004,
0.027397315949201584,
0.019878234714269638,
0.0347556546330452,
-0.032576728612184525,
-0.010751749388873577,
-0.009787307120859623,
0.0056125205010175705,
-0.025682751089334488,
0.008072742260992527,
-0.014904211275279522,
-0.025146950036287308,
-0.01752963848412037,
-0.00005246389628155157,
-0.05572335422039032,
0.004947233479470015,
0.0037238202057778835,
0.0073404801078140736,
0.021682100370526314,
0.017092067748308182,
0.007952187210321426,
-0.049579497426748276,
-0.02152135968208313,
0.007041324395686388,
-0.009867677465081215,
0.037970464676618576,
0.04268551617860794,
0.018985232338309288,
0.031272947788238525,
0.01663663610816002,
-0.0326303094625473,
0.025825630873441696,
0.040292270481586456,
0.04861505329608917,
0.050651099532842636,
-0.043149881064891815,
-0.04157819598913193,
0.014145159162580967,
-0.006831469014286995,
-0.09315801411867142,
-0.034487754106521606,
-0.015582893043756485,
-0.00031813213718123734,
-0.022968024015426636,
0.024950489401817322,
0.09572986513376236,
-0.023628845810890198,
0.022432221099734306,
-0.055080391466617584,
-0.024593288078904152,
0.0047597032971680164,
-0.04568600654602051,
0.03273747116327286,
-0.015761492773890495,
0.00015655449533369392,
-0.03452347591519356,
-0.01708313636481762,
0.018592311069369316,
-0.0536515899002552,
-0.021003417670726776,
-0.020431896671652794,
0.015038161538541317,
0.0046034278348088264,
0.016038324683904648,
0.0007880746852606535,
0.026593614369630814,
0.0053222947753965855,
0.03554149717092514,
-0.02986200340092182,
0.015314992517232895,
0.03747038170695305,
0.034005533903837204,
0.07415492832660675,
0.014913140796124935,
0.02455756813287735,
0.04300699755549431,
0.028451059013605118,
-0.002269342541694641,
0.03875630721449852,
0.0031813213136047125,
0.08722848445177078,
-0.04872221499681473,
-0.019074533134698868,
0.022039301693439484,
-0.00821562297642231,
-0.03148726746439934,
-0.012073392979800701,
0.019842514768242836,
0.006728773470968008,
-0.02923690155148506,
-0.025682751089334488,
0.03589870035648346,
-0.0012569009559229016,
0.03800618648529053,
-0.028075996786355972,
-0.02714727446436882,
0.007085974793881178,
0.013645078055560589,
0.054223109036684036,
-0.037256062030792236,
-0.056509196758270264,
-0.014082648791372776,
-0.011528661474585533,
-0.022628681734204292,
0.04004222899675369,
0.08808576315641403,
0.07794125378131866,
-0.03384479507803917,
-0.04640040919184685,
0.028718959540128708,
0.029969163239002228,
0.01761893928050995,
0.11623319983482361,
-0.03334471210837364,
-0.013073556125164032,
-0.02929048053920269,
-0.05665207654237747,
-0.007782516535371542,
0.047221969813108444,
-0.00444938475266099,
0.002176693407818675,
-0.03593441843986511,
0.045471686869859695,
0.0024646867532283068,
0.007135089486837387,
0.0258970707654953,
0.022735843434929848,
-0.013636147603392601,
-0.026682913303375244,
-0.010162368416786194,
-0.03957786783576012,
-0.0070904395543038845,
-0.0010861142072826624,
0.04136387258768082,
0.06536778062582016,
0.03566651791334152,
-0.0053981998935341835,
-0.0070547196082770824,
-0.021664239466190338,
0.0365416593849659,
-0.030612124130129814,
-0.013582567684352398,
-0.02036045677959919,
-0.04254263639450073,
-0.04986525699496269,
-0.03071928396821022,
0.011082160286605358,
-0.05443742871284485,
-0.1251632273197174,
-0.03407697379589081,
-0.04200683534145355,
-0.00875142402946949,
-0.07601237297058105,
0.008992535062134266,
-0.06636794656515121,
0.06986851245164871,
0.05157982185482979,
0.03861342743039131,
-0.013136066496372223,
0.023235924541950226,
-0.03271961212158203,
0.01928885281085968,
0.16845598816871643,
0.030504964292049408,
-0.0018842351855710149,
0.00639389781281352,
-0.04429292306303978,
-0.06472481787204742,
-0.002321806503459811,
0.08601399511098862,
0.0031232761684805155,
-0.03772042319178581,
0.02241436205804348,
0.013600427657365799,
0.000995697802864015,
-0.011466152034699917,
0.008389757946133614,
-0.014886351302266121,
0.018413711339235306,
0.0446501225233078,
-0.05125834047794342,
-0.03148726746439934,
0.0060813468880951405,
0.04432864114642143,
-0.04390000179409981,
0.015538242645561695,
0.012216273695230484,
0.04336420074105263,
-0.04675760865211487,
0.05057965964078903,
0.0518655851483345,
-0.0312550850212574,
-0.05425883084535599,
0.0038399104960262775,
-0.01827082969248295,
0.01308248657733202,
-0.07879853993654251,
0.0011519731488078833,
-0.0004077114281244576,
-0.030772864818572998,
-0.0014020138187333941,
0.016413385048508644,
0.04765061289072037,
0.055616192519664764,
-0.022253621369600296,
0.03914922848343849,
0.05318722873926163,
0.033291131258010864,
0.01178763248026371,
0.0001533452741568908,
0.0032996442168951035,
0.10258812457323074,
-0.03516643866896629,
-0.004453849978744984,
0.04304271936416626,
-0.03429129347205162,
0.008354038000106812,
0.025432709604501724,
0.0020996720995754004,
-0.014180879108607769,
-0.04618608579039574,
0.018288690596818924,
-0.08529959619045258,
0.02375386655330658,
0.014797050505876541,
-0.037256062030792236,
-0.026718633249402046,
-0.020163996145129204,
-0.007045789621770382,
-0.002911187941208482,
0.034219853579998016,
-0.024575427174568176,
0.050436779856681824,
-0.05847380310297012,
-0.012359154410660267,
0.059188202023506165,
0.00884072482585907,
-0.012734214775264263,
-0.012957465834915638,
-0.006420687772333622,
0.05683067813515663,
0.013939768075942993,
0.01549359317868948,
-0.0383276641368866,
-0.005469640251249075,
0.02018185518682003,
0.061902932822704315,
-0.04443580284714699,
0.010242738761007786,
-0.02071765810251236,
-0.03455919399857521,
-0.00014385711983777583,
-0.026004232466220856,
-0.019574614241719246,
0.029933443292975426,
-0.049543775618076324,
-0.08587111532688141,
0.025075510144233704,
0.00445831473916769,
-0.04486444219946861,
0.036273758858442307,
-0.003915815614163876,
-0.0401851125061512,
0.013323596678674221,
-0.0428641177713871,
0.028504638001322746,
-0.012394874356687069,
-0.026557892560958862,
-0.02402176707983017,
0.01761893928050995,
-0.023664565756917,
-0.006688588298857212,
-0.029129739850759506,
-0.0018351200269535184,
0.06075988709926605,
0.026307852938771248,
-0.04468584433197975,
0.029576241970062256,
-0.036148738116025925,
-0.0042730169370770454,
-0.004538685083389282,
0.06626078486442566,
0.04632896929979324,
-0.01705634780228138,
-0.060617007315158844,
-0.03577367961406708,
-0.09794451296329498,
-0.006478732917457819,
0.04611464589834213,
0.014680960215628147,
0.012984256260097027,
-0.05075826123356819,
-0.009680146351456642,
-0.02393246628344059,
-0.02777237631380558,
0.05300862714648247,
0.010412408970296383,
0.01857445202767849,
0.08901448547840118,
0.0038934906478971243,
-0.03897062689065933,
-0.03364833444356918,
-0.034487754106521606,
0.0055142901837825775,
-0.01631515473127365,
-0.03138010576367378,
0.055973395705223083,
-0.05483034998178482,
0.021128438413143158,
-0.006559103261679411,
0.0042105065658688545,
0.013502197340130806,
-0.015323922038078308,
0.0518655851483345,
0.018645891919732094,
0.016350874677300453,
-0.06315313279628754,
0.003129973541945219,
0.018628031015396118,
0.04550740495324135,
0.013118206523358822,
0.01986037567257881,
-0.043649960309267044,
0.0035251271910965443,
0.030433524399995804,
-0.057437919080257416,
-0.011367921717464924,
-0.009948047809302807,
-0.002725890139117837,
-0.03161228820681572,
0.024754028767347336,
0.04947233572602272,
0.0607241690158844,
0.03997078910470009,
0.026182832196354866,
0.023057322949171066,
0.03239813074469566,
-0.06129568815231323,
-0.017243877053260803,
0.07608380913734436,
0.01896737329661846,
-0.01189479324966669,
0.03486281633377075,
0.008425477892160416,
0.04607892781496048,
-0.0347556546330452,
-0.0019087927648797631,
-0.11587599664926529,
-0.04950805753469467,
-0.007465500850230455,
0.002413339214399457,
-0.05211562290787697,
-0.053472988307476044,
0.04772205278277397,
-0.041185274720191956,
-0.04039943218231201,
-0.04861505329608917,
0.028165297582745552,
0.028808260336518288,
-0.023646704852581024,
0.01084997970610857,
0.031183646991848946,
0.03107648529112339,
0.012403803877532482,
-0.010081998072564602,
-0.01592223346233368,
0.0064072925597429276,
0.021003417670726776,
0.020146135240793228,
0.010090927593410015,
-0.08515671640634537,
-0.020467616617679596,
0.03193376958370209,
-0.048650775104761124,
-0.014939931221306324,
0.005822375882416964,
0.0010280690621584654,
-0.013475406914949417,
0.0023709216620773077,
0.0014165252214297652,
-0.0018909326754510403,
-0.020664077252149582,
-0.05572335422039032,
0.026772214099764824,
-0.02321806363761425,
-0.029040440917015076,
0.06811822950839996,
0.026647193357348442,
0.042792677879333496,
0.03532717749476433,
-0.037577543407678604,
-0.047329131513834,
0.00029552800697274506,
-0.07972726225852966,
-0.048293571919202805,
-0.09851603209972382,
0.014350549317896366,
-0.061009928584098816,
-0.037756145000457764,
0.003853305708616972,
-0.00544731505215168,
0.034273434430360794,
0.00303620845079422,
-0.0008299341425299644,
0.017967209219932556,
0.006277807522565126,
0.021628519520163536,
0.01714564673602581,
-0.013109276071190834,
-0.03500569611787796,
-0.04840073361992836,
-0.008224552497267723,
0.019306713715195656,
0.031540848314762115,
0.03354117274284363,
-0.04607892781496048,
0.03254101052880287,
-0.0401851125061512,
-0.06854686886072159,
-0.03657738119363785,
0.039756469428539276,
0.015547173097729683,
-0.008237947709858418,
0.02536126971244812,
0.01893165148794651,
0.013912978582084179,
0.02557559125125408,
-0.005737540777772665,
0.03961358964443207,
-0.015457872301340103,
-0.03822050616145134,
-0.027790237218141556,
-0.005581265315413475,
0.012216273695230484,
0.029040440917015076,
-0.058295201510190964,
0.015502522699534893,
0.01214483380317688,
-0.048293571919202805,
0.014314829371869564,
-0.0020539057441055775,
-0.028718959540128708,
0.0069922092370688915,
-0.030379943549633026,
-0.018913792446255684,
-0.05515183135867119,
-0.0223250612616539,
-0.03238026797771454,
0.016645565629005432,
-0.008559429086744785,
0.015770424157381058,
0.048293571919202805,
-0.0026946349535137415,
0.06276021152734756,
0.03271961212158203,
0.017735028639435768,
0.02075337804853916,
-0.002433431800454855,
0.021807121112942696,
-0.025129089131951332,
0.03273747116327286,
0.0043489220552146435,
-0.007349410094320774,
0.007202065084129572,
0.03045138344168663,
-0.004429292399436235,
-0.03402339294552803,
0.008063812740147114,
-0.0544731505215168,
0.05286574736237526,
0.007219925057142973,
-0.037434663623571396,
0.0044248271733522415,
0.06447477638721466,
-0.029844142496585846,
-0.05550903454422951,
0.06593929976224899,
0.022396501153707504,
-0.03979219123721123,
0.02464686892926693,
0.035470057278871536,
0.002399944234639406,
-0.00634031742811203,
0.005969721358269453,
0.007398525252938271,
-0.034309156239032745,
0.019485313445329666,
0.055651914328336716,
0.02661147341132164,
-0.03893490880727768,
-0.049400895833969116,
-0.022128600627183914,
0.01393083855509758,
0.0383276641368866,
-0.0023575264494866133,
0.018413711339235306,
0.0625816136598587,
-0.01884235255420208,
-0.06651082634925842,
-0.016949186101555824,
-0.01771716959774494,
-0.0004975697956979275,
-0.020217575132846832,
0.02295016311109066,
0.0015995906433090568,
0.024057487025856972,
-0.016645565629005432,
-0.013912978582084179,
0.00910862535238266,
0.03584511950612068,
0.024325387552380562,
0.0007624008576385677,
0.009537266567349434,
0.02357526496052742,
0.0043020392768085,
-0.023986047133803368,
-0.015949023887515068,
0.019181692972779274,
-0.0183422714471817,
-0.04393571987748146,
-0.006367107387632132,
-0.020574776455760002,
-0.013046765699982643,
0.02196785993874073,
0.010617799125611782,
-0.014341619797050953,
0.029772702604532242,
-0.022700123488903046,
-0.02000325545668602,
-0.012091252952814102,
-0.0034514544531702995,
0.09773018956184387,
0.006697518285363913,
0.021628519520163536,
-0.015368572436273098,
-0.028468918055295944,
-0.013109276071190834,
0.0020896256901323795,
0.018824491649866104,
-0.01245738472789526,
0.020056836307048798,
-0.028058137744665146,
-0.013368247076869011,
0.015940094366669655,
-0.010885699652135372,
-0.010698169469833374,
0.05429454892873764,
0.06736810505390167,
-0.04965093731880188,
0.02500406838953495,
0.019396014511585236,
-0.008782679215073586,
0.03822050616145134,
-0.007608381099998951,
0.02500406838953495,
-0.023986047133803368,
-0.07594092935323715,
-0.001926652854308486,
0.010474919341504574,
-0.039042066782712936,
0.0024825469590723515,
0.040613751858472824,
-0.025379130616784096,
0.03972075134515762,
-0.02289658412337303,
-0.07651244848966599,
-0.04922229424118996,
-0.0509011410176754,
-0.005393735133111477,
0.011019650846719742,
0.021932139992713928,
0.013948698528110981,
-0.01896737329661846,
-0.012341294437646866,
0.02178926020860672,
-0.013073556125164032,
0.018681611865758896,
0.03700602054595947,
0.016511615365743637,
-0.0003008302010130137,
0.04461440443992615,
-0.06493914127349854,
0.01964605413377285,
0.0072869001887738705,
0.04922229424118996,
0.0174135472625494,
-0.03907778859138489,
-0.026647193357348442,
0.016627706587314606,
0.018645891919732094,
-0.015395362861454487,
-0.02125345915555954,
-0.0002977605035994202,
-0.030022742226719856,
0.016395526006817818,
-0.014421990141272545,
-0.004974023904651403,
0.0330410897731781,
-0.035202156752347946,
-0.01857445202767849,
0.049758099019527435,
-0.009724796749651432,
-0.004732912871986628,
0.03500569611787796,
0.042256876826286316,
-0.009367595426738262,
0.018431570380926132,
0.0034782446455210447,
-0.013680798001587391,
0.06090276688337326,
-0.020431896671652794,
0.07161879539489746,
-0.022432221099734306,
0.0446501225233078,
0.05854524299502373,
0.0075414059683680534,
-0.0009471407392993569,
0.007447640411555767,
0.044935885816812515,
0.024396827444434166,
0.019681774079799652,
0.016654495149850845,
0.0730833187699318,
-0.0037327504251152277,
-0.12130545824766159,
0.0010057439794763923,
0.023968186229467392,
-0.0007858421886339784,
0.013787957839667797,
-0.10151652246713638,
0.018645891919732094,
0.02075337804853916,
-0.052937187254428864,
0.008581753820180893,
-0.0034782446455210447,
0.03062998503446579,
-0.06918983161449432,
0.009501546621322632,
0.03071928396821022,
0.04943661764264107,
-0.012251993641257286,
0.0037907955702394247,
0.05972400680184364,
0.043149881064891815,
-0.03782758489251137,
-0.028808260336518288,
0.04150675609707832,
-0.04093523323535919,
0.006416222546249628,
0.04882937669754028,
0.0068939789198338985,
-0.006822539027780294,
-0.013466477394104004,
-0.026843653991818428,
0.013770097866654396,
-0.030022742226719856,
-0.043685682117938995,
-0.004382409621030092,
-0.034630633890628815,
0.0352378785610199
] |
726,101 | penne.delegates | __key | null | def __key(self):
return type(self), self.slot, self.gen
| (self) | [
0.04683989658951759,
-0.03841421753168106,
0.008550344966351986,
0.01033435296267271,
0.01698892004787922,
-0.027976693585515022,
0.014598778448998928,
0.010523500852286816,
0.026601072400808334,
-0.02610240876674652,
-0.021150173619389534,
0.0180894173681736,
0.04133741185069084,
0.03002293035387993,
-0.035284679383039474,
-0.028853651136159897,
0.0013530522119253874,
0.005455197300761938,
-0.03882690519094467,
-0.008589033968746662,
-0.002959734760224819,
0.03899885714054108,
0.05712266266345978,
-0.034528087824583054,
0.004109668079763651,
0.09588078409433365,
0.031364161521196365,
0.0013337075943127275,
0.04766526818275452,
-0.045395493507385254,
-0.10048911720514297,
-0.028148645535111427,
0.04243791103363037,
-0.0007711001089774072,
-0.00979270227253437,
-0.023110434412956238,
-0.01698892004787922,
0.06854031980037689,
0.00462982477620244,
-0.002746943384408951,
0.07435231655836105,
-0.01882881298661232,
-0.012028086930513382,
-0.06554834544658661,
0.003626051126047969,
0.03738250210881233,
0.037485674023628235,
-0.024382883682847023,
0.025552161037921906,
-0.05660680681467056,
0.02677302435040474,
-0.0399617925286293,
0.008000096306204796,
0.005928067024797201,
-0.05753535032272339,
0.03535345941781998,
0.013678831979632378,
0.007312285713851452,
-0.04247229918837547,
0.09643103927373886,
-0.021872375160455704,
0.04051204025745392,
0.021820789203047752,
0.007970004342496395,
0.028406575322151184,
-0.053064581006765366,
-0.04611769691109657,
0.019671380519866943,
-0.025810090824961662,
0.06592664122581482,
0.020427972078323364,
-0.06042415648698807,
-0.012647115625441074,
0.029575852677226067,
-0.0099560571834445,
-0.06829958409070969,
-0.029575852677226067,
0.010961980558931828,
0.07510890811681747,
-0.047252584248781204,
0.01284486148506403,
-0.01470195036381483,
-0.06410393863916397,
-0.00652560219168663,
0.0014572985237464309,
0.028372183442115784,
0.0007023190264590085,
-0.010540695860981941,
-0.06413833051919937,
-0.04807795584201813,
-0.03127818554639816,
0.04082155600190163,
-0.019430646672844887,
0.08012992888689041,
-0.04501719772815704,
-0.06912495940923691,
-0.022646160796284676,
-0.0435384064912796,
0.023454338312149048,
-0.00677493354305625,
0.01671379618346691,
0.004780283197760582,
-0.01267290860414505,
0.02061711996793747,
-0.021889569237828255,
-0.03306649252772331,
-0.027323273941874504,
0.011366069316864014,
-0.0325162410736084,
-0.008580435998737812,
0.0018259220523759723,
0.04828429967164993,
-0.009947460144758224,
0.038895685225725174,
0.0006802876014262438,
-0.018588079139590263,
0.004505158867686987,
0.015389760956168175,
0.024692397564649582,
-0.009551968425512314,
-0.02424532175064087,
0.01305120438337326,
-0.050932370126247406,
0.03005732037127018,
0.010196791030466557,
0.014538595452904701,
0.025259841233491898,
0.0253802090883255,
-0.03045281022787094,
-0.018691251054406166,
0.02422812581062317,
0.008984524756669998,
-0.03232709318399429,
0.05038212239742279,
-0.006693256087601185,
-0.008705101907253265,
0.08879633992910385,
0.02902560494840145,
-0.02250859886407852,
0.09182270616292953,
0.008606228977441788,
0.04381353035569191,
0.023695072159171104,
0.010575086809694767,
-0.0018785825232043862,
-0.026721438392996788,
0.005872182548046112,
0.03112342581152916,
0.03002293035387993,
-0.03954910486936569,
-0.00942300446331501,
0.013953955844044685,
0.04969431087374687,
0.05691632255911827,
-0.04529232159256935,
0.012647115625441074,
-0.06840275973081589,
0.001954886596649885,
-0.020840659737586975,
-0.03573175519704819,
-0.012879252433776855,
-0.05674436688423157,
0.014358044601976871,
-0.05932365730404854,
0.021425297483801842,
0.03769201785326004,
0.016885748133063316,
-0.00996465515345335,
0.03662591055035591,
-0.013678831979632378,
-0.057741694152355194,
-0.036694690585136414,
-0.08886512368917465,
0.024124953895807266,
-0.025448989123106003,
0.027976693585515022,
-0.01772831566631794,
0.04016813635826111,
0.03507833555340767,
-0.0253802090883255,
0.0723576694726944,
-0.012569737620651722,
-0.06774933636188507,
0.008958731777966022,
0.015828240662813187,
-0.002654518699273467,
0.05684753879904747,
0.003939864691346884,
0.05619411915540695,
-0.018330151215195656,
-0.04924723505973816,
0.004780283197760582,
-0.05100115016102791,
0.009147879667580128,
0.015510126948356628,
0.016825564205646515,
-0.019000764936208725,
-0.005119889508932829,
-0.04061521217226982,
0.07070691883563995,
0.0013358569703996181,
-0.01016240008175373,
-0.020015286281704903,
0.03683225437998772,
-0.005837792064994574,
0.0023879921063780785,
0.07359572499990463,
-0.02606801874935627,
0.020909439772367477,
-0.0289568230509758,
0.00770347798243165,
-0.03555980324745178,
-0.005098395515233278,
0.04209400340914726,
0.06695835292339325,
-0.08088652044534683,
-0.0399274006485939,
-0.031054645776748657,
-0.025483379140496254,
0.03232709318399429,
0.09182270616292953,
0.0034003632608801126,
0.008275220170617104,
-0.032808560878038406,
-0.0011671284446492791,
-0.0471838004887104,
-0.015338174998760223,
-0.009913069196045399,
-0.06131830811500549,
-0.022697746753692627,
0.03382308408617973,
-0.0117701580747962,
0.013661636970937252,
0.044742073863744736,
-0.02974780462682247,
0.04267864301800728,
-0.0035314771812409163,
-0.012251624837517738,
-0.02285250462591648,
0.023265190422534943,
-0.001302541233599186,
0.06781812012195587,
0.04880015552043915,
0.013910967856645584,
0.010179596021771431,
0.013782002963125706,
0.022628966718912125,
0.060630496591329575,
-0.013369317166507244,
-0.022611770778894424,
0.013162974268198013,
-0.05251433327794075,
0.005910871550440788,
0.0013777704443782568,
0.009010317735373974,
-0.04807795584201813,
-0.047940392047166824,
0.0002540331333875656,
0.004849064163863659,
-0.019465038552880287,
-0.04133741185069084,
0.05550630763173103,
-0.0434696264564991,
0.014607376419007778,
0.03796714171767235,
0.02754681184887886,
0.04250669106841087,
0.07015667110681534,
-0.08226213604211807,
0.010153803043067455,
0.10179595649242401,
0.009388613514602184,
-0.08405044674873352,
0.03155330941081047,
-0.023076042532920837,
-0.020531143993139267,
-0.001781859202310443,
0.024795569479465485,
-0.04739014431834221,
-0.04501719772815704,
0.023712268099188805,
0.025655332952737808,
0.005459496285766363,
-0.003656142856925726,
-0.0253458172082901,
0.007630398031324148,
-0.003329432802274823,
-0.04594574496150017,
0.012036683969199657,
-0.016163546591997147,
0.011409057304263115,
0.03841421753168106,
-0.019379060715436935,
0.008915743790566921,
0.0580512098968029,
0.018949180841445923,
-0.03934276103973389,
0.01283626351505518,
0.04212839528918266,
0.019379060715436935,
0.024159343913197517,
0.008012992329895496,
-0.010635269805788994,
0.009010317735373974,
-0.043572798371315,
0.025225451216101646,
0.04175009950995445,
0.01595720462501049,
0.008356898091733456,
0.0018001290736719966,
-0.02936950884759426,
0.032808560878038406,
0.02931792289018631,
0.06561712175607681,
-0.009629347361624241,
0.006005445495247841,
-0.014779328368604183,
0.023729464039206505,
0.019035156816244125,
0.1380435675382614,
-0.040064964443445206,
0.026532290503382683,
0.003490638453513384,
0.02677302435040474,
0.05027895048260689,
-0.020823463797569275,
-0.06912495940923691,
-0.04089033603668213,
-0.022302256897091866,
0.017848683521151543,
-0.06541077792644501,
-0.019138328731060028,
0.023299582302570343,
0.015432748943567276,
-0.06382881850004196,
0.06114635616540909,
0.05419946834445,
0.025982042774558067,
-0.010867406614124775,
-0.04429499804973602,
0.055540699511766434,
-0.03817348554730415,
-0.007290791720151901,
0.00390977319329977,
-0.026566682383418083,
-0.019344670698046684,
0.020341996103525162,
0.009156477637588978,
0.05189530551433563,
-0.006581487134099007,
-0.0003820572455879301,
-0.04175009950995445,
0.049075279384851456,
0.011881927028298378,
0.08597631752490997,
-0.041096679866313934,
-0.018398931249976158,
-0.03447650372982025,
-0.06059610843658447,
0.06609859317541122,
0.094023697078228,
-0.05227360129356384,
-0.017238251864910126,
-0.01121990941464901,
-0.03485479950904846,
0.005545472260564566,
-0.024503249675035477,
0.0018785825232043862,
0.04563622921705246,
-0.051964085549116135,
-0.034631259739398956,
0.008855560794472694,
-0.07579672336578369,
0.012922240421175957,
-0.021459687501192093,
-0.0036518441047519445,
0.013575660064816475,
0.05502484366297722,
-0.03696981444954872,
-0.08033627271652222,
0.04683989658951759,
-0.01247516367584467,
0.05289262905716896,
0.09897593408823013,
-0.0325678288936615,
0.025225451216101646,
0.02967902459204197,
0.015157624147832394,
0.014805121347308159,
0.041096679866313934,
-0.014934086240828037,
-0.0024245320819318295,
-0.032756976783275604,
-0.008821169845759869,
0.008984524756669998,
-0.02250859886407852,
0.025792894884943962,
-0.044019874185323715,
-0.04463890194892883,
-0.05206725746393204,
0.02601643279194832,
-0.048318687826395035,
-0.01777990162372589,
0.009680933319032192,
0.04814673587679863,
-0.019052350893616676,
0.047286972403526306,
0.007002770900726318,
0.008215037174522877,
-0.07111960649490356,
-0.06633932888507843,
0.010360145941376686,
-0.038964465260505676,
-0.07332060486078262,
0.04484524577856064,
-0.0579136461019516,
-0.00025604822440072894,
0.031673673540353775,
0.037072986364364624,
0.047630880028009415,
-0.005180072970688343,
0.028011083602905273,
-0.015260796062648296,
-0.012767482548952103,
-0.03402942419052124,
0.006185995880514383,
-0.03648834675550461,
0.04027130454778671,
-0.0027018056716769934,
0.022285060957074165,
-0.04175009950995445,
0.014082920737564564,
0.02754681184887886,
-0.003194020129740238,
-0.00761750154197216,
-0.05643485486507416,
0.005046809557825327,
-0.04742453619837761,
0.012286015786230564,
0.0325506329536438,
-0.0002928568283095956,
0.0034497997257858515,
-0.017109286040067673,
-0.009809897281229496,
0.047252584248781204,
-0.03282575681805611,
-0.0471494123339653,
0.05474971607327461,
0.05333970487117767,
0.007252102252095938,
0.014538595452904701,
0.027701569721102715,
0.05664119869470596,
-0.04969431087374687,
0.05653802677989006,
-0.02642911858856678,
-0.04089033603668213,
-0.06190294772386551,
0.004062381107360125,
-0.05605655908584595,
-0.00623328285291791,
0.025775698944926262,
-0.006289167329668999,
0.01767672970890999,
-0.039617884904146194,
0.01066966075450182,
-0.011899122036993504,
-0.0289568230509758,
0.018622469156980515,
0.06750860065221786,
-0.011151128448545933,
0.01989492028951645,
-0.04487963765859604,
-0.06221246346831322,
-0.047252584248781204,
0.029214752838015556,
0.012810471467673779,
0.010024838149547577,
-0.08632022142410278,
-0.07187619805335999,
0.004698605742305517,
-0.08466947823762894,
0.01846771314740181,
-0.0018689101561903954,
0.011452045291662216,
0.01998089626431465,
-0.04199083149433136,
0.012062476947903633,
-0.08494459837675095,
-0.009646542370319366,
-0.029816586524248123,
0.010222584009170532,
-0.010437524877488613,
0.03703859820961952,
0.0471150204539299,
0.028354989364743233,
0.026601072400808334,
0.010549293830990791,
-0.07077570259571075,
0.007381066679954529,
0.007204815279692411,
-0.017126481980085373,
0.0136100510135293,
-0.00958635937422514,
0.04924723505973816,
-0.05186091363430023,
-0.006388040259480476,
-0.014959879219532013,
-0.017539167776703835,
-0.017255445942282677,
0.039686668664216995,
-0.05643485486507416,
0.022921286523342133,
-0.02058272995054722,
0.004382642917335033,
-0.018295759335160255,
-0.007656191010028124,
-0.02094382978975773,
-0.004316010978072882,
0.05461215600371361,
0.027426443994045258,
0.008219336159527302,
0.0007845338550396264,
0.02751242183148861,
-0.026962172240018845,
0.05048529431223869,
-0.04195644333958626,
-0.031209401786327362,
0.005949561018496752,
0.04429499804973602,
0.00525745190680027,
0.002592185977846384,
-0.0363163948059082,
0.04305693879723549,
-0.06771494448184967,
0.05034773051738739,
-0.030899887904524803,
0.024107759818434715,
0.0144784115254879,
0.009285442531108856,
0.004313861485570669,
0.004294516984373331,
0.0034132597502321005,
-0.02574130892753601,
0.06812763214111328,
0.023695072159171104,
-0.03593809902667999,
-0.04023691639304161,
-0.03440771996974945,
-0.03899885714054108,
0.01125429943203926,
-0.014383837580680847,
0.04553305730223656,
-0.08927780389785767,
0.01230321079492569,
0.009551968425512314,
0.026962172240018845,
-0.01989492028951645,
0.01410871371626854,
0.04267864301800728,
0.020771877840161324,
0.043572798371315,
0.005025315564125776,
-0.023471534252166748,
0.0162753164768219,
-0.01432365458458662,
0.012036683969199657,
-0.016954530030488968,
0.022663356736302376,
0.000490871025249362,
-0.03879251331090927,
0.012286015786230564,
0.05134505406022072,
0.00005491065530804917,
-0.008000096306204796,
0.00544230081140995,
-0.04391670227050781,
0.030659154057502747,
-0.07056935876607895,
-0.10461597889661789,
0.006336454302072525,
0.06702713668346405,
0.013739014975726604,
0.02280091866850853,
-0.02247420884668827,
0.00795280933380127,
-0.010979175567626953,
0.02140810340642929,
-0.04371035844087601,
-0.003243456594645977,
-0.029128775000572205,
-0.005480990279465914,
-0.033118076622486115,
0.004144058562815189,
0.04859381541609764,
0.0033638232853263617,
-0.0070672533474862576,
-0.004169851541519165,
-0.03482040762901306,
-0.038861293345689774,
0.03586931899189949,
0.03934276103973389,
0.0271169301122427,
0.011787353083491325,
0.053477268666028976,
-0.014813719317317009,
0.011280092410743237,
0.029816586524248123,
0.010540695860981941,
-0.025517771020531654,
-0.038930077105760574,
0.0036647403612732887,
0.0217520073056221,
-0.03696981444954872,
-0.0020354893058538437,
-0.023763854056596756,
0.019619794562458992,
0.01485670730471611,
0.014727743342518806,
-0.002697506919503212,
-0.07098204642534256,
0.03335881233215332,
0.008821169845759869,
0.01283626351505518,
-0.01593141071498394,
-0.016215132549405098,
-0.019912114366889,
0.00835259910672903,
0.06964081525802612,
-0.05261750519275665,
-0.004999522585421801,
-0.032017581164836884,
0.09209782630205154,
-0.06640810519456863,
0.015484334900975227,
0.001047836383804679,
-0.0003011857916135341,
0.004698605742305517,
-0.03762323409318924,
0.06265953928232193,
-0.025173865258693695,
0.03476882353425026,
-0.017969049513339996,
0.03380588814616203,
-0.039239589124917984,
-0.001511033740825951,
-0.013807795941829681,
-0.021545665338635445,
0.006826519500464201,
-0.06131830811500549,
-0.01781429350376129,
0.0253630131483078,
-0.04419182613492012,
-0.03200038522481918,
-0.018536493182182312,
0.000024046501494012773,
-0.02424532175064087,
-0.03779518976807594,
-0.03406381607055664,
-0.03841421753168106,
-0.014014139771461487,
0.017160871997475624,
0.0009537997539155185,
-0.030263662338256836,
0.02422812581062317,
0.011787353083491325,
-0.006216087844222784,
-0.0181581974029541,
-0.024451663717627525,
0.024021781980991364,
0.013885174877941608,
-0.025620942935347557,
-0.0022095912136137486,
-0.08914024382829666,
-0.06816202402114868,
-0.01661062426865101,
0.04419182613492012,
0.009268246591091156,
0.03480321168899536,
-0.03217233717441559,
0.018364541232585907,
-0.012432175688445568,
-0.0108416136354208,
-0.0006534199928864837,
-0.005124188493937254,
0.008846962824463844,
0.006813623011112213,
-0.000889317539986223,
-0.006839415989816189,
-0.1124570220708847,
0.02431410178542137,
-0.04787161201238632,
0.008593332953751087,
-0.0010360146407037973,
-0.05364922061562538,
-0.009835690259933472,
0.04487963765859604,
-0.0398930087685585,
0.010549293830990791,
-0.026962172240018845,
-0.021167369559407234,
-0.009448797442018986,
0.03296332061290741,
0.0011123185977339745,
0.005493886768817902,
0.015475736930966377,
0.03872373327612877,
0.011804548092186451,
0.04646160081028938,
0.005369220860302448,
0.02137371152639389,
-0.005072602536529303,
-0.015338174998760223,
-0.022525794804096222,
0.05660680681467056,
-0.043641578406095505,
0.000984966172836721,
0.07772258669137955,
-0.00490065012127161,
0.06544516980648041,
-0.025620942935347557,
-0.016834162175655365,
0.054096296429634094,
0.020754681900143623,
0.028097059577703476,
0.06355369091033936,
0.026171190664172173,
0.00996465515345335,
-0.038930077105760574,
0.04095911607146263,
0.026962172240018845,
-0.02032480016350746,
-0.04969431087374687,
0.006551395170390606,
0.054921671748161316,
-0.009551968425512314,
0.04384792223572731,
-0.024726787582039833,
0.006207489874213934,
0.050760418176651,
-0.04935040697455406,
0.04952235892415047,
0.0024911637883633375,
0.035284679383039474,
-0.0023579003755003214,
0.007888327352702618,
-0.018674055114388466,
0.04388231039047241,
-0.009225258603692055,
-0.026257166638970375,
0.02572411298751831,
0.07483378797769547,
0.0037034298293292522,
-0.04677111655473709,
0.00325205409899354,
-0.04646160081028938,
0.024829959496855736,
0.002218188950791955,
0.0029511370230466127,
-0.011555217206478119,
-0.04133741185069084,
-0.04611769691109657,
-0.02140810340642929,
0.005081200040876865,
0.011168323457241058,
-0.0018259220523759723,
0.030160492286086082,
0.0010720172431319952
] |
726,102 | penne.delegates | __eq__ | null | def __eq__(self, other: object) -> bool:
if type(other) is type(self):
return self.__key() == other.__key()
else:
return False
| (self, other: object) -> bool | [
0.04320523515343666,
-0.03159759193658829,
-0.024863390251994133,
0.04522549733519554,
-0.012777266092598438,
-0.05635465309023857,
-0.02310895174741745,
0.022258315235376358,
0.04777740314602852,
-0.004833563696593046,
-0.003531026653945446,
-0.06092682480812073,
0.07825853675603867,
0.07152433693408966,
-0.0033538108691573143,
-0.015825379639863968,
-0.03700267896056175,
0.033653296530246735,
0.008829781785607338,
-0.018891213461756706,
-0.017721589654684067,
0.009808899834752083,
0.038916610181331635,
0.034893810749053955,
-0.007522814441472292,
0.06567621231079102,
0.01104941125959158,
0.028886189684271812,
-0.009631684049963951,
0.07648637890815735,
-0.07513953745365143,
-0.04802550747990608,
0.04157484695315361,
0.036293815821409225,
0.016330445185303688,
-0.015045628882944584,
-0.049655891954898834,
0.04930146038532257,
-0.022931735962629318,
-0.0336887426674366,
-0.0002485176082700491,
0.01393803022801876,
-0.009303834289312363,
-0.023534270003437996,
0.014505120925605297,
-0.0031699491664767265,
-0.03781787306070328,
0.029754549264907837,
0.03686090558767319,
0.014957020990550518,
-0.011102575808763504,
-0.06050150468945503,
-0.01627727970480919,
0.055823005735874176,
-0.05252679064869881,
0.002576275961473584,
0.0006972337723709643,
0.025767190381884575,
-0.059402767568826675,
0.025589974597096443,
-0.01991906575858593,
-0.0015993734123185277,
0.0028265935834497213,
-0.016551963984966278,
-0.033103927969932556,
-0.05982808396220207,
-0.06592430919408798,
0.006805090233683586,
0.012201313860714436,
0.036506474018096924,
-0.041716620326042175,
-0.011616501957178116,
-0.01261777151376009,
0.04554448276758194,
-0.04706854000687599,
-0.004891158547252417,
-0.027450742200016975,
0.06975217163562775,
0.00048789751599542797,
-0.033440638333559036,
-0.004900019615888596,
-0.049549564719200134,
-0.04650145024061203,
-0.025430480018258095,
-0.09484594315290451,
0.04090142622590065,
-0.017473487183451653,
0.021000083535909653,
0.039200156927108765,
-0.02154945209622383,
0.002607288770377636,
0.02002539671957493,
0.04097231477499008,
-0.021779833361506462,
0.020840588957071304,
-0.014177271164953709,
-0.007376611698418856,
-0.03838496282696724,
-0.011713970452547073,
-0.015745632350444794,
0.016197532415390015,
0.009135479107499123,
0.04834449663758278,
0.02977227047085762,
-0.012546884827315807,
0.02009628154337406,
-0.019334254786372185,
-0.011394982226192951,
-0.03294443339109421,
-0.01180257834494114,
-0.06836988776922226,
0.06234455108642578,
-0.03322798013687134,
0.03273177519440651,
-0.00020587502513080835,
-0.04483561962842941,
-0.0007924872916191816,
-0.0074652195908129215,
-0.007921550422906876,
-0.015479808673262596,
-0.0013324420433491468,
0.08442565053701401,
0.02183299884200096,
0.0075493971817195415,
0.05532680079340935,
-0.017588676884770393,
0.02271907776594162,
0.016525382176041603,
-0.05093184858560562,
-0.019617799669504166,
0.04100775718688965,
-0.000730461732018739,
-0.0132646095007658,
0.06914964318275452,
0.0809522196650505,
0.014088663272559643,
0.037073563784360886,
0.04465840384364128,
0.01211270596832037,
0.03973180428147316,
0.029754549264907837,
0.009684848599135876,
0.03301532194018364,
0.01594056934118271,
-0.03273177519440651,
-0.03581533208489418,
-0.09413708001375198,
0.007939271628856659,
0.022914014756679535,
-0.0028996949549764395,
-0.014806387946009636,
0.0031123540829867125,
0.05355464294552803,
0.032714053988456726,
-0.07513953745365143,
-0.020769702270627022,
-0.026989979669451714,
-0.027149474248290062,
0.0005468771560117602,
0.02456212230026722,
0.001587189850397408,
0.008045601658523083,
0.01292789913713932,
-0.04526093974709511,
-0.021000083535909653,
-0.022346924990415573,
-0.02753935009241104,
-0.029063405469059944,
0.03827863186597824,
0.014372209087014198,
-0.01936969719827175,
-0.044906508177518845,
-0.018838049843907356,
-0.005958884488791227,
0.00004804212221642956,
0.026777321472764015,
-0.008382312022149563,
0.02792922407388687,
-0.013725371100008488,
-0.002551908837631345,
0.04409131407737732,
-0.046253349632024765,
-0.035336848348379135,
-0.008182943798601627,
0.01617095060646534,
-0.015905126929283142,
0.015205123461782932,
-0.005843693856149912,
0.03457482159137726,
0.04047610983252525,
-0.05181792750954628,
-0.032873548567295074,
-0.017881084233522415,
-0.009605101309716702,
0.001788772875443101,
-0.042106494307518005,
0.014531702734529972,
-0.0356912799179554,
0.004687360487878323,
0.11908908188343048,
-0.036222927272319794,
-0.03296215459704399,
-0.012830430641770363,
-0.01482410915195942,
0.009622822515666485,
-0.04302801936864853,
0.010810169391334057,
-0.02232920192182064,
0.06284075230360031,
-0.00041091933962889016,
-0.045190051198005676,
-0.06656228750944138,
0.015612720511853695,
-0.002198584610596299,
0.06383316218852997,
0.025554532185196877,
-0.03273177519440651,
-0.05181792750954628,
-0.021779833361506462,
0.03322798013687134,
0.0959092378616333,
-0.008475350216031075,
0.0019128239946439862,
0.021779833361506462,
-0.006167112849652767,
0.00537407211959362,
-0.010562066920101643,
0.019050708040595055,
-0.024083640426397324,
-0.05759516358375549,
0.06985850632190704,
0.039306484162807465,
0.021850720047950745,
-0.0007559365476481616,
0.03788875788450241,
-0.004120269324630499,
0.010464598424732685,
0.005958884488791227,
-0.062025561928749084,
0.00453451182693243,
0.014451956376433372,
0.006645596120506525,
0.04426852986216545,
0.014062081463634968,
-0.028407707810401917,
-0.061919234693050385,
-0.009808899834752083,
0.0390583835542202,
-0.000480144313769415,
-0.005715212319046259,
0.01958235539495945,
-0.04660778120160103,
-0.027344413101673126,
-0.028514036908745766,
-0.002908555790781975,
-0.02227603830397129,
-0.07194965332746506,
-0.005710782017558813,
0.028017831966280937,
0.006641165353357792,
-0.006822811905294657,
0.06588886678218842,
-0.013193722814321518,
0.01936969719827175,
-0.030622906982898712,
0.002780074253678322,
-0.014496260322630405,
0.05713440477848053,
-0.01376967504620552,
-0.03654191642999649,
0.07726612687110901,
-0.03788875788450241,
0.01991906575858593,
0.0632660761475563,
-0.021159578114748,
0.009294973686337471,
0.011253208853304386,
-0.04157484695315361,
-0.06082049384713173,
-0.03934192657470703,
-0.012750683352351189,
0.008466489613056183,
0.027964668348431587,
-0.07910917699337006,
-0.03246595337986946,
-0.0036927361506968737,
-0.032040633261203766,
-0.0230026226490736,
0.021691225469112396,
-0.04054699465632439,
0.025359593331813812,
-0.015311453491449356,
0.020344384014606476,
0.01116460096091032,
-0.010163331404328346,
0.051179949194192886,
-0.025536810979247093,
-0.050506528466939926,
0.0265823844820261,
0.0465368926525116,
0.02948872372508049,
0.03675457462668419,
-0.0014775375602766871,
-0.002607288770377636,
0.03177480772137642,
0.021283628419041634,
0.026954537257552147,
0.050896406173706055,
0.04029889404773712,
0.02759251371026039,
0.005241159815341234,
0.04728120192885399,
0.008936111815273762,
0.07953449338674545,
0.015506390482187271,
-0.014345626346766949,
-0.00512153934687376,
-0.04341789335012436,
0.012387391179800034,
0.07932183146476746,
-0.03342291712760925,
0.03257228061556816,
-0.04246092960238457,
-0.018731720745563507,
0.016977282240986824,
-0.0891750380396843,
-0.016534242779016495,
0.04324067756533623,
0.03898749500513077,
0.04054699465632439,
0.005050653126090765,
-0.02075198106467724,
0.0671648234128952,
0.027291247621178627,
-0.030179865658283234,
-0.04040522500872612,
0.004527865909039974,
0.04717487096786499,
0.023995032534003258,
0.0012316504726186395,
0.02769884467124939,
-0.031579870730638504,
0.031048225238919258,
-0.07967626303434372,
0.00001946952033904381,
0.008355729281902313,
-0.04689132422208786,
0.02668871358036995,
0.028514036908745766,
-0.031650759279727936,
-0.07599017769098282,
0.000693910988047719,
0.05972175672650337,
-0.06035973131656647,
-0.00007057484617689624,
0.021195020526647568,
0.01919248141348362,
0.01741146109998226,
-0.03693179041147232,
-0.01104941125959158,
0.11497767269611359,
-0.0107127008959651,
-0.016658293083310127,
-0.028354542329907417,
-0.06078505143523216,
0.044516630470752716,
-0.029807712882757187,
-0.04012167826294899,
-0.038703951984643936,
-0.019440583884716034,
-0.038810279220342636,
0.01617095060646534,
-0.04465840384364128,
-0.012883595190942287,
0.007332307752221823,
-0.02753935009241104,
-0.07684081047773361,
0.05029387027025223,
-0.01228106115013361,
-0.009959532879292965,
0.10165103524923325,
0.013672206550836563,
-0.008493071421980858,
0.044800177216529846,
-0.020344384014606476,
-0.0033405194990336895,
0.032997600734233856,
-0.0017455765046179295,
0.04281536117196083,
0.03296215459704399,
-0.053696416318416595,
-0.021248186007142067,
-0.008360159583389759,
0.023800093680620193,
-0.07028382271528244,
-0.021195020526647568,
-0.02567858248949051,
-0.01801399514079094,
-0.0811648815870285,
-0.0265292190015316,
0.044800177216529846,
0.03060518391430378,
0.010889916680753231,
-0.03514191135764122,
0.029701383784413338,
0.033210258930921555,
0.008448767475783825,
-0.005143691319972277,
-0.02165578119456768,
0.014496260322630405,
-0.030020372942090034,
-0.05093184858560562,
0.0017245321068912745,
-0.011873465031385422,
-0.02323300391435623,
-0.062025561928749084,
0.032200127840042114,
-0.03312164917588234,
0.07981804013252258,
0.043347008526325226,
-0.0035908371210098267,
0.03951914235949516,
-0.055433131754398346,
-0.018767163157463074,
-0.02266591228544712,
-0.0265292190015316,
-0.0034114059526473284,
0.03877483680844307,
0.02383553795516491,
-0.015284870751202106,
-0.04813183471560478,
-0.059331879019737244,
0.07226864248514175,
0.04178750887513161,
0.015905126929283142,
0.012343087233603,
0.013884864747524261,
-0.07035470753908157,
0.009365860372781754,
0.04862803965806961,
-0.0037746985908597708,
-0.05972175672650337,
-0.03510646894574165,
-0.007208256516605616,
-0.03799508884549141,
-0.02977227047085762,
0.018891213461756706,
0.058552131056785583,
0.06914964318275452,
0.04827360808849335,
0.017659563571214676,
0.036506474018096924,
-0.05288122221827507,
-0.04224826768040657,
-0.030959617346525192,
-0.041539404541254044,
-0.030676070600748062,
-0.01601145602762699,
0.012679796665906906,
0.01746462658047676,
-0.034893810749053955,
0.0006817273679189384,
-0.021903883665800095,
0.0006944647757336497,
-0.03283810615539551,
0.05919010937213898,
-0.024260856211185455,
0.026316560804843903,
0.03301532194018364,
0.052952107042074203,
0.0004981427919119596,
-0.04706854000687599,
-0.03306848555803299,
-0.010579789057374,
-0.0359039381146431,
0.02248869650065899,
-0.008262691088020802,
0.018483618274331093,
-0.07684081047773361,
0.01343296468257904,
-0.0392710417509079,
-0.016046898439526558,
0.055823005735874176,
-0.04767107591032982,
0.04455207660794258,
-0.054298948496580124,
-0.004226598888635635,
0.01376967504620552,
-0.005927871447056532,
-0.00732787698507309,
-0.0005715212319046259,
-0.02814188413321972,
-0.06826356053352356,
0.0497976653277874,
0.05054197087883949,
-0.027557071298360825,
0.011962072923779488,
0.0425318144261837,
-0.04639511927962303,
0.01102282851934433,
0.013069672510027885,
0.03941281512379646,
-0.016206393018364906,
0.037286221981048584,
0.019741849973797798,
-0.02427857741713524,
-0.019724128767848015,
-0.030339360237121582,
-0.014469677582383156,
0.029169736430048943,
0.041929278522729874,
-0.005418376065790653,
0.032767217606306076,
-0.022311480715870857,
0.06479012966156006,
0.03414950147271156,
-0.018253237009048462,
-0.059402767568826675,
-0.013441825285553932,
-0.019157037138938904,
0.0354786217212677,
0.0013911447022110224,
0.02596212737262249,
-0.026724155992269516,
-0.04784829169511795,
0.026033014059066772,
-0.023179838433861732,
0.018058300018310547,
0.017606398090720177,
-0.017553234472870827,
-0.029169736430048943,
-0.019121594727039337,
-0.05511414259672165,
0.02943556010723114,
-0.046749550849199295,
0.05692174285650253,
-0.03675457462668419,
0.015151958912611008,
0.032040633261203766,
0.021283628419041634,
0.0007503985543735325,
0.021053247153759003,
0.03473431617021561,
-0.02484566904604435,
-0.0038345088250935078,
0.04756474494934082,
-0.01390258688479662,
-0.011536754667758942,
0.015116515569388866,
0.03514191135764122,
0.0075095235370099545,
0.0025408328510820866,
0.0956965833902359,
-0.02964821830391884,
-0.02613934502005577,
0.0337950699031353,
0.009135479107499123,
0.01919248141348362,
0.07620283216238022,
0.03898749500513077,
0.06092682480812073,
0.024863390251994133,
0.07184332609176636,
-0.01997223123908043,
-0.004326283000409603,
-0.058729346841573715,
-0.017712729051709175,
-0.01611778512597084,
0.05812681093811989,
0.05355464294552803,
-0.014638032764196396,
0.0031810253858566284,
-0.0284785944968462,
-0.03193430230021477,
0.02004311792552471,
0.007385472301393747,
-0.054298948496580124,
0.0496913380920887,
-0.07967626303434372,
-0.07258763164281845,
-0.042496372014284134,
0.03255455940961838,
0.06773191690444946,
0.002379123354330659,
0.0022816546261310577,
-0.03973180428147316,
-0.008758895099163055,
0.024367185309529305,
-0.03714445233345032,
-0.047706518322229385,
-0.06078505143523216,
0.020911475643515587,
0.0017511144978925586,
-0.03342291712760925,
0.053235653787851334,
-0.018324123695492744,
0.0429571308195591,
-0.027858339250087738,
0.0019837103318423033,
-0.03420266881585121,
0.042779915034770966,
-0.015967151150107384,
-0.014265879057347775,
-0.044906508177518845,
0.020911475643515587,
0.007367750629782677,
-0.02613934502005577,
-0.00034474028507247567,
0.02037982828915119,
-0.020060839131474495,
0.04019256308674812,
0.015320314094424248,
0.05865846201777458,
-0.040369778871536255,
0.033103927969932556,
-0.02904568426311016,
-0.007301294710487127,
0.031916581094264984,
-0.04976222291588783,
0.02803555503487587,
0.011244348250329494,
0.029169736430048943,
-0.008116488344967365,
0.02209882251918316,
-0.0713825598359108,
-0.042319156229496,
0.01790766604244709,
-0.020663373172283173,
0.03820774704217911,
-0.04646600782871246,
0.004762677010148764,
-0.017978552728891373,
0.029063405469059944,
-0.01656082458794117,
0.026989979669451714,
-0.061919234693050385,
0.005963314790278673,
0.018324123695492744,
0.012635492719709873,
0.09293201565742493,
-0.021195020526647568,
0.002297160914167762,
-0.06521544605493546,
0.0850636288523674,
-0.0852762907743454,
0.01407094206660986,
0.0052766031585633755,
-0.02048615738749504,
0.02222287282347679,
-0.02541275881230831,
-0.03643558919429779,
0.023073509335517883,
-0.010065862908959389,
-0.019511470571160316,
-0.019795015454292297,
0.00043390202336013317,
0.007855094037950039,
-0.00256076967343688,
-0.00923294760286808,
-0.02075198106467724,
0.054972369223833084,
-0.013335496187210083,
-0.027911502867937088,
-0.022116543725132942,
0.049372348934412,
0.002695896662771702,
-0.014017777517437935,
-0.028514036908745766,
0.011394982226192951,
0.029612775892019272,
-0.001715671387501061,
-0.007589270826429129,
-0.03244822844862938,
-0.04380776733160019,
-0.013982334174215794,
-0.041610293090343475,
0.007132939528673887,
-0.0031212149187922478,
-0.011200044304132462,
-0.04593436047434807,
-0.020805146545171738,
0.025483645498752594,
-0.030020372942090034,
0.03414950147271156,
-0.021531730890274048,
0.051392607390880585,
0.006858255248516798,
-0.007248130161315203,
0.0002960059209726751,
-0.06542810797691345,
0.02502288483083248,
-0.06978762149810791,
0.009782317094504833,
0.017039308324456215,
0.02417224831879139,
0.008019018918275833,
-0.05745339393615723,
0.013105114921927452,
-0.018997544422745705,
0.0018197856843471527,
-0.015063351020216942,
0.001957128057256341,
0.060288846492767334,
0.000563768029678613,
0.007358890026807785,
0.010455737821757793,
-0.04075965657830238,
0.040936872363090515,
0.09675987809896469,
-0.012768405489623547,
-0.05479515343904495,
0.03831407427787781,
0.00873231329023838,
-0.08258260786533356,
0.041610293090343475,
-0.022081099450588226,
0.001046681310981512,
0.027433020994067192,
-0.008178513497114182,
0.030693791806697845,
-0.03196974843740463,
-0.03608115389943123,
0.048096392303705215,
-0.018536781892180443,
0.019564634189009666,
0.040369778871536255,
0.047529302537441254,
-0.035390011966228485,
-0.03423811122775078,
0.010562066920101643,
0.0359039381146431,
0.07088635861873627,
0.02002539671957493,
0.03078239969909191,
-0.006393063347786665,
0.02004311792552471,
-0.04919513314962387,
-0.03962547332048416,
0.018944378942251205,
0.09796494245529175,
0.01024307869374752,
0.01068611815571785,
0.04728120192885399,
-0.01711905561387539,
0.020610207691788673,
-0.005856985226273537,
-0.016667155548930168,
0.030463412404060364,
-0.01020763535052538,
0.0016259558033198118,
0.027964668348431587,
0.008772186934947968,
0.007155091501772404,
-0.006512684281915426,
0.0387393943965435,
0.06025340408086777,
-0.04370144009590149,
-0.008745604194700718,
0.0632660761475563,
-0.004922171588987112,
-0.05086096003651619,
-0.02154945209622383,
-0.01656082458794117,
0.008045601658523083,
-0.02943556010723114,
0.011120297014713287,
-0.004829132929444313,
0.06319518387317657
] |
726,104 | penne.delegates | __hash__ | null | def __hash__(self):
return hash(self.__key())
| (self) | [
0.03845677524805069,
-0.03350706025958061,
0.0042575947009027,
0.07154437154531479,
-0.006866682320833206,
-0.04812130704522133,
-0.027483507990837097,
-0.018540462478995323,
0.010780313983559608,
-0.019714970141649246,
-0.03377551957964897,
-0.02790297567844391,
0.03761783987283707,
0.04097358137369156,
-0.027970090508461,
-0.02355729229748249,
-0.012508519925177097,
0.009043718688189983,
-0.022768693044781685,
-0.02340628392994404,
-0.01095649041235447,
0.004255497362464666,
0.05637642741203308,
0.04355750232934952,
-0.00929539930075407,
0.020855922251939774,
0.05838986858725548,
0.0032718461006879807,
0.07355781644582748,
0.014521962963044643,
-0.07577259838581085,
-0.006539497524499893,
0.02939627878367901,
0.024614350870251656,
-0.004773539490997791,
-0.08778615295886993,
-0.015881037339568138,
0.04778573289513588,
-0.008578109554946423,
-0.005402741022408009,
0.0513092577457428,
0.01296154409646988,
-0.006409462541341782,
-0.040738679468631744,
0.06147715076804161,
0.02239956147968769,
0.008741701953113079,
0.0469803549349308,
-0.01528539415448904,
-0.042718566954135895,
-0.02313782460987568,
-0.036107759922742844,
0.005641837138682604,
0.02771840989589691,
-0.028372779488563538,
0.045638058334589005,
0.04083935171365738,
-0.0316278450191021,
-0.05520191788673401,
0.04295346885919571,
-0.03369162604212761,
0.01062091626226902,
0.045638058334589005,
-0.02634255588054657,
0.0038381272461265326,
-0.04164472967386246,
-0.07436319440603256,
0.03983262926340103,
0.020251888781785965,
0.021208275109529495,
-0.0017544226720929146,
-0.019094157963991165,
0.03506748005747795,
0.00553277600556612,
-0.018137773498892784,
0.01830556057393551,
-0.009815538302063942,
0.016115939244627953,
0.032785575836896896,
-0.002510512713342905,
-0.002260929672047496,
-0.06107446178793907,
0.0005956437671557069,
-0.008469047956168652,
-0.0552690327167511,
0.028490230441093445,
0.06959804147481918,
-0.009287009947001934,
-0.040671564638614655,
-0.012818925082683563,
-0.03919503837823868,
0.06547047942876816,
-0.012206503190100193,
0.021006930619478226,
0.025017039850354195,
-0.054295867681503296,
-0.02008410170674324,
-0.03036944381892681,
0.054765671491622925,
-0.027131155133247375,
0.038087643682956696,
0.03687958046793938,
-0.0063926842994987965,
0.0027726797852665186,
-0.021359283477067947,
-0.0017512766644358635,
-0.009983325377106667,
-0.02062102034687996,
-0.06449731439352036,
0.01293637603521347,
-0.019379395991563797,
0.08785326778888702,
-0.023926423862576485,
0.015092439018189907,
0.03417820855975151,
-0.019027043133974075,
-0.0034543145447969437,
-0.014790422283113003,
0.03422854468226433,
0.017483403906226158,
-0.0028020425233989954,
0.04406086355447769,
-0.0469803549349308,
0.012139388360083103,
0.026359334588050842,
0.0018592894775792956,
0.02206398919224739,
-0.009085665456950665,
-0.03130904957652092,
-0.01790287159383297,
0.04050377756357193,
0.037684954702854156,
0.0017491793259978294,
0.06979938596487045,
0.019094157963991165,
-0.012340732850134373,
0.06473221629858017,
0.03137616440653801,
-0.0017628120258450508,
0.08583982288837433,
0.040604449808597565,
0.0005251208203844726,
0.06667854636907578,
0.028540566563606262,
0.042517222464084625,
-0.021325726062059402,
-0.069463811814785,
0.03228221461176872,
0.014874315820634365,
0.005646031815558672,
0.06486644595861435,
0.0021308946888893843,
0.06369193643331528,
0.042718566954135895,
-0.04127559810876846,
-0.00039901843410916626,
-0.030956698581576347,
-0.04057089239358902,
-0.027668073773384094,
-0.033725183457136154,
0.015159553848206997,
-0.006996717303991318,
0.029043925926089287,
-0.05916168913245201,
-0.03377551957964897,
-0.007630113046616316,
0.021074045449495316,
0.002661521080881357,
-0.009630972519516945,
-0.019765306264162064,
-0.06077244505286217,
-0.04869178310036659,
-0.09141034632921219,
0.042785681784152985,
0.006266843993216753,
0.013741753995418549,
-0.023037152364850044,
0.05704757571220398,
0.025419728830456734,
0.0012405749876052141,
0.011317231692373753,
-0.05335626006126404,
-0.028356000781059265,
-0.003471093252301216,
0.01358235627412796,
0.01994987204670906,
0.06107446178793907,
0.022835807874798775,
0.03370840474963188,
0.013540409505367279,
-0.07959814369678497,
-0.054899901151657104,
-0.024278776720166206,
0.011728310026228428,
0.02805398404598236,
0.003190050134435296,
-0.0430205836892128,
-0.01201354805380106,
-0.04671189561486244,
0.0893969014286995,
-0.034211765974760056,
-0.04177895933389664,
-0.0021749387960880995,
-0.025906309485435486,
0.002191717503592372,
-0.029513729736208916,
0.013464905321598053,
-0.006619196385145187,
0.07516856491565704,
-0.024866031482815742,
0.01812099479138851,
-0.06023552641272545,
-0.01088937558233738,
0.056275755167007446,
0.05080590024590492,
-0.08047063648700714,
-0.018641134724020958,
-0.022684799507260323,
-0.00382134853862226,
0.02914459817111492,
0.08174581825733185,
-0.01885925605893135,
0.011048773303627968,
-0.019362617284059525,
-0.017869314178824425,
-0.024043874815106392,
0.03224865719676018,
-0.00040609692223370075,
-0.04140982776880264,
-0.05419519543647766,
0.049195144325494766,
0.008578109554946423,
0.052181750535964966,
0.020604241639375687,
0.005742509383708239,
-0.004383435007184744,
-0.013347454369068146,
-0.003353642299771309,
-0.026325777173042297,
0.012785368598997593,
-0.00714772567152977,
0.019094157963991165,
0.10771924257278442,
0.040671564638614655,
0.028171434998512268,
-0.014186389744281769,
0.006631780415773392,
0.07570548355579376,
0.0003680826921481639,
-0.046007189899683,
-0.030587567016482353,
-0.021745193749666214,
-0.04349038749933243,
-0.01852368377149105,
0.04161117225885391,
-0.027953311800956726,
-0.022114325314760208,
0.026460006833076477,
0.016392787918448448,
0.027550622820854187,
-0.019714970141649246,
0.024413006380200386,
-0.025302277877926826,
-0.015503517352044582,
-0.016803866252303123,
-0.00911922287195921,
-0.007672059815376997,
0.09953124076128006,
-0.04922870174050331,
0.047953519970178604,
0.07859142124652863,
-0.06104090437293053,
-0.03246678039431572,
0.02763451635837555,
-0.03328893706202507,
-0.011283674277365208,
0.010595748201012611,
0.02191298082470894,
-0.03677890822291374,
-0.0009626778191886842,
0.027131155133247375,
0.0009427531040273607,
-0.0008698706515133381,
-0.05060455575585365,
-0.03036944381892681,
0.049396488815546036,
-0.0064765773713588715,
-0.022517012432217598,
0.004849043674767017,
-0.023792194202542305,
0.0031690767500549555,
-0.015914594754576683,
-0.03644333407282829,
-0.006275233346968889,
0.060067739337682724,
-0.0022756110411137342,
-0.03644333407282829,
-0.0050000520423054695,
0.05738314986228943,
0.0529535710811615,
-0.05785295367240906,
0.01988275721669197,
-0.03214798495173454,
-0.02088947966694832,
-0.03865811973810196,
0.007558803539723158,
0.022886143997311592,
0.030889583751559258,
0.022366004064679146,
0.02567140758037567,
-0.009303788654506207,
0.07026918977499008,
-0.007978270761668682,
0.08013506233692169,
0.015839090570807457,
-0.01599009893834591,
-0.013062216341495514,
-0.009513521566987038,
0.0013349552173167467,
0.12248449772596359,
-0.03063790313899517,
0.03479902073740959,
-0.02865801751613617,
0.012491741217672825,
0.03899369388818741,
-0.08261831104755402,
-0.01736595295369625,
-0.02572174370288849,
0.03184596821665764,
0.02342306263744831,
-0.01562096830457449,
-0.031342606991529465,
0.0807390958070755,
0.010083997622132301,
-0.06798728555440903,
0.017198165878653526,
0.049262259155511856,
0.02213110402226448,
-0.01796998642385006,
-0.04375884681940079,
0.03422854468226433,
-0.02798686921596527,
0.011778646148741245,
-0.04657766595482826,
-0.03684602305293083,
-0.0007912205182947218,
-0.06738325208425522,
0.005729925353080034,
-0.015226668678224087,
-0.04117492586374283,
0.018892813473939896,
-0.01634245179593563,
0.037080924957990646,
0.01082226075232029,
0.07731623947620392,
-0.02144317701458931,
0.011031994596123695,
-0.02525194175541401,
-0.045101139694452286,
0.035772185772657394,
0.04828909412026405,
-0.07738335430622101,
-0.0446648932993412,
-0.04338971525430679,
-0.0015342022525146604,
0.021963316947221756,
-0.03932926803827286,
-0.03818831592798233,
-0.0006407365435734391,
-0.07120879739522934,
-0.041074253618717194,
-0.010033661499619484,
-0.0592288039624691,
-0.021208275109529495,
0.05644354224205017,
-0.022147882729768753,
-0.01123333815485239,
0.08550424873828888,
-0.0377185121178627,
-0.026493564248085022,
0.05144348740577698,
0.020990151911973953,
-0.0007828311645425856,
0.03184596821665764,
-0.04731592908501625,
0.05976572260260582,
0.04469845071434975,
0.0024643712677061558,
0.06986650079488754,
0.06661143153905869,
-0.04385951906442642,
-0.038557447493076324,
0.010218227282166481,
-0.016225000843405724,
-0.019094157963991165,
0.04050377756357193,
0.019966650754213333,
-0.039866186678409576,
-0.09241706877946854,
-0.04580584540963173,
0.062383200973272324,
-0.01136756781488657,
0.012986712157726288,
-0.0008745896629989147,
0.022886143997311592,
0.004949715919792652,
0.0030264577362686396,
0.021124381572008133,
-0.01812099479138851,
-0.05822208151221275,
-0.07369204610586166,
0.0004351974930614233,
-0.01218972448259592,
-0.06872554868459702,
0.004832264967262745,
-0.08228273689746857,
0.00748749403283,
-0.05127570033073425,
0.04174540191888809,
0.0332721583545208,
-0.001730303280055523,
-0.003313792869448662,
-0.038087643682956696,
0.014320619404315948,
-0.03687958046793938,
0.017483403906226158,
-0.025704964995384216,
0.03765139728784561,
-0.024882810190320015,
0.016761919483542442,
-0.012860871851444244,
-0.019379395991563797,
0.055302590131759644,
0.008766870014369488,
0.003991232719272375,
-0.042852796614170074,
0.017105882987380028,
-0.047819290310144424,
0.006220702547580004,
0.08422906696796417,
0.03208087012171745,
-0.023305611684918404,
0.001168216927908361,
0.01667802594602108,
0.031611066311597824,
-0.01723172329366207,
-0.006518524140119553,
0.015335730277001858,
0.06023552641272545,
0.008091527037322521,
0.0492958165705204,
0.03587285801768303,
-0.017600854858756065,
-0.06597384065389633,
-0.01048668660223484,
-0.031023813411593437,
-0.08047063648700714,
-0.042852796614170074,
0.0075462195090949535,
-0.016107549890875816,
-0.032500337809324265,
0.05486634373664856,
0.0181881096214056,
0.017735084518790245,
-0.05792006850242615,
-0.04402730613946915,
-0.022517012432217598,
0.005826402921229601,
0.03751717135310173,
0.02723182737827301,
0.02362440712749958,
-0.020604241639375687,
-0.05943014845252037,
-0.047483716160058975,
-0.08174581825733185,
0.036040645092725754,
0.0040436661802232265,
-0.0030180683825165033,
-0.04171184450387955,
-0.027936533093452454,
0.01276858989149332,
-0.021292168647050858,
0.0476515032351017,
-0.00609486224129796,
0.05879255756735802,
-0.03506748005747795,
-0.0035864468663930893,
0.00551180262118578,
-0.003185855457559228,
0.01338101178407669,
-0.03130904957652092,
-0.01371658593416214,
-0.037483613938093185,
0.06399395316839218,
0.013540409505367279,
-0.007818873040378094,
0.013355843722820282,
0.014219947159290314,
-0.06919535249471664,
-0.038356103003025055,
-0.025151269510388374,
0.004194674547761679,
0.027953311800956726,
0.013699807226657867,
0.017886092886328697,
0.002223177580162883,
0.01961429789662361,
-0.018272003158926964,
0.009035329334437847,
-0.027181491255760193,
-0.0007330193766392767,
-0.05385962128639221,
0.06718190759420395,
0.00439182436093688,
0.04640987887978554,
0.005029414780437946,
-0.04654410853981972,
-0.05698046088218689,
-0.025235163047909737,
0.04681256785988808,
0.028641238808631897,
0.009068886749446392,
0.02954728715121746,
-0.02186264470219612,
-0.0266277939081192,
0.027785524725914,
-0.012315564788877964,
-0.04174540191888809,
0.035772185772657394,
0.03959772735834122,
-0.06110801920294762,
-0.027886196970939636,
-0.030671460554003716,
0.03614131733775139,
-0.044228650629520416,
0.06540336459875107,
-0.0575844943523407,
-0.001834121416322887,
0.005457271821796894,
0.013842426240444183,
-0.017198165878653526,
-0.02518482692539692,
0.04359105974435806,
-0.047886405140161514,
0.011476629413664341,
0.040201760828495026,
-0.0342453233897686,
-0.003152298042550683,
-0.04889312759041786,
-0.02484925277531147,
0.002619574312120676,
-0.008284482173621655,
0.0672154650092125,
-0.06771882623434067,
0.056477099657058716,
-0.04157761484384537,
0.042382992804050446,
0.015235058031976223,
0.027382835745811462,
0.04704746976494789,
0.02912781946361065,
0.02340628392994404,
0.02899358980357647,
-0.04812130704522133,
-0.016669636592268944,
-0.02600698173046112,
-0.015704860910773277,
-0.002971926936879754,
0.02436267025768757,
0.014110885560512543,
-0.05164483189582825,
0.062114741653203964,
0.01457229908555746,
0.0025734328664839268,
-0.00622909190133214,
0.029446614906191826,
-0.06285300105810165,
0.01463941391557455,
-0.028003647923469543,
-0.0965781882405281,
-0.012575634755194187,
0.023322390392422676,
0.015050492249429226,
0.05144348740577698,
-0.01515116449445486,
0.004366656299680471,
0.0037353576626628637,
0.025285499170422554,
-0.061644937843084335,
-0.0008158641867339611,
-0.05281934142112732,
-0.020721692591905594,
-0.03233255073428154,
0.007521051447838545,
0.03949705511331558,
-0.023590849712491035,
0.03677890822291374,
-0.025906309485435486,
-0.020386118441820145,
-0.001693599857389927,
0.05466499924659729,
0.0030579178128391504,
0.023725079372525215,
0.014949820004403591,
0.04295346885919571,
0.020923037081956863,
-0.009639361873269081,
0.012441405095160007,
0.0017261086031794548,
-0.017919650301337242,
-0.05134281516075134,
0.00015494078979827464,
0.03493325039744377,
-0.05889322981238365,
0.034345995634794235,
-0.0016422150656580925,
0.0020658771973103285,
0.018020322546362877,
-0.05154415965080261,
0.025906309485435486,
-0.031124485656619072,
0.045503828674554825,
-0.007722395937889814,
0.030537230893969536,
-0.02578885853290558,
-0.025570737197995186,
0.003582252189517021,
0.03258423134684563,
0.03266812488436699,
-0.01750018261373043,
-0.02580563724040985,
0.0004210404586046934,
0.02437944896519184,
-0.02442978508770466,
0.08167870342731476,
-0.038557447493076324,
0.007651086430996656,
0.038893021643161774,
-0.01391793042421341,
0.07429607957601547,
-0.028423115611076355,
-0.0019243069691583514,
-0.02803720533847809,
0.02186264470219612,
-0.05446365475654602,
0.014832369051873684,
0.005818013567477465,
-0.01825522445142269,
0.01701360009610653,
-0.061980511993169785,
-0.028976812958717346,
0.00468125706538558,
0.017919650301337242,
-0.024345891550183296,
-0.007839846424758434,
-0.023104267194867134,
0.010436350479722023,
-0.026594236493110657,
-0.022886143997311592,
-0.04127559810876846,
-0.011686363257467747,
0.023708300665020943,
-0.07469876855611801,
-0.04110781103372574,
0.03738294169306755,
0.007542024832218885,
0.013691417872905731,
-0.008104111067950726,
-0.01143468264490366,
0.015872647985816002,
-0.011342399753630161,
-0.008020217530429363,
-0.011694752611219883,
-0.035973530262708664,
-0.07060476392507553,
-0.04187963157892227,
0.011988379992544651,
0.031090928241610527,
-0.0165437962859869,
-0.03852389007806778,
0.011216559447348118,
0.031543951481580734,
-0.025956645607948303,
0.013968266546726227,
0.01351524144411087,
0.0734235867857933,
-0.024748580530285835,
-0.012735032476484776,
0.008024412207305431,
-0.06503423303365707,
-0.0022840003948658705,
-0.06271877139806747,
-0.03432921692728996,
-0.009656140580773354,
-0.03466479107737541,
0.023590849712491035,
-0.0009238770580850542,
0.00452605402097106,
0.021409619599580765,
-0.04375884681940079,
-0.03949705511331558,
0.03164462372660637,
0.049933407455682755,
0.013246782124042511,
-0.0006627585971727967,
-0.003506748005747795,
-0.015075660310685635,
0.027181491255760193,
0.03879234939813614,
-0.027080819010734558,
0.0028481839690357447,
0.01245818380266428,
0.013523630797863007,
-0.0039702593348920345,
0.05047032609581947,
-0.015436402522027493,
0.015394455753266811,
0.02484925277531147,
0.0020941912662237883,
0.03500036522746086,
-0.0203525610268116,
-0.03221509978175163,
0.05352404713630676,
0.00791535060852766,
0.0028418919537216425,
0.021527070552110672,
0.06245031580328941,
-0.04365817457437515,
-0.03859100490808487,
0.029496951028704643,
0.029027147218585014,
0.02055390551686287,
-0.031409721821546555,
0.020167995244264603,
0.04778573289513588,
-0.012021937407553196,
0.0007036566385067999,
-0.030453337356448174,
0.008565525524318218,
0.09053785353899002,
0.0029908029828220606,
0.001058106659911573,
-0.012684696353971958,
-0.002011346397921443,
0.049396488815546036,
-0.024798916652798653,
-0.01756729744374752,
0.07966525852680206,
0.012852482497692108,
-0.061510708183050156,
-0.023473398759961128,
0.05369183421134949,
0.003573862835764885,
-0.0017890287563204765,
0.024043874815106392,
0.014303840696811676,
-0.010235005989670753,
0.0292788278311491,
0.05157771706581116,
0.009605804458260536,
-0.04315481334924698,
-0.05439653992652893,
-0.04063800722360611,
0.01181220356374979,
-0.02239956147968769,
0.014136053621768951,
0.06040331348776817,
0.03016809932887554
] |
726,106 | namedtuple_ID | __new__ | Create new instance of ID(slot, gen) | from builtins import function
| (_cls, slot: ForwardRef('int'), gen: ForwardRef('int')) | [
0.009955772198736668,
-0.03445916250348091,
0.01939140446484089,
0.011548695154488087,
0.012475191615521908,
0.06147384271025658,
-0.0008142399019561708,
0.00590031873434782,
-0.012475191615521908,
-0.024787839502096176,
-0.015157154761254787,
0.03679978474974632,
0.006826814729720354,
0.005485833622515202,
-0.06859323382377625,
-0.00030273673473857343,
0.035531945526599884,
0.09069911390542984,
-0.02816873788833618,
-0.0022491917479783297,
-0.0664476677775383,
0.018659960478544235,
0.036767274141311646,
-0.014832068234682083,
0.029956713318824768,
0.1001916378736496,
0.037872567772865295,
-0.044959452003240585,
0.010882267728447914,
-0.0528915598988533,
-0.010679089464247227,
-0.04222872480750084,
0.004047325812280178,
-0.002956254640594125,
-0.0009981169132515788,
-0.04931560903787613,
0.023194916546344757,
0.04044074937701225,
-0.06121377274394035,
-0.07216918468475342,
0.03507682681083679,
0.011378024704754353,
-0.011215481907129288,
0.0031452111434191465,
-0.008720443584024906,
-0.006773988250643015,
-0.023389969021081924,
-0.0340365469455719,
0.017749719321727753,
0.010207713581621647,
0.006209150888025761,
-0.03696232661604881,
0.06716285645961761,
-0.014108750969171524,
-0.015344079583883286,
0.0747048631310463,
0.010467782616615295,
0.019797762855887413,
-0.03966054320335388,
0.049835748970508575,
-0.03317506983876228,
0.023812580853700638,
-0.02631574682891369,
-0.04200116544961929,
0.02803870476782322,
0.03592205047607422,
-0.043561581522226334,
-0.017245834693312645,
-0.05734524503350258,
0.02992420457303524,
-0.061018720269203186,
0.013970589265227318,
0.005766220390796661,
-0.03024929203093052,
0.05588235706090927,
-0.017830990254878998,
-0.09316977113485336,
-0.017424631863832474,
0.009134928695857525,
-0.021992096677422523,
0.015140900388360023,
-0.036767274141311646,
-0.012840913608670235,
0.03371146321296692,
-0.027681108564138412,
-0.04050576686859131,
-0.03806762024760246,
0.0017625779146328568,
-0.012767769396305084,
0.00919994618743658,
-0.05438695847988129,
-0.01647375524044037,
-0.04814529791474342,
0.026982173323631287,
0.0035820461343973875,
-0.006485474295914173,
0.0187087245285511,
-0.023097390308976173,
0.03371146321296692,
-0.04785272106528282,
0.061798930168151855,
0.019472677260637283,
0.007066566031426191,
-0.054712045937776566,
0.04060329496860504,
0.04785272106528282,
0.004750325344502926,
0.015384715050458908,
-0.023585019633173943,
0.007017803378403187,
-0.046552374958992004,
0.010061425156891346,
0.016953257843852043,
-0.014539490453898907,
-0.004413048271089792,
-0.03291499987244606,
0.025405503809452057,
0.004205805715173483,
0.022008350118994713,
0.012775896117091179,
0.01714830845594406,
0.04304144158959389,
0.0029765726067125797,
-0.010093933902680874,
0.10253226011991501,
0.05477706342935562,
0.02299986407160759,
0.014003098011016846,
0.05100606009364128,
-0.0007746199844405055,
0.004392730537801981,
0.027957431972026825,
-0.0456746444106102,
0.032508641481399536,
-0.04560962691903114,
-0.010565308853983879,
-0.015791073441505432,
0.04473189264535904,
0.005880000535398722,
0.03839270770549774,
-0.041968658566474915,
0.0012932344106957316,
0.041188448667526245,
-0.009167437441647053,
-0.03644218668341637,
-0.014141259714961052,
-0.0032833728473633528,
0.02963162772357464,
0.0006034416728653014,
0.01117484550923109,
-0.005981590133160353,
0.03190723434090614,
0.03190723434090614,
0.02033415623009205,
0.005278590600937605,
0.05022585391998291,
0.05295657739043236,
-0.05256647616624832,
0.016660679131746292,
-0.05341169983148575,
0.012475191615521908,
0.07106389105319977,
-0.060108479112386703,
-0.014474472962319851,
0.01698576658964157,
-0.014043733477592468,
0.024007633328437805,
-0.03696232661604881,
0.021797044202685356,
0.004041230771690607,
-0.01463701669126749,
-0.042618829756975174,
0.018351128324866295,
0.04564213380217552,
0.0633593425154686,
0.03790507838129997,
-0.04525202885270119,
0.0903090089559555,
0.0052907816134393215,
0.02898145467042923,
-0.0034885837230831385,
0.0010082758963108063,
-0.11111453920602798,
0.009858245961368084,
0.015766691416502,
0.05019334331154823,
0.040538277477025986,
-0.02065924182534218,
0.0265920702368021,
-0.03572699800133705,
-0.029387813061475754,
0.011938799172639847,
0.052533965557813644,
0.013255398720502853,
-0.006326994393020868,
-0.06787804514169693,
-0.05919823795557022,
0.002293891040608287,
-0.009557540528476238,
0.0010240222327411175,
-0.0051810648292303085,
0.017830990254878998,
0.022869829088449478,
0.056142427027225494,
0.007497305516153574,
0.004262695554643869,
-0.027957431972026825,
0.0064570289105176926,
-0.0627741888165474,
-0.022235911339521408,
0.046389833092689514,
-0.05984840914607048,
0.010134569369256496,
0.07327447831630707,
-0.0010849758982658386,
0.007753311190754175,
0.021195635199546814,
-0.011117955669760704,
0.009264962747693062,
0.009695702232420444,
0.07080382108688354,
0.02849382534623146,
0.009695702232420444,
-0.024186430498957634,
0.09629059582948685,
0.006001908332109451,
-0.010654707439243793,
0.01809106022119522,
0.0041062477976083755,
-0.01164622139185667,
0.05575232207775116,
-0.012719006277620792,
-0.009468141943216324,
-0.02345498465001583,
0.00669678021222353,
-0.03327259421348572,
0.03910789638757706,
0.04928310215473175,
0.007737056817859411,
0.007785819936543703,
-0.0005815999465994537,
0.040538277477025986,
0.04990076646208763,
0.045934710651636124,
0.024040140211582184,
0.00618070550262928,
0.01378366444259882,
0.039953120052814484,
-0.06176641955971718,
-0.00303346267901361,
0.01567729189991951,
-0.026998426765203476,
0.015376587398350239,
-0.029469083994627,
0.007667975965887308,
0.007464797236025333,
0.01984652690589428,
0.0025661508552730083,
0.01843240112066269,
-0.004522765055298805,
-0.008744824677705765,
-0.04785272106528282,
-0.03322383388876915,
0.0019718522671610117,
-0.04547959193587303,
-0.03200475871562958,
-0.03099699132144451,
0.04853540286421776,
0.014360692352056503,
-0.001986074959859252,
0.04603223875164986,
-0.024056395515799522,
-0.004400857258588076,
0.005595549941062927,
-0.062319066375494,
0.01935889571905136,
-0.011386152356863022,
0.01408436894416809,
0.046552374958992004,
-0.03592205047607422,
0.011906290426850319,
0.01703452877700329,
-0.08198679983615875,
0.013686138205230236,
-0.08224686235189438,
0.007542004808783531,
0.010597817599773407,
-0.05136365443468094,
0.018806248903274536,
-0.004222060088068247,
0.03731992095708847,
0.004150947090238333,
0.04177360609173775,
0.008631044998764992,
0.06582999974489212,
0.07450980693101883,
-0.02221965789794922,
-0.0652773529291153,
0.06270916759967804,
0.0056402492336928844,
0.006680525839328766,
-0.03910789638757706,
-0.018513672053813934,
0.02722598798573017,
-0.024121413007378578,
-0.045121993869543076,
0.060693636536598206,
-0.008842350915074348,
-0.08036136627197266,
0.01796102523803711,
-0.03099699132144451,
-0.007038121111690998,
-0.05383431166410446,
-0.04079834744334221,
0.04297642409801483,
0.03128957003355026,
-0.023812580853700638,
0.017993533983826637,
-0.02345498465001583,
0.050485920161008835,
-0.01794476993381977,
-0.004616227000951767,
0.07054375112056732,
0.05464702844619751,
-0.020366664975881577,
-0.04018068313598633,
0.01983027160167694,
-0.044959452003240585,
0.0567275807261467,
0.035206858068704605,
-0.09258460998535156,
0.015994252637028694,
0.0791260376572609,
0.04073332995176315,
-0.014750796370208263,
0.06664271652698517,
0.029192760586738586,
0.01465327013283968,
-0.025633065029978752,
-0.012296394445002079,
-0.013612993992865086,
0.055524762719869614,
-0.002476752270013094,
0.008362848311662674,
-0.03302878141403198,
-0.001266821171157062,
-0.03806762024760246,
0.010410892777144909,
0.10526298731565475,
-0.0730794295668602,
0.03184221684932709,
-0.030671903863549232,
-0.0343291275203228,
0.00032305464264936745,
0.03216730058193207,
0.03605208545923233,
-0.009638812392950058,
0.013206635601818562,
-0.026868393644690514,
-0.01141053345054388,
0.06635013967752457,
-0.06218903139233589,
-0.011597458273172379,
0.005603677127510309,
0.022252166643738747,
-0.005445197690278292,
0.02140694111585617,
0.01408436894416809,
0.019098827615380287,
-0.017879752442240715,
0.0010397685691714287,
-0.025096671655774117,
-0.059458307921886444,
-0.04170858860015869,
-0.04769017919898033,
-0.02407264895737171,
0.030021730810403824,
0.004953504540026188,
-0.06238408386707306,
0.051721248775720596,
0.05734524503350258,
0.03452417999505997,
-0.002302018227055669,
-0.03324008733034134,
0.005904382094740868,
0.003781161503866315,
-0.02660832367837429,
0.03213479369878769,
-0.032199811190366745,
0.014466346241533756,
-0.014718287624418736,
-0.011085446923971176,
0.017213325947523117,
0.01251582708209753,
0.008196241222321987,
-0.008850477635860443,
-0.024820348247885704,
-0.05653252825140953,
-0.0020063926931470633,
0.040408242493867874,
0.02282106690108776,
0.07093385607004166,
0.0012800277909263968,
0.04769017919898033,
0.016424991190433502,
-0.0034073120914399624,
0.03494679182767868,
0.016920749098062515,
0.01732710562646389,
-0.028233755379915237,
0.02472282201051712,
-0.05042090266942978,
-0.0969407707452774,
-0.06137631833553314,
0.0014547617174685001,
0.024056395515799522,
-0.026348255574703217,
-0.04782021418213844,
-0.017830990254878998,
-0.030281800776720047,
0.027762381359934807,
-0.060856178402900696,
-0.011890036053955555,
0.04242377728223801,
-0.020691750571131706,
-0.03301252797245979,
0.0008127160836011171,
0.01520591787993908,
-0.02615320309996605,
0.032362353056669235,
-0.04720254987478256,
0.011516186408698559,
-0.005177001468837261,
-0.06163638457655907,
0.035824522376060486,
-0.024527771398425102,
-0.05484208092093468,
-0.004388666711747646,
0.0786709114909172,
0.016555026173591614,
0.041188448667526245,
0.058645591139793396,
0.020740514621138573,
-0.04365910589694977,
0.017213325947523117,
0.0005282654310576618,
-0.005554914474487305,
0.08445744961500168,
-0.01496210228651762,
-0.023227425292134285,
-0.008155605755746365,
-0.00408186623826623,
0.0003730874741449952,
0.004876296501606703,
0.05461451783776283,
0.0006278231739997864,
-0.047170039266347885,
0.027063444256782532,
-0.011613712646067142,
-0.004270822741091251,
-0.03572699800133705,
0.023211169987916946,
-0.038652777671813965,
-0.020529206842184067,
-0.026803376153111458,
0.09388495981693268,
-0.010394638404250145,
0.018806248903274536,
0.00756232300773263,
0.015027119778096676,
0.01892003044486046,
0.0064895376563072205,
-0.039758071303367615,
-0.029501592740416527,
0.05269651114940643,
0.07177907973527908,
-0.05942579731345177,
-0.017570922151207924,
0.044634364545345306,
-0.023032372817397118,
-0.03216730058193207,
-0.05815796181559563,
0.017863499000668526,
0.023389969021081924,
-0.0346217043697834,
0.02126065269112587,
0.025795606896281242,
-0.01701827347278595,
0.01981401816010475,
-0.04866543784737587,
0.011093574576079845,
0.11807139217853546,
0.03416658192873001,
-0.023715054616332054,
0.026332000270485878,
0.013304161839187145,
-0.009947644546627998,
0.02833128161728382,
-0.013556104153394699,
-0.014880831353366375,
0.00197083642706275,
0.0346217043697834,
-0.06787804514169693,
0.05822297930717468,
0.03852274268865585,
0.049380626529455185,
0.05383431166410446,
-0.026852138340473175,
-0.05120111256837845,
-0.04564213380217552,
-0.00012603448703885078,
0.013921826146543026,
-0.018156077712774277,
0.011808764189481735,
0.04284638911485672,
-0.02724224142730236,
-0.025112926959991455,
0.012182613834738731,
-0.07893098145723343,
0.005002267193049192,
0.010687216185033321,
-0.054712045937776566,
-0.04554460942745209,
-0.07841084897518158,
-0.009744465351104736,
-0.019570203498005867,
-0.027437293902039528,
0.038197655230760574,
-0.00096459238557145,
0.04047325998544693,
0.03429661691188812,
0.024121413007378578,
-0.001426316681317985,
-0.01314161904156208,
-0.019651474431157112,
0.0968107357621193,
-0.060075972229242325,
-0.02267477847635746,
0.013166000135242939,
0.03024929203093052,
-0.02992420457303524,
-0.013645502738654613,
0.018611198291182518,
0.043854158371686935,
0.01908257231116295,
-0.021455703303217888,
-0.07535503059625626,
-0.01488895807415247,
-0.008915495127439499,
0.009809482842683792,
-0.029192760586738586,
-0.019180098548531532,
-0.016920749098062515,
0.0015634625451639295,
0.029647881165146828,
-0.05591486394405365,
0.004193614702671766,
-0.026543306186795235,
-0.047625161707401276,
-0.021471958607435226,
-0.016051141545176506,
0.028883928433060646,
0.011247990652918816,
0.02664083242416382,
-0.0680730938911438,
-0.005107920616865158,
0.008387229405343533,
0.035531945526599884,
0.007822392508387566,
-0.061506349593400955,
0.01616492308676243,
-0.004872232675552368,
0.06153886020183563,
-0.038197655230760574,
-0.04014817252755165,
0.07021866738796234,
0.024446498602628708,
-0.0645296573638916,
0.04109092429280281,
-0.04235875979065895,
-0.072494275867939,
-0.02535674162209034,
0.0051038567908108234,
-0.03718988597393036,
-0.02742104046046734,
-0.012385793030261993,
-0.010207713581621647,
0.052046336233615875,
0.009305599145591259,
-0.06664271652698517,
-0.004908804781734943,
-0.0033382312394678593,
0.007115329150110483,
-0.05185128375887871,
-0.01213385071605444,
-0.040993399918079376,
-0.04977073147892952,
0.05354173481464386,
-0.016319338232278824,
-0.0478852316737175,
0.0096144312992692,
0.014718287624418736,
-0.0037384938914328814,
-0.02836379036307335,
0.04203367605805397,
0.03070441260933876,
0.0033463584259152412,
-0.022300928831100464,
-0.007233173120766878,
-0.014823940582573414,
-0.03262242302298546,
-0.029859188944101334,
-0.02332495152950287,
-0.01732710562646389,
0.0655699297785759,
0.052533965557813644,
0.022430963814258575,
-0.011402406729757786,
-0.004628418013453484,
0.028396299108862877,
-0.043529070913791656,
0.013434196822345257,
-0.01583983562886715,
-0.02204085886478424,
0.07275433838367462,
0.02646203525364399,
0.025470521301031113,
0.005481769796460867,
0.056142427027225494,
0.0017930548638105392,
-0.04469938203692436,
-0.010573435574769974,
0.08842350542545319,
-0.0627741888165474,
-0.015010865405201912,
-0.024332718923687935,
0.006741479504853487,
0.01094728522002697,
-0.009988280013203621,
0.014880831353366375,
-0.010183332487940788,
-0.02301611937582493,
-0.02423519268631935,
-0.03917291387915611,
0.027437293902039528,
0.013791791163384914,
-0.04427677020430565,
0.003699889872223139,
0.04710502177476883,
-0.054744552820920944,
0.007586704567074776,
0.027063444256782532,
-0.004173296969383955,
0.08062143623828888,
-0.024787839502096176,
-0.025486774742603302,
-0.0034276300575584173,
-0.05214386060833931,
0.07340451329946518,
-0.038197655230760574,
-0.007692357525229454,
-0.02488536573946476,
-0.024657804518938065,
0.0670328214764595,
0.00511604780331254,
-0.04021319001913071,
0.013743028976023197,
-0.03239486366510391,
-0.004408984445035458,
-0.00752168707549572,
0.02963162772357464,
-0.034264110028743744,
0.004094057250767946,
-0.054224416613578796,
-0.02615320309996605,
0.01825360208749771,
0.027518566697835922,
0.057865384966135025,
0.0010158950462937355,
-0.0031127023976296186,
-0.04310645908117294,
-0.023276187479496002,
-0.020529206842184067,
-0.056467510759830475,
-0.03728741407394409,
0.013556104153394699,
-0.041155941784381866,
0.03229733556509018,
-0.003984340466558933,
-0.03224857151508331,
-0.0017422600649297237,
0.001966772833839059,
-0.02677086740732193,
-0.02503165416419506,
-0.02269103191792965,
0.03806762024760246,
-0.011857527308166027,
-0.02738853171467781,
0.0021354113705456257,
-0.01747339591383934,
0.03335386887192726,
0.014994611032307148,
0.005091666243970394,
-0.004120470490306616,
0.02472282201051712,
-0.039042878895998,
-0.03133833035826683,
-0.021959587931632996,
-0.04079834744334221,
0.02599065937101841,
0.012483318336308002,
-0.030509360134601593,
-0.01645749993622303,
0.0308669563382864,
0.042098693549633026,
-0.05263149365782738,
-0.029582863673567772,
0.07886596769094467,
0.03054186888039112,
-0.009817609563469887,
0.0286563690751791,
-0.037092361599206924,
0.0374174490571022,
0.015384715050458908,
0.06989358365535736,
0.023747563362121582,
-0.06004346162080765,
0.0179772786796093,
-0.04486192762851715,
0.015791073441505432,
-0.004181424155831337,
0.033776480704545975,
-0.04050576686859131,
0.0629042237997055,
0.012702751904726028,
-0.020431682467460632,
-0.0104596558958292,
0.02959911897778511,
-0.020285392180085182,
-0.033776480704545975,
-0.03878280892968178,
-0.06293673068284988,
0.0022451281547546387,
-0.015181535854935646,
0.024625295773148537,
-0.019423913210630417,
0.021699517965316772,
-0.02472282201051712,
0.024836603552103043,
0.0726243108510971,
0.006127879023551941,
0.04866543784737587,
0.02301611937582493,
-0.019261371344327927,
0.04599972814321518,
-0.016067396849393845,
-0.01779848150908947,
0.004150947090238333,
-0.03177719935774803,
-0.027616091072559357,
-0.09941142797470093,
0.03151712939143181,
-0.01580732688307762,
-0.025438012555241585,
0.05617493391036987,
-0.02959911897778511,
0.0032346099615097046,
0.016725696623325348
] |
726,108 | penne.delegates | __str__ | null | def __str__(self):
return f"{type(self).__name__}{self.compact_str()}"
| (self) | [
-0.0037946482188999653,
-0.026186492294073105,
0.0544925183057785,
-0.008725982159376144,
0.00860633049160242,
-0.08601202815771103,
0.022238006815314293,
-0.01834079995751381,
0.051381587982177734,
-0.06761994957923889,
-0.043450433760881424,
-0.02234056405723095,
-0.03165625408291817,
0.021793588995933533,
0.016452021896839142,
0.016853708773851395,
-0.034630440175533295,
-0.06720972061157227,
0.04697159305214882,
0.039655786007642746,
0.019263822585344315,
0.03521160036325455,
0.026169398799538612,
-0.015725569799542427,
-0.001292658969759941,
0.054184842854738235,
-0.0008696069126017392,
-0.01878521777689457,
-0.019178356975317,
-0.0018973241094499826,
-0.038185786455869675,
-0.04926205426454544,
0.01180272363126278,
-0.010563480667769909,
-0.02360544726252556,
0.0015255511971190572,
-0.05876576900482178,
0.03733113408088684,
-0.06303901970386505,
-0.02673346921801567,
0.003600215306505561,
0.016289638355374336,
-0.06837204098701477,
-0.0371943898499012,
-0.028425676748156548,
-0.02610102668404579,
0.03230578824877739,
0.04454438388347626,
-0.014161558821797371,
-0.006935488898307085,
0.035450901836156845,
0.025742074474692345,
-0.02297300659120083,
0.005350112449377775,
-0.04276671260595322,
0.012118943966925144,
0.03464753180742264,
-0.031194744631648064,
-0.02145172841846943,
0.04198043420910835,
-0.05391135439276695,
0.01687934808433056,
0.06413297355175018,
-0.048851825296878815,
-0.030613582581281662,
-0.021092774346470833,
-0.04221973568201065,
0.028904279693961143,
0.01765708066523075,
0.03657904267311096,
0.030049512162804604,
-0.05432158708572388,
-0.017503242939710617,
0.059825535863637924,
0.025126725435256958,
-0.03575857728719711,
-0.07008134573698044,
-0.008666155859827995,
0.016682777553796768,
-0.04977484792470932,
0.02710951492190361,
-0.018204055726528168,
-0.06156902387738228,
-0.02698986418545246,
-0.022870447486639023,
-0.07862784713506699,
-0.03244253247976303,
-0.03910880908370018,
-0.0357927642762661,
0.02755393274128437,
-0.036476485431194305,
0.02989567443728447,
-0.0327502079308033,
0.05845809727907181,
-0.039450667798519135,
-0.028904279693961143,
0.006367146503180265,
-0.06303901970386505,
0.034698810428380966,
0.024169515818357468,
0.03312625363469124,
0.006922669243067503,
-0.03454497456550598,
0.001262746169231832,
-0.042629968374967575,
-0.036408111453056335,
-0.026459980756044388,
0.015605918131768703,
0.005448397248983383,
0.016152894124388695,
-0.022357657551765442,
0.007341447751969099,
-0.012187316082417965,
-0.005093717016279697,
0.04334787279367447,
-0.043382059782743454,
-0.020836379379034042,
0.017289580777287483,
0.06820110976696014,
-0.02240893617272377,
0.021280797198414803,
0.010469469241797924,
-0.048851825296878815,
-0.01587085984647274,
-0.0037861017044633627,
0.059073444455862045,
-0.02806672267615795,
-0.026186492294073105,
0.05346693843603134,
-0.051005542278289795,
0.004356581252068281,
0.006328687071800232,
-0.05931274592876434,
0.019178356975317,
0.09360132366418839,
0.014400861226022243,
-0.025742074474692345,
0.03661322966217995,
0.028357304632663727,
0.1550677865743637,
-0.013982082717120647,
-0.015845220535993576,
0.02259695902466774,
0.029160676524043083,
-0.003384415991604328,
0.0009620159980840981,
0.019024521112442017,
0.07657668739557266,
-0.038185786455869675,
-0.02189614623785019,
0.01746051013469696,
0.03914299234747887,
0.00495269987732172,
0.01527260523289442,
0.005277466960251331,
0.02698986418545246,
-0.020614171400666237,
-0.019981728866696358,
0.029092304408550262,
-0.06844041496515274,
-0.0297076515853405,
-0.04553578048944473,
0.015571732074022293,
-0.02481905184686184,
0.04027113318443298,
0.016169987618923187,
0.03497229889035225,
-0.015221325680613518,
0.018648473545908928,
0.02360544726252556,
-0.04020275920629501,
-0.06416716426610947,
-0.0430402010679245,
0.0783543586730957,
0.009828480891883373,
0.07616645097732544,
-0.0004219836846459657,
0.07808087021112442,
-0.015896499156951904,
-0.028425676748156548,
0.03280148655176163,
-0.034698810428380966,
-0.05339856445789337,
0.0038651570212095976,
0.09196039289236069,
-0.02787869982421398,
0.02196451835334301,
-0.006991041358560324,
0.04355299100279808,
-0.005696245934814215,
0.0014454276533797383,
0.02423788793385029,
-0.025810446590185165,
0.010178887285292149,
-0.0108198756352067,
-0.04553578048944473,
-0.009221679531037807,
-0.0849180743098259,
0.02081928588449955,
-0.013674408197402954,
-0.029092304408550262,
0.06009902432560921,
-0.011119003407657146,
0.009084935300052166,
0.01568283699452877,
0.01815277710556984,
0.03606625273823738,
-0.0062945010140538216,
0.008456766605377197,
-0.008990923874080181,
0.01784510351717472,
0.0095891784876585,
-0.025554049760103226,
0.002029794966802001,
0.040920667350292206,
-0.05452670156955719,
0.016093069687485695,
-0.021673936396837234,
-0.030169162899255753,
0.0636201873421669,
0.08614877611398697,
-0.0008573213126510382,
0.0023588354233652353,
-0.016084522008895874,
-0.05110809952020645,
-0.0048116822727024555,
-0.00041610797052271664,
-0.039006248116493225,
0.015717023983597755,
-0.016084522008895874,
0.014964930713176727,
-0.04399740695953369,
-0.04437345638871193,
0.04341624677181244,
0.002151582622900605,
0.057671818882226944,
-0.027143700048327446,
-0.02900683879852295,
-0.04868089407682419,
-0.04844159260392189,
-0.007435459643602371,
0.0008840291411615908,
0.005563775077462196,
0.00907638855278492,
0.053603678941726685,
-0.05445833131670952,
-0.007273076102137566,
0.04006601497530937,
-0.024101145565509796,
-0.01285394374281168,
0.04741601273417473,
-0.028647884726524353,
-0.016546033322811127,
-0.014238477684557438,
0.0067987446673214436,
-0.05726158618927002,
-0.04673229157924652,
0.003961305133998394,
0.0037946482188999653,
0.014392314478754997,
-0.03688671812415123,
-0.01834079995751381,
0.007042320445179939,
0.044099967926740646,
-0.0038480639923363924,
-0.028425676748156548,
-0.05110809952020645,
0.004262569360435009,
0.010153247974812984,
0.0035532095935195684,
0.10214783251285553,
-0.010187434032559395,
-0.047826241701841354,
0.06109042093157768,
-0.062116000801324844,
-0.038254156708717346,
-0.03657904267311096,
0.00873025506734848,
-0.06327832490205765,
-0.041877876967191696,
-0.0019101438811048865,
-0.04317694529891014,
0.01212749071419239,
-0.007290169131010771,
0.024870330467820168,
-0.0252634696662426,
0.013272722251713276,
-0.01782801002264023,
0.032339975237846375,
0.02100731059908867,
0.05230461061000824,
0.01740068383514881,
-0.0017082326812669635,
0.01969114877283573,
0.028870094567537308,
-0.008653336204588413,
0.036476485431194305,
0.008721708320081234,
0.0012905222829431295,
-0.03897206485271454,
-0.01466580294072628,
0.009512260556221008,
0.03992927074432373,
0.006542349699884653,
-0.009948131628334522,
-0.04184368997812271,
-0.03534834459424019,
-0.004070273134857416,
0.0034442415926605463,
0.01962277665734291,
-0.009281504899263382,
0.021793588995933533,
0.008644790388643742,
0.06710715591907501,
0.034886833280324936,
0.10289992392063141,
-0.023519981652498245,
-0.002482759766280651,
0.013170164078474045,
0.0821148231625557,
-0.02982730232179165,
-0.011255747638642788,
-0.02698986418545246,
0.03575857728719711,
-0.00007878809265093878,
-0.03750206530094147,
-0.04902275279164314,
0.030425557866692543,
0.01789638213813305,
0.013204350136220455,
-0.019092893227934837,
-0.053296007215976715,
0.03015207126736641,
0.008640516549348831,
-0.022426029667258263,
-0.001477477140724659,
0.047005780041217804,
-0.006709006614983082,
-0.033809974789619446,
-0.011956560425460339,
0.07985854148864746,
0.031382765620946884,
-0.0060808383859694,
0.019588589668273926,
-0.04991159215569496,
0.05336437746882439,
-0.030613582581281662,
0.027451375499367714,
0.07192739099264145,
0.0026408701669424772,
-0.023143935948610306,
-0.0816362202167511,
0.01402481459081173,
-0.01123010739684105,
0.0023225126788020134,
-0.010563480667769909,
0.007610662840306759,
0.05756925791501999,
-0.03129730373620987,
0.01822114922106266,
0.02806672267615795,
-0.0342714861035347,
-0.006388512440025806,
0.019263822585344315,
0.025502771139144897,
0.01910998485982418,
0.02652835287153721,
-0.008610604330897331,
0.03269892930984497,
-0.04416833817958832,
-0.03917717933654785,
0.021434634923934937,
-0.00948662031441927,
-0.06163739413022995,
-0.07103855162858963,
0.07308971136808395,
0.02088765799999237,
0.03801485523581505,
-0.05921018868684769,
-0.0463220588862896,
0.04799717292189598,
-0.012999234721064568,
0.010862608440220356,
0.042253922671079636,
-0.026562537997961044,
0.024682307615876198,
0.010341271758079529,
0.010999351739883423,
0.006832930725067854,
0.024340447038412094,
-0.013657315634191036,
-0.04232229292392731,
-0.023143935948610306,
0.0067645590752363205,
-0.008593510836362839,
-0.04074973613023758,
-0.013964989222586155,
-0.027383003383874893,
-0.0477236844599247,
0.025126725435256958,
0.027639398351311684,
-0.054116472601890564,
0.010110516101121902,
0.0012424482265487313,
-0.03753625229001045,
0.05035600811243057,
0.019161265343427658,
-0.011657432653009892,
-0.005187728442251682,
0.0008610603981651366,
0.04871508106589317,
-0.026254864409565926,
-0.06686785817146301,
-0.042561594396829605,
0.0872427225112915,
0.015161500312387943,
-0.026511259377002716,
-0.00808926671743393,
0.032510906457901,
-0.015537546016275883,
-0.033809974789619446,
0.06102204695343971,
0.007755953352898359,
0.0666627436876297,
-0.026135213673114777,
0.024801958352327347,
-0.014896558597683907,
0.06632088124752045,
0.07780738174915314,
0.021998703479766846,
-0.012845396995544434,
0.0036087618209421635,
-0.009016563184559345,
-0.023126842454075813,
0.025058353319764137,
-0.04546740651130676,
0.02088765799999237,
-0.03904043510556221,
-0.023092657327651978,
0.060851115733385086,
0.013631675392389297,
-0.04324531555175781,
-0.00733290147036314,
0.014315396547317505,
0.0010448102839291096,
-0.02792997844517231,
-0.08067900687456131,
0.024972887709736824,
0.020426146686077118,
0.025793353095650673,
0.03230578824877739,
0.04098903760313988,
-0.034886833280324936,
-0.020169751718640327,
0.027468467131257057,
-0.05452670156955719,
0.001464657369069755,
-0.041741132736206055,
0.011341212317347527,
-0.002264823764562607,
-0.060030654072761536,
0.05086879804730415,
-0.01231551356613636,
0.0337928831577301,
0.0031493871938437223,
0.011341212317347527,
0.01451196614652872,
0.015409348532557487,
-0.0715855285525322,
-0.017981847748160362,
0.04266415536403656,
0.004384357016533613,
-0.03230578824877739,
-0.027143700048327446,
-0.013409466482698917,
0.09250736981630325,
-0.03235706686973572,
-0.02551986463367939,
-0.018939055502414703,
-0.022511495277285576,
-0.07329482585191727,
-0.0577743761241436,
-0.029793117195367813,
0.05209949612617493,
0.007632029242813587,
0.03582695126533508,
0.027588119730353355,
0.02692149206995964,
0.0017584434244781733,
0.04146764427423477,
0.012460804544389248,
0.0827985405921936,
-0.055005308240652084,
-0.03504067286849022,
0.012640281580388546,
0.045604150742292404,
-0.032339975237846375,
-0.01885358989238739,
-0.07288459688425064,
0.024921609088778496,
0.029741838574409485,
-0.018836498260498047,
-0.003236988792195916,
0.005187728442251682,
0.03770717978477478,
-0.031143464148044586,
0.05110809952020645,
0.04502299055457115,
-0.02088765799999237,
-0.048920195549726486,
0.0214004497975111,
-0.043518804013729095,
0.03408346325159073,
-0.010999351739883423,
0.0013044103980064392,
-0.029622187837958336,
-0.0060808383859694,
-0.016836615279316902,
0.003397235879674554,
0.03616880998015404,
-0.019315101206302643,
0.017622893676161766,
-0.06833785772323608,
-0.004125825595110655,
-0.035519275814294815,
0.031006721779704094,
0.008452493697404861,
0.04577508196234703,
-0.02215254120528698,
0.07281622290611267,
0.012494990602135658,
0.03791229799389839,
0.01854591630399227,
0.022238006815314293,
-0.01523841917514801,
0.09654132276773453,
-0.09305434674024582,
-0.0036023519933223724,
0.01955440454185009,
0.011930921114981174,
0.018204055726528168,
-0.0061833965592086315,
0.000998872797936201,
-0.038869503885507584,
0.004273252561688423,
-0.05739833042025566,
0.01371714100241661,
0.03175881505012512,
0.016810975968837738,
-0.01281975768506527,
-0.008529412560164928,
-0.036100439727306366,
-0.003501930506899953,
-0.012674467638134956,
-0.02963927946984768,
0.017178475856781006,
0.0050851707346737385,
0.019434751942753792,
0.012811210937798023,
0.017229754477739334,
-0.033741600811481476,
0.029981140047311783,
0.0697053000330925,
0.008311476558446884,
0.016648592427372932,
0.03398090600967407,
0.014452139846980572,
0.037160202860832214,
-0.008785807527601719,
-0.03394671902060509,
0.004025403875857592,
-0.038937877863645554,
0.038254156708717346,
0.028476955369114876,
-0.039655786007642746,
0.04423671215772629,
0.02717788703739643,
0.028459861874580383,
-0.027143700048327446,
0.013554757460951805,
-0.05127903074026108,
0.030237535014748573,
-0.024220796301960945,
-0.05083461478352547,
-0.04594601318240166,
-0.018169870600104332,
-0.029981140047311783,
-0.012913769111037254,
0.007196157239377499,
-0.047586940228939056,
-0.029998233541846275,
-0.015443534590303898,
0.010221620090305805,
-0.010443828999996185,
0.06266297399997711,
-0.05141577497124672,
0.008687522262334824,
-0.02324649505317211,
0.014674349687993526,
0.00914476066827774,
0.01664004474878311,
0.012452257797122002,
0.0136829549446702,
0.05873158201575279,
0.06471413373947144,
0.002090688794851303,
-0.004606566391885281,
0.0596546046435833,
-0.03398090600967407,
0.03521160036325455,
-0.02423788793385029,
0.03372450917959213,
0.00904220249503851,
-0.009349877014756203,
-0.006285954732447863,
-0.04515973478555679,
0.0023460157681256533,
-0.018443359062075615,
-0.036271367222070694,
0.005153542850166559,
-0.0020394097082316875,
0.06379111856222153,
-0.03445950895547867,
0.035450901836156845,
-0.024921609088778496,
0.01664004474878311,
-0.015640104189515114,
-0.01910998485982418,
0.037228576838970184,
-0.07247436046600342,
0.012657374143600464,
0.009315690957009792,
-0.0006628882838413119,
-0.07179064303636551,
-0.05397972837090492,
-0.011674526147544384,
0.00825165119022131,
0.0369550883769989,
-0.042048804461956024,
0.012956501916050911,
0.0013236399972811341,
-0.00725598307326436,
-0.06543204188346863,
0.017554521560668945,
-0.06580808758735657,
-0.0216397512704134,
-0.0353141613304615,
-0.08642225712537766,
0.029622187837958336,
-0.0678250640630722,
-0.08259342610836029,
0.037672996520996094,
-0.0047133974730968475,
0.02025521732866764,
0.027519747614860535,
-0.004478368908166885,
-0.005909908562898636,
0.011537781916558743,
-0.005328746046870947,
-0.01126429345458746,
-0.005170635879039764,
-0.0552104227244854,
0.008691796101629734,
-0.023776376619935036,
0.053603678941726685,
0.0015704203397035599,
-0.026049748063087463,
-0.012366793118417263,
0.011255747638642788,
-0.06201344355940819,
-0.008691796101629734,
0.0521678663790226,
-0.005003978963941336,
-0.0647825077176094,
-0.08601202815771103,
0.010050689801573753,
0.022990098223090172,
0.04734763875603676,
0.04044206440448761,
-0.06720972061157227,
0.043963223695755005,
-0.021605564281344414,
-0.046698104590177536,
-0.0288871880620718,
0.017169928178191185,
0.03804904222488403,
-0.03155369684100151,
0.017810916528105736,
0.009768655523657799,
-0.07295297086238861,
-0.013221443630754948,
-0.06160321086645126,
-0.018426265567541122,
0.0033203172497451305,
0.0694659948348999,
0.016075976192951202,
0.020853472873568535,
-0.04081811010837555,
0.002367381937801838,
-0.015229872427880764,
0.028135094791650772,
0.03702346235513687,
0.007435459643602371,
-0.005585141014307737,
0.03914299234747887,
0.009290050715208054,
0.04232229292392731,
0.015819581225514412,
0.023126842454075813,
-0.013999175280332565,
0.06256041675806046,
0.07869622111320496,
-0.011777084320783615,
-0.01024725940078497,
0.00010289190686307847,
-0.05281740054488182,
0.010007957927882671,
0.03073323331773281,
0.006008193362504244,
0.023451609537005424,
0.006640634499490261,
-0.0002202060422860086,
0.020665450021624565,
-0.00540993781760335,
0.052475541830062866,
0.08430273085832596,
-0.03357067331671715,
-0.040339503437280655,
-0.031023813411593437,
-0.028528233990073204,
0.03750206530094147,
0.02563951537013054,
-0.03155369684100151,
0.029929861426353455,
0.05719321221113205,
-0.018374986946582794,
0.028237653896212578,
0.02114405296742916,
0.01827242784202099,
0.027348816394805908,
-0.012067665345966816,
0.042561594396829605,
0.013725687749683857,
0.038254156708717346,
0.008264470845460892,
0.023212308064103127,
0.06649181246757507,
0.05110809952020645,
-0.04276671260595322,
0.03445950895547867,
0.03876694664359093,
0.043518804013729095,
-0.030887069180607796,
0.011742898263037205,
0.04820229113101959,
-0.036408111453056335,
-0.012640281580388546,
0.028972651809453964,
0.0013353914255276322,
-0.02145172841846943,
-0.04157020151615143,
-0.027194978669285774,
0.032784394919872284,
0.020272310823202133,
-0.008230284787714481,
0.06238948926329613,
-0.01689644157886505,
-0.01247789803892374
] |
726,110 | collections | _replace | Return a new ID object replacing specified fields with new values | def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None):
"""Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)
"""
# Validate the field names. At the user's option, either generate an error
# message or automatically replace the field name with a valid name.
if isinstance(field_names, str):
field_names = field_names.replace(',', ' ').split()
field_names = list(map(str, field_names))
typename = _sys.intern(str(typename))
if rename:
seen = set()
for index, name in enumerate(field_names):
if (not name.isidentifier()
or _iskeyword(name)
or name.startswith('_')
or name in seen):
field_names[index] = f'_{index}'
seen.add(name)
for name in [typename] + field_names:
if type(name) is not str:
raise TypeError('Type names and field names must be strings')
if not name.isidentifier():
raise ValueError('Type names and field names must be valid '
f'identifiers: {name!r}')
if _iskeyword(name):
raise ValueError('Type names and field names cannot be a '
f'keyword: {name!r}')
seen = set()
for name in field_names:
if name.startswith('_') and not rename:
raise ValueError('Field names cannot start with an underscore: '
f'{name!r}')
if name in seen:
raise ValueError(f'Encountered duplicate field name: {name!r}')
seen.add(name)
field_defaults = {}
if defaults is not None:
defaults = tuple(defaults)
if len(defaults) > len(field_names):
raise TypeError('Got more default values than field names')
field_defaults = dict(reversed(list(zip(reversed(field_names),
reversed(defaults)))))
# Variables used in the methods and docstrings
field_names = tuple(map(_sys.intern, field_names))
num_fields = len(field_names)
arg_list = ', '.join(field_names)
if num_fields == 1:
arg_list += ','
repr_fmt = '(' + ', '.join(f'{name}=%r' for name in field_names) + ')'
tuple_new = tuple.__new__
_dict, _tuple, _len, _map, _zip = dict, tuple, len, map, zip
# Create all the named tuple methods to be added to the class namespace
namespace = {
'_tuple_new': tuple_new,
'__builtins__': {},
'__name__': f'namedtuple_{typename}',
}
code = f'lambda _cls, {arg_list}: _tuple_new(_cls, ({arg_list}))'
__new__ = eval(code, namespace)
__new__.__name__ = '__new__'
__new__.__doc__ = f'Create new instance of {typename}({arg_list})'
if defaults is not None:
__new__.__defaults__ = defaults
@classmethod
def _make(cls, iterable):
result = tuple_new(cls, iterable)
if _len(result) != num_fields:
raise TypeError(f'Expected {num_fields} arguments, got {len(result)}')
return result
_make.__func__.__doc__ = (f'Make a new {typename} object from a sequence '
'or iterable')
def _replace(self, /, **kwds):
result = self._make(_map(kwds.pop, field_names, self))
if kwds:
raise ValueError(f'Got unexpected field names: {list(kwds)!r}')
return result
_replace.__doc__ = (f'Return a new {typename} object replacing specified '
'fields with new values')
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
def _asdict(self):
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
# Modify function metadata to help with introspection and debugging
for method in (
__new__,
_make.__func__,
_replace,
__repr__,
_asdict,
__getnewargs__,
):
method.__qualname__ = f'{typename}.{method.__name__}'
# Build-up the class namespace dictionary
# and use type() to build the result class
class_namespace = {
'__doc__': f'{typename}({arg_list})',
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,
'__repr__': __repr__,
'_asdict': _asdict,
'__getnewargs__': __getnewargs__,
'__match_args__': field_names,
}
for index, name in enumerate(field_names):
doc = _sys.intern(f'Alias for field number {index}')
class_namespace[name] = _tuplegetter(index, doc)
result = type(typename, (tuple,), class_namespace)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython), or where the user has
# specified a particular module.
if module is None:
try:
module = _sys._getframe(1).f_globals.get('__name__', '__main__')
except (AttributeError, ValueError):
pass
if module is not None:
result.__module__ = module
return result
| (self, /, **kwds) | [
0.05422089621424675,
0.0014291696716099977,
-0.015398981049656868,
-0.035721518099308014,
-0.03283742815256119,
-0.033331841230392456,
0.0027939623687416315,
0.021527672186493874,
0.020961156114935875,
-0.04614544287323952,
-0.04219011962413788,
0.057187385857105255,
0.004506391007453203,
0.06328517943620682,
0.010835939086973667,
0.03343484550714493,
-0.0298091322183609,
0.056363362818956375,
-0.06542764604091644,
-0.03232241049408913,
0.01904529519379139,
0.01594489812850952,
0.03345544636249542,
0.05978306755423546,
0.031992800533771515,
0.01101104449480772,
0.018849588930606842,
0.01050632819533348,
0.0018077065469697118,
-0.005999937653541565,
-0.004094378091394901,
-0.015821294859051704,
-0.030200544744729996,
-0.010743236169219017,
0.00285061402246356,
-0.06089550256729126,
-0.05005956441164017,
0.05854703113436699,
0.04927673935890198,
-0.005021406803280115,
0.06394439935684204,
-0.09954231232404709,
-0.04952394962310791,
-0.06097790598869324,
-0.0017768054967746139,
0.02340233139693737,
0.022722510620951653,
-0.011505459435284138,
-0.02426755800843239,
-0.05343807116150856,
0.02358773723244667,
0.006329548079520464,
0.015821294859051704,
-0.0042205569334328175,
-0.023155122995376587,
-0.0009521360043436289,
-0.001855345442891121,
0.061801932752132416,
-0.006926966365426779,
0.023113923147320747,
-0.0021592050325125456,
0.05768180266022682,
-0.015100272372364998,
0.01041362527757883,
-0.05422089621424675,
-0.02418515644967556,
-0.00929604098200798,
-0.07350309938192368,
-0.022784311324357986,
0.0012315321946516633,
-0.00900248158723116,
-0.0008735960582271218,
0.018756886944174767,
0.024205757305026054,
0.07626358419656754,
0.042313721030950546,
-0.029191112145781517,
-0.010805037803947926,
0.044250182807445526,
-0.05158401280641556,
-0.01662471890449524,
-0.013431619852781296,
-0.08079572767019272,
-0.043508559465408325,
-0.03423827141523361,
0.03953263536095619,
-0.050471577793359756,
-0.0004461327043827623,
0.030118141323328018,
-0.0017330291448161006,
-0.05310846120119095,
0.016047902405261993,
-0.003787943394854665,
0.033373042941093445,
-0.051707617938518524,
-0.08660510927438736,
0.0038188444450497627,
-0.03792578727006912,
-0.012926904484629631,
0.03580391779541969,
0.0249679796397686,
-0.045815832912921906,
-0.09179647266864777,
-0.021043557673692703,
-0.008744973689317703,
-0.019817819818854332,
-0.019519109278917313,
-0.0151826748624444,
0.03596872463822365,
-0.03267262130975723,
-0.0432201512157917,
-0.05768180266022682,
-0.029953336343169212,
0.06089550256729126,
-0.003978499211370945,
-0.03403226286172867,
0.021064158529043198,
-0.025998013094067574,
-0.03067435882985592,
-0.031065771356225014,
0.027110448107123375,
0.018839288502931595,
-0.06118391081690788,
0.04911193624138832,
0.008446264080703259,
-0.008935529738664627,
0.061431121081113815,
-0.025956811383366585,
0.03893521800637245,
-0.0033244288060814142,
0.02299031801521778,
0.002963917562738061,
-0.042396124452352524,
0.05681657791137695,
0.017871059477329254,
0.038440801203250885,
0.0499359592795372,
0.0503067709505558,
-0.06983618438243866,
0.03757557272911072,
0.04202531278133392,
-0.012164680287241936,
0.06555125117301941,
0.03545370697975159,
-0.0018617832101881504,
-0.046227846294641495,
0.013297715224325657,
0.007004219107329845,
-0.03751377388834953,
0.03007693961262703,
-0.03302283212542534,
-0.03598932549357414,
0.01896289363503456,
0.02239290066063404,
-0.04647505283355713,
-0.00516046117991209,
-0.01119645033031702,
-0.06406800448894501,
-0.023196324706077576,
-0.04151029884815216,
0.018581781536340714,
-0.05319086089730263,
-0.01613030396401882,
-0.015697691589593887,
0.05529212951660156,
0.021362867206335068,
0.04338495433330536,
-0.08528666943311691,
-0.013596424832940102,
-0.033599648624658585,
-0.0003624425735324621,
0.04120128974318504,
0.026368824765086174,
0.04416777938604355,
-0.03419706970453262,
0.019426407292485237,
-0.007107221987098455,
0.02482377551496029,
0.023979149758815765,
-0.02042553760111332,
0.03879101201891899,
-0.014338048174977303,
-0.06196673586964607,
0.008894328027963638,
0.05846462771296501,
0.03182799369096756,
-0.0019840996246784925,
0.062296345829963684,
0.05228443443775177,
0.02680143713951111,
0.01613030396401882,
-0.040006451308727264,
0.005732129327952862,
-0.006617956794798374,
0.008698621764779091,
0.06303796917200089,
-0.06361478567123413,
0.04614544287323952,
0.017582649365067482,
0.11041945219039917,
-0.027563661336898804,
0.0331670381128788,
0.029232313856482506,
-0.01747964695096016,
0.032858025282621384,
-0.02947952225804329,
0.05488011613488197,
-0.05113079771399498,
-0.03156018629670143,
-0.03376445546746254,
0.08339140564203262,
-0.021404068917036057,
0.007720091380178928,
0.019539710134267807,
-0.010805037803947926,
-0.07251426577568054,
0.05356167256832123,
-0.029870932921767235,
0.006350148469209671,
-0.004179355688393116,
0.08817075937986374,
0.02340233139693737,
-0.02612161636352539,
-0.005871183704584837,
0.0413660928606987,
-0.0488235279917717,
-0.016181806102395058,
-0.029129311442375183,
-0.038399599492549896,
-0.06394439935684204,
0.06270836293697357,
-0.012844501063227654,
-0.029088109731674194,
-0.019241001456975937,
0.023937948048114777,
-0.01625390723347664,
0.00920333806425333,
-0.035762716084718704,
-0.02317572385072708,
-0.02630702219903469,
0.027810869738459587,
0.03574211895465851,
-0.03380565717816353,
-0.009867708198726177,
-0.00974410492926836,
-0.06740530580282211,
-0.02783147059381008,
0.028181681409478188,
-0.019817819818854332,
0.0077406917698681355,
-0.016686521470546722,
0.014956067316234112,
-0.010959542356431484,
0.03275502473115921,
0.004351885989308357,
-0.024720773100852966,
-0.03565971553325653,
-0.013524322770535946,
-0.014296846464276314,
-0.0277696680277586,
0.004120128694921732,
-0.058382224291563034,
0.030756762251257896,
0.04499180614948273,
0.051254402846097946,
-0.02768726460635662,
0.00464802049100399,
-0.025668403133749962,
0.013184412382543087,
0.015275377780199051,
0.12030775845050812,
0.03625713288784027,
-0.015419581905007362,
0.01628480851650238,
-0.04536261782050133,
-0.03343484550714493,
0.016459913924336433,
-0.025215188041329384,
0.02276371233165264,
-0.05113079771399498,
-0.008889177814126015,
-0.02284611389040947,
-0.022866714745759964,
-0.011340654455125332,
0.022701909765601158,
0.06134871765971184,
-0.05529212951660156,
0.03067435882985592,
-0.00846171472221613,
-0.00014452639152295887,
0.04519781470298767,
-0.03283742815256119,
0.013411018997430801,
-0.03191039711236954,
0.00044870778219774365,
0.024123353883624077,
-0.0856986790895462,
0.02049764059484005,
0.02336112968623638,
-0.06876494735479355,
-0.02492677979171276,
0.01822127029299736,
0.04120128974318504,
0.03889401629567146,
0.051666416227817535,
-0.04177810624241829,
-0.027398856356739998,
-0.004393087234348059,
-0.011021344922482967,
0.046639859676361084,
-0.027604863047599792,
0.013441920280456543,
-0.02150707319378853,
0.0058042313903570175,
0.06015387922525406,
0.02243410050868988,
0.0014948341995477676,
-0.014688258990645409,
0.014770661480724812,
0.0432201512157917,
-0.014822163619101048,
-0.06287316232919693,
-0.0480819046497345,
-0.014358649030327797,
-0.008801625110208988,
-0.03386745974421501,
-0.05071878433227539,
-0.0077870432287454605,
0.011855670250952244,
-0.017912259325385094,
-0.035680316388607025,
0.007086621597409248,
0.01421444397419691,
0.05784660950303078,
0.0011536360252648592,
-0.009713203646242619,
0.010011913254857063,
-0.025874407961964607,
0.004431713372468948,
-0.020549142733216286,
0.04911193624138832,
-0.01045482698827982,
-0.046227846294641495,
-0.011134647764265537,
-0.007112372200936079,
-0.017943160608410835,
0.014101141132414341,
0.016964631155133247,
0.12657035887241364,
-0.022866714745759964,
0.011701165698468685,
-0.08363861590623856,
-0.05310846120119095,
0.014080540277063847,
0.04874112457036972,
-0.02828468382358551,
0.0022583454847335815,
-0.013256514444947243,
0.0067209601402282715,
-0.009162136353552341,
0.008935529738664627,
-0.05417969450354576,
0.001297196839004755,
0.011340654455125332,
0.02019893191754818,
-0.03545370697975159,
-0.03228120878338814,
-0.015017869882285595,
-0.014698559418320656,
-0.011340654455125332,
0.016202406957745552,
-0.015862496569752693,
-0.02952072210609913,
-0.035639114677906036,
-0.047093071043491364,
-0.03209580481052399,
0.027234051376581192,
0.07383270561695099,
-0.0871819257736206,
-0.06785852462053299,
0.013555224053561687,
-0.06641647964715958,
0.027852071449160576,
0.02105385810136795,
0.012205881997942924,
-0.0023999749682843685,
0.05582774430513382,
0.029005706310272217,
0.014183543622493744,
0.06279076635837555,
-0.06695209443569183,
0.01897319220006466,
-0.03607172891497612,
-0.03156018629670143,
0.0353919081389904,
-0.013472821563482285,
-0.039367832243442535,
-0.03598932549357414,
-0.05005956441164017,
-0.01246338989585638,
0.0077870432287454605,
-0.04375576600432396,
-0.03524770215153694,
0.044291384518146515,
-0.029191112145781517,
0.018138866871595383,
0.09657581895589828,
-0.04416777938604355,
0.009419644251465797,
-0.008575018495321274,
0.04639264941215515,
0.02362893894314766,
-0.06303796917200089,
-0.08330900222063065,
0.06435640901327133,
0.02243410050868988,
0.010526929050683975,
0.033517248928546906,
0.03559791296720505,
0.034526679664850235,
-0.0025081282947212458,
-0.00642740074545145,
0.005969036370515823,
0.02317572385072708,
-0.02892330475151539,
0.044250182807445526,
-0.04383816942572594,
0.02482377551496029,
0.013658227398991585,
0.005072908475995064,
-0.04072747379541397,
0.0012656520120799541,
0.004714972339570522,
-0.012628194876015186,
0.05426209792494774,
-0.03759617358446121,
-0.00787974614650011,
-0.03745197132229805,
-0.010866839438676834,
0.0288821030408144,
0.008873727172613144,
-0.00033315105247311294,
0.010928642004728317,
-0.05043037608265877,
0.010815338231623173,
0.015192975290119648,
-0.04758748784661293,
0.012174980714917183,
0.042128317058086395,
0.01673802360892296,
0.07519234716892242,
0.056651771068573,
0.08462744206190109,
0.015677090734243393,
-0.0020549141336232424,
-0.03811119124293327,
-0.03928542882204056,
-0.04832911118865013,
0.016089102253317833,
0.002228732220828533,
0.017788656055927277,
-0.025833208113908768,
0.050100766122341156,
0.03327003866434097,
-0.04126308858394623,
-0.008441113866865635,
0.03879101201891899,
-0.06909456104040146,
-0.015368080697953701,
-0.04109828546643257,
0.06551004946231842,
-0.01533717941492796,
0.024885578081011772,
-0.019725115969777107,
-0.0346502847969532,
0.016161205247044563,
0.0003028938372153789,
-0.008600768633186817,
-0.018684783950448036,
-0.0786120593547821,
0.05269644781947136,
-0.02183668315410614,
0.054097291082143784,
0.0022879589814692736,
-0.0027785119600594044,
0.030118141323328018,
0.05277885124087334,
0.0303653497248888,
-0.01002221368253231,
0.030385950580239296,
-0.061801932752132416,
0.02787267044186592,
0.05183121934533119,
-0.008317509666085243,
0.005567323882132769,
-0.006458302028477192,
-0.024288158863782883,
0.04144849628210068,
-0.0435909628868103,
-0.03362024948000908,
0.04289054125547409,
-0.05038917437195778,
0.025853808969259262,
-0.031127573922276497,
0.06654007732868195,
-0.03953263536095619,
0.06044229120016098,
0.010980143211781979,
-0.012494290247559547,
-0.03261081874370575,
-0.06377959251403809,
-0.019024694338440895,
0.017459046095609665,
-0.030200544744729996,
0.0019107097759842873,
0.006056589540094137,
0.004689221736043692,
0.02377314306795597,
-0.06567485630512238,
-0.052902452647686005,
0.03751377388834953,
0.02985033392906189,
-0.03287862613797188,
0.015326878987252712,
-0.029953336343169212,
0.028758499771356583,
0.025441795587539673,
-0.008302059955894947,
0.03992404788732529,
0.02445296384394169,
0.0029845181852579117,
-0.05043037608265877,
-0.023546535521745682,
-0.05488011613488197,
0.03854380548000336,
0.03703995794057846,
-0.0046660457737743855,
0.017943160608410835,
0.04052146524190903,
0.020219532772898674,
0.048205506056547165,
0.054468102753162384,
-0.05549813434481621,
-0.026368824765086174,
-0.011114047840237617,
0.00031770055647939444,
-0.02451476640999317,
0.009981011971831322,
-0.015234176069498062,
-0.030282946303486824,
-0.006458302028477192,
-0.01766505278646946,
0.0015592112904414535,
-0.010351823642849922,
-0.046598657965660095,
-0.016089102253317833,
-0.035906922072172165,
0.004859176930040121,
0.01718093641102314,
0.030138742178678513,
0.004990505985915661,
0.006581905763596296,
0.024432362988591194,
-0.009769855067133904,
-0.001060289447195828,
0.03201340138912201,
0.039821043610572815,
0.017747454345226288,
-0.007302928250283003,
-0.01830367185175419,
0.030653757974505424,
0.008271158672869205,
0.046969469636678696,
0.017654752358794212,
0.0138848340138793,
0.029458921402692795,
-0.036916352808475494,
0.003860045690089464,
-0.014842763543128967,
-0.0573933944106102,
0.02764606475830078,
0.04289054125547409,
-0.011577561497688293,
-0.06176073104143143,
-0.01149515900760889,
-0.026245219632983208,
-0.02049764059484005,
0.00821965653449297,
0.02727525308728218,
0.008523516356945038,
-0.02358773723244667,
0.042396124452352524,
-0.004714972339570522,
-0.0003688802826218307,
-0.01934400387108326,
0.02202208898961544,
-0.03656614199280739,
0.006473752204328775,
0.010274571366608143,
0.0009914060356095433,
-0.04799950122833252,
0.038172993808984756,
-0.033517248928546906,
-0.0025506173260509968,
0.004205106291919947,
-0.03656614199280739,
-0.015491683967411518,
0.0063346978276968,
0.050553981214761734,
0.014224744401872158,
0.06151352450251579,
-0.04853511601686478,
0.03965624049305916,
0.00823510717600584,
-0.021568873897194862,
-0.018241871148347855,
-0.014513153582811356,
-0.015100272372364998,
0.012380987405776978,
-0.04799950122833252,
-0.06802332401275635,
0.024246957153081894,
0.01289600320160389,
0.00937329325824976,
-0.009120935574173927,
-0.056651771068573,
-0.01119645033031702,
-0.03718416392803192,
0.051254402846097946,
-0.04499180614948273,
-0.03063315711915493,
-0.02809927798807621,
0.023319929838180542,
-0.06695209443569183,
-0.03633953630924225,
0.01239128690212965,
0.02082725055515766,
-0.014780961908400059,
0.014183543622493744,
0.062255147844552994,
0.011659964919090271,
-0.03224000707268715,
-0.006489202845841646,
0.014338048174977303,
-0.010722635313868523,
-0.023278728127479553,
0.051748815923929214,
-0.09608140587806702,
0.04437378793954849,
0.015460783615708351,
-0.020075326785445213,
0.05393248423933983,
0.015234176069498062,
-0.031724993139505386,
-0.02560660056769848,
0.00712782284244895,
-0.0782412439584732,
-0.010532079264521599,
0.027810869738459587,
0.012442789040505886,
0.012164680287241936,
-0.04985355958342552,
0.035309504717588425,
-0.027440058067440987,
0.00579393096268177,
0.05026557296514511,
-0.02432936057448387,
0.05615735426545143,
0.053273264318704605,
0.018849588930606842,
-0.023546535521745682,
-0.0038935216143727303,
0.05455050617456436,
-0.003710690885782242,
-0.026595430448651314,
-0.028676096349954605,
0.02542119473218918,
0.04878232628107071,
-0.03232241049408913,
-0.0016686521703377366,
0.06126631423830986,
0.01335951779037714,
-0.04486820101737976,
-0.026245219632983208,
-0.007441982626914978,
-0.009162136353552341,
0.02105385810136795,
0.005397368688136339,
0.03063315711915493,
-0.08751153200864792,
0.03938843309879303,
0.0197457168251276,
0.017356041818857193,
0.01978691853582859,
-0.06176073104143143,
-0.024164555594325066,
0.02727525308728218,
-0.031766194850206375,
0.04804070293903351,
-0.020374037325382233,
0.020621243864297867,
0.0052299886010587215,
-0.002394824754446745,
0.039821043610572815,
0.0037467421498149633,
0.05224323272705078,
-0.001315222354605794,
0.022557705640792847,
0.03879101201891899,
-0.006762161385267973,
-0.008703771978616714,
0.04416777938604355,
0.011979274451732635,
-0.009172436781227589,
0.05096599459648132,
-0.05434449762105942,
0.026595430448651314,
0.07028939574956894,
-0.01561528816819191,
0.034155867993831635,
0.028943905606865883,
-0.017788656055927277,
0.08635789901018143,
-0.0024952529929578304,
0.005060032941401005,
0.000015541012544417754,
-0.0299945380538702,
-0.025441795587539673,
-0.03757557272911072,
0.017871059477329254,
0.04412657767534256,
0.04486820101737976,
-0.04610424116253853,
0.023237526416778564,
0.03244601562619209,
-0.03182799369096756,
0.02597741223871708,
0.01874658651649952,
-0.006190493702888489,
0.07391510903835297,
-0.058011412620544434,
0.06250235438346863,
-0.0012257383204996586,
0.04589823633432388,
-0.049729954451322556,
-0.018901091068983078,
0.05891784280538559,
0.02432936057448387,
-0.007699490524828434,
0.02653362974524498,
0.012957804836332798,
0.03804938867688179,
-0.01960151270031929,
-0.01957061141729355,
0.03269322216510773,
-0.06551004946231842,
0.03947083279490471,
-0.011896871961653233,
-0.028346486389636993,
-0.05273764953017235,
-0.030983367934823036,
-0.0023021220695227385,
0.018046164885163307,
0.019313104450702667,
-0.0017665051855146885,
0.03673094883561134,
0.005613675341010094,
0.03271382302045822
] |
726,111 | penne.delegates | compact_str | null | def compact_str(self):
return f"|{self.slot}/{self.gen}|"
| (self) | [
0.05544816330075264,
-0.004504134878516197,
0.041660163551568985,
-0.028299951925873756,
0.0029369427356868982,
-0.06650488823652267,
0.007963474839925766,
-0.006713011767715216,
0.027181116864085197,
-0.053802814334630966,
-0.004082514904439449,
0.03425610437989235,
-0.006713011767715216,
0.04300934448838234,
-0.0015106333885341883,
-0.015861134976148605,
-0.023742344230413437,
-0.07134220749139786,
0.04764921963214874,
0.03491424396634102,
0.026572339236736298,
0.0594957135617733,
0.020221302285790443,
0.016692034900188446,
-0.0020762209314852953,
0.08279380947351456,
0.010003703646361828,
-0.023906877264380455,
-0.014018348418176174,
-0.026374896988272667,
0.017292587086558342,
-0.035342033952474594,
0.014405004680156708,
-0.00012822130520362407,
0.021340137347579002,
-0.0052363136783242226,
-0.023692982271313667,
-0.008132122457027435,
-0.06811732798814774,
-0.03484842926263809,
0.049195848405361176,
-0.009781582280993462,
-0.021916009485721588,
-0.039784468710422516,
-0.016247792169451714,
-0.007914114743471146,
0.05057793855667114,
0.029023904353380203,
-0.011904078535735607,
-0.030948959290981293,
0.09181030839681625,
0.02930361218750477,
-0.02240961231291294,
0.011920532211661339,
-0.02316647209227085,
0.029616229236125946,
0.03491424396634102,
0.00781539361923933,
0.07081569731235504,
0.025683851912617683,
-0.04106783866882324,
0.029813669621944427,
0.023446181789040565,
-0.028365766629576683,
-0.0002766238176263869,
0.002348731504753232,
-0.035835638642311096,
0.025469956919550896,
0.03335116431117058,
0.04244992882013321,
0.05334211885929108,
-0.031442563980817795,
-0.03177163377404213,
0.031903259456157684,
0.016379419714212418,
-0.05742257833480835,
-0.05742257833480835,
-0.02803669683635235,
0.04623422399163246,
-0.13004815578460693,
0.04017934948205948,
-0.027592454105615616,
-0.0229196697473526,
-0.0424170196056366,
0.005631196778267622,
-0.02250833436846733,
0.010933324694633484,
-0.024548562243580818,
-0.05505327880382538,
0.023298099637031555,
0.013549424707889557,
0.010003703646361828,
-0.05222328379750252,
0.05883757397532463,
-0.03971865400671959,
-0.0279215220361948,
0.023232286795973778,
-0.05459258332848549,
0.028513846918940544,
0.012208467349410057,
0.03055407665669918,
-0.01477520726621151,
-0.0850972980260849,
0.00045684061478823423,
-0.014684713445603848,
-0.027362104505300522,
-0.003981737419962883,
0.009419606067240238,
0.0016751679359003901,
-0.0050388723611831665,
-0.02479536458849907,
0.0014900665264576674,
-0.0040413811802864075,
-0.051170263439416885,
0.03328534960746765,
0.015441572293639183,
-0.052749793976545334,
0.009345565922558308,
0.06670232862234116,
-0.04603678360581398,
0.050972819328308105,
-0.04669491946697235,
-0.06012094393372536,
-0.011229487136006355,
-0.007848300971090794,
0.0672946497797966,
-0.022491879761219025,
0.021833742037415504,
0.055579788982868195,
-0.032001979649066925,
-0.00011472432379378006,
0.03708609938621521,
-0.011854718439280987,
0.004829090554267168,
0.013434250839054585,
-0.024153679609298706,
-0.02331455424427986,
0.012364775873720646,
0.007531571667641401,
0.11978118866682053,
-0.01631360687315464,
-0.0013522687368094921,
-0.007671426050364971,
0.03066924959421158,
0.010217598639428616,
0.011846491135656834,
0.016247792169451714,
0.07279010862112045,
-0.00735058356076479,
-0.023363914340734482,
0.01740776188671589,
0.05044630914926529,
0.0075233448296785355,
0.0133519833907485,
0.015523839741945267,
0.04360166937112808,
-0.024630829691886902,
-0.008107442408800125,
0.05571141839027405,
-0.0499856136739254,
0.020616186782717705,
-0.07279010862112045,
0.005553042981773615,
0.003093250561505556,
0.0133519833907485,
0.010472627356648445,
0.03840237855911255,
0.0108510572463274,
0.013138088397681713,
0.01745712198317051,
-0.0022973143495619297,
-0.03919214382767677,
-0.08318869769573212,
0.06295093894004822,
0.009287978522479534,
0.08957263827323914,
-0.02645716443657875,
0.018641769886016846,
-0.02250833436846733,
-0.04261446371674538,
-0.026539431884884834,
-0.009501873515546322,
-0.01336020976305008,
0.02393978461623192,
0.061700478196144104,
-0.054000258445739746,
0.04133109375834465,
-0.015211224555969238,
0.06604418903589249,
-0.04021225869655609,
-0.009098763577640057,
0.039389584213495255,
-0.04741887375712395,
0.008140349760651588,
-0.004162725526839495,
-0.05594176426529884,
0.020155489444732666,
-0.06637325882911682,
-0.015342852100729942,
-0.06555058807134628,
-0.03269302472472191,
0.025716759264469147,
-0.018444329500198364,
-0.016593314707279205,
0.009732222184538841,
0.015038463287055492,
0.04274608939886093,
0.007124348543584347,
-0.030586982145905495,
0.020566824823617935,
0.02930361218750477,
-0.0050388723611831665,
0.02797088213264942,
0.0011630540248006582,
0.03481552377343178,
-0.054757118225097656,
0.003736992133781314,
0.039389584213495255,
-0.04781375452876091,
0.05488874390721321,
0.03298918902873993,
-0.0736456885933876,
0.0011733374558389187,
-0.02048455737531185,
-0.05452676862478256,
-0.0007224097498692572,
-0.009403152391314507,
-0.019201189279556274,
-0.028875822201371193,
-0.005232200492173433,
0.02706594206392765,
-0.043832018971443176,
0.0068405261263251305,
0.05620501935482025,
-0.050413403660058975,
0.04807700961828232,
-0.031343843787908554,
-0.043075159192085266,
-0.017029331997036934,
-0.03494714945554733,
-0.01555674709379673,
0.016930609941482544,
0.04794538393616676,
0.017950724810361862,
0.10260377824306488,
-0.000752745836507529,
-0.0027189343236386776,
0.0560733936727047,
-0.030488261952996254,
0.007424624171108007,
-0.0069063398987054825,
-0.013434250839054585,
-0.03616470471024513,
0.0007748551433905959,
-0.006338695529848337,
-0.01923409476876259,
-0.024104319512844086,
0.0053885080851614475,
0.0068405261263251305,
0.009049403481185436,
-0.05265107378363609,
-0.04159434884786606,
-0.045707713812589645,
0.0073752636089921,
0.0750935971736908,
0.004820863716304302,
-0.042581554502248764,
0.030619889497756958,
-0.04741887375712395,
-0.0007748551433905959,
0.010110651142895222,
0.014585992321372032,
-0.043733298778533936,
0.02808605693280697,
-0.03748098388314247,
-0.0010910701239481568,
-0.00628522178158164,
-0.017819097265601158,
-0.011616143397986889,
-0.06202954426407814,
0.012076839804649353,
0.003998191095888615,
0.007441077381372452,
-0.000998005154542625,
0.024762457236647606,
-0.0052363136783242226,
0.039981909096241,
-0.06397105753421783,
0.028299951925873756,
0.008539346046745777,
0.01336020976305008,
0.03282465413212776,
-0.02048455737531185,
0.0074575310572981834,
0.07515940815210342,
-0.0069803805090487,
0.06117396429181099,
0.03445354476571083,
-0.03859981894493103,
-0.039587024599313736,
-0.025469956919550896,
-0.010357453487813473,
-0.0012669163988903165,
0.024351121857762337,
-0.03363087400794029,
-0.013236808590590954,
-0.04801119863986969,
-0.007951134815812111,
0.05130188912153244,
-0.003790465882048011,
-0.026078734546899796,
0.0034963602665811777,
0.06186501309275627,
0.030488261952996254,
0.061601754277944565,
0.10477563738822937,
-0.02979721687734127,
0.03127802908420563,
0.034321919083595276,
0.07983218878507614,
0.00735058356076479,
-0.02665460668504238,
-0.0171938668936491,
0.0624244287610054,
-0.018049446865916252,
-0.05847559869289398,
-0.060285478830337524,
-0.0016689979238435626,
-0.0036958586424589157,
0.00006160407065181062,
-0.02245897427201271,
-0.04386492446064949,
0.029418786987662315,
-0.032051339745521545,
0.005055325571447611,
0.01338488981127739,
0.0411994643509388,
-0.04791247844696045,
-0.04501666873693466,
-0.02338036708533764,
0.1092509776353836,
0.029023904353380203,
-0.004057834856212139,
0.044391434639692307,
-0.015466253273189068,
0.008407718501985073,
-0.00823084358125925,
0.008465304970741272,
0.0010777016868814826,
-0.008802601136267185,
0.009633501060307026,
-0.04366748407483101,
0.05386862903833389,
0.009913209825754166,
0.07074987888336182,
0.004866111092269421,
-0.017786189913749695,
0.04959072917699814,
-0.04597096890211105,
0.060022223740816116,
0.016914157196879387,
-0.008506438694894314,
0.009649954736232758,
0.006651311181485653,
0.033614419400691986,
-0.022096997126936913,
-0.013483610935509205,
0.003191971220076084,
0.01226605474948883,
-0.0026675171684473753,
-0.040245164185762405,
0.020862987264990807,
-0.007325903046876192,
-0.08062195777893066,
-0.05176258832216263,
0.034321919083595276,
-0.03642795979976654,
0.014915062114596367,
-0.04913003370165825,
-0.09181030839681625,
0.01532639842480421,
0.021669207140803337,
0.00918103102594614,
0.07186871767044067,
-0.012200240977108479,
0.040903303772211075,
-0.006856979802250862,
0.03282465413212776,
-0.009979023598134518,
0.023511994630098343,
0.0007861669291742146,
-0.010061291046440601,
-0.020122582092881203,
0.006778825540095568,
-0.005902678705751896,
-0.027905069291591644,
0.005775164812803268,
0.0009650982683524489,
-0.029863031581044197,
0.013458930887281895,
0.01867467723786831,
-0.056336648762226105,
0.0004668669425882399,
0.01553206704556942,
-0.005055325571447611,
-0.0336473248898983,
0.04662910848855972,
0.004504134878516197,
-0.00242277211509645,
0.028168324381113052,
-0.025321874767541885,
-0.024219494313001633,
-0.025683851912617683,
-0.04906421899795532,
0.04481922462582588,
-0.03348279371857643,
-0.04064004868268967,
0.0062235211953520775,
0.022837402299046516,
0.017029331997036934,
-0.02862902171909809,
0.020254209637641907,
0.002758011221885681,
0.05044630914926529,
-0.03922504931688309,
-0.023298099637031555,
-0.010661842301487923,
0.029073264449834824,
0.04787956923246384,
0.013170994818210602,
-0.010538441129028797,
0.003477850230410695,
-0.0011630540248006582,
-0.025782572105526924,
0.018345609307289124,
-0.02874419465661049,
0.03272593393921852,
-0.03055407665669918,
-0.0015970140229910612,
0.05130188912153244,
0.059265363961458206,
-0.029830124229192734,
0.0061248005367815495,
0.007745466660708189,
0.006532023660838604,
0.024416934698820114,
-0.095100998878479,
0.016708489507436752,
0.024663737043738365,
0.020764267072081566,
0.04725433886051178,
0.058409783989191055,
-0.06278640776872635,
-0.02387397177517414,
0.05028177425265312,
-0.056336648762226105,
0.046168409287929535,
-0.052420724183321,
-0.04577352851629257,
-0.004351940471678972,
-0.04011353477835655,
0.08457078784704208,
-0.02726338431239128,
0.058409783989191055,
-0.014248697087168694,
0.016428779810667038,
-0.012101519852876663,
0.018444329500198364,
-0.07733126729726791,
0.019365722313523293,
-0.02347908727824688,
-0.017424214631319046,
-0.02250833436846733,
0.0009630416170693934,
0.03899469971656799,
0.03613179922103882,
-0.031804539263248444,
0.008128009736537933,
-0.02397269196808338,
-0.03593435883522034,
-0.04465469345450401,
-0.06647197902202606,
-0.03688865900039673,
0.04040969908237457,
-0.004783843643963337,
0.06084489822387695,
0.03206779435276985,
0.013689279556274414,
-0.021636299788951874,
0.040903303772211075,
-0.01651104725897312,
0.04699108377099037,
-0.0643659383058548,
-0.045806434005498886,
0.005771051160991192,
0.045510273426771164,
-0.017720377072691917,
-0.02706594206392765,
-0.05817943438887596,
0.021323684602975845,
-0.019036654382944107,
-0.00277035147882998,
-0.01923409476876259,
-0.01765456236898899,
0.034223198890686035,
-0.03238040953874588,
0.003650611499324441,
0.0314590148627758,
-0.04432562366127968,
-0.019102467224001884,
0.029352974146604538,
-0.07943730801343918,
0.01601744443178177,
-0.0012494346592575312,
-0.01831270195543766,
-0.020155489444732666,
-0.011607916094362736,
-0.01442145835608244,
0.026901407167315483,
0.020352929830551147,
-0.03020855411887169,
0.03368023410439491,
-0.06785406917333603,
-0.03527621924877167,
-0.03257784992456436,
-0.015474479645490646,
0.02514088712632656,
-0.01699642464518547,
-0.01057134848088026,
0.009362018667161465,
-0.02367652952671051,
0.040705859661102295,
0.015968082472682,
0.0061371405608952045,
0.011032044887542725,
0.08332032710313797,
-0.023363914340734482,
-0.01916828192770481,
0.0008201021701097488,
-0.016543954610824585,
0.0184114221483469,
-0.019415082409977913,
0.03257784992456436,
-0.07877916842699051,
-0.002169799990952015,
0.009353792294859886,
0.044193994253873825,
0.022442519664764404,
0.050051428377628326,
-0.008588706143200397,
-0.08285962790250778,
-0.020616186782717705,
0.0011609973153099418,
-0.017160959541797638,
0.0010920984204858541,
-0.008321337401866913,
0.000639114121440798,
0.023742344230413437,
0.016782529652118683,
0.037053193897008896,
-0.026852047070860863,
0.054921649396419525,
0.030735064297914505,
-0.051828399300575256,
0.014947968535125256,
0.04689236357808113,
0.010439720936119556,
-0.01811525970697403,
0.016157297417521477,
-0.02803669683635235,
-0.022788042202591896,
-0.0032063680700957775,
0.041265279054641724,
0.023544901981949806,
-0.07469870895147324,
-0.022245079278945923,
0.005326807964593172,
0.026852047070860863,
0.018658224493265152,
-0.01851014234125614,
-0.02194891683757305,
0.05923245847225189,
-0.00008194594556698576,
-0.015597880817949772,
0.018493689596652985,
0.01470116712152958,
-0.024630829691886902,
-0.008580479770898819,
0.007424624171108007,
-0.02048455737531185,
0.0273127444088459,
-0.04103492945432663,
0.004816750530153513,
-0.0020032087340950966,
0.04537864401936531,
-0.0021677433978766203,
0.007103781681507826,
0.014092388562858105,
-0.033219534903764725,
0.0256015844643116,
-0.015836454927921295,
0.060285478830337524,
0.017638109624385834,
0.06936778873205185,
0.07450126856565475,
0.005742257926613092,
0.020320024341344833,
0.02994529716670513,
-0.06288512796163559,
0.01872403733432293,
-0.0338941290974617,
0.06811732798814774,
-0.016864797100424767,
-0.033219534903764725,
-0.03386121988296509,
-0.02711530216038227,
-0.012907739728689194,
-0.04037679359316826,
-0.03738226369023323,
-0.015573200769722462,
-0.038534004241228104,
0.06864383816719055,
-0.10661842674016953,
0.004187405575066805,
0.0004596685466822237,
0.02913907915353775,
0.0030788537114858627,
0.031343843787908554,
0.012990007176995277,
-0.07805521786212921,
-0.006231748033314943,
-0.030586982145905495,
0.03932376950979233,
-0.03797458857297897,
-0.011624369770288467,
-0.012331868521869183,
-0.02959977462887764,
0.055974673479795456,
-0.0687754675745964,
0.03249558433890343,
0.017029331997036934,
0.01616552472114563,
-0.05321048945188522,
-0.019908687099814415,
-0.06818313896656036,
-0.01725967973470688,
-0.017588749527931213,
-0.06624162942171097,
-0.04001481458544731,
-0.059726063162088394,
-0.061042338609695435,
0.026243269443511963,
-0.007367036771029234,
-0.013829133473336697,
0.0458393394947052,
0.0004977171774953604,
0.0020741643384099007,
-0.024548562243580818,
-0.009641727432608604,
0.013590558432042599,
-0.004164782352745533,
-0.02645716443657875,
0.023446181789040565,
-0.0295010544359684,
0.0064003961160779,
-0.004282013047486544,
0.03652668371796608,
-0.020501011982560158,
-0.015046689659357071,
-0.041002023965120316,
-0.020402291789650917,
0.010340999811887741,
-0.030142739415168762,
-0.06591255962848663,
-0.04725433886051178,
-0.0013090784195810556,
0.03187035396695137,
0.0434042289853096,
0.02782280184328556,
-0.02104397676885128,
0.04669491946697235,
-0.03919214382767677,
0.0013584388652816415,
-0.05525071918964386,
-0.006058986764401197,
0.025519317016005516,
-0.0634116381406784,
0.019316362217068672,
0.007309449836611748,
-0.048340268433094025,
-0.021340137347579002,
-0.08088520914316177,
-0.02494344674050808,
-0.0153017183765769,
0.02321583218872547,
0.026391349732875824,
0.04317387938499451,
-0.03843528404831886,
0.03734935447573662,
-0.03127802908420563,
0.016930609941482544,
0.018246887251734734,
0.006877546664327383,
0.026703966781497,
0.022146357223391533,
0.005639423616230488,
0.06805150955915451,
-0.02226153202354908,
-0.0565669983625412,
0.02403850480914116,
0.08002962917089462,
0.0948377475142479,
-0.04501666873693466,
0.0173090398311615,
-0.0019044880755245686,
-0.06045001372694969,
-0.026243269443511963,
0.019760606810450554,
0.04764921963214874,
0.024811819195747375,
-0.004956604912877083,
0.01499732956290245,
0.005088232457637787,
0.0013831190299242735,
-0.00407840171828866,
0.08601868897676468,
-0.0317058190703392,
0.004775616806000471,
0.021011069416999817,
-0.01366459857672453,
0.00528567424044013,
0.012759658508002758,
-0.03279174491763115,
0.026276176795363426,
0.056336648762226105,
0.009551233612000942,
-0.0008370698196813464,
0.0409691147506237,
-0.011352887377142906,
0.008090988732874393,
-0.008827281184494495,
0.0663074478507042,
0.033927034586668015,
0.03567110374569893,
-0.012043933384120464,
0.04886677861213684,
0.04857061430811882,
0.04139690473675728,
-0.05488874390721321,
-0.001294681685976684,
0.023643622174859047,
0.06611000746488571,
-0.03642795979976654,
0.015688374638557434,
0.04735305905342102,
-0.07167127728462219,
0.0066019510850310326,
0.030981866642832756,
-0.04162725433707237,
-0.027855709195137024,
-0.03833656385540962,
0.0018345608841627836,
0.049261659383773804,
0.023232286795973778,
0.016659129410982132,
0.07456707954406738,
0.0034799068234860897,
0.0012545763747766614
] |
726,112 | penne.delegates | BufferType | String indicating type of data stored in a buffer
Used in BufferView. Takes value of either UNK, GEOMETRY, or IMAGE
| class BufferType(str, Enum):
"""String indicating type of data stored in a buffer
Used in BufferView. Takes value of either UNK, GEOMETRY, or IMAGE
"""
unknown = "UNK"
geometry = "GEOMETRY"
image = "IMAGE"
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.04771918058395386,
-0.07815484702587128,
-0.10900743305683136,
-0.026380103081464767,
0.014365026727318764,
-0.04976591095328331,
0.015919027850031853,
-0.002049101050943136,
0.0016937655163928866,
-0.08224830776453018,
-0.0026958114467561245,
0.043284595012664795,
-0.06704942882061005,
0.03604522719979286,
-0.004102939739823341,
-0.012024550698697567,
-0.047567568719387054,
0.0011210832744836807,
0.014990417286753654,
-0.017179284244775772,
-0.023613223806023598,
0.06280435621738434,
0.0017885216511785984,
0.0022078175097703934,
0.026929687708616257,
0.0533287413418293,
0.010697965510189533,
-0.027953054755926132,
-0.03541983664035797,
-0.02126327157020569,
-0.05014493688941002,
-0.10476236045360565,
0.011560246348381042,
-0.0028805858455598354,
-0.07353074848651886,
-0.022248735651373863,
-0.005097879096865654,
0.060226988047361374,
-0.05859718099236488,
-0.038850005716085434,
-0.06583654880523682,
-0.01156972162425518,
-0.05583030357956886,
-0.0285973958671093,
-0.013976527377963066,
-0.016838161274790764,
-0.03413115441799164,
-0.035021860152482986,
-0.04305717721581459,
0.0042924522422254086,
0.01175923366099596,
-0.005121568217873573,
-0.06413093954324722,
-0.002424572128802538,
-0.0306441280990839,
-0.016373855993151665,
-0.010603209026157856,
0.04870464280247688,
-0.0730380117893219,
0.06269064545631409,
-0.02331000380218029,
0.03634844720363617,
-0.0011270055547356606,
-0.051926352083683014,
-0.012545709498226643,
-0.03907742351293564,
-0.0003514859708957374,
-0.0008350382559001446,
0.0026626468170434237,
0.06439625471830368,
-0.013824917376041412,
-0.007727361284196377,
-0.008954453282058239,
0.0037736622616648674,
0.005510068032890558,
-0.022627759724855423,
-0.023442663252353668,
0.09331582486629486,
0.0018347152508795261,
0.011531819589436054,
0.07989835739135742,
0.03231183439493179,
0.03252029791474342,
-0.05097879096865654,
-0.004188220482319593,
-0.016411758959293365,
-0.04032820090651512,
-0.012081405147910118,
-0.012469904497265816,
-0.01075481902807951,
-0.03157273679971695,
-0.04965220391750336,
-0.022153979167342186,
0.046885326504707336,
-0.02168019860982895,
-0.04066932573914528,
-0.004375363700091839,
-0.033183593302965164,
-0.031762249767780304,
-0.011427587829530239,
-0.053518254309892654,
0.008708086796104908,
-0.0016428341623395681,
-0.03593152016401291,
-0.03375212848186493,
-0.04847722873091698,
0.022855175659060478,
0.007661032024770975,
-0.009873587638139725,
-0.0039134277030825615,
-0.003674168372526765,
-0.06632927805185318,
-0.01664865016937256,
-0.011920318938791752,
0.0153031125664711,
0.03782664239406586,
-0.03308883681893349,
-0.01902702823281288,
-0.012043502181768417,
0.009627221152186394,
-0.025641005486249924,
0.04506601020693779,
-0.01362592913210392,
0.024181760847568512,
0.03659481182694435,
0.04813610762357712,
0.0474538616836071,
-0.01300053857266903,
-0.03922903165221214,
0.034623883664608,
-0.007073543965816498,
0.03701173886656761,
-0.026721224188804626,
0.04965220391750336,
0.028275225311517715,
0.06049230322241783,
0.00009668085112934932,
-0.0005110907950438559,
0.002320340368896723,
0.05738430470228195,
0.02988607808947563,
0.03729600831866264,
0.047605473548173904,
-0.0534803532063961,
0.011418111622333527,
0.05109249800443649,
0.057118985801935196,
-0.059014108031988144,
-0.030511468648910522,
0.02126327157020569,
0.021073760464787483,
0.007011952344328165,
-0.029753420501947403,
0.03758027404546738,
0.025186175480484962,
-0.02188866212964058,
-0.008622806519269943,
-0.05207796022295952,
-0.02880585938692093,
0.013142673298716545,
0.016790783032774925,
-0.023082589730620384,
-0.0415789820253849,
-0.05082717910408974,
0.015435771085321903,
0.030833639204502106,
-0.016838161274790764,
-0.03466178849339485,
0.01276364829391241,
-0.041654787957668304,
-0.004399052821099758,
-0.0014675353886559606,
-0.009987294673919678,
0.046430494636297226,
0.05821815878152847,
0.07337913662195206,
-0.03811090812087059,
0.05222957208752632,
0.024011200293898582,
-0.03487025201320648,
0.06098503619432449,
0.004842037335038185,
-0.05764961987733841,
0.029999786987900734,
0.020486272871494293,
-0.015265210531651974,
0.05446581542491913,
-0.012953161261975765,
0.038508884608745575,
-0.00823904387652874,
0.006291806232184172,
0.010461075231432915,
-0.011645526625216007,
-0.035817813128232956,
0.008186927996575832,
-0.023215247318148613,
0.0256978590041399,
-0.030909445136785507,
-0.017008721828460693,
0.06394142657518387,
-0.04264025017619133,
0.04381522908806801,
-0.01423236820846796,
0.03513556718826294,
-0.0048301927745342255,
-0.02338580973446369,
0.06811069697141647,
-0.054769035428762436,
-0.055110156536102295,
-0.018212124705314636,
-0.043587811291217804,
-0.019936686381697655,
0.015871649608016014,
0.08550792187452316,
0.04616517946124077,
-0.05738430470228195,
-0.04965220391750336,
0.05052395910024643,
-0.03198966383934021,
0.020107246935367584,
0.09028362482786179,
0.005794336553663015,
0.01694239303469658,
-0.023745883256196976,
0.028938516974449158,
-0.025337785482406616,
0.0047662327997386456,
-0.024124907329678535,
-0.025224078446626663,
0.009319263510406017,
0.0053347693756222725,
-0.010025196708738804,
-0.006917196325957775,
0.05492064356803894,
0.008357489481568336,
0.018382687121629715,
0.026986541226506233,
-0.02310154028236866,
-0.030094541609287262,
-0.020353613421320915,
-0.00020594648958649486,
-0.0022859913296997547,
-0.03617788478732109,
-0.0017825993709266186,
-0.009565629996359348,
-0.07027113437652588,
0.02812361530959606,
0.046430494636297226,
-0.035571444779634476,
-0.011939270421862602,
-0.009418757632374763,
-0.025678906589746475,
-0.035116616636514664,
-0.08126284182071686,
-0.0143176494166255,
-0.06568493694067001,
-0.08399181813001633,
-0.021035857498645782,
0.02099795453250408,
-0.02192656509578228,
-0.06549542397260666,
-0.013730160892009735,
-0.0006982341292314231,
0.061401963233947754,
0.05249488726258278,
-0.025470443069934845,
0.028862712904810905,
0.014156563207507133,
-0.006362873129546642,
0.007684721145778894,
0.16267730295658112,
0.05321503430604935,
-0.05226747319102287,
0.009631958790123463,
-0.020637881010770798,
-0.03485129773616791,
0.03424486145377159,
0.03174329921603203,
0.07402347773313522,
-0.035912565886974335,
0.021016906946897507,
-0.007916873320937157,
-0.005742220673710108,
0.010574782267212868,
0.01029051374644041,
0.014706148765981197,
0.016819210723042488,
-0.016155917197465897,
-0.005519543774425983,
0.0070498548448085785,
0.03907742351293564,
0.03433961793780327,
-0.011389684863388538,
0.010243136435747147,
0.035817813128232956,
0.018685905262827873,
0.025641005486249924,
0.009181867353618145,
0.06269064545631409,
-0.01898912526667118,
-0.0005128674674779177,
0.002391407499089837,
0.07114288955926895,
0.010536880232393742,
-0.04517971724271774,
-0.024788198992609978,
-0.006348659750074148,
-0.05655045062303543,
-0.0177383441478014,
0.01923549175262451,
-0.0026555401273071766,
0.04461117833852768,
-0.016534941270947456,
0.027972005307674408,
0.04673371464014053,
0.058293960988521576,
0.01463034376502037,
0.02306363917887211,
-0.02524302899837494,
0.06238742545247078,
-0.027176054194569588,
-0.012422526255249977,
-0.004342198837548494,
-0.04317088425159454,
-0.04161688685417175,
-0.017255088314414024,
-0.0207515899091959,
0.021661248058080673,
0.006367610767483711,
-0.002136750379577279,
-0.047188546508550644,
-0.008750727400183678,
0.024958761408925056,
0.026815980672836304,
-0.03358156606554985,
-0.010271563194692135,
0.005287391133606434,
-0.01644018664956093,
-0.006993001326918602,
-0.003309357212856412,
0.048401422798633575,
-0.03396059200167656,
-0.0036765371914952993,
0.049538496881723404,
0.041692689061164856,
0.007395714987069368,
0.026891784742474556,
-0.026399053633213043,
0.10749133676290512,
0.04461117833852768,
-0.02871110290288925,
-0.036121029406785965,
-0.022608809173107147,
0.017634112387895584,
0.05613352358341217,
-0.032766666263341904,
0.0016617854125797749,
-0.049955423921346664,
0.011863465420901775,
0.02998083457350731,
0.05029654502868652,
-0.00391816534101963,
0.0315348356962204,
0.01635490544140339,
-0.06367611140012741,
-0.01163605134934187,
0.049538496881723404,
-0.006173361092805862,
0.054693229496479034,
0.0010316572152078152,
-0.004455906338989735,
0.017871003597974777,
-0.06632927805185318,
0.012782599776983261,
-0.018581673502922058,
0.012109831906855106,
0.01617486961185932,
0.00715882470831275,
-0.0493868887424469,
-0.007386239245533943,
-0.04066932573914528,
-0.0012176160234957933,
0.0007888446561992168,
0.06295596063137054,
-0.0022551955189555883,
0.0028261011466383934,
-0.007353074382990599,
0.02586841955780983,
-0.03686012700200081,
0.02600107714533806,
-0.043587811291217804,
0.008352751843631268,
-0.01911230757832527,
-0.02960181050002575,
-0.016620222479104996,
0.013749112375080585,
-0.03759922832250595,
0.010849575512111187,
-0.009575105272233486,
0.04112415388226509,
-0.013711209408938885,
-0.0017257457366213202,
-0.06898245215415955,
0.03811090812087059,
-0.03198966383934021,
0.06056810915470123,
0.04313298314809799,
0.013948099687695503,
-0.05924152210354805,
-0.02410595491528511,
0.03752342239022255,
-0.04036610573530197,
-0.041351567953825,
-0.0574222058057785,
-0.0007841068436391652,
-0.020827393978834152,
0.01568213663995266,
-0.0039726500399410725,
0.017008721828460693,
0.03945644572377205,
-0.03911532461643219,
0.02600107714533806,
0.03507871553301811,
0.07815484702587128,
-0.03401744365692139,
0.036954883486032486,
0.0415789820253849,
0.011275977827608585,
0.020353613421320915,
0.02372693084180355,
-0.014706148765981197,
0.04222332313656807,
-0.02050522342324257,
-0.09983504563570023,
-0.004849144257605076,
-0.020865296944975853,
-0.029450200498104095,
-0.06883084028959274,
-0.029146980494260788,
0.016696028411388397,
0.006002800073474646,
0.008622806519269943,
0.014270271174609661,
0.06250113248825073,
0.03782664239406586,
-0.06750425696372986,
-0.03979756683111191,
0.05143361911177635,
0.042905569076538086,
-0.03807300701737404,
-0.009016044437885284,
0.02998083457350731,
0.017207710072398186,
-0.01743512600660324,
0.05025864392518997,
-0.051623132079839706,
-0.049955423921346664,
0.01224249042570591,
-0.016582319512963295,
-0.031553786247968674,
-0.013948099687695503,
0.040062885731458664,
-0.06037859618663788,
-0.03835727646946907,
0.014478734694421291,
0.023120492696762085,
0.06409303843975067,
-0.012469904497265816,
0.015919027850031853,
0.020220955833792686,
-0.022495102137327194,
0.014668246731162071,
0.04726434871554375,
-0.009660385549068451,
-0.00015531119424849749,
0.018098417669534683,
0.020107246935367584,
0.04472488537430763,
-0.05624723061919212,
-0.06674620509147644,
0.024503931403160095,
-0.03847098350524902,
-0.042829763144254684,
0.030833639204502106,
-0.004143211059272289,
0.01651599071919918,
0.013682782649993896,
0.04654420539736748,
0.002954021794721484,
-0.004285345319658518,
-0.04264025017619133,
0.06920986622571945,
0.0017186390468850732,
-0.047188546508550644,
0.06792118400335312,
0.065381720662117,
-0.002946915104985237,
0.04233703389763832,
-0.05298762023448944,
0.02628534659743309,
0.06079552322626114,
-0.0790645033121109,
-0.06795908510684967,
-0.09035943448543549,
0.03538193181157112,
-0.06704942882061005,
0.05916571989655495,
-0.012659416534006596,
0.005751696415245533,
-0.0052447509951889515,
-0.016004307195544243,
0.030700981616973877,
0.0573463998734951,
-0.02649381011724472,
-0.017169808968901634,
0.026133736595511436,
0.011200172826647758,
-0.029241736978292465,
-0.04658210650086403,
0.012991063296794891,
-0.04699903354048729,
-0.002864003647118807,
0.016373855993151665,
-0.034946054220199585,
0.00039323788951151073,
-0.017330894246697426,
-0.030170347541570663,
-0.03488920256495476,
0.0027834607753902674,
0.003785506822168827,
0.011181221343576908,
0.04017659276723862,
0.01532206404954195,
0.01802261359989643,
0.04775708168745041,
-0.018458491191267967,
0.03911532461643219,
0.035362981259822845,
0.004372994881123304,
0.01490513700991869,
0.00017559491971042007,
-0.036708518862724304,
0.00587961683049798,
-0.04821190983057022,
0.0316864438354969,
-0.007234629243612289,
0.03248239681124687,
-0.034150104969739914,
0.0455208383500576,
-0.03667061775922775,
-0.011645526625216007,
-0.011664478108286858,
-0.04821190983057022,
-0.06204630434513092,
-0.04859093576669693,
0.025167224928736687,
0.020637881010770798,
-0.016165392473340034,
0.022608809173107147,
-0.011503392830491066,
-0.041351567953825,
0.0023381072096526623,
-0.03098524920642376,
0.06250113248825073,
-0.00910132471472025,
0.0015243890229612589,
-0.011484441347420216,
0.05499644950032234,
0.047226447612047195,
-0.013559600338339806,
0.047984495759010315,
-0.03195176273584366,
0.0709533765912056,
-0.03551459312438965,
0.027232907712459564,
0.014203941449522972,
-0.000999084790237248,
0.05207796022295952,
0.004718854557722807,
-0.01891332119703293,
-0.0017683859914541245,
0.03437751904129982,
-0.03538193181157112,
-0.0394943505525589,
0.043701522052288055,
0.03600732237100601,
-0.02674017660319805,
-0.0004723000165540725,
0.024598687887191772,
0.024011200293898582,
-0.00774631230160594,
0.025603102520108223,
0.06905825436115265,
-0.030075591057538986,
-0.031553786247968674,
0.01175923366099596,
0.027403468266129494,
-0.03488920256495476,
-0.03430171310901642,
-0.0041124154813587666,
0.03350576385855675,
0.048060301691293716,
-0.029582859948277473,
0.006031226832419634,
0.056360937654972076,
0.005074189975857735,
-0.023082589730620384,
0.030871542170643806,
-0.002451814478263259,
0.006059653591364622,
0.023821687325835228,
0.01626962423324585,
-0.027858298271894455,
-0.012394099496304989,
0.03676537424325943,
0.0052637020125985146,
0.027479274198412895,
-0.00548164127394557,
0.006173361092805862,
-0.0020005383994430304,
-0.014554539695382118,
0.05370776727795601,
0.0007752234814688563,
-0.00949456263333559,
-0.02175600454211235,
-0.014270271174609661,
-0.04900786280632019,
-0.03538193181157112,
-0.011418111622333527,
-0.10847680270671844,
0.0015705826226621866,
0.015985356643795967,
-0.007987940683960915,
-0.04233703389763832,
-0.05181264504790306,
-0.016118016093969345,
-0.0227225162088871,
-0.011929795145988464,
0.021414881572127342,
0.06981630623340607,
0.02355637028813362,
0.0629938617348671,
-0.0026057930663228035,
0.0016511252615600824,
-0.002657908946275711,
0.055489182472229004,
0.006599763408303261,
-0.03866049647331238,
0.0227604191750288,
-0.0044772266410291195,
-0.021054808050394058,
0.0669357180595398,
0.06375191360712051,
-0.025849469006061554,
0.005093140993267298,
0.08414342999458313,
-0.0365569107234478,
0.024409174919128418,
0.024541834369301796,
-0.03236868977546692,
-0.03331625089049339,
0.0039134277030825615,
0.06253903359174728,
0.015568429604172707,
-0.04252654314041138,
-0.015037795528769493,
-0.038850005716085434,
-0.03248239681124687,
0.07277269661426544,
-0.005187897477298975,
-0.01597588136792183,
0.031629592180252075,
0.043322496116161346,
-0.03727705404162407,
-0.01970927231013775,
0.021869711577892303,
0.021869711577892303,
0.04036610573530197,
0.0433603972196579,
0.004190589301288128,
0.010811672545969486,
0.012090880423784256,
-0.02691073715686798,
-0.003946592099964619,
0.032217077910900116,
0.014971465803682804,
-0.020391516387462616,
-0.0065713366493582726,
0.041313666850328445,
-0.045217618346214294,
-0.01509464904665947,
-0.010527404025197029,
0.009968343190848827,
0.004391945898532867,
-0.0023854852188378572,
-0.02829417586326599,
0.02230558916926384,
-0.0177383441478014,
-0.0032809304539114237,
-0.00601701345294714,
0.02653171308338642,
-0.03458598256111145,
-0.03449122607707977,
-0.00715882470831275,
0.029146980494260788,
0.011872941628098488,
-0.027441371232271194,
-0.02168019860982895,
0.061060842126607895,
-0.02397329732775688,
-0.0008113492513075471,
0.040934640914201736,
-0.03704963997006416,
0.006367610767483711,
-0.028616346418857574,
-0.0031364273745566607,
-0.036329492926597595,
0.06981630623340607,
-0.024541834369301796,
0.025603102520108223,
-0.002842683345079422,
-0.0006490793894045055,
0.07065016031265259,
0.06265274435281754,
-0.004209540318697691,
-0.004306665621697903,
-0.049576397985219955,
0.014819856733083725,
-0.016080113127827644,
0.013294283300638199,
0.0415031798183918,
-0.0046217297203838825,
-0.06435835361480713,
0.018098417669534683,
-0.0028261011466383934,
0.0019898784812539816,
0.010527404025197029,
-0.04279186204075813,
0.042867667973041534,
0.0573463998734951,
-0.023366857320070267,
0.06071971729397774,
-0.04085883870720863,
-0.02783934585750103,
-0.09028362482786179,
0.028957469388842583,
0.04233703389763832,
0.019292345270514488,
-0.012593087740242481,
0.03676537424325943,
0.03530612960457802,
-0.006902982946485281,
-0.050031229853630066,
-0.0207136869430542,
0.06780747324228287,
-0.05059976503252983,
-0.0089070750400424,
0.004927318077534437,
-0.028445785865187645,
0.011863465420901775,
-0.0394185446202755,
-0.020145149901509285,
0.01793733239173889,
-0.028104662895202637,
-0.0768282562494278,
-0.023196296766400337,
-0.048363521695137024,
-0.01471562497317791
] |
726,113 | penne.delegates | BufferView | A view into a buffer, specifying a subset of the buffer and how to interpret it.
Attributes:
id: ID for the buffer view
name: Name of the buffer view
source_buffer: Buffer that the view is referring to
type: Type of the buffer view
offset: Offset into the buffer in bytes
length: Length of the buffer view in bytes
| class BufferView(Delegate):
"""A view into a buffer, specifying a subset of the buffer and how to interpret it.
Attributes:
id: ID for the buffer view
name: Name of the buffer view
source_buffer: Buffer that the view is referring to
type: Type of the buffer view
offset: Offset into the buffer in bytes
length: Length of the buffer view in bytes
"""
id: BufferViewID
name: Optional[str] = "Unnamed Buffer-View Delegate"
source_buffer: BufferID
type: BufferType = BufferType.unknown
offset: int
length: int
@field_validator("type", mode='before')
def coerce_type(cls, value):
if value in ["UNK", "GEOMETRY", "IMAGE"]:
return value
if "GEOMETRY" in value.upper():
logging.warning(f"Buffer View Type does not meet the specification: {value} coerced to 'GEOMETRY'")
return "GEOMETRY"
elif "IMAGE" in value.upper():
logging.warning(f"Buffer View Type does not meet the specification: {value} coerced to 'IMAGE'")
return "IMAGE"
else:
logging.warning(f"Buffer View Type does not meet the specification: {value} coerced to 'UNK'")
return "UNK"
| (*, client: object = None, id: penne.delegates.BufferViewID, name: Optional[str] = 'Unnamed Buffer-View Delegate', signals: Optional[dict] = {}, source_buffer: penne.delegates.BufferID, type: penne.delegates.BufferType = <BufferType.unknown: 'UNK'>, offset: int, length: int, **extra_data: Any) -> None | [
0.027701912447810173,
-0.08149673789739609,
-0.06986542791128159,
0.014132046140730381,
-0.007807519286870956,
-0.011767012067139149,
0.015285484492778778,
0.025685817003250122,
-0.018183620646595955,
-0.04381128028035164,
0.019647227600216866,
0.01658431440591812,
-0.006285755895078182,
0.025026710703969002,
-0.007313188631087542,
0.027139732614159584,
-0.016681242734193802,
0.0070660230703651905,
0.07308342307806015,
-0.006217906251549721,
-0.017980072647333145,
-0.010904356837272644,
0.03241259604692459,
0.02285553142428398,
-0.03884858638048172,
0.01983138918876648,
-0.0021190799307078123,
-0.021866869181394577,
0.0003746857983060181,
0.01054572407156229,
-0.03318801522254944,
-0.12197370827198029,
0.04780469834804535,
0.03014448843896389,
-0.07459548860788345,
-0.019559992477297783,
0.005922277458012104,
0.06536798179149628,
-0.023495253175497055,
-0.053891751915216446,
-0.0626927837729454,
-0.019647227600216866,
0.00827277172356844,
-0.02089759334921837,
0.0043617426417768,
0.0009250529110431671,
-0.025414420291781425,
0.018542252480983734,
-0.07761963456869125,
-0.010254941880702972,
0.009624912403523922,
-0.02128530479967594,
-0.03551427647471428,
0.024212518706917763,
-0.010671730153262615,
-0.02018032968044281,
0.016875097528100014,
0.10103734582662582,
-0.025472577661275864,
0.04284200444817543,
-0.07440163940191269,
0.03105560690164566,
0.04206658527255058,
-0.06753916293382645,
-0.024290060624480247,
-0.04865766316652298,
0.007133872248232365,
-0.016807248815894127,
0.006688005290925503,
0.017359735444188118,
-0.002968408167362213,
-0.022390278056263924,
0.017427584156394005,
0.0450131855905056,
0.007046637590974569,
-0.044005136936903,
-0.0030411039479076862,
0.11041993647813797,
0.0485413484275341,
-0.009726686403155327,
0.08134165406227112,
0.03359511122107506,
0.010196785442531109,
-0.07630141824483871,
0.030318956822156906,
-0.043733738362789154,
-0.03276153281331062,
0.021866869181394577,
0.016564929857850075,
-0.031947340816259384,
-0.023204470053315163,
-0.0556364506483078,
-0.016167525202035904,
0.023630952462553978,
-0.07114487141370773,
-0.005011157598346472,
0.006765547674149275,
-0.01730157993733883,
-0.02715911716222763,
0.03427360579371452,
-0.030978064984083176,
0.056062933057546616,
-0.048580121248960495,
0.04117485135793686,
-0.04353988543152809,
-0.01892027072608471,
-0.012561818584799767,
0.005699343513697386,
-0.03520410880446434,
0.027352971956133842,
0.015343640930950642,
-0.038867972791194916,
-0.017214344814419746,
0.031191306188702583,
-0.003089567646384239,
0.01563442498445511,
-0.03378896787762642,
-0.00520985946059227,
-0.04648648202419281,
-0.021421002224087715,
0.02684894949197769,
0.035068411380052567,
-0.048890288919210434,
0.0018682797672227025,
-0.023495253175497055,
0.030822981148958206,
0.026887720450758934,
0.0005779308849014342,
-0.004126693122088909,
0.0035402812063694,
-0.03384712338447571,
0.01406419649720192,
-0.031230077147483826,
0.08576155453920364,
0.06362328678369522,
0.08227215707302094,
0.007313188631087542,
-0.018581023439764977,
-0.06451501697301865,
0.07478934526443481,
-0.008645943365991116,
0.021072063595056534,
0.07626264542341232,
-0.020916979759931564,
-0.006048283074051142,
0.023534024134278297,
0.03904244303703308,
-0.02615107037127018,
-0.012048101983964443,
0.00278909201733768,
-0.038712888956069946,
0.010128935799002647,
0.04396636411547661,
0.0631968080997467,
0.0343899168074131,
0.02933029644191265,
-0.032897233963012695,
-0.034971483051776886,
0.00393283786252141,
0.01678786240518093,
0.007948064245283604,
-0.014374365098774433,
-0.029756776988506317,
-0.023689109832048416,
-0.0052147055976092815,
0.0028302862774580717,
-0.003964339382946491,
-0.05400806665420532,
-0.029776163399219513,
0.03351756930351257,
-0.01634199544787407,
0.01895904168486595,
0.014548835344612598,
0.04206658527255058,
0.02508486621081829,
0.10173522680997849,
-0.023534024134278297,
0.009368053637444973,
-0.00023777555907145143,
-0.019298287108540535,
0.07413023710250854,
0.011233910918235779,
-0.029834318906068802,
0.05544259399175644,
0.012484276667237282,
0.028942584991455078,
0.00032834228477440774,
-0.03146270290017128,
0.025627661496400833,
-0.011069133877754211,
0.027837611734867096,
0.028283478692173958,
0.01754389889538288,
-0.0829700380563736,
-0.029698621481657028,
-0.02165362983942032,
-0.011563464067876339,
0.0025443497579544783,
-0.02847733348608017,
0.016225682571530342,
-0.024212518706917763,
-0.007744516246020794,
-0.025414420291781425,
0.05129409208893776,
-0.06149087846279144,
-0.01198994554579258,
0.05691589415073395,
0.001750755007378757,
-0.07350990176200867,
-0.02933029644191265,
0.0026630861684679985,
-0.014345287345349789,
0.029853705316781998,
0.06048282980918884,
0.03121069259941578,
-0.0905691608786583,
-0.030570968985557556,
0.05997880920767784,
0.005524874199181795,
0.014093275181949139,
0.1153050884604454,
0.030978064984083176,
-0.018600409850478172,
0.007003020029515028,
0.020975135266780853,
-0.03956585377454758,
0.014616684056818485,
-0.03499086946249008,
0.03429298847913742,
-0.04152378812432289,
-0.029931247234344482,
-0.05079007148742676,
-0.008170997723937035,
0.04815363883972168,
0.04470301419496536,
0.01648738794028759,
0.021517930552363396,
-0.03384712338447571,
-0.023495253175497055,
-0.01560534629970789,
-0.0066007706336677074,
0.012755674310028553,
0.009111195802688599,
0.007715438026934862,
-0.0008075282094068825,
-0.06850843876600266,
0.016448616981506348,
0.019007505849003792,
-0.03764668479561806,
0.01137930154800415,
-0.025414420291781425,
-0.029698621481657028,
-0.0240186620503664,
-0.03904244303703308,
0.0011558617698028684,
-0.05032481625676155,
-0.10941188782453537,
-0.020374184474349022,
0.00829700380563736,
-0.01911412551999092,
-0.05676081031560898,
-0.0023444367107003927,
-0.0010080471402034163,
0.0455172061920166,
0.056024160236120224,
-0.007133872248232365,
0.01612875424325466,
-0.01876518689095974,
-0.01583797298371792,
0.03392466530203819,
0.11421950161457062,
0.06691882759332657,
-0.012309807352721691,
-0.003130761906504631,
-0.009944773279130459,
-0.06470887362957001,
0.040244344621896744,
0.05013096332550049,
0.03258706256747246,
-0.00643599359318614,
0.03130761906504631,
-0.014432521536946297,
-0.017844373360276222,
0.01876518689095974,
0.010070779360830784,
-0.018319319933652878,
0.026984646916389465,
-0.012862293981015682,
-0.022933073341846466,
-0.0318697988986969,
0.055209968239068985,
0.008893108926713467,
0.03985663503408432,
-0.011340530589222908,
-0.0328778475522995,
0.025802131742239,
-0.03570813313126564,
0.03165655955672264,
0.0046961428597569466,
-0.047610845416784286,
-0.027120346203446388,
0.004429591819643974,
0.07761963456869125,
0.030764825642108917,
-0.01891057752072811,
-0.015333948656916618,
-0.04543966427445412,
-0.030415885150432587,
0.035688746720552444,
0.00854901596903801,
0.022642290219664574,
0.02033541351556778,
-0.02235150709748268,
-0.015130400657653809,
0.03347879648208618,
0.04671911150217056,
0.02306877262890339,
0.0435011126101017,
0.02382480725646019,
0.07110609859228134,
-0.030667897313833237,
0.011466536670923233,
-0.06691882759332657,
-0.031094377860426903,
-0.031831029802560806,
0.005481256637722254,
0.017185265198349953,
-0.0009850268252193928,
-0.05420192331075668,
0.02260351926088333,
-0.07087346911430359,
0.013317854143679142,
-0.0033827738370746374,
0.009212969802320004,
-0.05734237655997276,
-0.06339065730571747,
0.012406734749674797,
0.0029054051265120506,
0.023456482216715813,
-0.001697444822639227,
0.05063498392701149,
-0.03167594596743584,
-0.004490171559154987,
0.018803957849740982,
0.03880981728434563,
0.0015181287890300155,
0.0023504947312176228,
-0.02741112932562828,
0.08514121919870377,
0.04121362045407295,
-0.0024207672104239464,
-0.05900953337550163,
-0.021324075758457184,
-0.016119062900543213,
0.05431823432445526,
-0.05458963289856911,
0.012590897269546986,
-0.06804318726062775,
-0.03737528622150421,
0.020005859434604645,
-0.011146675795316696,
0.03402159363031387,
0.018251469358801842,
-0.04036065936088562,
-0.018222391605377197,
0.003976455423980951,
0.02301061525940895,
-0.0475333034992218,
0.048076096922159195,
-0.019947703927755356,
-0.033304329961538315,
-0.013724950142204762,
-0.04241552576422691,
0.03212181106209755,
-0.01931767351925373,
-0.01907535456120968,
0.0034506230149418116,
0.011505307629704475,
-0.06393345445394516,
0.02684894949197769,
-0.025627661496400833,
0.021886255592107773,
0.020199714228510857,
0.04799855500459671,
-0.016060905531048775,
-0.016768477857112885,
-0.056683268398046494,
0.02822532132267952,
-0.02675202116370201,
-0.0025831209495663643,
0.025763360783457756,
-0.029407838359475136,
-0.017369428649544716,
0.003896490205079317,
-0.03324617072939873,
-0.010148321278393269,
-0.029853705316781998,
0.04943308234214783,
0.01469422597438097,
-0.013424474745988846,
0.001010470325127244,
-0.03206365555524826,
-0.06637603044509888,
0.05307755991816521,
-0.007162950467318296,
0.06955525279045105,
0.08459842205047607,
0.02549196220934391,
-0.025026710703969002,
-0.019356444478034973,
0.047921013087034225,
-0.021634243428707123,
0.004482902120798826,
-0.016022134572267532,
0.036541711539030075,
-0.009479520842432976,
0.011233910918235779,
-0.021421002224087715,
-0.028438562527298927,
0.023941120132803917,
-0.012280728667974472,
0.08692468702793121,
0.035126566886901855,
0.014432521536946297,
0.031889185309410095,
-0.020005859434604645,
0.0194727573543787,
0.04861889034509659,
0.030687281861901283,
0.048269953578710556,
-0.0031016836874186993,
0.0067219301126897335,
0.0052147055976092815,
-0.05881567671895027,
-0.0541243813931942,
0.018270855769515038,
0.0006494150147773325,
-0.04016680270433426,
0.003157417057082057,
0.055209968239068985,
0.024193132296204567,
0.025259336456656456,
0.051914431154727936,
0.013928498141467571,
0.023805422708392143,
-0.05699343606829643,
-0.008970650844275951,
0.03784054145216942,
-0.0359213724732399,
-0.051759347319602966,
0.07172643393278122,
0.04505195468664169,
0.006537767592817545,
-0.020374184474349022,
-0.005471563898026943,
-0.056683268398046494,
-0.05385298281908035,
-0.03516533970832825,
-0.036192771047353745,
0.017282193526625633,
-0.020471112802624702,
0.022021954879164696,
-0.04947185516357422,
-0.07707683742046356,
-0.038712888956069946,
0.03904244303703308,
0.041756417602300644,
-0.03737528622150421,
-0.02659693732857704,
0.024910395964980125,
0.02458084374666214,
-0.02397989109158516,
0.032044269144535065,
-0.029272139072418213,
-0.00013486569514498115,
0.023863578215241432,
0.033614497631788254,
0.01552780345082283,
-0.05827288329601288,
-0.033304329961538315,
0.0026776252780109644,
-0.030415885150432587,
-0.0306097399443388,
0.007972296327352524,
-0.03596014529466629,
0.08894077688455582,
0.00323011283762753,
0.04121362045407295,
-0.017165880650281906,
0.01229042187333107,
-0.05625678598880768,
0.07851136475801468,
-0.037510987371206284,
-0.0374334454536438,
0.043772511184215546,
0.048580121248960495,
0.04951062425971031,
0.042919546365737915,
0.0038552959449589252,
-0.01084620039910078,
0.016051212325692177,
-0.07176520675420761,
0.006707390770316124,
-0.08878569304943085,
0.020820051431655884,
-0.0854513868689537,
0.02271983213722706,
0.025375649333000183,
-0.021614858880639076,
-0.017437277361750603,
-0.039023056626319885,
0.04303586110472679,
0.027042804285883904,
0.039119984954595566,
-0.019356444478034973,
0.016526158899068832,
-0.029853705316781998,
-0.03357572481036186,
-0.057536233216524124,
-0.04962693899869919,
-0.012542433105409145,
0.07176520675420761,
0.030163872987031937,
-0.07246308773756027,
0.024464529007673264,
-0.0022026801016181707,
-0.019337059929966927,
-0.0035112027544528246,
0.018086692318320274,
-0.04171764478087425,
0.00382621749304235,
0.04036065936088562,
0.032703377306461334,
0.03729774430394173,
0.021130219101905823,
-0.012251649983227253,
0.012503662146627903,
0.02737235836684704,
-0.0925852581858635,
0.010894663631916046,
-0.01166039239615202,
-0.010836507193744183,
-0.039216913282871246,
-0.06370082497596741,
0.04435407742857933,
0.01673939824104309,
0.0404769703745842,
-0.023185085505247116,
0.023534024134278297,
-0.02872934564948082,
-0.051371634006500244,
-0.004751876462250948,
0.02078128047287464,
-0.03225750848650932,
-0.0306097399443388,
0.05796271190047264,
0.00414607860147953,
-0.0013678909745067358,
0.046408940106630325,
-0.014384058304131031,
-0.009901155717670918,
-0.005888352636247873,
0.02351463958621025,
0.03787931054830551,
-0.03915875777602196,
0.039178140461444855,
0.031947340816259384,
0.030183259397745132,
0.029446609318256378,
-0.007555507589131594,
0.010652344673871994,
-0.0252981074154377,
0.002309300471097231,
-0.014810539782047272,
0.011718548834323883,
0.007313188631087542,
-0.01714649423956871,
0.046098772436380386,
-0.004633139818906784,
-0.06618217378854752,
0.024309445172548294,
0.0202384851872921,
0.01587674394249916,
-0.06544552743434906,
-0.01079773623496294,
0.021711785346269608,
-0.03404097631573677,
0.011020669713616371,
-0.005810810253024101,
-0.007051483727991581,
0.00022747699404135346,
-0.0065959240309894085,
0.0031259155366569757,
-0.006746161729097366,
0.0017119839321821928,
0.051759347319602966,
-0.04520703852176666,
-0.023456482216715813,
0.01499470230191946,
-0.01241642702370882,
0.006746161729097366,
0.005883506033569574,
-0.041446246206760406,
-0.0031816489063203335,
0.032858461141586304,
-0.017718367278575897,
-0.027682526037096977,
0.0414850190281868,
0.012794445268809795,
-0.06187858805060387,
0.008621711283922195,
0.04881274700164795,
-0.0027430513873696327,
0.002975677838549018,
-0.010536031797528267,
-0.047068048268556595,
-0.013414781540632248,
0.0328778475522995,
0.013976962305605412,
0.03599891439080238,
0.009455288760364056,
0.05245722457766533,
0.021556701511144638,
-0.023747265338897705,
-0.02741112932562828,
-0.013647408224642277,
-0.012581204064190388,
-0.01866825856268406,
-0.029407838359475136,
-0.03867411985993385,
0.023999277502298355,
0.01926920935511589,
-0.0007481600041501224,
-0.0023335323203355074,
-0.009111195802688599,
-0.02093636430799961,
-0.03142393380403519,
0.004037035163491964,
0.021576086059212685,
0.051604263484478,
0.013337239623069763,
-0.01135991606861353,
0.015615038573741913,
-0.01145684439688921,
-0.01079773623496294,
0.02215765230357647,
0.02684894949197769,
-0.010933434590697289,
0.03314924240112305,
0.02083943784236908,
-0.024445144459605217,
0.04668033868074417,
0.018387168645858765,
-0.05881567671895027,
0.042764462530612946,
0.1142970398068428,
-0.01567319594323635,
0.0009704877156764269,
0.0220025684684515,
-0.0014212011592462659,
-0.03376958146691322,
0.007356805726885796,
0.0531163327395916,
-0.02523995004594326,
-0.005490949377417564,
-0.00768635980784893,
-0.03004756011068821,
-0.038267023861408234,
0.051875658333301544,
0.03818947821855545,
-0.03981786221265793,
-0.015285484492778778,
-0.03392466530203819,
0.008592632599174976,
0.01431620866060257,
-0.042260438203811646,
0.041601333767175674,
0.0022305466700345278,
-0.0022232772316783667,
-0.05082884058356285,
0.008466627448797226,
0.01840655319392681,
-0.027449900284409523,
0.014936544932425022,
-0.01663277857005596,
-0.02089759334921837,
-0.00312349246814847,
-0.01749543473124504,
0.09429118037223816,
-0.056373100727796555,
0.02508486621081829,
-0.01587674394249916,
0.07502197474241257,
0.035378579050302505,
-0.04586614668369293,
-0.03981786221265793,
-0.03064851090312004,
-0.02427067421376705,
-0.029117055237293243,
-0.002859364729374647,
0.030435271561145782,
-0.034816399216651917,
-0.03630908578634262,
0.009935080073773861,
0.004650102462619543,
0.008490858599543571,
-0.037704840302467346,
-0.025569504126906395,
0.047106821089982986,
-0.04202781245112419,
0.0050886995159089565,
0.017563283443450928,
0.031579017639160156,
0.02407681941986084,
-0.010565109550952911,
-0.0015932476380839944,
-0.04179518669843674,
0.02504609525203705,
0.019608456641435623,
0.035785675048828125,
-0.027779454365372658,
0.018270855769515038,
0.048890288919210434,
0.06746161729097366,
0.00849570520222187,
0.03464192897081375,
-0.046253856271505356,
-0.027585599571466446,
-0.017776524648070335,
-0.03146270290017128,
0.08351283520460129,
0.025104252621531487,
-0.03832517936825752,
-0.023378940299153328,
0.005069314036518335,
0.004502287600189447,
-0.02882627211511135,
-0.06610463559627533,
0.002728512277826667,
0.04187272861599922,
-0.051255322992801666,
0.0354173518717289,
-0.006881860550493002,
0.01835809089243412,
-0.05369789898395538,
0.05784640088677406,
0.04039942845702171,
0.04404390975832939,
-0.01563442498445511,
-0.009014268405735493,
0.06796564161777496,
0.009014268405735493,
-0.037200819700956345,
-0.009954465553164482,
0.08994882553815842,
-0.05218582600355148,
0.007318034768104553,
0.0065474603325128555,
-0.011485922150313854,
-0.015508417971432209,
-0.008229154162108898,
-0.010526338592171669,
0.0025903903879225254,
-0.020761894062161446,
-0.05757500231266022,
0.008825259283185005,
-0.05579153448343277,
0.033459413796663284
] |
726,144 | penne.delegates | BufferViewID | ID specific to buffer views | class BufferViewID(ID):
"""ID specific to buffer views"""
pass
| (slot: int, gen: int) | [
0.008175271563231945,
-0.09086243063211441,
-0.10408009588718414,
-0.0032479886431246996,
0.012639844790101051,
0.0031667326111346483,
0.010463985614478588,
0.06363259255886078,
-0.03613189980387688,
-0.02323925867676735,
-0.034940142184495926,
0.00422306265681982,
-0.019230620935559273,
0.05027046799659729,
-0.03317056596279144,
0.0037445540074259043,
0.030841222032904625,
0.0170005913823843,
0.020187638700008392,
-0.060851823538541794,
-0.013452406041324139,
0.0348498597741127,
0.03472346067428589,
0.013903829269111156,
-0.036348581314086914,
0.07511679083108902,
-0.005227478686720133,
-0.005475761368870735,
0.015303241088986397,
-0.005642788019031286,
-0.04839254915714264,
-0.10581356287002563,
0.018002750352025032,
0.02094602957367897,
-0.07164986431598663,
-0.023943478241562843,
-0.0043381755240261555,
0.0673162043094635,
-0.04705633595585823,
-0.03116624616086483,
-0.00475799897685647,
0.009795879945158958,
0.03694446012377739,
-0.036005500704050064,
-0.0015935233095660806,
0.021379394456744194,
0.02614642307162285,
-0.007556821685284376,
-0.038605697453022,
0.017894409596920013,
0.01127654779702425,
-0.017470071092247963,
-0.050234355032444,
0.01110500656068325,
-0.01795760914683342,
0.0041124639101326466,
-0.0026227678172290325,
0.09750737249851227,
-0.042253196239471436,
0.005222964566200972,
-0.05153445526957512,
0.01692836359143257,
0.02894524484872818,
-0.010527185164391994,
0.014355252496898174,
-0.03885849565267563,
-0.011439059861004353,
0.02679647132754326,
-0.0024444556329399347,
0.03936408832669258,
0.007741905283182859,
-0.027879886329174042,
0.009931306354701519,
0.047453589737415314,
0.01722630299627781,
-0.03385672718286514,
-0.017984693869948387,
0.07952268421649933,
0.020927971228957176,
0.03423592448234558,
0.10444123297929764,
-0.010843181051313877,
0.027590975165367126,
-0.013217666186392307,
0.031563498079776764,
-0.024051818996667862,
0.018354861065745354,
-0.025171348825097084,
-0.04395054653286934,
-0.04077252745628357,
-0.010482043027877808,
-0.007051227614283562,
-0.03548185154795647,
0.030985677614808083,
-0.026218650862574577,
-0.03683612123131752,
-0.0026904812548309565,
0.032755255699157715,
-0.031419042497873306,
-0.002654367359355092,
-0.06399372965097427,
0.007741905283182859,
-0.07103592902421951,
-0.011773113161325455,
-0.06381315737962723,
-0.02634504809975624,
-0.000097831834864337,
0.006184495519846678,
-0.036745835095644,
0.020151523873209953,
0.035210996866226196,
0.04059195891022682,
-0.025460259988904,
0.01418371219187975,
-0.008333269506692886,
0.02569499984383583,
-0.027789602056145668,
0.007407851982861757,
-0.01225162111222744,
-0.012305792421102524,
-0.021433565765619278,
0.005651816260069609,
-0.05850442498922348,
0.002225515665486455,
-0.012143279425799847,
0.035969387739896774,
0.0007307410123758018,
0.024449070915579796,
0.008766635321080685,
-0.029775863513350487,
-0.020277922973036766,
-0.012793328613042831,
-0.025893624871969223,
0.015203927643597126,
0.0420365147292614,
0.03564436361193657,
0.038605697453022,
-0.009543082676827908,
-0.045503441244363785,
0.06897743791341782,
-0.018129149451851845,
0.05846831202507019,
0.04824809357523918,
-0.010003534145653248,
-0.02822296880185604,
0.017894409596920013,
0.010274387896060944,
-0.04026693478226662,
-0.01066261250525713,
-0.005823357030749321,
0.013073211535811424,
-0.004866340197622776,
0.02829519659280777,
0.08790109306573868,
-0.01125849038362503,
0.031148189678788185,
-0.026525618508458138,
-0.015339354984462261,
0.002794308587908745,
-0.038425128906965256,
0.03940020129084587,
-0.032177433371543884,
-0.007556821685284376,
-0.016088716685771942,
-0.007195683196187019,
-0.0019027481321245432,
-0.04131423681974411,
-0.027320122346282005,
-0.01757841370999813,
0.029234156012535095,
0.00882532075047493,
0.021578021347522736,
-0.026272820308804512,
-0.00013754295650869608,
0.023744851350784302,
0.03770285099744797,
-0.039147406816482544,
0.004471345338970423,
0.047959182411432266,
0.020801573991775513,
0.07685025781393051,
0.01658528298139572,
0.0031847895588725805,
0.058757223188877106,
0.010888324119150639,
0.01879725605249405,
0.04030304774641991,
-0.0075929355807602406,
0.06514937430620193,
-0.022137785330414772,
-0.013569776900112629,
0.023636510595679283,
0.006333465222269297,
-0.07735585421323776,
-0.035590190440416336,
0.015014329925179482,
-0.02125299721956253,
-0.05225672945380211,
-0.02163219265639782,
0.011195291765034199,
0.01868891343474388,
0.01654013991355896,
-0.03351364657282829,
-0.004444259684532881,
0.007620020769536495,
0.02771737426519394,
0.06233249232172966,
-0.03481374308466911,
-0.04246987774968147,
-0.008066929876804352,
0.006297351326793432,
-0.014228854328393936,
0.052437301725149155,
0.07425006479024887,
0.05648205056786537,
-0.046731311827898026,
-0.06709951907396317,
0.05265398323535919,
0.01773189753293991,
0.0046270862221717834,
0.10826930403709412,
-0.03412758186459541,
-0.01821943372488022,
-0.004730913322418928,
-0.04702022299170494,
-0.03120236098766327,
0.03925574570894241,
-0.025586657226085663,
-0.013578805141150951,
-0.05850442498922348,
0.020657118409872055,
-0.008581551723182201,
0.017894409596920013,
0.044853392988443375,
0.02439490146934986,
-0.006031011696904898,
-0.028078513219952583,
-0.008865948766469955,
-0.0427226759493351,
-0.021433565765619278,
0.00023516318469773978,
0.04770638793706894,
0.07670580595731735,
0.040989212691783905,
0.0001232243812410161,
-0.011818255297839642,
-0.039039064198732376,
0.008121100254356861,
-0.025207461789250374,
-0.02959529496729374,
-0.005931698717176914,
-0.06410206854343414,
-0.04824809357523918,
-0.021108541637659073,
0.004098921082913876,
-0.03369421511888504,
-0.12350933998823166,
0.0012414132943376899,
-0.04767027124762535,
-0.02453935705125332,
-0.0741778314113617,
0.02235446870326996,
-0.05922670289874077,
0.047345247119665146,
0.060851823538541794,
0.037269484251737595,
0.0015799805987626314,
0.00844612531363964,
-0.04005025327205658,
-0.011935625225305557,
0.17681337893009186,
0.058179400861263275,
-0.013407263904809952,
0.0037468113005161285,
-0.05066772177815437,
-0.07764476537704468,
0.0017921495018526912,
0.0741778314113617,
-0.04705633595585823,
-0.023419827222824097,
0.03055231086909771,
0.0018564772326499224,
-0.008744063787162304,
0.049367621541023254,
-0.013488519936800003,
-0.02025986649096012,
0.030534254387021065,
0.059443384408950806,
-0.04499784857034683,
-0.03289971128106117,
0.009886164218187332,
0.04405888915061951,
-0.009904221631586552,
0.015366440638899803,
-0.007692248560488224,
0.05362905561923981,
-0.051931705325841904,
0.07002474367618561,
0.02829519659280777,
0.016865164041519165,
-0.03132876008749008,
-0.0009587096865288913,
0.014806675724685192,
0.02231835573911667,
-0.03705280274152756,
0.024214331060647964,
0.005656330846250057,
-0.01730755902826786,
0.02932444028556347,
0.007421394810080528,
0.028493821620941162,
0.029414724558591843,
-0.031599611043930054,
0.016377627849578857,
0.02044043503701687,
0.03510265424847603,
-0.018129149451851845,
0.02576722763478756,
0.01821943372488022,
0.10480237007141113,
-0.04268656298518181,
0.0023033861070871353,
0.01596231944859028,
-0.031563498079776764,
0.03143709897994995,
0.013452406041324139,
0.0134975491091609,
-0.031834352761507034,
-0.06337979435920715,
0.030064774677157402,
-0.0905735194683075,
0.027825716882944107,
0.009958392009139061,
-0.01043690089136362,
-0.053737398236989975,
-0.05073994770646095,
-0.008432582020759583,
0.00597232673317194,
0.023112859576940536,
-0.013199609704315662,
0.07511679083108902,
-0.033947013318538666,
-0.03317056596279144,
0.06551051139831543,
0.026742300018668175,
0.0007747547933831811,
-0.0056473021395504475,
-0.011664771474897861,
0.06229637935757637,
-0.03448871895670891,
0.0063786073587834835,
-0.06171855702996254,
-0.0015585380606353283,
-0.004322375636547804,
0.0659799873828888,
-0.02945083938539028,
0.03546379506587982,
-0.037775080651044846,
-0.02473798207938671,
0.002365456661209464,
-0.035554077476263046,
-0.008924633264541626,
0.018246518447995186,
-0.05211227387189865,
-0.06923023611307144,
0.015384497120976448,
0.014373309910297394,
-0.04752581566572189,
0.07049421966075897,
-0.009940335527062416,
-0.050920519977808,
-0.0026566246524453163,
-0.023708738386631012,
0.0700608566403389,
-0.004155348986387253,
-0.038425128906965256,
-0.025460259988904,
0.010093819350004196,
-0.037775080651044846,
0.013939943164587021,
-0.041639260947704315,
0.02293229103088379,
0.0892011895775795,
0.013199609704315662,
-0.03745005652308464,
0.00966948177665472,
-0.0574210099875927,
0.022643379867076874,
-0.017560355365276337,
0.025568600744009018,
0.052401185035705566,
-0.024069875478744507,
-0.06500491499900818,
-0.023148972541093826,
-0.0803171843290329,
-0.014409423805773258,
0.036276355385780334,
0.02757291868329048,
0.0239254217594862,
-0.048609234392642975,
0.017027676105499268,
-0.01418371219187975,
-0.043517179787158966,
0.04088087007403374,
0.01235093455761671,
0.014599020592868328,
0.07497233897447586,
0.025063006207346916,
-0.0331525094807148,
-0.0847230777144432,
-0.011439059861004353,
-0.016801966354250908,
-0.010725811123847961,
-0.01654013991355896,
0.04178371652960777,
-0.034705404192209244,
0.010608441196382046,
0.014057313092052937,
-0.008613151498138905,
0.023835135623812675,
0.012260649353265762,
0.078583724796772,
0.03048008307814598,
0.0134975491091609,
-0.04626183211803436,
-0.003552699228748679,
0.0222100131213665,
0.05482081323862076,
0.038352902978658676,
0.025929739698767662,
-0.034976255148649216,
-0.016783908009529114,
0.03423592448234558,
-0.033947013318538666,
-0.022101672366261482,
0.014039256609976292,
0.015050443820655346,
-0.030462026596069336,
0.012152308598160744,
0.05709598585963249,
0.05781826376914978,
0.027807658538222313,
0.03257468715310097,
-0.012441218830645084,
0.05417076498270035,
-0.06648558378219604,
-0.03259274363517761,
0.05362905561923981,
0.027049267664551735,
-0.05200393497943878,
0.04127812385559082,
0.047381363809108734,
0.012062023393809795,
-0.03105790540575981,
-0.006319922395050526,
-0.09577391296625137,
-0.08537312597036362,
-0.005859470926225185,
-0.021198825910687447,
-0.019880671054124832,
-0.05803494527935982,
0.02825908176600933,
-0.08190619945526123,
-0.06514937430620193,
-0.03578881919384003,
0.036890290677547455,
0.018372917547822,
-0.050595495849847794,
-0.02385319396853447,
0.019591759890317917,
0.014860846102237701,
0.007421394810080528,
-0.010789010673761368,
-0.039761342108249664,
-0.0007708048215135932,
0.04189205914735794,
0.036041613668203354,
0.013055154122412205,
-0.08558981120586395,
0.006071639712899923,
0.016332484781742096,
-0.048031412065029144,
-0.023979591205716133,
0.02668813057243824,
-0.02508106455206871,
0.017623554915189743,
-0.012450247071683407,
0.013768402859568596,
-0.018887540325522423,
-0.03708891570568085,
-0.03582493215799332,
0.02679647132754326,
-0.05991286411881447,
-0.02607419528067112,
0.0762002095580101,
0.041639260947704315,
0.039039064198732376,
0.03810010477900505,
-0.017939550802111626,
-0.03168989717960358,
-0.0036790978629142046,
-0.08479530364274979,
-0.023257315158843994,
-0.09375153481960297,
0.022462809458374977,
-0.07118038088083267,
-0.008256527595221996,
0.017515214160084724,
-0.02730206586420536,
0.018544457852840424,
0.0029116785153746605,
-0.0012177136959508061,
0.027446521446108818,
0.00010417996963951737,
0.022029444575309753,
0.026020023971796036,
-0.03564436361193657,
-0.0413503497838974,
-0.036619435995817184,
-0.009606282226741314,
0.030768994241952896,
0.0362221859395504,
0.05864888057112694,
-0.048139750957489014,
0.02887301705777645,
-0.02450324222445488,
-0.05994898080825806,
-0.010084791108965874,
0.015339354984462261,
0.041025325655937195,
-0.01158351544290781,
0.029035529121756554,
0.017740925773978233,
0.04214485362172127,
0.04460059478878975,
0.002792051527649164,
-0.008035330101847649,
-0.027753489091992378,
-0.06337979435920715,
-0.0008898676605895162,
-0.030913449823856354,
-0.019916784018278122,
0.004410402849316597,
-0.06374093145132065,
0.03289971128106117,
-0.0003416708204895258,
-0.01910422369837761,
-0.015646321699023247,
0.014373309910297394,
-0.03683612123131752,
-0.013741317205131054,
-0.019013937562704086,
0.011592543683946133,
-0.04254210740327835,
-0.023943478241562843,
0.007394309155642986,
0.0031802752055227757,
-0.005073994863778353,
0.030967621132731438,
0.00852286722511053,
0.005606674123555422,
0.02825908176600933,
0.028854960575699806,
0.0295591801404953,
-0.01028341706842184,
0.016874192282557487,
0.010238274931907654,
-0.026543674990534782,
0.02576722763478756,
-0.0019478903850540519,
-0.01937507651746273,
-0.02412404678761959,
0.029667522758245468,
0.0056608449667692184,
-0.033748384565114975,
-0.019501475617289543,
-0.02515329234302044,
0.060165662318468094,
0.005073994863778353,
-0.025911683216691017,
-0.004435231443494558,
0.047381363809108734,
0.005696958862245083,
-0.053809624165296555,
0.03698057681322098,
0.03369421511888504,
-0.006730717606842518,
0.03320667892694473,
0.04405888915061951,
-0.0008972032810561359,
-0.010473014786839485,
0.00644180690869689,
0.009186458773911,
-0.01998901180922985,
0.028999416157603264,
0.044817280024290085,
0.0008007116266526282,
-0.04651463031768799,
-0.018887540325522423,
-0.014635134488344193,
0.02286006323993206,
0.02730206586420536,
0.003121590241789818,
-0.004277233500033617,
0.046117376536130905,
-0.013154467567801476,
-0.06128519028425217,
-0.0010845438810065389,
-0.020512662827968597,
-0.016440827399492264,
-0.010427871719002724,
0.01995289884507656,
0.0074394517578184605,
0.055651433765888214,
-0.0068616303615272045,
-0.024412957951426506,
0.004121492151170969,
0.05994898080825806,
0.012955841608345509,
0.0008447253494523466,
-0.0007583906990475953,
0.03940020129084587,
0.0020359179470688105,
-0.03134681656956673,
-0.016395684331655502,
0.032484401017427444,
-0.001042787218466401,
-0.019772328436374664,
-0.014463594183325768,
-0.010933466255664825,
0.019050052389502525,
0.01219745073467493,
-0.019266735762357712,
0.0010969579452648759,
0.03028145805001259,
-0.03770285099744797,
-0.03199686482548714,
-0.016359571367502213,
-0.005669873207807541,
0.09035683423280716,
0.017695782706141472,
0.025749169290065765,
0.00920903030782938,
-0.03560825064778328,
0.00890206266194582,
0.030931506305933,
0.0025211977772414684,
-0.0033585873898118734,
0.018923653289675713,
0.009940335527062416,
-0.02453935705125332,
-0.0010789011139422655,
-0.004708342254161835,
-0.01317252404987812,
0.026940926909446716,
0.08573426306247711,
-0.050451040267944336,
0.014382338151335716,
0.014996273443102837,
-0.014905988238751888,
0.0007510550785809755,
-0.0046000005677342415,
0.025261633098125458,
-0.05655427649617195,
-0.053051237016916275,
0.0018880768911913037,
-0.000057415367336943746,
-0.04001413658261299,
0.0003834274539258331,
0.04911482706665993,
-0.01838194578886032,
-0.0019445046782493591,
-0.03020923025906086,
-0.026670072227716446,
-0.02898135967552662,
-0.07793367654085159,
-0.0020833173766732216,
0.027789602056145668,
0.01204396691173315,
-0.02726595103740692,
-0.006992542650550604,
-0.01753327064216137,
0.029613351449370384,
-0.009615310467779636,
0.006735231727361679,
0.004500687588006258,
-0.0025640828534960747,
-0.0119627108797431,
0.07370835542678833,
-0.049295395612716675,
0.003525613807141781,
-0.020765459164977074,
0.03708891570568085,
0.02423238940536976,
-0.027518749237060547,
-0.031075961887836456,
0.005439647473394871,
0.023257315158843994,
-0.011439059861004353,
-0.019230620935559273,
-0.011150148697197437,
-0.03327890485525131,
0.00612581055611372,
-0.0029319925233721733,
-0.0110237505286932,
0.026868699118494987,
-0.021776648238301277,
-0.020169582217931747,
0.040953099727630615,
-0.027500690892338753,
-0.002246958203613758,
0.007976644672453403,
0.07096370309591293,
0.022842004895210266,
0.01556506659835577,
-0.012450247071683407,
-0.04622571915388107,
0.06666615605354309,
0.002794308587908745,
0.05864888057112694,
-0.0225530955940485,
0.03147321566939354,
0.04644240066409111,
0.029089700430631638,
0.04030304774641991,
0.01556506659835577,
0.01363297551870346,
0.030335627496242523,
0.011448088102042675,
0.001675907988101244,
0.06092405319213867,
-0.026940926909446716,
-0.09266812354326248,
-0.02385319396853447,
0.024611584842205048,
0.016603339463472366,
-0.00705574220046401,
-0.09042906016111374,
-0.0036474980879575014,
0.014562907628715038,
-0.04897037148475647,
-0.001884691184386611,
-0.01722630299627781,
0.001706379116512835,
-0.057493239641189575,
0.04275878891348839,
0.03705280274152756,
0.02733817882835865,
-0.018093034625053406,
0.015149757266044617,
0.08551757782697678,
0.044203344732522964,
-0.032755255699157715,
-0.03297193720936775,
0.049909330904483795,
-0.024900494143366814,
0.012973898090422153,
0.0427226759493351,
0.015574094839394093,
0.012684986926615238,
0.0002496933739166707,
-0.033910900354385376,
-0.011520315892994404,
-0.0434088408946991,
-0.0134975491091609,
0.009633367881178856,
-0.013750345446169376,
0.027428463101387024
] |
726,156 | penne.core | Client | Client for communicating with server
Attributes:
_url (string):
address used to connect to server
_loop (event loop):
event loop used for network thread
delegates (dict):
map for delegate functions
thread (thread object):
network thread used by client
_socket (WebSocketClientProtocol):
socket to connect to server
name (str):
name of the client
state (dict):
dict keeping track of created objects
client_message_map (dict):
mapping message type to corresponding id
server_messages (dict):
mapping message id's to handle info
_current_invoke (str):
id for next method invoke
callback_map (dict):
mapping invoke_id to callback function
callback_queue (queue):
queue for storing callback functions, useful for polling and running in the main thread
is_active (bool):
flag for whether client is active
| class Client(object):
"""Client for communicating with server
Attributes:
_url (string):
address used to connect to server
_loop (event loop):
event loop used for network thread
delegates (dict):
map for delegate functions
thread (thread object):
network thread used by client
_socket (WebSocketClientProtocol):
socket to connect to server
name (str):
name of the client
state (dict):
dict keeping track of created objects
client_message_map (dict):
mapping message type to corresponding id
server_messages (dict):
mapping message id's to handle info
_current_invoke (str):
id for next method invoke
callback_map (dict):
mapping invoke_id to callback function
callback_queue (queue):
queue for storing callback functions, useful for polling and running in the main thread
is_active (bool):
flag for whether client is active
"""
def __init__(self, url: str, custom_delegate_hash: dict[Type[delegates.Delegate], Type[delegates.Delegate]] = None,
on_connected=None, strict=False, json=None):
"""Constructor for the Client Class
Args:
url (string):
address used to connect to server
custom_delegate_hash (dict):
map for new delegates to be used on client
on_connected (Callable):
callback function to run once client is set up
strict (bool):
flag for strict data validation and throwing hard exceptions
json (str):
path for outputting json log of messages
"""
if not custom_delegate_hash:
custom_delegate_hash = {}
self._url = url
self._loop = asyncio.new_event_loop()
self.on_connected = on_connected
self.delegates = delegates.default_delegates.copy()
self.strict = strict
self.thread = threading.Thread(target=self._start_communication_thread)
self.connection_established = threading.Event()
self._socket = None
self.name = "Python Client"
self.state = {}
self.client_message_map = {
"intro": 0,
"invoke": 1
}
self.server_messages = [
HandleInfo(delegates.Method, "create"),
HandleInfo(delegates.Method, "delete"),
HandleInfo(delegates.Signal, "create"),
HandleInfo(delegates.Signal, "delete"),
HandleInfo(delegates.Entity, "create"),
HandleInfo(delegates.Entity, "update"),
HandleInfo(delegates.Entity, "delete"),
HandleInfo(delegates.Plot, "create"),
HandleInfo(delegates.Plot, "update"),
HandleInfo(delegates.Plot, "delete"),
HandleInfo(delegates.Buffer, "create"),
HandleInfo(delegates.Buffer, "delete"),
HandleInfo(delegates.BufferView, "create"),
HandleInfo(delegates.BufferView, "delete"),
HandleInfo(delegates.Material, "create"),
HandleInfo(delegates.Material, "update"),
HandleInfo(delegates.Material, "delete"),
HandleInfo(delegates.Image, "create"),
HandleInfo(delegates.Image, "delete"),
HandleInfo(delegates.Texture, "create"),
HandleInfo(delegates.Texture, "delete"),
HandleInfo(delegates.Sampler, "create"),
HandleInfo(delegates.Sampler, "delete"),
HandleInfo(delegates.Light, "create"),
HandleInfo(delegates.Light, "update"),
HandleInfo(delegates.Light, "delete"),
HandleInfo(delegates.Geometry, "create"),
HandleInfo(delegates.Geometry, "delete"),
HandleInfo(delegates.Table, "create"),
HandleInfo(delegates.Table, "update"),
HandleInfo(delegates.Table, "delete"),
HandleInfo(delegates.Document, "update"),
HandleInfo(delegates.Document, "reset"),
HandleInfo(delegates.Signal, "invoke"),
HandleInfo(delegates.Method, "reply"),
HandleInfo(delegates.Document, "initialized")
]
self._current_invoke = 0
self.callback_map = {}
self.callback_queue = queue.Queue()
self.is_active = False
self.json = json
if json:
with open(json, "w") as outfile: # Clear out old contents
outfile.write("JSON Log\n")
# Hook up delegate map to customs
self.delegates.update(custom_delegate_hash)
# Add document delegate as starting element in state
self.state["document"] = self.delegates[delegates.Document](client=self)
def __enter__(self):
"""Enter method for context manager
Waits for 1 seconds for connection to be established, otherwise throws exception
"""
self.thread.start()
flag = self.connection_established.wait(timeout=1)
if not flag:
raise ConnectionError("Couldn't connect to server")
self.is_active = True
return self
def __exit__(self, exc_type, exc_value, traceback):
"""Exit method for context manager"""
self.shutdown()
self.is_active = False
def _log_json(self, message: list):
json_message = json.dumps(message, default=default_json_encoder)
formatted_message = f"{json_message}\n"
with open(self.json, "a") as outfile:
outfile.write(formatted_message)
def _start_communication_thread(self):
"""Starts the communication thread for the client
All communication is done with the server in this separate thread. That way, the main thread can be used for
other code. For example, Orzo's window / gui has to run in the main thread, so this allows the client to be
used in conjunction with the gui.
"""
try:
asyncio.set_event_loop(self._loop)
self._loop.run_until_complete(self._run())
except Exception as e:
self.is_active = False
logging.warning(f"Connection terminated in communication thread: {e}")
def get_delegate_id(self, name: str) -> Type[delegates.ID]:
"""Get a delegate's id from its name. Assumes names are unique, or returns the first match
Args:
name (str): name of method
Returns:
ID (ID): ID for the delegate
Raises:
KeyError: if no match is found
"""
if name == "document":
return name
state_delegates = self.state.values()
for delegate in state_delegates:
if delegate.name == name:
return delegate.id
raise KeyError(f"Couldn't find object '{name}' in state")
def get_delegate(self, identifier: Union[delegates.ID, str, Dict[str, delegates.ID]]) -> Type[delegates.Delegate]:
"""Getter to easily retrieve components from state
Accepts multiple types of identifiers for flexibility
Args:
identifier (ID | str | dict): id, name, or context for the component
Returns:
Delegate (Delegate): delegate object from state
Raises:
TypeError: if identifier is not a valid type
KeyError: if id or name is not found in state
ValueError: if context is not found in state
"""
if isinstance(identifier, delegates.ID):
return self.state[identifier]
elif isinstance(identifier, str):
return self.state[self.get_delegate_id(identifier)]
elif isinstance(identifier, dict):
return self.get_delegate_by_context(identifier)
else:
raise TypeError(f"Invalid type for identifier: {type(identifier)}")
def get_delegate_by_context(self, context: dict = None) -> delegates.Delegate:
"""Get delegate object from a context object
Contexts are of the form {"table": TableID}, {"entity": EntityID}, o | (url: 'str', custom_delegate_hash: 'dict[Type[delegates.Delegate], Type[delegates.Delegate]]' = None, on_connected=None, strict=False, json=None) | [
-0.01305640209466219,
-0.044860996305942535,
-0.0601373054087162,
-0.009053210727870464,
0.012319941073656082,
0.002555256709456444,
-0.03997931256890297,
0.06956400722265244,
-0.013750779442489147,
-0.05395103245973587,
-0.014224219135940075,
0.052015189081430435,
-0.03776992857456207,
0.02038945071399212,
-0.045029330998659134,
-0.001484758104197681,
-0.01005795318633318,
0.03280407935380936,
-0.011730772443115711,
-0.07608694583177567,
-0.03434012457728386,
0.02541842684149742,
0.05664437264204025,
0.029753025621175766,
-0.016570372506976128,
-0.0030063390731811523,
-0.028827188536524773,
0.03139428049325943,
0.07162609696388245,
-0.010573476552963257,
-0.026680931448936462,
-0.023188002407550812,
0.028027603402733803,
-0.012088482268154621,
-0.0008732323767617345,
-0.013677133247256279,
0.002769619459286332,
0.020263198763132095,
-0.03238324448466301,
-0.03522387892007828,
-0.05647604167461395,
-0.016002247110009193,
0.010015870444476604,
0.021052265539765358,
0.02352466993033886,
0.05167852342128754,
-0.04936392977833748,
0.09494034945964813,
0.020336845889687538,
-0.03362470492720604,
-0.03427699953317642,
-0.02371404506266117,
-0.015139535069465637,
0.05714937672019005,
-0.015781307592988014,
0.032509494572877884,
-0.017790794372558594,
0.04189411178231239,
-0.013182652182877064,
-0.026449471712112427,
-0.06632357835769653,
0.007985341362655163,
0.026407388970255852,
0.001766191329807043,
-0.01928475871682167,
-0.04570266604423523,
0.006165231112390757,
0.019737156108021736,
0.017675064504146576,
-0.00907951220870018,
0.04696517065167427,
0.03208865970373154,
0.07415110617876053,
-0.031709909439086914,
0.011415146291255951,
-0.011814938858151436,
-0.03408762440085411,
0.01837996393442154,
-0.009026908315718174,
0.03379303961992264,
0.0015084299957379699,
-0.014213697984814644,
0.006149449851363897,
-0.022746125236153603,
0.05651812255382538,
0.015065888874232769,
0.030720945447683334,
0.03848534822463989,
-0.09855952858924866,
-0.03604450821876526,
-0.04321974143385887,
0.001981869339942932,
-0.019221633672714233,
-0.01917954906821251,
-0.05104726925492287,
-0.0318571999669075,
-0.022514665499329567,
-0.023209042847156525,
0.03522387892007828,
0.0015965423081070185,
-0.03232011944055557,
0.020347366109490395,
-0.06708107888698578,
-0.0039058737456798553,
-0.003137849969789386,
-0.03821180760860443,
-0.021283723413944244,
0.00040209456346929073,
-0.015970682725310326,
0.027690934017300606,
-0.010015870444476604,
-0.036002423614263535,
0.03652846813201904,
0.006144189275801182,
0.04704933986067772,
0.006670232862234116,
-0.016433602198958397,
-0.011972752399742603,
-0.017338396981358528,
-0.03541325405240059,
0.0074382564052939415,
-0.0018122202018275857,
-0.03069990500807762,
0.01865350641310215,
-0.009716025553643703,
0.021357370540499687,
0.0033009236212819815,
0.00907951220870018,
0.045660585165023804,
-0.07242568582296371,
-0.031436365097761154,
0.015318389981985092,
0.04317765682935715,
0.08862782269716263,
0.02272508293390274,
0.06518732011318207,
-0.079369455575943,
-0.02968990057706833,
-0.04704933986067772,
0.021283723413944244,
0.028427395969629288,
-0.006228356156498194,
0.010920665226876736,
0.000812079815659672,
-0.014971200376749039,
-0.00751190260052681,
-0.051846858114004135,
-0.02907969057559967,
-0.04704933986067772,
-0.03301449492573738,
0.021220598369836807,
-0.025818219408392906,
-0.010273631662130356,
0.02190445549786091,
-0.051299773156642914,
0.011499312706291676,
-0.06215731054544449,
-0.015518286265432835,
-0.01815902441740036,
0.007880132645368576,
-0.022241123020648956,
-0.03320387005805969,
0.01788548193871975,
-0.02880614809691906,
-0.024892382323741913,
0.00570231257006526,
0.037706803530454636,
-0.07726528495550156,
-0.035118669271469116,
0.078359454870224,
-0.0531514436006546,
0.052393943071365356,
-0.041999321430921555,
0.009468784555792809,
-0.015528807416558266,
0.04919559881091118,
0.014203176833689213,
-0.0076434132643043995,
-0.036275967955589294,
-0.022472582757472992,
-0.015623494982719421,
-0.04519766569137573,
-0.02567092701792717,
0.021231120452284813,
0.020599868148565292,
0.05159435421228409,
0.05778062716126442,
-0.008479822427034378,
0.09561368077993393,
-0.011509833857417107,
-0.09788618981838226,
-0.010268370620906353,
0.06299898028373718,
0.004392464179545641,
0.021778205409646034,
0.027143849059939384,
0.016475684940814972,
0.029816150665283203,
0.013172131963074207,
-0.024176964536309242,
-0.04151536151766777,
0.0037243887782096863,
0.029542608186602592,
-0.029500525444746017,
-0.04385099560022354,
-0.04069473221898079,
0.01372973807156086,
0.020210595801472664,
-0.009074252098798752,
-0.04330391064286232,
-0.028785105794668198,
-0.019737156108021736,
0.027711976319551468,
0.034845128655433655,
0.09224700182676315,
-0.08744949102401733,
0.037517428398132324,
0.02008434385061264,
0.05062643438577652,
-0.0004872478893958032,
0.05125768855214119,
0.04296724125742912,
-0.04410349577665329,
-0.06409315019845963,
-0.043345991522073746,
-0.017022769898176193,
-0.00785383116453886,
-0.010315715335309505,
0.04286203160881996,
-0.042272862046957016,
-0.007916956208646297,
0.009374096989631653,
0.009068991988897324,
0.055592287331819534,
0.02371404506266117,
-0.019358403980731964,
-0.015833912417292595,
0.0018398375250399113,
-0.004466109909117222,
0.014287344180047512,
0.011436187662184238,
-0.030194902792572975,
0.04515558108687401,
-0.05588687211275101,
-0.02299862541258335,
0.023209042847156525,
0.09174200147390366,
0.0028038122691214085,
-0.03785409778356552,
0.009195242077112198,
-0.02506071701645851,
-0.02727009914815426,
0.002528954530134797,
-0.028322186321020126,
-0.02907969057559967,
-0.07688653469085693,
0.03213074430823326,
0.044860996305942535,
-0.0114572299644351,
0.014876512810587883,
-0.02132580801844597,
0.019116424024105072,
-0.03606554865837097,
0.09510868042707443,
0.02165195532143116,
-0.024892382323741913,
0.005176268983632326,
0.004915877245366573,
-0.02630217932164669,
0.004350380506366491,
0.10908039659261703,
0.015528807416558266,
0.014497761614620686,
0.03078407049179077,
-0.03978993743658066,
-0.07196276634931564,
-0.016412559896707535,
-0.0300686527043581,
-0.08845949172973633,
-0.035918258130550385,
-0.013445674441754818,
0.02013694867491722,
0.046838920563459396,
-0.0007522423402406275,
-0.006601847242563963,
-0.05230977386236191,
0.03267782926559448,
0.0038453787565231323,
0.003453476121649146,
-0.04014764726161957,
0.023671962320804596,
-0.021010180935263634,
0.0020739268511533737,
0.007290964480489492,
-0.005226243287324905,
0.012982755899429321,
-0.09738118946552277,
0.018642984330654144,
0.004405614919960499,
-0.06022147089242935,
0.008358832448720932,
0.02550259418785572,
0.06333564966917038,
-0.052478108555078506,
-0.028490521013736725,
-0.05163643881678581,
-0.012309419922530651,
0.023461544886231422,
-0.006228356156498194,
-0.01180441863834858,
0.00590220931917429,
-0.04734392464160919,
0.014392552897334099,
-0.024176964536309242,
0.0036165497731417418,
0.018674546852707863,
-0.001726738060824573,
-0.02754364348948002,
0.07452985644340515,
0.09771785885095596,
-0.05214144289493561,
0.03320387005805969,
-0.009310971945524216,
0.03890618309378624,
0.04153640195727348,
-0.02459779940545559,
0.026323221623897552,
0.004742282908409834,
-0.04435599595308304,
-0.011835981160402298,
-0.04545016586780548,
-0.009405659511685371,
-0.028469478711485863,
-0.03181511536240578,
0.004702829755842686,
-0.017506731674075127,
0.01681235246360302,
0.010573476552963257,
0.03164678439497948,
-0.011551917530596256,
0.030552612617611885,
0.01144670881330967,
0.010962748900055885,
0.025018634274601936,
0.0073540895245969296,
-0.0425884909927845,
0.014781825244426727,
0.016412559896707535,
0.03526596352458,
-0.03871680796146393,
0.007964299991726875,
-0.007106848992407322,
-0.00174514960963279,
0.04822767525911331,
0.03755951300263405,
-0.06531357020139694,
0.001046826713718474,
-0.0926678404211998,
-0.014497761614620686,
-0.00874810479581356,
-0.011688688769936562,
0.029100731015205383,
-0.015402556397020817,
0.0071121095679700375,
-0.06299898028373718,
0.01650724746286869,
0.03263574466109276,
-0.04435599595308304,
0.04932184889912605,
-0.0265757218003273,
-0.012877547182142735,
-0.0567285418510437,
-0.02165195532143116,
0.04124181717634201,
-0.01936892606317997,
-0.005115773994475603,
0.016328392550349236,
0.015171097591519356,
-0.021315285935997963,
0.020189553499221802,
0.021199556067585945,
0.005765437614172697,
0.02156778797507286,
0.010599778033792973,
0.023272167891263962,
-0.032425329089164734,
0.005181529559195042,
0.0002261987392557785,
-0.019190071150660515,
0.022409457713365555,
-0.008269404992461205,
-0.006901692133396864,
-0.03320387005805969,
-0.020315803587436676,
-0.003232538001611829,
-0.023924462497234344,
0.05117351934313774,
0.0572335422039032,
-0.008869094774127007,
-0.05975855141878128,
0.006780702155083418,
-0.0005477428785525262,
0.03755951300263405,
0.05921146646142006,
0.029290108010172844,
0.05167852342128754,
0.11892793327569962,
0.0333932489156723,
0.04528183117508888,
0.014245260506868362,
0.011983273550868034,
-0.026344263926148415,
-0.06219939514994621,
0.015318389981985092,
-0.02440842241048813,
-0.024219047278165817,
-0.007238359656184912,
0.003414022969081998,
0.008606073446571827,
0.04117869213223457,
0.0036980865988880396,
0.07747570425271988,
0.03739117830991745,
0.02834322862327099,
0.0052630663849413395,
-0.0032982933335006237,
-0.019074341282248497,
0.03137324005365372,
-0.004529235418885946,
0.02764885127544403,
0.013393069617450237,
-0.013266819529235363,
0.01912694424390793,
-0.048269759863615036,
-0.01136254146695137,
0.014476719312369823,
-0.00028603620012290776,
-0.02217799797654152,
0.022346332669258118,
0.034382209181785583,
-0.017127979546785355,
0.02261987514793873,
-0.01940048858523369,
-0.021252160891890526,
0.015360472723841667,
-0.03391928970813751,
0.00751190260052681,
-0.00972654577344656,
0.04042119160294533,
0.009321492165327072,
-0.027796143665909767,
0.03831701725721359,
0.004600251093506813,
0.005749656353145838,
-0.053109362721443176,
0.0029011303558945656,
0.031541574746370316,
0.034129709005355835,
-0.04330391064286232,
-0.031983450055122375,
0.04393516108393669,
-0.02415592223405838,
-0.013350986875593662,
0.022788207978010178,
-0.04168369621038437,
0.04052639752626419,
0.05353019759058952,
0.002830114448443055,
-0.027312183752655983,
0.01962142623960972,
0.06565023958683014,
0.03705451264977455,
-0.010273631662130356,
-0.019873926416039467,
0.012309419922530651,
-0.015097451396286488,
0.021546745672822,
-0.024913424625992775,
-0.042988281697034836,
-0.04721767455339432,
-0.006517680361866951,
-0.0357709638774395,
0.01436099037528038,
-0.024850299581885338,
-0.03795930743217468,
-0.0042425417341291904,
0.05921146646142006,
-0.034319084137678146,
0.057822711765766144,
-0.049700599163770676,
-0.003911134321242571,
0.044860996305942535,
0.045744750648736954,
-0.000381381600163877,
0.04027389734983444,
0.01044196542352438,
-0.042630571871995926,
-0.010010609403252602,
0.02630217932164669,
-0.046207670122385025,
-0.0019779240246862173,
-0.010720768943428993,
-0.0038690506480634212,
0.018053816631436348,
0.032972414046525955,
-0.021525703370571136,
-0.061862725764513016,
0.044313911348581314,
-0.040757857263088226,
-0.023482585325837135,
-0.00762763200327754,
0.011888585053384304,
-0.009884359315037727,
-0.01560245268046856,
-0.0373070128262043,
-0.029647817835211754,
-0.001770136645063758,
0.028595730662345886,
-0.034676793962717056,
-0.06699690967798233,
0.07175234705209732,
0.04768059030175209,
0.03263574466109276,
-0.006843827199190855,
-0.0167807899415493,
0.025649886578321457,
0.009773890487849712,
-0.013035360723733902,
0.03192032501101494,
0.003834857838228345,
-0.013834946788847446,
0.008658677339553833,
-0.015192138962447643,
-0.0006897746934555471,
-0.0008600812871009111,
-0.04014764726161957,
0.024029672145843506,
-0.0701952576637268,
-0.02088393084704876,
-0.007659194990992546,
0.028132811188697815,
0.06409315019845963,
-0.09115283191204071,
-0.09393034130334854,
-0.007122630253434181,
-0.04321974143385887,
0.07305693626403809,
-0.0056497082114219666,
-0.015360472723841667,
-0.030573653057217598,
0.024997591972351074,
0.014613491483032703,
0.03410866856575012,
-0.01780131459236145,
-0.03711763769388199,
-0.02693343162536621,
0.019158508628606796,
-0.04248328134417534,
0.02280925028026104,
0.0022567270789295435,
-0.03221490979194641,
-0.013235257007181644,
-0.09569784998893738,
-0.029458440840244293,
0.04738600552082062,
0.0667864978313446,
0.06990067660808563,
0.0359392985701561,
-0.002551311394199729,
-0.004631814081221819,
-0.002709124470129609,
0.061694394797086716,
0.03675992786884308,
-0.001963457791134715,
-0.008732323534786701,
0.019663508981466293,
-0.015865474939346313,
-0.03208865970373154,
0.050500184297561646,
-0.04713350534439087,
0.08888032287359238,
0.005244654603302479,
-0.02764885127544403,
-0.064724400639534,
0.01238306611776352,
0.046544335782527924,
-0.006054761819541454,
0.049237679690122604,
0.039179727435112,
-0.05437186732888222,
-0.037264928221702576,
0.007159453351050615,
-0.05832771584391594,
-0.014329427853226662,
0.019684551283717155,
0.1006636992096901,
0.045744750648736954,
0.05647604167461395,
0.016601935029029846,
0.007122630253434181,
-0.08008487522602081,
0.01984236389398575,
-0.013519320636987686,
-0.07166817784309387,
0.026239054277539253,
-0.018285274505615234,
-0.04932184889912605,
0.03246740996837616,
-0.00786961242556572,
-0.02611280418932438,
0.01471870020031929,
0.020294761285185814,
0.007780184969305992,
-0.028490521013736725,
-0.018558818846940994,
-0.027606768533587456,
-0.03465575352311134,
0.06851191818714142,
0.008327269926667213,
0.021672995761036873,
0.04856434464454651,
-0.04321974143385887,
-0.018948091194033623,
-0.03760159760713577,
-0.06644982844591141,
-0.013803384266793728,
0.005970594938844442,
-0.028469478711485863,
-0.05538186803460121,
-0.013109005987644196,
0.015118492767214775,
-0.007632892578840256,
0.005455072037875652,
0.0011125821620225906,
0.07128942757844925,
0.007717059459537268,
0.04368266090750694,
0.0073540895245969296,
-0.015202660113573074,
-0.007006900850683451,
0.02107330597937107,
-0.04094723239541054,
0.004179416224360466,
-0.08273613452911377,
-0.01790652424097061,
0.07995862513780594,
0.04368266090750694,
-0.020536741241812706,
0.028427395969629288,
0.011415146291255951,
-0.02003174088895321,
0.07133150845766068,
-0.01650724746286869,
0.024492589756846428,
0.03316178917884827,
0.05508728697896004,
-0.04768059030175209,
-0.017243709415197372,
0.04460849612951279,
0.04130494222044945,
0.020589346066117287,
0.026807181537151337,
0.01826423406600952,
-0.029142815619707108,
0.006733357906341553,
0.007048984058201313,
-0.010594517923891544,
0.007722320035099983,
0.08294655382633209,
0.03518179431557655,
0.03442429378628731,
-0.0004353010735940188,
0.022241123020648956,
0.02369300276041031,
0.019747676327824593,
-0.0007976135821081698,
0.013855988159775734,
-0.02041049115359783,
0.01986340619623661,
-0.03213074430823326,
-0.03638117387890816,
0.04949017986655235,
-0.041641611605882645,
0.0040899887681007385,
0.004018973093479872,
-0.015697140246629715,
0.06514523923397064,
-0.026281138882040977,
0.04999518394470215,
-0.05824354663491249,
0.0008594237151555717,
0.011394103989005089,
0.0001961156231118366,
0.025334259495139122,
-0.03899035230278969,
-0.06295689940452576,
-0.058538131415843964,
-0.07957987487316132,
-0.05698104202747345,
-0.012162127532064915,
0.06821733713150024,
-0.004671267233788967,
0.01843256689608097,
-0.021988622844219208,
0.057107292115688324,
0.0422518216073513,
-0.027417391538619995,
-0.003937436267733574,
0.03678096830844879,
0.001183598069474101,
0.02264091558754444,
0.005723354406654835,
0.07949570566415787,
0.04355641081929207,
-0.006412471644580364,
0.011899106204509735,
-0.006433513015508652,
0.0354342982172966,
-0.014960680156946182,
0.019600383937358856,
-0.05214144289493561,
-0.0037585815880447626,
0.036275967955589294,
0.006575544830411673,
0.06518732011318207,
-0.0008719172328710556,
0.019242674112319946,
-0.023671962320804596,
-0.00785383116453886,
-0.0027617288287729025,
0.01466609537601471,
-0.008400916121900082,
-0.06724940985441208,
0.021630913019180298,
0.011288895271718502,
-0.0708685964345932,
0.10950123518705368,
-0.03051052801311016,
-0.03783305361866951,
0.03766472265124321,
-0.05403519794344902,
-0.04982684925198555,
-0.011741292662918568,
0.03183615952730179,
-0.03177303448319435,
0.017874961718916893,
0.030910322442650795,
0.00912159588187933,
0.013498278334736824,
-0.00950560811907053,
0.04570266604423523,
0.005539238918572664,
-0.04465058073401451,
0.004513454157859087,
-0.008174717426300049,
-0.021010180935263634,
-0.036465343087911606,
0.011509833857417107,
-0.008779667317867279,
-0.05866438150405884,
-0.010520871728658676,
0.01108899898827076,
0.01708589680492878,
-0.004308296833187342,
0.0025434207636862993,
0.03410866856575012,
-0.012288378551602364,
0.04612350091338158
] |
726,157 | penne.core | __enter__ | Enter method for context manager
Waits for 1 seconds for connection to be established, otherwise throws exception
| def __enter__(self):
"""Enter method for context manager
Waits for 1 seconds for connection to be established, otherwise throws exception
"""
self.thread.start()
flag = self.connection_established.wait(timeout=1)
if not flag:
raise ConnectionError("Couldn't connect to server")
self.is_active = True
return self
| (self) | [
0.02480628900229931,
-0.05503551661968231,
-0.016717679798603058,
0.042137712240219116,
0.02541087381541729,
-0.03477277234196663,
0.005880959331989288,
-0.010232135653495789,
0.009490146301686764,
-0.062327172607183456,
0.00340536842122674,
0.00028998302877880633,
0.01026877760887146,
0.02819562703371048,
-0.05287367105484009,
-0.007905401289463043,
-0.03233611583709717,
-0.03781401738524437,
-0.0312002282589674,
-0.008065707981586456,
-0.01574668101966381,
0.0920434221625328,
0.06899592280387878,
-0.043713297694921494,
-0.011807720176875591,
0.06086151301860809,
-0.055328648537397385,
-0.03350864350795746,
0.040305640548467636,
-0.009339000098407269,
-0.011935965158045292,
0.026949815452098846,
-0.042137712240219116,
0.02601545862853527,
0.05529200658202171,
0.012018408626317978,
-0.04290718585252762,
0.0022374209947884083,
0.01626882143318653,
-0.022113138809800148,
-0.04646141082048416,
-0.050015632063150406,
-0.005024464335292578,
0.019200140610337257,
0.011578710749745369,
-0.0018114636186510324,
0.037356000393629074,
0.002271772362291813,
0.045142315328121185,
-0.04646141082048416,
0.01529782172292471,
0.018852045759558678,
0.025172702968120575,
-0.004181710071861744,
-0.04290718585252762,
0.04664461687207222,
-0.026601722463965416,
0.03215290606021881,
-0.030119305476546288,
-0.022644441574811935,
-0.04983242601156235,
-0.006522185169160366,
-0.012806200422346592,
0.08793957531452179,
-0.05335000902414322,
-0.024201704189181328,
-0.05851645767688751,
0.023597119376063347,
0.047230880707502365,
0.028873493894934654,
0.059322573244571686,
0.05294695124030113,
-0.032574284821748734,
0.0075344061478972435,
0.0008736705058254302,
0.013978728093206882,
-0.09365564584732056,
-0.020354347303509712,
-0.02654675953090191,
0.02889181487262249,
-0.032739169895648956,
0.034827735275030136,
-0.028378833085298538,
0.027646003291010857,
0.10699315369129181,
-0.009609230794012547,
-0.0013900864869356155,
-0.03986594080924988,
-0.08618078380823135,
0.006013784557580948,
-0.012128333561122417,
0.06412260979413986,
0.014152775518596172,
0.04528888314962387,
0.05935921519994736,
-0.0022397111169993877,
0.020812366157770157,
0.025832250714302063,
-0.043017107993364334,
-0.02898341789841652,
-0.03228115290403366,
0.0043511767871677876,
-0.006751194596290588,
-0.015371104702353477,
0.017697839066386223,
-0.06544169783592224,
-0.0028465858194977045,
-0.027096381410956383,
-0.004887058865278959,
-0.011294739320874214,
-0.037227753549814224,
-0.07390588521957397,
-0.0018858916591852903,
0.03160328418016434,
-0.02345055341720581,
0.004236672073602676,
-0.010241296142339706,
-0.008523726835846901,
-0.011972607113420963,
-0.049062956124544144,
-0.02863532491028309,
0.03851020708680153,
-0.011001607403159142,
0.0021446722093969584,
0.010232135653495789,
0.034223150461912155,
-0.021526874974370003,
-0.02062915824353695,
0.026528438553214073,
-0.020134499296545982,
-0.022955892607569695,
0.04356672987341881,
0.019310064613819122,
0.015911566093564034,
-0.005111488047987223,
0.0208856500685215,
-0.05661110207438469,
0.03149336203932762,
0.0156001141294837,
0.005798515863716602,
-0.030650606378912926,
-0.0009223350207321346,
-0.06679743528366089,
-0.031163586303591728,
0.022571157664060593,
0.004637438338249922,
-0.0639394000172615,
-0.026638362556695938,
0.03002770058810711,
-0.0345529243350029,
0.026858212426304817,
-0.05331336706876755,
0.03420482948422432,
0.02196657285094261,
-0.026510117575526237,
0.028946777805685997,
-0.03759416937828064,
-0.01718485914170742,
0.05844317749142647,
-0.03319719061255455,
-0.018302423879504204,
-0.013758879154920578,
0.0037717833183705807,
0.017816923558712006,
-0.00932983960956335,
0.016433708369731903,
-0.03449796140193939,
-0.019163498654961586,
0.020958932116627693,
-0.04763393849134445,
-0.023945214226841927,
-0.004371787887066603,
-0.04008578881621361,
-0.01449170894920826,
-0.04294382780790329,
0.041771300137043,
0.029276549816131592,
0.0006646995316259563,
0.005106907803565264,
-0.032739169895648956,
-0.006572567392140627,
-0.028562040999531746,
-0.03294070065021515,
-0.003895448287948966,
0.026180343702435493,
-0.0008358840132132173,
0.05426604673266411,
0.041771300137043,
0.04917287826538086,
0.006164930760860443,
-0.023853609338402748,
-0.0029129984322935343,
-0.013410785235464573,
0.04147816821932793,
0.011917644180357456,
0.00861532986164093,
-0.015316142700612545,
0.019566556438803673,
0.02607041969895363,
0.06738369911909103,
0.004571025725454092,
0.008638231083750725,
-0.023816969245672226,
-0.011578710749745369,
0.08925867080688477,
-0.03717279061675072,
-0.004978662356734276,
-0.06701728701591492,
-0.011789399199187756,
0.026216985657811165,
-0.08324946463108063,
-0.05074846372008324,
-0.004390108399093151,
0.06800660490989685,
0.054632462561130524,
-0.04712095484137535,
0.0362933948636055,
0.02537423186004162,
0.05807676166296005,
0.04320031777024269,
-0.010726796463131905,
-0.03369184955954552,
-0.025007816031575203,
-0.05426604673266411,
0.008235175162553787,
-0.024311628192663193,
-0.02354215644299984,
-0.017771122977137566,
-0.007241274230182171,
-0.0018114636186510324,
-0.02224138379096985,
0.024861250072717667,
-0.03059564344584942,
-0.024293307214975357,
-0.038143791258335114,
0.012256578542292118,
0.021087177097797394,
0.014473388902842999,
-0.06617452949285507,
-0.033050622791051865,
0.020592518150806427,
0.020299386233091354,
0.02310245856642723,
-0.06441573798656464,
-0.007598529104143381,
-0.03623843193054199,
0.04111175239086151,
-0.013282540254294872,
0.0017771122511476278,
0.0350659042596817,
-0.06309664249420166,
-0.0028236848302185535,
0.023945214226841927,
-0.044226277619600296,
-0.061411138623952866,
-0.06727377325296402,
-0.02253451570868492,
0.007204632740467787,
-0.022461233660578728,
0.019310064613819122,
0.021471913903951645,
0.020940611138939857,
-0.041404884308576584,
0.056977517902851105,
0.03528575599193573,
-0.0035839956253767014,
0.006668751128017902,
-0.029349833726882935,
0.029734568670392036,
-0.029221588745713234,
0.06925241649150848,
-0.008491665124893188,
0.04506903141736984,
0.04426291957497597,
-0.027865853160619736,
-0.02445819415152073,
-0.048403408378362656,
-0.025172702968120575,
-0.12604673206806183,
-0.01449170894920826,
0.016387905925512314,
0.06687071919441223,
-0.04059877246618271,
-0.006645850371569395,
-0.0554385744035244,
-0.022791007533669472,
0.00643974170088768,
0.041881222277879715,
-0.00861532986164093,
-0.006655010394752026,
-0.04968586191534996,
-0.006338977720588446,
0.04657133296132088,
-0.03385673835873604,
0.037356000393629074,
-0.005958822090178728,
-0.07379595935344696,
0.054156120866537094,
-0.0018744411645457149,
0.01213749311864376,
0.07108449190855026,
-0.02236962877213955,
-0.11813216656446457,
0.05686759203672409,
-0.010580230504274368,
-0.011725276708602905,
-0.00039532731170766056,
0.07907233387231827,
-0.04265069589018822,
0.02154519595205784,
-0.006563406903296709,
0.033746812492609024,
-0.008358839899301529,
-0.052800387144088745,
0.004408429376780987,
-0.00402598362416029,
-0.04136824235320091,
-0.021783364936709404,
-0.021655119955539703,
0.052543897181749344,
-0.022204743698239326,
0.013713077642023563,
0.013713077642023563,
0.04059877246618271,
0.009032127447426319,
0.03292237967252731,
0.04734080657362938,
0.06481879204511642,
-0.014354303479194641,
0.026290269568562508,
-0.060238610953092575,
0.01601233147084713,
-0.03600026294589043,
-0.06126457080245018,
-0.07724025845527649,
0.021984893828630447,
0.015829123556613922,
-0.005610728170722723,
-0.00011786822869908065,
-0.03949952498078346,
0.015187897719442844,
0.004486292600631714,
-0.04657133296132088,
-0.046974390745162964,
0.03182313218712807,
-0.04085526242852211,
-0.03649492561817169,
-0.000453438435215503,
0.03600026294589043,
0.003742012195289135,
-0.05382634699344635,
0.062290534377098083,
0.002452689688652754,
0.04206443205475807,
0.003451170399785042,
0.011871842667460442,
-0.00972831528633833,
-0.0010391297983005643,
0.030577322468161583,
-0.041698016226291656,
-0.02445819415152073,
0.07471200078725815,
0.018558913841843605,
-0.02502613700926304,
-0.04224763810634613,
-0.00421148119494319,
-0.013639794662594795,
0.025905532762408257,
0.018201660364866257,
0.002377116587013006,
-0.024293307214975357,
-0.028562040999531746,
0.014116133563220501,
0.014564991928637028,
0.0033595666754990816,
-0.028836851939558983,
-0.03098038025200367,
-0.0005914165521971881,
0.02458643913269043,
0.04635148495435715,
0.013154295273125172,
0.004083236213773489,
0.037704091519117355,
-0.02097725309431553,
-0.04122167453169823,
-0.057893555611371994,
0.02588721178472042,
-0.010928324423730373,
0.04019571468234062,
0.02328566648066044,
-0.016259660944342613,
-0.004850417375564575,
0.0013752009253948927,
0.01840318739414215,
-0.010488626547157764,
-0.028140664100646973,
0.06668750941753387,
-0.05459582060575485,
0.036348357796669006,
-0.016589434817433357,
0.025740645825862885,
0.059982117265462875,
-0.018128376454114914,
-0.0008564948220737278,
0.018073415383696556,
0.019951291382312775,
0.049062956124544144,
-0.014702397398650646,
0.0382903553545475,
-0.009618391282856464,
-0.08295633643865585,
-0.030449077486991882,
-0.035175830125808716,
0.016461189836263657,
-0.03684301674365997,
-0.051664501428604126,
0.06251037865877151,
0.02563072182238102,
0.02667500451207161,
0.06496535986661911,
0.00048034702194854617,
-0.060678306967020035,
-0.015224538743495941,
0.023212384432554245,
-0.020464271306991577,
-0.03645828366279602,
-0.019108537584543228,
-0.011844361200928688,
0.016287142410874367,
-0.045325521379709244,
-0.014216898009181023,
0.027920816093683243,
0.07921890169382095,
-0.013942087069153786,
0.029038380831480026,
0.0077450950630009174,
-0.02718798629939556,
-0.008372580632567406,
0.020482592284679413,
0.0017003940884023905,
0.023871930316090584,
0.017816923558712006,
0.0040511745028197765,
-0.012934446334838867,
0.03971937671303749,
-0.03246435895562172,
0.04964921995997429,
0.002503071678802371,
0.002567194402217865,
0.03266588971018791,
-0.021691761910915375,
-0.007648910861462355,
0.03176817297935486,
0.0210138950496912,
-0.05800347775220871,
0.018531434237957,
0.020116178318858147,
0.032610926777124405,
0.015389425680041313,
0.01740470714867115,
0.002112610964104533,
0.010910003446042538,
-0.009874881245195866,
0.024641402065753937,
-0.018742121756076813,
0.021911611780524254,
0.06353634595870972,
-0.008981744758784771,
0.012128333561122417,
-0.025575760751962662,
-0.006151190027594566,
0.004964922089129686,
-0.01984136737883091,
-0.026876533403992653,
0.05470574274659157,
-0.03488269820809364,
-0.021563516929745674,
0.008258075453341007,
-0.006480963435024023,
-0.04411635547876358,
-0.025209344923496246,
-0.004522934090346098,
0.0974663645029068,
0.007479444146156311,
-0.03546896204352379,
0.018073415383696556,
0.10523436218500137,
-0.024696364998817444,
0.012769559398293495,
-0.0028374253306537867,
-0.061374496668577194,
0.04854997247457504,
0.019383348524570465,
0.039352960884571075,
0.027517758309841156,
0.003691630205139518,
-0.08544795215129852,
-0.0006309206364676356,
0.00352445337921381,
-0.04287054389715195,
0.003984761890023947,
0.017258141189813614,
-0.0038542267866432667,
0.02205817773938179,
0.044665977358818054,
0.029404794797301292,
-0.09907858818769455,
0.01626882143318653,
0.056721027940511703,
0.009251976385712624,
0.04008578881621361,
0.008803118020296097,
0.018458150327205658,
-0.032867416739463806,
0.009517626836895943,
0.018531434237957,
-0.05173778533935547,
0.012329861521720886,
0.027865853160619736,
-0.03391169756650925,
0.059322573244571686,
0.05085838958621025,
0.10149692744016647,
-0.014674916863441467,
-0.03325215354561806,
-0.002054213546216488,
0.07936546951532364,
0.010369542054831982,
-0.01044282503426075,
0.054925594478845596,
0.012705436907708645,
-0.009490146301686764,
-0.06349970400333405,
-0.03338039666414261,
0.040708694607019424,
-0.012091691605746746,
-0.05331336706876755,
-0.007543566636741161,
-0.08647391945123672,
-0.06698064506053925,
0.04800035059452057,
0.020482592284679413,
0.03151168301701546,
-0.031145267188549042,
-0.01714821718633175,
-0.018430668860673904,
-0.012650473974645138,
0.05422940477728844,
-0.04180793836712837,
-0.045765221118927,
0.043053749948740005,
-0.004200030583888292,
-0.02379864826798439,
0.01496804878115654,
-0.02119710110127926,
-0.0037168210837990046,
0.033435359597206116,
-0.044665977358818054,
0.043053749948740005,
0.01761539652943611,
0.015471869148314,
0.013135974295437336,
-0.06456230580806732,
0.020720763131976128,
0.0360369049012661,
-0.053240083158016205,
0.04712095484137535,
0.02205817773938179,
0.04103846848011017,
0.02914830483496189,
0.03488269820809364,
-0.004800035152584314,
0.01679096184670925,
0.03299565985798836,
-0.016131415963172913,
0.023707043379545212,
-0.05554850026965141,
0.04045220464468002,
0.01639706641435623,
0.0052672140300273895,
0.009975645691156387,
-0.08156395703554153,
-0.0368063747882843,
-0.03420482948422432,
-0.047230880707502365,
-0.001443903660401702,
-0.048366766422986984,
0.02231466770172119,
-0.025575760751962662,
0.0147298788651824,
-0.0345529243350029,
-0.004060334991663694,
-0.002205359749495983,
-0.02793913520872593,
0.05063853785395622,
-0.01503217127174139,
0.06126457080245018,
0.024000175297260284,
0.06731041520833969,
0.011322220787405968,
-0.041917864233255386,
0.0007729064091108739,
0.013099332340061665,
-0.005175610538572073,
-0.006022945046424866,
-0.021911611780524254,
-0.027133023366332054,
0.0067008123733103275,
-0.028965096920728683,
-0.0489896722137928,
-0.00952678732573986,
0.003574835369363427,
-0.026418514549732208,
0.057014159858226776,
-0.0052672140300273895,
0.03268421068787575,
-0.10435496270656586,
0.030687248334288597,
0.003975601866841316,
0.056024838238954544,
0.04404307156801224,
-0.02737119235098362,
-0.015829123556613922,
0.012100852094590664,
0.002381696831434965,
-0.005551185924559832,
0.07287992537021637,
-0.040708694607019424,
-0.046058353036642075,
-0.03927967697381973,
0.0009349305182695389,
0.0029565102886408567,
-0.019878007471561432,
-0.0036114768590778112,
0.01661691628396511,
0.013529869727790356,
0.05430268868803978,
0.029478078708052635,
-0.035487283021211624,
0.016690198332071304,
-0.015719199553132057,
-0.06170427054166794,
-0.013209257274866104,
-0.03759416937828064,
0.008280976675450802,
-0.04865989834070206,
0.0034122387878596783,
-0.06851958483457565,
0.005363398231565952,
-0.011111531406641006,
0.006847378332167864,
0.026968136429786682,
0.01090084295719862,
-0.030650606378912926,
-0.011935965158045292,
-0.07460207492113113,
0.012219936586916447,
0.028177306056022644,
0.012238257564604282,
0.05796683579683304,
-0.023853609338402748,
0.025740645825862885,
-0.006554246414452791,
0.003279413329437375,
0.0736127495765686,
0.026510117575526237,
-0.01993297040462494,
-0.01840318739414215,
-0.020390989258885384,
0.05225076526403427,
0.02284596860408783,
-0.0019179530208930373,
-0.046534691005945206,
0.03942624479532242,
0.0028717766981571913,
-0.012384823523461819,
-0.02718798629939556,
-0.07570131868124008,
-0.016699358820915222,
0.03942624479532242,
0.01636042445898056,
0.006572567392140627,
-0.01984136737883091,
-0.02097725309431553,
0.035926979035139084,
-0.036348357796669006,
0.03471781313419342,
-0.041771300137043,
-0.0007746240007691085,
-0.053056877106428146,
-0.03554224595427513,
-0.007076387759298086,
-0.008803118020296097,
0.036183472722768784,
-0.11996423453092575,
-0.013145134784281254,
-0.03451628237962723,
-0.06016532704234123,
-0.023816969245672226,
-0.014473388902842999,
0.07178068161010742,
0.028653645887970924,
0.014711557887494564,
0.010048928670585155,
0.04440948739647865,
-0.009847400709986687,
0.04704767465591431,
0.0210138950496912,
0.05529200658202171,
0.0037076608277857304,
0.008624490350484848,
-0.010351221077144146,
0.04664461687207222,
0.05426604673266411,
0.03471781313419342,
0.04679118096828461,
-0.013401624746620655,
-0.027297910302877426,
0.017606236040592194,
0.017587915062904358,
-0.02671164646744728,
-0.032006341964006424,
0.020464271306991577,
-0.053276725113391876,
0.02196657285094261,
-0.005445841234177351,
-0.046278201043605804,
0.020079536363482475,
0.03737432137131691,
0.04704767465591431,
-0.04580186307430267,
0.0025557440239936113,
-0.04668125882744789,
0.08867240697145462,
-0.029075022786855698,
-0.00828555691987276,
0.012732917442917824,
0.056244686245918274,
0.02323070541024208,
0.027774250134825706,
0.006045845802873373,
-0.023871930316090584,
0.0277192872017622,
-0.013328341767191887,
0.05774698778986931,
-0.005331336986273527,
-0.023432232439517975,
0.05261718109250069,
0.012110012583434582,
0.008331358432769775,
0.012787880375981331,
-0.02550247684121132,
0.057893555611371994,
-0.000004812774022866506,
0.023505516350269318,
-0.024549799039959908,
-0.0447392575442791,
-0.0008129830821417272,
0.0033229251857846975,
0.01835738681256771,
0.05060189589858055,
-0.005010723602026701,
0.03231779485940933,
0.04598506912589073,
-0.04338352382183075,
-0.002109175780788064,
0.04789042845368385,
0.05778362974524498
] |
726,158 | penne.core | __exit__ | Exit method for context manager | def __exit__(self, exc_type, exc_value, traceback):
"""Exit method for context manager"""
self.shutdown()
self.is_active = False
| (self, exc_type, exc_value, traceback) | [
0.0767199918627739,
-0.02626974880695343,
0.017321936786174774,
0.022433748468756676,
-0.01859774813055992,
-0.05027899518609047,
-0.01657699979841709,
0.0378119982779026,
0.005616999696940184,
-0.02332424931228161,
0.00034035934368148446,
-0.019145749509334564,
0.005154624581336975,
-0.0020442968234419823,
-0.041134245693683624,
0.02323862351477146,
-0.03056812286376953,
-0.021474748849868774,
-0.009923936799168587,
-0.024334624409675598,
-0.014196624048054218,
0.06445849686861038,
0.035791248083114624,
-0.038805246353149414,
-0.025807373225688934,
0.011379561387002468,
-0.05997174605727196,
-0.0013186249416321516,
0.02058424800634384,
-0.026423873379826546,
-0.05377249792218208,
-0.004546687006950378,
-0.013991123996675014,
0.016354374587535858,
0.046408746391534805,
-0.0003526679356582463,
-0.03406162187457085,
0.05342999845743179,
0.039729997515678406,
0.008065874688327312,
0.022485123947262764,
-0.03969574719667435,
-0.0032730153761804104,
0.020207498222589493,
0.01461618673056364,
0.013614374212920666,
0.026355372741818428,
-0.03152712434530258,
0.047025248408317566,
-0.0351404994726181,
0.011131249368190765,
-0.00475646834820509,
0.035791248083114624,
0.02765687368810177,
-0.009144749492406845,
0.0752129927277565,
0.024848373606801033,
-0.0016097498591989279,
-0.004232015460729599,
-0.07500749826431274,
-0.03269162401556969,
0.03599674627184868,
-0.018203873187303543,
0.009804061613976955,
0.004114280920475721,
-0.023050248622894287,
-0.0471622459590435,
0.025105249136686325,
0.01610606163740158,
0.04325774684548378,
-0.01834087446331978,
-0.0219542495906353,
-0.0458264984190464,
0.029420748353004456,
-0.004300515167415142,
-0.040449246764183044,
-0.060999248176813126,
-0.02027599886059761,
-0.00437329662963748,
-0.015695061534643173,
-0.0219542495906353,
0.037777747958898544,
-0.014110999181866646,
0.07726799696683884,
0.08911849558353424,
-0.00681146839633584,
0.07322649657726288,
-0.03654474765062332,
-0.06254049390554428,
0.05582749843597412,
-0.03240049630403519,
0.05558774620294571,
0.017809998244047165,
0.027708249166607857,
0.06849999725818634,
-0.01691949926316738,
-0.008134374395012856,
0.03299987316131592,
-0.02359824813902378,
-0.07952849566936493,
0.019436873495578766,
-0.016131749376654625,
0.0484979972243309,
-0.008506842888891697,
0.04798424616456032,
0.01395687460899353,
0.00025045310030691326,
-0.024471623823046684,
-0.00858390610665083,
-0.05086124688386917,
-0.07260999828577042,
-0.03623649850487709,
-0.04627174884080887,
-0.010172249749302864,
-0.03983274847269058,
-0.02690337412059307,
-0.05925249680876732,
0.019351249560713768,
0.0077019683085381985,
-0.022348124533891678,
-0.006957030855119228,
0.0255847480148077,
-0.040791746228933334,
-0.01133674941956997,
0.01931699924170971,
0.07130849361419678,
0.006293436978012323,
0.0498337484896183,
-0.0038145934231579304,
0.05596449598670006,
-0.03849699720740318,
0.021560372784733772,
-0.027057498693466187,
-0.01859774813055992,
0.02330712415277958,
-0.0016782499151304364,
0.0295919980853796,
0.01100281160324812,
-0.012552624568343163,
-0.004345468711107969,
-0.006366218440234661,
0.012912249192595482,
-0.05428624525666237,
-0.016654061153531075,
0.028735747560858727,
0.03125312179327011,
-0.012783811427652836,
-0.009444436989724636,
-0.01765587367117405,
-0.03829149901866913,
0.014821686781942844,
0.0002951386559288949,
-0.019077248871326447,
0.051066748797893524,
-0.029112497344613075,
0.047059498727321625,
-0.016439998522400856,
0.017073623836040497,
0.042093247175216675,
-0.05387524515390396,
-0.012321436777710915,
0.0008958515245467424,
-0.025481998920440674,
-0.05627274513244629,
-0.02330712415277958,
0.01576356217265129,
-0.03582549840211868,
0.021406248211860657,
0.04928574711084366,
-0.024334624409675598,
-0.06408174335956573,
0.0032730153761804104,
-0.013528749346733093,
0.006233499851077795,
-0.05144349858164787,
0.07500749826431274,
0.008108686655759811,
-0.0029519216623157263,
-0.01215018704533577,
0.007445093244314194,
0.006558874621987343,
-0.08151499181985855,
-0.0778844952583313,
0.03125312179327011,
0.01365718711167574,
-0.010446249507367611,
0.021046623587608337,
0.025019623339176178,
0.017844248563051224,
-0.0014459921512752771,
-0.007141124457120895,
-0.008262812159955502,
-0.003078218549489975,
0.03431849926710129,
0.027828123420476913,
0.030122872442007065,
-0.011687811464071274,
0.0022455155849456787,
0.024540124461054802,
-0.008464030921459198,
-0.0345582477748394,
0.05151199549436569,
0.009607124142348766,
-0.06558874249458313,
0.052025746554136276,
0.02000199817121029,
0.01602899841964245,
-0.03534599766135216,
-0.0378119982779026,
0.028495999053120613,
-0.00929887406527996,
-0.020036248490214348,
-0.013734249398112297,
0.10665449500083923,
0.0851454958319664,
-0.01461618673056364,
0.03091062232851982,
-0.01195324957370758,
0.0006154296570457518,
0.07802149653434753,
-0.030516747385263443,
-0.03695574775338173,
0.012287186458706856,
0.0049234372563660145,
-0.027673998847603798,
0.021149374544620514,
-0.01584918610751629,
0.016328686848282814,
0.026423873379826546,
-0.01344312448054552,
-0.037777747958898544,
0.020053373649716377,
-0.00814293697476387,
-0.06288299709558487,
-0.011131249368190765,
0.024111999198794365,
0.008164343424141407,
0.013263312168419361,
-0.06295149773359299,
0.005133218597620726,
0.010197936557233334,
-0.021457623690366745,
0.07144549489021301,
-0.06750674545764923,
0.022125499323010445,
0.03127024695277214,
0.05366974696516991,
0.052710745483636856,
0.029454998672008514,
-0.006477531045675278,
0.017827123403549194,
-0.029728997498750687,
0.028838498517870903,
-0.05164899677038193,
-0.016422873362898827,
-0.09192699193954468,
0.019402623176574707,
-0.00708118686452508,
0.04414824768900871,
0.03548299893736839,
0.01765587367117405,
0.043017998337745667,
-0.023135874420404434,
0.07096599787473679,
0.027194498106837273,
-0.00913618691265583,
0.03450687229633331,
-0.03969574719667435,
0.011054187081754208,
-0.0013068515108898282,
0.07815849781036377,
-0.024111999198794365,
-0.037777747958898544,
0.02263924852013588,
-0.057676997035741806,
0.027040373533964157,
-0.03661324828863144,
-0.04380574822425842,
-0.13850699365139008,
-0.00353845302015543,
0.09946199506521225,
0.07836399227380753,
0.004628031048923731,
-0.0006496796268038452,
-0.04589499905705452,
-0.01195324957370758,
-0.011174062266945839,
0.010429124347865582,
0.00622493727132678,
-0.020704124122858047,
-0.06082799658179283,
0.017364749684929848,
-0.005351562052965164,
0.025207998231053352,
0.06216374784708023,
-0.031424373388290405,
-0.07418549805879593,
-0.017124999314546585,
-0.001914788968861103,
0.011054187081754208,
0.04031224921345711,
-0.03794899955391884,
-0.08158349245786667,
0.05223124846816063,
-0.01195324957370758,
0.0631912425160408,
0.07411699742078781,
0.04250424727797508,
0.01147374976426363,
0.06295149773359299,
0.06548599898815155,
0.01667974889278412,
-0.011353874579071999,
-0.038428496569395065,
0.012955062091350555,
-0.02560187317430973,
0.014444936998188496,
-0.04562099650502205,
-0.04260699823498726,
0.06086224690079689,
-0.06726699322462082,
-0.03269162401556969,
0.05483424663543701,
-0.0013571562012657523,
0.015626560896635056,
0.017047936096787453,
0.01929987408220768,
0.04634024575352669,
0.003671171609312296,
-0.0189059991389513,
-0.05986899510025978,
-0.041134245693683624,
-0.012903686612844467,
-0.03240049630403519,
-0.013194811530411243,
-0.017690123990178108,
-0.004114280920475721,
-0.0313044972717762,
0.00547999981790781,
-0.07993949204683304,
0.004961968399584293,
0.01232999935746193,
-0.041031498461961746,
-0.02599574811756611,
-0.05048449710011482,
0.01148231141269207,
0.010137999430298805,
-0.011593624018132687,
0.05397799611091614,
0.02666362375020981,
0.014838811941444874,
0.03925049677491188,
-0.012064562179148197,
0.04955974593758583,
-0.00369899976067245,
-0.050758495926856995,
-0.006558874621987343,
0.012706749141216278,
0.042812496423721313,
-0.03883949667215347,
0.002236953005194664,
0.01602899841964245,
0.002632968593388796,
0.014736061915755272,
0.0022690624464303255,
-0.07555549591779709,
-0.04092874750494957,
0.01115693710744381,
0.005197437014430761,
-0.02197137288749218,
-0.027040373533964157,
-0.03921624645590782,
0.016705436632037163,
0.0030375467613339424,
0.016003310680389404,
-0.02000199817121029,
-0.01924849860370159,
0.006760093383491039,
0.02267349883913994,
0.07754199206829071,
0.028067873790860176,
-0.0015091404784470797,
-0.00674296822398901,
-0.04017524793744087,
-0.04726499691605568,
-0.04483324661850929,
0.00633196858689189,
-0.004996218252927065,
0.030722247436642647,
0.01859774813055992,
0.02293037436902523,
-0.00999243650585413,
0.004546687006950378,
-0.018512124195694923,
-0.005051874555647373,
0.02464287355542183,
0.024865498766303062,
-0.03733249753713608,
0.009555749595165253,
0.018169624730944633,
0.0003577519382815808,
0.10295549035072327,
-0.030379747971892357,
-0.021132249385118484,
0.06980149447917938,
-0.020173247903585434,
0.015874873846769333,
-0.05846474692225456,
0.054697245359420776,
-0.008879312314093113,
-0.07987099885940552,
-0.052436746656894684,
-0.015104249119758606,
-0.05483424663543701,
-0.023050248622894287,
-0.039729997515678406,
0.046408746391534805,
0.01828949898481369,
0.08124099671840668,
0.03582549840211868,
0.02296462282538414,
0.014008249156177044,
0.0156094366684556,
-0.01247556135058403,
-0.04993649572134018,
-0.038085997104644775,
-0.03152712434530258,
-0.02162887342274189,
-0.0027699684724211693,
-0.026560872793197632,
-0.06524624675512314,
-0.026355372741818428,
0.003840280929580331,
0.020104749128222466,
0.014890186488628387,
0.009050562046468258,
-0.04014099761843681,
-0.001827023341320455,
-0.006610249634832144,
0.04531274735927582,
0.018118249252438545,
0.01827237382531166,
0.015515249222517014,
0.02258787304162979,
0.054423246532678604,
-0.014881623908877373,
0.03366774693131447,
0.009024874307215214,
0.04651149734854698,
0.017775749787688255,
-0.021714499220252037,
-0.029780372977256775,
-0.021406248211860657,
0.0046879686415195465,
-0.0007005194784142077,
-0.02789662405848503,
-0.0315956212580204,
0.021149374544620514,
-0.007911749184131622,
0.0022861873731017113,
-0.04127124696969986,
0.023409873247146606,
0.007967405952513218,
-0.01747606135904789,
0.007505030836910009,
0.00945299956947565,
0.03770924732089043,
-0.021097999066114426,
0.032451871782541275,
0.00880224909633398,
-0.006349093280732632,
0.023752372711896896,
-0.011559374630451202,
-0.0011612889356911182,
-0.0042534214444458485,
-0.024831248447299004,
-0.028701499104499817,
0.021097999066114426,
0.0246257483959198,
-0.031783998012542725,
0.022810498252511024,
-0.004919155966490507,
0.054046496748924255,
-0.006079374812543392,
-0.07288399338722229,
-0.035448748618364334,
0.10672299563884735,
-0.0725414976477623,
0.019864998757839203,
0.008485437370836735,
-0.03125312179327011,
-0.017518874257802963,
0.0012297889916226268,
0.00037835544208064675,
0.04890899732708931,
-0.043771497905254364,
-0.06699299812316895,
-0.01798124983906746,
0.03060237318277359,
-0.09706449508666992,
0.008755155839025974,
0.010437686927616596,
-0.013331811875104904,
-0.015318311750888824,
0.028102124109864235,
-0.010523311793804169,
-0.03527749702334404,
-0.00933312438428402,
0.0020528591703623533,
0.0029711872339248657,
0.008793686516582966,
-0.02596149779856205,
0.026184123009443283,
-0.03702424839138985,
0.03534599766135216,
-0.010035249404609203,
-0.04161374643445015,
-0.02327287383377552,
0.06332824379205704,
0.015206999145448208,
0.03952449932694435,
0.03966149687767029,
0.04870349541306496,
-0.008164343424141407,
0.003923765383660793,
-0.05158049613237381,
0.03760649636387825,
0.02493399940431118,
0.02327287383377552,
0.07918599247932434,
0.016114624217152596,
-0.024163372814655304,
-0.029112497344613075,
-0.028187748044729233,
0.018066873773932457,
-0.04051774740219116,
-0.05027899518609047,
-0.04596349596977234,
-0.03195524960756302,
-0.05185449868440628,
0.023084498941898346,
0.03825724869966507,
0.05449174717068672,
-0.033462248742580414,
-0.02491687424480915,
-0.012047437019646168,
-0.0016728983027860522,
0.030379747971892357,
-0.009230374358594418,
-0.007877499796450138,
0.02096099965274334,
-0.013237624429166317,
0.0540122464299202,
0.03260599821805954,
-0.026132747530937195,
-0.0172791238874197,
0.04058624804019928,
0.044079747051000595,
0.014932999387383461,
0.027074623852968216,
-0.026029998436570168,
0.08980349451303482,
-0.014230874367058277,
-0.02995162270963192,
0.0459977462887764,
-0.008845061995089054,
0.004225593525916338,
0.012800936587154865,
0.06767799705266953,
0.002866296796128154,
-0.017339061945676804,
-0.04527849704027176,
0.04291524738073349,
0.003983702976256609,
-0.025070998817682266,
0.04750474542379379,
0.03366774693131447,
0.023752372711896896,
0.02722874842584133,
-0.022878998890519142,
-0.012758124619722366,
-0.037743497639894485,
-0.041750747710466385,
-0.08350149542093277,
-0.029198123142123222,
-0.0034378436394035816,
0.01215018704533577,
0.03431849926710129,
-0.011328186839818954,
0.026029998436570168,
-0.01991637423634529,
0.05490274727344513,
0.0032344842329621315,
-0.08507699519395828,
0.022570747882127762,
-0.0038038904312998056,
0.03029412403702736,
0.03323962166905403,
0.019539624452590942,
0.04459349811077118,
-0.022022748365998268,
0.023444123566150665,
0.02998587302863598,
0.005959499627351761,
0.013177686370909214,
-0.018169624730944633,
-0.02435174770653248,
0.007034093141555786,
-0.053361497819423676,
0.04188774898648262,
-0.04592924565076828,
-0.03890799731016159,
0.03431849926710129,
0.03620224818587303,
0.010000999085605145,
0.01964237354695797,
-0.06497224420309067,
0.01929987408220768,
0.003150999778881669,
0.04127124696969986,
-0.023152997717261314,
0.0027742497622966766,
-0.016748249530792236,
-0.009906811639666557,
-0.010668874718248844,
-0.004632312338799238,
0.041716497391462326,
0.028838498517870903,
-0.04613474756479263,
0.0050390311516821384,
-0.03527749702334404,
0.0036219372414052486,
0.007706249598413706,
-0.03829149901866913,
0.014881623908877373,
0.04918299615383148,
0.022193998098373413,
0.04233299568295479,
-0.007445093244314194,
-0.014855936169624329,
0.038702499121427536,
-0.04017524793744087,
0.03767499700188637,
-0.03152712434530258,
-0.036099497228860855,
-0.054731495678424835,
0.043360497802495956,
-0.03931899741292,
0.049696747213602066,
-0.05815649777650833,
-0.0020079060923308134,
0.03156137466430664,
-0.03222924843430519,
-0.030516747385263443,
-0.06154724583029747,
-0.07185649871826172,
-0.006212093401700258,
0.007881781086325645,
-0.009110499173402786,
0.03620224818587303,
-0.05065574869513512,
0.010446249507367611,
-0.05829349532723427,
0.01097712479531765,
0.07363749295473099,
-0.0010633553611114621,
-0.015164186246693134,
0.019162874668836594,
-0.01512993685901165,
0.011251124553382397,
0.032451871782541275,
-0.02029312402009964,
-0.06130749732255936,
-0.019128624349832535,
-0.06486949324607849,
-0.009059124626219273,
-0.029403623193502426,
-0.0399012491106987,
-0.03200662136077881,
0.034763749688863754,
-0.006712999660521746,
0.024094874039292336,
-0.02758837305009365,
0.0015754998894408345,
0.07692549377679825,
0.04034649580717087,
-0.023221498355269432,
-0.0004869921540375799,
0.0024809841997921467,
-0.07624049484729767,
-0.023718124255537987,
-0.0023932186886668205,
-0.02024174854159355,
0.004302655812352896,
-0.11925849318504333,
-0.010840124450623989,
-0.044113997370004654,
-0.06486949324607849,
-0.0037546560633927584,
-0.024163372814655304,
0.03186962381005287,
-0.010043811984360218,
0.04798424616456032,
-0.011054187081754208,
0.027434248477220535,
0.012201561592519283,
-0.00448674988001585,
-0.029420748353004456,
0.049114495515823364,
0.010052374564111233,
0.0286329984664917,
0.029420748353004456,
0.02657799795269966,
0.03406162187457085,
0.012612561695277691,
0.0026179843116551638,
-0.07384299486875534,
-0.019864998757839203,
0.04418249800801277,
0.004850655794143677,
-0.0023696718271821737,
0.004880624823272228,
0.005527093540877104,
-0.05596449598670006,
0.009838311932981014,
-0.028358997777104378,
-0.04127124696969986,
0.02626974880695343,
0.04897749796509743,
0.057676997035741806,
-0.06462974846363068,
-0.08226849138736725,
-0.06908224523067474,
0.08452899754047394,
-0.026201248168945312,
-0.02827337384223938,
0.02323862351477146,
0.03592824935913086,
-0.002823484130203724,
0.017518874257802963,
-0.007256718352437019,
-0.04729924723505974,
-0.006477531045675278,
0.01179912406951189,
0.06963024288415909,
0.0027935155667364597,
-0.01481312420219183,
0.07089749723672867,
0.019882123917341232,
-0.005218843463808298,
0.042435746639966965,
-0.009187562391161919,
0.05945799499750137,
0.04880624637007713,
0.0313044972717762,
-0.03313687443733215,
-0.004473906010389328,
0.0009563241619616747,
-0.02159462310373783,
0.02491687424480915,
0.03928474709391594,
-0.002091390546411276,
-0.0002911249757744372,
-0.009530061855912209,
0.055039748549461365,
0.006691593211144209,
0.03524324670433998,
0.03498637303709984
] |
726,159 | penne.core | __init__ | Constructor for the Client Class
Args:
url (string):
address used to connect to server
custom_delegate_hash (dict):
map for new delegates to be used on client
on_connected (Callable):
callback function to run once client is set up
strict (bool):
flag for strict data validation and throwing hard exceptions
json (str):
path for outputting json log of messages
| def __init__(self, url: str, custom_delegate_hash: dict[Type[delegates.Delegate], Type[delegates.Delegate]] = None,
on_connected=None, strict=False, json=None):
"""Constructor for the Client Class
Args:
url (string):
address used to connect to server
custom_delegate_hash (dict):
map for new delegates to be used on client
on_connected (Callable):
callback function to run once client is set up
strict (bool):
flag for strict data validation and throwing hard exceptions
json (str):
path for outputting json log of messages
"""
if not custom_delegate_hash:
custom_delegate_hash = {}
self._url = url
self._loop = asyncio.new_event_loop()
self.on_connected = on_connected
self.delegates = delegates.default_delegates.copy()
self.strict = strict
self.thread = threading.Thread(target=self._start_communication_thread)
self.connection_established = threading.Event()
self._socket = None
self.name = "Python Client"
self.state = {}
self.client_message_map = {
"intro": 0,
"invoke": 1
}
self.server_messages = [
HandleInfo(delegates.Method, "create"),
HandleInfo(delegates.Method, "delete"),
HandleInfo(delegates.Signal, "create"),
HandleInfo(delegates.Signal, "delete"),
HandleInfo(delegates.Entity, "create"),
HandleInfo(delegates.Entity, "update"),
HandleInfo(delegates.Entity, "delete"),
HandleInfo(delegates.Plot, "create"),
HandleInfo(delegates.Plot, "update"),
HandleInfo(delegates.Plot, "delete"),
HandleInfo(delegates.Buffer, "create"),
HandleInfo(delegates.Buffer, "delete"),
HandleInfo(delegates.BufferView, "create"),
HandleInfo(delegates.BufferView, "delete"),
HandleInfo(delegates.Material, "create"),
HandleInfo(delegates.Material, "update"),
HandleInfo(delegates.Material, "delete"),
HandleInfo(delegates.Image, "create"),
HandleInfo(delegates.Image, "delete"),
HandleInfo(delegates.Texture, "create"),
HandleInfo(delegates.Texture, "delete"),
HandleInfo(delegates.Sampler, "create"),
HandleInfo(delegates.Sampler, "delete"),
HandleInfo(delegates.Light, "create"),
HandleInfo(delegates.Light, "update"),
HandleInfo(delegates.Light, "delete"),
HandleInfo(delegates.Geometry, "create"),
HandleInfo(delegates.Geometry, "delete"),
HandleInfo(delegates.Table, "create"),
HandleInfo(delegates.Table, "update"),
HandleInfo(delegates.Table, "delete"),
HandleInfo(delegates.Document, "update"),
HandleInfo(delegates.Document, "reset"),
HandleInfo(delegates.Signal, "invoke"),
HandleInfo(delegates.Method, "reply"),
HandleInfo(delegates.Document, "initialized")
]
self._current_invoke = 0
self.callback_map = {}
self.callback_queue = queue.Queue()
self.is_active = False
self.json = json
if json:
with open(json, "w") as outfile: # Clear out old contents
outfile.write("JSON Log\n")
# Hook up delegate map to customs
self.delegates.update(custom_delegate_hash)
# Add document delegate as starting element in state
self.state["document"] = self.delegates[delegates.Document](client=self)
| (self, url: str, custom_delegate_hash: Optional[dict[Type[penne.delegates.Delegate], Type[penne.delegates.Delegate]]] = None, on_connected=None, strict=False, json=None) | [
-0.03391704708337784,
-0.04511682316660881,
-0.062154777348041534,
-0.006309802178293467,
-0.003971551079303026,
0.012877754867076874,
-0.05131244286894798,
0.09078966081142426,
-0.009104780852794647,
-0.03391704708337784,
-0.004319061990827322,
0.06187677010893822,
-0.05111386626958847,
-0.00502897659316659,
-0.039556652307510376,
-0.006145975552499294,
-0.0008563657174818218,
0.02313428558409214,
-0.032030560076236725,
-0.09412576258182526,
-0.051352158188819885,
0.05536342412233353,
0.04376649484038353,
0.03540638089179993,
-0.005947398021817207,
0.005520456470549107,
-0.034393634647130966,
0.022895993664860725,
0.08856559544801712,
-0.02180381678044796,
-0.03707443177700043,
-0.010882050730288029,
0.023372579365968704,
0.012768537737429142,
0.0001902000658446923,
-0.010425321757793427,
-0.0007831402472220361,
-0.0023667963687330484,
-0.052662771195173264,
-0.009541652165353298,
-0.03776945173740387,
-0.022598126903176308,
-0.01814998872578144,
0.012004014104604721,
0.018725864589214325,
0.06350510567426682,
-0.0432899072766304,
0.1015128493309021,
-0.015697555616497993,
-0.050676994025707245,
-0.062472499907016754,
0.005589958280324936,
0.0014148651389405131,
0.052027322351932526,
-0.03725315257906914,
0.05504570156335831,
-0.0072133298963308334,
0.0382261797785759,
-0.05178903043270111,
-0.028495879843831062,
-0.08967762440443039,
0.017405323684215546,
0.023193858563899994,
-0.001502983970567584,
-0.0046045174822211266,
-0.04380621016025543,
-0.020076191052794456,
0.020830785855650902,
0.04595084860920906,
-0.009839517995715141,
0.053377650678157806,
0.04023181274533272,
0.0633462443947792,
-0.02877388894557953,
0.02543778531253338,
-0.013284838758409023,
-0.049326665699481964,
0.027582423761487007,
-0.0011759515618905425,
0.023531440645456314,
0.009516829624772072,
-0.011835223063826561,
0.01832870952785015,
-0.01683937758207321,
0.052662771195173264,
-0.013533061370253563,
0.01073311734944582,
0.015538694337010384,
-0.0815756618976593,
-0.016928737983107567,
-0.05027984082698822,
0.001787198125384748,
-0.02897246740758419,
-0.020205266773700714,
-0.04412393644452095,
-0.02063220925629139,
-0.01006788294762373,
-0.034552495926618576,
0.05754777789115906,
-0.008836701512336731,
-0.01797126978635788,
0.01732589304447174,
-0.05675346776843071,
-0.012877754867076874,
-0.006275050807744265,
-0.06279022246599197,
-0.011606859043240547,
-0.009576402604579926,
-0.020016618072986603,
0.04056939482688904,
0.008389902301132679,
-0.029687345027923584,
0.04396507143974304,
0.025000914931297302,
0.04213815927505493,
0.008628195151686668,
-0.017762763425707817,
-0.03012421727180481,
-0.0010592872276902199,
-0.02915118634700775,
0.008876416832208633,
0.016223786398768425,
-0.036339692771434784,
0.028595170006155968,
-0.00558002945035696,
0.025556933134794235,
0.012917470186948776,
0.00975015852600336,
0.04340905696153641,
-0.06346538662910461,
-0.008509048260748386,
0.021684670820832253,
0.03562481328845024,
0.09134568274021149,
0.01915280520915985,
0.0599307082593441,
-0.076492078602314,
-0.03806731849908829,
-0.03671699017286301,
0.01582663133740425,
0.018934370949864388,
-0.014019575901329517,
0.017345750704407692,
0.00690057035535574,
0.007267938926815987,
0.02128751575946808,
-0.06572917103767395,
-0.033698610961437225,
-0.06711921840906143,
-0.03465178608894348,
0.027761142700910568,
-0.01894429884850979,
-0.024405183270573616,
0.016184071078896523,
-0.05560171976685524,
0.003246743232011795,
-0.05178903043270111,
-0.03548581153154373,
-0.01999676041305065,
0.0014235528651624918,
-0.021585380658507347,
-0.02378959208726883,
0.051352158188819885,
-0.020910218358039856,
-0.03359932452440262,
0.0103955352678895,
0.038186464458703995,
-0.09047193825244904,
-0.026589535176753998,
0.06767523288726807,
-0.06207534670829773,
0.05214646831154823,
-0.03514822944998741,
0.002854552585631609,
-0.01596563681960106,
0.03641912341117859,
0.028674600645899773,
0.0032144743017852306,
-0.040192097425460815,
-0.014883388765156269,
-0.009472149424254894,
-0.040867261588573456,
-0.024087458848953247,
0.019540032371878624,
0.027880290523171425,
0.0466260127723217,
0.058699529618024826,
0.0009798561222851276,
0.06970072537660599,
-0.017891839146614075,
-0.08133736997842789,
0.019262023270130157,
0.06012928485870361,
0.001047496683895588,
0.06378311663866043,
0.027880290523171425,
0.026827828958630562,
0.022717272862792015,
0.011716076172888279,
-0.0257753673940897,
-0.044362228363752365,
-0.004964439198374748,
0.023054854944348335,
-0.027185268700122833,
-0.03433405980467796,
-0.04622885584831238,
0.015945779159665108,
0.03393690660595894,
-0.01748475432395935,
-0.030402224510908127,
-0.021724386140704155,
-0.00815160945057869,
0.033559609204530716,
0.02696683257818222,
0.09396690130233765,
-0.0798678994178772,
0.03477093204855919,
0.028535595163702965,
0.02482219599187374,
-0.004507710691541433,
0.03425462916493416,
0.04976353794336319,
-0.047221746295690536,
-0.060685303062200546,
-0.05441025272011757,
0.0031747587490826845,
0.0005830113077536225,
-0.003792831441387534,
0.02962777204811573,
-0.014863531105220318,
-0.009968593716621399,
0.0383056104183197,
0.010276389308273792,
0.06970072537660599,
0.027165411040186882,
0.009705478325486183,
-0.016869163140654564,
-0.013880571350455284,
-0.019023731350898743,
-0.003907013684511185,
0.014724526554346085,
-0.02793986350297928,
0.05170959606766701,
-0.05639602988958359,
0.004994225688278675,
0.03381776064634323,
0.07367227971553802,
-0.0002662180340848863,
-0.02927033230662346,
0.021922962740063667,
-0.010455109179019928,
-0.016551440581679344,
0.004326508846133947,
-0.03397662192583084,
-0.018507428467273712,
-0.06576889008283615,
0.03614111617207527,
0.003380783135071397,
-0.014605379663407803,
0.024008028209209442,
-0.014605379663407803,
0.036359552294015884,
-0.03631983697414398,
0.08888331800699234,
0.01281818188726902,
-0.03179226815700531,
0.030878812074661255,
0.012430955655872822,
-0.017186887562274933,
0.011686289682984352,
0.09833560883998871,
0.02216125652194023,
0.02482219599187374,
-0.0008414724143221974,
-0.04289275407791138,
-0.05560171976685524,
-0.013374199159443378,
-0.03407590836286545,
-0.07033617049455643,
-0.02146623469889164,
0.015896134078502655,
0.022756988182663918,
0.046864304691553116,
0.01647200807929039,
0.0008507807506248355,
-0.047857191413640976,
0.03774959594011307,
0.018596788868308067,
-0.005510527174919844,
-0.04841320961713791,
0.03010435961186886,
-0.016352862119674683,
0.014684811234474182,
0.0020366611424833536,
-0.026847686618566513,
-0.00137390848249197,
-0.08578550815582275,
0.035009223967790604,
-0.0039194244891405106,
-0.05099472030997276,
-0.00607150886207819,
0.0036960248835384846,
0.03894105926156044,
-0.0499621145427227,
-0.015518836677074432,
-0.07287796586751938,
-0.01505217980593443,
0.023690303787589073,
-0.017723048105835915,
-0.019053516909480095,
0.014516020193696022,
-0.04424308240413666,
0.0399140901863575,
-0.011517498642206192,
-0.001725142588838935,
0.04960467666387558,
0.0042371489107608795,
-0.00966576300561428,
0.06473628431558609,
0.09468178451061249,
-0.06513343751430511,
0.04047010838985443,
-0.014506091363728046,
0.03755101561546326,
0.03598225489258766,
-0.024266177788376808,
0.027761142700910568,
0.015290472656488419,
-0.0366574190557003,
0.008633160032331944,
-0.04027153179049492,
-0.0070693613961339,
-0.0383056104183197,
-0.05508541688323021,
-0.005823287181556225,
-0.009387753903865814,
0.004964439198374748,
-0.01264939084649086,
0.021525807678699493,
-0.026827828958630562,
-0.0033435497898608446,
0.00690057035535574,
0.008995563723146915,
0.032705724239349365,
0.0008948401664383709,
-0.029528483748435974,
0.016730159521102905,
0.004500263836234808,
0.02182367444038391,
-0.025358354672789574,
0.02063220925629139,
-0.0032616364769637585,
0.005570100620388985,
0.058500949293375015,
0.059851277619600296,
-0.05214646831154823,
-0.0007378397858701646,
-0.07939130812883377,
-0.0024065119214355946,
-0.029091613367199898,
-0.01547912135720253,
0.02613280713558197,
-0.023015139624476433,
0.004574730526655912,
-0.04045024886727333,
0.004691394977271557,
0.04698345065116882,
-0.038365185260772705,
0.05111386626958847,
-0.008811878971755505,
-0.02478248067200184,
-0.061519328504800797,
-0.03544609621167183,
0.057190340012311935,
-0.00815657339990139,
-0.012490528635680676,
-0.0004613825585693121,
0.019202450290322304,
-0.021565522998571396,
0.000035449196730041876,
-0.01782233640551567,
0.007218294311314821,
0.01915280520915985,
-0.015935849398374557,
0.01864643394947052,
-0.03526737540960312,
-0.0035446095280349255,
0.017693260684609413,
-0.011666432023048401,
0.03391704708337784,
0.01863650418817997,
-0.01365220732986927,
-0.042376451194286346,
-0.026390958577394485,
0.015330187976360321,
-0.020513063296675682,
0.04261474683880806,
0.05726977065205574,
-0.00899059884250164,
-0.0482146330177784,
0.00004793786501977593,
-0.014456446282565594,
0.0216052383184433,
0.05020040646195412,
0.024861911311745644,
0.07192479074001312,
0.09897106140851974,
0.023849165067076683,
0.06211506202816963,
-0.004041053354740143,
0.021347088739275932,
-0.0191329475492239,
-0.06612633168697357,
0.0141387227922678,
-0.010951552540063858,
0.010941623710095882,
-0.015469192527234554,
0.004686430562287569,
0.01049482449889183,
0.04456080496311188,
0.013552919030189514,
0.08236997574567795,
0.03379790112376213,
0.041184987872838974,
0.039715513586997986,
-0.00039343180833384395,
-0.03344046324491501,
0.01929181069135666,
0.011835223063826561,
0.011090557090938091,
0.018239349126815796,
-0.0018281546654179692,
0.0004666572785936296,
-0.03810703381896019,
-0.0120536582544446,
0.02529878169298172,
-0.011130272410809994,
-0.014913175255060196,
0.021764101460576057,
0.024166889488697052,
-0.032864585518836975,
0.010723188519477844,
-0.025854798033833504,
-0.0075558763928711414,
0.02363073080778122,
-0.033043306320905685,
0.009765051305294037,
-0.015330187976360321,
0.0449579618871212,
-0.003447802970185876,
-0.0449182465672493,
0.0482940636575222,
-0.005738891661167145,
0.0005079241818748415,
-0.024047743529081345,
-0.004162682220339775,
0.03548581153154373,
0.016074853017926216,
-0.027661854401230812,
-0.03359932452440262,
0.032229140400886536,
-0.027423562481999397,
-0.020910218358039856,
0.0166507288813591,
-0.03949707746505737,
0.02980649285018444,
0.07089219242334366,
0.007878565229475498,
-0.03707443177700043,
0.010961481370031834,
0.07629349827766418,
0.024921484291553497,
-0.006597739644348621,
-0.019778326153755188,
-0.0064488062635064125,
-0.030561087653040886,
0.03409576788544655,
-0.0399140901863575,
-0.03139511123299599,
-0.031534116715192795,
-0.01933152601122856,
-0.023849165067076683,
0.004420833196491003,
-0.013016759417951107,
-0.04730117693543434,
0.01288768369704485,
0.017375536262989044,
-0.05313935503363609,
0.04174100235104561,
-0.038365185260772705,
0.003971551079303026,
0.033063165843486786,
0.036697134375572205,
-0.012063587084412575,
0.033222027122974396,
0.012291951104998589,
-0.05047841742634773,
0.0013006830122321844,
0.002444986253976822,
-0.03850419074296951,
-0.004122966900467873,
-0.014873459935188293,
-0.024087458848953247,
0.01683937758207321,
0.032527003437280655,
-0.02480233833193779,
-0.03850419074296951,
0.029349764809012413,
-0.05174931138753891,
-0.013175621628761292,
-0.0069899302907288074,
0.026927117258310318,
-0.029369622468948364,
-0.0007279108976945281,
-0.025179635733366013,
-0.03381776064634323,
-0.01613442786037922,
0.020592493936419487,
-0.027165411040186882,
-0.04015238210558891,
0.07923244684934616,
0.05921582877635956,
0.0073572988621890545,
-0.008027497678995132,
-0.025219351053237915,
-0.00745162321254611,
0.01439687330275774,
-0.006354481913149357,
0.04809548705816269,
0.008231040090322495,
0.0015687627019360662,
0.008295577950775623,
-0.015677697956562042,
-0.010554397478699684,
0.011229561641812325,
-0.020046405494213104,
0.03510851413011551,
-0.05671375244855881,
-0.0274632778018713,
-0.020413773134350777,
0.027562566101551056,
0.05123301222920418,
-0.09102795273065567,
-0.11898767948150635,
0.009725335985422134,
-0.03763044998049736,
0.0748240277171135,
-0.0034999295603483915,
-0.0033956763800233603,
-0.024901626631617546,
0.010052989237010479,
-0.00033540991717018187,
0.033559609204530716,
-0.0141387227922678,
-0.028396591544151306,
-0.008116858080029488,
0.03030293621122837,
-0.06862840801477432,
0.02482219599187374,
-0.0019373723771423101,
-0.04015238210558891,
-0.018934370949864388,
-0.10905879735946655,
-0.007913315668702126,
0.030044784769415855,
0.05556200072169304,
0.07573748379945755,
0.05794493481516838,
0.005426132120192051,
-0.008434581570327282,
-0.009556544944643974,
0.05695204436779022,
0.030819237232208252,
-0.005227554589509964,
-0.02748313546180725,
0.023432152345776558,
-0.0003835029201582074,
-0.039536792784929276,
0.04710259661078453,
-0.023352721706032753,
0.08507062494754791,
0.005287127569317818,
-0.036379408091306686,
-0.05770663917064667,
-0.004542461596429348,
0.037511300295591354,
0.011954369023442268,
0.015270614996552467,
0.030044784769415855,
-0.058659810572862625,
-0.03774959594011307,
0.004584659356623888,
-0.06640433520078659,
-0.012262164615094662,
-0.0017040437087416649,
0.07867643237113953,
0.05409253016114235,
0.05107415094971657,
0.012272093445062637,
0.02265769988298416,
-0.08435574918985367,
0.03312273696064949,
-0.01848757080733776,
-0.051352158188819885,
0.0274632778018713,
-0.008236004039645195,
-0.05723005533218384,
0.02895260974764824,
-0.01731596328318119,
-0.005753784906119108,
0.010911837220191956,
0.028019294142723083,
0.003529716283082962,
-0.04424308240413666,
0.006801281590014696,
-0.016194000840187073,
-0.03673684969544411,
0.058699529618024826,
0.024921484291553497,
0.04289275407791138,
0.0565548911690712,
-0.0465862974524498,
-0.02049320377409458,
-0.03727300837635994,
-0.0683503970503807,
-0.01866629160940647,
0.0006366893067024648,
-0.01949038729071617,
-0.04948553070425987,
-0.0013888018438592553,
0.029588056728243828,
-0.02212154120206833,
0.003974033519625664,
0.010167171247303486,
0.06120160594582558,
0.004147788975387812,
0.029230616986751556,
0.0067665306851267815,
0.022538553923368454,
-0.018040772527456284,
0.042336735874414444,
-0.06008956953883171,
0.008464368991553783,
-0.10302203893661499,
-0.021426519379019737,
0.062472499907016754,
0.03240785747766495,
-0.014595450833439827,
0.03816660866141319,
-0.002512006089091301,
-0.007943102158606052,
0.08300542086362839,
-0.012708963826298714,
0.028515737503767014,
0.03310288116335869,
0.03276529908180237,
-0.03310288116335869,
-0.010514682158827782,
0.047499753534793854,
0.047499753534793854,
-0.013016759417951107,
0.03626026213169098,
0.04356791824102402,
-0.027026405557990074,
0.01490324642509222,
-0.0026063304394483566,
0.004060911014676094,
0.008111893199384212,
0.06179733946919441,
0.025378212332725525,
0.01829892210662365,
0.00017142828437499702,
0.011636645533144474,
0.026390958577394485,
0.021525807678699493,
0.01080261915922165,
0.020731497555971146,
-0.02029462717473507,
0.032725583761930466,
-0.02946891076862812,
-0.042694177478551865,
0.047539468854665756,
-0.06425970047712326,
-0.027165411040186882,
0.001742518157698214,
-0.0026956903748214245,
0.05536342412233353,
-0.0033087986521422863,
0.029846208170056343,
-0.04213815927505493,
-0.007888494059443474,
0.012321737594902515,
-0.003755598096176982,
0.012857897207140923,
-0.042177874594926834,
-0.05794493481516838,
-0.03193127363920212,
-0.10397521406412125,
-0.08229054510593414,
-0.00932818092405796,
0.08101964741945267,
-0.011596929281949997,
-0.018030842766165733,
-0.013374199159443378,
0.03631983697414398,
0.03344046324491501,
-0.030223505571484566,
0.003251707646995783,
0.01795141212642193,
-0.002876892453059554,
0.041661571711301804,
0.002442504046484828,
0.0683106854557991,
0.05675346776843071,
-0.015469192527234554,
0.018418069928884506,
0.006836032494902611,
0.03179226815700531,
-0.0013503273949027061,
-0.0022091753780841827,
-0.06350510567426682,
-0.01373163890093565,
0.03246743232011795,
0.013513202778995037,
0.07387085258960724,
-0.020433630794286728,
-0.010931694880127907,
-0.025219351053237915,
-0.0024077529087662697,
-0.005426132120192051,
0.0012404891895130277,
-0.03727300837635994,
-0.07005816698074341,
0.013920287601649761,
-0.009204070083796978,
-0.059851277619600296,
0.10095683485269547,
-0.026827828958630562,
-0.01449616253376007,
0.0465862974524498,
-0.0731956884264946,
-0.047817476093769073,
-0.0009469667566008866,
0.02946891076862812,
-0.033361032605171204,
-0.004902383778244257,
0.027701569721102715,
0.02861502766609192,
0.011150130070745945,
-0.010286318138241768,
0.034572355449199677,
0.01862657628953457,
-0.03840490058064461,
0.0182790644466877,
-0.006960143800824881,
-0.03679642081260681,
-0.018715934827923775,
0.004567284137010574,
-0.006562988273799419,
-0.035048939287662506,
-0.007461552042514086,
0.02462361752986908,
0.02944905310869217,
0.003033272223547101,
-0.0019249612232670188,
0.05027984082698822,
-0.003095327876508236,
0.02529878169298172
] |
726,160 | penne.core | _log_json | null | def _log_json(self, message: list):
json_message = json.dumps(message, default=default_json_encoder)
formatted_message = f"{json_message}\n"
with open(self.json, "a") as outfile:
outfile.write(formatted_message)
| (self, message: list) | [
-0.03896922245621681,
0.0016149643342942,
-0.033087074756622314,
0.03506529703736305,
0.02785266377031803,
-0.04551661014556885,
-0.06634921580553055,
0.02289835549890995,
0.045411571860313416,
-0.017488881945610046,
-0.00013157144712749869,
-0.029008086770772934,
-0.028833022341132164,
-0.021988024935126305,
-0.02566436491906643,
0.006971919443458319,
-0.009584748186171055,
0.002411504974588752,
0.007243268191814423,
0.08879240602254868,
-0.002055906457826495,
-0.024246348068118095,
0.03900423273444176,
0.09096319228410721,
0.01001365389674902,
-0.00793914683163166,
0.002367739100009203,
0.0035559851676225662,
0.07212632149457932,
0.0056458101607859135,
-0.0787087231874466,
-0.0957249328494072,
0.009558488614857197,
0.05388466268777847,
-0.01227197889238596,
0.037428658455610275,
-0.02618955820798874,
0.01796155422925949,
-0.10650886595249176,
0.009698539040982723,
-0.03177409619092941,
0.06827491521835327,
-0.07352682948112488,
-0.006967542693018913,
0.061727527529001236,
0.028762996196746826,
-0.005501382518559694,
0.10468820482492447,
0.009348411113023758,
0.011729280464351177,
-0.04884282499551773,
-0.021655403077602386,
-0.023441053926944733,
0.015738243237137794,
-0.029988443478941917,
-0.0023699274752289057,
0.06410839408636093,
-0.06372325122356415,
-0.030986307188868523,
-0.022600747644901276,
-0.053989700973033905,
-0.010267497040331364,
0.019904764369130135,
-0.0422954335808754,
0.0015799516113474965,
-0.001646694727241993,
-0.01796155422925949,
0.04555162414908409,
0.015650711953639984,
0.013689995743334293,
0.006578025408089161,
-0.028307830914855003,
0.005405097268521786,
0.001832700101658702,
-0.03468015417456627,
0.034487586468458176,
-0.014390251599252224,
0.06547389179468155,
-0.02783515863120556,
-0.006534259766340256,
0.0001724652829580009,
-0.0751374214887619,
0.021550364792346954,
0.06599908322095871,
-0.022005530074238777,
-0.0466720312833786,
-0.0318441204726696,
0.030986307188868523,
-0.05006827041506767,
-0.005895276553928852,
0.003028605133295059,
0.014285213313996792,
-0.038899194449186325,
0.03658835217356682,
-0.04768740385770798,
-0.030566154047846794,
-0.024526450783014297,
-0.004652322735637426,
0.014897936955094337,
0.0695703849196434,
0.0029410733841359615,
0.0475473515689373,
0.01097650546580553,
-0.041945308446884155,
-0.003680718131363392,
-0.07331675291061401,
0.010775182396173477,
0.022408178076148033,
-0.040649835020303726,
0.0880921483039856,
-0.02498161606490612,
0.02801022119820118,
0.011221595108509064,
-0.0698854997754097,
0.06820488721132278,
0.04880781099200249,
0.03305206075310707,
-0.030583661049604416,
0.06242778152227402,
-0.008565000258386135,
0.048527710139751434,
-0.004556037485599518,
0.04001960530877113,
0.002490283688530326,
-0.014171421527862549,
-0.02949826419353485,
-0.03513532131910324,
0.00028776127146556973,
0.052939318120479584,
-0.02991841733455658,
-0.0010766428895294666,
0.024526450783014297,
0.030461115762591362,
-0.002226593904197216,
0.04439620301127434,
-0.03154651075601578,
-0.07814852148294449,
-0.02195301093161106,
0.016841145232319832,
0.07527747005224228,
0.017532648518681526,
-0.0014016052009537816,
-0.000026823754524230026,
-0.028167778626084328,
0.044186126440763474,
-0.0020777895115315914,
0.0012068466749042273,
0.03562550246715546,
-0.026662230491638184,
-0.038899194449186325,
0.010967752896249294,
0.017760232090950012,
-0.05742095410823822,
-0.018014073371887207,
0.006048457231372595,
-0.06330309808254242,
-0.03686845302581787,
-0.014906689524650574,
-0.03669339045882225,
0.0042168512009084225,
0.030216027051210403,
-0.018871886655688286,
0.018521759659051895,
0.04278561472892761,
-0.00030225873342715204,
0.029953431338071823,
0.0077422005124390125,
0.034295015037059784,
-0.04649696871638298,
0.028430374339222908,
-0.014416511170566082,
-0.005387591198086739,
-0.0056851995177567005,
0.0581212118268013,
0.004359090700745583,
0.028850529342889786,
0.014057629741728306,
0.05101361498236656,
0.012648365460336208,
-0.01883687451481819,
-0.04597177729010582,
-0.0006094411364756525,
0.05535520240664482,
0.060502078384160995,
0.016639823094010353,
-0.03224676847457886,
-0.01590455323457718,
-0.00795227661728859,
-0.005138125270605087,
0.026259582489728928,
-0.02939322590827942,
0.02653968520462513,
-0.009663526900112629,
-0.05150379613041878,
0.028920553624629974,
0.01457406859844923,
-0.018171630799770355,
-0.06729456037282944,
0.012420782819390297,
-0.01675361394882202,
-0.09355413913726807,
-0.009917369112372398,
-0.0028425997588783503,
-0.06088722124695778,
0.025436783209443092,
0.01509926002472639,
0.042015332728624344,
-0.00004441562123247422,
-0.0016368473879992962,
-0.03826896473765373,
-0.009129581972956657,
0.04352088272571564,
-0.001026859157718718,
-0.002827281830832362,
0.03341969475150108,
-0.038303978741168976,
0.016639823094010353,
0.0006526600336655974,
-0.03452259674668312,
0.0075890193693339825,
0.0010870372643694282,
0.012464548461139202,
-0.05188893526792526,
0.015536920167505741,
-0.0407898873090744,
0.02513917349278927,
0.05265921726822853,
-0.008175483904778957,
0.024333879351615906,
0.02160288393497467,
-0.013453659601509571,
0.027467524632811546,
-0.0028863658662885427,
-0.010967752896249294,
-0.05444486811757088,
0.0159220602363348,
-0.014320225454866886,
-0.058576375246047974,
0.016727354377508163,
0.008079198189079762,
0.04043975844979286,
-0.06036202982068062,
-0.022513216361403465,
0.02141031250357628,
0.03973950073122978,
-0.02801022119820118,
0.030461115762591362,
0.03441755846142769,
0.02767760120332241,
0.016420992091298103,
0.03095129504799843,
0.06743460893630981,
-0.024701515212655067,
0.021112704649567604,
0.016175903379917145,
-0.10482825338840485,
0.08059941232204437,
0.008801337331533432,
-0.0016838957089930773,
-0.0030242286156862974,
-0.008302404545247555,
-0.01855677179992199,
-0.002082166029140353,
0.013654982671141624,
-0.036133185029029846,
-0.028412869200110435,
-0.025349250063300133,
-0.013348621316254139,
-0.006346066016703844,
0.08858232945203781,
0.007816602475941181,
-0.025646859779953957,
0.05013829842209816,
-0.03956443816423416,
-0.020412448793649673,
-0.005934665910899639,
-0.01568572409451008,
-0.0075758895836770535,
-0.023020900785923004,
0.01675361394882202,
-0.013637476600706577,
0.0062760403379797935,
0.05511011183261871,
0.0034990895073860884,
0.023388534784317017,
0.001329391379840672,
0.05062847584486008,
0.06452854722738266,
-0.01739259622991085,
-0.04187528043985367,
0.03928433731198311,
0.03573054075241089,
-0.019974788650870323,
0.028430374339222908,
-0.03123139776289463,
-0.005715835839509964,
0.039949577301740646,
0.010757675394415855,
0.04415111243724823,
-0.011221595108509064,
0.007956653833389282,
0.01839921437203884,
0.07562759518623352,
-0.048002518713474274,
-0.052344102412462234,
-0.015466894023120403,
-0.05966177210211754,
-0.010503833182156086,
-0.048177581280469894,
-0.007173242513090372,
-0.01642974652349949,
0.031266409903764725,
-0.01873183622956276,
0.056160494685173035,
0.01609712466597557,
0.09152340143918991,
-0.004440058022737503,
-0.0005623927572742105,
0.037848811596632004,
0.014547809027135372,
0.017471374943852425,
0.0073045408353209496,
0.004547284450381994,
-0.004787997342646122,
0.04597177729010582,
-0.07527747005224228,
0.019204508513212204,
0.04502643272280693,
0.0052956826984882355,
0.0031795979011803865,
0.03711354359984398,
-0.05118868127465248,
-0.01831168308854103,
0.02879801020026207,
0.02239067107439041,
0.026347115635871887,
-0.0007117441273294389,
-0.011562969535589218,
0.024176321923732758,
0.016289694234728813,
-0.07821854203939438,
-0.022320644930005074,
0.026329608634114265,
0.03044361062347889,
-0.06669934093952179,
0.017375091090798378,
0.04520149528980255,
0.06284793466329575,
-0.022863343358039856,
-0.019554635509848595,
-0.019204508513212204,
0.040999963879585266,
0.07506739348173141,
0.018801860511302948,
-0.02759006805717945,
-0.05784110724925995,
-0.042540524154901505,
-0.07352682948112488,
0.01881936751306057,
0.023878714069724083,
-0.05353453755378723,
-0.015081753954291344,
-0.0034990895073860884,
-0.033087074756622314,
0.016018345952033997,
0.05402471497654915,
0.0560554563999176,
-0.013296102173626423,
0.05290430784225464,
-0.0475473515689373,
-0.0034203107934445143,
-0.06557893007993698,
0.05889149010181427,
0.05076852813363075,
-0.01581702195107937,
0.045061443001031876,
-0.00013854666030965745,
-0.004015527665615082,
-0.044536251574754715,
-0.02149784564971924,
0.03357725217938423,
-0.03305206075310707,
-0.012018135748803616,
-0.01708623580634594,
0.05020832270383835,
0.04838765785098076,
0.01899443194270134,
-0.009829836897552013,
-0.001688272343017161,
0.0004907259717583656,
-0.004109624773263931,
-0.0437309592962265,
0.009173347614705563,
-0.021532857790589333,
-0.041245050728321075,
-0.02211056835949421,
-0.001303131808526814,
0.05878645181655884,
-0.00613598944619298,
0.040649835020303726,
-0.06113230809569359,
0.0008889962919056416,
-0.03599313646554947,
-0.010346275754272938,
0.004560414236038923,
-0.03658835217356682,
-0.06274289637804031,
0.0325968973338604,
0.017681453377008438,
0.03585308417677879,
0.044361189007759094,
-0.01223696582019329,
-0.016788626089692116,
0.005068099591881037,
-0.004177461843937635,
0.05969678610563278,
-0.0589965283870697,
-0.022915862500667572,
-0.03527537360787392,
0.020622525364160538,
0.009637267328798771,
0.03651832789182663,
-0.00936591811478138,
0.05300934612751007,
-0.009015790186822414,
-0.06834494322538376,
-0.029883405193686485,
0.011641748249530792,
0.022688278928399086,
0.014477783814072609,
-0.01088897418230772,
-0.055390212684869766,
0.008744440972805023,
-0.045936763286590576,
0.028640450909733772,
-0.01193060353398323,
-0.0011143910232931376,
-0.06866005808115005,
-0.016307201236486435,
0.03070620633661747,
0.04996323212981224,
0.002183921867981553,
-0.016526030376553535,
0.024736527353525162,
-0.009313398972153664,
0.00220471085049212,
0.01647351123392582,
0.01331360824406147,
0.051573820412158966,
0.015073000453412533,
0.03651832789182663,
-0.02375616878271103,
-0.00919960718601942,
-0.06967542320489883,
0.02783515863120556,
-0.02358110621571541,
0.043240778148174286,
-0.019449597224593163,
0.057035814970731735,
-0.01743636280298233,
0.014591574668884277,
0.0037770033814013004,
0.006643674336373806,
-0.021200235933065414,
-0.034224990755319595,
-0.0487377867102623,
-0.04057980701327324,
0.016438499093055725,
0.0025449912063777447,
0.027344979345798492,
0.05570532754063606,
0.07821854203939438,
-0.05595041811466217,
-0.02923566848039627,
-0.00032769772224128246,
0.05202898755669594,
0.04996323212981224,
-0.01846924051642418,
-0.014810404740273952,
0.049473054707050323,
-0.03133643418550491,
-0.05654563382267952,
-0.0020340236369520426,
-0.00481425691395998,
0.05213402584195137,
-0.0036741532385349274,
0.013401140458881855,
-0.015055494382977486,
0.06550890952348709,
-0.01985224522650242,
-0.01675361394882202,
-0.03278946503996849,
-0.01686740480363369,
-0.03399740532040596,
0.00030034399242140353,
-0.03573054075241089,
-0.04415111243724823,
-0.008096705190837383,
-0.02688981220126152,
-0.023878714069724083,
0.0003785756416618824,
0.007869121618568897,
-0.06501872837543488,
0.0031314552761614323,
-0.020184865221381187,
-0.018941912800073624,
0.09656523913145065,
0.022163087502121925,
-0.03338468447327614,
0.008888868615031242,
0.015037987381219864,
0.07156611979007721,
-0.03095129504799843,
0.013304855674505234,
-0.0002029647002927959,
-0.01500297524034977,
-0.006783725693821907,
-0.001746262307278812,
0.013672489672899246,
-0.01695493794977665,
-0.03781379759311676,
0.024964110925793648,
0.0021642271894961596,
-0.0004874434962403029,
0.006429221015423536,
-0.011484190821647644,
-0.0239312332123518,
-0.008508104830980301,
-0.023108432069420815,
0.08550120145082474,
-0.03770875930786133,
0.025559326633810997,
0.022355658933520317,
0.016394732519984245,
-0.029900912195444107,
0.06890514492988586,
0.08235005289316177,
-0.015405622310936451,
-0.03711354359984398,
-0.021287769079208374,
-0.026959838345646858,
-0.01431147288531065,
0.020447462797164917,
-0.0643184706568718,
-0.04264556244015694,
0.022863343358039856,
-0.013891319744288921,
-0.03721858188509941,
0.015484401024878025,
-0.0321592353284359,
0.03433002904057503,
0.0239312332123518,
0.03956443816423416,
0.018696822226047516,
0.012131927534937859,
-0.0721963495016098,
-0.035958122462034225,
-0.000700255564879626,
0.014985468238592148,
-0.014399005100131035,
-0.008556247688829899,
0.0431707538664341,
-0.04057980701327324,
0.03669339045882225,
0.008276144973933697,
0.022355658933520317,
-0.02394874021410942,
0.10013654083013535,
-0.03452259674668312,
0.03788382560014725,
0.048002518713474274,
-0.0030855010263621807,
-0.007085710763931274,
-0.0369734913110733,
-0.010521339252591133,
-0.036728404462337494,
0.027012357488274574,
0.018101606518030167,
0.053289446979761124,
-0.004564790986478329,
-0.08150974661111832,
0.010302510112524033,
-0.030338572338223457,
-0.05458492040634155,
0.00854311790317297,
0.02342354878783226,
0.03468015417456627,
0.013900072313845158,
-0.004214663058519363,
0.052519164979457855,
-0.01631595380604267,
0.015370609238743782,
0.043765973299741745,
-0.023195965215563774,
-0.004214663058519363,
0.06936030834913254,
0.05384965240955353,
-0.008670038543641567,
-0.020062321797013283,
0.011037778109312057,
-0.0569307766854763,
0.03410244360566139,
-0.05906655639410019,
-0.02429886721074581,
0.0012342004338279366,
-0.03348972275853157,
-0.0211477167904377,
0.03599313646554947,
0.0002935055526904762,
0.04250551015138626,
-0.054164767265319824,
-0.007540876977145672,
-0.020359929651021957,
-0.025121668353676796,
0.017322571948170662,
0.02592696249485016,
0.028325336053967476,
0.03348972275853157,
0.04047476872801781,
0.022180594503879547,
0.05871642753481865,
-0.01657854951918125,
-0.0032102339901030064,
-0.0062629105523228645,
-0.029883405193686485,
-0.03559048846364021,
-0.034032419323921204,
-0.02722243405878544,
-0.07198627293109894,
-0.041245050728321075,
-0.039844539016485214,
0.03504779189825058,
0.01656104438006878,
-0.007076957728713751,
-0.014399005100131035,
0.00022142846137285233,
-0.06788977235555649,
-0.04068484902381897,
0.020605020225048065,
-0.01813661865890026,
0.018014073371887207,
-0.030128495767712593,
-0.058856479823589325,
-0.059031542390584946,
-0.02377367578446865,
0.06354819238185883,
0.007186372764408588,
-0.026819787919521332,
0.007055074442178011,
-0.05640558525919914,
0.008547494187951088,
0.035695526748895645,
-0.04061482101678848,
0.0892825797200203,
0.04369594529271126,
0.03679842874407768,
0.015449387952685356,
0.05115366727113724,
0.0546199306845665,
0.012070654891431332,
0.02323097735643387,
0.04562164843082428,
-0.019099470227956772,
-0.013698749244213104,
-0.04789748042821884,
-0.04677706956863403,
0.02065753936767578,
-0.01831168308854103,
0.048527710139751434,
0.03798886388540268,
0.026837293058633804,
-0.03826896473765373,
0.04380098357796669,
-0.004070235416293144,
0.06480865180492401,
0.013532438315451145,
0.04943804070353508,
0.06708448380231857,
0.04152515530586243,
-0.016674835234880447,
-0.03746367245912552,
0.012578340247273445,
0.023090926930308342,
-0.026609711349010468,
0.010048666968941689,
0.05927663296461105,
-0.01839921437203884,
0.0634431540966034,
-0.015318090096116066,
0.05349952355027199,
-0.008753194473683834,
-0.10265745967626572,
-0.0757676512002945,
-0.0230559129267931,
0.01222821231931448,
0.0052344100549817085,
-0.012368263676762581,
0.004608556628227234,
-0.013068519532680511,
-0.028552919626235962,
0.016368472948670387,
0.026417139917612076,
0.033874861896038055,
0.01916949637234211,
-0.003665400203317404,
-0.044116098433732986,
-0.017313817515969276,
-0.021620389074087143,
0.0038951714523136616,
-0.06550890952348709,
-0.02410629764199257,
0.030251039192080498,
0.05038338527083397,
-0.001515396754257381,
-0.019327053800225258,
0.0643184706568718,
0.016657328233122826,
-0.011195335537195206,
0.022583240643143654,
-0.028500400483608246,
-0.06859003007411957,
0.016639823094010353,
-0.03693848103284836,
-0.007912887260317802,
0.04345085844397545,
-0.05595041811466217,
-0.02653968520462513,
-0.028255311772227287,
-0.00466107577085495,
-0.026959838345646858,
-0.044466227293014526,
0.015843281522393227,
-0.011913097463548183,
0.005834003910422325,
0.017585167661309242,
0.001376439817249775,
-0.03823395445942879,
-0.016158396378159523,
0.00318835093639791,
0.02454395778477192,
-0.0407898873090744,
-0.034295015037059784,
0.012744651176035404,
-0.038198940455913544,
-0.019904764369130135,
-0.02004481479525566,
0.03721858188509941,
-0.011309127323329449,
-0.09145337343215942,
0.025086654350161552,
-0.005532018840312958,
0.014994221739470959,
-0.07800846546888351,
0.034645143896341324,
-0.002058094833046198,
0.002689418848603964,
0.00576835498213768,
0.02697734534740448,
0.008122964762151241,
-0.010337522253394127,
-0.06379327923059464,
-0.00271130190230906,
0.021445326507091522,
-0.0008124058367684484,
0.02401876449584961,
0.0678197517991066,
-0.011116556823253632,
-0.016858652234077454
] |
726,161 | penne.core | _process_message | Prep message for handling
Messages here are of form: [tag, {content}, tag, {content}, ...]
| def _process_message(self, message):
"""Prep message for handling
Messages here are of form: [tag, {content}, tag, {content}, ...]
"""
content = iter(message)
for tag in content:
try:
handlers.handle(self, tag, next(content))
except Exception as e:
if self.strict:
raise e
else:
logging.error(f"Exception: {e} for message {message}")
| (self, message) | [
0.011201826855540276,
0.005304948426783085,
-0.08681640028953552,
0.022367779165506363,
-0.023784823715686798,
-0.004596426151692867,
0.02457406371831894,
0.01612560823559761,
0.08602716028690338,
-0.008515720255672932,
0.013022460043430328,
0.054672807455062866,
-0.00800450798124075,
-0.04491493105888367,
-0.054888054728507996,
0.0387086346745491,
0.020843110978603363,
0.0624934583902359,
-0.028914883732795715,
0.033488888293504715,
-0.04814364016056061,
0.015399148687720299,
0.013928292319178581,
0.049004629254341125,
0.02265477553009987,
0.03974899649620056,
0.0007584103150293231,
0.0034349877387285233,
0.062206462025642395,
-0.04383869469165802,
-0.009739939123392105,
-0.05890600383281708,
-0.006282529793679714,
0.006331857293844223,
-0.0035201897844672203,
0.0077937450259923935,
-0.047210901975631714,
0.012475373223423958,
-0.05033198744058609,
0.059946365654468536,
-0.002401352394372225,
0.024896934628486633,
-0.017210813239216805,
-0.027964208275079727,
-0.02435881644487381,
0.008040382526814938,
-0.009143524803221226,
0.06622441112995148,
-0.014529190957546234,
0.02191934734582901,
-0.007094191387295723,
0.01390138640999794,
-0.002448437735438347,
-0.030260179191827774,
0.015991078689694405,
0.05216158926486969,
0.0013296003453433514,
0.023551639169454575,
0.005385666154325008,
0.015228744596242905,
-0.028771385550498962,
0.005748895928263664,
-0.0011793756857514381,
0.021165981888771057,
-0.02435881644487381,
-0.03212565556168556,
0.0600539892911911,
-0.04347994923591614,
-0.04322882741689682,
-0.016376730054616928,
-0.02771308645606041,
-0.003807186149060726,
-0.04444856196641922,
0.026439540088176727,
-0.036448538303375244,
0.006076251156628132,
-0.029094256460666656,
0.07418856024742126,
0.024502314627170563,
0.008282535709440708,
0.024466440081596375,
0.004450685810297728,
0.01472650095820427,
0.04627816379070282,
0.030583050101995468,
-0.04932750016450882,
0.024556126445531845,
0.02505837008357048,
-0.042905956506729126,
0.06486117839813232,
-0.001704040914773941,
-0.027659274637699127,
-0.015964172780513763,
0.051659345626831055,
-0.022206343710422516,
0.07210783660411835,
-0.026905909180641174,
-0.025722049176692963,
-0.027174968272447586,
0.031354352831840515,
0.0018049380742013454,
0.08121997117996216,
0.029919371008872986,
-0.07626928389072418,
-0.013300487771630287,
-0.02920188009738922,
0.015309462323784828,
-0.03974899649620056,
0.06679840385913849,
0.0013531430158764124,
0.0020022480748593807,
-0.08466392755508423,
-0.007574013434350491,
0.017695119604468346,
-0.03241265192627907,
-0.04814364016056061,
0.051049478352069855,
0.02792833372950554,
-0.02414356917142868,
-0.006811679340898991,
0.026511289179325104,
-0.07583878934383392,
-0.025865547358989716,
0.01054711639881134,
-0.005192840471863747,
-0.013345330953598022,
-0.003769069444388151,
-0.030780360102653503,
0.04631403833627701,
-0.051838718354701996,
-0.032018031924963,
0.01987449824810028,
0.0466369092464447,
-0.07092397660017014,
-0.03607185557484627,
-0.04993736743927002,
-0.048179514706134796,
-0.03386557102203369,
-0.020807236433029175,
-0.01213456504046917,
0.017210813239216805,
0.005829613655805588,
-0.01259196549654007,
-0.0001081141090253368,
-0.029578562825918198,
-0.017399154603481293,
0.04742614924907684,
-0.0013060576748102903,
0.03660997375845909,
-0.02670859917998314,
-0.030134618282318115,
0.005049342289566994,
0.010412586852908134,
0.07569529116153717,
-0.00011596166586969048,
0.004928265698254108,
0.004735440015792847,
0.04886113107204437,
-0.04875350743532181,
0.0045179505832493305,
0.051444098353385925,
-0.034708622843027115,
-0.04014361649751663,
0.03359651193022728,
-0.0005381181836128235,
-0.0062421709299087524,
0.011533666402101517,
0.009766845032572746,
0.00042292725993320346,
0.024861060082912445,
0.0033161533065140247,
0.06256520748138428,
-0.04441268742084503,
0.031354352831840515,
-0.0032152561470866203,
0.07913924753665924,
-0.00778926070779562,
0.04609879106283188,
0.005874456837773323,
0.0026210839860141277,
-0.032968707382678986,
0.03551580011844635,
-0.0038699666038155556,
-0.009183883666992188,
0.009506754577159882,
0.03555167466402054,
0.025130119174718857,
-0.04559654742479324,
-0.03212565556168556,
-0.03417050465941429,
-0.006739930249750614,
-0.04825126379728317,
0.024717561900615692,
-0.00435203080996871,
0.03643060103058815,
0.06654728204011917,
-0.004618847742676735,
-0.03603598102927208,
0.012690620496869087,
0.01243949867784977,
-0.04226021468639374,
-0.018089739605784416,
0.008273567073047161,
-0.01579376868903637,
-0.04078935831785202,
0.07756076753139496,
0.02191934734582901,
0.027946271002292633,
-0.09234108030796051,
-0.017094220966100693,
-0.036358851939439774,
0.012278063222765923,
0.013614390045404434,
0.05445756018161774,
0.06511230021715164,
0.012547122314572334,
0.0026883487589657307,
-0.008062804117798805,
-0.0035000103525817394,
-0.03146197646856308,
0.026134606450796127,
0.011991066858172417,
-0.0044708652421832085,
-0.0502961128950119,
0.020287055522203445,
0.00900899525731802,
0.019641313701868057,
-0.01655610278248787,
0.004735440015792847,
0.07906749844551086,
0.03738127648830414,
0.014923810958862305,
0.016726506873965263,
0.029004570096731186,
0.04078935831785202,
-0.032358840107917786,
0.006681634113192558,
-0.05280733108520508,
0.04742614924907684,
0.024394690990447998,
0.015677176415920258,
-0.04430506378412247,
-0.048825256526470184,
0.0016165967099368572,
0.018242206424474716,
-0.0341525673866272,
-0.0012309453450143337,
0.027731023728847504,
0.006385669112205505,
0.050834231078624725,
0.010206308215856552,
0.047605521976947784,
-0.022995583713054657,
-0.028430577367544174,
-0.011533666402101517,
-0.09040385484695435,
0.04423331469297409,
-0.007049348205327988,
0.051659345626831055,
-0.012358780950307846,
0.014304975047707558,
0.0017959694378077984,
0.027139093726873398,
0.04337232559919357,
-0.030618924647569656,
0.028053894639015198,
0.005188356153666973,
0.00800450798124075,
0.0313902273774147,
0.07228720933198929,
0.01603592187166214,
-0.008295988664031029,
0.03831401467323303,
0.035192929208278656,
0.0014764617662876844,
0.04552479833364487,
-0.0007270200876519084,
0.04104048013687134,
-0.05363244563341141,
0.05259208381175995,
0.027641337364912033,
0.026959720999002457,
-0.0011098687537014484,
0.0020011269953101873,
-0.003571759443730116,
0.009919311851263046,
0.039246752858161926,
0.05564142018556595,
0.012107659131288528,
-0.02841264009475708,
-0.014430535957217216,
0.029183942824602127,
0.012421561405062675,
-0.0032331934198737144,
-0.05241271108388901,
-0.017946241423487663,
-0.021632350981235504,
0.025076307356357574,
0.031085293740034103,
-0.07325582206249237,
0.014681657776236534,
-0.015408117324113846,
0.013793762773275375,
-0.03194628283381462,
-0.04731852561235428,
0.001063343952409923,
0.023210830986499786,
0.016600945964455605,
-0.04459206014871597,
-0.0414709746837616,
-0.001161438412964344,
0.06346207112073898,
-0.04606291651725769,
-0.02048436552286148,
0.012233220040798187,
0.06030511111021042,
0.0368790328502655,
0.05707640200853348,
0.009802719578146935,
0.035713110119104385,
0.015022465959191322,
0.016206325963139534,
0.01987449824810028,
0.006650243885815144,
-0.0012410350609570742,
0.05374006927013397,
-0.0018307229038327932,
-0.022278092801570892,
-0.014591971412301064,
-0.0013923808000981808,
0.051049478352069855,
-0.0044798338785767555,
-0.03910325467586517,
-0.010932767763733864,
-0.03820639103651047,
-0.007600919343531132,
-0.02880726009607315,
-0.019946247339248657,
0.019766874611377716,
-0.06518404930830002,
-0.017946241423487663,
-0.02274446189403534,
0.011013485491275787,
0.04279833287000656,
0.03320189192891121,
-0.005816160701215267,
0.004091940354555845,
0.014869999140501022,
0.02487899735569954,
-0.005874456837773323,
0.03526467829942703,
-0.03974899649620056,
0.04125572741031647,
0.003540369216352701,
0.036717597395181656,
-0.062421709299087524,
-0.04749789834022522,
-0.022762399166822433,
0.000749441678635776,
0.05574904382228851,
0.03756064921617508,
-0.03207184374332428,
0.022116657346487045,
-0.017426060512661934,
0.015964172780513763,
-0.021112170070409775,
0.0021009030751883984,
0.06231408566236496,
0.004074003081768751,
0.026654787361621857,
0.004029159899801016,
0.015085246413946152,
-0.04154272377490997,
-0.0356772355735302,
-0.033883508294820786,
-0.002560545690357685,
0.012394655495882034,
0.028914883732795715,
-0.0402512401342392,
0.05112122744321823,
0.02030499279499054,
0.025739986449480057,
0.028053894639015198,
-0.036143604665994644,
0.012197345495223999,
-0.050654858350753784,
0.022977646440267563,
0.037273652851581573,
-0.008542626164853573,
0.042296089231967926,
-0.017668213695287704,
-0.06224233657121658,
-0.0326278991997242,
-0.03517499193549156,
-0.023641325533390045,
-0.06001811474561691,
0.023641325533390045,
-0.005443962290883064,
-0.012547122314572334,
-0.010071778669953346,
-0.05800914019346237,
-0.009121103212237358,
-0.05452930927276611,
0.0372019037604332,
0.025991108268499374,
-0.02139916643500328,
-0.021722037345170975,
0.06274458020925522,
0.034278128296136856,
0.05567729473114014,
0.04624228924512863,
0.006026923656463623,
-0.0006278045475482941,
-0.08387468755245209,
-0.058726631104946136,
-0.03320189192891121,
0.001959647051990032,
0.03616154193878174,
-0.0612737238407135,
0.0008368858834728599,
0.02130948007106781,
0.009219758212566376,
0.0043565151281654835,
-0.016017984598875046,
-0.03356063738465309,
-0.05829613655805588,
-0.017183907330036163,
-0.028215330094099045,
-0.00160426483489573,
0.018224269151687622,
-0.04405394196510315,
-0.013058334589004517,
-0.059946365654468536,
-0.04121985286474228,
0.035713110119104385,
-0.03910325467586517,
-0.10626040399074554,
-0.010125590488314629,
0.03734540194272995,
0.0014461926184594631,
-0.02292383462190628,
0.05689702928066254,
0.030493363738059998,
-0.044125691056251526,
0.09305857121944427,
-0.02984762191772461,
-0.0034775887615978718,
0.017354311421513557,
-0.02344401553273201,
-0.003112116828560829,
-0.06231408566236496,
-0.029058381915092468,
0.03860101103782654,
-0.012905867770314217,
-0.010430524125695229,
0.01277133822441101,
0.046565160155296326,
0.030887983739376068,
0.029650311917066574,
0.00778926070779562,
-0.002818393986672163,
-0.006273561157286167,
-0.028681699186563492,
0.00047029287088662386,
-0.03607185557484627,
0.01359645277261734,
-0.009748907759785652,
0.016089733690023422,
-0.019892435520887375,
0.0002661162579897791,
0.0402512401342392,
-0.03881625831127167,
0.04204496741294861,
-0.03881625831127167,
-0.033488888293504715,
-0.008865497075021267,
0.044340938329696655,
-0.0035291584208607674,
0.04893288016319275,
0.013524703681468964,
0.02701353281736374,
-0.07605403661727905,
0.04652928560972214,
-0.0435875728726387,
-0.019982121884822845,
-0.04681628197431564,
0.0667625293135643,
-0.05417056381702423,
0.028340891003608704,
-0.025165993720293045,
-0.036053918302059174,
-0.04502255469560623,
0.04570417106151581,
0.0030112196691334248,
0.06733652204275131,
-0.05887012928724289,
-0.05047548562288284,
0.0374889001250267,
0.02204490825533867,
-0.07404506206512451,
-0.0029641343280673027,
-0.06414368748664856,
-0.013148020952939987,
-0.08373118937015533,
0.04814364016056061,
-0.0044798338785767555,
0.08064597845077515,
0.04767727106809616,
0.03677140921354294,
-0.04308532923460007,
-0.017399154603481293,
0.01935431733727455,
-0.05782976746559143,
-0.011802725493907928,
-0.018035927787423134,
-0.052879080176353455,
-0.023174956440925598,
0.007896884344518185,
-0.026816222816705704,
0.046995654702186584,
0.05582079291343689,
-0.03799114376306534,
-0.012053847312927246,
0.054314061999320984,
0.005452930927276611,
-0.030260179191827774,
-0.036053918302059174,
-0.017901398241519928,
0.015148026868700981,
0.0070986757054924965,
0.00748432707041502,
0.005713021382689476,
0.03490593284368515,
-0.016538165509700775,
-0.023910384625196457,
-0.01350676640868187,
0.05535442382097244,
-0.04369519650936127,
-0.08846662938594818,
0.054098814725875854,
-0.0029260176233947277,
0.013210801407694817,
-0.0719284638762474,
-0.04423331469297409,
-0.03268171101808548,
0.003302700351923704,
-0.052269212901592255,
0.007681637071073055,
-0.012000035494565964,
-0.0527355819940567,
-0.06410781294107437,
-0.008197333663702011,
-0.02902250736951828,
0.05478043109178543,
0.035013556480407715,
-0.11056534945964813,
-0.06069973111152649,
0.04430506378412247,
-0.009044869802892208,
0.03194628283381462,
-0.006282529793679714,
0.004591941833496094,
-0.07447555661201477,
0.01843951642513275,
0.023910384625196457,
0.011605415493249893,
-0.032699648290872574,
0.018071802332997322,
-0.00664575956761837,
0.05169522017240524,
0.022547151893377304,
-0.02819739282131195,
-0.03081623464822769,
-0.02087898552417755,
0.028305016458034515,
0.007919305935502052,
-0.013874480500817299,
-0.02121979370713234,
0.04398219287395477,
-0.033309515565633774,
0.0020370015408843756,
-0.041722096502780914,
0.03738127648830414,
-0.025291554629802704,
0.022977646440267563,
-0.008174912072718143,
0.012735463678836823,
0.031085293740034103,
-0.007914821617305279,
0.07662802934646606,
-0.014170445501804352,
-0.08739039301872253,
0.02801802009344101,
-0.024215318262577057,
0.006506745703518391,
0.03974899649620056,
0.07182084023952484,
-0.022690650075674057,
-0.0658656656742096,
-0.017515746876597404,
-0.055928416550159454,
0.03503149375319481,
0.006771320477128029,
0.013641295954585075,
0.003179381601512432,
-0.040717609226703644,
0.015013497322797775,
0.03137229010462761,
-0.0022713071666657925,
0.05564142018556595,
0.000832962105050683,
0.016502290964126587,
0.061166100203990936,
0.054923929274082184,
-0.040896981954574585,
0.03698665648698807,
-0.010179402306675911,
0.04918400198221207,
0.0780630111694336,
0.005506742745637894,
0.04803601652383804,
-0.04441268742084503,
-0.07791951298713684,
-0.015309462323784828,
-0.03368619829416275,
0.01843951642513275,
0.014484347775578499,
-0.08437693119049072,
-0.02981174737215042,
0.016565071418881416,
0.012905867770314217,
0.02767721191048622,
0.02993730828166008,
-0.020412616431713104,
-0.05018848925828934,
0.05018848925828934,
0.021632350981235504,
-0.024466440081596375,
-0.024645812809467316,
-0.026690661907196045,
0.038278140127658844,
-0.07483430206775665,
-0.07426030933856964,
-0.05255620926618576,
0.004244407173246145,
0.07461905479431152,
0.025004558265209198,
-0.044125691056251526,
0.03189247101545334,
0.038636885583400726,
0.07626928389072418,
0.06636790931224823,
-0.05643066018819809,
0.05363244563341141,
0.00027788759325630963,
0.030834171921014786,
0.02191934734582901,
0.02780277281999588,
0.005973111838102341,
0.028000082820653915,
0.014026947319507599,
0.020556114614009857,
0.06184771656990051,
0.0034887995570898056,
-0.048000141978263855,
-0.01804489642381668,
0.01490587368607521,
0.022206343710422516,
0.03182072192430496,
-0.03390144556760788,
0.038888007402420044,
0.009228726848959923,
0.027426090091466904,
-0.05054723471403122,
0.03860101103782654,
-0.00016928301192820072,
0.030044931918382645,
0.005551585927605629,
0.003807186149060726,
0.013632327318191528,
-0.006775804795324802,
0.04078935831785202,
-0.016600945964455605,
-0.02179378643631935,
-0.0010100926738232374,
-0.021273605525493622,
-0.006991052068769932,
0.020322930067777634,
0.020017996430397034,
-0.054098814725875854,
0.004417053423821926,
-0.06730064749717712,
0.002090813359245658,
-0.02981174737215042,
-0.051228851079940796,
0.0433005765080452,
-0.008435002528131008,
-0.05600016564130783,
0.035497862845659256,
0.012331875041127205,
0.028053894639015198,
-0.005668178200721741,
0.011713039129972458,
-0.05657415837049484,
0.008273567073047161,
-0.04552479833364487,
-0.04035886377096176,
0.027515776455402374,
0.003475346602499485,
0.04186559468507767,
-0.010843081399798393,
-0.002997766714543104,
0.007237689569592476,
-0.012017972767353058,
0.013237707316875458,
0.017659245058894157,
0.0011188373900949955,
0.041722096502780914,
0.02365926280617714,
0.02579379826784134,
-0.03849338740110397,
-0.02121979370713234,
-0.023515764623880386,
0.003172655124217272,
-0.031444039195775986,
-0.0365740992128849,
0.0011715281289070845,
0.024305004626512527,
0.029291566461324692,
0.03713015466928482,
-0.007291501387953758,
-0.010887924581766129,
-0.08523792028427124,
0.011381199583411217,
-0.006291498430073261,
-0.07791951298713684,
-0.014340849593281746,
0.04703152924776077,
0.059157125651836395,
-0.016412604600191116,
-0.01039464958012104,
-0.07892400026321411,
-0.02554267644882202,
-0.0022130110301077366,
-0.02249334007501602,
-0.05804501473903656,
0.05054723471403122,
0.05678940564393997,
-0.06690602749586105,
0.03463687375187874,
0.0028497842140495777,
-0.006448449566960335,
-0.04692390561103821,
-0.011300481855869293,
-0.0000218785680772271,
-0.009793750941753387,
0.023031458258628845,
-0.04681628197431564,
-0.0405382364988327,
0.009856531396508217,
0.01435878686606884,
-0.007677152752876282,
0.049614496529102325,
0.01170407049357891,
0.01457403413951397,
0.027336403727531433,
0.019641313701868057,
0.05391944199800491
] |
726,162 | penne.core | _run | Network thread for managing websocket connection | def _process_message(self, message):
"""Prep message for handling
Messages here are of form: [tag, {content}, tag, {content}, ...]
"""
content = iter(message)
for tag in content:
try:
handlers.handle(self, tag, next(content))
except Exception as e:
if self.strict:
raise e
else:
logging.error(f"Exception: {e} for message {message}")
| (self) | [
0.011201826855540276,
0.005304948426783085,
-0.08681640028953552,
0.022367779165506363,
-0.023784823715686798,
-0.004596426151692867,
0.02457406371831894,
0.01612560823559761,
0.08602716028690338,
-0.008515720255672932,
0.013022460043430328,
0.054672807455062866,
-0.00800450798124075,
-0.04491493105888367,
-0.054888054728507996,
0.0387086346745491,
0.020843110978603363,
0.0624934583902359,
-0.028914883732795715,
0.033488888293504715,
-0.04814364016056061,
0.015399148687720299,
0.013928292319178581,
0.049004629254341125,
0.02265477553009987,
0.03974899649620056,
0.0007584103150293231,
0.0034349877387285233,
0.062206462025642395,
-0.04383869469165802,
-0.009739939123392105,
-0.05890600383281708,
-0.006282529793679714,
0.006331857293844223,
-0.0035201897844672203,
0.0077937450259923935,
-0.047210901975631714,
0.012475373223423958,
-0.05033198744058609,
0.059946365654468536,
-0.002401352394372225,
0.024896934628486633,
-0.017210813239216805,
-0.027964208275079727,
-0.02435881644487381,
0.008040382526814938,
-0.009143524803221226,
0.06622441112995148,
-0.014529190957546234,
0.02191934734582901,
-0.007094191387295723,
0.01390138640999794,
-0.002448437735438347,
-0.030260179191827774,
0.015991078689694405,
0.05216158926486969,
0.0013296003453433514,
0.023551639169454575,
0.005385666154325008,
0.015228744596242905,
-0.028771385550498962,
0.005748895928263664,
-0.0011793756857514381,
0.021165981888771057,
-0.02435881644487381,
-0.03212565556168556,
0.0600539892911911,
-0.04347994923591614,
-0.04322882741689682,
-0.016376730054616928,
-0.02771308645606041,
-0.003807186149060726,
-0.04444856196641922,
0.026439540088176727,
-0.036448538303375244,
0.006076251156628132,
-0.029094256460666656,
0.07418856024742126,
0.024502314627170563,
0.008282535709440708,
0.024466440081596375,
0.004450685810297728,
0.01472650095820427,
0.04627816379070282,
0.030583050101995468,
-0.04932750016450882,
0.024556126445531845,
0.02505837008357048,
-0.042905956506729126,
0.06486117839813232,
-0.001704040914773941,
-0.027659274637699127,
-0.015964172780513763,
0.051659345626831055,
-0.022206343710422516,
0.07210783660411835,
-0.026905909180641174,
-0.025722049176692963,
-0.027174968272447586,
0.031354352831840515,
0.0018049380742013454,
0.08121997117996216,
0.029919371008872986,
-0.07626928389072418,
-0.013300487771630287,
-0.02920188009738922,
0.015309462323784828,
-0.03974899649620056,
0.06679840385913849,
0.0013531430158764124,
0.0020022480748593807,
-0.08466392755508423,
-0.007574013434350491,
0.017695119604468346,
-0.03241265192627907,
-0.04814364016056061,
0.051049478352069855,
0.02792833372950554,
-0.02414356917142868,
-0.006811679340898991,
0.026511289179325104,
-0.07583878934383392,
-0.025865547358989716,
0.01054711639881134,
-0.005192840471863747,
-0.013345330953598022,
-0.003769069444388151,
-0.030780360102653503,
0.04631403833627701,
-0.051838718354701996,
-0.032018031924963,
0.01987449824810028,
0.0466369092464447,
-0.07092397660017014,
-0.03607185557484627,
-0.04993736743927002,
-0.048179514706134796,
-0.03386557102203369,
-0.020807236433029175,
-0.01213456504046917,
0.017210813239216805,
0.005829613655805588,
-0.01259196549654007,
-0.0001081141090253368,
-0.029578562825918198,
-0.017399154603481293,
0.04742614924907684,
-0.0013060576748102903,
0.03660997375845909,
-0.02670859917998314,
-0.030134618282318115,
0.005049342289566994,
0.010412586852908134,
0.07569529116153717,
-0.00011596166586969048,
0.004928265698254108,
0.004735440015792847,
0.04886113107204437,
-0.04875350743532181,
0.0045179505832493305,
0.051444098353385925,
-0.034708622843027115,
-0.04014361649751663,
0.03359651193022728,
-0.0005381181836128235,
-0.0062421709299087524,
0.011533666402101517,
0.009766845032572746,
0.00042292725993320346,
0.024861060082912445,
0.0033161533065140247,
0.06256520748138428,
-0.04441268742084503,
0.031354352831840515,
-0.0032152561470866203,
0.07913924753665924,
-0.00778926070779562,
0.04609879106283188,
0.005874456837773323,
0.0026210839860141277,
-0.032968707382678986,
0.03551580011844635,
-0.0038699666038155556,
-0.009183883666992188,
0.009506754577159882,
0.03555167466402054,
0.025130119174718857,
-0.04559654742479324,
-0.03212565556168556,
-0.03417050465941429,
-0.006739930249750614,
-0.04825126379728317,
0.024717561900615692,
-0.00435203080996871,
0.03643060103058815,
0.06654728204011917,
-0.004618847742676735,
-0.03603598102927208,
0.012690620496869087,
0.01243949867784977,
-0.04226021468639374,
-0.018089739605784416,
0.008273567073047161,
-0.01579376868903637,
-0.04078935831785202,
0.07756076753139496,
0.02191934734582901,
0.027946271002292633,
-0.09234108030796051,
-0.017094220966100693,
-0.036358851939439774,
0.012278063222765923,
0.013614390045404434,
0.05445756018161774,
0.06511230021715164,
0.012547122314572334,
0.0026883487589657307,
-0.008062804117798805,
-0.0035000103525817394,
-0.03146197646856308,
0.026134606450796127,
0.011991066858172417,
-0.0044708652421832085,
-0.0502961128950119,
0.020287055522203445,
0.00900899525731802,
0.019641313701868057,
-0.01655610278248787,
0.004735440015792847,
0.07906749844551086,
0.03738127648830414,
0.014923810958862305,
0.016726506873965263,
0.029004570096731186,
0.04078935831785202,
-0.032358840107917786,
0.006681634113192558,
-0.05280733108520508,
0.04742614924907684,
0.024394690990447998,
0.015677176415920258,
-0.04430506378412247,
-0.048825256526470184,
0.0016165967099368572,
0.018242206424474716,
-0.0341525673866272,
-0.0012309453450143337,
0.027731023728847504,
0.006385669112205505,
0.050834231078624725,
0.010206308215856552,
0.047605521976947784,
-0.022995583713054657,
-0.028430577367544174,
-0.011533666402101517,
-0.09040385484695435,
0.04423331469297409,
-0.007049348205327988,
0.051659345626831055,
-0.012358780950307846,
0.014304975047707558,
0.0017959694378077984,
0.027139093726873398,
0.04337232559919357,
-0.030618924647569656,
0.028053894639015198,
0.005188356153666973,
0.00800450798124075,
0.0313902273774147,
0.07228720933198929,
0.01603592187166214,
-0.008295988664031029,
0.03831401467323303,
0.035192929208278656,
0.0014764617662876844,
0.04552479833364487,
-0.0007270200876519084,
0.04104048013687134,
-0.05363244563341141,
0.05259208381175995,
0.027641337364912033,
0.026959720999002457,
-0.0011098687537014484,
0.0020011269953101873,
-0.003571759443730116,
0.009919311851263046,
0.039246752858161926,
0.05564142018556595,
0.012107659131288528,
-0.02841264009475708,
-0.014430535957217216,
0.029183942824602127,
0.012421561405062675,
-0.0032331934198737144,
-0.05241271108388901,
-0.017946241423487663,
-0.021632350981235504,
0.025076307356357574,
0.031085293740034103,
-0.07325582206249237,
0.014681657776236534,
-0.015408117324113846,
0.013793762773275375,
-0.03194628283381462,
-0.04731852561235428,
0.001063343952409923,
0.023210830986499786,
0.016600945964455605,
-0.04459206014871597,
-0.0414709746837616,
-0.001161438412964344,
0.06346207112073898,
-0.04606291651725769,
-0.02048436552286148,
0.012233220040798187,
0.06030511111021042,
0.0368790328502655,
0.05707640200853348,
0.009802719578146935,
0.035713110119104385,
0.015022465959191322,
0.016206325963139534,
0.01987449824810028,
0.006650243885815144,
-0.0012410350609570742,
0.05374006927013397,
-0.0018307229038327932,
-0.022278092801570892,
-0.014591971412301064,
-0.0013923808000981808,
0.051049478352069855,
-0.0044798338785767555,
-0.03910325467586517,
-0.010932767763733864,
-0.03820639103651047,
-0.007600919343531132,
-0.02880726009607315,
-0.019946247339248657,
0.019766874611377716,
-0.06518404930830002,
-0.017946241423487663,
-0.02274446189403534,
0.011013485491275787,
0.04279833287000656,
0.03320189192891121,
-0.005816160701215267,
0.004091940354555845,
0.014869999140501022,
0.02487899735569954,
-0.005874456837773323,
0.03526467829942703,
-0.03974899649620056,
0.04125572741031647,
0.003540369216352701,
0.036717597395181656,
-0.062421709299087524,
-0.04749789834022522,
-0.022762399166822433,
0.000749441678635776,
0.05574904382228851,
0.03756064921617508,
-0.03207184374332428,
0.022116657346487045,
-0.017426060512661934,
0.015964172780513763,
-0.021112170070409775,
0.0021009030751883984,
0.06231408566236496,
0.004074003081768751,
0.026654787361621857,
0.004029159899801016,
0.015085246413946152,
-0.04154272377490997,
-0.0356772355735302,
-0.033883508294820786,
-0.002560545690357685,
0.012394655495882034,
0.028914883732795715,
-0.0402512401342392,
0.05112122744321823,
0.02030499279499054,
0.025739986449480057,
0.028053894639015198,
-0.036143604665994644,
0.012197345495223999,
-0.050654858350753784,
0.022977646440267563,
0.037273652851581573,
-0.008542626164853573,
0.042296089231967926,
-0.017668213695287704,
-0.06224233657121658,
-0.0326278991997242,
-0.03517499193549156,
-0.023641325533390045,
-0.06001811474561691,
0.023641325533390045,
-0.005443962290883064,
-0.012547122314572334,
-0.010071778669953346,
-0.05800914019346237,
-0.009121103212237358,
-0.05452930927276611,
0.0372019037604332,
0.025991108268499374,
-0.02139916643500328,
-0.021722037345170975,
0.06274458020925522,
0.034278128296136856,
0.05567729473114014,
0.04624228924512863,
0.006026923656463623,
-0.0006278045475482941,
-0.08387468755245209,
-0.058726631104946136,
-0.03320189192891121,
0.001959647051990032,
0.03616154193878174,
-0.0612737238407135,
0.0008368858834728599,
0.02130948007106781,
0.009219758212566376,
0.0043565151281654835,
-0.016017984598875046,
-0.03356063738465309,
-0.05829613655805588,
-0.017183907330036163,
-0.028215330094099045,
-0.00160426483489573,
0.018224269151687622,
-0.04405394196510315,
-0.013058334589004517,
-0.059946365654468536,
-0.04121985286474228,
0.035713110119104385,
-0.03910325467586517,
-0.10626040399074554,
-0.010125590488314629,
0.03734540194272995,
0.0014461926184594631,
-0.02292383462190628,
0.05689702928066254,
0.030493363738059998,
-0.044125691056251526,
0.09305857121944427,
-0.02984762191772461,
-0.0034775887615978718,
0.017354311421513557,
-0.02344401553273201,
-0.003112116828560829,
-0.06231408566236496,
-0.029058381915092468,
0.03860101103782654,
-0.012905867770314217,
-0.010430524125695229,
0.01277133822441101,
0.046565160155296326,
0.030887983739376068,
0.029650311917066574,
0.00778926070779562,
-0.002818393986672163,
-0.006273561157286167,
-0.028681699186563492,
0.00047029287088662386,
-0.03607185557484627,
0.01359645277261734,
-0.009748907759785652,
0.016089733690023422,
-0.019892435520887375,
0.0002661162579897791,
0.0402512401342392,
-0.03881625831127167,
0.04204496741294861,
-0.03881625831127167,
-0.033488888293504715,
-0.008865497075021267,
0.044340938329696655,
-0.0035291584208607674,
0.04893288016319275,
0.013524703681468964,
0.02701353281736374,
-0.07605403661727905,
0.04652928560972214,
-0.0435875728726387,
-0.019982121884822845,
-0.04681628197431564,
0.0667625293135643,
-0.05417056381702423,
0.028340891003608704,
-0.025165993720293045,
-0.036053918302059174,
-0.04502255469560623,
0.04570417106151581,
0.0030112196691334248,
0.06733652204275131,
-0.05887012928724289,
-0.05047548562288284,
0.0374889001250267,
0.02204490825533867,
-0.07404506206512451,
-0.0029641343280673027,
-0.06414368748664856,
-0.013148020952939987,
-0.08373118937015533,
0.04814364016056061,
-0.0044798338785767555,
0.08064597845077515,
0.04767727106809616,
0.03677140921354294,
-0.04308532923460007,
-0.017399154603481293,
0.01935431733727455,
-0.05782976746559143,
-0.011802725493907928,
-0.018035927787423134,
-0.052879080176353455,
-0.023174956440925598,
0.007896884344518185,
-0.026816222816705704,
0.046995654702186584,
0.05582079291343689,
-0.03799114376306534,
-0.012053847312927246,
0.054314061999320984,
0.005452930927276611,
-0.030260179191827774,
-0.036053918302059174,
-0.017901398241519928,
0.015148026868700981,
0.0070986757054924965,
0.00748432707041502,
0.005713021382689476,
0.03490593284368515,
-0.016538165509700775,
-0.023910384625196457,
-0.01350676640868187,
0.05535442382097244,
-0.04369519650936127,
-0.08846662938594818,
0.054098814725875854,
-0.0029260176233947277,
0.013210801407694817,
-0.0719284638762474,
-0.04423331469297409,
-0.03268171101808548,
0.003302700351923704,
-0.052269212901592255,
0.007681637071073055,
-0.012000035494565964,
-0.0527355819940567,
-0.06410781294107437,
-0.008197333663702011,
-0.02902250736951828,
0.05478043109178543,
0.035013556480407715,
-0.11056534945964813,
-0.06069973111152649,
0.04430506378412247,
-0.009044869802892208,
0.03194628283381462,
-0.006282529793679714,
0.004591941833496094,
-0.07447555661201477,
0.01843951642513275,
0.023910384625196457,
0.011605415493249893,
-0.032699648290872574,
0.018071802332997322,
-0.00664575956761837,
0.05169522017240524,
0.022547151893377304,
-0.02819739282131195,
-0.03081623464822769,
-0.02087898552417755,
0.028305016458034515,
0.007919305935502052,
-0.013874480500817299,
-0.02121979370713234,
0.04398219287395477,
-0.033309515565633774,
0.0020370015408843756,
-0.041722096502780914,
0.03738127648830414,
-0.025291554629802704,
0.022977646440267563,
-0.008174912072718143,
0.012735463678836823,
0.031085293740034103,
-0.007914821617305279,
0.07662802934646606,
-0.014170445501804352,
-0.08739039301872253,
0.02801802009344101,
-0.024215318262577057,
0.006506745703518391,
0.03974899649620056,
0.07182084023952484,
-0.022690650075674057,
-0.0658656656742096,
-0.017515746876597404,
-0.055928416550159454,
0.03503149375319481,
0.006771320477128029,
0.013641295954585075,
0.003179381601512432,
-0.040717609226703644,
0.015013497322797775,
0.03137229010462761,
-0.0022713071666657925,
0.05564142018556595,
0.000832962105050683,
0.016502290964126587,
0.061166100203990936,
0.054923929274082184,
-0.040896981954574585,
0.03698665648698807,
-0.010179402306675911,
0.04918400198221207,
0.0780630111694336,
0.005506742745637894,
0.04803601652383804,
-0.04441268742084503,
-0.07791951298713684,
-0.015309462323784828,
-0.03368619829416275,
0.01843951642513275,
0.014484347775578499,
-0.08437693119049072,
-0.02981174737215042,
0.016565071418881416,
0.012905867770314217,
0.02767721191048622,
0.02993730828166008,
-0.020412616431713104,
-0.05018848925828934,
0.05018848925828934,
0.021632350981235504,
-0.024466440081596375,
-0.024645812809467316,
-0.026690661907196045,
0.038278140127658844,
-0.07483430206775665,
-0.07426030933856964,
-0.05255620926618576,
0.004244407173246145,
0.07461905479431152,
0.025004558265209198,
-0.044125691056251526,
0.03189247101545334,
0.038636885583400726,
0.07626928389072418,
0.06636790931224823,
-0.05643066018819809,
0.05363244563341141,
0.00027788759325630963,
0.030834171921014786,
0.02191934734582901,
0.02780277281999588,
0.005973111838102341,
0.028000082820653915,
0.014026947319507599,
0.020556114614009857,
0.06184771656990051,
0.0034887995570898056,
-0.048000141978263855,
-0.01804489642381668,
0.01490587368607521,
0.022206343710422516,
0.03182072192430496,
-0.03390144556760788,
0.038888007402420044,
0.009228726848959923,
0.027426090091466904,
-0.05054723471403122,
0.03860101103782654,
-0.00016928301192820072,
0.030044931918382645,
0.005551585927605629,
0.003807186149060726,
0.013632327318191528,
-0.006775804795324802,
0.04078935831785202,
-0.016600945964455605,
-0.02179378643631935,
-0.0010100926738232374,
-0.021273605525493622,
-0.006991052068769932,
0.020322930067777634,
0.020017996430397034,
-0.054098814725875854,
0.004417053423821926,
-0.06730064749717712,
0.002090813359245658,
-0.02981174737215042,
-0.051228851079940796,
0.0433005765080452,
-0.008435002528131008,
-0.05600016564130783,
0.035497862845659256,
0.012331875041127205,
0.028053894639015198,
-0.005668178200721741,
0.011713039129972458,
-0.05657415837049484,
0.008273567073047161,
-0.04552479833364487,
-0.04035886377096176,
0.027515776455402374,
0.003475346602499485,
0.04186559468507767,
-0.010843081399798393,
-0.002997766714543104,
0.007237689569592476,
-0.012017972767353058,
0.013237707316875458,
0.017659245058894157,
0.0011188373900949955,
0.041722096502780914,
0.02365926280617714,
0.02579379826784134,
-0.03849338740110397,
-0.02121979370713234,
-0.023515764623880386,
0.003172655124217272,
-0.031444039195775986,
-0.0365740992128849,
0.0011715281289070845,
0.024305004626512527,
0.029291566461324692,
0.03713015466928482,
-0.007291501387953758,
-0.010887924581766129,
-0.08523792028427124,
0.011381199583411217,
-0.006291498430073261,
-0.07791951298713684,
-0.014340849593281746,
0.04703152924776077,
0.059157125651836395,
-0.016412604600191116,
-0.01039464958012104,
-0.07892400026321411,
-0.02554267644882202,
-0.0022130110301077366,
-0.02249334007501602,
-0.05804501473903656,
0.05054723471403122,
0.05678940564393997,
-0.06690602749586105,
0.03463687375187874,
0.0028497842140495777,
-0.006448449566960335,
-0.04692390561103821,
-0.011300481855869293,
-0.0000218785680772271,
-0.009793750941753387,
0.023031458258628845,
-0.04681628197431564,
-0.0405382364988327,
0.009856531396508217,
0.01435878686606884,
-0.007677152752876282,
0.049614496529102325,
0.01170407049357891,
0.01457403413951397,
0.027336403727531433,
0.019641313701868057,
0.05391944199800491
] |
726,163 | penne.core | _start_communication_thread | Starts the communication thread for the client
All communication is done with the server in this separate thread. That way, the main thread can be used for
other code. For example, Orzo's window / gui has to run in the main thread, so this allows the client to be
used in conjunction with the gui.
| def _start_communication_thread(self):
"""Starts the communication thread for the client
All communication is done with the server in this separate thread. That way, the main thread can be used for
other code. For example, Orzo's window / gui has to run in the main thread, so this allows the client to be
used in conjunction with the gui.
"""
try:
asyncio.set_event_loop(self._loop)
self._loop.run_until_complete(self._run())
except Exception as e:
self.is_active = False
logging.warning(f"Connection terminated in communication thread: {e}")
| (self) | [
-0.004934095311909914,
-0.03571164235472679,
-0.06956171989440918,
-0.004881857894361019,
0.03928280621767044,
0.014626577496528625,
0.006634197663515806,
0.05672072619199753,
-0.060443855822086334,
-0.03502780199050903,
0.02777150087058544,
0.009436042048037052,
-0.03025991842150688,
-0.03785813972353935,
-0.0007794113480485976,
-0.04198017716407776,
-0.038978878408670425,
-0.017058009281754494,
-0.04957839846611023,
-0.027011679485440254,
-0.02657478116452694,
0.05368143692612648,
0.06226743012666702,
-0.018264226615428925,
0.005850630812346935,
0.04118236526846886,
-0.06709229946136475,
0.0004374913696665317,
0.016326678916811943,
-0.007175570819526911,
0.0287212785333395,
0.024732213467359543,
-0.012565559707581997,
-0.019024048000574112,
0.006757668685168028,
0.014066208153963089,
0.016032248735427856,
0.005285513121634722,
-0.023592479526996613,
-0.020401226356625557,
-0.057746488600969315,
-0.050832103937864304,
0.01568083092570305,
0.049464426934719086,
-0.04087843373417854,
-0.017048509791493416,
0.018311714753508568,
0.036490462720394135,
0.006448991131037474,
0.0042811231687664986,
-0.04775482416152954,
0.03525574877858162,
0.003044037614017725,
0.00961649976670742,
-0.040726471692323685,
0.06758618354797363,
-0.03404003381729126,
0.016374168917536736,
-0.05596090480685234,
-0.046995002776384354,
-0.11784842610359192,
0.02456125244498253,
-0.020686158910393715,
0.055467020720243454,
-0.010390568524599075,
-0.03523675352334976,
0.001334437751211226,
0.05106005072593689,
0.05147795379161835,
0.019546426832675934,
0.003093901090323925,
0.07955338805913925,
0.014303652569651604,
-0.01990734227001667,
0.026669759303331375,
0.03700334206223488,
-0.04479151964187622,
0.04653910920023918,
-0.06466086953878403,
0.049806345254182816,
-0.017599381506443024,
0.05865827575325966,
0.018207238987088203,
0.027144648134708405,
0.09490179270505905,
0.0031912531703710556,
-0.028398355469107628,
0.03536972403526306,
-0.0759822204709053,
-0.05295960605144501,
-0.036357492208480835,
0.01756139099597931,
-0.015405395068228245,
0.020553190261125565,
-0.006325519643723965,
0.04034655913710594,
-0.008334299549460411,
-0.014873519539833069,
-0.057746488600969315,
-0.029918000102043152,
-0.024238327518105507,
0.03692735731601715,
0.02064816839993,
-0.05166791006922722,
0.025947928428649902,
-0.09140661358833313,
-0.0025881442707031965,
0.011853226460516453,
-0.03905486315488815,
0.01267953310161829,
0.01328739058226347,
-0.004760760813951492,
0.028550319373607635,
0.04824870824813843,
-0.06302725523710251,
-0.011682266369462013,
-0.04251205176115036,
-0.007071095518767834,
0.01140683051198721,
-0.015927772969007492,
-0.04406968876719475,
0.0651167631149292,
0.014066208153963089,
-0.005674921907484531,
0.01160628441721201,
0.04851464927196503,
0.004485325422137976,
0.018786603584885597,
0.00783566664904356,
-0.0476408526301384,
0.009811203926801682,
0.031380657106637955,
0.02011629194021225,
0.015291421674191952,
-0.02570098638534546,
0.039776694029569626,
-0.05011027306318283,
-0.021901875734329224,
0.02199685201048851,
0.0340210385620594,
0.001333250547759235,
-0.019214004278182983,
0.01267953310161829,
-0.008600237779319286,
0.0002697962336242199,
0.04137231782078743,
-0.07480449974536896,
-0.0026546288281679153,
0.008058864623308182,
-0.04593125358223915,
0.021028079092502594,
0.014484111219644547,
0.014170683920383453,
-0.015044479630887508,
-0.0632551982998848,
0.002642756560817361,
-0.013980728574097157,
-0.050414204597473145,
0.07168922573328018,
0.021351004019379616,
-0.037231288850307465,
-0.003670891048386693,
0.049540407955646515,
-0.023915404453873634,
-0.016364671289920807,
0.007721693255007267,
-0.01721947081387043,
-0.03880791738629341,
0.0397007092833519,
0.03593958914279938,
0.011549297720193863,
0.07149926573038101,
-0.055049117654561996,
-0.04380375146865845,
0.0035664155147969723,
-0.0027424832805991173,
0.031114719808101654,
-0.009436042048037052,
-0.005057566333562136,
0.010419062338769436,
-0.024295315146446228,
-0.03303327038884163,
-0.02535906620323658,
-0.018397195264697075,
0.061317652463912964,
0.04555134102702141,
0.062381401658058167,
0.025264088064432144,
0.05805041640996933,
-0.02877826616168022,
-0.05527706444263458,
-0.005304508842527866,
-0.0007188630406744778,
0.007683701813220978,
0.030297910794615746,
0.013819266110658646,
0.05656876415014267,
-0.023706452921032906,
0.011482813395559788,
-0.02784748375415802,
0.007056848611682653,
0.005138297565281391,
0.03550269082188606,
0.021066071465611458,
0.019755376502871513,
-0.016022751107811928,
0.034476932138204575,
-0.00935056246817112,
0.02442828379571438,
-0.029006212949752808,
-0.02488417737185955,
-0.061849527060985565,
-0.009934674948453903,
0.04486750066280365,
0.07047350704669952,
-0.04555134102702141,
-0.03939678147435188,
0.00988718681037426,
0.042815979570150375,
0.03459090739488602,
0.01049504429101944,
0.04862862080335617,
-0.031380657106637955,
-0.028132416307926178,
-0.027809493243694305,
-0.02125602588057518,
-0.019527431577444077,
-0.013904746621847153,
-0.016440652310848236,
0.0013213782804086804,
0.0025264087598770857,
0.018311714753508568,
-0.043765757232904434,
0.03394505754113197,
-0.009070377796888351,
0.013021453283727169,
0.033812087029218674,
0.01285049319267273,
-0.06997962296009064,
-0.02326955460011959,
0.000043111005652463064,
-0.03516077250242233,
0.03584461286664009,
-0.0809970498085022,
-0.04520942270755768,
0.0026641266886144876,
0.03935879096388817,
0.010523537173867226,
-0.0007075844332575798,
0.03704133257269859,
-0.06371109187602997,
-0.03358414024114609,
0.019736381247639656,
-0.05360545590519905,
-0.04558933153748512,
-0.07408266514539719,
0.035806622356176376,
0.029842017218470573,
0.0035735387355089188,
0.06025389954447746,
-0.02803744003176689,
0.016250697895884514,
-0.05333951860666275,
0.06637047231197357,
0.02112305723130703,
-0.0399666465818882,
-0.022965626791119576,
0.017941301688551903,
-0.005133548751473427,
-0.016640106216073036,
0.14839327335357666,
0.002020652173087001,
0.03869394585490227,
0.012147657573223114,
-0.03717430308461189,
-0.03288130462169647,
-0.011881719343364239,
-0.023516496643424034,
-0.09854894131422043,
0.01096043549478054,
0.04327187314629555,
0.015433888882398605,
-0.022490737959742546,
0.013600817881524563,
-0.05113603547215462,
-0.08464419096708298,
0.042398080229759216,
0.01929948478937149,
-0.007617217488586903,
-0.04479151964187622,
-0.02051519975066185,
0.03519876301288605,
0.0024100609589368105,
-0.019679395481944084,
-0.013895248994231224,
-0.007384521886706352,
-0.05170590057969093,
0.04634915292263031,
0.007911648601293564,
-0.026004914194345474,
0.03411601856350899,
0.028360363095998764,
-0.057442557066679,
-0.01298346184194088,
0.005898119881749153,
-0.03852298483252525,
0.005399486515671015,
0.0566447451710701,
-0.03920682519674301,
-0.007754935417324305,
-0.03020293265581131,
-0.041068390011787415,
0.02864529751241207,
-0.06469886004924774,
-0.013648306019604206,
0.08912714570760727,
0.014541096985340118,
-0.004352356772869825,
0.021142052486538887,
0.04912250488996506,
-0.029291145503520966,
0.04558933153748512,
-0.0061545600183308125,
0.07522239536046982,
0.016906043514609337,
0.020230265334248543,
0.06682636588811874,
0.011881719343364239,
-0.02676473744213581,
0.036490462720394135,
-0.0144271245226264,
0.004041304346174002,
-0.07955338805913925,
-0.05341549962759018,
-0.010922444052994251,
-0.014674066565930843,
0.0415622740983963,
0.011387835256755352,
0.002030150033533573,
-0.04110638052225113,
-0.016117729246616364,
0.026555785909295082,
0.009801706299185753,
0.043955713510513306,
0.07351280003786087,
0.0076789529994130135,
-0.033660124987363815,
0.0011070846812799573,
0.03367912024259567,
-0.012138159945607185,
-0.015082471072673798,
0.036623429507017136,
-0.003920207731425762,
0.008771197870373726,
0.030829785391688347,
-0.010466550476849079,
-0.022756675258278847,
0.016516635194420815,
0.019251994788646698,
-0.014037715271115303,
-0.011615782044827938,
0.021483972668647766,
0.04391772300004959,
-0.010580523870885372,
-0.06678837537765503,
-0.034135013818740845,
-0.012271128594875336,
0.016849057748913765,
0.02207283489406109,
0.04467754438519478,
-0.02967105619609356,
-0.005067064426839352,
0.037231288850307465,
0.029500097036361694,
-0.03624352067708969,
0.014873519539833069,
-0.02731560915708542,
-0.006301775574684143,
-0.013087937608361244,
0.017988789826631546,
0.019926337525248528,
0.001355807762593031,
0.04027057811617851,
-0.018140755593776703,
-0.037706177681684494,
-0.026745742186903954,
0.0059551065787673,
-0.0291201863437891,
-0.0024528009817004204,
-0.0029229409992694855,
-0.0036067811306566,
-0.0030155442655086517,
-0.0250171460211277,
-0.009056131355464458,
-0.0005930174957029521,
-0.03498981148004532,
0.04661509394645691,
0.0391688346862793,
0.02307960018515587,
-0.01530091930180788,
0.010713493451476097,
0.031038736924529076,
0.001823573256842792,
0.032026506960392,
0.02858830988407135,
0.06876391172409058,
0.06519274413585663,
-0.07115735113620758,
0.0402325838804245,
-0.021806897595524788,
-0.04486750066280365,
-0.028759270906448364,
-0.06188751757144928,
0.047526877373456955,
-0.033052265644073486,
0.02898721769452095,
0.02024926245212555,
-0.0033194732386618853,
-0.0031057733576744795,
0.057936444878578186,
-0.005826886743307114,
0.010637510567903519,
0.018245231360197067,
0.05064215138554573,
0.029101191088557243,
-0.001932797720655799,
0.03679439052939415,
-0.0007063972298055887,
0.02925315499305725,
-0.039852675050497055,
-0.03267235308885574,
0.029899002984166145,
0.012033684179186821,
-0.013847759924829006,
0.045513350516557693,
0.008619233034551144,
0.006301775574684143,
0.011188382282853127,
0.010647008195519447,
0.0048771086148917675,
-0.057062648236751556,
-0.005361495539546013,
-0.011834231205284595,
-0.05246572196483612,
0.02247174084186554,
-0.00830105785280466,
-0.007270548492670059,
-0.02017327956855297,
0.018786603584885597,
0.005005328916013241,
-0.06397703289985657,
0.05463121831417084,
0.0005930174957029521,
0.0121761504560709,
-0.022642701864242554,
-0.011140893213450909,
-0.022148817777633667,
0.04619719088077545,
-0.011682266369462013,
-0.055922914296388626,
-0.0008856677450239658,
0.0017499654786661267,
-0.020971093326807022,
0.006838399916887283,
0.02300361730158329,
0.018311714753508568,
0.08198481798171997,
0.0040531763806939125,
-0.01503498200327158,
-0.0047987522557377815,
0.04756487160921097,
-0.019546426832675934,
0.050072282552719116,
-0.013572324067354202,
0.05383340269327164,
0.004024683032184839,
-0.018482675775885582,
-0.013106932863593102,
-0.015718821436166763,
-0.02925315499305725,
-0.058620281517505646,
-0.0139617333188653,
0.019679395481944084,
0.030848780646920204,
-0.084720179438591,
-0.0019826609641313553,
0.03445793688297272,
-0.02877826616168022,
0.0291201863437891,
-0.08076909929513931,
0.008961153216660023,
0.06264734268188477,
0.014066208153963089,
0.017133990302681923,
0.06207747384905815,
0.03377409651875496,
-0.07583025842905045,
-0.0006114194402471185,
-0.011387835256755352,
0.009003893472254276,
-0.003089152043685317,
0.01897655986249447,
-0.010590022429823875,
0.03611055016517639,
0.03542670980095863,
-0.014370137825608253,
-0.07290493696928024,
0.02530207857489586,
-0.02138899452984333,
0.0015184571966528893,
0.01950843445956707,
-0.01809326559305191,
-0.024029377847909927,
-0.05428929626941681,
0.055467020720243454,
0.00901813991367817,
-0.06640846282243729,
0.00015092562534846365,
-0.02292763441801071,
-0.03529374301433563,
0.027258621528744698,
0.02980402670800686,
0.06845998018980026,
0.055922914296388626,
0.0007627902668900788,
0.020800132304430008,
0.035065796226263046,
0.007754935417324305,
0.010333581827580929,
0.006045335438102484,
0.01265103928744793,
0.003851348767057061,
-0.039776694029569626,
-0.05812639743089676,
0.04034655913710594,
-0.0566447451710701,
-0.03645246848464012,
-0.012138159945607185,
-0.056264832615852356,
0.010419062338769436,
-0.01503498200327158,
0.010817968286573887,
-0.002180927200242877,
-0.12005190551280975,
-0.027524558827280998,
-0.0503002293407917,
0.02575797215104103,
0.05106005072593689,
0.0022212928161025047,
-0.023915404453873634,
0.03443894162774086,
0.02387741208076477,
0.009839697740972042,
0.03700334206223488,
-0.07955338805913925,
-0.023231564089655876,
-0.004378475248813629,
-0.032311439514160156,
-0.0033717111218720675,
-0.002040834864601493,
-0.011729755438864231,
-0.02535906620323658,
-0.08464419096708298,
0.01834970712661743,
0.02488417737185955,
0.024922167882323265,
0.0065344711765646935,
0.04619719088077545,
0.027676524594426155,
0.011463817209005356,
0.0038442255463451147,
0.03263436257839203,
-0.015053977258503437,
0.015281924046576023,
-0.023440515622496605,
0.03605356439948082,
0.004727518651634455,
0.008885171264410019,
0.006681686732918024,
-0.00650597782805562,
-0.006961870938539505,
-0.04555134102702141,
0.0011806924594566226,
-0.007360777817666531,
0.000461532617919147,
0.012138159945607185,
0.03479985520243645,
0.000968179723713547,
0.036547448486089706,
-0.09452188014984131,
0.030886773020029068,
0.011967199854552746,
0.029842017218470573,
-0.05132599174976349,
-0.0005876749637536705,
0.027600541710853577,
0.04881857708096504,
0.040042631328105927,
0.08555597811937332,
0.012518070638179779,
-0.06473685055971146,
0.024789199233055115,
-0.011881719343364239,
-0.05702465772628784,
0.03449592739343643,
-0.043499819934368134,
-0.036357492208480835,
-0.0019185510464012623,
-0.017580386251211166,
-0.0407644622027874,
0.014417625963687897,
0.015443386510014534,
-0.010352577082812786,
0.005309257656335831,
0.01809326559305191,
0.025530025362968445,
-0.03768718242645264,
0.038978878408670425,
0.03512278199195862,
0.04494348168373108,
0.0897350013256073,
-0.001600375515408814,
-0.013866755180060863,
-0.02125602588057518,
-0.03962472826242447,
-0.007455755490809679,
0.05299760028719902,
-0.05106005072593689,
-0.005043319892138243,
0.005219028797000647,
0.03658543899655342,
0.00018861993157770485,
-0.03989066556096077,
0.0017606505425646901,
0.025909937918186188,
-0.03833302855491638,
-0.02623286098241806,
0.0007313288515433669,
-0.003229244379326701,
-0.019451448693871498,
0.05972202494740486,
-0.0711953416466713,
0.010561528615653515,
-0.0809970498085022,
0.014750048518180847,
0.014417625963687897,
0.03624352067708969,
-0.0238204263150692,
-0.00775018660351634,
-0.0024183716159313917,
-0.01708650216460228,
0.06758618354797363,
0.00627328222617507,
0.05493514612317085,
-0.001671608886681497,
-0.008581241592764854,
-0.059836000204086304,
-0.018330710008740425,
0.021578950807452202,
0.037573207169771194,
0.0037231286987662315,
0.002068141009658575,
-0.019470443949103355,
-0.008058864623308182,
0.0569106824696064,
0.04087843373417854,
-0.03276733309030533,
-0.031570613384246826,
0.03227344900369644,
0.03873193636536598,
0.021085066720843315,
0.05987399071455002,
-0.00857649277895689,
0.017789337784051895,
0.029215164482593536,
0.04270200803875923,
-0.019831359386444092,
-0.07909749448299408,
0.019869349896907806,
-0.008690466172993183,
-0.05295960605144501,
0.01977437362074852,
-0.028531324118375778,
-0.05759452283382416,
0.007375024259090424,
-0.06336916983127594,
0.015585852786898613,
-0.0402325838804245,
0.040460530668497086,
-0.06462287902832031,
-0.03012694977223873,
0.048476655036211014,
-0.052237775176763535,
0.010855959728360176,
-0.03571164235472679,
-0.03774416819214821,
-0.0423600897192955,
-0.05170590057969093,
-0.056264832615852356,
0.024903172627091408,
0.08183284848928452,
-0.01049504429101944,
-0.022376764565706253,
0.042739998549222946,
0.022034844383597374,
0.038636960089206696,
-0.035806622356176376,
0.008305806666612625,
-0.007037853356450796,
-0.02226279117166996,
0.017039012163877487,
-0.02387741208076477,
0.025947928428649902,
0.023421520367264748,
-0.053035590797662735,
0.010333581827580929,
-0.0243523009121418,
0.04258803278207779,
0.022224798798561096,
0.010343079455196857,
-0.08031320571899414,
-0.014294154942035675,
0.040992408990859985,
-0.01573781669139862,
0.0897350013256073,
-0.014503106474876404,
-0.054175324738025665,
-0.015405395068228245,
-0.03536972403526306,
0.021958861500024796,
0.006543968804180622,
-0.026935696601867676,
-0.03641447797417641,
0.09695331007242203,
-0.026422817260026932,
-0.05755653232336044,
0.03168458491563797,
0.020933100953698158,
-0.06971368938684464,
0.013904746621847153,
0.003248239867389202,
-0.12179949879646301,
0.005860128905624151,
-0.015215439721941948,
0.017190977931022644,
0.014436622150242329,
-0.012404097244143486,
-0.007313288748264313,
0.013534332625567913,
0.049882326275110245,
0.005921864416450262,
-0.049274470657110214,
0.013268395327031612,
0.012603551149368286,
-0.02104707434773445,
-0.003996189683675766,
-0.03791512921452522,
0.03519876301288605,
-0.025947928428649902,
-0.01895756460726261,
0.020838124677538872,
0.013249400071799755,
0.016497639939188957,
0.013211408630013466,
-0.001010919688269496,
0.0170105192810297,
0.0281894039362669,
0.008448272943496704
] |
726,164 | penne.core | get_delegate | Getter to easily retrieve components from state
Accepts multiple types of identifiers for flexibility
Args:
identifier (ID | str | dict): id, name, or context for the component
Returns:
Delegate (Delegate): delegate object from state
Raises:
TypeError: if identifier is not a valid type
KeyError: if id or name is not found in state
ValueError: if context is not found in state
| def get_delegate(self, identifier: Union[delegates.ID, str, Dict[str, delegates.ID]]) -> Type[delegates.Delegate]:
"""Getter to easily retrieve components from state
Accepts multiple types of identifiers for flexibility
Args:
identifier (ID | str | dict): id, name, or context for the component
Returns:
Delegate (Delegate): delegate object from state
Raises:
TypeError: if identifier is not a valid type
KeyError: if id or name is not found in state
ValueError: if context is not found in state
"""
if isinstance(identifier, delegates.ID):
return self.state[identifier]
elif isinstance(identifier, str):
return self.state[self.get_delegate_id(identifier)]
elif isinstance(identifier, dict):
return self.get_delegate_by_context(identifier)
else:
raise TypeError(f"Invalid type for identifier: {type(identifier)}")
| (self, identifier: Union[penne.delegates.ID, str, Dict[str, penne.delegates.ID]]) -> Type[penne.delegates.Delegate] | [
-0.01747789792716503,
0.010107027366757393,
0.05059097707271576,
-0.04765007272362709,
0.02369474433362484,
0.008329455740749836,
0.01167985238134861,
0.002422056859359145,
0.009181015193462372,
-0.016119126230478287,
-0.02604002133011818,
0.02544439397752285,
-0.0423266664147377,
0.03603536635637283,
0.033317822962999344,
-0.0222801323980093,
-0.06637506186962128,
0.08510005474090576,
-0.05327129364013672,
-0.028031645342707634,
0.014797581359744072,
0.03445323556661606,
0.0359981395304203,
-0.024792928248643875,
-0.011819452047348022,
-0.01214518491178751,
0.012294091284275055,
0.010209400206804276,
0.00904141552746296,
-0.0070730578154325485,
0.018808750435709953,
0.011931131593883038,
0.005290833301842213,
-0.0022836204152554274,
-0.03650069981813431,
0.07419265061616898,
0.008729642257094383,
0.09142857789993286,
0.04273615777492523,
-0.001657747896388173,
-0.0738576129078865,
-0.018799442797899246,
0.07214518636465073,
0.018129363656044006,
-0.016426246613264084,
-0.01930200308561325,
-0.076202891767025,
-0.07914379239082336,
0.0057282461784780025,
-0.023080503568053246,
0.04869242012500763,
-0.06414146721363068,
-0.03743136674165726,
0.004269428085535765,
0.0002041647385340184,
0.02544439397752285,
-0.00531875342130661,
0.05606329068541527,
0.013606329448521137,
0.08859935402870178,
-0.02622615359723568,
-0.05174500122666359,
0.022708237171173096,
-0.03128897398710251,
-0.05554211512207985,
-0.0924709215760231,
0.05338297411799431,
-0.005239646881818771,
-0.05129828304052353,
0.00410888809710741,
0.04783620685338974,
-0.011456492356956005,
0.09448116272687912,
-0.05353187769651413,
0.05181945487856865,
-0.0273057259619236,
-0.025723593309521675,
0.014062355272471905,
0.08956724405288696,
0.03620288893580437,
-0.03547696769237518,
-0.04236389324069023,
-0.04295951873064041,
0.03372731804847717,
-0.014034436084330082,
0.02711959183216095,
0.02369474433362484,
0.0389762707054615,
-0.02738017961382866,
-0.04135877639055252,
0.018324803560972214,
-0.01852954924106598,
-0.01465798169374466,
-0.0337645448744297,
-0.07441601157188416,
-0.02473708800971508,
0.03246161341667175,
0.05803630128502846,
0.04057701677083969,
0.00665891170501709,
-0.03754304721951485,
-0.04392741248011589,
-0.00066019082441926,
0.014341555535793304,
-0.05598883703351021,
-0.03473243489861488,
-0.0009644021047279239,
0.03557003661990166,
0.004765007179230452,
-0.013382969424128532,
0.008915775455534458,
-0.05732899531722069,
-0.01922754943370819,
0.05822243168950081,
0.028068872168660164,
-0.05282457172870636,
0.01033969409763813,
0.0019311308860778809,
-0.07936715334653854,
-0.06507213413715363,
-0.05103769525885582,
0.03501163423061371,
-0.06276407837867737,
0.03826896473765373,
0.013234063051640987,
0.017235925421118736,
-0.022000933066010475,
-0.05531875789165497,
0.02909260243177414,
-0.01391344889998436,
0.015151234343647957,
0.03592368960380554,
0.02380642294883728,
0.03424848988652229,
0.023266637697815895,
0.06179618835449219,
-0.0025174501352012157,
0.02313634380698204,
-0.021181946620345116,
0.015728246420621872,
-0.01013494748622179,
-0.03246161341667175,
-0.00006667345587629825,
0.020251281559467316,
-0.009157748892903328,
-0.004974407143890858,
0.007915309630334377,
0.026133086532354355,
-0.022075384855270386,
0.0016205213032662868,
-0.015486273914575577,
0.005723592825233936,
0.04668218269944191,
0.02548162080347538,
-0.06321080029010773,
-0.023489996790885925,
-0.014164729043841362,
0.04053978994488716,
-0.005570033099502325,
-0.017161471769213676,
0.015597953461110592,
0.0371149405837059,
-0.030935321003198624,
-0.0217217318713665,
-0.005039553623646498,
-0.04362959787249565,
0.006914844736456871,
-0.04147045314311981,
0.03605398163199425,
0.03318753093481064,
-0.09120521694421768,
0.02510935440659523,
-0.03199627995491028,
0.03497440740466118,
-0.05059097707271576,
-0.014341555535793304,
-0.04221498593688011,
-0.019097255542874336,
0.04035365581512451,
-0.024048395454883575,
0.0332619845867157,
0.006607724819332361,
-0.05353187769651413,
0.06388088315725327,
0.027175432071089745,
0.03328059986233711,
0.015169847756624222,
0.004955793730914593,
0.06246626749634743,
-0.004904607310891151,
-0.022559331730008125,
-0.016658911481499672,
-0.04135877639055252,
0.0016426246147602797,
-0.0393485352396965,
0.004094928037375212,
-0.0005246626678854227,
-0.019655656069517136,
-0.03964634984731674,
0.03642624616622925,
0.028329458087682724,
0.06313634663820267,
-0.05427641049027443,
0.03923685848712921,
-0.08375989645719528,
-0.02201954647898674,
0.02343415655195713,
0.012219637632369995,
-0.00645416509360075,
-0.05047929659485817,
-0.0013006050139665604,
-0.026021407917141914,
-0.031233133748173714,
0.09008841961622238,
0.04441135749220848,
-0.03158678859472275,
0.00859004259109497,
-0.026207540184259415,
0.06406701356172562,
-0.01452768873423338,
0.04281061142683029,
0.07378315925598145,
0.03491856902837753,
0.014797581359744072,
-0.0050116335041821,
-0.0682736188173294,
-0.027659378945827484,
-0.01335505023598671,
0.03324337303638458,
-0.0389762707054615,
0.02481154166162014,
-0.05863192677497864,
0.02726849913597107,
0.009153095073997974,
0.07463937252759933,
-0.03875290974974632,
-0.06194509565830231,
-0.05144718661904335,
0.004965100437402725,
0.0939599871635437,
0.021070266142487526,
-0.012805957347154617,
0.06112610921263695,
-0.02689623273909092,
0.012824570760130882,
0.0080362968146801,
0.01982317492365837,
0.0757189467549324,
-0.03655654191970825,
-0.010516519658267498,
0.0072871106676757336,
-0.03501163423061371,
0.016342485323548317,
-0.01274081040173769,
-0.024755701422691345,
-0.020846907049417496,
-0.02987436205148697,
-0.04027920216321945,
-0.0003487087378744036,
-0.021219173446297646,
-0.012973477132618427,
0.012219637632369995,
0.04582596942782402,
0.02868311107158661,
-0.024160075932741165,
-0.016342485323548317,
-0.03482550382614136,
0.02473708800971508,
-0.011056305840611458,
0.0023615637328475714,
0.06298743933439255,
0.017831550911068916,
0.03761750087141991,
0.03497440740466118,
0.0021800838876515627,
-0.08524896204471588,
0.018399257212877274,
-0.007445323746651411,
-0.01956258900463581,
-0.0060632857494056225,
-0.0482829250395298,
0.05144718661904335,
0.026989299803972244,
-0.03076780028641224,
-0.027994418516755104,
-0.03028385527431965,
0.03620288893580437,
0.00935318786650896,
0.0291670560836792,
0.016975339502096176,
0.027436017990112305,
-0.02335970476269722,
-0.05248953402042389,
0.026691487058997154,
-0.04340623691678047,
0.03473243489861488,
-0.09038623422384262,
0.0007404607604257762,
0.02797580510377884,
-0.03436017036437988,
-0.010795719921588898,
0.008161935955286026,
-0.02901815064251423,
-0.03856677934527397,
-0.08271755278110504,
-0.01930200308561325,
-0.000617147539742291,
0.009548627771437168,
-0.01871568337082863,
-0.006584458518773317,
0.05107492208480835,
0.01331782341003418,
-0.025351328775286674,
-0.001900884322822094,
0.0058120060712099075,
-0.026505352929234505,
-0.007166124414652586,
-0.05718008801341057,
0.07590507715940475,
0.09425780177116394,
-0.0284225232899189,
0.04351791739463806,
-0.016612378880381584,
0.03890181705355644,
-0.022149838507175446,
0.01469520851969719,
-0.0314006544649601,
0.011130759492516518,
-0.015784086659550667,
0.0003411470679566264,
-0.05710563436150551,
-0.019432295113801956,
0.02592834085226059,
-0.04887855052947998,
0.012052117846906185,
-0.05442531779408455,
0.03743136674165726,
0.031456492841243744,
0.0635458379983902,
0.010832946747541428,
0.021777572110295296,
-0.009716147556900978,
-0.029483482241630554,
-0.009064681828022003,
0.021219173446297646,
-0.01207073125988245,
0.031158680096268654,
-0.008362029679119587,
0.07698465138673782,
-0.04936249926686287,
-0.04563983529806137,
-0.00752443028613925,
0.011596092022955418,
-0.028590044006705284,
0.021033039316534996,
-0.08100512623786926,
-0.03175430744886398,
-0.06857143342494965,
-0.03523499518632889,
-0.0036435553338378668,
0.0042345281690359116,
-0.018315497785806656,
-0.023266637697815895,
0.01264774426817894,
-0.04798511415719986,
0.00918566808104515,
-0.008915775455534458,
-0.019432295113801956,
0.016026059165596962,
-0.06313634663820267,
-0.01140065211802721,
-0.009436948224902153,
-0.05345742776989937,
0.04683108627796173,
-0.0233969297260046,
0.010711959563195705,
0.0341368094086647,
-0.026468126103281975,
0.01823173649609089,
0.010386226698756218,
0.03454630449414253,
-0.01707771234214306,
-0.010832946747541428,
0.06023266911506653,
0.02607724629342556,
-0.04255002737045288,
-0.025537461042404175,
0.0206049345433712,
-0.016640299931168556,
0.01874360255897045,
0.016268033534288406,
0.0026779898907989264,
0.008403909392654896,
-0.01080502662807703,
0.010684039443731308,
-0.02000930719077587,
0.05301070585846901,
-0.000441484444309026,
0.020586321130394936,
0.0024453236255794764,
0.02671010047197342,
-0.009381107985973358,
0.07519777119159698,
0.04042810946702957,
0.010488600470125675,
0.07032108306884766,
0.05718008801341057,
-0.04061424359679222,
-0.00034143790253438056,
-0.07408097386360168,
0.05114937573671341,
0.006654258351773024,
-0.05531875789165497,
-0.0013052583672106266,
-0.013085156679153442,
-0.010870172642171383,
0.0939599871635437,
-0.0011551885399967432,
-0.004218241199851036,
-0.03411819785833359,
-0.012954863719642162,
-0.015793394297361374,
-0.026617033407092094,
-0.04202885553240776,
0.004094928037375212,
0.013299209997057915,
-0.0047836205922067165,
0.05245230719447136,
0.015141927637159824,
0.02510935440659523,
-0.031047001481056213,
-0.023489996790885925,
0.007994416169822216,
-0.013057236559689045,
0.01344811636954546,
0.0089669618755579,
0.008189856074750423,
-0.0012494184775277972,
0.005984179209917784,
0.00307817617431283,
-0.011931131593883038,
-0.009678920730948448,
-0.003836668562144041,
0.015337367542088032,
-0.04523034393787384,
-0.0813029408454895,
0.05323406681418419,
0.0014460214879363775,
-0.011931131593883038,
-0.011037692427635193,
0.01830619014799595,
-0.0021347140427678823,
0.04608655348420143,
0.05248953402042389,
0.011661238968372345,
0.005127966869622469,
-0.03771056607365608,
0.02931596338748932,
0.006551885046064854,
-0.019171709194779396,
-0.013168917037546635,
-0.05576547607779503,
0.028850629925727844,
0.019469521939754486,
-0.05215449258685112,
-0.0013343417085707188,
-0.02622615359723568,
-0.0423266664147377,
0.02451372891664505,
0.04303397238254547,
0.02812471054494381,
0.030749188736081123,
0.025686368346214294,
-0.009181015193462372,
-0.02179618552327156,
-0.005239646881818771,
0.0012982783373445272,
-0.019432295113801956,
0.014295022003352642,
-0.04787343367934227,
0.00632387213408947,
0.03294555842876434,
-0.021181946620345116,
-0.03285249322652817,
-0.027808284386992455,
-0.002961843041703105,
0.04537925124168396,
0.03782224655151367,
0.005542112980037928,
0.020176827907562256,
0.002095160773023963,
0.0958213210105896,
0.011000466533005238,
-0.05047929659485817,
0.05494648963212967,
-0.011093532666563988,
0.04649604856967926,
-0.06514658778905869,
-0.013159610331058502,
-0.014741741120815277,
0.03886459022760391,
-0.014397394843399525,
0.06153560057282448,
0.003762215143069625,
0.003448115661740303,
-0.07333643734455109,
-0.04906468465924263,
0.04117264226078987,
0.016993951052427292,
0.017170777544379234,
-0.018352722749114037,
0.011856677941977978,
0.0049697537906467915,
0.004069334827363491,
-0.0381014458835125,
-0.03450907766819,
0.02127501368522644,
0.025798046961426735,
-0.05680782347917557,
-0.0189297366887331,
0.04124709591269493,
0.029855748638510704,
0.010293160565197468,
-0.016268033534288406,
-0.01799906976521015,
0.0538669191300869,
-0.006021405570209026,
0.001447184826247394,
-0.018166590481996536,
-0.003178222570568323,
-0.05602606385946274,
-0.021479759365320206,
-0.02306189015507698,
0.04846905916929245,
-0.05699395388364792,
-0.10832946002483368,
-0.06034434959292412,
-0.014425314962863922,
-0.020921360701322556,
-0.006896231323480606,
0.06268962472677231,
0.01875291019678116,
-0.05442531779408455,
0.004304328002035618,
0.03039553575217724,
-0.04839460551738739,
0.009450907818973064,
0.004955793730914593,
-0.0024290368892252445,
0.0706188976764679,
0.02976268157362938,
-0.05140996351838112,
0.007673337124288082,
-0.05118660256266594,
-0.0027361565735191107,
0.02577943354845047,
0.006002792622894049,
-0.002235923893749714,
-0.02931596338748932,
0.01201489195227623,
0.012322011403739452,
0.008855282329022884,
0.005239646881818771,
-0.00595160573720932,
0.05066543072462082,
-0.0010016286978498101,
0.08301535993814468,
-0.08346208184957504,
0.000215652646147646,
-0.02522103488445282,
-0.02481154166162014,
0.025388553738594055,
0.0018683109665289521,
-0.01499302126467228,
0.015104700811207294,
0.022782690823078156,
0.0015216381289064884,
-0.0646626353263855,
0.0020288508385419846,
-0.04649604856967926,
0.0336342491209507,
-0.007017218042165041,
-0.024346210062503815,
-0.0072871106676757336,
-0.004937180317938328,
-0.005565379746258259,
-0.06376919895410538,
0.0003702303802128881,
0.02291298471391201,
-0.04701722040772438,
-0.00361330877058208,
-0.05100046843290329,
0.00808748323470354,
0.022410424426198006,
0.013494649901986122,
0.07489995658397675,
0.007100977934896946,
0.014229875057935715,
0.03374592959880829,
-0.07203350961208344,
-0.010255933739244938,
0.0062959520146250725,
-0.004502094350755215,
-0.03207073360681534,
0.06187064200639725,
-0.0010144254192709923,
-0.005872499197721481,
0.01622149907052517,
-0.0408376008272171,
-0.10684040188789368,
0.0362401157617569,
-0.03886459022760391,
0.03428571671247482,
0.019543975591659546,
0.01706840470433235,
-0.021442532539367676,
0.02927873656153679,
-0.0035039556678384542,
-0.05543043836951256,
-0.011856677941977978,
0.013978595845401287,
-0.00662168487906456,
0.0014692881377413869,
-0.018213123083114624,
0.00032544208806939423,
-0.0009835971286520362,
0.005704979412257671,
0.009883667342364788,
0.03154956176877022,
0.0004420661134645343,
0.02533271536231041,
0.0605677105486393,
0.025984181091189384,
-0.03879013657569885,
-0.0025104701053351164,
0.026728713884949684,
0.08964169770479202,
0.04392741248011589,
-0.005127966869622469,
-0.023787809535861015,
-0.004895300604403019,
0.02067938819527626,
0.005630526226013899,
0.00011706026998581365,
-0.004904607310891151,
-0.02049325406551361,
0.04087482765316963,
0.007017218042165041,
-0.00471382075920701,
0.011354118585586548,
-0.0239553302526474,
-0.0284225232899189,
-0.04832015186548233,
0.008510936051607132,
0.06291298568248749,
-0.011354118585586548,
0.030749188736081123,
0.008189856074750423,
0.042698934674263,
-0.006821778137236834,
-0.001874127658084035,
0.03867845609784126,
-0.017729178071022034,
0.03266635909676552,
-0.010907399468123913,
-0.0306561216711998,
-0.05416473001241684,
-0.02026989497244358,
0.03908795118331909,
-0.014164729043841362,
0.0742298811674118,
-0.003199162660166621,
-0.0023022338282316923,
0.0019671942573040724,
0.03396929055452347,
-0.0374872051179409,
0.04910191148519516,
-0.05360633134841919,
0.05606329068541527,
0.007966496981680393,
-0.010926012881100178,
0.01643555238842964,
-0.02812471054494381,
0.010553746484220028,
-0.008827362209558487,
-0.012563983909785748,
0.08554676920175552,
-0.0493997260928154,
0.032796651124954224,
-0.07363425195217133,
0.022038158029317856,
0.013401582837104797,
0.010981853120028973,
-0.00450907414779067,
-0.020809680223464966,
-0.05077710747718811,
-0.0775802731513977,
0.000431305292295292,
-0.024383435025811195,
0.0217217318713665,
0.028887856751680374,
0.02957654930651188,
0.03659376874566078,
-0.02711959183216095,
0.06049325689673424,
-0.01978594809770584,
-0.006947417743504047,
0.03020940162241459,
0.0775802731513977,
-0.0289809238165617,
0.009530014358460903,
-0.019804561510682106,
0.02693345956504345,
0.06198232248425484,
0.007617496885359287,
-0.04474639520049095,
-0.018501630052924156,
0.021665893495082855,
-0.03968357667326927,
0.04534202441573143,
-0.011428572237491608,
-0.028180550783872604,
0.04980921745300293,
-0.03923685848712921,
0.01080502662807703,
0.08956724405288696,
0.05859469994902611,
-0.0070916712284088135,
-0.013550489209592342,
0.0587063804268837,
0.0445602647960186,
0.03642624616622925,
-0.03808283060789108,
0.01710563153028488,
0.008692415431141853,
-0.026170313358306885,
0.08457887917757034,
0.01495579443871975,
-0.0005426942952908576,
0.03292694687843323,
-0.03462075814604759,
0.05852024629712105,
0.04411354288458824,
0.06775245070457458,
0.004997673910111189,
0.013159610331058502,
0.00968822743743658,
-0.024941835552453995,
-0.00271056336350739,
-0.03633318096399307,
-0.02711959183216095,
0.04094928130507469,
0.01870637573301792,
-0.007989763282239437,
0.02432759664952755,
-0.0359981395304203,
-0.03175430744886398,
-0.0453047975897789,
-0.0026500700041651726,
-0.030786413699388504,
-0.0010993486503139138,
0.013103770092129707,
-0.009809214621782303,
-0.0241414625197649,
-0.04154490679502487,
-0.026803165674209595,
-0.05375523865222931,
0.01622149907052517
] |
726,165 | penne.core | get_delegate_by_context | Get delegate object from a context object
Contexts are of the form {"table": TableID}, {"entity": EntityID}, or {"plot": PlotID}.
They are only applicable for tables, entities, and plots
Args:
context (dict): dict containing context
Returns:
Delegate (Delegate): delegate object from state
Raises:
ValueError: Couldn't get delegate from context
| def get_delegate_by_context(self, context: dict = None) -> delegates.Delegate:
"""Get delegate object from a context object
Contexts are of the form {"table": TableID}, {"entity": EntityID}, or {"plot": PlotID}.
They are only applicable for tables, entities, and plots
Args:
context (dict): dict containing context
Returns:
Delegate (Delegate): delegate object from state
Raises:
ValueError: Couldn't get delegate from context
"""
if not context:
target_delegate = self.state["document"]
return target_delegate
table = context.get("table")
entity = context.get("entity")
plot = context.get("plot")
if table:
target_delegate = self.state[delegates.TableID(*table)]
elif entity:
target_delegate = self.state[delegates.EntityID(*entity)]
elif plot:
target_delegate = self.state[delegates.PlotID(*plot)]
else:
raise ValueError("Couldn't get delegate from context")
return target_delegate
| (self, context: Optional[dict] = None) -> penne.delegates.Delegate | [
-0.011374933645129204,
0.003276018425822258,
0.02246946655213833,
-0.04508848115801811,
0.014066783711314201,
-0.028133567422628403,
0.013543368317186832,
0.06247334182262421,
0.036975543946027756,
-0.0020177189726382494,
-0.00029485917184501886,
0.005467819515615702,
-0.035704392939805984,
0.008739164099097252,
0.015842655673623085,
-0.04441551864147186,
-0.04624747112393379,
0.055855877697467804,
0.008402682840824127,
-0.055668946355581284,
0.022805947810411453,
0.003605489619076252,
-0.02056274004280567,
-0.05753828585147858,
-0.04460245370864868,
0.01240307092666626,
-0.028357887640595436,
0.007542787119746208,
0.057912152260541916,
0.025273477658629417,
0.024544434621930122,
-0.03974216803908348,
0.02132917009294033,
0.02732975035905838,
-0.005893094465136528,
0.05114514380693436,
-0.034451935440301895,
0.09189675748348236,
0.028339194133877754,
-0.025647344067692757,
-0.09331744909286499,
-0.024189259856939316,
0.029124317690730095,
0.06239856779575348,
-0.007832534611225128,
0.02452574111521244,
-0.06845523416996002,
-0.007192285731434822,
0.04535018652677536,
-0.028376581147313118,
0.015225774608552456,
-0.03301254287362099,
0.009472880512475967,
-0.03243304789066315,
-0.03615303710103035,
0.02278725430369377,
-0.07140878587961197,
0.05540723726153374,
0.0045401593670248985,
0.06404358893632889,
-0.025834279134869576,
-0.007281079422682524,
0.0790356919169426,
-0.012823672033846378,
-0.04703259468078613,
-0.04374255612492561,
0.020319726318120956,
-0.0068043977953493595,
-0.0027292363811284304,
0.0076409270986914635,
-0.021572183817625046,
-0.008781224489212036,
0.05331357568502426,
-0.020674901083111763,
0.002818030072376132,
-0.04751862213015556,
0.004680360201746225,
0.02703065611422062,
0.0660998597741127,
0.012103976681828499,
-0.025516491383314133,
-0.023142429068684578,
-0.027797086164355278,
-0.008799917995929718,
0.008725144900381565,
0.0168614462018013,
0.026226840913295746,
0.08673737943172455,
0.006047314964234829,
-0.06916557997465134,
-0.0022186730057001114,
-0.03787282854318619,
-0.017085768282413483,
-0.05641668289899826,
-0.09421473741531372,
-0.059071142226457596,
0.002159087685868144,
0.04493893310427666,
0.009860768914222717,
0.0036452130880206823,
-0.023422829806804657,
0.013534021563827991,
-0.04407903552055359,
0.04867761209607124,
-0.026787642389535904,
0.007178265601396561,
-0.0018705083057284355,
-0.009842075407505035,
0.03888227045536041,
0.014936026185750961,
-0.021048767492175102,
-0.030675869435071945,
0.051705945283174515,
0.03766719996929169,
0.027068043127655983,
-0.05738873779773712,
-0.012085283175110817,
0.016627779230475426,
-0.08210141211748123,
-0.050546955317258835,
-0.02994682639837265,
0.030507627874612808,
-0.008725144900381565,
-0.02761015109717846,
-0.01540336199104786,
-0.032806918025016785,
-0.009169112890958786,
-0.06714669615030289,
0.054435182362794876,
-0.022600321099162102,
0.058099087327718735,
-0.02925517037510872,
0.055594172328710556,
0.05574372038245201,
0.012309604324400425,
0.08591486513614655,
-0.014412611722946167,
0.03510620445013046,
-0.0603049099445343,
-0.003063380951061845,
-0.014693012461066246,
-0.01975892297923565,
-0.035723086446523666,
-0.007224998902529478,
-0.018450384959578514,
0.009739261120557785,
-0.034844499081373215,
0.03693815693259239,
0.004245738498866558,
-0.015188387595117092,
-0.008276502601802349,
-0.01996455155313015,
0.047929879277944565,
0.011599254794418812,
-0.04759339615702629,
0.003991040866822004,
-0.0683804601430893,
0.025423023849725723,
0.0028413967229425907,
-0.025516491383314133,
0.04935057461261749,
0.03284430503845215,
-0.04692043364048004,
0.025123929604887962,
0.00254230247810483,
-0.028339194133877754,
0.02073097974061966,
-0.07484837621450424,
0.016786674037575722,
0.017282048240303993,
-0.07701680809259415,
0.010636544786393642,
0.045611895620822906,
0.03043285571038723,
-0.03643343597650528,
0.03819061443209648,
-0.023422829806804657,
-0.016123058274388313,
0.023142429068684578,
0.031722698360681534,
0.0033905154559761286,
0.00857092346996069,
-0.05080866068601608,
0.06688498705625534,
0.02781577967107296,
0.050546955317258835,
0.007290426176041365,
0.03574177995324135,
0.057313963770866394,
-0.004271442070603371,
-0.04785510525107384,
-0.006051988340914249,
-0.003741016611456871,
-0.020880527794361115,
-0.03385374695062637,
0.022805947810411453,
0.008295196108520031,
0.018674707040190697,
-0.05802431330084801,
0.06740839779376984,
-0.0045074461959302425,
0.03966739401221275,
-0.032993849366903305,
0.06606247276067734,
-0.05869727581739426,
0.02656332217156887,
0.021871278062462807,
0.0749979242682457,
-0.08397075533866882,
-0.0465465672314167,
0.011393627151846886,
-0.035423994064331055,
-0.04164889454841614,
0.04071422666311264,
0.0527527742087841,
0.05970671772956848,
-0.03032069467008114,
-0.0026381060015410185,
0.016711900010704994,
0.01187030877918005,
-0.011412320658564568,
0.017459634691476822,
0.025310862809419632,
-0.033087316900491714,
0.024974381551146507,
-0.07701680809259415,
0.04721952974796295,
-0.04856545478105545,
0.038321468979120255,
-0.07798886299133301,
0.011169306933879852,
-0.023011574521660805,
0.0036755898036062717,
0.04280788451433182,
0.10027139633893967,
-0.056940097361803055,
-0.01968415081501007,
-0.035143591463565826,
-0.02626422606408596,
0.05163117125630379,
0.03333033248782158,
0.03344249352812767,
0.03761111944913864,
-0.018459731712937355,
-0.008440069854259491,
0.027086736634373665,
0.05765044689178467,
-0.0015702456003054976,
0.0007383893243968487,
-0.010599157772958279,
0.006598770152777433,
-0.04063945263624191,
0.008926098234951496,
-0.022338613867759705,
-0.045013707131147385,
-0.004977117758244276,
0.002633432624861598,
0.0050939517095685005,
0.0012419427512213588,
-0.016403459012508392,
-0.0025095888413488865,
-0.015038840472698212,
0.0006782198906876147,
0.035910021513700485,
-0.01337512768805027,
-0.01910465396940708,
-0.031834859400987625,
0.008327909745275974,
-0.023422829806804657,
-0.003878880525007844,
0.086064413189888,
0.013459247536957264,
0.05604281276464462,
0.009061625227332115,
0.019497215747833252,
-0.047742944210767746,
-0.01036548987030983,
0.028451355174183846,
-0.056267134845256805,
-0.04310698062181473,
-0.015917429700493813,
0.015936123207211494,
0.047256916761398315,
0.00799610186368227,
-0.0275166854262352,
-0.037461575120687485,
0.04467722773551941,
-0.006767010781913996,
0.04157412052154541,
-0.01599220372736454,
0.03394721448421478,
0.01270216517150402,
-0.04310698062181473,
0.029890745878219604,
-0.08314824104309082,
0.053836990147829056,
-0.09271926432847977,
-0.027180204167962074,
-0.008248462341725826,
-0.002514262218028307,
-0.02353499084711075,
0.019114000722765923,
0.026993269100785255,
0.023291977122426033,
-0.051892876625061035,
0.005379025824368,
0.06000581383705139,
0.008458763360977173,
0.02114223502576351,
-0.035723086446523666,
0.03676991909742355,
0.01754375547170639,
-0.02876914292573929,
-0.01570245623588562,
-0.04348084703087807,
-0.00858027022331953,
0.00979534164071083,
-0.04486415907740593,
0.07140878587961197,
0.08187709003686905,
-0.07686726003885269,
0.06991331279277802,
0.01144036091864109,
-0.016618432477116585,
0.04852806776762009,
0.02375931106507778,
-0.04000387713313103,
-0.03690076991915703,
-0.045499734580516815,
0.011412320658564568,
0.012468498200178146,
0.017515715211629868,
0.041050706058740616,
-0.022749867290258408,
-0.025180010125041008,
-0.024058405309915543,
0.03564831241965294,
0.05836079642176628,
0.022693786770105362,
-0.011739455163478851,
-0.0010853855637833476,
-0.04542496055364609,
0.013197540305554867,
-0.03557353839278221,
0.026189453899860382,
-0.06045445427298546,
-0.00605666171759367,
0.013608795590698719,
0.0732407420873642,
-0.010711317881941795,
-0.060342296957969666,
-0.015207081101834774,
0.03759242594242096,
-0.014403264969587326,
-0.02626422606408596,
-0.025852972641587257,
-0.03740549460053444,
-0.046845659613609314,
-0.056154973804950714,
-0.0006238922360353172,
0.027647538110613823,
0.05727657675743103,
-0.006771684158593416,
0.01919812150299549,
-0.054023925215005875,
0.08030684292316437,
-0.039480458945035934,
0.017300741747021675,
0.031049737706780434,
-0.055855877697467804,
-0.006196862086653709,
-0.0034021988976746798,
0.0028367233462631702,
0.061389125883579254,
0.01037483662366867,
-0.026507241651415825,
0.01695491373538971,
-0.043181754648685455,
0.0426209531724453,
0.014375224709510803,
0.026021212339401245,
-0.02093660831451416,
0.01599220372736454,
0.02325459010899067,
0.0028390600346028805,
-0.031068431213498116,
-0.0270493496209383,
0.014805172570049763,
-0.005584653466939926,
0.012365683913230896,
-0.0412750281393528,
-0.020413191989064217,
-0.020319726318120956,
-0.0022268511820584536,
0.03015245497226715,
-0.02557257190346718,
-0.025273477658629417,
0.03198440745472908,
-0.03473233804106712,
-0.037274640053510666,
0.011169306933879852,
-0.011505787260830402,
0.041424576193094254,
0.0032736817374825478,
-0.008954138495028019,
0.06673543900251389,
0.056940097361803055,
-0.040938545018434525,
0.04778033122420311,
-0.02432011254131794,
0.003979357425123453,
0.010673931799829006,
-0.033872440457344055,
0.037760667502880096,
-0.025273477658629417,
-0.02538563683629036,
0.0536874458193779,
0.009814035147428513,
0.011664681136608124,
0.008715798147022724,
0.02228253334760666,
0.050546955317258835,
-0.0014534118818119168,
-0.05361267179250717,
0.007818514481186867,
-0.0064445496536791325,
-0.010430917143821716,
0.020282339304685593,
0.013777036219835281,
0.01336578093469143,
-0.07114707678556442,
-0.007201632484793663,
0.04381733015179634,
-0.01299191266298294,
-0.005579980090260506,
-0.015347281470894814,
0.02413317933678627,
-0.021516103297472,
-0.010430917143821716,
0.02188997156918049,
-0.006678217090666294,
-0.06008058786392212,
-0.0036195095162838697,
0.025236090645194054,
-0.07245561480522156,
-0.06284721195697784,
-0.0007512409938499331,
-0.017487674951553345,
-0.05611758679151535,
-0.008468110114336014,
0.04692043364048004,
-0.00039460600237362087,
0.04692043364048004,
0.013038646429777145,
-0.0085335373878479,
-0.004056467674672604,
-0.01187965553253889,
-0.007668967358767986,
0.007935347966849804,
0.04864022508263588,
-0.014206984080374241,
-0.024955688044428825,
0.03811584413051605,
-0.056827936321496964,
-0.0532761886715889,
0.01017855666577816,
-0.009888808242976665,
-0.007421279791742563,
0.0447893850505352,
0.021104848012328148,
0.02179650403559208,
0.03153576701879501,
-0.002983934013172984,
-0.021497409790754318,
-0.015571602620184422,
0.028432661667466164,
0.03458278998732567,
-0.0228620283305645,
0.03733072057366371,
0.006309022661298513,
0.013122767210006714,
0.020768366754055023,
0.032993849366903305,
-0.04280788451433182,
-0.049574896693229675,
-0.013477941043674946,
0.010524383746087551,
-0.024488354101777077,
0.004119557794183493,
0.027946632355451584,
0.021572183817625046,
0.11298290640115738,
0.038919657468795776,
-0.06026752293109894,
0.03235827386379242,
-0.02452574111521244,
0.055182915180921555,
0.030115067958831787,
0.0012734879273921251,
-0.027273669838905334,
0.023983631283044815,
-0.013655528426170349,
0.0051593785174191,
-0.010673931799829006,
0.0068371109664440155,
-0.04576144367456436,
-0.07398847490549088,
0.005215458571910858,
-0.04576144367456436,
-0.010795438662171364,
-0.0412750281393528,
0.021011382341384888,
-0.007295099552720785,
0.027479298412799835,
-0.04662134125828743,
-0.035423994064331055,
-0.005939827766269445,
0.033573348075151443,
-0.012655431404709816,
-0.057239189743995667,
0.036115650087594986,
0.06707192212343216,
0.024936996400356293,
-0.022562934085726738,
-0.0248248353600502,
0.005827667657285929,
0.02607729285955429,
0.04176105558872223,
0.026395080611109734,
-0.0306197889149189,
-0.02179650403559208,
-0.016216523945331573,
0.0005032613989897072,
0.012029202654957771,
-0.04206015169620514,
-0.04131241515278816,
-0.05417347326874733,
-0.06980115920305252,
0.02005801908671856,
0.00046967167872935534,
0.026974575594067574,
-0.0297411996871233,
-0.05245368182659149,
-0.028227033093571663,
0.02712412364780903,
-0.03779805451631546,
0.04609792307019234,
-0.008028815500438213,
-0.028656981885433197,
0.031255364418029785,
0.04576144367456436,
-0.03622780740261078,
0.026133373379707336,
-0.04310698062181473,
-0.02925517037510872,
0.03791021555662155,
0.023796698078513145,
0.029236476868391037,
0.014328490942716599,
-0.0189831480383873,
-0.02761015109717846,
-0.030096374452114105,
0.010589811019599438,
0.0065567102283239365,
0.05166855826973915,
0.0017431596061214805,
0.032320886850357056,
-0.040078651160001755,
-0.037648506462574005,
-0.018955107778310776,
-0.012431111186742783,
-0.020226258784532547,
0.02297418937087059,
0.005103297997266054,
0.043181754648685455,
0.04972444474697113,
-0.04546234756708145,
-0.024843528866767883,
0.030563708394765854,
-0.06064138934016228,
0.011926389299333096,
-0.009720567613840103,
0.004180311691015959,
-0.004902344197034836,
-0.023105042055249214,
-0.029012156650424004,
-0.03091888315975666,
0.035237058997154236,
0.06452962011098862,
-0.01832887902855873,
-0.030488936230540276,
-0.055594172328710556,
-0.06636156886816025,
0.010309410281479359,
0.0643426850438118,
0.028357887640595436,
-0.05439779534935951,
-0.02723628468811512,
-0.004916364327073097,
-0.055482011288404465,
-0.03247043490409851,
0.04516325518488884,
-0.024207953363656998,
-0.031068431213498116,
0.030376775190234184,
-0.0052621918730437756,
-0.07813841104507446,
-0.011991815641522408,
-0.045200642198324203,
-0.0825500562787056,
0.005182744935154915,
-0.009851422160863876,
0.027666231617331505,
0.019609376788139343,
-0.025441717356443405,
-0.03742418810725212,
-0.03918136656284332,
0.016711900010704994,
-0.056154973804950714,
-0.019235508516430855,
0.009342026896774769,
-0.007304445840418339,
-0.0022583964746445417,
-0.039293527603149414,
-0.012907792814075947,
0.015356628224253654,
0.030451549217104912,
-0.0038157901726663113,
-0.02936733141541481,
0.043555621057748795,
0.0048696305602788925,
0.03443324193358421,
-0.003612499451264739,
-0.023142429068684578,
0.0728294849395752,
0.033479880541563034,
0.046658724546432495,
0.020600127056241035,
-0.019553296267986298,
0.014506078325212002,
-0.03452670946717262,
0.02056274004280567,
0.04594837874174118,
-0.03447062894701958,
-0.008767204359173775,
-0.01627260446548462,
0.02327328361570835,
0.0002828837314154953,
0.02065620757639408,
0.02946079894900322,
-0.028413968160748482,
-0.04179844260215759,
-0.02297418937087059,
0.0015258487546816468,
0.08456894010305405,
0.05436040833592415,
0.01968415081501007,
0.0023203182499855757,
0.03482580557465553,
-0.011711414903402328,
0.020955301821231842,
0.013150806538760662,
-0.015188387595117092,
-0.005196765065193176,
0.0010655238293111324,
0.029834667220711708,
-0.03869533911347389,
-0.01516034733504057,
0.04243401810526848,
0.021160928532481194,
0.08494281023740768,
0.03519967198371887,
-0.03847101703286171,
0.04553712159395218,
0.04019080847501755,
-0.01917942799627781,
0.026488548144698143,
-0.04901409521698952,
0.05608019977807999,
-0.04867761209607124,
0.013534021563827991,
-0.0027502665761858225,
0.011346893385052681,
0.045125868171453476,
-0.03734941408038139,
0.006799724418669939,
0.10483258962631226,
-0.047144755721092224,
0.01037483662366867,
-0.07563349604606628,
-0.0048462641425430775,
0.020805753767490387,
0.029965519905090332,
0.0443781316280365,
0.00009879753633867949,
-0.036302581429481506,
-0.09892547130584717,
-0.025722118094563484,
-0.05009831115603447,
0.033106010407209396,
0.016225870698690414,
0.019553296267986298,
0.06538951396942139,
-0.021441329270601273,
0.03269475698471069,
-0.03248912841081619,
0.008734490722417831,
0.009440166875720024,
0.013347087427973747,
-0.010645891539752483,
0.022450773045420647,
-0.014356531202793121,
0.05144423618912697,
0.08352211117744446,
0.007930674590170383,
0.002689512912184,
-0.03304992988705635,
0.025423023849725723,
-0.03179747238755226,
-0.016160443425178528,
0.004072824493050575,
-0.046284858137369156,
0.013150806538760662,
-0.029012156650424004,
0.033106010407209396,
0.043667782098054886,
0.03415284305810928,
-0.020282339304685593,
0.017319435253739357,
-0.009804688394069672,
0.012225483544170856,
-0.01975892297923565,
-0.011496441438794136,
0.003762046806514263,
0.006944598164409399,
-0.017197927460074425,
0.0748857632279396,
-0.0470699816942215,
-0.027778392657637596,
0.015253813937306404,
-0.06796920299530029,
0.06845523416996002,
0.03770458698272705,
0.08800853043794632,
0.051705945283174515,
0.005154705140739679,
-0.03768589347600937,
-0.023815391585230827,
0.043181754648685455,
0.003869533771649003,
0.006528669968247414,
0.06396881490945816,
0.011029105633497238,
-0.01743159629404545,
0.030507627874612808,
-0.023815391585230827,
-0.001490798662416637,
-0.05028524622321129,
0.02422664687037468,
-0.004369582049548626,
-0.0035096858628094196,
-0.000759419403038919,
-0.0037900868337601423,
-0.0008721639169380069,
-0.023329362273216248,
-0.02770361863076687,
0.01668385975062847,
0.04639701917767525
] |
726,166 | penne.core | get_delegate_id | Get a delegate's id from its name. Assumes names are unique, or returns the first match
Args:
name (str): name of method
Returns:
ID (ID): ID for the delegate
Raises:
KeyError: if no match is found
| def get_delegate_id(self, name: str) -> Type[delegates.ID]:
"""Get a delegate's id from its name. Assumes names are unique, or returns the first match
Args:
name (str): name of method
Returns:
ID (ID): ID for the delegate
Raises:
KeyError: if no match is found
"""
if name == "document":
return name
state_delegates = self.state.values()
for delegate in state_delegates:
if delegate.name == name:
return delegate.id
raise KeyError(f"Couldn't find object '{name}' in state")
| (self, name: str) -> Type[penne.delegates.ID] | [
-0.004799587652087212,
-0.025324320420622826,
0.019398903474211693,
0.02559780143201351,
-0.05659228935837746,
-0.019781775772571564,
0.013026800937950611,
0.041058581322431564,
-0.0114314965903759,
0.0017297659069299698,
-0.036974601447582245,
0.03392985090613365,
0.006850693374872208,
0.03276299685239792,
0.020529290661215782,
-0.04404863715171814,
0.011085087433457375,
0.08620114624500275,
-0.05458676442503929,
-0.030848631635308266,
0.0007589091546833515,
0.04178786277770996,
0.040074050426483154,
-0.04926300421357155,
-0.023574043065309525,
0.06304643303155899,
0.013373210094869137,
0.023592274636030197,
-0.02428509294986725,
0.004038399551063776,
-0.031012721359729767,
-0.059071850031614304,
0.028806641697883606,
0.015861885622143745,
-0.017156360670924187,
0.011632049456238747,
-0.03927183896303177,
0.06596356630325317,
-0.010355805978178978,
-0.04036576300859451,
-0.021513821557164192,
0.01798591949045658,
0.035096701234579086,
0.0005463918205350637,
-0.019435368478298187,
0.01726575382053852,
-0.09130612015724182,
-0.046455267816782,
-0.01521464716643095,
0.03473205864429474,
-0.03664642572402954,
-0.02778564766049385,
-0.008792406879365444,
-0.006084947381168604,
-0.003072100691497326,
-0.0032339103054255247,
0.0048360517248511314,
0.016490891575813293,
-0.0060211350210011005,
0.050758033990859985,
-0.03382045775651932,
-0.044923774898052216,
0.08014810085296631,
-0.00953536294400692,
-0.01876078173518181,
-0.04018344357609749,
0.06432268023490906,
0.00473121739923954,
-0.053930409252643585,
0.01358287874609232,
0.038323774933815,
-0.011066855862736702,
0.04762212187051773,
-0.021222108975052834,
0.012917408719658852,
-0.011686745099723339,
0.005182460881769657,
0.06698455661535263,
0.07136025279760361,
0.04142322391271591,
-0.004936328157782555,
-0.005045720376074314,
-0.03919891268014908,
-0.00935304258018732,
-0.019344206899404526,
0.027074597775936127,
0.03839670121669769,
0.023592274636030197,
-0.049992285668849945,
-0.07679340243339539,
0.023482883349061012,
-0.03112211264669895,
-0.0026573215145617723,
-0.014649453572928905,
-0.06049394980072975,
-0.051669634878635406,
0.03806852549314499,
0.020255809649825096,
0.03382045775651932,
0.015232879668474197,
-0.039089519530534744,
0.045142561197280884,
-0.0364094078540802,
-0.011158015578985214,
-0.0488983653485775,
-0.027457470074295998,
0.01442155335098505,
-0.03135912865400314,
-0.007958291098475456,
0.019253047183156013,
-0.008933705277740955,
-0.06512489169836044,
-0.021914927288889885,
0.002976382616907358,
0.0457259863615036,
-0.04452267289161682,
0.0369381383061409,
-0.010209948755800724,
-0.07723097503185272,
-0.018186472356319427,
0.01794033870100975,
0.04306410625576973,
-0.03724808245897293,
0.010191717185080051,
-0.01764862611889839,
-0.0011543168220669031,
-0.005469615571200848,
0.00954447966068983,
0.0742773786187172,
-0.024394486099481583,
0.06253594160079956,
-0.01381077989935875,
0.009343926794826984,
0.05888952687382698,
0.06388510763645172,
0.11931055039167404,
0.07825196534395218,
0.035771287977695465,
-0.050283998250961304,
0.03533371537923813,
0.0037899878807365894,
-0.01938067190349102,
-0.0001316838461207226,
0.0030834958888590336,
0.018997797742486,
0.012543652206659317,
-0.03573482111096382,
0.032726533710956573,
-0.035607196390628815,
-0.024649733677506447,
-0.013692270964384079,
-0.017083432525396347,
0.049919359385967255,
0.051268529146909714,
-0.034112170338630676,
0.0012420585844665766,
-0.05254477262496948,
0.02036520279943943,
-0.05571715161204338,
-0.05232599005103111,
0.018505532294511795,
0.019544759765267372,
-0.04842432960867882,
-0.0598011314868927,
-0.04543427377939224,
-0.05042985454201698,
0.028059128671884537,
-0.0029809405095875263,
0.00019827357027679682,
0.04047515615820885,
-0.06982875615358353,
0.0411679744720459,
-0.03633648157119751,
0.005433151498436928,
-0.05972820147871971,
-0.002873827237635851,
-0.026855813339352608,
0.03276299685239792,
0.012014922685921192,
0.021295037120580673,
0.017010504379868507,
0.03298178315162659,
-0.044559136033058167,
0.03564366325736046,
0.047038692981004715,
0.05549836531281471,
0.005565334111452103,
0.027676254510879517,
0.08051273971796036,
0.015278459526598454,
-0.037740349769592285,
-0.01173232588917017,
0.00983619224280119,
0.00116172363050282,
-0.006016577128320932,
0.031304433941841125,
-0.019927633926272392,
0.04167846962809563,
-0.014813542366027832,
-0.031450290232896805,
0.04474145546555519,
0.04353814199566841,
-0.041204437613487244,
0.060895055532455444,
-0.032817695289850235,
-0.02928067557513714,
0.048169080168008804,
0.06206190586090088,
-0.018049731850624084,
-0.008933705277740955,
0.0035598082467913628,
-0.01921658217906952,
-0.011094204150140285,
0.042808856815099716,
0.052034277468919754,
-0.07136025279760361,
0.021841999143362045,
-0.01660028286278248,
0.09757794439792633,
0.003035636618733406,
0.05338344722986221,
0.06333814561367035,
0.06734920293092728,
-0.041058581322431564,
0.021094484254717827,
-0.07026632875204086,
-0.030556919053196907,
-0.02574365772306919,
0.03527902066707611,
-0.04955471679568291,
0.01928951032459736,
-0.08590942621231079,
0.017420725896954536,
0.013190889731049538,
0.06177019327878952,
-0.037995595484972,
-0.05644643306732178,
-0.05958234518766403,
0.014594757929444313,
0.028952497988939285,
-0.005829698871821165,
0.03143205866217613,
0.0404386930167675,
0.07803318649530411,
-0.024321557953953743,
-0.017238404601812363,
0.036901675164699554,
0.024485645815730095,
-0.057941462844610214,
-0.030392831191420555,
0.02610829845070839,
-0.048023223876953125,
-0.012288402765989304,
-0.013163541443645954,
0.014540061354637146,
-0.020912162959575653,
-0.05444090813398361,
0.04248068109154701,
0.008692130446434021,
-0.01630857028067112,
0.002996893599629402,
-0.0014300765469670296,
0.016244757920503616,
-0.009991164319217205,
-0.05298234522342682,
-0.022662440314888954,
-0.013008569367229939,
0.026454707607626915,
-0.031085649505257607,
-0.010793374851346016,
0.08364865183830261,
-0.009011191315948963,
0.0012454771203920245,
0.0013286607572808862,
0.032051946967840195,
-0.09604644775390625,
0.0141571881249547,
0.058634281158447266,
-0.06592710316181183,
-0.04616355523467064,
-0.008049450814723969,
0.02815028838813305,
0.009982048533856869,
0.011522657237946987,
-0.041058581322431564,
0.011221827939152718,
0.016582051292061806,
-0.05035692825913429,
-0.039855267852544785,
0.015451664105057716,
0.05425858870148659,
-0.025397248566150665,
-0.04244421795010567,
-0.00823633000254631,
-0.06942765414714813,
0.05327405780553818,
-0.07489726692438126,
0.012270171195268631,
0.005196135025471449,
-0.03309117630124092,
-0.025780120864510536,
0.06895361840724945,
-0.007347517181187868,
-0.07467848807573318,
-0.07518897950649261,
-0.01544254831969738,
-0.02732984535396099,
-0.008149727247655392,
-0.01074779499322176,
-0.024467414245009422,
-0.024175701662898064,
0.015506360679864883,
-0.07606412470340729,
-0.02475912682712078,
0.019800009205937386,
0.007538953330367804,
-0.03473205864429474,
-0.0076939258724451065,
0.05232599005103111,
0.11238236725330353,
-0.03967294469475746,
0.058707207441329956,
-0.0678597018122673,
-0.03467736393213272,
0.03309117630124092,
-0.015788957476615906,
-0.04827847331762314,
-0.002878385130316019,
-0.06016577035188675,
0.027876807376742363,
-0.05046632140874863,
-0.014066028408706188,
0.042043112218379974,
-0.019253047183156013,
-0.011385916732251644,
-0.027822110801935196,
0.039636481553316116,
0.07533483952283859,
0.017840063199400902,
0.01813177578151226,
0.04306410625576973,
-0.04926300421357155,
-0.01165939774364233,
0.00008118960977299139,
0.016272107139229774,
0.005145996809005737,
-0.019125422462821007,
0.01748453825712204,
0.09035804867744446,
-0.06570831686258316,
0.004496479872614145,
-0.02929890714585781,
-0.023501114919781685,
-0.023428186774253845,
0.03135912865400314,
-0.0038059409707784653,
0.01365580689162016,
-0.07300113886594772,
-0.052253060042858124,
0.010510778054594994,
0.0013070101849734783,
-0.03981880098581314,
-0.022461887449026108,
-0.02906189113855362,
-0.05053924769163132,
0.028715481981635094,
-0.06136908754706383,
0.001841437304392457,
0.05940002575516701,
-0.040074050426483154,
-0.047658585011959076,
0.01381077989935875,
-0.02867901884019375,
0.02490498311817646,
-0.015980394557118416,
-0.005524311680346727,
0.08539893478155136,
-0.00039341350202448666,
-0.01983647234737873,
-0.003190609160810709,
-0.022899458184838295,
-0.004790471866726875,
0.030629847198724747,
0.08065859973430634,
0.005027488339692354,
-0.03748510032892227,
-0.0166185162961483,
-0.0038378469180315733,
-0.0014027284923940897,
0.021386196836829185,
0.013920172117650509,
-0.00020496814977377653,
-0.03919891268014908,
0.017420725896954536,
-0.00670027919113636,
-0.055680688470602036,
-0.020383434370160103,
-0.002358771860599518,
-0.08751384913921356,
-0.011331220157444477,
0.02732984535396099,
0.011413265019655228,
0.02058398723602295,
0.030301671475172043,
-0.00011637176794465631,
0.06632820516824722,
0.05192488431930542,
-0.007511605508625507,
-0.009590059518814087,
-0.04262653738260269,
0.034403882920742035,
-0.018669622018933296,
-0.01628122292459011,
-0.06063980609178543,
0.026545867323875427,
-0.010091440752148628,
0.035844214260578156,
0.022079015150666237,
-0.014412437565624714,
-0.02634531445801258,
0.006659257225692272,
0.052872952073812485,
-0.008751384913921356,
0.020985091105103493,
-0.00427997438237071,
0.02027404122054577,
0.02058398723602295,
0.07504312694072723,
-0.006818787660449743,
0.03004642203450203,
-0.05648289620876312,
-0.013072381727397442,
0.05692046508193016,
-0.016244757920503616,
0.00874226912856102,
0.012744204141199589,
0.01460387371480465,
-0.01528757531195879,
-0.026928741484880447,
0.03330995887517929,
0.049627646803855896,
-0.024959679692983627,
-0.07657461613416672,
-0.01165939774364233,
-0.02521492727100849,
-0.07252710312604904,
0.023938683792948723,
0.0010950625874102116,
0.02754863165318966,
-0.04813261702656746,
0.011686745099723339,
-0.015269343741238117,
0.04867957904934883,
-0.04926300421357155,
0.044012174010276794,
0.020237578079104424,
-0.04536134749650955,
0.020401665940880775,
0.025761889293789864,
-0.021222108975052834,
-0.0018140891334041953,
0.00680967140942812,
0.03890720009803772,
-0.004225278273224831,
-0.04153261333703995,
0.0071378485299646854,
-0.013874591328203678,
-0.00954447966068983,
0.06315582990646362,
0.00132980034686625,
0.07613705098628998,
-0.005232599098235369,
0.0010865163058042526,
0.013282050378620625,
-0.052872952073812485,
0.004895306192338467,
-0.01575249247252941,
0.02430332638323307,
0.01059282198548317,
0.03254421427845955,
0.02557956986129284,
-0.007342958822846413,
0.018067963421344757,
-0.0074933734722435474,
-0.023337027058005333,
-0.009854423813521862,
0.010228181257843971,
0.012215474620461464,
-0.00987265631556511,
-0.023883989080786705,
0.01033757347613573,
0.061113838106393814,
0.03460443392395973,
0.00016793429676909,
0.06862544268369675,
-0.03868841379880905,
0.04135029390454292,
-0.009918236173689365,
-0.013564647175371647,
-0.02421216480433941,
-0.013637575320899487,
-0.03520609438419342,
0.03285415843129158,
-0.006426798179745674,
0.04441327974200249,
-0.019891168922185898,
-0.04729394242167473,
-0.00007862572238082066,
-0.01998232863843441,
-0.003375208703801036,
-0.02658233232796192,
0.024649733677506447,
-0.00022960991191212088,
0.027202222496271133,
-0.03420332819223404,
-0.010875418782234192,
0.028022663667798042,
-0.0064906105399131775,
-0.058853063732385635,
-0.031687308102846146,
0.028423769399523735,
-0.0005050848121754825,
-0.029353603720664978,
0.008810639381408691,
-0.0023188891354948282,
0.028040897101163864,
-0.00437113456428051,
0.00526450527831912,
-0.017183709889650345,
0.015077906660735607,
-0.018651388585567474,
0.007083152420818806,
-0.0185693446546793,
0.024394486099481583,
-0.02224310301244259,
-0.0390530563890934,
-0.05269062891602516,
-0.052872952073812485,
-0.004981908481568098,
0.048716042190790176,
0.044158030301332474,
-0.006750417407602072,
-0.05137792229652405,
-0.030028190463781357,
0.02224310301244259,
0.0009896585252135992,
-0.018222935497760773,
0.005633703898638487,
-0.017849178984761238,
0.033729296177625656,
0.04353814199566841,
-0.016053322702646255,
-0.020091721788048744,
-0.09765087068080902,
-0.004671963397413492,
0.001696720370091498,
0.023975148797035217,
-0.022589512169361115,
0.014667686074972153,
-0.009662987664341927,
-0.01650000736117363,
-0.02732984535396099,
0.052800022065639496,
-0.009161606431007385,
0.0037854297552257776,
0.007839782163500786,
0.021367965266108513,
-0.10538125783205032,
0.0033273494336754084,
0.016673211008310318,
-0.008090472780168056,
-0.021313268691301346,
0.043720461428165436,
0.01758481375873089,
-0.01074779499322176,
0.06494256854057312,
-0.005724864546209574,
-0.03117680922150612,
0.016007741913199425,
-0.051961347460746765,
0.05633703991770744,
0.0010836676228791475,
0.014221000485122204,
-0.020109953358769417,
-0.04233482480049133,
-0.0038196148816496134,
-0.06902655214071274,
-0.0004646324669010937,
0.004895306192338467,
-0.02255304902791977,
-0.058014389127492905,
-0.017840063199400902,
-0.04346521198749542,
0.013026800937950611,
0.013309397734701633,
0.06778676807880402,
0.0401105135679245,
0.00396775035187602,
-0.0006660396466031671,
-0.01914365403354168,
0.013710503466427326,
-0.006349312141537666,
-0.0008842545212246478,
-0.0021320106461644173,
0.02173260599374771,
0.022133711725473404,
-0.05010167881846428,
-0.010036745108664036,
-0.008920031599700451,
-0.03989173099398613,
-0.009020308032631874,
-0.03520609438419342,
0.030702775344252586,
0.033346422016620636,
-0.02588951401412487,
-0.03325526416301727,
0.023792827501893044,
0.007844340056180954,
-0.04437681660056114,
0.05352930352091789,
-0.03172377124428749,
-0.027493935078382492,
0.0216414462774992,
-0.05721218138933182,
-0.029335372149944305,
-0.0127533208578825,
-0.012188127264380455,
-0.004195651039481163,
0.014722381718456745,
-0.006230803672224283,
-0.034330952912569046,
0.03013758175075054,
0.005565334111452103,
-0.06862544268369675,
0.04543427377939224,
0.015314923599362373,
0.03431272134184837,
-0.0059573231264948845,
-0.04685637354850769,
0.037211619317531586,
-0.00704212998971343,
0.04277239367365837,
-0.012543652206659317,
0.015615752898156643,
-0.0141571881249547,
0.03112211264669895,
0.03617238998413086,
-0.015725145116448402,
0.02370166778564453,
0.00271429680287838,
-0.038651950657367706,
-0.00009379535913467407,
-0.01381077989935875,
0.02618122659623623,
0.10851717740297318,
0.03451327607035637,
-0.03850609436631203,
0.021149180829524994,
-0.020037025213241577,
-0.03770388290286064,
0.04080333188176155,
0.007593649905174971,
-0.07409506291151047,
-0.03143205866217613,
-0.00566105218604207,
-0.014485365711152554,
-0.02353757992386818,
0.0076529039070010185,
0.038250844925642014,
-0.011978458613157272,
0.0020932673942297697,
0.0411679744720459,
0.039089519530534744,
-0.021222108975052834,
0.010893651284277439,
-0.021969622001051903,
0.0457259863615036,
0.001851692795753479,
0.03792266920208931,
0.011066855862736702,
-0.07340224087238312,
-0.01635415107011795,
0.04036576300859451,
0.048314936459064484,
0.0007480838685296476,
0.030228743329644203,
0.08590942621231079,
-0.07449616491794586,
0.06115030124783516,
-0.0019029704853892326,
0.002568440278992057,
0.029535925015807152,
0.03259890899062157,
0.06953704357147217,
-0.014439784921705723,
0.0006369823240675032,
-0.0270928293466568,
0.006422240287065506,
-0.0644320696592331,
0.01786741055548191,
0.029845869168639183,
-0.0005651935935020447,
0.045069631189107895,
-0.05837903171777725,
0.01037403754889965,
-0.019471831619739532,
-0.00011345179518684745,
0.04255361109972,
0.03174200281500816,
-0.00010013384599005803,
0.005278178956359625,
-0.045689523220062256,
0.04736687242984772,
0.07584533840417862,
0.04277239367365837,
0.0035780402831733227,
-0.028660785406827927,
0.060676269233226776,
-0.022844761610031128,
0.05659228935837746,
-0.018286747857928276,
-0.023811060935258865,
0.018669622018933296,
0.004437225870788097,
-0.027876807376742363,
0.03276299685239792,
0.024704430252313614,
-0.04069393873214722,
-0.03516962751746178,
0.03919891268014908,
0.006636466830968857,
0.008035777136683464,
-0.03927183896303177,
0.011130668222904205,
0.01938067190349102,
0.014485365711152554,
0.08984754979610443,
-0.03898012638092041,
-0.031049184501171112,
-0.014339509420096874,
-0.038943663239479065,
0.06658345460891724,
0.004266300238668919,
0.06982875615358353,
0.007899036630988121,
0.005615471862256527,
0.016636747866868973,
0.015934813767671585,
0.0071606384590268135,
-0.021313268691301346,
0.029080122709274292,
0.05805085226893425,
0.0024544899351894855,
-0.009234534576535225,
-0.03624531999230385,
-0.02202431857585907,
-0.0022300078999251127,
-0.009772379882633686,
0.02718398906290531,
0.01758481375873089,
0.012133430689573288,
-0.02127680554986,
-0.020912162959575653,
-0.005569892004132271,
-0.010538126341998577,
-0.02867901884019375,
-0.007014782167971134,
0.04065747559070587
] |
726,167 | penne.core | invoke_method | Invoke method on server
Constructs a dictionary of arguments to use in send_message. The
Dictionary follows the structure of an InvokeMethodMessage, but
using a dictionary prevents from converting back and forth just
before sending.
Also implements callback functions attached to each invocation. By
default, each invocation will store a None object in the callback
map, and the handler responsible for reply messages will delete pop
it from the map and call the method if there is one
Args:
method (ID | str):
id or name for method
args (list):
arguments for method
context (dict):
optional, target context for method call
callback (Callable):
function to be called upon response
Returns:
message (list): message to be sent to server in the form of [tag, {content}]
| def invoke_method(self, method: Union[delegates.MethodID, str], args: list = None,
context: dict[str, tuple] = None, callback=None):
"""Invoke method on server
Constructs a dictionary of arguments to use in send_message. The
Dictionary follows the structure of an InvokeMethodMessage, but
using a dictionary prevents from converting back and forth just
before sending.
Also implements callback functions attached to each invocation. By
default, each invocation will store a None object in the callback
map, and the handler responsible for reply messages will delete pop
it from the map and call the method if there is one
Args:
method (ID | str):
id or name for method
args (list):
arguments for method
context (dict):
optional, target context for method call
callback (Callable):
function to be called upon response
Returns:
message (list): message to be sent to server in the form of [tag, {content}]
"""
# Handle default args
if not args:
args = []
# Get proper ID
if isinstance(method, str):
method_id = self.get_delegate_id(method)
else:
method_id = method
# Get invoke ID
invoke_id = str(self._current_invoke)
self._current_invoke += 1
# Keep track of callback
self.callback_map[invoke_id] = callback
# Construct message dict
arg_dict = {
"method": method_id,
"args": args,
"invoke_id": invoke_id
}
if context:
arg_dict["context"] = context
return self.send_message(arg_dict, "invoke")
| (self, method: Union[penne.delegates.MethodID, str], args: Optional[list] = None, context: Optional[dict[str, tuple]] = None, callback=None) | [
0.07397650182247162,
-0.027624843642115593,
0.049106694757938385,
-0.00029580594855360687,
0.04627719521522522,
-0.04251694306731224,
-0.0023036214988678694,
0.0487343929708004,
0.01924803853034973,
0.0010703696170821786,
-0.012574516236782074,
0.04370830953121185,
0.004202364012598991,
-0.02717808075249195,
-0.021370161324739456,
-0.012537285685539246,
0.018428971990942955,
0.02634039893746376,
-0.01572977937757969,
-0.04396892338991165,
0.025409644469618797,
0.02511180192232132,
0.011485530994832516,
-0.013886881992220879,
0.03935237228870392,
0.02935604937374592,
0.0012669918360188603,
0.018819889053702354,
0.06485509127378464,
0.012034676969051361,
-0.015310939401388168,
0.004467629827558994,
-0.034605514258146286,
0.028406677767634392,
-0.0018626757664605975,
-0.011522761546075344,
-0.004639819730073214,
0.01783328875899315,
-0.026768548414111137,
-0.0209047831594944,
-0.06280742585659027,
-0.0248884204775095,
0.04329877719283104,
-0.014780407771468163,
-0.0062034898437559605,
-0.013421503826975822,
-0.037546705454587936,
0.09962814301252365,
0.008916644379496574,
-0.033414147794246674,
-0.054058317095041275,
-0.010433776304125786,
0.055659219622612,
-0.03901729732751846,
0.011438993737101555,
0.08391697704792023,
-0.03782593086361885,
0.014882790856063366,
0.029244359582662582,
0.02555856481194496,
-0.01286305021494627,
-0.005970800761133432,
-0.00983809307217598,
0.02598671242594719,
0.01614861935377121,
-0.006347757298499346,
-0.0010081252548843622,
0.04527198150753975,
0.028499754145741463,
-0.01380311418324709,
0.03883114829659462,
0.012714128941297531,
-0.006208143662661314,
0.007390203885734081,
0.01384965144097805,
0.006245373748242855,
-0.015283016487956047,
0.021574927493929863,
0.047394104301929474,
0.04084157943725586,
-0.032502006739377975,
-0.07088638842105865,
0.05595706030726433,
-0.01750752329826355,
-0.004565359093248844,
0.027773763984441757,
-0.03194355219602585,
-0.029244359582662582,
-0.08227884769439697,
-0.011587914079427719,
-0.009558865800499916,
-0.04158618673682213,
-0.03320937976241112,
0.00927033182233572,
-0.10268101841211319,
-0.02563302591443062,
0.0350150465965271,
-0.019490035250782967,
0.004004578571766615,
0.02222645841538906,
-0.011373840272426605,
-0.002348996000364423,
0.03905452787876129,
-0.05491461604833603,
0.036392565816640854,
0.011411070823669434,
-0.05819087475538254,
-0.006040607579052448,
-0.010536160320043564,
0.05982900783419609,
0.030752183869481087,
-0.012621053494513035,
-0.01478971540927887,
-0.0559198297560215,
-0.02805299125611782,
0.028518369421362877,
-0.0209047831594944,
-0.025149032473564148,
-0.09888353943824768,
0.026675472036004066,
-0.011411070823669434,
-0.07900258153676987,
0.03441936522722244,
-0.06816858053207397,
-0.0766943097114563,
-0.025875020772218704,
-0.029765581712126732,
-0.04329877719283104,
-0.016949070617556572,
-0.04594212397933006,
-0.02099785953760147,
0.011969524435698986,
0.05100543797016144,
0.09784109145402908,
-0.037230245769023895,
0.027531767264008522,
-0.04683564975857735,
-0.005910301581025124,
0.02555856481194496,
0.06157882884144783,
0.0484737828373909,
0.029728353023529053,
0.036876559257507324,
0.011746142990887165,
-0.014929329045116901,
-0.010834001936018467,
-0.006170913577079773,
0.00716682244092226,
0.050856515765190125,
0.014054418541491032,
-0.024348581209778786,
-0.037062712013721466,
0.040953271090984344,
-0.01451048906892538,
0.0021849500481039286,
-0.00309476419351995,
0.023473670706152916,
0.007204052992165089,
0.002233814913779497,
-0.04571874439716339,
0.018289359286427498,
-0.0418095663189888,
0.013523886911571026,
-0.007990541867911816,
0.055249687284231186,
-0.012323211878538132,
0.029728353023529053,
-0.006896903272718191,
-0.055770911276340485,
0.04776640608906746,
-0.039687443524599075,
0.03445659205317497,
-0.02326890453696251,
-0.025409644469618797,
0.011904371902346611,
-0.004858547355979681,
-0.02511180192232132,
0.022319532930850983,
0.015655318275094032,
0.014724562875926495,
-0.06991840153932571,
-0.030603263527154922,
-0.026359014213085175,
-0.02038356103003025,
-0.028872055932879448,
0.05141497030854225,
0.03791900724172592,
-0.003888234030455351,
-0.037062712013721466,
-0.022058920934796333,
-0.04087880998849869,
-0.05309033393859863,
0.045346442610025406,
0.024478888139128685,
-0.0476919449865818,
0.004693338181823492,
-0.023697052150964737,
0.018298666924238205,
0.006161605939269066,
-0.0033995870035141706,
0.0201229490339756,
-0.018680276349186897,
0.02563302591443062,
0.020327715203166008,
0.02217061258852482,
0.015255093574523926,
-0.012537285685539246,
0.018912965431809425,
-0.013105046935379505,
-0.05368601530790329,
0.02511180192232132,
-0.009484405629336834,
0.038198232650756836,
0.0006073184194974601,
0.0038603113498538733,
0.03456828370690346,
0.013207430019974709,
-0.03790039196610451,
0.0026293862611055374,
0.0014996809186413884,
0.047133494168519974,
0.02352951653301716,
-0.0343635194003582,
-0.009512328542768955,
-0.02902097813785076,
-0.006901557091623545,
0.05841425806283951,
-0.013533194549381733,
-0.0014705947833135724,
-0.043149854987859726,
-0.017879826948046684,
-0.0005116250249557197,
0.010042859241366386,
0.05755796283483505,
-0.10119181126356125,
-0.036225032061338425,
0.041400033980607986,
0.021239856258034706,
-0.012174290604889393,
0.02634039893746376,
0.02935604937374592,
0.039426833391189575,
0.009195870719850063,
-0.0060592228546738625,
-0.014184724539518356,
0.005216888152062893,
0.020848939195275307,
0.05089374631643295,
-0.0044653029181063175,
0.028518369421362877,
-0.011457608081400394,
-0.035964418202638626,
-0.012872357852756977,
0.002250103047117591,
0.04456460475921631,
0.0003417620318941772,
0.019173577427864075,
0.0347544364631176,
0.029076822102069855,
0.03659733384847641,
0.023119984194636345,
-0.011327303014695644,
-0.0030296114273369312,
0.03656010329723358,
0.058451488614082336,
0.00630121910944581,
-0.035741038620471954,
0.025279337540268898,
0.029784196987748146,
0.015059635043144226,
0.10201087594032288,
-0.04754302650690079,
0.039985284209251404,
0.04136280342936516,
-0.03343276306986809,
-0.012639668770134449,
-0.027066389098763466,
-0.04274032264947891,
-0.07542847841978073,
-0.01937834359705448,
-0.01692114770412445,
-0.029914503917098045,
0.0282205268740654,
-0.050782058387994766,
-0.013421503826975822,
0.038719456642866135,
0.06109483540058136,
0.061988361179828644,
0.01187644898891449,
-0.020346330478787422,
0.059977926313877106,
0.025651639327406883,
-0.0355362705886364,
0.004144191741943359,
-0.05889825150370598,
0.0273083858191967,
-0.04136280342936516,
0.023920433595776558,
0.004004578571766615,
-0.051079899072647095,
-0.046091046184301376,
-0.03378644958138466,
-0.052531879395246506,
-0.07386481016874313,
0.013207430019974709,
0.0027224617078900337,
-0.023064138367772102,
0.06135544553399086,
0.0009330830653198063,
0.003969674929976463,
0.01558085810393095,
-0.016036929562687874,
-0.10565944015979767,
-0.11660513281822205,
0.015701856464147568,
0.06057361140847206,
-0.007757852785289288,
-0.028108837082982063,
0.05167558416724205,
0.024311350658535957,
0.005430962424725294,
0.01854066364467144,
-0.023343365639448166,
0.08838460594415665,
0.03317214921116829,
0.024181045591831207,
-0.014529104344546795,
0.02935604937374592,
-0.020588327199220657,
0.011606529355049133,
0.04378277063369751,
0.06109483540058136,
0.012164982967078686,
-0.020923398435115814,
-0.027550382539629936,
-0.02339920960366726,
-0.01958310976624489,
-0.0037323322612792253,
0.02362259104847908,
0.06701444834470749,
-0.03326522558927536,
-0.0018708199495449662,
0.013077124021947384,
-0.04653780907392502,
0.04776640608906746,
0.02766207419335842,
0.0016043909126892686,
0.06031300127506256,
0.027140850201249123,
0.002412985311821103,
-0.003536873497068882,
-0.08026841282844543,
0.012192905880510807,
0.0037556011229753494,
-0.021761080250144005,
-0.0012134733842685819,
0.017367910593748093,
-0.0546167716383934,
-0.0005671795224770904,
-0.03905452787876129,
-0.009763631969690323,
0.0025781947188079357,
-0.004479263909161091,
0.0011250515235587955,
-0.05536137893795967,
0.022859372198581696,
-0.016576766967773438,
-0.013309813104569912,
0.02006710320711136,
0.021444622427225113,
0.03393537178635597,
-0.062248971313238144,
-0.017935670912265778,
0.040469277650117874,
0.01071300357580185,
0.01734929531812668,
-0.032371699810028076,
0.006110414396971464,
-0.015590165741741657,
-0.004914392717182636,
-0.0008784011588431895,
-0.05189896374940872,
0.04110219329595566,
-0.02068140171468258,
0.053499866276979446,
0.018968811258673668,
0.004535109270364046,
0.022412609308958054,
-0.035871341824531555,
0.01782398112118244,
-0.059456706047058105,
0.011690297164022923,
-0.07122146338224411,
-0.04527198150753975,
-0.003055207198485732,
-0.00454674381762743,
0.0311617162078619,
0.016818763688206673,
-0.0021500468719750643,
-0.07386481016874313,
0.027382846921682358,
0.011029460467398167,
-0.015487782657146454,
0.06947164237499237,
0.02630317024886608,
0.030789414420723915,
0.016641920432448387,
-0.0019476072629913688,
0.015143402852118015,
-0.029244359582662582,
0.022338148206472397,
0.021184010431170464,
-0.027904070913791656,
-0.008809607475996017,
-0.04449014365673065,
0.012537285685539246,
-0.028369449079036713,
0.0011320322519168258,
0.005072621162980795,
-0.01731206476688385,
0.02161215804517269,
0.0034717204980552197,
0.015217863023281097,
0.00415117247030139,
-0.010694388300180435,
-0.03224139288067818,
0.009586788713932037,
-0.05040975287556648,
0.038235463201999664,
-0.007045824080705643,
0.016130004078149796,
0.043857231736183167,
0.02401350997388363,
0.030007578432559967,
0.00011794426245614886,
-0.013728654012084007,
-0.05562198907136917,
-0.022859372198581696,
0.04895777627825737,
0.006873634178191423,
-0.0910651832818985,
-0.018615122884511948,
-0.01192298624664545,
-0.0649295523762703,
-0.03160848096013069,
-0.040208667516708374,
0.0004807937366422266,
-0.04382000118494034,
0.00859087985008955,
-0.005705535411834717,
0.01993679814040661,
0.03957575187087059,
0.02155631221830845,
0.010889846831560135,
-0.020830323919653893,
-0.037006866186857224,
-0.023045523092150688,
0.05048421397805214,
-0.003069168422371149,
0.031794629991054535,
0.00909348763525486,
-0.027531767264008522,
-0.041921257972717285,
-0.005738111678510904,
-0.01496655959635973,
0.044639065861701965,
0.010322085581719875,
0.03763977810740471,
-0.013672808185219765,
-0.025130417197942734,
0.006864327006042004,
-0.021221240982413292,
-0.0034065674990415573,
0.0344938226044178,
0.07427434623241425,
0.06396156549453735,
0.03698825091123581,
-0.03456828370690346,
-0.06891318410634995,
-0.029486356303095818,
-0.019825106486678123,
-0.0425914041697979,
0.035257045179605484,
-0.022505683824419975,
-0.049814071506261826,
-0.05394662916660309,
0.05886102095246315,
0.009996321052312851,
0.019843721762299538,
-0.08786338567733765,
0.017879826948046684,
0.04802701994776726,
0.05420723930001259,
0.021314317360520363,
0.0021581908222287893,
-0.01207190752029419,
-0.06306803971529007,
-0.030212344601750374,
-0.05175004154443741,
-0.01814974471926689,
-0.0007294801762327552,
-0.0007364608463831246,
0.030696338042616844,
0.014761792495846748,
-0.019266651943325996,
-0.007869543507695198,
0.02766207419335842,
0.043410468846559525,
0.0023943702690303326,
-0.006031299941241741,
-0.013309813104569912,
-0.03343276306986809,
-0.050074681639671326,
-0.06783351302146912,
-0.031236177310347557,
-0.004770125262439251,
-0.02222645841538906,
-0.00484458589926362,
-0.039464060217142105,
-0.015217863023281097,
0.0005241320468485355,
-0.01611138880252838,
0.013309813104569912,
0.03168294206261635,
-0.0005942296702414751,
0.0019324824679642916,
-0.056031521409749985,
0.0017730905674397945,
-0.010554774664342403,
0.0104523915797472,
-0.008930605836212635,
0.04054373875260353,
-0.013421503826975822,
-0.05588259920477867,
0.020923398435115814,
0.009130718186497688,
-0.032111089676618576,
-0.016511615365743637,
-0.0038021390791982412,
0.013132969848811626,
0.019955411553382874,
0.03927791118621826,
-0.12099830061197281,
-0.03322799503803253,
-0.05338817462325096,
-0.05111712962388992,
0.01856858655810356,
-0.033023230731487274,
0.05819087475538254,
-0.016269618645310402,
0.014184724539518356,
0.0471707247197628,
0.029988963156938553,
0.06954610347747803,
-0.01647438481450081,
0.015441245399415493,
-0.03041711263358593,
-0.05770688131451607,
0.008065002039074898,
0.0018661661306396127,
-0.04188402742147446,
0.003488008864223957,
-0.007678738329559565,
-0.013356351293623447,
0.04597935453057289,
0.08019395172595978,
0.0487343929708004,
-0.01702352985739708,
0.006794520188122988,
-0.06008961796760559,
-0.003527565859258175,
0.04504859820008278,
-0.038067929446697235,
-0.047133494168519974,
0.010461699217557907,
0.0543561615049839,
-0.011476223357021809,
-0.05982900783419609,
0.03492197021842003,
-0.030789414420723915,
-0.011159766465425491,
-0.051079899072647095,
0.030249575152993202,
-0.02261737547814846,
-0.06839196383953094,
0.060983143746852875,
-0.041400033980607986,
0.030826644971966743,
0.03979913517832756,
0.025391029193997383,
-0.007171476259827614,
-0.11854110658168793,
-0.02002987265586853,
0.011783373542129993,
0.012146367691457272,
0.06969502568244934,
0.007413472980260849,
0.0476919449865818,
-0.0050307372584939,
-0.03041711263358593,
0.002090711146593094,
-0.007059785537421703,
0.0027015197556465864,
-0.018791968002915382,
0.004186076112091541,
0.01989956758916378,
-0.055547527968883514,
0.04705903306603432,
-0.006557177286595106,
0.05141497030854225,
0.016995606943964958,
-0.015487782657146454,
0.035126738250255585,
0.002731769345700741,
0.05111712962388992,
0.06012684851884842,
0.009558865800499916,
0.04705903306603432,
0.012230136431753635,
0.003562469268217683,
-0.030603263527154922,
-0.056515514850616455,
-0.030435726046562195,
-0.03326522558927536,
0.01672568917274475,
0.023119984194636345,
-0.01142037846148014,
0.016716381534934044,
-0.04247971251606941,
-0.043633848428726196,
-0.050856515765190125,
0.034121520817279816,
-0.00405344320461154,
0.01750752329826355,
0.07855582237243652,
-0.04825039952993393,
0.06701444834470749,
-0.020830323919653893,
-0.05089374631643295,
0.013635577633976936,
0.053015872836112976,
-0.05882379040122032,
-0.05242018774151802,
-0.041958488523960114,
0.006640945095568895,
0.07498171925544739,
0.025260722264647484,
-0.0009551885304972529,
-0.009493713267147541,
0.005384424701333046,
0.011280764825642109,
0.026545166969299316,
-0.06135544553399086,
0.0487343929708004,
0.04199571907520294,
0.011355224996805191,
0.00686898035928607,
0.0003196565667167306,
-0.020662786439061165,
0.02831360325217247,
-0.01976926065981388,
0.01692114770412445,
-0.014045110903680325,
-0.08756554126739502,
0.013142277486622334,
-0.015515705570578575,
0.031236177310347557,
0.018196282908320427,
0.08287452906370163,
0.07412542402744293,
0.06239789351820946,
-0.02038356103003025,
0.01111322920769453,
0.018494125455617905,
0.0276993028819561,
0.020476635545492172,
-0.009791554883122444,
-0.04005974531173706,
-0.013142277486622334,
0.04817593842744827,
-0.024665039032697678,
-0.014249877072870731,
-0.04188402742147446,
0.010592005215585232,
0.013095739297568798,
0.04553259164094925,
0.10290440171957016,
0.026936084032058716,
-0.04843655228614807,
-0.07293405383825302,
-0.021463237702846527,
-0.0479525588452816,
0.0037230246234685183,
-0.042181868106126785,
-0.017237603664398193,
0.046612270176410675,
-0.04616550728678703,
-0.09076733887195587,
-0.03106864169239998,
-0.0173772182315588,
0.006729367189109325,
0.00010449192632222548,
0.012453517876565456,
-0.0016904858639463782,
0.0572228878736496,
-0.003985963296145201,
0.02630317024886608,
0.030361266806721687,
0.015441245399415493,
0.03886837884783745,
0.006831750273704529,
0.033060457557439804,
0.030975565314292908,
0.03194355219602585,
-0.007692699786275625,
0.03983636572957039,
-0.007180783897638321,
-0.008004503324627876,
-0.03246477618813515,
0.03454966843128204,
-0.03849607706069946,
-0.051303278654813766,
0.028015760704874992,
-0.0846615806221962,
0.024813959375023842,
-0.029598046094179153,
0.03678348287940025,
0.015515705570578575,
-0.0038719456642866135,
-0.017777442932128906,
-0.0026084440760314465,
0.00367648690007627,
0.04508582875132561,
0.030082039535045624,
-0.04754302650690079,
-0.06883873045444489,
0.009866015054285526,
-0.02414381504058838,
0.042703092098236084,
0.0210350900888443,
-0.08250223100185394,
-0.002108162734657526,
0.03991082310676575,
0.01224875170737505,
0.04683564975857735,
0.015487782657146454,
-0.022282302379608154,
-0.008795646019279957,
0.07647092640399933,
-0.00820461567491293,
-0.016781533136963844,
0.025093186646699905,
-0.028685905039310455,
0.05707396939396858,
0.03680209815502167,
-0.013356351293623447,
-0.0143057219684124,
0.014268492348492146,
-0.0016823417972773314,
-0.043373238295316696,
-0.015655318275094032,
-0.013114354573190212,
0.008465227670967579,
-0.038942839950323105,
-0.011038768105208874,
0.026489321142435074,
0.03492197021842003,
0.09240547567605972
] |
726,168 | penne.core | send_message | Send message to server
Args:
message_dict (dict): dict mapping message attribute to value
kind (str): either 'invoke' or 'intro' to indicate type of client message
| def send_message(self, message_dict: dict[str, Any], kind: str):
"""Send message to server
Args:
message_dict (dict): dict mapping message attribute to value
kind (str): either 'invoke' or 'intro' to indicate type of client message
"""
# Construct message with ID from map and converted message object
message = [self.client_message_map[kind], message_dict]
if self.json:
self._log_json(message)
logging.debug(f"Sending Message: {message}")
asyncio.run_coroutine_threadsafe(self._socket.send(dumps(message)), self._loop)
return message
| (self, message_dict: dict[str, typing.Any], kind: str) | [
0.006319761276245117,
0.0008997545810416341,
-0.07056748867034912,
-0.020505812019109726,
-0.0020369775593280792,
-0.04864879697561264,
-0.010529753752052784,
0.07980846613645554,
0.0418517142534256,
-0.03767035901546478,
-0.01184716634452343,
0.025240860879421234,
-0.055980484932661057,
-0.02495446614921093,
-0.056553274393081665,
0.016992712393403053,
-0.005021441727876663,
0.009565560147166252,
-0.0417371541261673,
-0.05865349620580673,
0.033431727439165115,
0.0366775281727314,
0.04536481201648712,
0.00667775422334671,
0.00475891400128603,
0.051321808248758316,
-0.015933053568005562,
0.02905944734811783,
0.049068842083215714,
-0.040553394705057144,
-0.03043413907289505,
-0.0462430901825428,
-0.019112028181552887,
0.04437198117375374,
-0.02791387028992176,
0.011923537589609623,
-0.021326808258891106,
-0.018176473677158356,
-0.05853893980383873,
-0.0546821653842926,
-0.010663404129445553,
0.01972300186753273,
-0.03692573681473732,
0.000655126350466162,
0.020123952999711037,
0.023675238713622093,
-0.024095283821225166,
0.1134120300412178,
0.013995121233165264,
0.04922158643603325,
-0.06812359392642975,
-0.00044599903048947453,
0.007541709113866091,
0.0016467656241729856,
-0.04292091727256775,
0.04215719923377037,
-0.00008054832142079249,
-0.04101162403821945,
-0.05292561650276184,
0.008739790879189968,
-0.04341733455657959,
-0.014319701120257378,
-0.04727410525083542,
0.010424742475152016,
-0.022262362763285637,
-0.06548876315355301,
0.020448533818125725,
0.019818466156721115,
0.038815937936306,
-0.039102330803871155,
0.01474929228425026,
0.00036037914105691016,
0.025412695482373238,
-0.012276757508516312,
-0.018997469916939735,
0.020887671038508415,
-0.0347682349383831,
0.0480378232896328,
0.037021201103925705,
0.01326004322618246,
-0.006883002817630768,
-0.06392314285039902,
0.01339369360357523,
-0.046968620270490646,
-0.030548695474863052,
0.02193778194487095,
-0.045784857124090195,
0.0031169215217232704,
-0.08523086458444595,
-0.079655721783638,
0.025240860879421234,
-0.00219688075594604,
-0.04013334959745407,
0.03851044923067093,
-0.047923266887664795,
0.0017828027484938502,
0.0011378196068108082,
-0.01733638532459736,
0.009646705351769924,
0.020429439842700958,
0.011980816721916199,
0.005446259863674641,
0.029384026303887367,
-0.047159548848867416,
0.0020381708163768053,
-0.0898895412683487,
0.018195567652583122,
-0.024171655997633934,
-0.048610612750053406,
0.08507812023162842,
0.03583743795752525,
-0.02715015411376953,
-0.0345391184091568,
-0.023026078939437866,
0.01670631766319275,
0.04177534207701683,
0.009441456757485867,
-0.038090404123067856,
0.028028428554534912,
0.024916280061006546,
-0.0034343416336923838,
-0.02060127630829811,
0.0438755638897419,
-0.02804752066731453,
-0.04822875186800957,
0.07087297737598419,
-0.0120094558224082,
-0.022663313895463943,
0.017995091155171394,
-0.027894778177142143,
0.02065855637192726,
-0.011818526312708855,
0.06365584582090378,
0.0609828345477581,
0.027131060138344765,
0.02665373682975769,
-0.0856127217411995,
-0.034443654119968414,
0.08087766915559769,
0.03327898681163788,
0.07702089846134186,
0.013040474615991116,
-0.021708667278289795,
0.035188280045986176,
0.04040065035223961,
-0.03593290224671364,
-0.02035306952893734,
-0.008529768325388432,
-0.022796964272856712,
-0.04605215787887573,
0.003288757987320423,
0.021842317655682564,
-0.021517736837267876,
0.01599987968802452,
-0.031293321400880814,
0.006071553099900484,
-0.010396103374660015,
-0.07725001126527786,
-0.031407877802848816,
-0.013307775370776653,
-0.029021261259913445,
-0.0375748947262764,
0.054223936051130295,
-0.007431924808770418,
0.046777691692113876,
-0.007298274431377649,
0.036085646599531174,
-0.012439046986401081,
0.016095343977212906,
0.08461988717317581,
-0.02256784960627556,
-0.008424757979810238,
-0.09156971424818039,
-0.005770839750766754,
0.14640462398529053,
-0.0064056795090436935,
-0.023102451115846634,
-0.00980422180145979,
-0.023045172914862633,
-0.045593928545713425,
-0.016286274418234825,
0.006916415877640247,
0.005541724152863026,
0.033737216144800186,
0.005980861838907003,
0.06224296614527702,
0.06674890220165253,
0.004398535005748272,
0.030395952984690666,
-0.031923387199640274,
-0.041126180440187454,
0.037460338324308395,
0.012085827998816967,
0.041126180440187454,
0.038090404123067856,
0.0012458140263333917,
0.0014367433032020926,
-0.029021261259913445,
0.03278256952762604,
-0.007732638623565435,
-0.021517736837267876,
-0.024496234953403473,
0.0055894567631185055,
0.011885352432727814,
-0.012620430439710617,
-0.040286093950271606,
0.02766566351056099,
0.011894898489117622,
0.003315010806545615,
-0.07003288716077805,
-0.0687345638871193,
-0.032305244356393814,
0.010453381575644016,
0.000656319665722549,
0.08461988717317581,
-0.028944889083504677,
0.045784857124090195,
-0.031083298847079277,
-0.009861500933766365,
-0.04807601124048233,
0.04990893229842186,
0.03774673119187355,
-0.003224319312721491,
-0.018949737772345543,
0.0104915676638484,
-0.02961314283311367,
-0.028219357132911682,
-0.010653858073055744,
0.0016742117004469037,
0.008276787586510181,
-0.0131359389051795,
-0.006830497644841671,
0.011092995293438435,
0.04418105259537697,
-0.05109269544482231,
-0.009880593977868557,
-0.042500872164964676,
-0.036085646599531174,
0.05437668040394783,
0.003315010806545615,
0.027818406000733376,
-0.04108799621462822,
-0.012563151307404041,
0.030071372166275978,
-0.010138348676264286,
-0.013174124993383884,
0.022701499983668327,
0.03350809961557388,
0.00656796945258975,
0.07492067664861679,
-0.025928204879164696,
-0.006668207701295614,
-0.0673980638384819,
-0.021823225542902946,
-0.0000750292674638331,
0.00649159774184227,
0.024496234953403473,
0.0209831353276968,
-0.012925917282700539,
0.018252845853567123,
-0.0607537180185318,
0.023427031934261322,
-0.06888730823993683,
0.02155592292547226,
0.0335271954536438,
-0.03511190786957741,
-0.0588444247841835,
0.030338672921061516,
-0.0003925984783563763,
0.030854182317852974,
0.10386556386947632,
0.035512857139110565,
0.05262012779712677,
0.03249617666006088,
-0.01701180450618267,
-0.013422333635389805,
-0.0012458140263333917,
-0.05911172553896904,
-0.012620430439710617,
0.021708667278289795,
-0.02399981953203678,
-0.007159850560128689,
-0.006973694544285536,
0.014195596799254417,
0.004140780307352543,
0.00797130074352026,
0.05960814282298088,
0.037154849618673325,
0.017870986834168434,
-0.0564769022166729,
-0.005828118417412043,
0.020773112773895264,
0.022529663518071175,
-0.003961783833801746,
-0.060410045087337494,
-0.029975907877087593,
-0.03133150562644005,
0.03755580261349678,
0.02016213908791542,
-0.03851044923067093,
0.02002848871052265,
0.020811298862099648,
0.050061676651239395,
-0.05021441727876663,
0.01241040788590908,
-0.0004573354672174901,
-0.009532148018479347,
0.030854182317852974,
-0.05662964656949043,
-0.043264590203762054,
-0.02545088157057762,
0.014520176686346531,
0.005541724152863026,
0.02363705262541771,
0.011388936080038548,
0.1276935487985611,
0.026310063898563385,
-0.01595214754343033,
0.060600973665714264,
0.06189929321408272,
-0.010634765028953552,
-0.01883517950773239,
0.007326913997530937,
0.05361296236515045,
0.02583274058997631,
-0.021097693592309952,
-0.029384026303887367,
-0.034443654119968414,
0.03650569170713425,
-0.020887671038508415,
0.021708667278289795,
0.012563151307404041,
-0.00031055850558914244,
-0.06342673301696777,
0.054109375923871994,
0.05613322928547859,
0.015427091158926487,
0.03686845675110817,
-0.021842317655682564,
-0.0014200370060279965,
-0.020563090220093727,
0.009684891439974308,
0.04582304507493973,
0.042882733047008514,
0.0005891960463486612,
0.018625158816576004,
-0.004236245062202215,
0.0002945980231743306,
0.01613353006541729,
-0.03056778945028782,
-0.04051520675420761,
-0.004042929038405418,
0.0649159774184227,
0.012515419162809849,
-0.0016861448530107737,
0.023331565782427788,
0.021269530057907104,
-0.055293139070272446,
-0.024477142840623856,
0.04089706763625145,
0.054223936051130295,
0.013584623113274574,
0.03849135711789131,
-0.03398542478680611,
-0.05922628566622734,
0.06571788340806961,
0.02350340224802494,
-0.0021014162339270115,
0.04043883457779884,
0.03900686651468277,
-0.019178852438926697,
-0.01134120300412178,
-0.028505751863121986,
0.03705938532948494,
-0.040286093950271606,
0.03301168605685234,
-0.058004334568977356,
0.026730109006166458,
-0.04418105259537697,
-0.01657266728579998,
0.05036716163158417,
-0.028963983058929443,
0.01713590882718563,
0.032419804483652115,
0.0649159774184227,
0.02067764848470688,
0.043455518782138824,
0.004207605496048927,
-0.04391375184059143,
0.03081599622964859,
-0.035188280045986176,
-0.049565259367227554,
-0.006773218512535095,
0.014014214277267456,
-0.02860121615231037,
-0.03713575750589371,
-0.01020517386496067,
0.04574667289853096,
-0.05536951124668121,
-0.02873486652970314,
-0.0220523402094841,
-0.036772992461919785,
-0.04486839845776558,
0.013317322358489037,
-0.009899687021970749,
0.02741745486855507,
-0.032114315778017044,
0.03921688720583916,
0.01764187216758728,
0.010892519727349281,
0.05273468792438507,
0.0009862694423645735,
-0.05827163904905319,
0.034119073301553726,
0.0009134776191785932,
0.0438755638897419,
-0.040286093950271606,
-0.011885352432727814,
-0.033240798860788345,
0.01866334304213524,
-0.003766081528738141,
-0.03629567101597786,
0.023980725556612015,
0.05613322928547859,
0.015035686083137989,
-0.01757504604756832,
0.004563211463391781,
-0.03163699433207512,
0.03194247931241989,
-0.025508161634206772,
-0.027360176667571068,
0.01105480920523405,
-0.017288653180003166,
-0.032037943601608276,
0.046472202986478806,
0.0375748947262764,
-0.0007410445250570774,
-0.03301168605685234,
-0.0313887856900692,
0.01808100938796997,
-0.04822875186800957,
-0.009307805448770523,
-0.04479202628135681,
-0.020620370283722878,
-0.011532132513821125,
-0.014672920107841492,
-0.014672920107841492,
-0.015656206756830215,
0.053727518767118454,
0.011446214281022549,
0.021880503743886948,
0.006019047927111387,
0.027761127799749374,
0.017622778192162514,
0.032858941704034805,
-0.005417620297521353,
0.0036586837377399206,
0.007684906478971243,
-0.015379359014332294,
-0.06461048871278763,
0.029212189838290215,
-0.05498765408992767,
-0.038414984941482544,
0.0281811710447073,
-0.015971239656209946,
0.059646327048540115,
-0.023217009380459785,
0.02652008645236492,
-0.018854273483157158,
-0.024496234953403473,
0.07224766910076141,
-0.00485199224203825,
0.020830392837524414,
0.011780341155827045,
0.01814783550798893,
0.0073316870257258415,
0.019016563892364502,
0.04097343981266022,
-0.0627775713801384,
-0.01820511370897293,
-0.004269657656550407,
0.005040534771978855,
0.011665782891213894,
0.019761187955737114,
0.012038095854222775,
0.029460398480296135,
0.06770354509353638,
-0.005045308265835047,
0.040362466126680374,
-0.03650569170713425,
0.03952237591147423,
0.04670131951570511,
0.0689636841416359,
0.0172695592045784,
0.07003288716077805,
0.028314823284745216,
-0.07973209768533707,
-0.020639462396502495,
-0.04043883457779884,
-0.051321808248758316,
-0.04082069545984268,
-0.007923567667603493,
-0.07362236082553864,
0.0013806578936055303,
0.004236245062202215,
-0.05662964656949043,
0.006596609018743038,
0.055484067648649216,
0.04261543229222298,
-0.0037756278179585934,
0.01883517950773239,
0.016524935141205788,
-0.026634644716978073,
-0.040935251861810684,
0.047044992446899414,
0.01272544078528881,
0.0016443789936602116,
-0.029594048857688904,
-0.05342203378677368,
-0.05571318417787552,
0.03505462780594826,
-0.009126422926783562,
-0.040362466126680374,
0.02419074811041355,
0.02716924622654915,
-0.04586122930049896,
0.0010674144141376019,
-0.0316178984940052,
0.04131711274385452,
0.020143046975135803,
-0.017345931380987167,
0.04876335710287094,
0.0027565425261855125,
0.021441366523504257,
0.031789734959602356,
-0.034691862761974335,
0.02665373682975769,
-0.06354128569364548,
-0.06384677439928055,
0.0073316870257258415,
-0.022586941719055176,
0.017412757501006126,
-0.014768385328352451,
-0.06285393983125687,
0.008625233545899391,
0.0022660926915705204,
0.04013334959745407,
-0.023026078939437866,
-0.033431727439165115,
-0.0756080225110054,
-0.024343492463231087,
0.01115027442574501,
-0.0273410826921463,
0.008625233545899391,
-0.04967981576919556,
0.007346006575971842,
-0.003081122413277626,
-0.08377979695796967,
-0.022415105253458023,
-0.013097753748297691,
-0.025355417281389236,
0.02041034772992134,
0.006501144263893366,
-0.025030838325619698,
-0.0146251879632473,
0.010768415406346321,
-0.02583274058997631,
0.04643401876091957,
-0.04139348119497299,
0.0013818511506542563,
-0.012973649427294731,
0.04864879697561264,
0.03247708082199097,
0.012629976496100426,
0.010634765028953552,
0.029193097725510597,
0.044448353350162506,
-0.0025178808718919754,
0.038720473647117615,
-0.021708667278289795,
-0.003011910477653146,
0.035570137202739716,
0.011608504690229893,
-0.018510600551962852,
-0.017546407878398895,
0.0711020901799202,
-0.0008418791112489998,
-0.02375161089003086,
0.0375748947262764,
-0.01708817668259144,
-0.015656206756830215,
-0.002379457000643015,
0.006997560616582632,
-0.005054854322224855,
0.031159669160842896,
0.003773241303861141,
0.04670131951570511,
0.04215719923377037,
0.007770824711769819,
0.044333793222904205,
-0.039827860891819,
0.044906582683324814,
0.009775582700967789,
0.022281454876065254,
0.05269649997353554,
-0.011627597734332085,
-0.037708546966314316,
0.022796964272856712,
0.016544027253985405,
0.022224176675081253,
-0.022147804498672485,
0.040362466126680374,
-0.015961693599820137,
-0.029135819524526596,
0.034443654119968414,
0.00048746648826636374,
-0.027207432314753532,
0.0564769022166729,
0.049565259367227554,
0.018625158816576004,
0.00037857709685340524,
-0.03921688720583916,
-0.07049111276865005,
-0.04429560899734497,
-0.013718273490667343,
-0.02652008645236492,
0.008940266445279121,
-0.0187874473631382,
-0.06789447367191315,
-0.06239571049809456,
-0.02130771614611149,
0.05109269544482231,
0.010634765028953552,
0.011178913526237011,
0.017718244343996048,
-0.04586122930049896,
-0.015532102435827255,
-0.009684891439974308,
-0.040858879685401917,
0.007818556390702724,
0.06598518043756485,
-0.02483990788459778,
-0.025985484942793846,
-0.0754934623837471,
-0.03268710523843765,
0.0986722856760025,
0.043761007487773895,
-0.05426212027668953,
0.03742215409874916,
-0.05494946613907814,
0.02065855637192726,
0.04368463531136513,
-0.015293440781533718,
0.04494477063417435,
0.0625484511256218,
0.016925886273384094,
-0.052085526287555695,
-0.01983756013214588,
0.004434334114193916,
0.01624808833003044,
-0.014415166340768337,
0.016601307317614555,
-0.0034367283806204796,
-0.07820466160774231,
-0.04567030072212219,
0.005909263156354427,
-0.006520237307995558,
-0.03005228005349636,
0.053727518767118454,
-0.046663131564855576,
0.02898307517170906,
0.014319701120257378,
0.006945054978132248,
0.004381828475743532,
0.029135819524526596,
0.05128362402319908,
0.0316178984940052,
0.03648659959435463,
0.013565530069172382,
-0.0010560780065134168,
-0.015360265970230103,
0.006248163059353828,
-0.032992590218782425,
0.029154911637306213,
-0.016047611832618713,
0.0006014274549670517,
0.0292503759264946,
-0.018195567652583122,
0.021785039454698563,
-0.02470625750720501,
0.006935508456081152,
-0.08691103756427765,
-0.034061796963214874,
-0.019503433257341385,
-0.015541649423539639,
-0.025870926678180695,
-0.01473974622786045,
-0.06105920672416687,
-0.03862500563263893,
0.04020972177386284,
0.04311184585094452,
-0.011961723677814007,
-0.0183387640863657,
0.003307851031422615,
0.020448533818125725,
-0.0251453947275877,
-0.024400770664215088,
0.05689694732427597,
0.05651508644223213,
-0.010443835519254208,
-0.009775582700967789,
-0.0029116724617779255,
0.06044823303818703,
-0.006095419637858868,
-0.03369903191924095,
0.03673480823636055,
0.0008991578943096101,
0.07663904130458832,
-0.014138318598270416,
-0.026500994339585304,
-0.08049581199884415,
-0.0035656054969877005,
0.014978407882153988,
-0.04819056764245033,
0.06926916539669037,
-0.022892428562045097,
0.025126302614808083,
-0.015331626869738102,
0.0002315018355147913,
0.021269530057907104,
-0.012209932319819927,
-0.03524555638432503,
-0.0695364698767662,
-0.01392829604446888,
-0.03106420487165451,
-0.0005023828707635403,
0.04078250750899315,
-0.010816147550940514,
0.01323140412569046,
0.07102571427822113,
-0.056553274393081665,
-0.0021586949005723,
0.012085827998816967,
-0.050634462386369705,
-0.02464897930622101,
-0.02665373682975769,
0.03245798870921135,
-0.013240950182080269,
0.013183671981096268,
0.01102617010474205,
0.05109269544482231,
0.06438137590885162,
-0.09500644356012344,
-0.010472474619746208,
0.01638173870742321,
-0.03190429508686066,
-0.030529603362083435,
0.01840559020638466,
0.029574956744909286,
-0.005751746706664562,
0.021002229303121567,
0.044715654104948044,
0.02703559584915638,
-0.015541649423539639,
-0.029956815764307976,
0.04639583081007004,
-0.017928265035152435,
0.02577546238899231
] |
726,169 | penne.core | show_methods | Displays Available Methods to the User on the document
Uses the document delegate's show_methods function to display
| def show_methods(self):
"""Displays Available Methods to the User on the document
Uses the document delegate's show_methods function to display
"""
self.state["document"].show_methods()
| (self) | [
-0.023965103551745415,
-0.05698530748486519,
0.06404028087854385,
0.0015557770384475589,
0.015673687681555748,
0.00010533315071370453,
0.013637198135256767,
-0.009186926297843456,
0.010418819263577461,
0.050330355763435364,
-0.000993242603726685,
-0.013528101146221161,
0.038365986198186874,
0.025037895888090134,
-0.08451426774263382,
-0.0024478770792484283,
0.03007456846535206,
-0.016873760148882866,
-0.03669315576553345,
-0.024856066331267357,
-0.037820495665073395,
0.020564895123243332,
0.056621648371219635,
-0.015228205360472202,
-0.03807505965232849,
0.047966573387384415,
-0.025456104427576065,
-0.009900606237351894,
0.022692298516631126,
-0.016955584287643433,
-0.03663860633969307,
-0.059858210384845734,
0.03502032533288002,
0.0024137841537594795,
0.03312930092215538,
0.023692360147833824,
0.03960242494940758,
0.016619199886918068,
0.003272927599027753,
0.028710847720503807,
-0.05003942549228668,
-0.004718470852822065,
0.06287657469511032,
-0.03082006797194481,
-0.05062128230929375,
0.005663983058184385,
0.025001531466841698,
0.024928798899054527,
-0.010155167430639267,
-0.027874434366822243,
0.006304931361228228,
0.008036855608224869,
-0.016010070219635963,
-0.0241287499666214,
-0.028165360912680626,
0.002859266009181738,
-0.007177711930125952,
0.027092568576335907,
0.02892904356122017,
0.0497484989464283,
0.015028192661702633,
-0.025456104427576065,
0.05509428307414055,
-0.05036671832203865,
0.039784252643585205,
0.029256336390972137,
0.04345720633864403,
0.010555191896855831,
0.001596688642166555,
0.025456104427576065,
-0.00024206026864703745,
0.019983042031526566,
0.02392873726785183,
0.05400330573320389,
0.012455307878553867,
-0.021455859765410423,
-0.06625860184431076,
0.0340748131275177,
-0.004325264599174261,
-0.019710296764969826,
0.013882667757570744,
-0.01858295500278473,
0.010546100325882435,
-0.01470999140292406,
-0.010764295235276222,
-0.01400085724890232,
0.07600465416908264,
-0.015528223477303982,
0.014519070275127888,
0.02880176343023777,
-0.05760352686047554,
0.0015057739801704884,
-0.008968730457127094,
-0.02332870103418827,
-0.07316811382770538,
-0.033438410609960556,
0.0061821965500712395,
-0.031347375363111496,
-0.008514157496392727,
0.02081945724785328,
-0.04320264607667923,
0.04425725340843201,
0.03271109238266945,
0.0051957727409899235,
-0.005018488969653845,
-0.026347067207098007,
-0.05294869467616081,
-0.012573497369885445,
-0.004759382456541061,
0.06611313670873642,
0.0072777182795107365,
-0.019146626815199852,
0.02529245801270008,
-0.00019930196867790073,
0.031220093369483948,
0.011427972465753555,
0.01040972862392664,
-0.013255356810986996,
-0.004311627708375454,
-0.034583933651447296,
-0.006445849314332008,
-0.01599188894033432,
-0.04011154547333717,
-0.04014791175723076,
-0.03522033989429474,
0.018637504428625107,
-0.03305656835436821,
0.018764784559607506,
0.053857844322919846,
-0.05549430474638939,
-0.007777749095112085,
-0.044984571635723114,
-0.02447422593832016,
0.04640284180641174,
0.04767564684152603,
0.03196559473872185,
0.014628168195486069,
-0.046148281544446945,
-0.008309599943459034,
0.08676894754171371,
-0.06320387125015259,
-0.01203710027039051,
0.02914723940193653,
0.0586945042014122,
-0.05258503928780556,
0.035656727850437164,
-0.0011273417621850967,
0.03216560557484627,
-0.01626463234424591,
-0.006314022932201624,
0.009518764913082123,
0.005700348876416683,
0.039238765835762024,
-0.04040247201919556,
-0.0056685288436710835,
-0.0010068798437714577,
-0.006723138969391584,
-0.003595674643293023,
-0.008973276242613792,
-0.035529449582099915,
0.03265654295682907,
0.011491612531244755,
-0.04051157087087631,
0.02067399211227894,
0.00003205096800229512,
0.00010938169725704938,
0.007827752269804478,
-0.07120435684919357,
-0.036402229219675064,
0.06782233715057373,
-0.042220767587423325,
-0.023492347449064255,
-0.05462152510881424,
0.020092139020562172,
0.034856680780649185,
0.01801019348204136,
0.007532279472798109,
0.02927451953291893,
0.014200869016349316,
-0.00223536416888237,
-0.03405662998557091,
-0.03462029993534088,
-0.11055222153663635,
0.03865691274404526,
0.02340143360197544,
0.05931272357702255,
0.012746235355734825,
-0.010500642471015453,
0.016573742032051086,
-0.022001346573233604,
-0.0405479371547699,
0.00953694712370634,
0.006800416391342878,
-0.017146503552794456,
-0.04185710847377777,
-0.050803110003471375,
-0.05876723304390907,
0.0019489829428493977,
-0.04665740206837654,
-0.03049277514219284,
0.03496577590703964,
0.026201603934168816,
-0.02169223688542843,
0.01947391964495182,
0.027492592111229897,
0.06116738170385361,
0.019092077389359474,
0.040875229984521866,
-0.05043945088982582,
-0.05153042823076248,
0.004238896071910858,
0.0019057984463870525,
0.020928554236888885,
-0.013137168250977993,
0.02203771285712719,
-0.049857597798109055,
0.05451242998242378,
-0.015100924298167229,
-0.03960242494940758,
0.0068458737805485725,
0.0658949464559555,
0.07022248208522797,
-0.01726469397544861,
-0.04534823074936867,
-0.02596522681415081,
0.002239909954369068,
0.03240198269486427,
-0.06251291930675507,
-0.010891576297581196,
-0.09244202077388763,
-0.01538276020437479,
-0.0435299389064312,
-0.07680470496416092,
0.05476699024438858,
-0.01758289523422718,
-0.011200685985386372,
-0.00950058177113533,
0.024492409080266953,
0.005436696577817202,
0.016300998628139496,
-0.013928125612437725,
0.04563915729522705,
0.03185649588704109,
0.026110690087080002,
-0.07673197239637375,
-0.014728174544870853,
0.034583933651447296,
-0.005409421864897013,
-0.007882300764322281,
-0.025128811597824097,
0.027074385434389114,
-0.11178866028785706,
-0.03245653212070465,
-0.023292334750294685,
0.008936910890042782,
-0.006468577776104212,
-0.05876723304390907,
0.036874983459711075,
-0.007468638941645622,
-0.012382576242089272,
0.00009418190165888518,
-0.013500826433300972,
-0.010546100325882435,
0.04920301213860512,
0.05785808712244034,
0.023965103551745415,
0.02352871373295784,
0.03738410770893097,
-0.03996608406305313,
-0.016882851719856262,
0.1611735075712204,
-0.007409544661641121,
-0.05600342899560928,
0.03489304706454277,
0.013709930703043938,
-0.044802743941545486,
0.0015921429730951786,
-0.012009826488792896,
-0.0877871960401535,
-0.02743804268538952,
0.06051279604434967,
0.007227715104818344,
-0.0012739415979012847,
0.07571372389793396,
-0.00009901174053084105,
-0.008900544606149197,
0.005232138559222221,
0.06287657469511032,
-0.009159651584923267,
-0.04731198772788048,
0.08633255958557129,
0.035383984446525574,
0.02367417700588703,
0.011046131141483784,
0.028092628344893456,
0.01967393234372139,
-0.051494061946868896,
0.036129485815763474,
-0.0335838757455349,
-0.00990969780832529,
-0.04051157087087631,
0.0018728419672697783,
-0.001755789271555841,
-0.0009551721159368753,
-0.0011796177132055163,
-0.05498518422245979,
0.006954971235245466,
0.014728174544870853,
-0.0009165334049612284,
-0.03103826381266117,
-0.0063822087831795216,
0.006186742335557938,
-0.011100679636001587,
0.01604643650352955,
-0.04145708307623863,
-0.015810059383511543,
-0.06480396538972855,
0.014891820959746838,
0.04040247201919556,
0.060403697192668915,
-0.05949455127120018,
0.061349209398031235,
-0.01987394317984581,
-0.001727378461509943,
0.01453725341707468,
-0.01746470481157303,
-0.02034669928252697,
-0.013909942470490932,
-0.039056938141584396,
-0.0009642635704949498,
-0.04280262067914009,
0.03129282593727112,
0.04713015630841255,
0.0077913859859108925,
-0.10044251382350922,
-0.017819272354245186,
-0.0006545855430886149,
0.011773448437452316,
-0.022401371970772743,
-0.003234288888052106,
0.034238461405038834,
-0.006723138969391584,
-0.0187829677015543,
-0.014046314172446728,
-0.0026274335104972124,
0.047893840819597244,
-0.020001225173473358,
0.012446216307580471,
0.0658949464559555,
-0.07414999604225159,
-0.0002606693597044796,
-0.038911473006010056,
-0.01604643650352955,
0.003959333524107933,
0.008250504732131958,
-0.024092383682727814,
0.020710358396172523,
-0.028965409845113754,
-0.03372933715581894,
-0.03454757109284401,
0.003559308825060725,
0.03042004443705082,
-0.08218684792518616,
0.0024637870956212282,
-0.010482460260391235,
-0.0044457265175879,
0.0373113751411438,
-0.004941211547702551,
0.09658773243427277,
-0.05658528208732605,
0.01733742468059063,
-0.07825933396816254,
-0.008432334288954735,
0.03398389741778374,
-0.002017169026657939,
0.009609679691493511,
0.05207591503858566,
0.02507426217198372,
-0.0164191871881485,
0.0046821050345897675,
0.02683800645172596,
0.007077706046402454,
0.01723741926252842,
0.008786901831626892,
0.01932845637202263,
-0.04356630519032478,
-0.06011277064681053,
0.0658949464559555,
-0.02183770015835762,
0.021728603169322014,
0.024037836119532585,
-0.019182993099093437,
-0.11884363740682602,
0.009168743155896664,
-0.007900483906269073,
-0.04873025789856911,
0.008177773095667362,
-0.020110322162508965,
-0.019983042031526566,
-0.015610046684741974,
0.06494943052530289,
0.006782233249396086,
-0.04909391328692436,
0.003400208195671439,
-0.0021853609941899776,
0.05778535455465317,
0.06931333243846893,
-0.007427727337926626,
0.020946737378835678,
-0.0711316242814064,
0.02805626392364502,
-0.013082618825137615,
-0.06676772236824036,
-0.007136800792068243,
0.036402229219675064,
-0.013046253472566605,
-0.0062231081537902355,
0.0034456655848771334,
-0.01338263787329197,
0.011964368633925915,
0.04069339856505394,
0.06924059987068176,
0.06269475072622299,
0.06484033167362213,
0.04338447377085686,
0.0008330055279657245,
-0.003468394046649337,
0.030329128727316856,
0.06564038246870041,
0.04920301213860512,
0.011855271644890308,
0.04753018170595169,
-0.02487424947321415,
0.007536825258284807,
-0.018964797258377075,
-0.045675523579120636,
-0.005873086862266064,
-0.06098555028438568,
-0.040329743176698685,
0.03865691274404526,
0.03036549501121044,
-0.007545916363596916,
-0.022892311215400696,
-0.017428340390324593,
0.021546773612499237,
-0.06698592007160187,
0.000862552784383297,
-0.0023751454427838326,
0.029638178646564484,
-0.044984571635723114,
-0.0031274640932679176,
0.053857844322919846,
0.02318323776125908,
-0.015410033985972404,
0.02414693310856819,
-0.003025185316801071,
0.004895754158496857,
0.021055834367871284,
0.027565324679017067,
0.02556520141661167,
0.005823083687573671,
0.021510407328605652,
-0.10626105219125748,
-0.037347741425037384,
0.03589310497045517,
-0.008577797561883926,
-0.04254806041717529,
0.023237787187099457,
-0.04051157087087631,
0.0008364148670807481,
0.06858601421117783,
-0.008314145728945732,
-0.04272988811135292,
-0.05353055149316788,
0.036820437759160995,
0.021419493481516838,
-0.03372933715581894,
-0.0033683879300951958,
-0.05538520961999893,
-0.04720288887619972,
-0.040947962552309036,
-0.011782539077103138,
-0.05651254951953888,
-0.0002637945581227541,
-0.03069278784096241,
-0.010000612586736679,
0.02116493135690689,
-0.003370660822838545,
0.025037895888090134,
-0.10727929323911667,
0.045130036771297455,
0.048002939671278,
-0.012309844605624676,
-0.02096492052078247,
0.02029215171933174,
0.018819333985447884,
0.018519315868616104,
0.031601935625076294,
-0.02487424947321415,
-0.004695741925388575,
-0.02616523765027523,
-0.013409911654889584,
0.06207652762532234,
0.046148281544446945,
0.05036671832203865,
0.00679587060585618,
0.023565078154206276,
0.02096492052078247,
0.003241107566282153,
-0.02069217525422573,
0.022019529715180397,
-0.028310824185609818,
0.021546773612499237,
0.023165054619312286,
0.030001835897564888,
-0.029529079794883728,
-0.017573803663253784,
0.0524759404361248,
0.019492102786898613,
0.020801274105906487,
0.033020202070474625,
-0.06494943052530289,
-0.026601629331707954,
-0.05705804005265236,
0.017291966825723648,
0.001680784742347896,
-0.06549491733312607,
0.03331112861633301,
-0.039166033267974854,
0.015837334096431732,
0.044184524565935135,
0.011455247178673744,
0.028038080781698227,
-0.018610229715704918,
-0.061749234795570374,
0.05414877086877823,
-0.01524638757109642,
-0.021419493481516838,
0.029929105192422867,
0.06324023753404617,
0.0355658121407032,
-0.011018856428563595,
-0.07549553364515305,
0.0005366805708035827,
0.055530671030282974,
-0.06407664716243744,
0.01887388341128826,
-0.10931578278541565,
0.09062372893095016,
0.026819823309779167,
0.020110322162508965,
-0.0005116790416650474,
-0.005500336643308401,
-0.015091832727193832,
0.05353055149316788,
0.03872964531183243,
0.030129117891192436,
-0.006732230540364981,
0.03489304706454277,
-0.018964797258377075,
-0.02772897109389305,
-0.04927574470639229,
-0.008836904540657997,
-0.009318752214312553,
0.022565018385648727,
0.05967637896537781,
0.06894967705011368,
-0.011982551775872707,
0.004695741925388575,
-0.07022248208522797,
0.024383310228586197,
0.022474102675914764,
0.02800171449780464,
0.044184524565935135,
0.02027396857738495,
0.034911226481199265,
0.025583384558558464,
-0.013546284288167953,
-0.0011489340104162693,
-0.05967637896537781,
-0.01934663951396942,
0.007468638941645622,
0.022765029221773148,
-0.025983408093452454,
-0.06422211229801178,
0.00008118394907796755,
-0.03669315576553345,
-0.024637872353196144,
0.05683984234929085,
-0.03367478772997856,
-0.017155595123767853,
-0.056621648371219635,
-0.014755449257791042,
-0.04778474196791649,
0.02800171449780464,
0.03563854470849037,
-0.018437491729855537,
-0.03523851931095123,
0.004518458619713783,
-0.006732230540364981,
-0.026001591235399246,
0.03392935171723366,
0.01932845637202263,
-0.04069339856505394,
0.017155595123767853,
0.03240198269486427,
-0.0022853671107441187,
0.0018114745616912842,
-0.031547386199235916,
0.032565630972385406,
-0.013173533603549004,
-0.04320264607667923,
0.003657042048871517,
0.021328577771782875,
-0.02271048165857792,
-0.0006847010226920247,
0.03278382495045662,
-0.027565324679017067,
0.016100985929369926,
0.040184278041124344,
-0.08218684792518616,
0.048839353024959564,
0.00028794375248253345,
0.0015716871712356806,
-0.035202156752347946,
0.00682769063860178,
-0.023292334750294685,
0.03082006797194481,
0.003925240132957697,
0.026583446189761162,
-0.005959455855190754,
-0.029583629220724106,
0.00022870718385092914,
-0.015955522656440735,
0.018364761024713516,
-0.05534884333610535,
-0.011137045919895172,
0.006114010699093342,
-0.05942181870341301,
0.01599188894033432,
0.0002833980252034962,
-0.00295699923299253,
-0.0023319609463214874,
-0.03712954744696617,
-0.021528590470552444,
0.08625982701778412,
-0.0636766254901886,
0.001719423453323543,
0.03465666621923447,
0.013473551720380783,
-0.05582159757614136,
-0.0025524289812892675,
-0.012982613407075405,
0.06185833364725113,
0.008973276242613792,
-0.02791079878807068,
-0.019910309463739395,
-0.0002737383474595845,
0.012418942525982857,
-0.002278548665344715,
-0.019983042031526566,
-0.02460150606930256,
-0.02549247071146965,
-0.026201603934168816,
0.041675277054309845,
0.008364148437976837,
-0.026201603934168816,
0.04618464410305023,
0.01751016266644001,
-0.01460089348256588,
0.061021916568279266,
0.04440271854400635,
0.058949064463377,
0.010473368689417839,
0.012828057631850243,
0.015955522656440735,
0.00005667960795108229,
-0.028710847720503807,
0.04305718094110489,
-0.017301058396697044,
-0.05196681618690491,
-0.01801019348204136,
-0.05051218345761299,
-0.03474758192896843,
-0.02651071362197399,
0.0462573766708374,
0.0036229491233825684,
-0.008559615351259708,
0.01773745007812977,
-0.08116860687732697,
-0.08116860687732697,
-0.01400085724890232,
0.006936788093298674,
0.040875229984521866,
0.0639311894774437,
0.027365311980247498,
-0.0016103258822113276,
-0.08698714524507523,
0.03602038696408272,
-0.021528590470552444,
0.06673135608434677,
0.027274396270513535,
0.02603795751929283,
0.00443890830501914,
0.014455430209636688,
0.007736837491393089,
-0.010546100325882435,
-0.026128873229026794,
-0.019310273230075836,
0.004050247836858034,
0.04007517918944359,
0.024965165182948112,
-0.012091649696230888,
0.03203832358121872,
0.012628045864403248,
-0.0318383127450943,
0.022746847942471504,
0.032565630972385406,
-0.0019626200664788485,
0.012691685929894447,
-0.0014591802610084414,
-0.009700593538582325,
-0.0023910554591566324,
-0.04338447377085686,
0.07265899330377579,
0.09113284945487976,
-0.06476759910583496,
-0.0014171322109177709,
0.008573251776397228,
0.004804839845746756,
-0.007577736862003803,
-0.05265776813030243,
-0.04571188986301422,
0.037893228232860565,
-0.033620238304138184,
-0.03825688734650612,
-0.0021285393740981817,
-0.009077828377485275,
-0.03354750946164131,
-0.031220093369483948,
0.009268749505281448,
0.020655810832977295,
0.0388023741543293,
0.02507426217198372,
-0.009050553664565086,
0.017619259655475616,
0.012364393100142479,
-0.016055528074502945,
0.03398389741778374,
0.037493202835321426,
0.011364332400262356,
0.035456717014312744,
-0.010627923533320427,
0.034438472241163254,
0.04262079298496246,
0.02867448329925537,
0.014964552596211433,
0.00726862670853734,
0.014200869016349316,
-0.03894783928990364,
-0.038438718765974045,
-0.019964858889579773,
0.020328518003225327,
-0.0035661275032907724,
0.02994728833436966,
0.033092934638261795,
-0.005223046988248825,
0.027765335515141487
] |
726,170 | penne.core | shutdown | Method for shutting down the client
Closes websocket connection then blocks to finish all callbacks, joins thread as well
| def shutdown(self):
"""Method for shutting down the client
Closes websocket connection then blocks to finish all callbacks, joins thread as well
"""
asyncio.run_coroutine_threadsafe(self._socket.close(), self._loop)
self.is_active = False
self.thread.join()
| (self) | [
-0.008029794320464134,
-0.04911298304796219,
-0.02459208108484745,
-0.0042729186825454235,
-0.03658561408519745,
-0.03758210688829422,
-0.015330012887716293,
0.04776059463620186,
-0.016602324321866035,
0.0007612734916619956,
-0.005832166876643896,
-0.035393379628658295,
-0.007246834225952625,
-0.027670539915561676,
-0.0045264908112585545,
0.027670539915561676,
0.00736249890178442,
-0.06366892904043198,
0.0012100300518795848,
-0.020339181646704674,
-0.04018011316657066,
0.032172564417123795,
0.03484174609184265,
-0.04711999371647835,
-0.00786074623465538,
0.002969467081129551,
-0.04146132245659828,
0.027083318680524826,
0.005614183377474546,
-0.052316002547740936,
-0.05534107983112335,
0.04010893777012825,
0.02781289629638195,
0.02042815461754799,
0.02172715589404106,
-0.00902628991752863,
-0.028560267761349678,
-0.006810867693275213,
-0.02980588562786579,
0.006228095851838589,
-0.029076309874653816,
-0.01215368416160345,
-0.017047187313437462,
0.047333527356386185,
0.02681639976799488,
0.0179991964250803,
-0.013025617226958275,
-0.010178487747907639,
-0.02270585671067238,
0.01984093338251114,
-0.04050041735172272,
0.0359983928501606,
-0.034396883100271225,
0.029236460104584694,
-0.01861310936510563,
0.02411162666976452,
0.0015459023416042328,
-0.009208683855831623,
-0.024342956021428108,
-0.060750626027584076,
-0.08356324583292007,
0.026496099308133125,
-0.02388029731810093,
0.024681054055690765,
0.023559996858239174,
-0.029414406046271324,
-0.0049913739785552025,
0.05530548840761185,
0.057867906987667084,
-0.00484456866979599,
0.007891886867582798,
0.058864399790763855,
0.008141010999679565,
-0.0005577481933869421,
-0.012046916410326958,
-0.025624165311455727,
-0.05783231556415558,
0.006161366123706102,
-0.07071557641029358,
0.024556491523981094,
-0.00044402986532077193,
0.049611229449510574,
-0.0023155170492827892,
0.04555407166481018,
0.11253279447555542,
-0.011984635144472122,
0.017981402575969696,
-0.003118496388196945,
-0.08327853679656982,
0.012776493094861507,
-0.006303722504526377,
0.03897008299827576,
-0.022047458216547966,
-0.017812354490160942,
0.030464285984635353,
0.016557836905121803,
-0.03701268136501312,
-0.0024712192825973034,
-0.036905914545059204,
-0.09032518416643143,
0.03729739412665367,
0.023168515413999557,
-0.020125646144151688,
-0.019111355766654015,
0.06726343184709549,
-0.010089514777064323,
0.017394181340932846,
-0.015009710565209389,
-0.061213284730911255,
-0.03149636834859848,
0.02089081145823002,
-0.014680511318147182,
0.05028742551803589,
0.061675943434238434,
-0.010916962288320065,
-0.03080238215625286,
-0.03466380015015602,
0.02950337901711464,
0.03822271153330803,
-0.012287142686545849,
-0.0137640917673707,
0.010151796042919159,
-0.014894045889377594,
-0.052885428071022034,
0.019057972356677055,
0.06487896293401718,
0.00995605532079935,
0.05455811694264412,
0.016602324321866035,
0.021638182923197746,
-0.03284875676035881,
0.03950392082333565,
0.011779998429119587,
-0.015552444383502007,
0.02359558455646038,
0.008888382464647293,
0.019947700202465057,
-0.003274198854342103,
0.04085630923509598,
-0.000851914519444108,
-0.01338150817900896,
0.011441901326179504,
0.019307097420096397,
-0.013079000636935234,
0.043418724089860916,
0.0784384161233902,
-0.07423890382051468,
-0.004030467476695776,
-0.031941235065460205,
-0.045981138944625854,
0.003954840824007988,
0.049326516687870026,
0.003883662400767207,
-0.03096253238618374,
-0.05882881209254265,
-0.016753576695919037,
-0.056693464517593384,
0.030642230063676834,
0.05171098932623863,
0.010498790070414543,
-0.006303722504526377,
0.033578332513570786,
-0.002889391500502825,
-0.02745700441300869,
-0.02183392457664013,
0.012607445009052753,
0.0011282862396910787,
-0.016602324321866035,
0.04829443246126175,
0.02510812319815159,
-0.048045311123132706,
0.033222440630197525,
-0.030944738537073135,
0.0032007961999624968,
0.01032974198460579,
0.027973046526312828,
0.010303049348294735,
0.023577790707349777,
-0.060394734144210815,
-0.023399844765663147,
-0.0354289673268795,
-0.09146403521299362,
-0.017625510692596436,
-0.043525490909814835,
0.020819634199142456,
0.014360208995640278,
-0.00875492300838232,
0.029610145837068558,
0.030179571360349655,
-0.04185280203819275,
-0.0398242212831974,
-0.03224373981356621,
0.0342545248568058,
0.04178162291646004,
0.08890161663293839,
0.0010098412167280912,
0.06210301071405411,
0.0199121106415987,
0.0199121106415987,
-0.03259963169693947,
0.01501860748976469,
0.02694096229970455,
0.03546455502510071,
-0.06288596987724304,
0.013025617226958275,
-0.025250479578971863,
0.03566029667854309,
-0.03505527973175049,
-0.013328124769032001,
-0.031300630420446396,
-0.02290159836411476,
0.008719334378838539,
0.01314128190279007,
0.0468352809548378,
0.11075333505868912,
-0.03192343935370445,
-0.05672905594110489,
-0.014155571348965168,
0.02178054116666317,
0.033809661865234375,
-0.004755595698952675,
-0.034396883100271225,
0.02119331993162632,
-0.006708548869937658,
-0.02510812319815159,
0.02763495035469532,
-0.06441630423069,
-0.03080238215625286,
0.03592721372842789,
-0.0015915008261799812,
-0.02891615778207779,
0.056230805814266205,
0.006036804057657719,
0.012723109684884548,
-0.06562633067369461,
0.05466488376259804,
-0.05235159397125244,
0.02535724639892578,
-0.019324891269207,
-0.01779455877840519,
-0.024716641753911972,
-0.06922083348035812,
0.019307097420096397,
-0.04854355752468109,
0.011904560029506683,
0.0480097196996212,
0.09338584542274475,
0.010436508804559708,
0.062138598412275314,
-0.006472771055996418,
-0.05512754246592522,
-0.03131842240691185,
0.04825884476304054,
-0.035393379628658295,
0.0037946896627545357,
-0.09338584542274475,
0.013070103712379932,
0.006383798085153103,
-0.011619847267866135,
0.06882935762405396,
0.0008613678510300815,
0.004530939739197493,
-0.038898907601833344,
0.10441847145557404,
0.03610515967011452,
-0.06758373230695724,
0.030410900712013245,
0.011521977372467518,
-0.042706940323114395,
-0.03932597488164902,
0.05206688120961189,
-0.05633757263422012,
-0.028239965438842773,
-0.026424920186400414,
-0.028667034581303596,
0.0013390405802056193,
-0.020107852295041084,
-0.06719225645065308,
-0.056230805814266205,
-0.022527912631630898,
0.07011055946350098,
0.011806690134108067,
0.02651389315724373,
0.020766250789165497,
0.011984635144472122,
-0.043311957269907,
0.023987066000699997,
-0.03501969203352928,
0.015205450356006622,
-0.04074953868985176,
-0.02249232307076454,
-0.05363279953598976,
-0.004130561836063862,
0.05373957008123398,
0.037083860486745834,
-0.021033169701695442,
0.00019879858882632107,
0.029111899435520172,
0.02183392457664013,
-0.04064277186989784,
0.0165400430560112,
0.027706127613782883,
-0.005543005187064409,
0.004499799106270075,
-0.016451070085167885,
-0.007567136082798243,
0.014360208995640278,
0.02827555499970913,
-0.009377732872962952,
0.05007388815283775,
-0.03535778820514679,
-0.056693464517593384,
-0.016967112198472023,
-0.024093832820653915,
-0.010383125394582748,
0.00989377498626709,
-0.02558857575058937,
-0.044237274676561356,
0.020623894408345222,
0.047796186059713364,
-0.01472499780356884,
-0.052600715309381485,
0.07722838968038559,
0.07452361285686493,
0.004393031820654869,
-0.009609062224626541,
-0.005992317572236061,
0.01873767003417015,
-0.00462658517062664,
-0.022670269012451172,
-0.04601673036813736,
-0.0254640132188797,
-0.00992046669125557,
-0.03651443496346474,
0.0001950450532604009,
-0.033400386571884155,
0.051141563802957535,
0.038080357015132904,
-0.022029664367437363,
-0.05672905594110489,
-0.031247245147824287,
0.028133198618888855,
0.047155581414699554,
0.05075008422136307,
-0.05996766313910484,
0.02850688435137272,
-0.08576977252960205,
-0.013684015721082687,
0.050145067274570465,
0.058045852929353714,
0.0749506801366806,
0.011210571974515915,
0.022349966689944267,
0.08157026022672653,
0.0010971457231789827,
-0.0021008700132369995,
-0.0008791624568402767,
0.022670269012451172,
0.0480097196996212,
-0.050963617861270905,
0.02089081145823002,
0.0011766651878133416,
0.022937186062335968,
-0.008123216219246387,
-0.02364896982908249,
-0.007945270277559757,
-0.04092748463153839,
0.015525752678513527,
0.00003053226464544423,
0.04260017350316048,
-0.04050041735172272,
-0.009315451607108116,
0.007291320711374283,
0.022866008803248405,
0.0020007756538689137,
0.005098141264170408,
-0.022919392213225365,
0.011593155562877655,
0.024805614724755287,
0.00971582904458046,
0.0007985308184288442,
-0.01873767003417015,
0.03154975175857544,
-0.0409986637532711,
0.007420331239700317,
-0.018702082335948944,
-0.04512700065970421,
-0.03172769770026207,
-0.03192343935370445,
0.009324348531663418,
0.013710707426071167,
0.01569480076432228,
-0.010997037403285503,
-0.05117715150117874,
-0.02446751855313778,
0.022866008803248405,
0.014057701453566551,
0.002876045648008585,
0.06523485481739044,
-0.005907793529331684,
-0.018719876185059547,
0.041710447520017624,
-0.035393379628658295,
0.009875980205833912,
0.03517984226346016,
0.05434458330273628,
0.03566029667854309,
-0.03121165744960308,
0.0550563670694828,
-0.022616883739829063,
-0.03993099182844162,
-0.041603680700063705,
-0.042066339403390884,
0.01472499780356884,
0.007544892840087414,
-0.0021564781200140715,
0.04018011316657066,
0.019449453800916672,
0.07302886992692947,
0.04199516028165817,
-0.007184553425759077,
0.021406855434179306,
0.0345570333302021,
0.0056898100301623344,
-0.05082125961780548,
-0.028560267761349678,
-0.0019540649373084307,
-0.009226478636264801,
0.00481787696480751,
-0.0015459023416042328,
-0.034040991216897964,
-0.027296854183077812,
-0.022919392213225365,
0.00693542929366231,
0.0243073683232069,
0.070857934653759,
0.005458481144160032,
0.029645735397934914,
0.013737399131059647,
0.0033409283496439457,
-0.008043141104280949,
0.021442443132400513,
-0.021691568195819855,
-0.0026669595390558243,
0.06669400632381439,
-0.03238609805703163,
-0.015588033944368362,
-0.03366730734705925,
0.05174657702445984,
-0.00763831427320838,
-0.0766589567065239,
0.008265572600066662,
-0.0538463369011879,
0.006971018388867378,
0.0027069973293691874,
0.015632519498467445,
-0.0027314648032188416,
0.03558911755681038,
0.021050963550806046,
-0.07516421377658844,
0.03786682337522507,
0.043418724089860916,
0.003156309947371483,
0.016290917992591858,
0.0055296593345701694,
0.025214890018105507,
0.05829497426748276,
-0.04690645635128021,
0.018986795097589493,
0.01727851666510105,
0.050963617861270905,
0.033097878098487854,
-0.00714451540261507,
0.0031674315687268972,
0.04822325333952904,
-0.015330012887716293,
-0.015997309237718582,
0.04238663986325264,
-0.03219035640358925,
-0.04263576492667198,
-0.06235213577747345,
-0.03929038718342781,
0.0026536136865615845,
-0.021264497190713882,
-0.04655056819319725,
-0.007322460878640413,
0.016931522637605667,
-0.043988149613142014,
0.04612349718809128,
-0.04790295287966728,
-0.02968132495880127,
0.027154497802257538,
-0.00023146829335018992,
-0.028524678200483322,
0.07445243746042252,
-0.05701376870274544,
-0.08612566441297531,
-0.02265247330069542,
0.01669129729270935,
-0.06576868891716003,
0.011868970468640327,
0.041141021996736526,
-0.019520631060004234,
0.04220869392156601,
0.03936156630516052,
-0.04338313639163971,
-0.014911840669810772,
0.0013935364549979568,
0.028489088639616966,
-0.022260993719100952,
-0.02270585671067238,
-0.01290995255112648,
0.0014046579599380493,
-0.010552173480391502,
0.06043032184243202,
-0.02612241357564926,
-0.044166095554828644,
-0.01059665996581316,
0.03911244124174118,
-0.0013724053278565407,
0.023382050916552544,
0.009973850101232529,
0.041603680700063705,
0.08071611821651459,
-0.014013214968144894,
-0.0003013953391928226,
0.07331358641386032,
0.024716641753911972,
-0.015685902908444405,
0.042422227561473846,
0.017474256455898285,
0.015187656506896019,
-0.05320573225617409,
-0.0007001046906225383,
0.007282423321157694,
-0.05929147079586983,
-0.07117823511362076,
-0.027492593973875046,
-0.03832947835326195,
0.03405878692865372,
-0.016958214342594147,
0.030891355127096176,
0.0342545248568058,
-0.07929255813360214,
-0.0597185418009758,
-0.01264303456991911,
0.026033440604805946,
0.043418724089860916,
-0.023328667506575584,
-0.014004318043589592,
0.005698707420378923,
0.040963076055049896,
0.06217418983578682,
-0.009119711816310883,
-0.031193861737847328,
0.009778110310435295,
-0.031229451298713684,
-0.010196282528340816,
-0.015632519498467445,
-0.0120024299249053,
-0.06939878314733505,
0.0092175817117095,
0.0020374769810587168,
0.012545163743197918,
0.042884886264801025,
0.060857392847537994,
0.005760988686233759,
-0.01314128190279007,
0.02523268386721611,
-0.013434892520308495,
-0.010347535833716393,
-0.023453228175640106,
0.04843679070472717,
-0.009017392992973328,
-0.032048001885414124,
0.02564195916056633,
0.05726289004087448,
-0.053419265896081924,
0.03897008299827576,
-0.017776764929294586,
0.005120384506881237,
0.0020474863704293966,
-0.020748455077409744,
-0.07003938406705856,
-0.010027234442532063,
0.020356975495815277,
0.09032518416643143,
-0.008336750790476799,
-0.018346190452575684,
-0.0538463369011879,
0.03062443621456623,
0.01059665996581316,
-0.006201403681188822,
-0.04377461597323418,
0.01861310936510563,
0.023898093029856682,
0.04377461597323418,
0.06007442995905876,
0.03964627906680107,
0.06064385548233986,
0.006508360151201487,
0.04146132245659828,
0.040713950991630554,
-0.006134674418717623,
-0.009101917035877705,
0.04231546074151993,
-0.04313401132822037,
0.020979784429073334,
0.027884073555469513,
-0.002953896764665842,
-0.02541062980890274,
0.014707203023135662,
-0.009858185425400734,
0.021584799513220787,
0.013577248901128769,
0.03558911755681038,
-0.019929906353354454,
-0.008897279389202595,
-0.04220869392156601,
0.009991644881665707,
0.036265309900045395,
-0.016967112198472023,
-0.02405824325978756,
-0.0036389874294400215,
-0.04384579509496689,
0.03245727717876434,
0.006828662008047104,
0.010988140478730202,
-0.0673346146941185,
0.017376387491822243,
0.0018517463468015194,
-0.03583824262022972,
0.015098683536052704,
0.012812082655727863,
0.009644650854170322,
0.010151796042919159,
-0.030606642365455627,
-0.009591267444193363,
-0.016700193285942078,
-0.032403893768787384,
0.06025237590074539,
-0.027901869267225266,
0.046052318066358566,
0.00023953145137056708,
-0.04174603521823883,
0.04594555124640465,
0.05811702832579613,
-0.046514976769685745,
-0.01745646260678768,
-0.03550014644861221,
-0.0032096935901790857,
0.08569859713315964,
0.020179029554128647,
0.017527639865875244,
-0.028667034581303596,
-0.015205450356006622,
0.0005341148353181779,
-0.016353199258446693,
0.0521024689078331,
0.014066599309444427,
-0.003507752437144518,
-0.014155571348965168,
-0.049326516687870026,
0.01499191578477621,
0.01358614582568407,
0.04872150346636772,
-0.006303722504526377,
0.02178054116666317,
0.005876652896404266,
-0.013434892520308495,
0.020285796374082565,
0.050856851041316986,
-0.020161235705018044,
-0.029894858598709106,
-0.05452252924442291,
0.07559128850698471,
-0.03414775803685188,
-0.06466542929410934,
-0.04174603521823883,
-0.019805343821644783,
-0.008545837365090847,
0.05615962669253349,
-0.05690699815750122,
-0.023399844765663147,
0.06623134762048721,
-0.007273525930941105,
-0.0254640132188797,
-0.016148561611771584,
0.0023333115968853235,
-0.051533043384552,
-0.020463742315769196,
-0.03589162603020668,
-0.08299382030963898,
-0.009128608740866184,
-0.03268860653042793,
-0.048970624804496765,
0.00033114562393166125,
-0.06139122694730759,
-0.014395798556506634,
-0.0015336686046794057,
0.035624708980321884,
-0.03758210688829422,
0.01636209711432457,
0.036265309900045395,
0.04562525078654289,
0.05733406916260719,
0.01177110057324171,
-0.027492593973875046,
0.0421731062233448,
0.03832947835326195,
0.015863848850131035,
-0.047404706478118896,
0.011868970468640327,
0.030161777511239052,
-0.004017121624201536,
0.030304133892059326,
-0.06306391954421997,
-0.004099421668797731,
0.030517669394612312,
0.01540119107812643,
-0.01832839660346508,
0.02195848524570465,
0.028667034581303596,
-0.020268002524971962,
0.026069028303027153,
-0.049255337566137314,
-0.0439169704914093,
0.0860544890165329,
-0.015659211203455925,
0.03169211000204086,
-0.02206525392830372,
-0.061497997492551804,
-0.05338367819786072,
0.1229248121380806,
-0.018862232565879822,
-0.036905914545059204,
0.03313346952199936,
0.02336425520479679,
-0.04982476681470871,
0.026389330625534058,
-0.04192398115992546,
-0.08100083470344543,
-0.0011544220615178347,
-0.0042617968283593655,
0.026371536776423454,
-0.011005934327840805,
-0.028115402907133102,
0.038258302956819534,
0.036870326846838,
-0.018292807042598724,
0.04249340668320656,
-0.032635223120450974,
0.0008074280922301114,
-0.009520089253783226,
-0.0002557967964094132,
-0.0003767441667150706,
-0.06441630423069,
-0.012758699245750904,
-0.05943382903933525,
0.001738306018523872,
0.049326516687870026,
0.06950554996728897,
-0.00218205782584846,
-0.012420602142810822,
0.026798605918884277,
0.014885148964822292,
0.03768887743353844,
-0.0018350639147683978
] |
726,171 | pydantic_extra_types.color | Color |
Represents a color.
| class Color(_repr.Representation):
"""
Represents a color.
"""
__slots__ = '_original', '_rgba'
def __init__(self, value: ColorType) -> None:
self._rgba: RGBA
self._original: ColorType
if isinstance(value, (tuple, list)):
self._rgba = parse_tuple(value)
elif isinstance(value, str):
self._rgba = parse_str(value)
elif isinstance(value, Color):
self._rgba = value._rgba
value = value._original
else:
raise PydanticCustomError(
'color_error',
'value is not a valid color: value must be a tuple, list or string',
)
# if we've got here value must be a valid color
self._original = value
@classmethod
def __get_pydantic_json_schema__(
cls, core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler
) -> JsonSchemaValue:
field_schema: dict[str, Any] = {}
field_schema.update(type='string', format='color')
return field_schema
def original(self) -> ColorType:
"""
Original value passed to `Color`.
"""
return self._original
def as_named(self, *, fallback: bool = False) -> str:
"""
Returns the name of the color if it can be found in `COLORS_BY_VALUE` dictionary,
otherwise returns the hexadecimal representation of the color or raises `ValueError`.
Args:
fallback: If True, falls back to returning the hexadecimal representation of
the color instead of raising a ValueError when no named color is found.
Returns:
The name of the color, or the hexadecimal representation of the color.
Raises:
ValueError: When no named color is found and fallback is `False`.
"""
if self._rgba.alpha is None:
rgb = cast(Tuple[int, int, int], self.as_rgb_tuple())
try:
return COLORS_BY_VALUE[rgb]
except KeyError as e:
if fallback:
return self.as_hex()
else:
raise ValueError('no named color found, use fallback=True, as_hex() or as_rgb()') from e
else:
return self.as_hex()
def as_hex(self) -> str:
"""Returns the hexadecimal representation of the color.
Hex string representing the color can be 3, 4, 6, or 8 characters depending on whether the string
a "short" representation of the color is possible and whether there's an alpha channel.
Returns:
The hexadecimal representation of the color.
"""
values = [float_to_255(c) for c in self._rgba[:3]]
if self._rgba.alpha is not None:
values.append(float_to_255(self._rgba.alpha))
as_hex = ''.join(f'{v:02x}' for v in values)
if all(c in repeat_colors for c in values):
as_hex = ''.join(as_hex[c] for c in range(0, len(as_hex), 2))
return '#' + as_hex
def as_rgb(self) -> str:
"""
Color as an `rgb(<r>, <g>, <b>)` or `rgba(<r>, <g>, <b>, <a>)` string.
"""
if self._rgba.alpha is None:
return f'rgb({float_to_255(self._rgba.r)}, {float_to_255(self._rgba.g)}, {float_to_255(self._rgba.b)})'
else:
return (
f'rgba({float_to_255(self._rgba.r)}, {float_to_255(self._rgba.g)}, {float_to_255(self._rgba.b)}, '
f'{round(self._alpha_float(), 2)})'
)
def as_rgb_tuple(self, *, alpha: bool | None = None) -> ColorTuple:
"""
Returns the color as an RGB or RGBA tuple.
Args:
alpha: Whether to include the alpha channel. There are three options for this input:
- `None` (default): Include alpha only if it's set. (e.g. not `None`)
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
A tuple that contains the values of the red, green, and blue channels in the range 0 to 255.
If alpha is included, it is in the range 0 to 1.
"""
r, g, b = (float_to_255(c) for c in self._rgba[:3])
if alpha is None:
if self._rgba.alpha is None:
return r, g, b
else:
return r, g, b, self._alpha_float()
elif alpha:
return r, g, b, self._alpha_float()
else:
# alpha is False
return r, g, b
def as_hsl(self) -> str:
"""
Color as an `hsl(<h>, <s>, <l>)` or `hsl(<h>, <s>, <l>, <a>)` string.
"""
if self._rgba.alpha is None:
h, s, li = self.as_hsl_tuple(alpha=False) # type: ignore
return f'hsl({h * 360:0.0f}, {s:0.0%}, {li:0.0%})'
else:
h, s, li, a = self.as_hsl_tuple(alpha=True) # type: ignore
return f'hsl({h * 360:0.0f}, {s:0.0%}, {li:0.0%}, {round(a, 2)})'
def as_hsl_tuple(self, *, alpha: bool | None = None) -> HslColorTuple:
"""
Returns the color as an HSL or HSLA tuple.
Args:
alpha: Whether to include the alpha channel.
- `None` (default): Include the alpha channel only if it's set (e.g. not `None`).
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
The color as a tuple of hue, saturation, lightness, and alpha (if included).
All elements are in the range 0 to 1.
Note:
This is HSL as used in HTML and most other places, not HLS as used in Python's `colorsys`.
"""
h, l, s = rgb_to_hls(self._rgba.r, self._rgba.g, self._rgba.b) # noqa: E741
if alpha is None:
if self._rgba.alpha is None:
return h, s, l
else:
return h, s, l, self._alpha_float()
if alpha:
return h, s, l, self._alpha_float()
else:
# alpha is False
return h, s, l
def _alpha_float(self) -> float:
return 1 if self._rgba.alpha is None else self._rgba.alpha
@classmethod
def __get_pydantic_core_schema__(
cls, source: type[Any], handler: Callable[[Any], CoreSchema]
) -> core_schema.CoreSchema:
return core_schema.general_plain_validator_function(
cls._validate, serialization=core_schema.to_string_ser_schema()
)
@classmethod
def _validate(cls, __input_value: Any, _: Any) -> Color:
return cls(__input_value)
def __str__(self) -> str:
return self.as_named(fallback=True)
def __repr_args__(self) -> _repr.ReprArgs:
return [(None, self.as_named(fallback=True))] + [('rgb', self.as_rgb_tuple())]
def __eq__(self, other: Any) -> bool:
return isinstance(other, Color) and self.as_rgb_tuple() == other.as_rgb_tuple()
def __hash__(self) -> int:
return hash(self.as_rgb_tuple())
| (value: 'ColorType') -> 'None' | [
-0.04130033776164055,
-0.06895904988050461,
-0.06366092711687088,
-0.005684011150151491,
0.031267277896404266,
-0.013266169466078281,
-0.015498056076467037,
-0.02066059783101082,
-0.003731110133230686,
-0.0180219653993845,
0.0016348049975931644,
0.00902662705630064,
0.07563385367393494,
0.02140108495950699,
0.03383290395140648,
-0.008390435017645359,
0.022110281512141228,
0.018282700330018997,
0.03838011249899864,
-0.024112721905112267,
0.015247751027345657,
0.0031053475104272366,
0.04459602013230324,
0.0412169024348259,
-0.00934472307562828,
0.0015644067898392677,
0.08230865001678467,
0.012556971050798893,
-0.06520447134971619,
0.02488449588418007,
0.011055140756070614,
-0.020973479375243187,
0.012901141308248043,
0.05289780721068382,
-0.03082924149930477,
-0.053064677864313126,
0.00016320346912834793,
0.03892244026064873,
-0.08230865001678467,
-0.029577717185020447,
-0.02578142285346985,
0.03122555837035179,
-0.017406633123755455,
-0.006528791040182114,
-0.001478364341892302,
-0.04993586242198944,
-0.021818259730935097,
0.04488804563879967,
-0.04935181885957718,
-0.10804835706949234,
0.02916054241359234,
-0.011222011409699917,
-0.04981071129441261,
0.05252235010266304,
0.057570166885852814,
-0.0018368742894381285,
-0.017875954508781433,
0.08514544367790222,
0.00606468366459012,
0.03525129705667496,
-0.01686430536210537,
0.0017417061608284712,
0.03950648382306099,
0.011002994142472744,
-0.01691645197570324,
-0.027324970811605453,
-0.0029593361541628838,
0.004912237171083689,
-0.016728723421692848,
0.007639519404619932,
-0.0233618076890707,
0.03185132145881653,
0.005678796675056219,
-0.016801727935671806,
-0.012817705981433392,
0.0024496002588421106,
-0.005757017061114311,
0.022402305155992508,
0.021442802622914314,
-0.044804610311985016,
0.03969421237707138,
0.027533559128642082,
0.02865993231534958,
-0.05719470977783203,
0.006335847545415163,
-0.06140818074345589,
-0.03130899369716644,
0.010606678202748299,
0.0017104180296882987,
0.035981353372335434,
-0.04021568223834038,
-0.037650056183338165,
-0.08013934642076492,
0.014653276652097702,
-0.002899367129430175,
-0.026928653940558434,
0.018595581874251366,
-0.0048522683791816235,
0.06061554700136185,
-0.027491841465234756,
-0.01834527589380741,
-0.036565400660037994,
-0.04784998670220375,
0.011023852974176407,
-0.035772766917943954,
-0.04697392135858536,
-0.04029911756515503,
0.017490066587924957,
0.02179739996790886,
0.002072838833555579,
-0.0018512146780267358,
0.013099298812448978,
0.02546854130923748,
0.007676022592931986,
0.006106400862336159,
0.0013479971094056964,
0.03324885666370392,
-0.058237649500370026,
0.010366802103817463,
-0.012995005585253239,
-0.001744313514791429,
0.022610891610383987,
0.008645954541862011,
0.08022277802228928,
0.03898501768708229,
0.08389391750097275,
-0.03312370553612709,
-0.031016971915960312,
-0.03114212304353714,
0.014194384217262268,
0.016436699777841568,
0.11063484847545624,
0.028993671759963036,
0.007962830364704132,
0.02934827096760273,
0.011826914735138416,
-0.005642293486744165,
0.053189828991889954,
0.010189502499997616,
0.04905979707837105,
0.003141850233078003,
0.00071767158806324,
0.0029462992679327726,
-0.0644952729344368,
0.008385220542550087,
0.0027194602880626917,
0.03900587558746338,
-0.01752135530114174,
-0.01850171759724617,
0.07171240448951721,
0.032477084547281265,
-0.004609785042703152,
0.01089869998395443,
0.05193830281496048,
0.002828968921676278,
-0.029077107086777687,
-0.0031157766934484243,
-0.04136291518807411,
0.027679570019245148,
-0.011920779012143612,
-0.0016178572550415993,
-0.015112169086933136,
0.07171240448951721,
-0.06683145463466644,
0.005830022506415844,
0.02805502712726593,
-0.008442581631243229,
-0.04935181885957718,
-0.02084832638502121,
-0.036461107432842255,
-0.004761011339724064,
0.0018512146780267358,
-0.01298457570374012,
0.06791611015796661,
-0.032268498092889786,
-0.0016269830521196127,
-0.018595581874251366,
-0.008844112977385521,
-0.00681559881195426,
-0.061533331871032715,
-0.037837784737348557,
-0.020076552405953407,
-0.04125862196087837,
-0.0317261703312397,
0.050519909709692,
0.03183046355843544,
-0.009756683371961117,
-0.004925273824483156,
0.009089203551411629,
-0.014736711978912354,
0.023528678342700005,
-0.004445522557944059,
0.040945738554000854,
0.03014090284705162,
0.01027815230190754,
-0.026302892714738846,
-0.012817705981433392,
-0.0239667110145092,
0.014945299364626408,
-0.025259954854846,
-0.042718734592199326,
-0.029014529660344124,
-0.03669055178761482,
0.02765871211886406,
-0.00018316596106160432,
-0.05344013497233391,
0.050186168402433395,
-0.03902673348784447,
0.0005283132195472717,
-0.03053721971809864,
-0.058946847915649414,
-0.009021412581205368,
0.002797680674120784,
0.08718959987163544,
0.019544655457139015,
-0.09227913618087769,
0.0061220452189445496,
0.01691645197570324,
0.002380505669862032,
0.041133467108011246,
0.04772483557462692,
-0.05335669964551926,
0.08301784843206406,
-0.002993231639266014,
0.026740925386548042,
0.003308720188215375,
-0.014987017028033733,
0.009704536758363247,
-0.007582157850265503,
-0.0014053587801754475,
0.04225984215736389,
-0.053189828991889954,
0.009115276858210564,
0.06745722144842148,
-0.0712117925286293,
0.06286828964948654,
0.038150664418935776,
0.024926213547587395,
-0.02555197663605213,
-0.012285808101296425,
-0.028493061661720276,
0.05661066621541977,
0.04178008809685707,
-0.0025134801398962736,
0.015748361125588417,
-0.04664018005132675,
0.03231021389365196,
0.03285254165530205,
-0.06666458398103714,
-0.04668189585208893,
-0.08393563330173492,
0.013068011030554771,
0.051729716360569,
0.015769220888614655,
-0.06883389502763748,
-0.035877060145139694,
-0.0570695586502552,
0.002035032492130995,
0.06299344450235367,
-0.045805830508470535,
-0.010319869965314865,
-0.03185132145881653,
0.032977692782878876,
0.08226693421602249,
0.025718847289681435,
-0.06291001290082932,
0.021547095850110054,
0.05748673155903816,
-0.007592587266117334,
0.026699207723140717,
0.0798473209142685,
-0.018032394349575043,
-0.039339613169431686,
-0.011555750854313374,
0.009334293194115162,
-0.014486406929790974,
0.034771546721458435,
0.0042212908156216145,
0.038546983152627945,
0.02886851876974106,
0.0277630053460598,
-0.02079617977142334,
-0.02436302788555622,
-0.0003862129233311862,
0.08635525405406952,
0.06733206659555435,
-0.012473536655306816,
-0.07021057605743408,
-0.022944632917642593,
-0.021067343652248383,
0.058738257735967636,
-0.0801810622215271,
-0.014173525385558605,
0.004961776547133923,
0.04947696998715401,
0.05903027951717377,
0.007550870068371296,
-0.0033191496040672064,
0.032268498092889786,
-0.03950648382306099,
0.014163095504045486,
-0.04643159359693527,
0.12465193122625351,
-0.04814200848340988,
-0.05252235010266304,
-0.04901807755231857,
-0.011826914735138416,
-0.026782643049955368,
0.002117163734510541,
0.009668033570051193,
-0.04893464222550392,
0.013891931623220444,
-0.0033765111584216356,
0.0051573277451097965,
0.013620767742395401,
-0.023945853114128113,
0.02955685742199421,
-0.019023185595870018,
0.02636546827852726,
0.019680237397551537,
-0.05510883405804634,
-0.025802282616496086,
-0.03335315361618996,
-0.008718959987163544,
0.02105691470205784,
-0.040340837091207504,
-0.010559745132923126,
0.024529898539185524,
0.03988194093108177,
-0.012473536655306816,
-0.08952578157186508,
-0.05152112990617752,
0.009808829985558987,
0.01601952500641346,
0.020128700882196426,
-0.07012713700532913,
0.005642293486744165,
0.012118937447667122,
-0.009047485888004303,
-0.07571728527545929,
0.005897813476622105,
-0.016739152371883392,
0.03112126514315605,
-0.0012828134931623936,
0.002053283853456378,
-0.01834527589380741,
0.028910236433148384,
-0.002503050724044442,
0.012463106773793697,
-0.0018121044849976897,
0.04157150164246559,
-0.05093708261847496,
-0.026323750615119934,
0.04463773965835571,
0.04664018005132675,
0.02874336577951908,
-0.027575276792049408,
-0.04248928651213646,
0.06528791040182114,
0.004977420903742313,
0.03312370553612709,
-0.017344055697321892,
0.021129921078681946,
0.02219371683895588,
-0.0196593776345253,
0.00586652522906661,
-0.05986463278532028,
-0.041529785841703415,
0.04430399835109711,
-0.02893109619617462,
0.0068833897821605206,
0.033582597970962524,
0.017875954508781433,
-0.07730255275964737,
-0.02628203295171261,
0.004620214458554983,
0.030787525698542595,
0.06516275554895401,
-0.03929789736866951,
-0.055567726492881775,
0.03122555837035179,
0.031371571123600006,
0.00328264688141644,
0.013808497227728367,
0.028096744790673256,
-0.022840337827801704,
-0.005316375754773617,
-0.02684522047638893,
-0.06099100410938263,
0.05085364729166031,
-0.023737264797091484,
-0.014288248494267464,
0.07930499315261841,
-0.01373549085110426,
0.04367823526263237,
0.028910236433148384,
0.01526860985904932,
0.011232440359890461,
-0.03074580803513527,
0.0068103838711977005,
0.011618327349424362,
-0.036773987114429474,
0.021213356405496597,
-0.04417884722352028,
-0.03798379749059677,
-0.007994118146598339,
0.07250503450632095,
0.05385730788111687,
-0.012556971050798893,
0.0406954325735569,
0.020910903811454773,
-0.011555750854313374,
-0.04509663209319115,
-0.023716406896710396,
0.006090756971389055,
-0.01406923122704029,
0.01458027120679617,
-0.031788744032382965,
-0.027074666693806648,
0.07417374104261398,
0.0009986129589378834,
-0.06015665456652641,
-0.014903581701219082,
0.05510883405804634,
0.015498056076467037,
0.04922666400671005,
0.0034834123216569424,
0.06754065304994583,
0.007587372791022062,
-0.014882722869515419,
0.02995317429304123,
0.0028654716443270445,
0.039527345448732376,
-0.08635525405406952,
0.0017182400915771723,
0.0003953386330977082,
-0.0070137567818164825,
0.012786418199539185,
0.02774214558303356,
-0.038546983152627945,
0.029911456629633904,
0.0014301284682005644,
-0.018042825162410736,
0.01458027120679617,
0.024696767330169678,
-0.046097852289676666,
0.010481525212526321,
0.03719116374850273,
0.007550870068371296,
-0.0057152993977069855,
0.0029124037828296423,
0.04029911756515503,
0.006627869792282581,
-0.026115164160728455,
0.0231949370354414,
-0.028305333107709885,
-0.021818259730935097,
0.004182180855423212,
-0.015310327522456646,
-0.006711305119097233,
0.049310099333524704,
0.02916054241359234,
-0.034980133175849915,
0.005600576288998127,
-0.024133581668138504,
-0.03408320993185043,
0.08105713129043579,
-0.05181315168738365,
-0.034583818167448044,
-0.00035394701990298927,
-0.025301672518253326,
-0.03260223567485809,
0.033686891198158264,
0.04048684611916542,
-0.006132474634796381,
-0.030787525698542595,
0.02916054241359234,
-0.033081989735364914,
-0.06716519594192505,
-0.06453699618577957,
0.03525129705667496,
-0.03283168375492096,
-0.00526422867551446,
-0.036356814205646515,
0.055859751999378204,
0.07884609699249268,
0.013224451802670956,
0.0016569674480706453,
0.032581377774477005,
0.03737889230251312,
-0.07358969002962112,
-0.035981353372335434,
0.007926327176392078,
-0.00681559881195426,
-0.031392429023981094,
-0.017990676686167717,
0.040841445326805115,
-0.014799287542700768,
-0.033791184425354004,
0.045513808727264404,
0.012775988318026066,
-0.022005988284945488,
0.019805388525128365,
-0.010179073549807072,
0.07200442999601364,
-0.054566506296396255,
0.04559724032878876,
-0.01243181899189949,
-0.008666813373565674,
-0.01886674575507641,
-0.07254675775766373,
0.019356926903128624,
0.09987172484397888,
-0.058946847915649414,
0.020013976842164993,
-0.010559745132923126,
0.021922552958130836,
-0.0219851303845644,
-0.007858536206185818,
-0.05573459714651108,
-0.0439702607691288,
0.049393534660339355,
0.005694440566003323,
0.014872293919324875,
-0.04593098163604736,
0.05611005425453186,
-0.0016687004826962948,
-0.014945299364626408,
-0.0190544743090868,
-0.009256073273718357,
0.013287028297781944,
0.019336067140102386,
-0.03393719717860222,
-0.01406923122704029,
-0.00847387034446001,
-0.007915898226201534,
-0.02697037160396576,
-0.009052700363099575,
-0.06462042778730392,
-0.028785083442926407,
0.010179073549807072,
0.03072494827210903,
0.014642846770584583,
-0.01974281296133995,
-0.05957260727882385,
-0.00032673287205398083,
0.039527345448732376,
0.049977581948041916,
-0.044220563024282455,
-0.0503530390560627,
0.0329359769821167,
0.010408519767224789,
0.009042271412909031,
-0.0419052429497242,
-0.07279706001281738,
0.0007339675212278962,
-0.02644890360534191,
-0.028117604553699493,
-0.02177654206752777,
-0.00907877366989851,
-0.008103626780211926,
0.021609671413898468,
-0.026386328041553497,
0.002538250060752034,
-0.05093708261847496,
0.007472649682313204,
0.0016191609902307391,
-0.02087961509823799,
-0.033770326524972916,
-0.021182067692279816,
-0.02306978404521942,
0.02093176171183586,
0.018063683062791824,
0.0018081935122609138,
0.012640406377613544,
-0.012442247942090034,
-0.045013196766376495,
-0.03660711646080017,
0.019012756645679474,
-0.014037943445146084,
0.001191556453704834,
0.036565400660037994,
-0.02893109619617462,
-0.06265970319509506,
0.005600576288998127,
0.026720067486166954,
0.025134801864624023,
0.03571019321680069,
-0.019961830228567123,
-0.0009262591484002769,
0.012588259764015675,
0.020817039534449577,
0.013954508118331432,
-0.06140818074345589,
-0.0415506437420845,
0.002969765570014715,
-0.02964029274880886,
0.008515587076544762,
0.022506598383188248,
0.052480630576610565,
-0.02943170629441738,
0.008771107532083988,
-0.012995005585253239,
-0.00927693210542202,
0.04409541189670563,
0.012150226160883904,
0.09770241379737854,
-0.02813846245408058,
0.029765445739030838,
-0.06303516030311584,
0.009495949372649193,
0.029097964987158775,
-0.05598490312695503,
-0.014674135483801365,
0.055651161819696426,
-0.04334449768066406,
-0.009016197174787521,
0.04743281379342079,
-0.030224338173866272,
0.04355308413505554,
-0.0168121587485075,
0.053273264318704605,
-0.017834236845374107,
0.05490024760365486,
0.005777875427156687,
-0.014976587146520615,
-0.017928101122379303,
-0.003332186257466674,
-0.02248574048280716,
-0.07333938777446747,
0.004437700379639864,
0.04647330939769745,
-0.030224338173866272,
-0.022402305155992508,
-0.023445243015885353,
-0.04326106235384941,
0.038734711706638336,
0.022131141275167465,
0.000924955471418798,
0.03812980651855469,
-0.008035835810005665,
0.03374946862459183,
-0.018063683062791824,
0.028075886890292168,
0.013954508118331432,
0.10020546615123749,
-0.009949627332389355,
-0.0958668440580368,
0.03992366045713425,
-0.00456546014174819,
-0.03322799876332283,
0.07504981011152267,
0.01572750322520733,
-0.01913790963590145,
-0.02684522047638893,
0.008875400759279728,
-0.009016197174787521,
-0.04417884722352028,
-0.028075886890292168,
-0.022527456283569336,
-0.047808270901441574,
0.011128147132694721,
0.046014416962862015,
0.01596737839281559,
-0.00814012996852398,
0.015612779185175896,
0.040236540138721466,
0.027095524594187737,
-0.003493841737508774,
-0.0023948459420353174,
-0.09645088762044907,
-0.020514586940407753,
0.0037806497421115637,
-0.014142236672341824,
0.0006130518740974367,
0.034562960267066956,
-0.011618327349424362,
0.04455430433154106,
0.06453699618577957,
-0.04109175130724907,
0.045805830508470535,
0.011472316458821297,
-0.05669410154223442,
0.025113942101597786,
0.01794896088540554,
0.03322799876332283,
0.002626899629831314,
-0.002203206066042185,
0.01702074520289898,
-0.04943525418639183,
-0.024300452321767807,
-0.005506711546331644,
-0.023653829470276833,
-0.007331852801144123,
-0.05031131953001022,
-0.008213135413825512,
-0.04768311604857445,
-0.017406633123755455,
0.016478417441248894,
-0.009960056282579899,
0.0012469625798985362,
-0.04011138901114464,
-0.020671028643846512,
0.03523043915629387,
0.04981071129441261,
0.03719116374850273,
0.03251880034804344,
-0.009522022679448128,
0.045513808727264404,
-0.03372861072421074,
-0.019377784803509712,
0.05677753686904907,
-0.01998268812894821,
-0.018491288647055626,
-0.021943412721157074,
-0.01318273413926363,
-0.008536445908248425,
-0.03629423677921295,
0.0030297343619167805,
0.0368991419672966,
-0.010783976875245571,
0.004346443340182304,
0.03324885666370392,
-0.0024952287785708904,
-0.0006955091957934201,
-0.017886383458971977,
-0.015591920353472233,
0.015049592591822147,
0.01599866710603237,
-0.03053721971809864,
-0.006716519594192505,
0.03203905001282692,
0.00028843749896623194,
0.09336379170417786,
0.009177853353321552,
0.010961276479065418,
0.051980022341012955,
0.06929279118776321,
-0.019701095297932625,
-0.030078327283263206,
0.009600242599844933,
0.02993231639266014,
-0.04265615716576576,
-0.005128646735101938,
-0.011701762676239014,
0.033874619752168655,
0.06649771332740784,
0.02686607837677002,
-0.0015070451190695167,
-0.05256406590342522,
0.01567535474896431,
0.02805502712726593,
-0.023841558024287224,
0.06925107538700104,
0.055067118257284164,
-0.05652723088860512,
-0.01002784725278616,
0.026469761505723,
-0.004946132656186819,
-0.04976899176836014,
0.01910662092268467,
0.0004201084084343165,
0.027241535484790802,
0.027012089267373085,
-0.005295516923069954,
0.012442247942090034,
-0.05402417853474617,
-0.0008558608824387193
] |
726,172 | pydantic_extra_types.color | __eq__ | null | def __eq__(self, other: Any) -> bool:
return isinstance(other, Color) and self.as_rgb_tuple() == other.as_rgb_tuple()
| (self, other: Any) -> bool | [
0.023230940103530884,
-0.07574458420276642,
-0.03473105654120445,
0.055335428565740585,
-0.03235294669866562,
-0.0345713309943676,
-0.013603144325315952,
0.05327676609158516,
0.038440197706222534,
0.017809204757213593,
0.022361334413290024,
-0.04954987391829491,
0.08170760422945023,
0.04660385847091675,
0.012627054937183857,
-0.005146656185388565,
-0.01971701718866825,
0.026283441111445427,
0.04216708615422249,
-0.014872061088681221,
-0.036629993468523026,
0.01540447399020195,
0.01977025903761387,
0.042628511786460876,
0.01978800632059574,
0.06974606215953827,
0.016291828826069832,
0.025946246460080147,
-0.02791617251932621,
0.07432481646537781,
-0.062327779829502106,
-0.041954122483730316,
0.037907782942056656,
0.057749032974243164,
0.01654028706252575,
-0.025325097143650055,
-0.030312029644846916,
0.06481236964464188,
-0.014295280911028385,
-0.04351586475968361,
-0.009370463900268078,
0.003147890092805028,
-0.035210225731134415,
0.006859250366687775,
0.004035244695842266,
-0.02085283026099205,
-0.03819173946976662,
0.011216160841286182,
-0.037162408232688904,
-0.019344327971339226,
0.005821045488119125,
-0.06094350665807724,
-0.022450068965554237,
0.10889614373445511,
0.010222324170172215,
0.0022805011831223965,
-0.0150317857041955,
0.05845891311764717,
-0.06853926181793213,
0.027898425236344337,
-0.03189152106642723,
0.002415822586044669,
0.05231842026114464,
-0.052176445722579956,
-0.014809946529567242,
-0.078868068754673,
-0.0586363859474659,
0.014570361003279686,
0.01607886329293251,
0.055335428565740585,
-0.043977290391922,
0.03861766681075096,
0.012112389318645,
0.003316487418487668,
-0.05817496031522751,
-0.01588364504277706,
0.0012489514192566276,
0.0893743485212326,
-0.010807977989315987,
-0.05490949749946594,
0.018066538497805595,
0.0132482023909688,
0.019024880602955818,
-0.022698529064655304,
-0.04905295744538307,
-0.013612017966806889,
-0.0383337140083313,
0.04763318970799446,
-0.016735505312681198,
-0.007964006625115871,
-0.0040174974128603935,
-0.009476945735514164,
-0.019273340702056885,
-0.027543483301997185,
0.040534354746341705,
0.01251169852912426,
0.004991369321942329,
-0.0016615713248029351,
0.03968249261379242,
-0.041670165956020355,
-0.0019078121986240149,
-0.03428737819194794,
0.00302809732966125,
-0.004947001580148935,
-0.011216160841286182,
0.004239336121827364,
-0.032530415803194046,
-0.0024646271485835314,
-0.037836797535419464,
-0.000987181905657053,
-0.02804040163755417,
0.06743894517421722,
0.0015284680994227529,
0.04017941281199455,
0.01001823227852583,
-0.057216618210077286,
0.002961545716971159,
-0.0033719472121447325,
-0.003979784902185202,
-0.012609307654201984,
-0.000028024458515574224,
0.06644510477781296,
0.05515795573592186,
0.0563647598028183,
0.053028304129838943,
0.04667484760284424,
-0.00743159418925643,
0.015945760533213615,
-0.0574650764465332,
0.0037224520929157734,
0.033329036086797714,
0.010559518821537495,
-0.023053469136357307,
0.033329036086797714,
0.04078281298279762,
0.00588759733363986,
-0.014339649118483067,
0.052708856761455536,
0.02589300461113453,
0.012706916779279709,
0.044367726892232895,
0.02777419611811638,
0.017587365582585335,
-0.01506727933883667,
-0.04433223232626915,
0.021012553945183754,
-0.06814882904291153,
0.0383337140083313,
0.0034074413124471903,
0.07404085993766785,
-0.013132846914231777,
0.02427801862359047,
0.066161148250103,
0.036771971732378006,
-0.05884934961795807,
-0.04465167969465256,
0.0018323870608583093,
-0.031057408079504967,
0.021154532209038734,
0.0129553759470582,
-0.020284924656152725,
-0.000713211193215102,
0.060162633657455444,
-0.03613307699561119,
0.00023223731841426343,
-0.003005913458764553,
-0.03421638906002045,
-0.02482817880809307,
0.005608080420643091,
-0.04454519599676132,
-0.014490499161183834,
-0.057961996644735336,
0.02717079408466816,
0.03121713176369667,
-0.03868865594267845,
0.027348265051841736,
-0.019929982721805573,
-0.01456148736178875,
0.005590333603322506,
-0.01709044724702835,
0.02697557769715786,
-0.04937240481376648,
-0.015315738506615162,
-0.02583976276218891,
0.05547740310430527,
-0.015138267539441586,
-0.015848152339458466,
-0.01419767178595066,
0.022219356149435043,
0.0008313402649946511,
0.011659838259220123,
0.01733003370463848,
-0.035352203994989395,
-0.0026398797053843737,
0.024384502321481705,
-0.05473202466964722,
-0.03641702979803085,
-0.023568134754896164,
0.02415378950536251,
0.05899132788181305,
-0.018953891471028328,
-0.059168796986341476,
-0.05295731872320175,
-0.0032809933181852102,
0.023443905636668205,
-0.08603788912296295,
0.0011923826532438397,
-0.04465167969465256,
0.07230164855718613,
-0.013106225989758968,
-0.027295025065541267,
-0.04575200006365776,
0.03581362962722778,
0.04404827579855919,
0.03652350977063179,
0.034606825560331345,
-0.04454519599676132,
-0.03741086646914482,
-0.05160853639245033,
0.04245103895664215,
0.07560260593891144,
-0.03121713176369667,
0.010266691446304321,
0.019007133319973946,
-0.003735762555152178,
0.022414574399590492,
-0.02736601233482361,
0.020267177373170853,
-0.01348778884857893,
-0.03687845170497894,
0.06467039883136749,
-0.021314255893230438,
0.022290345281362534,
0.008212465792894363,
-0.04071182385087013,
0.03540544584393501,
0.03229970484972,
0.03584912046790123,
-0.05686167627573013,
-0.00013469763507600874,
-0.0025955119635909796,
0.017684975638985634,
0.026407670229673386,
-0.03107515536248684,
0.054590050131082535,
-0.10108742862939835,
-0.01371850073337555,
0.04277048632502556,
-0.040321387350559235,
0.0015229221899062395,
-0.03540544584393501,
-0.013310317881405354,
-0.013194961473345757,
-0.02259204536676407,
-0.02260979264974594,
-0.041741155087947845,
-0.09427253901958466,
-0.024721696972846985,
0.06644510477781296,
0.009539061225950718,
0.004319197963923216,
0.0668710321187973,
0.06704850494861603,
0.04749121144413948,
-0.022627539932727814,
-0.004614243283867836,
-0.02731277234852314,
0.055725861340761185,
0.01540447399020195,
-0.01762286014854908,
0.04561002179980278,
-0.034873031079769135,
-0.0006294670747593045,
0.06892969459295273,
-0.027295025065541267,
-0.0036714293528348207,
0.017205804586410522,
-0.03213997930288315,
-0.021615955978631973,
-0.009521313942968845,
0.021757932379841805,
-0.000840768392663449,
-0.013532156124711037,
-0.04230906441807747,
0.011393631808459759,
0.030454006046056747,
-0.0037823484744876623,
-0.04443871229887009,
0.009263981133699417,
-0.04954987391829491,
0.03087993711233139,
-0.017676101997494698,
0.01261818129569292,
0.005057920701801777,
-0.002116340445354581,
0.08121068775653839,
0.03215772658586502,
0.005754494108259678,
0.006317964289337397,
0.027028817683458328,
0.01291100773960352,
-0.008948970586061478,
0.021899908781051636,
-0.010071473196148872,
0.0025999487843364477,
0.021349748596549034,
-0.005466103553771973,
0.04600045830011368,
0.013141720555722713,
0.022237103432416916,
0.02434900775551796,
0.026088222861289978,
0.006020700093358755,
0.01882966235280037,
0.007169824559241533,
-0.010506276972591877,
0.03536995127797127,
-0.05132458359003067,
0.004203842021524906,
0.04802362620830536,
-0.03240618482232094,
-0.009059889242053032,
-0.0638185366988182,
-0.015528704039752483,
0.00007057241600705311,
-0.057003654539585114,
-0.02253880351781845,
0.04291246458888054,
-0.00813704077154398,
0.04269949719309807,
-0.023568134754896164,
-0.04088929668068886,
0.06215031072497368,
0.03455358371138573,
0.04713626950979233,
-0.06981705129146576,
-0.01733003370463848,
0.05167952552437782,
-0.001551761175505817,
-0.03939853981137276,
-0.01916685700416565,
-0.01251169852912426,
0.03150108456611633,
-0.047526706010103226,
0.011562229134142399,
0.025076638907194138,
-0.06807783991098404,
0.041066765785217285,
0.02191765606403351,
0.0028439711313694715,
-0.05057920515537262,
-0.023088963702321053,
0.011180667206645012,
-0.02408280037343502,
-0.011207287199795246,
0.05206996202468872,
-0.03087993711233139,
-0.0090643260627985,
0.019397569820284843,
0.027028817683458328,
0.08014585822820663,
-0.0007925184909254313,
0.05100513622164726,
-0.0413152240216732,
-0.046106938272714615,
0.06243426352739334,
-0.06115647405385971,
-0.03932755067944527,
-0.03565390408039093,
-0.020480142906308174,
-0.025254109874367714,
0.05363170802593231,
-0.0050046793185174465,
-0.06328612565994263,
-0.023248687386512756,
-0.04898196831345558,
-0.0856829509139061,
0.061653390526771545,
0.010532897897064686,
-0.037517350167036057,
0.07460876554250717,
0.0343761146068573,
0.021988645195961,
0.013940338976681232,
-0.0227340217679739,
-0.017507504671812057,
-0.0026376612950116396,
-0.013336937874555588,
-0.0020187315531075,
0.03506825119256973,
-0.05884934961795807,
-0.028679298236966133,
0.020409153774380684,
-0.0182262621819973,
-0.02933594025671482,
-0.0036913948133587837,
-0.01335468515753746,
0.02938918210566044,
-0.08078475296497345,
-0.034074414521455765,
-0.006051757838577032,
0.031589820981025696,
-0.01731228642165661,
-0.028803527355194092,
-0.0006205935496836901,
0.026869093999266624,
0.007688926998525858,
0.05292182415723801,
-0.017436515539884567,
0.016043368726968765,
-0.0041838763281702995,
-0.027827437967061996,
-0.0048360819928348064,
0.004898197017610073,
-0.03462457284331322,
-0.03623955696821213,
0.023497147485613823,
-0.03363073617219925,
0.055122461169958115,
0.02213062159717083,
-0.02388758398592472,
0.018758675083518028,
-0.019929982721805573,
-0.00047667574835941195,
-0.005630264524370432,
-0.0006699526566080749,
0.020231682807207108,
0.07460876554250717,
0.013212708756327629,
-0.03228195756673813,
-0.057216618210077286,
-0.027862930670380592,
0.08241748809814453,
0.009228486567735672,
0.0343761146068573,
0.0160522423684597,
-0.02166919782757759,
-0.027188541367650032,
0.02683359943330288,
0.01762286014854908,
0.03581362962722778,
-0.03666548803448677,
-0.022112874314188957,
-0.007502582389861345,
-0.04954987391829491,
-0.03968249261379242,
0.002957108896225691,
0.04216708615422249,
0.011979285627603531,
0.036771971732378006,
-0.019344327971339226,
0.026531899347901344,
-0.08092673122882843,
-0.07581556588411331,
0.0035227974876761436,
-0.026514152064919472,
-0.03215772658586502,
-0.0050046793185174465,
0.017871320247650146,
0.011375884525477886,
-0.025112131610512733,
-0.006837066262960434,
-0.07929399609565735,
-0.0302587877959013,
-0.03283211588859558,
0.002122995676472783,
0.028501827269792557,
-0.03387919440865517,
0.008478672243654728,
0.04142170771956444,
0.014543740078806877,
-0.051431067287921906,
0.01153560820966959,
-0.0007636794471181929,
-0.007076652254909277,
0.04096028581261635,
-0.0015018475241959095,
0.022716274484992027,
-0.06626763194799423,
-0.00043452641693875194,
-0.017968928441405296,
0.028235619887709618,
0.00815922487527132,
-0.06204382702708244,
0.04017941281199455,
0.013647512532770634,
-0.007236375939100981,
-0.007356168702244759,
0.006739457603543997,
0.020196188241243362,
-0.041208744049072266,
-0.048343073576688766,
-0.08241748809814453,
0.06076603755354881,
0.01670888625085354,
-0.03957601264119148,
0.03357749432325363,
0.011721952818334103,
-0.0199122354388237,
0.05288632959127426,
0.032938599586486816,
0.02388758398592472,
-0.0087892459705472,
0.017108194530010223,
0.04539705812931061,
-0.05025975778698921,
0.021988645195961,
-0.03174954280257225,
-0.023692365735769272,
0.033595241606235504,
0.005222081206738949,
0.0020886107813566923,
0.06410248577594757,
-0.047917142510414124,
0.07546062767505646,
-0.011074184440076351,
0.01422429271042347,
-0.07052693516016006,
-0.0164426788687706,
-0.062114816159009933,
0.0248104315251112,
0.03215772658586502,
-0.0020276049617677927,
-0.003950946033000946,
-0.05664871260523796,
0.03652350977063179,
0.01039979513734579,
0.010639380663633347,
-0.0027596724685281515,
-0.08163661509752274,
-0.012254365719854832,
-0.005235391668975353,
-0.052034467458724976,
0.005448356736451387,
-0.0593462698161602,
0.019894488155841827,
-0.011233908124268055,
0.006264722906053066,
-0.020284924656152725,
0.01496079657226801,
-0.00813704077154398,
0.008571844547986984,
0.03302733600139618,
0.005519344937056303,
-0.06974606215953827,
0.041066765785217285,
0.011091931723058224,
0.02260979264974594,
-0.027206288650631905,
0.0035982225090265274,
0.023852089419960976,
-0.012591560371220112,
0.04156368598341942,
-0.012360848486423492,
-0.01001823227852583,
0.0563647598028183,
-0.024668455123901367,
0.011420252732932568,
0.040392376482486725,
0.020231682807207108,
0.0326901413500309,
0.026070475578308105,
0.04159918054938316,
-0.03861766681075096,
-0.02938918210566044,
-0.04958536848425865,
-0.024579720571637154,
-0.0016027840320020914,
-0.0035849122796207666,
0.04898196831345558,
-0.01052402425557375,
-0.010319933295249939,
-0.04447420686483383,
-0.05994966998696327,
0.05011778324842453,
-0.010843471623957157,
-0.03659449890255928,
0.04149269685149193,
-0.03883063420653343,
-0.06598368287086487,
-0.022450068965554237,
0.03410990536212921,
0.04372882843017578,
-0.07553161680698395,
0.007453777827322483,
-0.0328853577375412,
-0.01803104393184185,
0.03183827921748161,
0.011083058081567287,
-0.04837856814265251,
-0.013106225989758968,
0.0593462698161602,
0.011171793565154076,
-0.0796489417552948,
-0.003294303547590971,
-0.03382595255970955,
0.05100513622164726,
-0.0026420981157571077,
-0.009343842975795269,
0.021030301228165627,
0.04869801551103592,
-0.01399358082562685,
0.0011291586561128497,
-0.043480370193719864,
0.0022128403652459383,
-0.00006953254342079163,
0.016895228996872902,
-0.021882161498069763,
0.023390665650367737,
-0.0006732802139595151,
0.06630312651395798,
0.04979833588004112,
0.030524995177984238,
-0.060233622789382935,
0.06243426352739334,
-0.03189152106642723,
-0.026247946545481682,
0.09051015973091125,
-0.05238940939307213,
0.09427253901958466,
0.024508731439709663,
0.021349748596549034,
-0.008443177677690983,
0.014446130953729153,
-0.06825530529022217,
-0.026212451979517937,
0.013052985072135925,
-0.020835082978010178,
0.02757897786796093,
-0.02953115850687027,
0.028306609019637108,
-0.0005923091084696352,
0.0018434789963066578,
-0.05884934961795807,
-0.025644544512033463,
-0.08767062425613403,
0.012263239361345768,
0.009547934867441654,
0.006091688759624958,
0.07673841714859009,
0.003485084744170308,
-0.002307121641933918,
-0.05987868085503578,
0.0620083324611187,
-0.027401506900787354,
0.006885870825499296,
0.010364300571382046,
-0.05498048663139343,
0.012414089404046535,
-0.04071182385087013,
-0.010142462328076363,
0.05164403095841408,
-0.011739700101315975,
-0.017755962908267975,
-0.06864574551582336,
0.014543740078806877,
-0.0064776879735291,
0.024863673374056816,
-0.006353458389639854,
-0.008669453673064709,
0.041279733180999756,
0.037375371903181076,
0.04387080669403076,
0.016229713335633278,
0.023195447400212288,
0.0118373092263937,
0.04990481585264206,
0.004470048472285271,
-0.016495920717716217,
0.010417541489005089,
-0.0864638239145279,
0.015803784132003784,
-0.03448259457945824,
-0.048272084444761276,
0.007223065476864576,
-0.03087993711233139,
-0.018794167786836624,
0.021953150629997253,
0.02145623229444027,
-0.05079217255115509,
-0.01984124630689621,
0.031110648065805435,
-0.0672614723443985,
0.04025040194392204,
0.029832858592271805,
0.07425382733345032,
-0.03201575204730034,
0.005173276644200087,
0.05604530870914459,
-0.03387919440865517,
-0.012103515677154064,
-0.034677814692258835,
0.02246781624853611,
0.018989386036992073,
-0.010115841403603554,
0.041066765785217285,
-0.06204382702708244,
0.002012076321989298,
-0.010674874298274517,
0.0014619166031479836,
-0.001633841427974403,
-0.03348875790834427,
-0.0025489258114248514,
0.041954122483730316,
0.046852316707372665,
0.01984124630689621,
-0.019291086122393608,
0.028200125321745872,
0.07574458420276642,
-0.0024601903278380632,
-0.05927528068423271,
0.002307121641933918,
-0.03141234815120697,
-0.04447420686483383,
-0.02589300461113453,
0.005062357522547245,
-0.01774708926677704,
-0.02528960257768631,
-0.03155432641506195,
0.007964006625115871,
-0.04823658987879753,
0.012032527476549149,
0.021491726860404015,
0.009051015600562096,
-0.01714368909597397,
0.028643803671002388,
0.05079217255115509,
-0.02736601233482361,
0.011863930150866508,
-0.014472751878201962,
0.008824740536510944,
0.06321513652801514,
0.0172856654971838,
0.09029719233512878,
-0.028643803671002388,
0.058955833315849304,
-0.018882904201745987,
0.011792941018939018,
0.007422720547765493,
0.03560066223144531,
0.005257575307041407,
-0.01969926990568638,
0.017773710191249847,
-0.022503310814499855,
-0.00811041984707117,
0.028643803671002388,
0.015794910490512848,
0.04465167969465256,
-0.01725904457271099,
-0.02931819297373295,
0.022290345281362534,
0.04862702637910843,
0.005359621252864599,
0.020817337557673454,
0.058565396815538406,
0.040392376482486725,
-0.0469588004052639,
-0.009459199383854866,
0.03854668140411377,
-0.052566882222890854,
-0.0025600178632885218,
0.018811915069818497,
-0.010914460755884647,
0.014446130953729153,
0.0077998461201786995,
0.038049761205911636,
-0.015723921358585358,
0.044758159667253494
] |
726,173 | pydantic_extra_types.color | __hash__ | null | def __hash__(self) -> int:
return hash(self.as_rgb_tuple())
| (self) -> int | [
0.02163168042898178,
-0.08178835362195969,
-0.02867056056857109,
0.06455168128013611,
0.0011234310222789645,
-0.030593376606702805,
-0.010644160211086273,
0.021563008427619934,
-0.033683616667985916,
-0.008382275700569153,
0.004738368093967438,
-0.026730576530098915,
0.06211382523179054,
0.03986409679055214,
-0.02024107240140438,
-0.027417296543717384,
-0.008266392163932323,
0.009468152187764645,
0.00018254412862006575,
-0.03979542478919029,
-0.02470475248992443,
0.02173468843102455,
0.0379069447517395,
0.059950657188892365,
0.006176188122481108,
0.02479059249162674,
0.06201081722974777,
0.005609644111245871,
0.028739232569932938,
0.02815552055835724,
-0.0780113935470581,
-0.01715083234012127,
0.044396448880434036,
0.04391574487090111,
-0.03203548863530159,
-0.08549664169549942,
-0.004472264088690281,
0.07416576147079468,
-0.02925427258014679,
-0.030215680599212646,
0.03722022473812103,
-0.005927252117544413,
-0.00470832409337163,
-0.008352232165634632,
0.0462505929172039,
0.00006391056376742199,
-0.01180300023406744,
-0.013039096258580685,
-0.04940950497984886,
-0.06372761726379395,
-0.02638721652328968,
-0.0436067208647728,
-0.016232343390583992,
0.08412320166826248,
0.002684646053239703,
0.039211712777614594,
0.022163888439536095,
-0.013245112262666225,
-0.03869667276740074,
0.02935728058218956,
-0.02223256044089794,
0.008755680173635483,
0.07341036945581436,
-0.0317608006298542,
0.007030296139419079,
-0.059057921171188354,
-0.05843987315893173,
0.0396580807864666,
0.009253552183508873,
0.04604457691311836,
0.005953004118055105,
0.018781792372465134,
0.041306208819150925,
-0.030868064612150192,
-0.023846352472901344,
0.024069536477327347,
0.036533504724502563,
0.04164956882596016,
0.034370336681604385,
-0.0011599130230024457,
0.02856755256652832,
0.006013092119246721,
0.05713510513305664,
-0.02697092853486538,
-0.055899009108543396,
-0.015099256299436092,
0.05483459308743477,
0.0071762241423130035,
-0.07389107346534729,
-0.04395008087158203,
-0.023949360474944115,
0.022266896441578865,
-0.03581244871020317,
-0.0031803720630705357,
0.036945536732673645,
-0.03722022473812103,
-0.00738653214648366,
-0.005429380107671022,
0.08020889759063721,
-0.058851905167102814,
0.009837264195084572,
-0.03153761476278305,
-0.04704032093286514,
-0.01648128032684326,
-0.009991776198148727,
-0.003343468066304922,
-0.0005735185113735497,
-0.0071762241423130035,
-0.05249974504113197,
0.011768664233386517,
0.012163528241217136,
0.08879289776086807,
-0.013365288265049458,
0.030816560611128807,
0.023485824465751648,
-0.056276705116033554,
0.019022144377231598,
-0.009176296181976795,
0.024533072486519814,
0.023949360474944115,
-0.004746952094137669,
0.03265353664755821,
-0.018112240359187126,
0.04714332893490791,
0.030576208606362343,
0.05346115306019783,
0.01279016025364399,
-0.00748954014852643,
-0.04395008087158203,
-0.003942201845347881,
0.027297120541334152,
0.03900569677352905,
-0.014567048288881779,
0.044774144887924194,
0.0008111880160868168,
-0.016472695395350456,
0.050439585000276566,
0.04292000085115433,
0.029425952583551407,
0.061907809227705,
0.04552953690290451,
0.016077831387519836,
0.050336576998233795,
0.021460000425577164,
0.04415609687566757,
0.011073360219597816,
-0.018507104367017746,
0.03976108878850937,
0.005124648101627827,
0.05466291308403015,
0.054731585085392,
0.01279874425381422,
0.0835738256573677,
0.08185702562332153,
-0.04820774495601654,
-0.009159128181636333,
0.0012747240252792835,
-0.039314720779657364,
-0.008798600174486637,
-0.029013920575380325,
0.015931904315948486,
-0.0022575920447707176,
0.05871456116437912,
-0.06839731335639954,
-0.01407776027917862,
0.026816416531801224,
-0.0033627820666879416,
0.0077513521537184715,
-0.025254128500819206,
-0.057581473141908646,
-0.038524992763996124,
-0.061049409210681915,
-0.05407920107245445,
0.03491971269249916,
0.0031353060621768236,
0.03876534476876259,
-0.0313144326210022,
0.01873028837144375,
0.03670518472790718,
0.02072177641093731,
0.02271326445043087,
-0.06201081722974777,
-0.003555922070518136,
-0.003633178072050214,
0.03375228866934776,
0.025837840512394905,
0.052225057035684586,
0.012781576253473759,
0.028310032561421394,
-0.004849960096180439,
-0.02777782455086708,
-0.03181230276823044,
-0.015056336298584938,
0.024962272495031357,
0.05765014514327049,
0.0008353305165655911,
-0.047349344938993454,
0.003783398075029254,
-0.034164320677518845,
0.05713510513305664,
-0.00703888013958931,
-0.06784793734550476,
-0.03498838469386101,
-0.0006373620126396418,
-0.0064422921277582645,
-0.07540185749530792,
0.020378416404128075,
-0.024052368476986885,
0.05998499318957329,
0.0037168720737099648,
0.006287780124694109,
-0.05308345705270767,
0.0009404845186509192,
0.08041491359472275,
0.03431883081793785,
-0.06420832127332687,
-0.033065568655729294,
-0.011348048225045204,
-0.005274868104606867,
0.0130991842597723,
0.05116064101457596,
-0.02887657657265663,
0.008468115702271461,
-0.01731392741203308,
0.005721236113458872,
-0.018301088362932205,
0.006455168128013611,
0.0054894681088626385,
-0.022970784455537796,
-0.019502848386764526,
0.05603635311126709,
-0.02391502447426319,
0.034542016685009,
0.00565685611218214,
-0.03490254282951355,
0.02013806439936161,
0.01654995232820511,
0.018575776368379593,
-0.034250158816576004,
0.008549664169549942,
-0.0014281630283221602,
0.053701505064964294,
0.09634681791067123,
0.022953616455197334,
0.04783004894852638,
-0.04879145696759224,
0.0065109641291201115,
0.06547874957323074,
-0.043503712862730026,
-0.033769454807043076,
-0.049443840980529785,
-0.006725564133375883,
-0.03979542478919029,
-0.014197936281561852,
0.02269609645009041,
-0.04092851281166077,
-0.039040032774209976,
0.010429560206830502,
0.026661904528737068,
0.005498052109032869,
-0.008270683698356152,
0.0030301520600914955,
0.03780393674969673,
-0.022078048437833786,
-0.011390968225896358,
-0.012566976249217987,
-0.014060592278838158,
0.11626169830560684,
-0.0501992329955101,
0.046868640929460526,
0.10616691410541534,
-0.06592512130737305,
-0.028498880565166473,
0.04007011279463768,
-0.022541584447026253,
-0.03332308679819107,
0.031005408614873886,
0.05583033710718155,
0.00932222418487072,
0.0020247509237378836,
0.04343504086136818,
-0.007506708148866892,
-0.025013776496052742,
-0.02649022452533245,
-0.007030296139419079,
0.08549664169549942,
0.021494336426258087,
-0.017820384353399277,
-0.009657000191509724,
-0.04669696092605591,
0.001391681027598679,
0.008146216161549091,
-0.07663795351982117,
-0.005068852100521326,
0.06674918532371521,
0.030576208606362343,
-0.011871672235429287,
0.036842528730630875,
0.026129696518182755,
0.05394185706973076,
-0.06582210958003998,
0.004807040095329285,
0.0007795345154590905,
-0.03787260875105858,
-0.044396448880434036,
0.01719375140964985,
0.017683040350675583,
0.014558464288711548,
0.012455384247004986,
0.018524272367358208,
0.014120680280029774,
0.07636326551437378,
0.010335136204957962,
0.013734400272369385,
0.028687728568911552,
-0.035949792712926865,
0.022953616455197334,
-0.006695520132780075,
-0.021374160423874855,
0.08302444964647293,
-0.031571950763463974,
-0.0003656247572507709,
-0.051126305013895035,
0.004388569854199886,
0.04305734485387802,
-0.07615724951028824,
-0.021099472418427467,
-0.029477456584572792,
-0.00022237925441004336,
0.01964019238948822,
-0.05874889716506004,
-0.012661400251090527,
0.06437999755144119,
0.015691552311182022,
-0.003684682073071599,
-0.020498592406511307,
0.043297696858644485,
0.048001728951931,
-0.051023297011852264,
-0.05208771303296089,
-0.0013251550262793899,
-0.04470547288656235,
0.01179441623389721,
-0.00709467614069581,
-0.012876000255346298,
0.0025666160508990288,
-0.07004544138908386,
0.019176656380295753,
-0.01557137630879879,
-0.018112240359187126,
0.009760008193552494,
-0.030473200604319572,
-0.020498592406511307,
0.021666016429662704,
0.04968419298529625,
0.020807616412639618,
-0.016335351392626762,
-0.023623168468475342,
-0.005734112113714218,
0.06654316931962967,
0.0287564005702734,
-0.06101507321000099,
0.013605640269815922,
-0.027726320549845695,
-0.022867776453495026,
0.042198944836854935,
-0.07086950540542603,
-0.0057770321145653725,
0.0018573630368337035,
-0.057787489145994186,
-0.03430166468024254,
0.011725744232535362,
-0.07028578966856003,
-0.04391574487090111,
0.05431955307722092,
-0.01873028837144375,
-0.026610400527715683,
0.07416576147079468,
-0.040207456797361374,
-0.05665440112352371,
0.026301376521587372,
0.04044780880212784,
0.010626992210745811,
0.011124864220619202,
-0.053014785051345825,
0.03934905678033829,
0.025271296501159668,
-0.0015880400314927101,
0.028928080573678017,
0.04048214480280876,
-0.05215638503432274,
-0.03756358474493027,
0.04710899293422699,
-0.06516972929239273,
0.030988240614533424,
0.039314720779657364,
-0.0030687800608575344,
0.006974500138312578,
-0.0926385298371315,
-0.05177868902683258,
0.0006260955124162138,
-0.007068924140185118,
-0.024138208478689194,
-0.008841520175337791,
-0.0010096930200234056,
0.012661400251090527,
-0.005523804109543562,
0.06716121733188629,
-0.027142608538269997,
-0.0926385298371315,
-0.06362460553646088,
0.03284238278865814,
-0.0061547281220555305,
-0.045975904911756516,
-0.006824280135333538,
-0.042782656848430634,
0.012566976249217987,
-0.04906614497303963,
0.007253480143845081,
0.0474180169403553,
-0.0026760620530694723,
0.009133376181125641,
-0.030885232612490654,
0.015605712309479713,
-0.03364928066730499,
0.031795136630535126,
0.002390644047409296,
0.08364249765872955,
-0.02894524857401848,
0.016979152336716652,
-0.027022432535886765,
-0.009013200178742409,
0.07684396952390671,
-0.015528456307947636,
-0.01160556823015213,
-0.02995816059410572,
0.003244752064347267,
-0.011579816229641438,
0.021374160423874855,
0.046971648931503296,
0.07904147356748581,
-0.008695592172443867,
0.013150688260793686,
0.004643944092094898,
0.016867559403181076,
-0.0430230088531971,
-0.016515616327524185,
0.004540936090052128,
0.006789944134652615,
0.02051576040685177,
0.017039239406585693,
0.015356776304543018,
-0.020309744402766228,
-0.07162489742040634,
0.0033713660668581724,
-0.038731008768081665,
-0.10857043415307999,
-0.04717766493558884,
0.016043495386838913,
-0.026936592534184456,
-0.02698809653520584,
0.051435329020023346,
-0.027142608538269997,
-0.011871672235429287,
-0.04673129692673683,
-0.06846598535776138,
0.00813763216137886,
-0.06080905720591545,
0.014918992295861244,
0.018678784370422363,
0.038147296756505966,
-0.022747600451111794,
-0.014747312292456627,
-0.011184952221810818,
-0.053220801055431366,
0.04127187281847,
0.009493904188275337,
0.006304948125034571,
-0.04484281688928604,
-0.054800257086753845,
0.028825072571635246,
0.005841412115842104,
0.052705761045217514,
-0.03155478462576866,
0.046868640929460526,
0.0110132722184062,
-0.01794056035578251,
0.0009608715190552175,
0.011966096237301826,
0.019657360389828682,
-0.04982153698801994,
-0.03996710479259491,
-0.05263708904385567,
0.07471513748168945,
-0.015142176300287247,
-0.02460174448788166,
0.03560643270611763,
0.0032361680641770363,
-0.06448300927877426,
0.00349583406932652,
-0.0017672310350462794,
-0.013373872265219688,
0.023726176470518112,
-0.011742912232875824,
0.03897136077284813,
-0.018283920362591743,
0.04504883289337158,
-0.030988240614533424,
-0.008184843696653843,
0.00034926150692626834,
-0.05057692900300026,
-0.042095936834812164,
0.09813228994607925,
-0.0109016802161932,
0.0440530888736248,
-0.027588976547122,
-0.014489792287349701,
-0.04590723291039467,
-0.04089417681097984,
0.005493760108947754,
0.012910336256027222,
0.015691552311182022,
0.0335119366645813,
-0.010300800204277039,
-0.01873028837144375,
0.023039456456899643,
0.012060520239174366,
-0.06334991753101349,
0.022678928449749947,
-0.007755644153803587,
-0.04910048097372055,
-0.014609968289732933,
-0.05105763301253319,
0.011682824231684208,
-0.02983798459172249,
0.038524992763996124,
-0.016369687393307686,
-0.02161451242864132,
0.0034614980686455965,
-0.006901536136865616,
-0.013923248276114464,
-0.04542652890086174,
0.03996710479259491,
-0.02607819251716137,
-0.03296256065368652,
0.04257664084434509,
-0.026352880522608757,
0.031880974769592285,
-0.060946401208639145,
-0.054594241082668304,
0.02944312058389187,
-0.01091026421636343,
0.04113452881574631,
-0.07162489742040634,
0.04415609687566757,
-0.0028627640567719936,
0.015262352302670479,
-0.019210992380976677,
0.011485392227768898,
0.021374160423874855,
-0.002489360049366951,
0.009631248190999031,
0.022747600451111794,
-0.05497193709015846,
-0.0523967370390892,
-0.03866233676671982,
-0.037048544734716415,
-0.003457206068560481,
-0.0346793606877327,
0.0010794380214065313,
-0.03567510470747948,
0.04226761683821678,
0.013708648271858692,
-0.022352736443281174,
0.0020268969237804413,
-0.011039024218916893,
-0.056894753128290176,
-0.01319360826164484,
0.007768520154058933,
-0.08886156976222992,
-0.016180839389562607,
0.03879968076944351,
0.0056182281114161015,
-0.006244860123842955,
0.0023777680471539497,
0.0048113320954144,
-0.020361248403787613,
0.028687728568911552,
-0.03399264067411423,
0.0004959942307323217,
-0.023846352472901344,
0.0061933561228215694,
-0.012979008257389069,
-0.030387360602617264,
-0.00014109950279816985,
-0.000019749906641663983,
0.001717873034067452,
-0.029683472588658333,
-0.016730215400457382,
0.014918992295861244,
0.06808828562498093,
-0.0037705220747739077,
-0.005931544117629528,
-0.0021084449253976345,
0.03825030475854874,
-0.007824315689504147,
0.029683472588658333,
-0.020704608410596848,
-0.002309096045792103,
-0.020876288414001465,
-0.008021747693419456,
0.018472768366336823,
0.026129696518182755,
-0.0712815374135971,
0.03320291265845299,
-0.012017600238323212,
-0.00709467614069581,
0.07018278539180756,
-0.03598412871360779,
0.07505849748849869,
-0.02697092853486538,
0.03787260875105858,
0.0020569409243762493,
0.023365648463368416,
-0.004442220088094473,
-0.01835259236395359,
0.00018012987857218832,
0.04563254490494728,
0.022678928449749947,
-0.018970640376210213,
-0.012215032242238522,
0.002444294048473239,
0.045460864901542664,
-0.06328124552965164,
0.06918703764677048,
-0.061736129224300385,
0.020687440410256386,
0.035743776708841324,
-0.017734544351696968,
0.07526451349258423,
-0.00402804184705019,
0.005442256107926369,
-0.01816374436020851,
0.009253552183508873,
-0.00024987486540339887,
0.01580314338207245,
0.018489936366677284,
-0.03776960074901581,
0.015511288307607174,
-0.05603635311126709,
-0.031297262758016586,
0.005257700104266405,
-0.0032640660647302866,
-0.04178691282868385,
-0.028928080573678017,
0.01656712032854557,
-0.020704608410596848,
-0.01527093630284071,
-0.03315140679478645,
-0.02855038456618786,
-0.02697092853486538,
0.06139276921749115,
-0.03392396867275238,
-0.002066598040983081,
0.019605856388807297,
0.014446872286498547,
0.05813084915280342,
-0.0038241720758378506,
-0.03282521665096283,
0.013760152272880077,
-0.0780113935470581,
0.0031417440623044968,
0.001724311034195125,
-0.019760368391871452,
-0.03825030475854874,
-0.028893744572997093,
-0.027520304545760155,
0.05009622499346733,
-0.0005322080105543137,
-0.02837870456278324,
0.0009716015192680061,
0.027537472546100616,
-0.048860128968954086,
0.025769168511033058,
0.06987375766038895,
0.07457779347896576,
-0.05504060909152031,
-0.018524272367358208,
0.02379484847187996,
-0.025322800502181053,
-0.030988240614533424,
-0.02441289648413658,
-0.003328446066007018,
0.010463896207511425,
-0.054113537073135376,
0.04920348897576332,
-0.02757180854678154,
-0.0009769664611667395,
0.02757180854678154,
-0.029597632586956024,
-0.03388963267207146,
-0.01407776027917862,
-0.011176368221640587,
0.03711721673607826,
0.0030773640610277653,
0.009090456180274487,
-0.003435746068134904,
0.012566976249217987,
0.027691984549164772,
-0.003942201845347881,
-0.0434693768620491,
-0.008322187699377537,
-0.024275552481412888,
0.02302228845655918,
-0.0003817197575699538,
0.02223256044089794,
-0.008214888162910938,
-0.014318112283945084,
-0.017683040350675583,
0.016970567405223846,
-0.03313424065709114,
0.00972567219287157,
0.052019041031599045,
0.03502272069454193,
-0.0418555848300457,
-0.0006572125130333006,
0.08700742572546005,
-0.03224150463938713,
-0.022060880437493324,
0.017159415408968925,
0.029614800587296486,
0.013528384268283844,
-0.03886835277080536,
0.04769270494580269,
0.055383969098329544,
0.030627712607383728,
0.05507494509220123,
-0.014927576296031475,
0.010747168213129044,
0.03294539079070091,
0.020635936409235,
-0.013330952264368534,
-0.04175257682800293,
-0.01407776027917862,
0.03560643270611763,
0.018198080360889435,
-0.00525340810418129,
0.06650882959365845,
0.011785832233726978,
-0.06678351759910583,
0.013949000276625156,
0.06578777730464935,
0.012249368242919445,
-0.00003217323319404386,
0.032172832638025284,
-0.0027511720545589924,
0.005266284104436636,
0.017614368349313736,
0.03866233676671982,
0.0052319481037557125,
-0.009382312186062336,
-0.022078048437833786,
-0.037426240742206573,
-0.007965952157974243,
-0.006030260119587183,
0.037941280752420425,
0.027520304545760155,
0.012730072252452374
] |
726,174 | pydantic_extra_types.color | __init__ | null | def __init__(self, value: ColorType) -> None:
self._rgba: RGBA
self._original: ColorType
if isinstance(value, (tuple, list)):
self._rgba = parse_tuple(value)
elif isinstance(value, str):
self._rgba = parse_str(value)
elif isinstance(value, Color):
self._rgba = value._rgba
value = value._original
else:
raise PydanticCustomError(
'color_error',
'value is not a valid color: value must be a tuple, list or string',
)
# if we've got here value must be a valid color
self._original = value
| (self, value: Union[Tuple[int, int, int], Tuple[int, int, int, float], str, pydantic_extra_types.color.Color]) -> NoneType | [
0.006971950177103281,
-0.05013410374522209,
-0.0417470782995224,
0.03952809050679207,
-0.023901142179965973,
-0.0067791990004479885,
0.0032579645048826933,
0.015514116734266281,
-0.005039737094193697,
0.007004858925938606,
0.026289375498890877,
0.030783768743276596,
0.0163885485380888,
0.018767379224300385,
0.06130426749587059,
0.033378858119249344,
0.003920840565115213,
0.032965146005153656,
0.02858358435332775,
-0.017817728221416473,
-0.010681234300136566,
0.00869260635226965,
-0.0002018598170252517,
0.07002978026866913,
0.003577649360522628,
0.03072735294699669,
0.012674563564360142,
0.03670734167098999,
-0.0173852127045393,
-0.016538988798856735,
0.015683362260460854,
0.023675482720136642,
0.017121942713856697,
0.07585933059453964,
0.00809554848819971,
-0.028564779087901115,
-0.04110770672559738,
0.04152141883969307,
-0.07081959396600723,
-0.010060669854283333,
-0.02790660411119461,
0.020083729177713394,
-0.07348989695310593,
0.018823795020580292,
0.02350623719394207,
-0.0185135118663311,
-0.030821379274129868,
0.027737360447645187,
-0.08371981233358383,
-0.06593029201030731,
-0.005429940763860941,
0.007954510860145092,
0.012091608718037605,
0.0345635712146759,
0.05998791754245758,
0.020158948376774788,
-0.012580538168549538,
0.09289664775133133,
-0.0012540577445179224,
0.06529092788696289,
-0.03770400583744049,
0.05585081875324249,
0.02382592298090458,
-0.04065638780593872,
-0.004818778485059738,
-0.02835792489349842,
-0.016642415896058083,
0.00635138526558876,
-0.025518370792269707,
0.047350965440273285,
0.04389084503054619,
0.04569612443447113,
-0.017996374517679214,
0.023750701919198036,
0.0360303595662117,
-0.019115272909402847,
-0.023449823260307312,
0.04351474717259407,
-0.01390628982335329,
-0.03375495597720146,
0.034958478063344955,
0.05487295985221863,
0.02482258714735508,
-0.02600730024278164,
0.040017019957304,
-0.044454995542764664,
-0.061605148017406464,
-0.014442232437431812,
-0.014705502428114414,
0.0937240719795227,
-0.06570463627576828,
-0.05825785920023918,
-0.09725940972566605,
-0.008151963353157043,
0.0033801968675106764,
-0.0011864773696288466,
0.06333520263433456,
-0.02736126072704792,
0.06318476796150208,
-0.012176230549812317,
0.019162284210324287,
-0.06623117625713348,
-0.029749494045972824,
-0.0238635316491127,
-0.016962101683020592,
-0.04366518557071686,
0.011875350959599018,
0.002283630892634392,
0.0011459290981292725,
0.01037095207720995,
0.01558933686465025,
-0.0010407386580482125,
0.012589940801262856,
0.06728425621986389,
-0.032194141298532486,
-0.008354117162525654,
0.009120420552790165,
-0.04486870765686035,
0.01574917882680893,
0.023619066923856735,
-0.00684031518176198,
0.020610269159078598,
-0.004696546122431755,
0.14419665932655334,
0.03379256650805473,
0.05321812257170677,
-0.05160089209675789,
-0.04915624484419823,
0.01583380065858364,
0.005255994852632284,
0.0007839330355636775,
0.030783768743276596,
-0.01909646764397621,
-0.026533840224146843,
0.010483781807124615,
0.013398555107414722,
-0.0355038195848465,
0.029392199590802193,
-0.03789205476641655,
0.02091114968061447,
0.03159238398075104,
0.03572947904467583,
0.03307797759771347,
-0.1098211407661438,
0.012919028289616108,
0.017206566408276558,
0.0012975443387404084,
0.012862613424658775,
-0.04633549600839615,
0.07905618101358414,
-0.02600730024278164,
0.007141194771975279,
0.019764045253396034,
0.03208131343126297,
0.012242048047482967,
-0.06638161092996597,
0.013690032996237278,
-0.062470175325870514,
0.042762547731399536,
0.0040595270693302155,
-0.015213237144052982,
0.003631713567301631,
0.05660301819443703,
-0.07852964103221893,
0.006290269084274769,
0.03819293528795242,
-0.006327879149466753,
-0.051976993680000305,
-0.03266426920890808,
-0.047802284359931946,
-0.024973027408123016,
-0.041596636176109314,
0.04686203598976135,
0.07503190636634827,
-0.03134791925549507,
-0.0005952954525128007,
-0.014743112027645111,
-0.009355482645332813,
-0.019764045253396034,
-0.05445925146341324,
-0.00812375545501709,
0.026308180764317513,
-0.011753118596971035,
0.0019627707079052925,
0.06739708036184311,
0.00346011808142066,
-0.03873828053474426,
0.013492580503225327,
0.03680136427283287,
0.002754931105300784,
0.0534437820315361,
0.031874459236860275,
0.01504399161785841,
-0.009491818957030773,
0.017206566408276558,
-0.0217385683208704,
0.0032321077305823565,
-0.02722962573170662,
-0.009402494877576828,
0.03930242732167244,
-0.024766171351075172,
-0.027944214642047882,
-0.04283776879310608,
-0.0068544186651706696,
0.010681234300136566,
-0.04216078668832779,
0.047764673829078674,
-0.01942555420100689,
0.026383399963378906,
-0.030069177970290184,
-0.055888429284095764,
-0.01783653348684311,
0.04825360327959061,
0.057656098157167435,
0.0020191858056932688,
-0.0829676166176796,
-0.014263585209846497,
-0.0228668674826622,
-0.0006370190531015396,
0.07845441997051239,
0.08183931559324265,
-0.007569008506834507,
0.03635004535317421,
-0.027662139385938644,
0.038230545818805695,
0.019209297373890877,
-0.019670018926262856,
-0.038324568420648575,
-0.014066132716834545,
0.027756165713071823,
0.004405068699270487,
-0.04483109712600708,
-0.05133762210607529,
0.0345635712146759,
-0.0772508978843689,
0.040994878858327866,
0.07333946228027344,
0.010765857063233852,
-0.08402069658041,
-0.02549956552684307,
0.015420091338455677,
0.016943296417593956,
-0.0010236966190859675,
-0.023750701919198036,
0.02818867936730385,
-0.022471962496638298,
0.008523361757397652,
0.07191028445959091,
-0.06829972565174103,
0.0009508273215033114,
-0.037873249500989914,
0.009994852356612682,
0.03725268319249153,
0.017225371673703194,
-0.03698941692709923,
0.006591149140149355,
-0.03888871893286705,
-0.0603640191257,
0.0646139457821846,
-0.008128456771373749,
-0.02745528519153595,
-0.012298463843762875,
0.0698041245341301,
0.07322663068771362,
-0.006661667488515377,
-0.07439254224300385,
-0.007305738516151905,
0.013605410233139992,
0.005204280838370323,
0.028564779087901115,
0.10019298642873764,
-0.0017335850279778242,
0.048667315393686295,
0.0060034929774701595,
-0.004604871850460768,
-0.02786899544298649,
-0.0027102690655738115,
-0.020384609699249268,
0.047125305980443954,
0.010192304849624634,
0.07529518008232117,
-0.03712105005979538,
-0.0022460210602730513,
-0.017507445067167282,
0.02241554856300354,
0.04460543766617775,
0.018353670835494995,
0.018767379224300385,
-0.029467418789863586,
-0.0207419041544199,
0.01965121366083622,
-0.05122479423880577,
0.0025927380193024874,
0.03621841222047806,
0.04197273775935173,
0.028508365154266357,
-0.00003476352139841765,
0.07770221680402756,
-0.004285186994820833,
-0.025123465806245804,
0.026308180764317513,
-0.0666072741150856,
0.05509861931204796,
0.011057334020733833,
-0.007009559776633978,
-0.03670734167098999,
0.0020944057032465935,
-0.004442678764462471,
-0.010681234300136566,
0.020346999168395996,
0.018353670835494995,
0.0554371103644371,
-0.07890573889017105,
0.0011982304276898503,
0.02645862102508545,
-0.00011011202877853066,
0.051939383149147034,
-0.08552509546279907,
0.003758647246286273,
0.04298820719122887,
-0.03789205476641655,
-0.07315140962600708,
-0.027474090456962585,
-0.031742822378873825,
0.006233854219317436,
0.0046354299411177635,
0.02209586277604103,
0.027793774381279945,
0.01642615906894207,
0.019764045253396034,
-0.07063154131174088,
-0.026740696281194687,
0.008151963353157043,
-0.023205356672406197,
0.03847501054406166,
-0.0944010466337204,
-0.027963019907474518,
0.0157867893576622,
-0.010812869295477867,
-0.041182927787303925,
-0.020929953083395958,
-0.02777497097849846,
-0.0024011621717363596,
-0.010747051797807217,
0.0004380974860396236,
-0.032833512872457504,
0.009750387631356716,
-0.04046833887696266,
0.04881775379180908,
0.014310597442090511,
-0.00021375984943006188,
0.010145291686058044,
-0.043401915580034256,
0.025668811053037643,
0.04043072834610939,
0.004212317522615194,
-0.04896819218993187,
-0.06446350365877151,
0.03593633696436882,
-0.006750991567969322,
0.0651404857635498,
0.01093510165810585,
0.05773131921887398,
-0.010107682086527348,
-0.003972554113715887,
0.03258904814720154,
-0.05539949983358383,
-0.06431306898593903,
0.02250957302749157,
0.020723098888993263,
0.028978489339351654,
0.035278160125017166,
-0.028113460168242455,
-0.05844590812921524,
-0.0037304398138076067,
-0.013144687749445438,
0.00557097839191556,
0.058107417076826096,
-0.022942088544368744,
-0.023675482720136642,
-0.02463453635573387,
0.012825002893805504,
0.01841948740184307,
0.0053594219498336315,
-0.0006828561890870333,
-0.011170163750648499,
0.010352146811783314,
0.008640892803668976,
-0.02331818826496601,
0.028734024614095688,
-0.05581320822238922,
-0.005063243675976992,
0.07048109918832779,
-0.03858783841133118,
0.05780654028058052,
0.0382869578897953,
0.008819540031254292,
0.008481050841510296,
-0.011894156225025654,
0.007216414902359247,
-0.0118659483268857,
-0.015570531599223614,
0.007493788376450539,
0.003796257311478257,
-0.009966644458472729,
-0.025650005787611008,
0.019481969997286797,
0.034469544887542725,
0.0007075377507135272,
0.022302718833088875,
0.05739282816648483,
-0.04509436711668968,
-0.018823795020580292,
-0.029711883515119553,
-0.01300365012139082,
-0.043176256120204926,
0.0027431778144091368,
-0.06630639731884003,
-0.018946027383208275,
0.016162889078259468,
0.0035165331792086363,
-0.012646355666220188,
-0.0032720682211220264,
0.03352929651737213,
0.029429810121655464,
0.047576624900102615,
0.03499608486890793,
0.019538383930921555,
0.02536793053150177,
-0.04261210560798645,
0.011762521229684353,
0.018269047141075134,
0.005462849512696266,
-0.052616361528635025,
0.027831384912133217,
-0.005589783191680908,
-0.03294634073972702,
-0.01728178560733795,
0.0078933946788311,
-0.012063400819897652,
-0.012326670810580254,
0.005632094573229551,
0.02899729460477829,
0.03870067000389099,
0.027699749916791916,
-0.05212743207812309,
-0.006873223930597305,
0.032607853412628174,
0.008354117162525654,
-0.03302156180143356,
0.014714905060827732,
0.02241554856300354,
0.017225371673703194,
-0.038550227880477905,
0.01241129357367754,
-0.022265108302235603,
-0.07612259685993195,
0.033059172332286835,
0.044003676623106,
-0.019228102639317513,
0.008039133623242378,
0.010765857063233852,
-0.08627729117870331,
-0.08041013777256012,
-0.016303926706314087,
0.05709194764494896,
0.04486870765686035,
-0.03934003785252571,
-0.011245383881032467,
-0.02662786655128002,
-0.03189326450228691,
-0.044003676623106,
0.04979561269283295,
0.017723703756928444,
-0.0208735391497612,
-0.02627057023346424,
0.02450290136039257,
-0.033190805464982986,
-0.04366518557071686,
-0.03753475844860077,
0.03572947904467583,
0.0032180037815123796,
-0.024841392412781715,
-0.015420091338455677,
0.02826390042901039,
0.055926039814949036,
-0.014996979385614395,
0.012082206085324287,
0.0208735391497612,
0.06303432583808899,
-0.08221541345119476,
-0.003655219916254282,
-0.02649623155593872,
-0.0016101772198453546,
-0.02636459656059742,
0.007348049897700548,
0.02045982889831066,
-0.005462849512696266,
0.014470439404249191,
0.025349127128720284,
0.02848955988883972,
-0.013483177870512009,
-0.014291792176663876,
-0.029053708538413048,
0.03881349787116051,
-0.08304283767938614,
0.008245987817645073,
0.009360183961689472,
0.007197610102593899,
-0.03631243482232094,
-0.015429493971168995,
0.06875104457139969,
0.06702098250389099,
-0.034055836498737335,
0.0027008666656911373,
-0.0041182925924658775,
0.010342744179069996,
-0.006553539074957371,
-0.03586111590266228,
-0.037873249500989914,
-0.02835792489349842,
0.05472252145409584,
0.015579934231936932,
-0.02096756361424923,
-0.014526854269206524,
0.02096756361424923,
0.00896527897566557,
-0.013671227730810642,
0.028696414083242416,
-0.032833512872457504,
0.025668811053037643,
-0.0311786737293005,
-0.007160000037401915,
0.006614655256271362,
-0.004419172648340464,
-0.03885110840201378,
0.023938752710819244,
0.011922363191843033,
-0.0772508978843689,
-0.03770400583744049,
0.023656677454710007,
0.0755208358168602,
0.023562652990221977,
-0.004741208162158728,
-0.08138799667358398,
-0.025932081043720245,
0.0002191956591559574,
0.05626453086733818,
-0.0651404857635498,
-0.016031254082918167,
0.016736440360546112,
-0.012448903173208237,
-0.006431306712329388,
-0.015373079106211662,
-0.04825360327959061,
0.018400682136416435,
-0.0197452399879694,
-0.020798318088054657,
0.015081602148711681,
-0.005735522136092186,
-0.015053394250571728,
0.02205825224518776,
-0.023788312450051308,
0.02754930965602398,
-0.04663637652993202,
0.002140242839232087,
-0.03888871893286705,
-0.005820144433528185,
-0.010483781807124615,
-0.0091909384354949,
0.010841076262295246,
-0.0549105703830719,
-0.0018123309127986431,
-0.000417823379393667,
0.04012984782457352,
0.017949363216757774,
-0.030934209004044533,
0.030614523217082024,
-0.013671227730810642,
-0.039189599454402924,
0.006139829289168119,
0.0028230990283191204,
-0.01538248173892498,
-0.08906043320894241,
-0.021700957790017128,
-0.047576624900102615,
0.0038738278672099113,
0.006064609158784151,
-0.0002547488547861576,
0.008612685836851597,
0.031705211848020554,
0.01733820140361786,
-0.03522174432873726,
-0.012383085675537586,
-0.07209832966327667,
-0.018043387681245804,
0.00903109647333622,
-0.02790660411119461,
-0.0014503347920253873,
0.062319736927747726,
-0.02482258714735508,
0.025349127128720284,
-0.011753118596971035,
0.03851262107491493,
-0.009853814728558064,
-0.014837137423455715,
0.04723813384771347,
0.019594799727201462,
0.025443151593208313,
-0.04686203598976135,
0.04979561269283295,
0.04983322322368622,
-0.051488060504198074,
-0.014761917293071747,
0.032607853412628174,
-0.0509239137172699,
-0.001827609958127141,
0.06593029201030731,
-0.03873828053474426,
0.057656098157167435,
-0.0067839003168046474,
0.017451031133532524,
-0.012232646346092224,
0.06198124587535858,
-0.016181694343686104,
-0.0218702033162117,
0.012006985954940319,
-0.024653341621160507,
-0.026308180764317513,
-0.07397883385419846,
0.04964517429471016,
0.029166540130972862,
-0.07965793460607529,
-0.047764673829078674,
-0.05336856096982956,
-0.04351474717259407,
0.040017019957304,
0.003288522595539689,
0.026646669954061508,
0.049118634313344955,
-0.00017776591994334012,
-0.014009717851877213,
-0.026853526011109352,
0.051525671035051346,
-0.009247354231774807,
0.03398061543703079,
-0.01510980911552906,
-0.05803219974040985,
0.004228772129863501,
0.029072513803839684,
0.035052500665187836,
0.04840404540300369,
0.012947235256433487,
-0.031836848706007004,
-0.031705211848020554,
0.01127359177917242,
0.012006985954940319,
0.0198768749833107,
0.005185476038604975,
-0.008490452542901039,
-0.07600977271795273,
0.044906314462423325,
0.07315140962600708,
0.015260249376296997,
0.011856545694172382,
0.013981509953737259,
0.056339748203754425,
-0.013652422465384007,
-0.005556874442845583,
0.025838056579232216,
-0.07710045576095581,
-0.01080346666276455,
-0.04964517429471016,
0.011057334020733833,
0.002863059751689434,
-0.006454812828451395,
-0.01842889003455639,
0.00627146428450942,
0.061191435903310776,
0.001999205444008112,
0.019275113940238953,
0.02890327014029026,
-0.0817640945315361,
0.004285186994820833,
-0.00342015759088099,
0.02269762195646763,
-0.006562941707670689,
0.019839264452457428,
0.050660643726587296,
-0.06946562975645065,
-0.025612397119402885,
0.006755692418664694,
-0.04103248938918114,
-0.006962547544389963,
-0.06472677737474442,
0.0024799080565571785,
-0.07785265892744064,
-0.05163850262761116,
0.010051267221570015,
0.03979136049747467,
0.01824084110558033,
-0.012759185396134853,
-0.039415258914232254,
0.06423784792423248,
0.026082521304488182,
-0.005848351866006851,
0.0004198801761958748,
0.011047931388020515,
0.05250353366136551,
-0.027436479926109314,
0.0021766775753349066,
0.022490767762064934,
-0.03467640280723572,
-0.06491482257843018,
-0.06171797588467598,
0.04862970486283302,
0.003523584920912981,
-0.013737045228481293,
-0.025800446048378944,
0.015814997255802155,
0.0067839003168046474,
0.00740916607901454,
0.001915758359245956,
0.02205825224518776,
0.005171372089534998,
-0.035184137523174286,
-0.025349127128720284,
-0.014724306762218475,
0.04046833887696266,
-0.0216069333255291,
0.023844726383686066,
0.02636459656059742,
0.009111017920076847,
0.04020506888628006,
-0.03127269819378853,
-0.017225371673703194,
-0.008434037677943707,
0.062470175325870514,
0.017573263496160507,
0.015504714101552963,
-0.01597483828663826,
0.014996979385614395,
-0.027079185470938683,
-0.001641910639591515,
-0.0529172420501709,
0.03997940942645073,
0.05310529097914696,
0.019820459187030792,
0.022979697212576866,
0.006633460056036711,
-0.02909131906926632,
0.016990307718515396,
-0.013097675517201424,
0.08966219425201416,
0.05904766917228699,
-0.07010500133037567,
-0.014498647302389145,
0.0051572686061263084,
0.00260919239372015,
-0.03063332848250866,
0.00458371639251709,
-0.0034883255138993263,
0.012336073443293571,
-0.02010253444314003,
0.018767379224300385,
0.02867760881781578,
-0.03307797759771347,
-0.009247354231774807
] |
726,177 | pydantic_extra_types.color | __repr_args__ | null | def __repr_args__(self) -> _repr.ReprArgs:
return [(None, self.as_named(fallback=True))] + [('rgb', self.as_rgb_tuple())]
| (self) -> '_repr.ReprArgs' | [
-0.011952010914683342,
-0.06611128151416779,
-0.009481074288487434,
-0.011997769586741924,
0.025972288101911545,
-0.013535240665078163,
0.029614631086587906,
0.009298042394220829,
0.08111993223428726,
-0.0074494159780442715,
0.00150429701898247,
0.017351465299725533,
0.03521541878581047,
0.0353984534740448,
-0.0009780790423974395,
0.036752890795469284,
0.0312070120126009,
-0.008350850082933903,
-0.009600046090781689,
0.022860737517476082,
0.012235711328685284,
0.014157550409436226,
0.03311054781079292,
-0.015658415853977203,
0.021597815677523613,
0.020719259977340698,
0.021414782851934433,
-0.0057426393032073975,
-0.02915704995393753,
0.013782334513962269,
-0.05487309396266937,
-0.05465345457196236,
0.022805828601121902,
0.03982783481478691,
-0.013837244361639023,
0.009215678088366985,
-0.05425078421831131,
0.06501308083534241,
-0.02362947352230549,
-0.03305564075708389,
0.04308580979704857,
-0.030932463705539703,
-0.023373229429125786,
-0.042829565703868866,
-0.027564669027924538,
-0.027857521548867226,
0.03230520710349083,
-0.07002817094326019,
-0.07310311496257782,
-0.07248080521821976,
0.051615118980407715,
0.029358385130763054,
-0.00881758239120245,
0.03770466148853302,
-0.02320849895477295,
0.010780604556202888,
0.003317460883408785,
0.09232150763273239,
-0.015219138003885746,
0.028168676421046257,
-0.027125392109155655,
0.02928517386317253,
0.040340326726436615,
-0.03938855603337288,
0.0014287960948422551,
-0.0597783587872982,
-0.01921839453279972,
-0.004900690633803606,
-0.02150629833340645,
0.056996267288923264,
-0.010634178295731544,
0.005934823304414749,
-0.03883945941925049,
0.0045941113494336605,
-0.022952254861593246,
-0.03241502493619919,
0.030621308833360672,
0.03741180896759033,
0.04001086577773094,
-0.018028683960437775,
-0.010981939733028412,
0.05556861683726311,
-0.028772681951522827,
-0.001781133352778852,
0.009764774702489376,
-0.06794159859418869,
-0.05575164780020714,
0.005591637920588255,
-0.023904021829366684,
0.022037092596292496,
-0.04689288139343262,
-0.0017868531867861748,
-0.03624040260910988,
0.020463014021515846,
-0.029980696737766266,
-0.015411322005093098,
-0.012647533789277077,
-0.025057125836610794,
0.07361560314893723,
-0.03927873820066452,
-0.020591137930750847,
-0.07599502056837082,
-0.02655799128115177,
-0.01294038537889719,
-0.035123903304338455,
-0.035123903304338455,
-0.029047230258584023,
0.016619335860013962,
-0.02042640745639801,
0.000536513514816761,
0.025130338966846466,
0.04630718007683754,
0.05472666770219803,
0.02459954470396042,
0.006776771973818541,
-0.06054709479212761,
-0.019749188795685768,
-0.028534740209579468,
0.043195631355047226,
-0.010258962400257587,
-0.05176154151558876,
0.001718215993605554,
0.015237441286444664,
0.046819671988487244,
-0.034885961562395096,
0.06248723715543747,
-0.04041353985667229,
0.00924770813435316,
-0.043195631355047226,
-0.04235368221998215,
0.03807072341442108,
-0.004440821707248688,
-0.09488396346569061,
-0.007216049823909998,
0.02485579065978527,
-0.01623496785759926,
0.052640099078416824,
0.0448429211974144,
0.027436546981334686,
0.07464058697223663,
0.019181787967681885,
-0.010139991529285908,
0.008588791824877262,
0.06230420619249344,
-0.057691790163517,
-0.02370268665254116,
0.049967825412750244,
0.06757553666830063,
0.03316545858979225,
0.03490426391363144,
0.011677462607622147,
0.058094460517168045,
0.015383867546916008,
0.0401206873357296,
0.006740165408700705,
-0.019438033923506737,
0.012903779745101929,
-0.046709850430488586,
0.034648019820451736,
-0.012135043740272522,
-0.030291851609945297,
-0.06461041420698166,
0.04586790129542351,
-0.055129338055849075,
0.041804585605859756,
0.06376846134662628,
0.009902048856019974,
-0.05600789189338684,
0.023245105519890785,
0.008140362799167633,
0.02732672728598118,
-0.0807538628578186,
-0.007655327208340168,
0.018870633095502853,
-0.03717386722564697,
0.06014442443847656,
-0.02509373240172863,
0.04854017496109009,
-0.0009414725354872644,
0.0006497647846117616,
0.07899675518274307,
-0.07277365773916245,
-0.061681896448135376,
-0.03096907027065754,
0.07163885235786438,
-0.03164628893136978,
0.006181917153298855,
0.012382137589156628,
-0.000024863084036041982,
-0.030456580221652985,
0.0532258003950119,
0.016637638211250305,
0.01793716847896576,
0.037118956446647644,
-0.011887949891388416,
-0.03206726536154747,
-0.054287388920784,
-0.027125392109155655,
0.051249053329229355,
0.003731571603566408,
-0.016802368685603142,
-0.029413295909762383,
-0.06237741932272911,
0.028534740209579468,
0.012199104763567448,
-0.04132870212197304,
-0.0024915277026593685,
-0.05015086010098457,
0.02866286225616932,
-0.008506427519023418,
0.028223585337400436,
0.0037247079890221357,
0.05260349065065384,
-0.000831653131172061,
0.0010095377219840884,
-0.02745484933257103,
-0.02970614656805992,
-0.012867173179984093,
-0.040340326726436615,
0.026100410148501396,
0.03807072341442108,
-0.047441981732845306,
0.02485579065978527,
-0.007710237056016922,
0.0007235496887005866,
-0.022220125421881676,
0.01800123043358326,
-0.00046730443136766553,
-0.006401555612683296,
0.04048675298690796,
0.01485307328402996,
-0.048759814351797104,
-0.014670041389763355,
0.008309667930006981,
-0.05922926217317581,
0.05212760716676712,
0.010661633685231209,
0.001997340237721801,
-0.015072712674736977,
0.010844665579497814,
-0.003752162680029869,
0.09920352697372437,
0.018715055659413338,
-0.005220997147262096,
0.07614144682884216,
-0.07504325360059738,
0.03592924773693085,
0.03613058105111122,
-0.02448972500860691,
0.0026997269596904516,
-0.023794202134013176,
0.02891910821199417,
-0.01793716847896576,
0.014862225390970707,
-0.014368037693202496,
-0.07167546451091766,
-0.0770932212471962,
-0.028626255691051483,
0.03746671974658966,
-0.005413181148469448,
0.01782734878361225,
0.027070481330156326,
0.03149986267089844,
0.04989461228251457,
0.06102297827601433,
0.01781819760799408,
-0.02388571947813034,
-0.006813378538936377,
-0.027912430465221405,
0.03618549183011055,
0.12987974286079407,
-0.003365506883710623,
-0.05242045968770981,
0.05721590667963028,
-0.010176597163081169,
-0.0031481559854000807,
0.01366336364299059,
0.0052164215594530106,
-0.0010867544915527105,
-0.0140934893861413,
0.05253027752041817,
-0.03268957510590553,
-0.026466475799679756,
-0.004790871404111385,
0.08068065345287323,
0.03347661346197128,
0.02593568153679371,
0.025917377322912216,
0.00021777987421955913,
-0.012949537485837936,
0.0933464914560318,
0.048759814351797104,
-0.00027168862288817763,
-0.00906010065227747,
0.05256688594818115,
0.015914661809802055,
0.017415525391697884,
0.03261636197566986,
-0.014889679849147797,
0.020389800891280174,
0.02218351885676384,
-0.05044370889663696,
0.0860251933336258,
0.026594597846269608,
-0.02606380358338356,
0.009993565268814564,
0.015594354830682278,
0.039498377591371536,
-0.046270571649074554,
-0.0006549125537276268,
-0.004431670531630516,
0.02011525258421898,
0.01248280517756939,
0.018705904483795166,
-0.02205539681017399,
-0.022805828601121902,
0.029175354167819023,
-0.013095962814986706,
-0.002088856417685747,
0.021835757419466972,
-0.04689288139343262,
-0.023537958040833473,
-0.04594111442565918,
-0.011494430713355541,
0.04337866231799126,
-0.0013796061975881457,
-0.07273704558610916,
-0.006827105768024921,
0.026924055069684982,
0.05538558214902878,
-0.05293295159935951,
-0.009902048856019974,
-0.029358385130763054,
0.05842392146587372,
0.004225758835673332,
-0.0017616861732676625,
-0.00020634035172406584,
0.04656342417001724,
-0.00979223009198904,
-0.08046101033687592,
0.003392961807549,
-0.02394062839448452,
-0.020078646019101143,
0.01400197297334671,
-0.013187479227781296,
0.03340340033173561,
-0.009343800134956837,
0.03818054497241974,
0.06512290239334106,
-0.004996782634407282,
-0.015328957699239254,
-0.04872320592403412,
-0.026869146153330803,
0.04795446991920471,
0.024343300610780716,
0.0511392317712307,
-0.07222455739974976,
0.0062185232527554035,
0.027546366676688194,
0.03007221221923828,
0.08302346616983414,
-0.011796433478593826,
0.018284929916262627,
0.005884489510208368,
-0.002223842777311802,
0.012171650305390358,
-0.008044270798563957,
-0.0026333776768296957,
-0.011860495433211327,
-0.025166945531964302,
-0.0422072559595108,
0.03693592548370361,
-0.0563739575445652,
-0.08009494841098785,
-0.023849112913012505,
-0.01787310652434826,
-0.009966110810637474,
0.010743997991085052,
-0.04019390046596527,
-0.08587876707315445,
-0.01582314446568489,
-0.014651738107204437,
0.03717386722564697,
0.014807315543293953,
-0.020865686237812042,
-0.0036514950916171074,
0.004367609042674303,
0.03149986267089844,
-0.0002725465747062117,
-0.0035737063735723495,
-0.04835714027285576,
-0.01303190179169178,
0.005262179300189018,
0.0036354796029627323,
0.01618921011686325,
-0.04703930765390396,
0.04612414911389351,
0.007797177415341139,
-0.057911429554224014,
-0.04176797717809677,
-0.012308924458920956,
-0.0051523600704967976,
-0.04832053557038307,
-0.04103584960103035,
-0.021835757419466972,
0.013773183338344097,
0.019987130537629128,
0.06647734344005585,
0.025258461013436317,
-0.013745727948844433,
0.024270087480545044,
0.012729899026453495,
-0.034702930599451065,
-0.04813750460743904,
0.047185733914375305,
-0.0026265140622854233,
-0.029596328735351562,
0.0288458950817585,
-0.008474396541714668,
-0.01512762252241373,
0.01067078486084938,
0.0034432958345860243,
0.02042640745639801,
0.05340883508324623,
0.024215176701545715,
0.06362203508615494,
-0.02333662286400795,
0.04447685554623604,
0.0406331792473793,
-0.007691933773458004,
-0.055129338055849075,
-0.004321850836277008,
0.03788769245147705,
-0.010304720140993595,
0.007060472387820482,
-0.05157851055264473,
-0.011933707632124424,
-0.01375488005578518,
0.0033700827043503523,
0.031792715191841125,
0.021652724593877792,
-0.005811276379972696,
0.016500364989042282,
-0.021195143461227417,
0.025423191487789154,
-0.01439549308270216,
-0.02866286225616932,
0.010707391425967216,
0.011146669276058674,
-0.01812935248017311,
0.0029582600109279156,
0.029303476214408875,
0.034281954169273376,
-0.05260349065065384,
0.008803854696452618,
-0.047441981732845306,
-0.04821071773767471,
-0.030657915398478508,
-0.02048131823539734,
-0.022275034338235855,
0.038034118711948395,
-0.007765146438032389,
-0.03583773225545883,
-0.008213575929403305,
0.00507457135245204,
-0.011503581888973713,
0.10396236181259155,
-0.0739450603723526,
-0.09034475684165955,
-0.021597815677523613,
0.03267127275466919,
0.0057517909444868565,
0.04835714027285576,
-0.030749430879950523,
-0.01982240192592144,
0.05487309396266937,
0.014404644258320332,
-0.008030543103814125,
-0.051981180906295776,
-0.05425078421831131,
0.022293338552117348,
-0.044696494936943054,
0.009444468654692173,
-0.029980696737766266,
-0.01982240192592144,
0.05267670378088951,
-0.008744369260966778,
0.034574806690216064,
-0.009380406700074673,
0.018165959045290947,
-0.03763144835829735,
-0.008739793673157692,
-0.07094333320856094,
0.024947306141257286,
0.004607839044183493,
-0.01818426139652729,
0.044403642416000366,
-0.016683397814631462,
-0.02879098616540432,
0.0029308050870895386,
0.024764275178313255,
-0.06768535822629929,
0.06259705871343613,
-0.010945333167910576,
0.030712824314832687,
-0.05878998339176178,
0.05015086010098457,
0.0012068693758919835,
-0.007833783514797688,
-0.015328957699239254,
-0.010716542601585388,
-0.030511489138007164,
0.06274348497390747,
-0.03285430371761322,
0.016500364989042282,
-0.05249367281794548,
0.02399553917348385,
-0.007335020694881678,
-0.01636308990418911,
-0.004390487913042307,
0.04132870212197304,
0.02417857013642788,
-0.014807315543293953,
0.001648434903472662,
-0.039791230112314224,
0.03975462168455124,
0.004347017966210842,
-0.0001449244300602004,
0.0027111663948744535,
0.0004269801138434559,
0.023007163777947426,
-0.014670041389763355,
-0.004498019348829985,
-0.025203552097082138,
-0.06914961338043213,
0.05168833211064339,
-0.025112036615610123,
0.05450702831149101,
-0.006278009153902531,
0.021616118028759956,
0.04429382458329201,
0.012693292461335659,
-0.010350477881729603,
0.005966853816062212,
-0.04114566743373871,
-0.030712824314832687,
0.006900318898260593,
0.01321493461728096,
0.00660746730864048,
-0.07665394246578217,
0.006918622180819511,
-0.036643072962760925,
-0.019126879051327705,
-0.015411322005093098,
-0.033970799297094345,
0.06237741932272911,
-0.011009395122528076,
-0.012711595743894577,
-0.004031287040561438,
0.007952754385769367,
0.020627744495868683,
0.004571232479065657,
0.017076916992664337,
-0.05146869271993637,
-0.01818426139652729,
0.038217149674892426,
0.00005855604831594974,
0.034025710076093674,
-0.06461041420698166,
-0.01321493461728096,
-0.014651738107204437,
-0.042829565703868866,
-0.009188222698867321,
0.0024526333436369896,
-0.01375488005578518,
-0.04158494621515274,
0.020096950232982635,
-0.01726910099387169,
0.026924055069684982,
-0.06007121130824089,
0.02291564829647541,
0.04451346397399902,
-0.0010718831326812506,
-0.09093046188354492,
-0.02655799128115177,
0.008973159827291965,
-0.02619192562997341,
-0.002695151139050722,
0.02024337649345398,
-0.0298891793936491,
0.008675732649862766,
0.029047230258584023,
0.021927272900938988,
-0.061132799834012985,
0.01100024301558733,
-0.04304920509457588,
-0.02824188955128193,
-0.013562696054577827,
-0.033494915813207626,
0.025496404618024826,
0.05695966258645058,
0.011897101067006588,
0.01321493461728096,
0.017259947955608368,
0.011274791322648525,
-0.04304920509457588,
0.07599502056837082,
-0.011476127430796623,
-0.011531037278473377,
0.02606380358338356,
-0.0063466462306678295,
0.0006978107849135995,
0.002450345316901803,
-0.03574621304869652,
-0.0031458681914955378,
-0.03799751028418541,
-0.024270087480545044,
0.06742911040782928,
-0.011887949891388416,
0.09371255338191986,
-0.0450991652905941,
-0.003589721629396081,
-0.04601432755589485,
0.03982783481478691,
-0.006872863974422216,
-0.0008327970863319933,
-0.03556318208575249,
-0.012336378917098045,
0.0217625442892313,
-0.030383367091417313,
0.04780804365873337,
0.020829079672694206,
0.052457064390182495,
-0.07376202940940857,
-0.054287388920784,
-0.04689288139343262,
0.01787310652434826,
0.021744240075349808,
-0.025917377322912216,
0.039791230112314224,
0.01512762252241373,
-0.025057125836610794,
-0.05717930197715759,
0.02013355679810047,
0.014770708978176117,
0.06545235961675644,
-0.04630718007683754,
-0.08090028911828995,
0.06548896431922913,
-0.024398209527134895,
0.023537958040833473,
0.02793073281645775,
0.008643701672554016,
0.0025235582143068314,
-0.0721147358417511,
0.07094333320856094,
-0.06007121130824089,
0.020444711670279503,
-0.04868660122156143,
-0.011997769586741924,
-0.038876067847013474,
0.0088496133685112,
0.02485579065978527,
0.02097550593316555,
-0.00896858423948288,
0.04268313944339752,
-0.01788225956261158,
0.005911944434046745,
0.001510016736574471,
-0.03624040260910988,
-0.07094333320856094,
0.02910214103758335,
-0.009737320244312286,
-0.013617604970932007,
-0.07043083757162094,
0.02150629833340645,
-0.017909713089466095,
0.06237741932272911,
0.03453820198774338,
-0.023171892389655113,
0.013992821797728539,
-0.02200048603117466,
-0.0812663584947586,
-0.020078646019101143,
0.026869146153330803,
0.01442294754087925,
-0.04411079362034798,
0.03345831111073494,
0.031188709661364555,
-0.04235368221998215,
-0.012583472765982151,
-0.01154933962970972,
0.06918621808290482,
-0.00005222856270847842,
-0.02908383682370186,
-0.0018772253533825278,
-0.02115853689610958,
-0.0860251933336258,
0.049858007580041885,
-0.03484935685992241,
-0.006525102537125349,
-0.004221183247864246,
-0.03931534290313721,
0.009746471419930458,
0.023171892389655113,
0.04465989023447037,
0.038693033158779144,
-0.0017502466216683388,
0.02055453136563301,
0.009064676240086555,
-0.06190153583884239,
0.08500021696090698,
-0.01321493461728096,
-0.05117584019899368,
-0.04817410930991173,
-0.011961163021624088,
0.0723709836602211,
-0.014139247126877308,
-0.038949280977249146,
0.018348991870880127,
-0.016161754727363586,
0.054763272404670715,
0.041914403438568115,
0.018257474526762962,
-0.009471923112869263,
0.04594111442565918,
-0.02897401712834835,
-0.03592924773693085,
0.00151916837785393,
-0.03364134207367897,
0.04001086577773094,
0.022275034338235855,
-0.03322036936879158,
0.045245591551065445,
0.007586690131574869,
0.014404644258320332,
0.05571504309773445,
-0.008199848234653473,
0.00893655326217413,
-0.0008608239586465061,
-0.0019664536230266094,
0.033549826592206955,
0.008401184342801571,
0.053665079176425934,
0.012638382613658905,
0.011466975323855877,
0.033860981464385986,
0.02588077075779438,
0.0013738864799961448,
-0.006085825152695179,
0.07050405442714691,
0.055129338055849075,
-0.004186864476650953,
0.008474396541714668,
0.030566399917006493,
-0.05959532782435417,
0.04271974787116051,
-0.02674102410674095,
-0.004422518890351057,
-0.04213404282927513,
-0.04026711359620094,
-0.0007121101371012628,
-0.024745970964431763,
0.01064333040267229,
0.016500364989042282,
0.02860795333981514,
-0.0012938097352162004,
0.011906253173947334
] |
726,181 | pydantic_extra_types.color | __str__ | null | def __str__(self) -> str:
return self.as_named(fallback=True)
| (self) -> str | [
0.012214841321110725,
-0.033538199961185455,
0.03741057962179184,
-0.022038906812667847,
0.018974673002958298,
-0.06131833419203758,
0.043067626655101776,
-0.010615378618240356,
0.11994283646345139,
-0.0794006735086441,
-0.029867853969335556,
0.0028748230542987585,
-0.028419919312000275,
-0.0008733905851840973,
0.03714119642972946,
0.016996391117572784,
-0.010404922999441624,
-0.033588707447052,
0.018637944012880325,
0.038824841380119324,
0.019378747791051865,
0.028504101559519768,
0.062025465071201324,
-0.03996971994638443,
-0.01215591374784708,
0.053842950612306595,
-0.022392472252249718,
-0.025759760290384293,
-0.030406620353460312,
-0.013359718956053257,
-0.006044283974915743,
-0.06744679808616638,
0.0027738043572753668,
0.01630609668791294,
-0.036972831934690475,
0.016280842944979668,
-0.06660497933626175,
0.04616553336381912,
-0.054819464683532715,
-0.056267399340867996,
0.004162811208516359,
0.02213992550969124,
-0.05599801614880562,
-0.045525748282670975,
-0.03276372328400612,
-0.03798301890492439,
0.02825155481696129,
0.07650480419397354,
0.010505941696465015,
0.015826258808374405,
0.041249290108680725,
0.03518817201256752,
-0.04677164554595947,
-0.013645938597619534,
-0.05785002559423447,
-0.020069042220711708,
0.026803620159626007,
0.009453663602471352,
-0.011086799204349518,
0.03264586627483368,
-0.039060551673173904,
-0.01320819091051817,
0.04178805649280548,
-0.030709676444530487,
-0.016828026622533798,
-0.0075469366274774075,
0.011575056239962578,
0.010590123943984509,
0.02372255176305771,
0.028436755761504173,
0.056166380643844604,
-0.0586245022714138,
-0.00011614516552072018,
0.045660439878702164,
0.026214344426989555,
-0.007336481008678675,
-0.08748216927051544,
-0.019143037497997284,
0.01331762783229351,
-0.038185056298971176,
0.001867793151177466,
-0.00830878596752882,
-0.06788454949855804,
-0.03680446743965149,
-0.047579795122146606,
-0.08243123441934586,
-0.04872467368841171,
-0.05815308168530464,
-0.02188737876713276,
-0.0060358657501637936,
-0.010952107608318329,
0.014462506398558617,
-0.01703006401658058,
0.0915902629494667,
-0.03165251761674881,
-0.03744425252079964,
0.03155149891972542,
-0.025389358401298523,
0.03848811239004135,
0.015506366267800331,
0.006237903144210577,
-0.00934422668069601,
-0.018553761765360832,
0.02077617309987545,
-0.048455290496349335,
-0.03102956898510456,
-0.01694588176906109,
0.015742076560854912,
0.004516376182436943,
-0.006902942433953285,
-0.047613468021154404,
0.019530275836586952,
0.007163907401263714,
-0.014976018108427525,
0.037578944116830826,
-0.06620090454816818,
-0.01538851112127304,
0.0030473966617137194,
0.03150098770856857,
-0.03798301890492439,
0.00831720419228077,
0.023368986323475838,
-0.067177414894104,
-0.013477574102580547,
0.006705114152282476,
0.07623542100191116,
-0.050677698105573654,
-0.03375707194209099,
0.08101697266101837,
-0.025254666805267334,
0.030827531591057777,
0.02628169022500515,
-0.043202318251132965,
-0.0069239879958331585,
0.08734747767448425,
0.02321745827794075,
-0.010345995426177979,
0.05485313758254051,
0.032426994293928146,
0.16661345958709717,
0.00002127574225596618,
-0.03400962054729462,
0.022325126454234123,
0.033184632658958435,
0.028066353872418404,
-0.018503252416849136,
0.02700565755367279,
0.05791737139225006,
-0.025608232244849205,
-0.015960950404405594,
0.04508800059556961,
0.04118194431066513,
-0.008620260283350945,
0.02188737876713276,
-0.005795946344733238,
0.03899320587515831,
-0.020456280559301376,
-0.030844368040561676,
0.01630609668791294,
-0.05145217478275299,
-0.005732809659093618,
-0.06785087287425995,
0.0017730881227180362,
-0.011844439432024956,
0.02737605944275856,
0.020018532872200012,
0.0113056730479002,
-0.006612513680011034,
0.04828692600131035,
0.023840406909585,
-0.03596264496445656,
-0.03821872919797897,
-0.05758064240217209,
0.05101442709565163,
0.004507957957684994,
0.05646943673491478,
0.013494410552084446,
0.0867413654923439,
0.010792161338031292,
-0.042730897665023804,
0.035120826214551926,
-0.0403064489364624,
-0.04545840248465538,
-0.014159450307488441,
0.09091680496931076,
-0.009689373895525932,
0.01380588486790657,
0.024143463000655174,
0.01380588486790657,
0.00414386996999383,
0.03311728686094284,
0.027897989377379417,
0.004811014048755169,
0.03646773844957352,
0.0002145331382052973,
-0.057142894715070724,
0.008136211894452572,
-0.07630276679992676,
0.016642825677990913,
0.01069956086575985,
-0.006595677230507135,
0.045896150171756744,
-0.02579343318939209,
0.025961797684431076,
0.010127121582627296,
-0.002767490688711405,
0.02442968264222145,
-0.013746957294642925,
0.01706373691558838,
-0.01932823844254017,
-0.008144630119204521,
0.010615378618240356,
-0.044683925807476044,
0.009672537446022034,
0.030120400711894035,
-0.03835342079401016,
0.015556875616312027,
-0.02222410775721073,
0.010783743113279343,
0.043707411736249924,
0.0635407418012619,
-0.00092442607274279,
0.03825240209698677,
-0.03983502835035324,
-0.0225945096462965,
-0.008645514957606792,
0.014605616219341755,
-0.0268709659576416,
0.014437251724302769,
0.009908247739076614,
0.015801003202795982,
-0.04983587935566902,
-0.019951187074184418,
0.008186721242964268,
-0.013763793744146824,
0.03352136164903641,
-0.02958163432776928,
-0.04340435564517975,
-0.04653593525290489,
-0.023874079808592796,
-0.014344651252031326,
0.006477822083979845,
-0.01394057646393776,
0.018536925315856934,
0.06296830624341965,
-0.06498868018388748,
-0.023318476974964142,
0.010867925360798836,
-0.006090584211051464,
-0.015464275144040585,
0.07967005670070648,
-0.013578592799603939,
-0.01880630850791931,
0.006178975570946932,
-0.002672785660251975,
-0.07239671051502228,
-0.07024165242910385,
0.007260716985911131,
0.01833488792181015,
0.0058169919066131115,
-0.07616807520389557,
0.008940151892602444,
-0.029632143676280975,
0.0439767949283123,
-0.007530100177973509,
-0.009066425263881683,
-0.047950197011232376,
0.010665887966752052,
0.021230757236480713,
-0.0001563947880640626,
0.04717572033405304,
-0.016920628026127815,
-0.06121731549501419,
0.03065916709601879,
-0.02700565755367279,
-0.023436332121491432,
-0.007816319353878498,
-0.002710667671635747,
-0.08121901005506516,
-0.03835342079401016,
-0.006730368826538324,
-0.046502262353897095,
0.014605616219341755,
0.003870277898386121,
0.05266439914703369,
-0.03168619051575661,
0.025136811658740044,
-0.031113751232624054,
0.023503677919507027,
0.008211975917220116,
0.059836726635694504,
0.0030852786730974913,
-0.008350877091288567,
0.0008844395051710308,
0.015447438694536686,
-0.03185455501079559,
0.01667649857699871,
-0.003859755117446184,
0.0017625653417780995,
-0.04229314997792244,
-0.015497948043048382,
0.002325533889234066,
0.020237406715750694,
0.0024644345976412296,
-0.0403064489364624,
-0.022190434858202934,
-0.055189866572618484,
-0.001798342796973884,
-0.021045556291937828,
0.012475806288421154,
-0.04330333694815636,
0.02150014042854309,
0.00653674965724349,
0.05646943673491478,
0.02200523391366005,
0.08579852432012558,
-0.021668504923582077,
0.0019414526177570224,
0.02980050817131996,
0.05340520292520523,
-0.03707385063171387,
-0.020877191796898842,
-0.08398018777370453,
-0.009916665963828564,
0.00019085689564235508,
-0.009302135556936264,
-0.04862365499138832,
0.03774730861186981,
0.031197933480143547,
0.032932087779045105,
-0.019530275836586952,
-0.049196094274520874,
0.018419070169329643,
-0.019900677725672722,
-0.03707385063171387,
-0.01418470498174429,
0.050913408398628235,
0.011162563227117062,
-0.011979131028056145,
-0.015018109232187271,
0.043202318251132965,
0.003293629502877593,
-0.026567909866571426,
0.01673542708158493,
-0.03555857390165329,
0.04774815961718559,
-0.029648980125784874,
0.01442041527479887,
0.034295838326215744,
-0.019496602937579155,
-0.02161799557507038,
-0.04252886027097702,
0.0064104762859642506,
0.014285723678767681,
0.016903791576623917,
0.012551569379866123,
0.015262237749993801,
0.10297169536352158,
-0.021685341373085976,
0.009184280410408974,
0.008746533654630184,
-0.06498868018388748,
0.015203310176730156,
-0.0017309969989582896,
0.027174022048711777,
0.007740555796772242,
0.01589360460639,
0.026466891169548035,
0.024345500394701958,
-0.06263157725334167,
-0.035996317863464355,
0.01057328749448061,
-0.03875749558210373,
-0.05646943673491478,
-0.053775604814291,
0.07764968276023865,
0.0367034487426281,
0.02676994726061821,
-0.032814230769872665,
-0.050071585923433304,
0.05582965165376663,
-0.010228140279650688,
0.03579428046941757,
0.06155404448509216,
-0.003518817014992237,
0.014614034444093704,
0.018301215022802353,
0.011204654350876808,
0.023419495671987534,
-0.018873654305934906,
-0.015413765795528889,
-0.033689726144075394,
-0.010430177673697472,
0.03805036470293999,
-0.003600894706323743,
-0.054583754390478134,
-0.014807653613388538,
-0.04091256111860275,
-0.0323764830827713,
0.0525297075510025,
0.007816319353878498,
-0.03730956092476845,
-0.016162987798452377,
-0.010354413650929928,
-0.04579513147473335,
0.0586245022714138,
0.03261219337582588,
-0.009159025736153126,
-0.008186721242964268,
0.0031862971372902393,
0.012012803927063942,
-0.033167798072099686,
-0.0770435705780983,
-0.05343887582421303,
0.07239671051502228,
0.049532823264598846,
-0.020338425412774086,
0.0062884120270609856,
0.021045556291937828,
-0.02919439598917961,
-0.0635407418012619,
0.03323514387011528,
0.013401810079813004,
0.08135370165109634,
0.031366296112537384,
0.043202318251132965,
0.002929541515186429,
0.029160723090171814,
0.08014147728681564,
0.007929965853691101,
-0.022325126454234123,
-0.0281168632209301,
-0.020069042220711708,
-0.012871461920440197,
0.05545924976468086,
-0.04983587935566902,
0.015304328873753548,
-0.03308361396193504,
-0.037578944116830826,
0.008052029646933079,
0.013410228304564953,
-0.030356111004948616,
0.017880303785204887,
0.03970033675432205,
0.010354413650929928,
-0.02187054231762886,
-0.062395866960287094,
0.017392048612236977,
0.03582795336842537,
0.004890987183898687,
0.007479590829461813,
0.02885766699910164,
-0.0029695280827581882,
-0.03345401585102081,
0.019260892644524574,
-0.04091256111860275,
0.00039223654312081635,
-0.03741057962179184,
0.004295398015528917,
0.009133771061897278,
-0.062126483768224716,
0.058220427483320236,
-0.018856817856431007,
0.04579513147473335,
0.0002128231863025576,
0.03394227474927902,
0.0029779463075101376,
0.020961374044418335,
-0.0672784373164177,
-0.03606366366147995,
0.03042345680296421,
0.010842670686542988,
-0.011591892689466476,
-0.03276372328400612,
-0.026567909866571426,
0.062261175364255905,
-0.053371530026197433,
-0.024463355541229248,
-0.018419070169329643,
-0.03156833350658417,
-0.053001128137111664,
-0.026820456609129906,
-0.0001379799359710887,
0.04774815961718559,
0.014117359183728695,
0.025574559345841408,
0.033588707447052,
0.054819464683532715,
-0.019883841276168823,
0.00984090194106102,
0.03227546438574791,
0.05949999764561653,
-0.04475127160549164,
-0.0017436243360862136,
0.0028811367228627205,
0.03875749558210373,
-0.014403578825294971,
-0.030490802600979805,
-0.058220427483320236,
0.023486841470003128,
0.025153648108243942,
-0.04182172939181328,
0.032797396183013916,
0.0012059103464707732,
0.04579513147473335,
-0.037814654409885406,
0.037208542227745056,
0.034514714032411575,
-0.0023528931196779013,
-0.029985709115862846,
0.005800155457109213,
-0.027190858498215675,
0.032090265303850174,
-0.028537774458527565,
0.020725663751363754,
-0.00802677497267723,
-0.012240095995366573,
-0.0100766122341156,
-0.006768250837922096,
0.054314371198415756,
-0.024951612576842308,
0.004756295587867498,
-0.06199179217219353,
0.004798386711627245,
-0.017190011218190193,
0.045020654797554016,
0.017779286950826645,
0.03875749558210373,
-0.025204157456755638,
0.08748216927051544,
0.0256755780428648,
0.02776329778134823,
0.015885185450315475,
0.03727588802576065,
-0.013056662864983082,
0.07064572721719742,
-0.10364515334367752,
0.04168703779578209,
-0.013384973630309105,
0.017291029915213585,
0.02921123243868351,
-0.013746957294642925,
0.00342200743034482,
-0.03399278223514557,
0.004019701387733221,
-0.05673881992697716,
-0.02468222938477993,
0.030406620353460312,
0.026938311755657196,
-0.002357102232053876,
-0.026450054720044136,
-0.045997168868780136,
-0.04337068274617195,
-0.045660439878702164,
-0.03150098770856857,
0.019833331927657127,
-0.03754527121782303,
0.02735922299325466,
0.00805623922497034,
0.03714119642972946,
-0.012122240848839283,
0.01823386922478676,
0.0794680193066597,
0.011962294578552246,
0.03602999076247215,
0.04781550541520119,
-0.010489105246961117,
0.010345995426177979,
0.011288836598396301,
-0.032460667192935944,
0.003268374828621745,
-0.05387662351131439,
0.04704102873802185,
0.05391029641032219,
-0.050913408398628235,
0.05411233380436897,
0.08020882308483124,
0.024463355541229248,
-0.028504101559519768,
0.03606366366147995,
-0.032932087779045105,
0.05037464201450348,
-0.011735002510249615,
-0.038824841380119324,
-0.05650310963392258,
-0.019984859973192215,
-0.03606366366147995,
0.002672785660251975,
-0.01331762783229351,
-0.05879286676645279,
-0.04592982307076454,
-0.00770267378538847,
0.019227219745516777,
-0.012458969838917255,
0.05276541784405708,
-0.06465195119380951,
0.008595005609095097,
-0.030878040939569473,
0.03737690672278404,
-0.02116341143846512,
0.020254243165254593,
0.0201532244682312,
0.015203310176730156,
0.07320486009120941,
0.06549376994371414,
0.0415186733007431,
0.02030475251376629,
0.029261741787195206,
-0.03311728686094284,
0.034413695335388184,
-0.03680446743965149,
0.01706373691558838,
-0.018637944012880325,
0.018065504729747772,
-0.012610496953129768,
-0.032679539173841476,
0.03310045227408409,
-0.02064148150384426,
-0.034295838326215744,
-0.013056662864983082,
0.005476053804159164,
0.061890773475170135,
-0.03959931805729866,
0.05000424385070801,
-0.04165336489677429,
-0.0014889731537550688,
0.006250530481338501,
-0.006275784689933062,
0.012214841321110725,
-0.06684068590402603,
-0.015363256447017193,
-0.0032010290306061506,
-0.015380092896521091,
-0.054684773087501526,
-0.07057838141918182,
-0.007845783606171608,
0.03042345680296421,
0.026584746316075325,
-0.029615307226777077,
0.011398273520171642,
-0.020708827301859856,
-0.01624717004597187,
-0.04266355186700821,
0.03178720921278,
-0.05997141823172569,
0.012576824054121971,
-0.05020627751946449,
-0.04340435564517975,
0.00635575782507658,
-0.045896150171756744,
-0.04374108463525772,
0.022156761959195137,
-0.013250282034277916,
-0.009453663602471352,
0.027830643579363823,
0.00023860399960540235,
-0.011457201093435287,
0.0012837789254263043,
-0.012905134819447994,
-0.025490377098321915,
-0.007677419111132622,
-0.06630191951990128,
-0.007934174500405788,
-0.0305413119494915,
0.061789754778146744,
0.010270231403410435,
-0.03434634953737259,
-0.024648556485772133,
-0.010287067852914333,
-0.0354575552046299,
-0.00959677342325449,
0.027578096836805344,
-0.013746957294642925,
-0.09125353395938873,
-0.05532455816864967,
0.025389358401298523,
0.029648980125784874,
0.030591821298003197,
0.07623542100191116,
-0.05061035230755806,
0.040373794734478,
-0.029632143676280975,
-0.03565959259867668,
-0.0026054398622363806,
0.023318476974964142,
0.038824841380119324,
-0.029648980125784874,
-0.007075516041368246,
0.06370911002159119,
-0.06357441842556,
-0.02042260766029358,
-0.03582795336842537,
-0.039767682552337646,
0.03798301890492439,
0.050778716802597046,
0.0055602360516786575,
0.026618419215083122,
-0.04411148652434349,
-0.01465612556785345,
-0.02003536932170391,
0.03143364191055298,
0.040407467633485794,
-0.005648627411574125,
-0.02700565755367279,
0.03261219337582588,
-0.014765562489628792,
0.031837716698646545,
0.021298103034496307,
0.03949829936027527,
-0.02884083054959774,
0.030608657747507095,
0.04353904724121094,
-0.02054046280682087,
0.006343130487948656,
0.005955892615020275,
-0.07852517813444138,
0.043202318251132965,
0.02249349094927311,
-0.005880128592252731,
0.03764628991484642,
0.023183785378932953,
-0.004369057714939117,
-0.01595253124833107,
0.005871710367500782,
0.057614315301179886,
0.06559479236602783,
-0.032090265303850174,
-0.02724136784672737,
-0.026938311755657196,
0.004684740677475929,
0.033538199961185455,
0.060308147221803665,
-0.030574984848499298,
0.043337009847164154,
0.034514714032411575,
-0.032208118587732315,
0.04414515942335129,
0.019900677725672722,
0.029648980125784874,
0.0403064489364624,
-0.00504672434180975,
0.04007073864340782,
0.022813383489847183,
-0.0029442734085023403,
0.04542472958564758,
0.027039330452680588,
0.059466324746608734,
0.029632143676280975,
-0.02442968264222145,
0.024968449026346207,
0.042091112583875656,
0.028773484751582146,
-0.005783319007605314,
0.024227645248174667,
0.01697113737463951,
-0.0390942245721817,
-0.014193123206496239,
0.042225804179906845,
-0.003133683232590556,
0.008005729876458645,
-0.02761176973581314,
-0.015236983075737953,
0.007959429174661636,
0.008729697205126286,
-0.022948075085878372,
0.0427645705640316,
-0.006553586106747389,
-0.002634903648868203
] |
726,182 | pydantic_extra_types.color | _alpha_float | null | def _alpha_float(self) -> float:
return 1 if self._rgba.alpha is None else self._rgba.alpha
| (self) -> float | [
-0.016788272187113762,
-0.04795666038990021,
0.009985237382352352,
0.0694236308336258,
0.06065107136964798,
-0.013864085078239441,
-0.013846883550286293,
0.011051705107092857,
-0.05397704616189003,
0.027143333107233047,
0.0050958250649273396,
-0.05831172317266464,
0.03249287232756615,
-0.03423018380999565,
-0.01115491148084402,
-0.021191753447055817,
0.017588121816515923,
0.038633666932582855,
0.04386280104517937,
-0.019987676292657852,
-0.01218697801232338,
-0.011533335782587528,
0.004958216566592455,
-0.003171452321112156,
-0.0029112857300788164,
0.0026274677366018295,
0.06003183126449585,
0.0028811839874833822,
-0.02151857316493988,
0.01608302630484104,
0.008316731080412865,
-0.0444476380944252,
0.017201097682118416,
0.037842415273189545,
-0.011980564333498478,
0.008325330913066864,
-0.010243253782391548,
-0.0006977195153012872,
-0.06020384281873703,
-0.024958793073892593,
0.03345613554120064,
0.021398166194558144,
0.011516135185956955,
-0.0005308151012286544,
-0.003358514280989766,
-0.00546564906835556,
0.03853045776486397,
0.01013144664466381,
0.02544042281806469,
-0.050192803144454956,
0.044241223484277725,
-0.011043105274438858,
0.04933274909853935,
0.029826704412698746,
-0.021656181663274765,
0.07513439655303955,
0.02482118457555771,
0.0231182761490345,
-0.0169086791574955,
0.03244126960635185,
0.01850838214159012,
-0.00875965878367424,
-0.0063988082110881805,
-0.05194731429219246,
0.005418345797806978,
-0.01707208901643753,
-0.03942491486668587,
0.030566351488232613,
-0.03154681250452995,
0.029052654281258583,
-0.0022060407791286707,
0.02667890302836895,
-0.006987946107983589,
-0.027263740077614784,
-0.048335086554288864,
0.00845003966242075,
-0.017648326233029366,
0.04633975774049759,
-0.01009704452008009,
-0.01991887204349041,
0.0253372173756361,
0.02667890302836895,
0.020159685984253883,
0.03175322711467743,
0.05528432875871658,
-0.08545505255460739,
-0.07410232722759247,
0.01457793079316616,
0.003988504409790039,
0.08841364085674286,
-0.0033112112432718277,
-0.024167543277144432,
-0.013950089924037457,
-0.0077060917392373085,
0.03503863513469696,
0.0001998283842112869,
0.045204486697912216,
-0.03897768631577492,
0.0942620187997818,
-0.0037584397941827774,
0.015635797753930092,
0.007168557494878769,
-0.02836460992693901,
0.030531948432326317,
0.024408357217907906,
-0.02667890302836895,
-0.013520062901079655,
-0.031529612839221954,
0.024752380326390266,
0.03226925805211067,
0.02480398304760456,
-0.026713304221630096,
-0.027074528858065605,
0.013330850750207901,
0.011369925923645496,
-0.1004544124007225,
-0.018921207636594772,
0.015377781353890896,
0.011636543087661266,
0.05524992570281029,
0.04382839798927307,
0.04510127753019333,
-0.0035584771540015936,
0.05676362290978432,
0.009589612483978271,
-0.01893840916454792,
0.013236245140433311,
0.002054456155747175,
-0.011636543087661266,
-0.02196580171585083,
0.036225512623786926,
0.04097301512956619,
-0.01258260291069746,
0.008256526663899422,
0.007073951419442892,
-0.03213164955377579,
0.026214472949504852,
0.06677465885877609,
-0.004306724760681391,
0.0002667513908818364,
-0.015575594268739223,
-0.015317577868700027,
0.008204923942685127,
-0.06416009366512299,
0.001253530033864081,
0.026661701500415802,
0.02526841312646866,
-0.0060074832290410995,
-0.06295602023601532,
-0.03309491276741028,
0.044757258147001266,
0.006360105704516172,
-0.01240199152380228,
-0.0067987339571118355,
0.030273932963609695,
-0.03595029562711716,
-0.012952426448464394,
-0.03870246931910515,
0.05211932584643364,
0.010157248005270958,
-0.0051087262108922005,
0.03395496681332588,
0.008316731080412865,
-0.05635079741477966,
0.01929963193833828,
0.011963363736867905,
-0.07272624224424362,
-0.002853232203051448,
-0.023634308949112892,
-0.05150008574128151,
0.037567198276519775,
-0.007250262890011072,
-0.020520910620689392,
0.061063896864652634,
-0.002765076467767358,
0.05346101149916649,
-0.018921207636594772,
0.025595232844352722,
0.01581640914082527,
0.05132807418704033,
0.043002743273973465,
-0.013855484314262867,
-0.04386280104517937,
-0.017046287655830383,
0.08407896757125854,
0.007779196370393038,
0.03438499569892883,
0.017992347478866577,
-0.02853662148118019,
-0.03966573253273964,
0.043071549385786057,
0.03591589257121086,
0.01904161460697651,
-0.016065824776887894,
-0.010707683861255646,
-0.03656953573226929,
-0.004134713672101498,
-0.0791938528418541,
0.043071549385786057,
-0.02482118457555771,
-0.04723421484231949,
-0.0915786474943161,
-0.03839284926652908,
0.03994094952940941,
0.0018942708848044276,
-0.038633666932582855,
0.04403480887413025,
-0.04314035177230835,
-0.04840388894081116,
-0.020606914535164833,
-0.0862807035446167,
-0.016736667603254318,
-0.015240172855556011,
0.01138712652027607,
-0.043002743273973465,
-0.057761285454034805,
0.00024068097991403192,
0.01993607170879841,
0.037291981279850006,
0.10217452049255371,
-0.029396675527095795,
-0.05352981761097908,
0.06987085938453674,
-0.006622422486543655,
0.07086852192878723,
0.036500729620456696,
0.038633666932582855,
0.046236552298069,
-0.020589714869856834,
0.008376934565603733,
0.01831916905939579,
0.020847730338573456,
-0.05469949170947075,
0.0020533809438347816,
-0.03318091854453087,
0.05397704616189003,
0.025681238621473312,
0.0244427602738142,
-0.03390336409211159,
-0.043897200375795364,
0.060341451317071915,
0.044757258147001266,
0.0640568882226944,
0.04747502878308296,
-0.01293522585183382,
-0.02322148159146309,
0.014741340652108192,
0.024167543277144432,
-0.05060562863945961,
0.018215961754322052,
-0.058930959552526474,
0.0002189108490711078,
0.03032553568482399,
0.03230366110801697,
-0.0489199236035347,
-0.013425457291305065,
-0.04561731219291687,
0.022481834515929222,
0.011068906635046005,
-0.014982156455516815,
-0.07272624224424362,
-0.02776257134974003,
0.04386280104517937,
0.05528432875871658,
0.030824366956949234,
0.04640856012701988,
0.023685911670327187,
0.004498086869716644,
0.025853250175714493,
0.03424738720059395,
0.0640224888920784,
-0.031976841390132904,
0.014904751442372799,
-0.020331697538495064,
0.029740698635578156,
-0.03452260419726372,
0.04933274909853935,
0.008411336690187454,
0.01502515934407711,
0.07843700796365738,
0.04568611457943916,
-0.02757336013019085,
-0.06515775620937347,
0.045582909137010574,
0.02143256738781929,
0.030359936878085136,
-0.00182224134914577,
0.012531000189483166,
-0.02169058471918106,
-0.028863443061709404,
-0.01850838214159012,
0.0329057015478611,
0.03760160133242607,
-0.009968035854399204,
0.04221149533987045,
-0.027177734300494194,
0.004212118685245514,
-0.011619341559708118,
0.08318451046943665,
0.04382839798927307,
0.052497752010822296,
-0.033129315823316574,
0.04124823212623596,
-0.0034509701654314995,
-0.02268824726343155,
0.03656953573226929,
-0.006222497206181288,
0.0613391138613224,
0.002541462192311883,
0.03397216647863388,
-0.007800697814673185,
-0.0036917857360094786,
-0.036225512623786926,
-0.0075770835392177105,
0.040766600519418716,
-0.02881183847784996,
0.01409630011767149,
0.003924000542610884,
-0.005848373286426067,
0.059963028877973557,
-0.021208953112363815,
0.017665527760982513,
-0.024064335972070694,
0.021277757361531258,
0.007220160681754351,
-0.07816179096698761,
0.026094065979123116,
0.02704012580215931,
0.0009573486167937517,
-0.011610740795731544,
-0.09274832159280777,
-0.07217580825090408,
-0.01120651513338089,
0.0005283962236717343,
-0.04781905189156532,
-0.014526327140629292,
0.028691431507468224,
0.04011296108365059,
0.019093219190835953,
-0.03763600066304207,
-0.05831172317266464,
0.00584407290443778,
0.001030453247949481,
0.05555954575538635,
-0.029362274333834648,
-0.010647479444742203,
0.018869604915380478,
-0.02339349314570427,
0.03959692642092705,
-0.03595029562711716,
-0.03859926387667656,
-0.04929834604263306,
0.003627281403169036,
0.04145464673638344,
0.028691431507468224,
-0.0014061897527426481,
-0.0042336201295256615,
-0.054733894765377045,
0.028691431507468224,
0.04386280104517937,
0.03595029562711716,
0.012075170874595642,
-0.01457793079316616,
0.02542322315275669,
-0.03839284926652908,
0.012780415825545788,
-0.028227001428604126,
-0.018387973308563232,
0.040869809687137604,
-0.04778464883565903,
0.01339105423539877,
0.011223716661334038,
-0.02107134461402893,
-0.05817411467432976,
-0.01857718639075756,
-0.020761724561452866,
0.004545390140265226,
0.043174754828214645,
0.043174754828214645,
-0.032957304269075394,
0.02464917302131653,
0.05342660844326019,
-0.030996378511190414,
0.008901568129658699,
0.015936817973852158,
0.0048421090468764305,
-0.015721803531050682,
-0.058999765664339066,
-0.009030576795339584,
0.024408357217907906,
0.004876511171460152,
0.004738902673125267,
0.038117632269859314,
-0.04578932374715805,
0.0037433889228850603,
0.01714949496090412,
0.007413673214614391,
-0.027194935828447342,
0.004695899784564972,
0.014388718642294407,
0.026076864451169968,
-0.021140148863196373,
0.01637544482946396,
-0.03137480095028877,
-0.013176040723919868,
-0.01084529235959053,
0.04142024368047714,
0.030273932963609695,
0.01902441494166851,
0.04947035759687424,
-0.03983774408698082,
0.03120279125869274,
-0.04885111749172211,
-0.014990757219493389,
0.011068906635046005,
0.023513900116086006,
-0.005164629779756069,
-0.05050242319703102,
-0.029912708327174187,
0.001802890095859766,
-0.011524735949933529,
-0.002605966292321682,
-0.03663833811879158,
0.032424069941043854,
0.023238683119416237,
-0.053048186004161835,
-0.012531000189483166,
0.04740622639656067,
-0.0061407918110489845,
-0.00827372819185257,
-0.016332441940903664,
-0.07726733386516571,
0.07616645842790604,
-0.06512335687875748,
0.054733894765377045,
0.03939051553606987,
0.0009637990151531994,
-0.022344226017594337,
-0.036844752728939056,
-0.019076017662882805,
0.08373494446277618,
0.024236347526311874,
-0.003947651945054531,
-0.01321044284850359,
-0.009950835257768631,
-0.04675258323550224,
0.011885958723723888,
0.02107134461402893,
0.024666374549269676,
-0.06219916790723801,
-0.016521655023097992,
0.04365638643503189,
0.017450513318181038,
-0.011610740795731544,
0.011619341559708118,
-0.027418550103902817,
-0.05700443685054779,
-0.01365767139941454,
0.00564626045525074,
-0.03328412398695946,
-0.02650689147412777,
0.051878511905670166,
-0.07107493281364441,
-0.012961027212440968,
-0.005727965384721756,
0.011455930769443512,
0.10361941158771515,
-0.0013750127982348204,
-0.02678210847079754,
-0.007895303890109062,
0.03424738720059395,
-0.045135680586099625,
-0.010587275959551334,
-0.03787681832909584,
-0.002386652398854494,
0.013373853638768196,
0.006747130770236254,
0.025113603100180626,
0.023599905893206596,
-0.017803136259317398,
-0.0013298598350957036,
-0.038633666932582855,
-0.009417600929737091,
-0.011808553710579872,
0.03474621847271919,
0.0560411773622036,
-0.04723421484231949,
0.029482681304216385,
0.029998714104294777,
0.01031205803155899,
-0.030084719881415367,
-0.042899537831544876,
0.01213537435978651,
0.049848780035972595,
-0.027005722746253014,
0.007000846788287163,
0.06987085938453674,
0.01581640914082527,
0.003536975709721446,
0.055181123316287994,
0.018009549006819725,
-0.014973555691540241,
-0.019712457433342934,
-0.027521757408976555,
0.02284305728971958,
-0.07568483054637909,
-0.017029086127877235,
-0.020692920312285423,
-0.016126029193401337,
-0.0006283776019699872,
-0.00929719302803278,
0.0009326220024377108,
0.010879694484174252,
-0.051259271800518036,
0.021312160417437553,
0.01663346216082573,
-0.012703010812401772,
-0.023324688896536827,
0.02943107858300209,
-0.015592794865369797,
-0.014973555691540241,
0.03132319822907448,
-0.01449192501604557,
-0.022069009020924568,
-0.03032553568482399,
0.03345613554120064,
-0.03240686655044556,
0.01564439758658409,
-0.007779196370393038,
0.038186438381671906,
-0.01138712652027607,
-0.030101921409368515,
-0.011266718618571758,
-0.0008976822718977928,
-0.021398166194558144,
-0.001832991954870522,
-0.044069211930036545,
-0.008742458187043667,
-0.03639752417802811,
-0.026885315775871277,
0.0329057015478611,
-0.046993400901556015,
0.044069211930036545,
-0.05432106554508209,
0.02162178047001362,
-0.04410361498594284,
-0.05683242902159691,
0.042555514723062515,
-0.0071126539260149,
0.026885315775871277,
0.027280941605567932,
-0.02162178047001362,
-0.011378525756299496,
-0.01812995783984661,
0.021638981997966766,
0.03577828407287598,
0.001610452774912119,
-0.006097789388149977,
-0.03629431501030922,
-0.0008546795579604805,
0.002347949892282486,
-0.012350387871265411,
0.023169878870248795,
-0.007417973596602678,
-0.11098148673772812,
-0.06945803016424179,
0.0289150457829237,
0.022464632987976074,
0.03608790412545204,
-0.005121626891195774,
-0.0400097519159317,
-0.016599059104919434,
0.016848474740982056,
-0.016685064882040024,
-0.03901208937168121,
0.019901670515537262,
-0.051190465688705444,
-0.04750943183898926,
-0.009658416733145714,
-0.025681238621473312,
0.003543426049873233,
-0.052463348954916,
-0.03340453281998634,
-0.026197271421551704,
-0.011326923035085201,
-0.02693691849708557,
0.026971321552991867,
0.046270951628685,
-0.027280941605567932,
0.001267505926080048,
-0.04062899202108383,
-0.04613334313035011,
0.026644499972462654,
-0.05459628626704216,
-0.041041821241378784,
-0.057933297008275986,
-0.037842415273189545,
0.01983286626636982,
0.010656080208718777,
0.005525852553546429,
0.046030137687921524,
-0.021501371636986732,
-0.014844547025859356,
-0.02322148159146309,
0.04885111749172211,
0.007516879588365555,
0.0658802017569542,
-0.03175322711467743,
-0.03853045776486397,
-0.09446842968463898,
-0.00920258741825819,
0.05466508865356445,
-0.07857461273670197,
-0.040869809687137604,
0.026438087224960327,
-0.016495853662490845,
-0.021742187440395355,
0.03407537564635277,
-0.027452951297163963,
0.1022433266043663,
-0.07891863584518433,
0.07141895592212677,
-0.01240199152380228,
0.03533105552196503,
0.06622422486543655,
-0.05985981971025467,
0.060169439762830734,
-0.08511102944612503,
0.006841736845672131,
-0.041936278343200684,
-0.00809741672128439,
0.053220197558403015,
-0.031013580039143562,
-0.041041821241378784,
-0.04031937196850777,
-0.046202149242162704,
-0.016917278990149498,
-0.010286256670951843,
0.03195963799953461,
-0.02249903604388237,
0.025285614654421806,
0.01636684499680996,
-0.02704012580215931,
-0.005207632202655077,
0.03884007781744003,
0.06546737998723984,
-0.08772560209035873,
-0.05211932584643364,
0.03443659842014313,
-0.022997867316007614,
-0.034367792308330536,
0.023703113198280334,
0.0008939195540733635,
0.0015169217949733138,
-0.03942491486668587,
0.01610022783279419,
-0.012066570110619068,
0.04809426888823509,
-0.025199608877301216,
0.007078251801431179,
-0.08676233887672424,
-0.011129110120236874,
-0.040044154971838,
0.06539857387542725,
0.03252727538347244,
-0.01031205803155899,
-0.02409873716533184,
-0.053770631551742554,
-0.010380862280726433,
-0.05008959770202637,
-0.0880008190870285,
0.026180071756243706,
-0.05879335105419159,
-0.0018340670503675938,
0.027796974405646324,
0.004046558402478695,
-0.010071243159472942,
0.06464172899723053,
0.018250364810228348,
0.0060031833127141,
0.038014426827430725,
0.013055632822215557,
-0.03271648660302162,
0.024150341749191284,
0.053495414555072784,
0.0032381066121160984,
-0.02026289328932762,
0.03361094370484352,
0.022000204771757126,
-0.02303227037191391,
-0.04730301722884178,
-0.056075580418109894,
-0.0021146598737686872,
0.021673383191227913,
0.0204521045088768,
-0.0053581418469548225,
-0.021398166194558144,
0.06563939154148102,
0.016504453495144844,
-0.02452876605093479,
-0.03355934098362923,
-0.02686811424791813,
-0.07313907146453857,
0.06680906563997269,
0.02748735435307026,
0.005684962961822748,
0.04702780023217201,
0.00037869293009862304,
-0.037911221385002136,
-0.051259271800518036,
-0.05297937989234924,
0.06484813988208771,
-0.028777437284588814,
0.01708929054439068,
-0.036156706511974335,
0.06897640228271484,
-0.009718620218336582,
-0.02561243437230587,
0.019316833466291428,
0.04031937196850777,
-0.03211444988846779,
0.05469949170947075,
0.035709477961063385,
0.021449768915772438,
-0.03877127543091774,
-0.017183896154165268,
-0.013253445737063885,
0.005439847242087126,
-0.06199275702238083,
-0.018645990639925003,
0.03866806626319885,
0.010355060920119286,
0.022103410214185715,
0.04410361498594284,
-0.008944571018218994,
-0.004773304797708988,
0.037291981279850006,
-0.0010804439662024379,
-0.03318091854453087,
-0.01696888357400894,
0.036775946617126465,
-0.00880696251988411,
-0.04221149533987045,
-0.021845394745469093,
0.01831916905939579,
0.050743237137794495,
0.03839284926652908,
-0.0008433913462795317,
-0.002917736303061247,
-0.0444476380944252,
-0.010518471710383892,
0.04410361498594284,
0.04506687447428703,
0.05222253128886223,
0.08483581244945526,
-0.04685578867793083,
0.030119122937321663,
0.03326692432165146,
0.03361094370484352,
-0.025388820096850395,
-0.041489049792289734,
0.0015319727826863527,
-0.018731996417045593,
0.04723421484231949,
-0.06013503670692444,
0.03225205838680267,
-0.026644499972462654,
0.0400097519159317
] |
726,183 | pydantic_extra_types.color | as_hex | Returns the hexadecimal representation of the color.
Hex string representing the color can be 3, 4, 6, or 8 characters depending on whether the string
a "short" representation of the color is possible and whether there's an alpha channel.
Returns:
The hexadecimal representation of the color.
| def as_hex(self) -> str:
"""Returns the hexadecimal representation of the color.
Hex string representing the color can be 3, 4, 6, or 8 characters depending on whether the string
a "short" representation of the color is possible and whether there's an alpha channel.
Returns:
The hexadecimal representation of the color.
"""
values = [float_to_255(c) for c in self._rgba[:3]]
if self._rgba.alpha is not None:
values.append(float_to_255(self._rgba.alpha))
as_hex = ''.join(f'{v:02x}' for v in values)
if all(c in repeat_colors for c in values):
as_hex = ''.join(as_hex[c] for c in range(0, len(as_hex), 2))
return '#' + as_hex
| (self) -> str | [
-0.03727685660123825,
-0.050110481679439545,
-0.03026658296585083,
0.02216211147606373,
0.030693132430315018,
-0.019194798544049263,
-0.015318747609853745,
0.005202068947255611,
0.0387234203517437,
-0.018397334963083267,
0.039094336330890656,
-0.04510314017534256,
0.06806271523237228,
-0.021809743717312813,
0.026909809559583664,
-0.05411635339260101,
0.032084058970212936,
-0.002832855563610792,
0.050110481679439545,
-0.023478856310248375,
0.024257775396108627,
0.005081521812826395,
0.02702108398079872,
0.01143342349678278,
-0.026297802105545998,
0.024127954617142677,
0.038129959255456924,
0.01402054913341999,
-0.07974650710821152,
0.03152769058942795,
-0.00257089757360518,
-0.05474690720438957,
-0.0038320051971822977,
0.031824421137571335,
-0.00466887978836894,
0.005382889416068792,
-0.03987325355410576,
0.010246499441564083,
-0.06806271523237228,
-0.05318906530737877,
0.03486591577529907,
-0.005693529732525349,
-0.028263647109270096,
-0.027410544455051422,
0.0012935625854879618,
-0.028560377657413483,
0.018907340243458748,
0.08983536809682846,
-0.02140173688530922,
-0.08649714291095734,
0.04829300194978714,
-0.0014002003008499742,
-0.02414650097489357,
0.03957652300596237,
0.04406458139419556,
-0.0013804954942315817,
-0.04191328212618828,
0.054375991225242615,
0.02275557443499565,
0.049479927867650986,
-0.01038559153676033,
0.006718179676681757,
0.10548794269561768,
-0.02874583564698696,
0.0016436126315966249,
0.019213344901800156,
-0.017636960372328758,
-0.0035770018585026264,
0.03464336693286896,
-0.0046735163778066635,
0.01182288397103548,
0.022699937224388123,
-0.022125020623207092,
-0.029339296743273735,
-0.028393466025590897,
0.0005470981705002487,
-0.02453596144914627,
0.030674587935209274,
0.0075851911678910255,
-0.03801868483424187,
0.03809286653995514,
-0.009606672450900078,
0.033233895897865295,
0.0041287364438176155,
0.0497024767100811,
-0.07907886058092117,
-0.0353110134601593,
0.0014500418910756707,
-0.020530089735984802,
0.03449500352144241,
0.014994198456406593,
-0.008716478943824768,
-0.08464257419109344,
0.012249434366822243,
-0.020530089735984802,
-0.07752102613449097,
0.06257319450378418,
-0.011526152491569519,
0.07232823222875595,
-0.03045203909277916,
-0.021309008821845055,
-0.00029658630955964327,
-0.07095585018396378,
-0.009884857572615147,
-0.028319284319877625,
-0.027113813906908035,
-0.056490201503038406,
0.015448568388819695,
0.03735103830695152,
-0.01592148281633854,
-0.01568038947880268,
0.03890887647867203,
0.07336679100990295,
-0.0729958713054657,
0.0716605857014656,
-0.04847845807671547,
0.03508846461772919,
-0.016153303906321526,
0.041579458862543106,
-0.04999920725822449,
0.0661710575222969,
0.020159175619482994,
0.00035062964889220893,
0.08412329107522964,
0.011479788459837437,
0.08256545662879944,
-0.06999146938323975,
0.007334824185818434,
-0.0007621123804710805,
-0.04688353091478348,
0.05307779461145401,
0.09591835737228394,
0.0019020932959392667,
-0.00037844819598831236,
0.06676451861858368,
-0.012063977308571339,
-0.019157707691192627,
0.049220286309719086,
-0.0018035692628473043,
0.03746231272816658,
-0.022922484204173088,
-0.027577456086874008,
0.0010831847321242094,
-0.004993429873138666,
0.005744530353695154,
0.00312958681024611,
0.02312648855149746,
0.006639360450208187,
-0.0173958670347929,
0.0066579063422977924,
0.05778840184211731,
0.018907340243458748,
-0.012305071577429771,
-0.001820955891162157,
-0.007371915504336357,
-0.008456839248538017,
-0.0005378252826631069,
-0.021420283243060112,
0.04013289511203766,
-0.015012743882834911,
-0.013547633774578571,
0.011340695433318615,
0.038575056940317154,
-0.055525824427604675,
0.009342396631836891,
0.009866312146186829,
-0.05849313735961914,
-0.0387234203517437,
0.007395097985863686,
-0.014549101702868938,
-0.005744530353695154,
-0.008192562498152256,
-0.015949301421642303,
0.06350047886371613,
-0.00392009736970067,
-0.004444013349711895,
-0.06082989647984505,
0.013612543232738972,
-0.0029302206821739674,
-0.04502895846962929,
-0.041505277156829834,
-0.026594532653689384,
-0.0340128131210804,
-0.02216211147606373,
0.10496865957975388,
-0.022885393351316452,
0.03173169121146202,
0.016301671043038368,
0.011609608307480812,
-0.041579458862543106,
0.023404672741889954,
0.010088860988616943,
0.04855264350771904,
0.06387139111757278,
0.025463245809078217,
-0.08352982997894287,
-0.015170382335782051,
-0.04213583096861839,
-0.007283823564648628,
-0.053040701895952225,
-0.06962055712938309,
-0.023738496005535126,
-0.03968779742717743,
0.007395097985863686,
0.00019096274627372622,
-0.044880595058202744,
0.05956878885626793,
-0.04777372255921364,
-0.002257938962429762,
-0.017043497413396835,
-0.0009469898068346083,
-0.0012866079341620207,
0.00487288273870945,
0.05511781945824623,
0.004979520570486784,
-0.053671255707740784,
0.012972717173397541,
0.03664630278944969,
-0.0041287364438176155,
0.04899773746728897,
-0.04773662984371185,
-0.04102308675646782,
0.04706898704171181,
-0.012073250487446785,
0.012731622904539108,
0.008016378618776798,
0.0022533026058226824,
0.03890887647867203,
-0.011396332643926144,
-0.03664630278944969,
0.06921254843473434,
-0.0032478156499564648,
-0.04072635620832443,
0.05815931409597397,
-0.029969850555062294,
0.05849313735961914,
0.025518883019685745,
-0.022458842024207115,
0.008364110253751278,
-0.03994743898510933,
-0.02160573936998844,
0.06661615520715714,
0.10741669684648514,
0.02281121164560318,
0.07551808655261993,
-0.019658442586660385,
0.01538365799933672,
0.05085230991244316,
-0.06008806824684143,
-0.029598936438560486,
-0.06179427355527878,
-0.017562778666615486,
-0.00811837986111641,
0.00030948137282393873,
-0.06876745820045471,
0.00047581311082467437,
-0.04729153588414192,
0.04614170268177986,
0.026093799620866776,
0.0168765876442194,
-0.026538897305727005,
0.003820414189249277,
0.025147968903183937,
0.009541762992739677,
0.04573369398713112,
-0.017497867345809937,
-0.03525537624955177,
0.08085925132036209,
-0.04480640962719917,
0.025630157440900803,
0.0834556519985199,
-0.03212115168571472,
-0.021958108991384506,
0.00591144198551774,
-0.00017893702897708863,
-0.02529633417725563,
-0.0009632172877900302,
0.003980370704084635,
-0.007951469160616398,
0.040244169533252716,
0.0042145103216171265,
-0.025314880535006523,
0.005438526626676321,
-0.004965611267834902,
0.06131208315491676,
0.052595604211091995,
0.026334892958402634,
-0.0031087228562682867,
0.013204538263380527,
-0.027558909729123116,
0.0347917340695858,
-0.00552661856636405,
0.0034309544134885073,
-0.02919093146920204,
0.0028861744794994593,
0.05025884509086609,
0.01938025653362274,
0.04169073328375816,
0.007358006201684475,
0.01809133030474186,
0.029988396912813187,
-0.010673049837350845,
0.03065604157745838,
-0.07473917305469513,
-0.044620953500270844,
-0.005178886465728283,
-0.03601574897766113,
0.055711280554533005,
0.02956184558570385,
0.0013584725093096495,
-0.06450194120407104,
-0.011081055738031864,
0.031434960663318634,
0.02312648855149746,
0.037814680486917496,
-0.026909809559583664,
0.003057722235098481,
-0.037295401096343994,
0.0583447702229023,
0.028820017352700233,
-0.02948766201734543,
0.03065604157745838,
-0.025908343493938446,
0.021939562633633614,
0.055711280554533005,
-0.016069848090410233,
-0.009087393060326576,
0.0226257536560297,
0.01956571266055107,
-0.026409076526761055,
-0.061645906418561935,
-0.04714316874742508,
-0.012369981966912746,
0.012917079962790012,
0.012815078720450401,
-0.04347112029790878,
0.026334892958402634,
0.01437291782349348,
-0.035515014082193375,
-0.017636960372328758,
-0.008364110253751278,
0.006523449905216694,
0.016978587955236435,
0.005276251584291458,
-0.009073483757674694,
-0.016783857718110085,
-0.05025884509086609,
0.02260720729827881,
-0.033864449709653854,
0.013380722142755985,
0.028653105720877647,
-0.053226158022880554,
0.02333049103617668,
0.01593075692653656,
0.0669870674610138,
-0.001540452241897583,
-0.0018742748070508242,
-0.018953705206513405,
0.022310476750135422,
0.07722429186105728,
0.04046671837568283,
0.001571748056448996,
0.018907340243458748,
0.015494932420551777,
-0.058715686202049255,
0.028245100751519203,
-0.061200808733701706,
-0.026093799620866776,
0.030099671334028244,
-0.03264043107628822,
0.002217370318248868,
0.04128272831439972,
0.012221615761518478,
-0.09005791693925858,
-0.02516651526093483,
-0.023682858794927597,
-0.00014148341142572463,
0.039020150899887085,
-0.03197278827428818,
-0.06646779179573059,
0.008197199553251266,
-0.0012414028169587255,
-0.033029891550540924,
-0.034624822437763214,
0.01089559867978096,
-0.0053967987187206745,
0.012342163361608982,
-0.020029356703162193,
-0.007311642169952393,
0.0405409000813961,
-0.039094336330890656,
-0.034624822437763214,
0.03460627421736717,
-0.021568648517131805,
0.0502217561006546,
0.0006108490051701665,
0.010348500683903694,
0.03620120510458946,
-0.012305071577429771,
-0.00926821306347847,
0.009578853845596313,
-0.01867551915347576,
0.06587432324886322,
-0.05604510381817818,
-0.007367279380559921,
-0.012815078720450401,
0.01848079077899456,
-0.01424309704452753,
0.027540363371372223,
0.016162578016519547,
-0.011757973581552505,
0.007784557528793812,
-0.032195333391427994,
-0.009940494783222675,
0.031230958178639412,
-0.03562628850340843,
-0.023534493520855904,
-0.07143803685903549,
0.008095198310911655,
0.04484350234270096,
-0.03286297991871834,
-0.018833158537745476,
-0.05678693205118179,
0.059605877846479416,
0.0023610994685441256,
0.02739199809730053,
0.009866312146186829,
0.0905030146241188,
0.007548099849373102,
0.023905407637357712,
0.014280188828706741,
-0.027169451117515564,
0.06272155791521072,
-0.04139400273561478,
0.022013746201992035,
0.024424687027931213,
0.041579458862543106,
-0.004525150638073683,
-0.013223083689808846,
0.025277789682149887,
0.04091181233525276,
-0.01822114922106266,
-0.03141641616821289,
-0.007121548522263765,
0.0345320925116539,
-0.03416118025779724,
-0.018397334963083267,
0.0010066838003695011,
0.053226158022880554,
-0.0010681163985282183,
0.0173958670347929,
0.0397619791328907,
-0.018137695267796516,
-0.033678989857435226,
0.02872728928923607,
-0.03657212108373642,
0.009365578182041645,
0.014660376124083996,
-0.06060734763741493,
-0.009277486242353916,
0.012036159634590149,
0.05975424498319626,
-0.07989487797021866,
-0.02268139086663723,
-0.021698469296097755,
-0.03421681746840477,
0.06372302770614624,
0.00695927394554019,
-0.027874186635017395,
-0.016079122200608253,
0.02503669448196888,
-0.031620416790246964,
-0.023738496005535126,
0.006592996418476105,
0.005967078730463982,
-0.005888259503990412,
-0.00487288273870945,
0.023089395835995674,
-0.03089713677763939,
-0.03184296563267708,
-0.031694602221250534,
-0.013083991594612598,
-0.0002555829123593867,
-0.07707592844963074,
0.033233895897865295,
0.0402812585234642,
0.030359311029314995,
-0.007144731003791094,
0.010886325500905514,
0.04250674322247505,
-0.0277258213609457,
-0.05778840184211731,
-0.05155704542994499,
0.017664778977632523,
0.0073997341096401215,
-0.010654504410922527,
0.014984925277531147,
-0.02205083705484867,
-0.07885631918907166,
0.02383122406899929,
0.008911209180951118,
-0.012184524908661842,
0.014196733012795448,
-0.014002003706991673,
0.04113436117768288,
-0.04580787941813469,
0.032454974949359894,
0.00042307376861572266,
0.009138393215835094,
-0.022125020623207092,
-0.0382041409611702,
-0.00854029506444931,
0.0701027438044548,
-0.07488753646612167,
0.018397334963083267,
-0.007844830863177776,
-0.0020585726015269756,
-0.05396798625588417,
0.011387059465050697,
-0.007719647604972124,
-0.04169073328375816,
0.08271382004022598,
-0.03627539053559303,
-0.007469280622899532,
-0.04588206112384796,
0.03957652300596237,
0.0066764517687261105,
-0.004564560484141111,
-0.06962055712938309,
0.034309543669223785,
-0.028782926499843597,
0.029339296743273735,
0.001131867291405797,
-0.0196213498711586,
-0.01251834724098444,
0.022087927907705307,
-0.02485123835504055,
-0.020752638578414917,
-0.007172549609094858,
-0.01032068207859993,
0.01271307747811079,
-0.018202604725956917,
0.03573756292462349,
-0.07789193838834763,
-0.08879680931568146,
-0.028504740446805954,
0.04083763062953949,
0.04365657642483711,
-0.01847151666879654,
-0.01701567880809307,
-0.007436825428158045,
-0.01172088272869587,
0.03733249381184578,
-0.027577456086874008,
-0.02574143186211586,
0.0071169123984873295,
-0.008178653195500374,
0.008948300033807755,
-0.03206551447510719,
0.022848302498459816,
-0.019157707691192627,
0.03058185987174511,
-0.007019547279924154,
-0.022848302498459816,
-0.07818867266178131,
-0.0014500418910756707,
-0.0029719483572989702,
-0.0277258213609457,
-0.024814145639538765,
-0.05344870686531067,
-0.00930530484765768,
-0.008350200951099396,
0.007905104197561741,
0.02503669448196888,
-0.05266978591680527,
0.0009504671324975789,
-0.036349572241306305,
-0.05745457857847214,
0.06242482736706734,
-0.011229421012103558,
-0.01475310418754816,
0.0298214852809906,
-0.05541455000638962,
-0.07110421359539032,
0.007905104197561741,
0.025908343493938446,
0.05856731906533241,
0.01834169775247574,
-0.005021248012781143,
-0.04250674322247505,
0.006175718270242214,
-0.018907340243458748,
0.02631634846329689,
-0.04799627140164375,
0.021995199844241142,
-0.02485123835504055,
-0.0010698550613597035,
0.03134223446249962,
-0.0018429788760840893,
0.028708742931485176,
0.0402812585234642,
0.020103538408875465,
0.0334935337305069,
-0.02179119735956192,
0.06542922556400299,
0.013723817653954029,
0.06134917587041855,
-0.0395023413002491,
-0.002325167180970311,
-0.04113436117768288,
-0.02522215247154236,
0.06735797971487045,
-0.04272929206490517,
-0.013631089590489864,
-0.0007910900167189538,
-0.015151836909353733,
-0.03338225930929184,
0.03523682802915573,
-0.07685337960720062,
0.06988019496202469,
-0.031620416790246964,
0.07188313454389572,
-0.06320374459028244,
0.042914748191833496,
0.014623284339904785,
-0.02197665348649025,
0.009347032755613327,
0.0037624589167535305,
-0.014780922792851925,
-0.05448726564645767,
0.028875654563307762,
0.06194263696670532,
-0.026390530169010162,
-0.0009429329074919224,
-0.054190535098314285,
-0.09591835737228394,
0.002638125792145729,
0.030804406851530075,
0.007664010394364595,
0.013501269742846489,
0.029654573649168015,
0.06153463199734688,
-0.06290701031684875,
0.002281120978295803,
0.011507607065141201,
0.0805625170469284,
-0.01334363128989935,
-0.11513170599937439,
-0.002941811690106988,
-0.06019934266805649,
-0.0344022735953331,
0.02333049103617668,
0.026464713737368584,
0.013584725558757782,
-0.025055240839719772,
0.013612543232738972,
-0.021698469296097755,
-0.01867551915347576,
-0.024294866248965263,
-0.0073904613964259624,
0.001883547636680305,
0.03696158155798912,
0.00579553097486496,
-0.0224959347397089,
0.006694997660815716,
-0.005827986169606447,
0.07177186012268066,
0.005688893608748913,
-0.0358302928507328,
-0.03879760578274727,
-0.06175718083977699,
-0.02841201238334179,
-0.03759213536977768,
-0.036034293472766876,
0.03714703768491745,
0.005253069568425417,
-0.003943279385566711,
0.07648246735334396,
0.04547405615448952,
-0.05522909387946129,
0.05945751443505287,
-0.019213344901800156,
-0.027187995612621307,
-0.00769182899966836,
0.033864449709653854,
0.02084536664187908,
-0.013937093317508698,
0.012091795913875103,
0.0020736411679536104,
-0.036664847284555435,
-0.06168299913406372,
0.001681863097473979,
-0.028004007413983345,
0.04391621798276901,
0.017349502071738243,
0.017942965030670166,
-0.014539828523993492,
-0.005790894851088524,
-0.0018348651938140392,
-0.02592688798904419,
-0.008048833347856998,
-0.002052777213975787,
-0.000770805636420846,
0.045399874448776245,
0.053411614149808884,
0.013223083689808846,
0.07128967344760895,
0.006124717183411121,
0.01772041618824005,
-0.0014465645654127002,
-0.029098203405737877,
0.04680934548377991,
-0.018833158537745476,
0.002575534163042903,
-0.04502895846962929,
-0.00033034526859410107,
-0.025463245809078217,
-0.02917238511145115,
-0.007881922647356987,
0.035329557955265045,
0.007738193031400442,
0.039094336330890656,
0.012230888940393925,
0.021828288212418556,
-0.02127191796898842,
0.010691596195101738,
-0.013223083689808846,
0.005053703207522631,
-0.008215744979679585,
-0.03636811673641205,
0.020418815314769745,
0.010144498199224472,
0.017859509214758873,
0.05088939890265465,
0.01612548530101776,
0.013389995321631432,
0.027633093297481537,
0.03777759149670601,
-0.03798159211874008,
-0.032195333391427994,
0.01880533993244171,
-0.000871647906024009,
-0.038389597088098526,
0.015476386062800884,
0.037499405443668365,
0.03301134705543518,
0.08204617351293564,
0.022978121414780617,
-0.0004960974911227822,
-0.06127499043941498,
0.006745998281985521,
0.05778840184211731,
-0.026279255747795105,
0.07366351783275604,
0.05103776603937149,
-0.02624216489493847,
-0.0389830619096756,
0.04703189432621002,
0.018128421157598495,
-0.0499621145427227,
-0.012796533294022083,
0.011971249245107174,
0.003502818988636136,
-0.0035770018585026264,
-0.004154236987233162,
0.029209477826952934,
-0.006087625864893198,
0.002211574697867036
] |
726,184 | pydantic_extra_types.color | as_hsl |
Color as an `hsl(<h>, <s>, <l>)` or `hsl(<h>, <s>, <l>, <a>)` string.
| def as_hsl(self) -> str:
"""
Color as an `hsl(<h>, <s>, <l>)` or `hsl(<h>, <s>, <l>, <a>)` string.
"""
if self._rgba.alpha is None:
h, s, li = self.as_hsl_tuple(alpha=False) # type: ignore
return f'hsl({h * 360:0.0f}, {s:0.0%}, {li:0.0%})'
else:
h, s, li, a = self.as_hsl_tuple(alpha=True) # type: ignore
return f'hsl({h * 360:0.0f}, {s:0.0%}, {li:0.0%}, {round(a, 2)})'
| (self) -> str | [
-0.05808110535144806,
-0.07678519189357758,
-0.023279840126633644,
-0.004625888541340828,
0.01329885981976986,
-0.01525859534740448,
0.031975600868463516,
-0.007670315448194742,
-0.02519400045275688,
0.003677922999486327,
0.022441254928708076,
-0.0326683446764946,
0.080577053129673,
-0.008171643130481243,
0.0009240382933057845,
-0.01256053987890482,
0.021566210314631462,
-0.03966870158910751,
0.026852941140532494,
-0.024756478145718575,
0.020271873101592064,
0.0026957762893289328,
0.027071701362729073,
-0.00120204733684659,
-0.033780377358198166,
-0.013362664729356766,
0.09217139333486557,
0.011649034917354584,
-0.07230058312416077,
0.02030833438038826,
0.004400291014462709,
-0.018977535888552666,
-0.01477549783885479,
0.03560338914394379,
-0.0024656213354319334,
-0.013863992877304554,
-0.011512309312820435,
-0.021201608702540398,
-0.08808785676956177,
-0.0308635625988245,
0.01901399716734886,
0.038319673389196396,
-0.018904615193605423,
0.008203545585274696,
-0.0029509977903217077,
-0.03441843390464783,
0.014647887088358402,
0.030152589082717896,
-0.004309140145778656,
-0.08743157237768173,
0.028402499854564667,
0.007196332793682814,
-0.06300323456525803,
0.032923564314842224,
0.022149574011564255,
0.005696906708180904,
-0.005605756305158138,
0.02643364854156971,
-0.005323189776390791,
0.05727897956967354,
-0.019086915999650955,
-0.027600374072790146,
0.07627474516630173,
0.0423302985727787,
-0.011977177113294601,
-0.00497681787237525,
-0.01630682684481144,
0.03810091316699982,
0.02302461862564087,
-0.00011108968465123326,
-0.008089607581496239,
0.036606043577194214,
-0.009561688639223576,
-0.018084261566400528,
-0.0156870037317276,
0.03992392495274544,
-0.008755006827414036,
-0.0029578341636806726,
0.03596799075603485,
-0.022897008806467056,
0.021238068118691444,
0.00696389889344573,
0.031045863404870033,
-0.024027274921536446,
0.005719694308936596,
-0.08254589885473251,
-0.02127452939748764,
-0.020034881308674812,
0.0003378265828359872,
0.027071701362729073,
-0.01767408475279808,
-0.03040781058371067,
-0.0683264210820198,
0.023699132725596428,
0.006922881118953228,
-0.005227481946349144,
0.023389220237731934,
0.003461440559476614,
0.04575755447149277,
-0.03502002730965614,
0.016206560656428337,
-0.021985502913594246,
-0.034345511347055435,
0.024318955838680267,
-0.0016156428027898073,
-0.043715786188840866,
-0.009169741533696651,
0.015814613550901413,
0.043715786188840866,
0.0175920482724905,
0.014593197032809258,
0.04316888004541397,
0.03385329991579056,
-0.022605326026678085,
-0.005464473273605108,
0.0012510407250374556,
0.04871083423495293,
-0.010372928343713284,
0.02047240547835827,
-0.01494868379086256,
0.004300025291740894,
0.031392235308885574,
-0.021693821996450424,
0.03642374277114868,
0.019141606986522675,
0.07120677828788757,
-0.05746128037571907,
-0.031738609075546265,
-0.012688150629401207,
-0.011229743249714375,
0.046705521643161774,
0.10186980664730072,
0.017847269773483276,
-0.0178654994815588,
0.04010622575879097,
-0.010290892794728279,
-0.00764297042042017,
0.052502695471048355,
0.02914993278682232,
0.046085696667432785,
-0.0103273531422019,
-0.03319701552391052,
-0.012496734969317913,
-0.03999684378504753,
0.042694900184869766,
0.04068958759307861,
0.037626929581165314,
0.007141642272472382,
0.005943013355135918,
0.046377379447221756,
0.04488250985741615,
-0.0142924003303051,
0.03279595449566841,
0.05089844390749931,
0.01543178129941225,
-0.02909524366259575,
-0.0010243038414046168,
-0.01574169285595417,
0.044153306633234024,
0.01278841681778431,
0.0556018128991127,
-0.022149574011564255,
0.0459398590028286,
-0.0490025132894516,
-0.013116558082401752,
-0.015532046556472778,
-0.029058782383799553,
-0.015778154134750366,
-0.008253678679466248,
-0.05053384229540825,
-0.010254432447254658,
-0.043642863631248474,
-0.026306036859750748,
0.08240006119012833,
-0.028840022161602974,
-0.02592320553958416,
-0.04411684721708298,
0.021566210314631462,
-0.013189478777348995,
-0.06289385259151459,
-0.04703366383910179,
-0.021693821996450424,
-0.031446926295757294,
-0.03908533975481987,
0.05498198792338371,
0.021001078188419342,
-0.008194430731236935,
-0.007989342324435711,
-0.029368694871664047,
-0.06234695017337799,
-0.00947053823620081,
-0.03323347494006157,
0.007506244350224733,
0.03193913772702217,
0.013162133283913136,
-0.026105506345629692,
-0.024683557450771332,
-0.020563555881381035,
-0.027272231876850128,
-0.021310988813638687,
-0.0571696013212204,
0.030334889888763428,
-0.042621977627277374,
0.02683470956981182,
0.0016646361909806728,
-0.021529750898480415,
0.05377880111336708,
-0.009871600195765495,
-0.01730036735534668,
-0.01077399030327797,
-0.02914993278682232,
0.0037348922342061996,
-0.05574765056371689,
0.09705706685781479,
-0.0014071359764784575,
-0.032978255301713943,
-0.038647815585136414,
0.062201108783483505,
0.009342927485704422,
0.05549243092536926,
-0.021930811926722527,
-0.09552573412656784,
0.08495227247476578,
-0.0011262785410508513,
0.0061936769634485245,
-0.00005825087282573804,
0.009251777082681656,
-0.008203545585274696,
-0.00001429567601007875,
-0.007597395218908787,
0.034691885113716125,
-0.008363059721887112,
0.013216824270784855,
0.06701385229825974,
-0.0653366893529892,
0.08794201165437698,
-0.015586737543344498,
0.021256299689412117,
-0.03494710475206375,
-0.013481160625815392,
-0.048929594457149506,
0.04338764399290085,
0.03223082050681114,
0.04214799776673317,
0.05071614310145378,
-0.02513931132853031,
0.02479293942451477,
0.04488250985741615,
-0.06562836468219757,
-0.02694409154355526,
-0.07569138705730438,
0.019943730905652046,
0.03846551477909088,
-0.012706381268799305,
-0.056695617735385895,
-0.004081264138221741,
-0.04776286706328392,
0.04316888004541397,
0.026360727846622467,
-0.041382331401109695,
0.0037781887222081423,
-0.03175683692097664,
0.01412832923233509,
0.043533485382795334,
0.03203028813004494,
-0.024063734337687492,
-0.008827926591038704,
0.07882696390151978,
-0.010846910998225212,
0.018220987170934677,
0.07335793226957321,
-0.05228393152356148,
-0.025394532829523087,
0.002238884335383773,
0.044444989413022995,
0.003762237261980772,
0.029879137873649597,
0.017983995378017426,
0.042111534625291824,
0.058445706963539124,
0.06278447061777115,
-0.010591689497232437,
-0.04305950179696083,
0.0026205771137028933,
0.07419651746749878,
0.07926448434591293,
0.014137444086372852,
-0.1010676845908165,
0.008162528276443481,
-0.0009553713025525212,
0.026123736053705215,
-0.02869418077170849,
-0.041892774403095245,
0.03937701880931854,
0.05111720785498619,
0.07270164787769318,
0.06081562116742134,
0.005336862523108721,
0.05746128037571907,
-0.0053459773771464825,
-0.0005998843116685748,
-0.04502835124731064,
0.04513773322105408,
-0.0775143951177597,
-0.06985775381326675,
-0.06788890063762665,
-0.03784569352865219,
-0.005159118678420782,
0.01276107132434845,
0.009826024994254112,
-0.06340429186820984,
0.011621690355241299,
0.03151984512805939,
-0.008832484483718872,
0.03306940570473671,
-0.0059475707821547985,
0.031246395781636238,
-0.02530338242650032,
0.01571434736251831,
0.005514605902135372,
-0.04714304208755493,
-0.012533195316791534,
-0.024373646825551987,
0.0142924003303051,
0.04397100582718849,
-0.048455610871315,
-0.010682839900255203,
-0.0011348238913342357,
0.07299333065748215,
-0.047726407647132874,
-0.07992076873779297,
-0.06537314504384995,
0.0387936569750309,
-0.03356161713600159,
-0.030608341097831726,
-0.03414498269557953,
0.05024215951561928,
0.059357210993766785,
-0.0453929528594017,
-0.05695083737373352,
0.025686213746666908,
-0.026561258360743523,
0.0029737853910773993,
0.049367114901542664,
0.01143027376383543,
0.006745137739926577,
-0.028785331174731255,
-0.01724567636847496,
0.015513816848397255,
-0.03006143867969513,
-0.0025453779380768538,
-0.11309955269098282,
-0.006581066641956568,
0.006371420808136463,
0.0755455419421196,
0.053122516721487045,
0.003607281483709812,
-0.026397187262773514,
0.01901399716734886,
-0.0009992375271394849,
0.02672532945871353,
-0.012979832477867603,
-0.002716285176575184,
0.038210295140743256,
-0.046705521643161774,
0.019433287903666496,
-0.05549243092536926,
0.003800976322963834,
0.04728888347744942,
-0.0065992968156933784,
-0.016261251643300056,
0.021128688007593155,
0.04349702224135399,
-0.05319543927907944,
-0.034746576100587845,
0.024136655032634735,
0.02944161556661129,
0.04014268517494202,
-0.03135577589273453,
-0.06985775381326675,
-0.0008927052840590477,
0.012487620115280151,
0.004409405868500471,
-0.013225939124822617,
0.04214799776673317,
0.017664968967437744,
-0.014028063975274563,
-0.027727985754609108,
-0.0016566605772823095,
0.04612215980887413,
-0.026178427040576935,
0.00019098880875390023,
0.07390483468770981,
-0.008445094339549541,
0.049549415707588196,
0.05315897613763809,
0.008554475381970406,
0.012815761379897594,
-0.006786155514419079,
0.029678605496883392,
0.026962321251630783,
-0.06004995480179787,
0.037699852138757706,
-0.04666906222701073,
-0.04561171680688858,
-0.0023676345590502024,
0.05035154148936272,
0.02995205856859684,
0.020435944199562073,
-0.0011228603543713689,
-0.00528672942891717,
0.00615265965461731,
-0.06679509580135345,
-0.011557884514331818,
0.010856025852262974,
-0.01917806826531887,
0.002928210189566016,
-0.03677011653780937,
-0.03680657595396042,
0.05020570009946823,
-0.04830976948142052,
-0.06781598180532455,
-0.03720763698220253,
0.04258551821112633,
0.02025364339351654,
0.031392235308885574,
-0.004721596371382475,
0.04816392809152603,
0.015067179687321186,
-0.01877700537443161,
0.015331516042351723,
0.010044786147773266,
0.05928429216146469,
-0.06610234826803207,
0.0033361087553203106,
0.03467365354299545,
0.010290892794728279,
0.048856671899557114,
0.006339517887681723,
-0.06103438138961792,
0.05523720756173134,
-0.0019449240062385798,
-0.032467812299728394,
0.04305950179696083,
0.024811169132590294,
-0.039960384368896484,
-0.020800545811653137,
-0.014784612692892551,
-0.024264266714453697,
-0.02331630140542984,
0.027308693155646324,
0.03436374291777611,
-0.023334531113505363,
0.01412832923233509,
0.039960384368896484,
-0.06752429902553558,
-0.008540802635252476,
0.00762929767370224,
-0.0019358089193701744,
0.003924029413610697,
0.017145410180091858,
0.06584712862968445,
-0.01109301671385765,
0.019652049988508224,
-0.0004030561540275812,
-0.07838943600654602,
0.07941032201051712,
-0.041601091623306274,
-0.002300410997122526,
-0.04655968025326729,
-0.01956089958548546,
-0.021128688007593155,
0.03802799433469772,
0.039559319615364075,
0.023917894810438156,
-0.028730640187859535,
-0.010910715907812119,
-0.01866762526333332,
-0.062492791563272476,
-0.032394889742136,
-0.01767408475279808,
-0.03664250671863556,
0.021602671593427658,
-0.020563555881381035,
0.04532003402709961,
0.04564817622303963,
-0.018084261566400528,
-0.005514605902135372,
0.010719300247728825,
0.05082552507519722,
-0.04258551821112633,
-0.008390404284000397,
-0.03040781058371067,
-0.0023300349712371826,
-0.01026354730129242,
0.002793763065710664,
0.04521065205335617,
-0.01939682848751545,
-0.060268718749284744,
0.07102447748184204,
-0.011867796070873737,
-0.014620541594922543,
0.027418073266744614,
-0.003807812463492155,
0.0479816272854805,
-0.053632959723472595,
0.04940357804298401,
0.008308368735015392,
-0.018795235082507133,
-0.0014925895957276225,
-0.04459083080291748,
-0.0009861346334218979,
0.04378870502114296,
-0.04356994479894638,
0.02269647642970085,
-0.026050815358757973,
-0.01837594248354435,
-0.01912337727844715,
0.006129871588200331,
-0.01057345885783434,
-0.05326835811138153,
0.05997703596949577,
-0.017628509551286697,
-0.0050907558761537075,
-0.04528357461094856,
0.014429125934839249,
0.015358860604465008,
-0.005017835646867752,
-0.03664250671863556,
0.003800976322963834,
-0.031847987323999405,
0.010363812558352947,
-0.043642863631248474,
0.013353549875319004,
-0.015140099450945854,
0.029405154287815094,
-0.05972181260585785,
-0.003978719934821129,
-0.01751001365482807,
-0.06818058341741562,
-0.013007177971303463,
-0.02989736758172512,
0.03130108490586281,
-0.03835613653063774,
-0.04918481409549713,
0.00562854390591383,
0.02251417562365532,
0.06205526739358902,
-0.025321612134575844,
-0.04229383543133736,
0.004133675713092089,
0.00299201556481421,
-0.007182660046964884,
-0.036606043577194214,
-0.06861810386180878,
0.00566044682636857,
-0.016160985454916954,
-0.020271873101592064,
-0.03148338571190834,
0.01074664480984211,
-0.017400631681084633,
0.02517577074468136,
0.01802045665681362,
0.009174298495054245,
-0.039340559393167496,
-0.009971865452826023,
0.019433287903666496,
-0.029350465163588524,
-0.028201967477798462,
-0.03376214951276779,
-0.012833992019295692,
0.03051719069480896,
0.03398090973496437,
-0.027873825281858444,
-0.01872231438755989,
-0.012660806067287922,
-0.010628149844706059,
-0.05695083737373352,
0.05388818308711052,
-0.009101378731429577,
-0.03317878395318985,
0.01872231438755989,
-0.07164429873228073,
-0.015158330090343952,
0.023115769028663635,
0.030444269999861717,
0.01703603006899357,
0.027363382279872894,
-0.06788890063762665,
0.023899663239717484,
0.021639131009578705,
-0.015759922564029694,
0.04010622575879097,
-0.05122658610343933,
-0.019761430099606514,
-0.031847987323999405,
-0.01668054424226284,
0.013125673867762089,
0.009342927485704422,
0.05837278813123703,
-0.010546114295721054,
0.009005670435726643,
-0.0041974810883402824,
0.03028019890189171,
0.06464394181966782,
0.02976975589990616,
0.08327510952949524,
-0.023954354226589203,
-0.03057188168168068,
-0.048419151455163956,
-0.00358221516944468,
0.06468040496110916,
-0.014520276337862015,
-0.008399519138038158,
0.03999684378504753,
-0.010363812558352947,
0.012843106873333454,
-0.04655968025326729,
-0.0402885265648365,
0.0561487153172493,
-0.01979789137840271,
0.07076925784349442,
-0.021602671593427658,
0.07386837154626846,
0.014647887088358402,
-0.0020246806088835,
-0.00463500339537859,
0.0006608411786146462,
-0.024993469938635826,
-0.07419651746749878,
-0.029405154287815094,
0.04429914802312851,
-0.017373288050293922,
-0.01872231438755989,
-0.013426470570266247,
-0.0074561117216944695,
0.014547621831297874,
0.029478074982762337,
0.025102850049734116,
0.004477768670767546,
0.003835157724097371,
0.04929419606924057,
-0.007702217902988195,
-0.014520276337862015,
0.03119170479476452,
0.04849207028746605,
0.014100983738899231,
-0.06154482439160347,
-0.027928516268730164,
-0.02944161556661129,
-0.030134359374642372,
0.05144534632563591,
0.03390799090266228,
-0.0009382805437780917,
-0.014784612692892551,
0.008577262982726097,
0.005933898035436869,
-0.08043120801448822,
-0.014966913498938084,
-0.02030833438038826,
-0.039741624146699905,
-0.009525228291749954,
0.033962681889534,
0.02614196576178074,
0.028603030368685722,
0.006330403033643961,
0.05370588228106499,
0.03686126694083214,
-0.027035241946578026,
-0.061800047755241394,
-0.08334802836179733,
-0.005870092660188675,
-0.008891732431948185,
-0.012916027568280697,
-0.007465226575732231,
0.03255896270275116,
-0.011247972957789898,
0.018257446587085724,
0.045976318418979645,
-0.05888323113322258,
0.007004916667938232,
0.0050998711958527565,
-0.08393138647079468,
0.021584440022706985,
0.03698887676000595,
0.0515182688832283,
-0.0054963757283985615,
-0.011384698562324047,
0.02767329476773739,
-0.049038972705602646,
-0.0316474586725235,
-0.015550277195870876,
-0.03680657595396042,
-0.01585107296705246,
0.02513931132853031,
-0.01794753596186638,
-0.017965765669941902,
-0.010619034059345722,
0.036952417343854904,
-0.005291287321597338,
0.024592407047748566,
-0.0163341723382473,
-0.012514964677393436,
0.03150161728262901,
0.04874729365110397,
0.005441685672849417,
0.07714979350566864,
-0.014100983738899231,
0.011229743249714375,
-0.02019895240664482,
-0.029933826997876167,
0.02847541868686676,
-0.03596799075603485,
-0.007665758021175861,
-0.010509653948247433,
-0.024246035143733025,
-0.0272904634475708,
-0.0607062391936779,
-0.0030398694798350334,
0.016452666372060776,
0.019068686291575432,
-0.017847269773483276,
0.06763368099927902,
-0.004830976948142052,
-0.02262355573475361,
-0.02581382542848587,
-0.00017347082030028105,
0.03839259594678879,
0.007086952216923237,
-0.027873825281858444,
-0.02167559042572975,
-0.012569655664265156,
0.009005670435726643,
0.07999368757009506,
0.03846551477909088,
0.0221860334277153,
0.026451878249645233,
0.09107758849859238,
-0.04998693987727165,
-0.03651489317417145,
0.045575253665447235,
0.020727625116705894,
-0.019105147570371628,
-0.02149328961968422,
0.03325170651078224,
0.017263906076550484,
0.03460073471069336,
0.00824912078678608,
-0.00941584724932909,
-0.058846767991781235,
0.00415646331384778,
0.028438959270715714,
0.008691200986504555,
0.050971366465091705,
0.07889988273382187,
-0.0918797180056572,
-0.014939568936824799,
0.03901241719722748,
-0.018977535888552666,
-0.057424820959568024,
0.02825665846467018,
0.002194448607042432,
0.037699852138757706,
0.027181081473827362,
-0.02070939540863037,
-0.0014800564385950565,
-0.02087346650660038,
-0.039814542979002
] |
726,185 | pydantic_extra_types.color | as_hsl_tuple |
Returns the color as an HSL or HSLA tuple.
Args:
alpha: Whether to include the alpha channel.
- `None` (default): Include the alpha channel only if it's set (e.g. not `None`).
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
The color as a tuple of hue, saturation, lightness, and alpha (if included).
All elements are in the range 0 to 1.
Note:
This is HSL as used in HTML and most other places, not HLS as used in Python's `colorsys`.
| def as_hsl_tuple(self, *, alpha: bool | None = None) -> HslColorTuple:
"""
Returns the color as an HSL or HSLA tuple.
Args:
alpha: Whether to include the alpha channel.
- `None` (default): Include the alpha channel only if it's set (e.g. not `None`).
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
The color as a tuple of hue, saturation, lightness, and alpha (if included).
All elements are in the range 0 to 1.
Note:
This is HSL as used in HTML and most other places, not HLS as used in Python's `colorsys`.
"""
h, l, s = rgb_to_hls(self._rgba.r, self._rgba.g, self._rgba.b) # noqa: E741
if alpha is None:
if self._rgba.alpha is None:
return h, s, l
else:
return h, s, l, self._alpha_float()
if alpha:
return h, s, l, self._alpha_float()
else:
# alpha is False
return h, s, l
| (self, *, alpha: Optional[bool] = None) -> Union[Tuple[float, float, float], Tuple[float, float, float, float]] | [
-0.05405542626976967,
-0.05856615677475929,
-0.033665455877780914,
-0.03093334473669529,
0.026789341121912003,
-0.008434699848294258,
-0.0005919188261032104,
0.007678327150642872,
-0.0177953839302063,
-0.0006177042378112674,
-0.0031698886305093765,
-0.026715995743870735,
0.04936132952570915,
-0.00017577066319063306,
-0.018978074193000793,
-0.03361044451594353,
-0.02396554872393608,
-0.006912786513566971,
0.0020158474799245596,
0.0018588427919894457,
0.0037749866023659706,
0.003493065945804119,
0.019436482340097427,
0.039129674434661865,
-0.01803375594317913,
-0.012184473685920238,
0.0865473523736,
0.005019563250243664,
-0.01863885298371315,
0.0222602728754282,
0.015824230387806892,
0.008283425122499466,
0.005413793958723545,
0.011597712524235249,
-0.061426617205142975,
0.01287208590656519,
-0.007527052890509367,
-0.000004091646133019822,
0.003387632081285119,
0.007536220829933882,
0.03548074886202812,
-0.02136179432272911,
0.020298289135098457,
-0.012789572589099407,
0.0018130020471289754,
-0.04829782620072365,
0.01691524125635624,
-0.0049278815276920795,
-0.02422225847840309,
-0.10473696887493134,
0.03157511726021767,
0.01027749851346016,
-0.013779732398688793,
0.022975388914346695,
0.008764753118157387,
0.01939981058239937,
-0.007847937755286694,
0.037406060844659805,
-0.006028059870004654,
0.05959298834204674,
0.012056119740009308,
-0.005202926229685545,
0.014724052511155605,
0.0491412952542305,
0.034857314079999924,
-0.057392630726099014,
-0.011441853828728199,
0.010635056532919407,
-0.0191064290702343,
0.03229023143649101,
-0.04019317775964737,
0.03348208963871002,
0.0017511170590296388,
-0.036342553794384,
-0.02255365438759327,
0.014522353187203407,
0.03487564995884895,
0.01593424752354622,
0.01961984485387802,
-0.02253531850874424,
-0.007696663495153189,
0.04675757512450218,
0.015420831739902496,
0.01936313696205616,
0.008773921988904476,
-0.043750420212745667,
-0.010800083167850971,
0.0077837612479925156,
-0.03397717326879501,
0.045253999531269073,
-0.03370212763547897,
-0.02139846608042717,
-0.0543854795396328,
0.015512512996792793,
0.050754889845848083,
-0.022682007402181625,
0.03287699446082115,
0.024790683761239052,
0.03498566895723343,
-0.04804111644625664,
-0.005065403878688812,
-0.0349673330783844,
-0.061096563935279846,
0.04044988751411438,
-0.008622647263109684,
-0.057612668722867966,
-0.003923968877643347,
-0.009736577048897743,
0.05684254318475723,
0.029008032754063606,
0.03227189555764198,
0.019473154097795486,
0.009571550413966179,
0.029264740645885468,
-0.020866714417934418,
-0.037406060844659805,
0.027632810175418854,
-0.025194082409143448,
-0.015851734206080437,
-0.02893468737602234,
-0.026789341121912003,
0.051891740411520004,
-0.025854188948869705,
0.07283180207014084,
0.011331835761666298,
0.06087652966380119,
0.01069006510078907,
-0.051525015383958817,
-0.033408746123313904,
0.026642650365829468,
-0.0010996052296832204,
0.09483536332845688,
0.0038460397627204657,
0.0030644547659903765,
-0.03938638046383858,
-0.0222602728754282,
0.06153663620352745,
0.05365202575922012,
0.007659991271793842,
-0.043163660913705826,
-0.0037108096294105053,
0.014916582964360714,
0.01473322045058012,
-0.013633042573928833,
0.031905170530080795,
-0.006271015852689743,
0.02834792621433735,
-0.014265644364058971,
-0.00830176193267107,
0.052735209465026855,
0.029264740645885468,
-0.037112679332494736,
-0.00909480731934309,
0.011496862396597862,
-0.0254141166806221,
-0.021453475579619408,
-0.009351515211164951,
-0.015393326990306377,
0.03766276687383652,
-0.028714653104543686,
-0.003137800144031644,
-0.01730947196483612,
0.04624415934085846,
-0.04554738104343414,
-0.008141319267451763,
-0.003548074746504426,
-0.026771003380417824,
-0.030493274331092834,
-0.009388187900185585,
-0.08874770998954773,
-0.005239598918706179,
0.015815062448382378,
-0.010020790621638298,
0.056182436645030975,
-0.07063144445419312,
-0.029356423765420914,
-0.0036214201245456934,
0.002434144262224436,
0.04400712996721268,
-0.05409209802746773,
-0.027834510430693626,
-0.02482735551893711,
-0.047197647392749786,
-0.02227860875427723,
0.03850623965263367,
0.02567082643508911,
0.0036030837800353765,
-0.003697057254612446,
-0.03471062332391739,
-0.0028146225959062576,
-0.015824230387806892,
-0.04239353537559509,
-0.007022804580628872,
0.018959738314151764,
-0.0006045250338502228,
0.020353296771645546,
-0.051011599600315094,
-0.004066075664013624,
-0.030163221061229706,
0.009956613183021545,
-0.03441724181175232,
-0.024625657126307487,
-0.006449794862419367,
0.05830944702029228,
0.031905170530080795,
-0.047821082174777985,
0.02711939439177513,
-0.041806772351264954,
-0.025597481057047844,
-0.00357787124812603,
-0.015870071947574615,
0.01834547147154808,
-0.04642752185463905,
0.08126650005578995,
0.01183608453720808,
-0.08229333162307739,
-0.02689935825765133,
0.02891635149717331,
0.010708401910960674,
0.003000277793034911,
0.016337646171450615,
-0.10194984823465347,
0.06890783458948135,
0.020848378539085388,
0.03357377275824547,
-0.0023768434766680002,
0.011148473247885704,
-0.002722941106185317,
-0.022957053035497665,
-0.0016456833109259605,
0.044593892991542816,
-0.04099997505545616,
0.014201467856764793,
0.022938717156648636,
-0.023928876966238022,
0.10202319920063019,
0.012817076407372952,
0.004052323289215565,
-0.02345213294029236,
-0.016475168988108635,
-0.017236126586794853,
0.04543736204504967,
0.06648743897676468,
0.03582913801074028,
0.0065460605546832085,
0.00039337101043201983,
0.025029055774211884,
0.03839622065424919,
-0.07503215968608856,
-0.03817618638277054,
-0.07796596735715866,
0.04019317775964737,
0.06428708136081696,
0.004664297215640545,
-0.031593453139066696,
-0.056145764887332916,
-0.02979649417102337,
0.020646678283810616,
0.01803375594317913,
-0.05566902086138725,
0.014476512558758259,
0.010268330574035645,
0.03067663684487343,
0.06102322041988373,
0.03214354068040848,
-0.032821983098983765,
0.002651887945830822,
0.072428397834301,
0.00915439985692501,
0.03197851404547691,
0.09432195127010345,
-0.02977815829217434,
-0.011010950431227684,
0.007105317898094654,
0.04081661254167557,
-0.037699442356824875,
0.030126547440886497,
-0.001973444828763604,
0.02864130772650242,
0.06681749224662781,
0.031611789017915726,
-0.007747088558971882,
-0.060216423124074936,
0.0034013844560831785,
0.050424836575984955,
0.040046487003564835,
-0.044337183237075806,
-0.0773058608174324,
-0.0018473826348781586,
-0.01993156224489212,
0.02139846608042717,
-0.0428336076438427,
-0.047527700662612915,
0.016841895878314972,
0.10143643617630005,
0.08016632497310638,
-0.0002135892864316702,
0.03934970870614052,
0.08339351415634155,
0.0006331754848361015,
0.0693112313747406,
-0.01865718886256218,
0.03520570322871208,
-0.04382376745343208,
-0.039459727704524994,
-0.067440927028656,
-0.025267427787184715,
0.027926191687583923,
-0.016337646171450615,
0.011478526517748833,
-0.0059226262383162975,
0.011175977066159248,
0.023617159575223923,
-0.01660352386534214,
0.0182629581540823,
-0.06483717262744904,
0.04312698915600777,
-0.010919269174337387,
-0.023855531588196754,
0.03201518580317497,
-0.05860282853245735,
-0.00838885921984911,
-0.02629425935447216,
0.03755275160074234,
0.013504687696695328,
-0.055045586079359055,
-0.0075408052653074265,
-0.037112679332494736,
0.07257509231567383,
-0.014742388390004635,
-0.09476201981306076,
-0.04066992178559303,
-0.012367837131023407,
0.00038191082421690226,
-0.024442292749881744,
-0.0021270113065838814,
0.011762739159166813,
0.06623072922229767,
-0.02689935825765133,
-0.07613233476877213,
0.006825689226388931,
-0.012771235778927803,
0.01720862090587616,
0.02922806888818741,
0.027321092784404755,
-0.014815733768045902,
-0.030419928953051567,
-0.015824230387806892,
0.024423956871032715,
-0.03735105320811272,
0.0359024852514267,
-0.10297668725252151,
-0.041770100593566895,
0.027871182188391685,
0.08478707075119019,
0.05053485557436943,
-0.029851503670215607,
-0.037736114114522934,
0.06648743897676468,
0.00924149714410305,
0.02768781967461109,
-0.029118051752448082,
-0.00823300052434206,
0.030218228697776794,
-0.051891740411520004,
-0.03784613311290741,
-0.06094987317919731,
-0.022461973130702972,
0.004361748229712248,
-0.01693357713520527,
0.005574236623942852,
0.0234154611825943,
0.03515069559216499,
-0.011762739159166813,
0.003940013237297535,
0.018721366301178932,
0.008265089243650436,
0.0730518326163292,
-0.0554489828646183,
-0.03476563096046448,
0.04822447896003723,
0.02049998752772808,
0.045840758830308914,
-0.00918190460652113,
0.03617752715945244,
-0.007568309549242258,
-0.005578820593655109,
-0.03236357867717743,
-0.040559906512498856,
0.057062577456235886,
-0.019198110327124596,
0.019748199731111526,
0.05662250891327858,
-0.06604737043380737,
0.0703747346997261,
0.025927534326910973,
0.020848378539085388,
-0.0014875326305627823,
-0.0193264652043581,
-0.004730766639113426,
0.040266525000333786,
-0.01658518798649311,
0.006523140240460634,
-0.043457042425870895,
-0.044960618019104004,
0.01908809319138527,
0.046684231609106064,
0.03680096194148064,
0.008705160580575466,
-0.02748611941933632,
0.010552543215453625,
0.024772346019744873,
-0.03788280487060547,
-0.010341675952076912,
0.03791947662830353,
0.008434699848294258,
0.029374759644269943,
0.03238191455602646,
-0.010378347709774971,
0.05405542626976967,
-0.008512629196047783,
-0.0733085423707962,
-0.06872446835041046,
0.01642932929098606,
0.003499942133203149,
0.0352790504693985,
-0.037112679332494736,
0.02801787294447422,
-0.00773792015388608,
-0.05970300734043121,
0.040596578270196915,
-0.043237004429101944,
0.07862607389688492,
-0.05379871651530266,
-0.004109624307602644,
0.011212649755179882,
-0.016686037182807922,
0.054495494812726974,
-0.012496191076934338,
-0.06601069122552872,
0.041440047323703766,
0.006330608855932951,
0.009071886539459229,
0.014623202383518219,
0.057686012238264084,
-0.04338369518518448,
-0.029649803414940834,
0.005986803211271763,
0.02282869815826416,
-0.008049637079238892,
0.009901604615151882,
0.04411714896559715,
0.02831125445663929,
0.025267427787184715,
0.01777704618871212,
-0.03524237498641014,
-0.040339868515729904,
-0.009452364407479763,
-0.022425299510359764,
0.005986803211271763,
0.010607551783323288,
0.011304331943392754,
0.00893894862383604,
0.003937721252441406,
0.040046487003564835,
-0.1045902818441391,
0.07173161953687668,
-0.07433537393808365,
-0.01746532879769802,
-0.06333359330892563,
0.0018725950503721833,
-0.01517329178750515,
0.0335921086370945,
0.01400893647223711,
0.016383487731218338,
-0.046940937638282776,
0.0007351711974479258,
-0.0451439805328846,
-0.04110999405384064,
-0.05222179368138313,
-0.00556506821885705,
-0.0027596137952059507,
0.01875803992152214,
-0.003570995293557644,
0.02314041554927826,
0.051635030657052994,
-0.001639953232370317,
-0.020279953256249428,
0.0003724561829585582,
0.033665455877780914,
-0.021875210106372833,
-0.05284522846341133,
-0.002830666955560446,
-0.0035022341180592775,
-0.02913638763129711,
-0.0016158868093043566,
0.03430722653865814,
0.009319426491856575,
-0.023873867467045784,
0.06061981990933418,
-0.006096821278333664,
-0.04884791374206543,
0.06549727916717529,
-0.011295163072645664,
0.06615738570690155,
-0.026936030015349388,
0.04188011959195137,
-0.02222360111773014,
-0.02831125445663929,
0.008682239800691605,
-0.05053485557436943,
0.003096543252468109,
0.05805273726582527,
-0.06036311388015747,
0.044043801724910736,
0.0002906590816564858,
0.02079336903989315,
-0.01705276221036911,
0.015668371692299843,
-0.008113814517855644,
-0.010240825824439526,
0.05720926821231842,
0.041440047323703766,
0.0382128581404686,
-0.052735209465026855,
0.01126765925437212,
-0.010029958561062813,
-0.022902043536305428,
-0.0021235733292996883,
0.014659875072538853,
-0.009301090613007545,
-0.017566179856657982,
-0.07103484123945236,
-0.01934480108320713,
-0.020848378539085388,
0.01142351794987917,
-0.0659373477101326,
-0.01810709945857525,
-0.020573332905769348,
-0.067440927028656,
-0.00460012024268508,
-0.04268691688776016,
-0.009443196468055248,
-0.014238140545785427,
-0.048994604498147964,
-0.011322667822241783,
-0.012221146374940872,
0.06813770532608032,
-0.06564396619796753,
-0.0021877503022551537,
0.02403889410197735,
0.0015895284013822675,
-0.018143773078918457,
-0.036837633699178696,
-0.07228171080350876,
-0.021031741052865982,
-0.012743731029331684,
-0.005005810875445604,
-0.04686759412288666,
0.006591901183128357,
0.002603755099698901,
-0.02600087970495224,
-0.05233181267976761,
0.008040469139814377,
-0.015659203752875328,
-0.034783970564603806,
0.02946644090116024,
0.006293936166912317,
-0.012972935102880001,
0.0009219722705893219,
-0.023250434547662735,
0.02543245442211628,
0.0014760724734514952,
-0.013816405087709427,
0.007375778164714575,
-0.03894630819559097,
-0.04019317775964737,
-0.054495494812726974,
-0.006394786294549704,
0.002640427788719535,
-0.0027504456229507923,
0.03493065759539604,
-0.06370031833648682,
-0.005840112920850515,
0.013183802366256714,
0.02891635149717331,
0.01644766516983509,
0.026660986244678497,
-0.0375894233584404,
0.017832055687904358,
0.0216368380934,
0.03777278587222099,
0.051855068653821945,
-0.039166346192359924,
-0.021508485078811646,
-0.04070659354329109,
-0.0007896071183495224,
0.019546499475836754,
0.010057462379336357,
0.06043645739555359,
-0.024625657126307487,
0.007797513157129288,
0.009145231917500496,
0.008608894422650337,
0.08221998810768127,
-0.00994744524359703,
0.1004096046090126,
-0.043200332671403885,
-0.03295033797621727,
-0.05695256218314171,
0.0087418332695961,
0.015228300355374813,
-0.004517606925219297,
0.001803833874873817,
0.05691588670015335,
-0.006468131206929684,
0.012303659692406654,
-0.006564396899193525,
-0.03780945762991905,
0.06381034106016159,
-0.018565507605671883,
0.06263681501150131,
0.0015757761429995298,
0.054752204567193985,
0.02339712344110012,
-0.039166346192359924,
0.024075567722320557,
0.007710415869951248,
0.007022804580628872,
-0.041770100593566895,
-0.010680897161364555,
0.012221146374940872,
0.0033005347941070795,
-0.020848378539085388,
-0.01838214509189129,
-0.01934480108320713,
0.021013405174016953,
0.0018072719685733318,
0.041476719081401825,
0.01082758791744709,
-0.015228300355374813,
0.061096563935279846,
0.0018393604550510645,
-0.025267427787184715,
0.07257509231567383,
0.05148834362626076,
-0.020023243501782417,
-0.08244002610445023,
-0.008003796450793743,
-0.018015418201684952,
-0.011790243908762932,
0.045510705560445786,
-0.023580487817525864,
-0.008838098496198654,
-0.043530385941267014,
0.04386043921113014,
-0.011735234409570694,
-0.06065649539232254,
-0.023800522089004517,
-0.00468492554500699,
-0.04646419361233711,
-0.0037749866023659706,
0.04855453222990036,
0.034783970564603806,
0.013211307115852833,
0.03978978097438812,
-0.008269673213362694,
0.0628201812505722,
0.018703030422329903,
-0.051011599600315094,
-0.07569226622581482,
-0.012670386582612991,
-0.026165906339883804,
-0.002200356451794505,
0.014439839869737625,
0.0166401956230402,
-0.01795124262571335,
0.0034151365980505943,
0.02314041554927826,
-0.04448387399315834,
0.001086999080143869,
0.042943622916936874,
-0.047784410417079926,
-0.0005414939951151609,
-0.0026175074744969606,
0.016924409195780754,
-0.004680341575294733,
-0.02249864488840103,
0.01787789724767208,
-0.04888458549976349,
-0.02512073703110218,
0.016245964914560318,
-0.03186849504709244,
-0.02369050495326519,
-0.042063482105731964,
-0.01605343446135521,
-0.031153380870819092,
-0.014357326552271843,
0.04712430015206337,
-0.047234319150447845,
-0.00821466464549303,
-0.031025025993585587,
-0.016942745074629784,
0.06784432381391525,
0.04217350110411644,
0.009956613183021545,
0.040559906512498856,
-0.016713541001081467,
-0.0033853400964289904,
-0.0032432337757200003,
-0.028971360996365547,
0.001225094310939312,
-0.023892205208539963,
-0.007705831900238991,
0.008650151081383228,
-0.023250434547662735,
-0.024075567722320557,
-0.05918959155678749,
0.000556678744032979,
0.05673252418637276,
-0.011579375714063644,
-0.025322435423731804,
0.07510550320148468,
-0.01795124262571335,
-0.02889801561832428,
-0.020976731553673744,
0.016016760841012,
0.016786886379122734,
0.00692653888836503,
-0.020903386175632477,
-0.017492834478616714,
-0.0021224271040409803,
0.008906859904527664,
0.10591049492359161,
0.041696757078170776,
0.03351876512169838,
0.039423052221536636,
0.10106971114873886,
-0.013137961737811565,
-0.011881925165653229,
0.08786757290363312,
0.0013121917145326734,
-0.024112239480018616,
-0.01271622721105814,
0.03351876512169838,
-0.019839880988001823,
0.03498566895723343,
-0.005973051302134991,
-0.015448336489498615,
-0.0711815357208252,
0.009709073230624199,
0.022370291873812675,
0.02689935825765133,
0.07525219023227692,
0.06315023452043533,
-0.07261176407337189,
0.031061699613928795,
-0.0016984001267701387,
-0.019198110327124596,
-0.07206167280673981,
0.036562591791152954,
0.046024125069379807,
0.029319750145077705,
0.04019317775964737,
-0.04734433814883232,
0.003768110414966941,
-0.01388058252632618,
0.0026450117584317923
] |
726,186 | pydantic_extra_types.color | as_named |
Returns the name of the color if it can be found in `COLORS_BY_VALUE` dictionary,
otherwise returns the hexadecimal representation of the color or raises `ValueError`.
Args:
fallback: If True, falls back to returning the hexadecimal representation of
the color instead of raising a ValueError when no named color is found.
Returns:
The name of the color, or the hexadecimal representation of the color.
Raises:
ValueError: When no named color is found and fallback is `False`.
| def as_named(self, *, fallback: bool = False) -> str:
"""
Returns the name of the color if it can be found in `COLORS_BY_VALUE` dictionary,
otherwise returns the hexadecimal representation of the color or raises `ValueError`.
Args:
fallback: If True, falls back to returning the hexadecimal representation of
the color instead of raising a ValueError when no named color is found.
Returns:
The name of the color, or the hexadecimal representation of the color.
Raises:
ValueError: When no named color is found and fallback is `False`.
"""
if self._rgba.alpha is None:
rgb = cast(Tuple[int, int, int], self.as_rgb_tuple())
try:
return COLORS_BY_VALUE[rgb]
except KeyError as e:
if fallback:
return self.as_hex()
else:
raise ValueError('no named color found, use fallback=True, as_hex() or as_rgb()') from e
else:
return self.as_hex()
| (self, *, fallback: bool = False) -> str | [
0.01576578989624977,
-0.07762739807367325,
-0.06255341321229935,
0.014445905573666096,
0.020098650828003883,
-0.02525075152516365,
0.033024415373802185,
0.01833273656666279,
0.07922946661710739,
-0.06371854990720749,
0.018323633819818497,
0.0007464173249900341,
0.06670422106981277,
-0.07274837791919708,
0.04802558198571205,
0.009621500968933105,
0.027817698195576668,
0.0863659456372261,
0.003345223842188716,
0.025960758328437805,
0.031021831557154655,
-0.012880249880254269,
0.03815830871462822,
0.0006929392111487687,
0.005907619837671518,
0.017167598009109497,
0.046824030578136444,
0.00935752410441637,
-0.06583036482334137,
0.027235129848122597,
-0.04584094509482384,
-0.04110756888985634,
-0.05843901261687279,
0.05767438933253288,
-0.020845068618655205,
-0.0027831352781504393,
-0.049627646803855896,
0.05629078671336174,
-0.060696471482515335,
-0.08447258919477463,
0.034225963056087494,
-0.0014484592247754335,
-0.04747942462563515,
-0.036865733563899994,
-0.03468109667301178,
-0.030184388160705566,
-0.004175840876996517,
0.04474862664937973,
-0.00429645087569952,
-0.0450035035610199,
0.021992001682519913,
-0.03025720827281475,
-0.055052828043699265,
0.040561407804489136,
0.031659018248319626,
-0.035190846771001816,
-0.011077925562858582,
0.02650691755115986,
-0.0400516614317894,
0.03863164782524109,
-0.014746293425559998,
-0.01536527369171381,
0.03380724415183067,
-0.007300325203686953,
-0.01522873342037201,
0.000015360721590695903,
0.031185679137706757,
-0.03089439496397972,
-0.019843777641654015,
0.00010283150186296552,
0.006949873175472021,
0.009166368283331394,
-0.005020111333578825,
-0.027526414021849632,
0.01817799173295498,
0.010267789475619793,
-0.05592668056488037,
-0.028017956763505936,
-0.0004969477886334062,
-0.0017716032452881336,
0.0010957315098494291,
-0.005356909707188606,
-0.026816407218575478,
-0.051520999521017075,
-0.007796419784426689,
-0.07067297399044037,
-0.028600526973605156,
-0.014209236949682236,
0.009921888820827007,
0.004421612247824669,
0.001822805730625987,
-0.03735727444291115,
-0.02444971725344658,
0.04980970174074173,
-0.015110399574041367,
-0.07675354182720184,
0.0554533451795578,
0.045513249933719635,
0.10194968432188034,
0.00010716947872424498,
-0.009667014703154564,
-0.045622482895851135,
-0.008574696257710457,
-0.007796419784426689,
-0.03935986012220383,
-0.011687803082168102,
-0.01728593185544014,
0.022756624966859818,
0.009894580580294132,
-0.049846112728118896,
-0.003377083223313093,
-0.0018694567261263728,
0.022155851125717163,
-0.04099833592772484,
0.048571739345788956,
-0.018168888986110687,
0.051411766558885574,
-0.047989170998334885,
0.016057074069976807,
-0.024267666041851044,
-0.014564240351319313,
0.016794389113783836,
-0.006299033761024475,
0.06269905716180801,
-0.04074346274137497,
0.06248059123754501,
-0.030020540580153465,
0.010595484636723995,
0.02978387102484703,
0.04318297281861305,
0.06364572793245316,
0.0508291982114315,
-0.042236294597387314,
-0.03318826109170914,
0.07154683023691177,
0.021099943667650223,
0.0077873170375823975,
0.05840260162949562,
0.02091789059340954,
0.03779420256614685,
0.033170055598020554,
-0.06368213891983032,
-0.06845192611217499,
-0.0016123069217428565,
0.03976037725806236,
-0.033606983721256256,
0.055853862315416336,
0.017276829108595848,
-0.02798154577612877,
0.017804782837629318,
0.016057074069976807,
0.07274837791919708,
-0.024813823401927948,
0.001912694307975471,
-0.012789223343133926,
-0.017586320638656616,
-0.03313364461064339,
-0.025487421080470085,
-0.006476535461843014,
-0.009175471030175686,
0.01041343156248331,
-0.020462756976485252,
0.016138998791575432,
-0.028928222134709358,
0.032605692744255066,
-0.008706685155630112,
-0.012434219941496849,
-0.04154449328780174,
0.02597896382212639,
-0.01797773316502571,
-0.03464468568563461,
-0.03375262767076492,
-0.010103941895067692,
0.059895437210798264,
-0.024467922747135162,
-0.004933636169880629,
-0.019261207431554794,
0.0010439602192491293,
-0.000280475418549031,
-0.0707457959651947,
0.040452178567647934,
-0.011806136928498745,
-0.03573700413107872,
-0.06313598155975342,
0.027344360947608948,
-0.0013938433257862926,
0.0033224672079086304,
0.02177353948354721,
-0.004842609632760286,
0.009521371684968472,
0.06273546069860458,
0.02767205610871315,
0.043984003365039825,
0.03965114429593086,
0.03258748725056648,
-0.07660790532827377,
-0.010422534309327602,
-0.010358816012740135,
0.02841847389936447,
-0.02292047254741192,
-0.02188277058303356,
-0.011332799680531025,
-0.06433752924203873,
0.02392176352441311,
-0.003659265348687768,
-0.03604649379849434,
0.04569530487060547,
-0.06586677581071854,
-0.048462510108947754,
-0.03726625069975853,
-0.056582074612379074,
-0.0016191338654607534,
-0.013499230146408081,
0.0814141035079956,
0.003604649333283305,
-0.028746169060468674,
0.028163598850369453,
-0.004544497933238745,
0.0250322874635458,
0.042090654373168945,
-0.011797034181654453,
-0.03489955887198448,
0.09102649986743927,
0.007728150114417076,
0.022428929805755615,
-0.02625204250216484,
-0.009903683327138424,
0.020626604557037354,
0.021227380260825157,
-0.013435511849820614,
0.06826987862586975,
-0.008865981362760067,
0.002152776811271906,
0.015374376438558102,
-0.035500336438417435,
0.06553907692432404,
0.04831686615943909,
-0.02102712169289589,
0.02525075152516365,
0.025014081969857216,
-0.030129771679639816,
0.0762437954545021,
0.05683694779872894,
0.05782003328204155,
0.06291751563549042,
-0.06816064566373825,
-0.014500521123409271,
0.01876966468989849,
-0.037867024540901184,
-0.03812189772725105,
-0.009758041240274906,
0.018041452392935753,
0.04358348995447159,
-0.011860753409564495,
-0.09051675349473953,
-0.005120240617543459,
-0.08214231580495834,
0.042454760521650314,
0.02586973085999489,
-0.00787834357470274,
-0.05625437572598457,
0.004146256949752569,
0.027289744466543198,
-0.007104618474841118,
-0.005529860034584999,
-0.02494126185774803,
-0.002428131876513362,
0.0553441122174263,
-0.004087090026587248,
0.006494740955531597,
0.05476154386997223,
-0.03888652101159096,
-0.01977095566689968,
-0.02572408877313137,
0.00720929866656661,
-0.027435386553406715,
-0.005129343364387751,
-0.02508690394461155,
-0.00024207359820138663,
0.023102525621652603,
0.018523892387747765,
-0.03657444939017296,
-0.03388006240129471,
0.03637418895959854,
0.05206715688109398,
0.06422829627990723,
0.005839350167661905,
-0.05097484216094017,
-0.013881541788578033,
-0.011023309081792831,
0.022519955411553383,
-0.061643145978450775,
-0.03599187731742859,
0.012588964775204659,
-0.03329749405384064,
0.039978839457035065,
-0.021755333989858627,
-0.012761915102601051,
0.02477741427719593,
0.021700717508792877,
0.010904975235462189,
-0.006458330433815718,
0.0033998398575931787,
-0.029110275208950043,
-0.09160906821489334,
-0.023011500015854836,
-0.03315185010433197,
-0.0003811734786722809,
-0.055052828043699265,
0.01740426756441593,
-0.03400750085711479,
0.00359782250598073,
0.03275133669376373,
-0.023939969018101692,
0.037084195762872696,
-0.011551262810826302,
0.03648342192173004,
-0.014746293425559998,
0.04085269197821617,
0.018751459196209908,
-0.034499045461416245,
-0.024340486153960228,
-0.09532295167446136,
-0.004562703426927328,
0.04591376706957817,
0.02250175178050995,
-0.05698258802294731,
0.044821448624134064,
0.050574325025081635,
0.0004315224941819906,
-0.09940093755722046,
-0.06167955696582794,
-0.004080262966454029,
-0.027744878083467484,
0.018305430188775063,
-0.03036644123494625,
0.010759332217276096,
0.028636937960982323,
-0.03515443578362465,
-0.0035568606108427048,
-0.0755884051322937,
-0.014090902172029018,
-0.022902267053723335,
0.026051783934235573,
-0.023939969018101692,
0.022756624966859818,
-0.0031517925672233105,
0.012179345823824406,
0.012170243076980114,
-0.02809077873826027,
-0.012679991312325,
-0.05862106755375862,
-0.03642880544066429,
0.02847309038043022,
0.04278245568275452,
0.03158619627356529,
0.00579838827252388,
-0.01070471666753292,
0.052212800830602646,
0.043510667979717255,
0.034662891179323196,
-0.02894642762839794,
0.03435340151190758,
-0.010713819414377213,
-0.0020242019090801477,
-0.01447321381419897,
-0.054688721895217896,
0.015201426111161709,
-0.013553845696151257,
-0.06776012480258942,
-0.038922931998968124,
0.06455599516630173,
0.046569157391786575,
-0.06142468377947807,
-0.04860815033316612,
-0.007486929651349783,
0.04442093148827553,
0.053523581475019455,
0.01723131723701954,
-0.06036877632141113,
0.006936219520866871,
0.003552309237420559,
0.002462266944348812,
0.010340610519051552,
-0.02661614865064621,
-0.009621500968933105,
-0.036392394453287125,
-0.005807490553706884,
0.00659942114725709,
-0.011405620723962784,
-0.03187748044729233,
0.002169844228774309,
0.022210465744137764,
0.003279229626059532,
0.05559898540377617,
0.017731962725520134,
0.025214340537786484,
-0.021227380260825157,
-0.02450433373451233,
0.004992803558707237,
-0.05476154386997223,
0.007177439518272877,
0.016220921650528908,
-0.034608274698257446,
-0.03395288437604904,
-0.03176824748516083,
0.06765089184045792,
0.03917780518531799,
0.022210465744137764,
0.04635069519281387,
-0.00035841684439219534,
-0.0349905863404274,
-0.03925062716007233,
-0.0604051873087883,
-0.001827356987632811,
0.01907915435731411,
-0.000005253580184216844,
-0.0024554398842155933,
0.020207883790135384,
-0.018259916454553604,
-0.041981421411037445,
-0.059276457875967026,
-0.04817122593522072,
0.033661600202322006,
-0.0028286485467106104,
0.00465372996404767,
-0.016612336039543152,
0.05403333157300949,
-0.032496459782123566,
-0.003957377281039953,
-0.006658588536083698,
-0.03125850111246109,
0.06277187168598175,
-0.02714410237967968,
0.054688721895217896,
0.011132541112601757,
0.010659202933311462,
0.035081613808870316,
-0.0021914630196988583,
-0.01728593185544014,
0.03611931577324867,
0.008997969329357147,
-0.03823113068938255,
0.009767143987119198,
-0.03863164782524109,
-0.05130253732204437,
0.01236139889806509,
0.014209236949682236,
-0.009867272339761257,
-0.027235129848122597,
0.020153267309069633,
-0.024795617908239365,
0.022865857928991318,
-0.044457342475652695,
0.026543328538537025,
-0.03242363780736923,
-0.03287877142429352,
0.031076448038220406,
0.036028288304805756,
-0.029802076518535614,
-0.00872488971799612,
0.0398331955075264,
-0.013999875634908676,
0.00027691968716681004,
-0.06867039203643799,
0.06277187168598175,
0.04602300003170967,
-0.034972380846738815,
0.01634836010634899,
-0.02714410237967968,
-0.007464173249900341,
0.018005041405558586,
0.021099943667650223,
-0.026525123044848442,
-0.036192137748003006,
-0.0016009286046028137,
-0.034225963056087494,
0.02355765923857689,
-0.05392409861087799,
0.0070363483391702175,
-0.006986284162849188,
0.014163723215460777,
0.057747211307287216,
-0.05064714327454567,
0.04176295921206474,
0.04824404418468475,
0.017932221293449402,
0.02925591729581356,
0.019334029406309128,
0.022119440138339996,
-0.02082686312496662,
-0.006203455850481987,
-0.008137769065797329,
0.010322405025362968,
0.005866657942533493,
0.009812656790018082,
0.0450035035610199,
-0.04285527765750885,
0.008351681753993034,
0.019206590950489044,
0.009530474431812763,
-0.04212706536054611,
0.016002459451556206,
0.003288332372903824,
0.027854109182953835,
-0.09335678070783615,
0.043292202055454254,
0.030421055853366852,
0.04675121232867241,
0.0005529859918169677,
-0.028291037306189537,
0.046933263540267944,
0.022174054756760597,
-0.0908808559179306,
0.014373084530234337,
-0.0054479362443089485,
0.0009973091073334217,
-0.05508923903107643,
-0.01829632744193077,
0.004646902903914452,
-0.027398977428674698,
0.040670640766620636,
-0.021063532680273056,
0.02408561296761036,
-0.030530288815498352,
0.08993418514728546,
0.01818709447979927,
0.024868439882993698,
-0.0452219657599926,
0.02798154577612877,
-0.05002816393971443,
0.0037958051543682814,
-0.044457342475652695,
-0.008916045539081097,
-0.006185250822454691,
-0.019097359851002693,
-0.0023223136086016893,
-0.0019354509422555566,
-0.07704482972621918,
-0.023412015289068222,
0.04088910296559334,
-0.00956688541918993,
0.04263681173324585,
-0.02661614865064621,
-0.05377845838665962,
-0.047734297811985016,
-0.0165031049400568,
0.0407070517539978,
-0.022938678041100502,
-0.03957832232117653,
0.023266373202204704,
-0.03462648019194603,
-0.031185679137706757,
-0.032605692744255066,
-0.05443384870886803,
0.017932221293449402,
-0.046459924429655075,
0.004289623815566301,
-0.03848600387573242,
0.030493877828121185,
0.022265082225203514,
0.07234786450862885,
0.04624146223068237,
-0.009061688557267189,
-0.036028288304805756,
-0.03193209692835808,
-0.03457186371088028,
-0.03848600387573242,
0.015401683747768402,
-0.018196197226643562,
-0.00007175448263296857,
-0.000750968640204519,
0.0552348792552948,
0.03426237404346466,
-0.010659202933311462,
0.01808696612715721,
0.05527129024267197,
-0.02703487128019333,
0.0455496609210968,
0.005206715781241655,
0.010613690130412579,
0.02850949950516224,
-0.022738419473171234,
-0.08709415793418884,
-0.0056846048682928085,
0.0015702071832492948,
0.023320989683270454,
0.029711049050092697,
-0.02202841266989708,
-0.047042496502399445,
-0.03473571315407753,
0.015001167543232441,
0.04948200657963753,
-0.03637418895959854,
-0.027890520170331,
-0.0038367670495063066,
-0.0076689827255904675,
0.021809950470924377,
0.03242363780736923,
0.01439129002392292,
0.011906266212463379,
-0.027235129848122597,
-0.0004941032384522259,
0.0067496150732040405,
0.06816064566373825,
0.017695551738142967,
0.035081613808870316,
-0.05887594074010849,
0.00550710316747427,
-0.003722983878105879,
0.007045451086014509,
0.02140943333506584,
-0.029128480702638626,
0.019097359851002693,
0.03823113068938255,
-0.018269019201397896,
0.032441843301057816,
0.04096192494034767,
-0.04613222926855087,
0.08600183576345444,
-0.022410724312067032,
0.048571739345788956,
-0.022228671237826347,
0.07799150794744492,
0.023848943412303925,
-0.026215631514787674,
0.0015520018059760332,
0.023703301325440407,
-0.0330062098801136,
-0.015137706883251667,
-0.024741003289818764,
0.062007252126932144,
-0.028636937960982323,
-0.027854109182953835,
-0.10267789661884308,
-0.028636937960982323,
0.037084195762872696,
-0.002751275897026062,
-0.01696733944118023,
0.023703301325440407,
0.020699426531791687,
0.0552348792552948,
-0.008670274168252945,
0.05122971534729004,
-0.0026010822039097548,
0.04711531847715378,
0.0165031049400568,
-0.05272255092859268,
0.020462756976485252,
-0.010759332217276096,
-0.03273313120007515,
0.048790205270051956,
-0.01236139889806509,
-0.01724041998386383,
-0.0015030751237645745,
0.004792545456439257,
-0.007841932587325573,
-0.0026192874647676945,
-0.030766956508159637,
0.012643581256270409,
-0.016949133947491646,
0.005748323630541563,
0.015902329236268997,
-0.0008727165986783803,
0.0032633000519126654,
-0.0010712681105360389,
0.028855400159955025,
0.015993356704711914,
-0.06644934415817261,
-0.07198375463485718,
-0.07081861793994904,
-0.025105109438300133,
0.0012629927368834615,
-0.07347659021615982,
-0.016111690551042557,
-0.0017568115144968033,
0.011505750007927418,
0.07154683023691177,
0.1005660817027092,
-0.020207883790135384,
0.0653570294380188,
-0.031021831557154655,
-0.029001042246818542,
0.0857105553150177,
0.06015031039714813,
0.041617315262556076,
0.00021675686002708972,
-0.024231255054473877,
0.01802324689924717,
0.007682636845856905,
-0.01236139889806509,
0.0007082999800331891,
0.012716402299702168,
0.05581745132803917,
-0.05483436584472656,
0.0251415204256773,
0.007514237426221371,
0.04631428420543671,
-0.008256103843450546,
0.006508394610136747,
-0.01175152137875557,
-0.014901038259267807,
-0.0071137212216854095,
-0.019789161160588264,
0.03990601748228073,
0.0001998316147364676,
0.030803367495536804,
0.045986589044332504,
0.10690151900053024,
-0.041398853063583374,
-0.061169806867837906,
0.013389998115599155,
-0.019060948863625526,
0.012953070923686028,
-0.03943267837166786,
-0.0025009531527757645,
-0.02661614865064621,
-0.011487544514238834,
-0.027817698195576668,
0.07016322761774063,
0.012061011046171188,
0.01304409746080637,
0.05042868107557297,
0.02060839906334877,
-0.015847714617848396,
0.004765237215906382,
0.015010270290076733,
-0.00417811656370759,
-0.01433667354285717,
0.01797773316502571,
0.011296388693153858,
0.040670640766620636,
-0.007241158280521631,
0.08126845955848694,
0.0075506484135985374,
0.01259806752204895,
0.0712919533252716,
0.043510667979717255,
-0.008916045539081097,
0.03668367862701416,
-0.01236139889806509,
0.022519955411553383,
-0.03362518921494484,
0.003625130280852318,
0.02586973085999489,
0.05712823197245598,
0.057637982070446014,
0.009612398222088814,
0.0015815855003893375,
0.014081799425184727,
0.023266373202204704,
0.025487421080470085,
-0.03173183649778366,
0.07820996642112732,
0.05184869468212128,
-0.05086560919880867,
-0.03976037725806236,
0.013062302954494953,
0.03195030242204666,
-0.014154620468616486,
0.012488835491240025,
0.019315823912620544,
-0.038194719702005386,
0.0150739885866642,
-0.019953008741140366,
0.00956688541918993,
-0.02166430652141571,
-0.013617564924061298
] |
726,187 | pydantic_extra_types.color | as_rgb |
Color as an `rgb(<r>, <g>, <b>)` or `rgba(<r>, <g>, <b>, <a>)` string.
| def as_rgb(self) -> str:
"""
Color as an `rgb(<r>, <g>, <b>)` or `rgba(<r>, <g>, <b>, <a>)` string.
"""
if self._rgba.alpha is None:
return f'rgb({float_to_255(self._rgba.r)}, {float_to_255(self._rgba.g)}, {float_to_255(self._rgba.b)})'
else:
return (
f'rgba({float_to_255(self._rgba.r)}, {float_to_255(self._rgba.g)}, {float_to_255(self._rgba.b)}, '
f'{round(self._alpha_float(), 2)})'
)
| (self) -> str | [
-0.021980905905365944,
-0.054836977273225784,
-0.06859426200389862,
0.02736084721982479,
0.025016730651259422,
-0.0356421135365963,
0.017071709036827087,
0.010269924998283386,
0.03744823858141899,
-0.022787896916270256,
0.02390231378376484,
-0.06363702565431595,
0.05172429978847504,
0.008334106765687466,
0.008329303003847599,
-0.05014874413609505,
0.02987789176404476,
-0.03204908221960068,
0.04649806767702103,
-0.012402687221765518,
0.0010885975789278746,
-0.002105142455548048,
0.007983449846506119,
0.01516951434314251,
-0.008199607953429222,
0.01594768464565277,
0.06882482767105103,
0.0004899589694105089,
-0.08108340948820114,
0.04380809888243675,
0.014746804721653461,
-0.06982395797967911,
0.024613233283162117,
0.03233729302883148,
-0.013517104089260101,
0.000650276429951191,
-0.047189775854349136,
-0.00309827015735209,
-0.0711689442396164,
-0.06909382343292236,
0.01097123883664608,
-0.0027548184152692556,
-0.019963426515460014,
-0.027072636410593987,
-0.012566006742417812,
-0.04503779858350754,
-0.01166294515132904,
0.06286846101284027,
-0.03274079039692879,
-0.08100655674934387,
0.07232178747653961,
0.02365252934396267,
-0.039504144340753555,
0.05303085595369339,
-0.0037107188254594803,
0.0011594495736062527,
-0.04307796433568001,
0.07266764342784882,
0.016428036615252495,
0.06513572484254837,
-0.002450995845720172,
-0.01065420638769865,
0.07789387553930283,
-0.027034208178520203,
0.026649925857782364,
0.0068258014507591724,
-0.023998383432626724,
0.006028417032212019,
0.017705773934721947,
0.029935533180832863,
-0.007003531325608492,
0.030742524191737175,
-0.0278796274214983,
-0.03454691171646118,
-0.06090862676501274,
0.010942417196929455,
-0.04803519695997238,
0.01964639499783516,
0.018109269440174103,
-0.00016737263649702072,
0.047458771616220474,
0.014314488507807255,
0.05499069020152092,
-0.04169454798102379,
0.0426168255507946,
-0.11858928948640823,
-0.06525100767612457,
-0.016428036615252495,
-0.03108837828040123,
0.002613114658743143,
-0.0012224956881254911,
-0.04346224293112755,
-0.060063209384679794,
0.018743332475423813,
-0.0038067891728132963,
-0.04695920646190643,
0.06190776079893112,
-0.020904917269945145,
0.06982395797967911,
-0.03708317130804062,
-0.03583425655961037,
-0.032183580100536346,
-0.0871550589799881,
-0.01955993101000786,
-0.01986735686659813,
-0.010010534897446632,
-0.029685750603675842,
0.0007661613635718822,
0.03520018979907036,
0.002718792064115405,
0.008103537373244762,
0.046305928379297256,
0.03460455313324928,
-0.008737602271139622,
0.038927722722291946,
-0.0380246601998806,
0.013296142220497131,
-0.021020201966166496,
0.020635919645428658,
0.006412698421627283,
0.022999251261353493,
0.032567862421274185,
0.01539047621190548,
0.08277425169944763,
0.00928520318120718,
0.09722323715686798,
-0.057603806257247925,
-0.008502230048179626,
-0.015457726083695889,
-0.04526836797595024,
0.04430766403675079,
0.06824840605258942,
-0.033144284039735794,
-0.04546050727367401,
0.0694781094789505,
-0.010961631312966347,
0.004657012410461903,
0.09161272644996643,
0.029109328985214233,
0.0715148001909256,
0.009722323156893253,
-0.045998502522706985,
0.011307485401630402,
-0.05541340261697769,
0.03716002777218819,
0.0013149634469300508,
0.04592164605855942,
0.0139686344191432,
-0.017119742929935455,
-0.006393484305590391,
0.05725795403122902,
0.003854824462905526,
0.007623185403645039,
0.028398407623171806,
0.013593960553407669,
0.0006418703123927116,
0.008026680909097195,
-0.048342619091272354,
0.06890168786048889,
-0.052492860704660416,
0.017542453482747078,
0.006893050391227007,
0.043154820799827576,
-0.08392709493637085,
0.03840894252061844,
0.04753562808036804,
-0.04123341292142868,
-0.016255110502243042,
-0.013690031133592129,
-0.06605800241231918,
-0.008045895025134087,
-0.02812940999865532,
-0.04438452050089836,
0.07036195695400238,
-0.05460641160607338,
0.033451709896326065,
-0.05718109756708145,
0.03441241383552551,
0.004544129595160484,
-0.014247238636016846,
-0.006182129494845867,
-0.020021069794893265,
-0.044922515749931335,
-0.020789632573723793,
0.07120737433433533,
-0.00025503686629235744,
0.010932810604572296,
0.0003803787112701684,
-0.017388740554451942,
-0.04365438595414162,
0.06413659453392029,
0.0023140956182032824,
0.04761248454451561,
0.048650044947862625,
-0.013824529014527798,
-0.03274079039692879,
-0.020270852372050285,
-0.026457784697413445,
-0.0004482284130062908,
0.02509358525276184,
-0.02061670646071434,
-0.038120731711387634,
-0.05629725009202957,
0.046574924141168594,
0.018195731565356255,
-0.06379073858261108,
0.04065698757767677,
-0.048342619091272354,
0.03153030201792717,
-0.009847215376794338,
-0.031011521816253662,
0.0021603829227387905,
-0.007085191551595926,
0.07109209150075912,
0.012383473105728626,
-0.032702360302209854,
-0.011355520226061344,
0.06217675656080246,
0.008199607953429222,
0.05441426858305931,
0.01065420638769865,
-0.07212965190410614,
0.07658731192350388,
-0.025516295805573463,
0.029743393883109093,
-0.0010489685228094459,
0.0022024137433618307,
0.014429772272706032,
-0.010154640302062035,
0.01715817116200924,
0.0449993722140789,
-0.015534582547843456,
-0.011278663761913776,
0.040464848279953,
-0.07086151838302612,
0.06436716020107269,
0.0357574000954628,
0.016975637525320053,
-0.00884327944368124,
-0.02616957388818264,
-0.0040445635095238686,
0.09253500401973724,
0.048150479793548584,
0.004844349343329668,
0.04734348878264427,
-0.06667285412549973,
0.015217550098896027,
0.0514553003013134,
-0.08146768808364868,
-0.03911986202001572,
-0.05364570766687393,
0.017206206917762756,
0.011576482094824314,
0.014900517649948597,
-0.08269739151000977,
0.02395995520055294,
-0.04411552473902702,
0.012806182727217674,
0.030223745852708817,
-0.0006196540198288858,
0.011326699517667294,
0.009112276136875153,
0.027514560148119926,
0.02943596802651882,
0.03984999656677246,
-0.02194247767329216,
-0.007954628206789494,
0.08776991069316864,
0.02818705327808857,
0.04242468625307083,
0.15417376160621643,
-0.01481405459344387,
-0.02547786757349968,
0.006724927574396133,
0.009342845529317856,
-0.044615089893341064,
0.005634528584778309,
0.019886570051312447,
-0.0006556804291903973,
0.04111812636256218,
0.009357255883514881,
-0.03227965161204338,
-0.021020201966166496,
0.002051102928817272,
0.06548158079385757,
0.04115655645728111,
0.023095322772860527,
-0.019492682069540024,
0.006691302638500929,
0.017148565500974655,
0.037851732224226,
-0.028609761968255043,
-0.017504025250673294,
0.013690031133592129,
0.03201065585017204,
0.02169269509613514,
0.03933121636509895,
0.023806242272257805,
0.0358150415122509,
0.013795708306133747,
0.03131894767284393,
-0.012902253307402134,
0.05214700847864151,
-0.047266632318496704,
-0.03681417554616928,
0.00012496656563598663,
-0.00641750218346715,
0.012940681539475918,
-0.02693813666701317,
0.029301468282938004,
-0.04131026938557625,
-0.007945021614432335,
0.020962558686733246,
0.009342845529317856,
0.03800544515252113,
-0.030723311007022858,
0.03126130625605583,
-0.0381975881755352,
0.02365252934396267,
-0.00016962428344413638,
-0.03368227928876877,
0.003535390365868807,
-0.025631580501794815,
0.014247238636016846,
0.03537311777472496,
-0.029532037675380707,
-0.040195852518081665,
0.05303085595369339,
0.005956364329904318,
0.006941085681319237,
-0.06813312321901321,
-0.05164744332432747,
-0.005125355441123247,
0.008641531690955162,
0.022749468684196472,
-0.056335676461458206,
0.005413566716015339,
0.028475264087319374,
-0.018397480249404907,
-0.010980845429003239,
-0.006869032979011536,
-0.026765210554003716,
0.023249033838510513,
0.03898536413908005,
-0.021788764744997025,
0.002939753932878375,
-0.04084913060069084,
0.007930610328912735,
0.015227156691253185,
-0.022864753380417824,
-0.001816931297071278,
-0.07554975897073746,
-0.026457784697413445,
0.0425015427172184,
0.0007205279543995857,
0.005101337563246489,
-0.0044864872470498085,
0.0014086321461945772,
0.05187801271677017,
0.06882482767105103,
0.015188728459179401,
0.008031484670937061,
0.040080565959215164,
0.03108837828040123,
-0.042270973324775696,
0.04357752948999405,
-0.06502044200897217,
-0.032817646861076355,
0.02401759847998619,
-0.04031113535165787,
0.028725046664476395,
0.0648282989859581,
0.01594768464565277,
-0.07347463816404343,
-0.03650674968957901,
0.03170322999358177,
0.020328493788838387,
0.020290067419409752,
-0.028283122926950455,
-0.09230443090200424,
-0.019002722576260567,
0.015275192447006702,
0.03650674968957901,
-0.029858676716685295,
0.021596623584628105,
-0.00114864157512784,
-0.01232583075761795,
-0.03456612676382065,
-0.045229941606521606,
0.006499161943793297,
-0.04380809888243675,
-0.0049091968685388565,
0.014881303533911705,
-0.007969038560986519,
-0.0035137746017426252,
-0.01515990775078535,
0.011787837371230125,
0.001755686360411346,
0.012152904644608498,
-0.03910065069794655,
-0.003227965207770467,
-0.0032447774428874254,
0.00837253499776125,
-0.05806494504213333,
-0.042732108384370804,
0.035469189286231995,
0.015736330300569534,
0.04150240868330002,
0.010394816286861897,
0.004724261350929737,
-0.032125938683748245,
0.017225421965122223,
-0.044422946870326996,
-0.012969503179192543,
0.02926304191350937,
-0.002805255353450775,
0.016485679894685745,
-0.05310771241784096,
-0.004796314053237438,
0.032068297266960144,
-0.05237757787108421,
-0.008987384848296642,
-0.03673731908202171,
0.03583425655961037,
0.013632388785481453,
0.04419238120317459,
0.03662203252315521,
0.038428157567977905,
0.03239493444561958,
-0.018695298582315445,
0.026688354089856148,
-0.01834944449365139,
0.039504144340753555,
-0.061139196157455444,
0.02724556252360344,
0.00610046973451972,
0.002382545731961727,
0.014996588230133057,
-0.006427109241485596,
-0.020040282979607582,
0.0355844721198082,
-0.0029853873420506716,
-0.028513692319393158,
0.015131086111068726,
0.0011612508678808808,
-0.056028250604867935,
-0.03291371464729309,
0.011835872195661068,
0.026534641161561012,
-0.021788764744997025,
0.0005524047301150858,
0.03170322999358177,
-0.010106605477631092,
-0.011076916009187698,
0.023787029087543488,
-0.037429023534059525,
-0.004541727714240551,
-0.013152036815881729,
-0.02086648903787136,
-0.031991440802812576,
-0.0020210808143019676,
0.0334324948489666,
-0.029090113937854767,
0.006950692739337683,
-0.0035137746017426252,
0.015246370807290077,
0.11021195352077484,
-0.04065698757767677,
-0.0358150415122509,
-0.02472851797938347,
0.020328493788838387,
-0.047036062926054,
0.01084634754806757,
-0.020789632573723793,
-0.008785637095570564,
0.014766018837690353,
0.012364258989691734,
0.015678687021136284,
-0.03095388039946556,
-0.046113789081573486,
-0.040195852518081665,
-0.016091790050268173,
-0.013334570452570915,
-0.013910993002355099,
0.026630712673068047,
0.07059252262115479,
-0.014564271084964275,
0.03310585767030716,
0.01600532792508602,
0.05034088343381882,
-0.06628856807947159,
-0.026630712673068047,
-0.03227965161204338,
0.03531547635793686,
-0.03437398746609688,
0.011643731035292149,
0.024132881313562393,
0.009981713257730007,
-0.05399155989289284,
0.08108340948820114,
0.022845538333058357,
-0.03285607323050499,
0.005456798244267702,
-0.0026755603030323982,
0.05176272615790367,
-0.0869244858622551,
0.013324962928891182,
0.003761155763641,
-0.0020835266914218664,
-0.03229886665940285,
-0.06563529372215271,
0.011307485401630402,
0.060870200395584106,
-0.07247550040483475,
0.01150923315435648,
-0.03525783494114876,
0.01904115080833435,
-0.034028131514787674,
-0.02301846630871296,
-0.005644135642796755,
-0.005596100352704525,
0.03652596101164818,
-0.018003590404987335,
-0.01829180307686329,
-0.03304821625351906,
0.045806363224983215,
0.007176458369940519,
0.03051195666193962,
-0.04296267777681351,
0.021020201966166496,
-0.007426241412758827,
0.022730253636837006,
-0.006153308320790529,
-0.040080565959215164,
-0.03650674968957901,
0.016600962728261948,
-0.0212507713586092,
-0.003749147057533264,
-0.034969620406627655,
-0.021577410399913788,
-0.0016824327176436782,
-0.029916319996118546,
0.056527819484472275,
-0.03921593353152275,
-0.07059252262115479,
-0.018493549898266792,
0.00862231757491827,
0.056412532925605774,
-0.012479543685913086,
-0.042732108384370804,
0.012143297120928764,
-0.0001417038292856887,
-0.0038211997598409653,
-0.01611100509762764,
-0.059179361909627914,
-0.0012501159217208624,
-0.046574924141168594,
-0.00999132078140974,
-0.011028881184756756,
-0.011278663761913776,
-0.017427168786525726,
0.025401011109352112,
-0.01374767255038023,
0.022115403786301613,
-0.05329985171556473,
0.022845538333058357,
-0.010759883560240269,
-0.0008748410036787391,
-0.01589004322886467,
-0.033490139991045,
0.013670817017555237,
-0.046882349997758865,
0.018973901867866516,
-0.02472851797938347,
-0.0212507713586092,
0.02371017262339592,
-0.030800167471170425,
-0.03696788474917412,
0.0030622438061982393,
-0.0005473010241985321,
0.012181725353002548,
0.030550384894013405,
-0.03721766918897629,
-0.07105366140604019,
-0.026246430352330208,
-0.0167162474244833,
-0.007527115289121866,
0.02837919257581234,
0.009972106665372849,
-0.013421033509075642,
0.020270852372050285,
0.030800167471170425,
0.040195852518081665,
-0.07278292626142502,
0.014967766590416431,
-0.0401189960539341,
-0.02144291065633297,
0.026208002120256424,
-0.008507032878696918,
0.01848394237458706,
0.0647130161523819,
-0.00880004744976759,
0.017888307571411133,
0.026745997369289398,
0.03495040908455849,
0.006225361488759518,
0.07209122180938721,
-0.04204040393233299,
0.012844610959291458,
-0.005999595858156681,
-0.027283990755677223,
0.0514553003013134,
-0.06240732595324516,
-0.027341634035110474,
0.024228952825069427,
-0.04134869575500488,
-0.03977314010262489,
0.038428157567977905,
-0.04761248454451561,
0.06598114222288132,
-0.015140693634748459,
0.06663442403078079,
-0.026438571512699127,
0.09261185675859451,
0.009688698686659336,
-0.04565265029668808,
0.014324095100164413,
-0.020731991156935692,
-0.005235836375504732,
-0.07501175999641418,
0.022538114339113235,
0.01539047621190548,
0.00561051070690155,
-0.0515705868601799,
-0.040887556970119476,
-0.0644824430346489,
0.035084906965494156,
0.03153030201792717,
-0.0003146305389236659,
0.010250710882246494,
0.06090862676501274,
0.02868661843240261,
-0.05975578352808952,
-0.003612246597185731,
0.03681417554616928,
0.06467458605766296,
-0.05391470342874527,
-0.08016113191843033,
0.012758147902786732,
-0.036679673939943314,
-0.02547786757349968,
0.025708436965942383,
0.04400023818016052,
-0.005913132335990667,
-0.07405105978250504,
0.035776615142822266,
-0.009371666237711906,
-0.010135426186025143,
-0.04338539019227028,
-0.012556400150060654,
-0.06525100767612457,
0.014525842852890491,
0.014083919115364552,
0.021020201966166496,
-0.010423636995255947,
-0.0034849534276872873,
0.02478616125881672,
0.028552120551466942,
-0.03646831959486008,
-0.050533026456832886,
-0.08062227070331573,
0.010692634619772434,
-0.035027265548706055,
-0.03656439110636711,
0.01683153212070465,
0.017974769696593285,
-0.00003505068161757663,
0.021462125703692436,
0.06478986889123917,
-0.05095573514699936,
0.05137844383716583,
0.017004460096359253,
-0.05195486918091774,
0.008060305379331112,
0.05902564898133278,
0.014179989695549011,
-0.00526465754956007,
0.02365252934396267,
0.039696283638477325,
-0.03840894252061844,
-0.05018717050552368,
0.005740205757319927,
-0.015515368431806564,
0.004279935732483864,
0.00040889959200285375,
0.012604434974491596,
-0.0038980559911578894,
-0.01406470499932766,
-0.006667285226285458,
-0.003878842107951641,
-0.001956233289092779,
-0.020770419389009476,
-0.03172244131565094,
0.009635860100388527,
0.048342619091272354,
0.007810522802174091,
0.07681788504123688,
-0.0039004578720778227,
0.01600532792508602,
-0.03322114050388336,
-0.03860108181834221,
0.05118630453944206,
-0.02478616125881672,
-0.03543075919151306,
-0.026438571512699127,
0.011134558357298374,
-0.024113668128848076,
-0.027072636410593987,
-0.02497830241918564,
0.024325022473931313,
-0.02036692202091217,
0.013219285756349564,
0.03687181696295738,
-0.0050436956807971,
0.013709244318306446,
0.012777362018823624,
0.0013533916790038347,
-0.003256786148995161,
-0.01362278126180172,
-0.028801903128623962,
0.030569598078727722,
0.019771287217736244,
0.004022947512567043,
0.047766197472810745,
0.018887439742684364,
0.0002383746614214033,
0.021577410399913788,
0.03691024333238602,
0.008060305379331112,
-0.01715817116200924,
0.03245257958769798,
0.026765210554003716,
-0.017283063381910324,
-0.010903988964855671,
0.03233729302883148,
0.024766946211457253,
0.05422212928533554,
-0.0033840795513242483,
0.01539047621190548,
-0.02497830241918564,
0.03731374070048332,
0.02194247767329216,
0.00014485613792203367,
0.045806363224983215,
0.05964049696922302,
-0.052300721406936646,
-0.028859544545412064,
0.04104126989841461,
0.0016992450691759586,
-0.048342619091272354,
0.012402687221765518,
0.01033717393875122,
-0.00030006986344233155,
-0.004450460895895958,
-0.024863017722964287,
0.015131086111068726,
-0.04204040393233299,
-0.013757280074059963
] |
726,188 | pydantic_extra_types.color | as_rgb_tuple |
Returns the color as an RGB or RGBA tuple.
Args:
alpha: Whether to include the alpha channel. There are three options for this input:
- `None` (default): Include alpha only if it's set. (e.g. not `None`)
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
A tuple that contains the values of the red, green, and blue channels in the range 0 to 255.
If alpha is included, it is in the range 0 to 1.
| def as_rgb_tuple(self, *, alpha: bool | None = None) -> ColorTuple:
"""
Returns the color as an RGB or RGBA tuple.
Args:
alpha: Whether to include the alpha channel. There are three options for this input:
- `None` (default): Include alpha only if it's set. (e.g. not `None`)
- `True`: Always include alpha.
- `False`: Always omit alpha.
Returns:
A tuple that contains the values of the red, green, and blue channels in the range 0 to 255.
If alpha is included, it is in the range 0 to 1.
"""
r, g, b = (float_to_255(c) for c in self._rgba[:3])
if alpha is None:
if self._rgba.alpha is None:
return r, g, b
else:
return r, g, b, self._alpha_float()
elif alpha:
return r, g, b, self._alpha_float()
else:
# alpha is False
return r, g, b
| (self, *, alpha: Optional[bool] = None) -> Union[Tuple[int, int, int], Tuple[int, int, int, float]] | [
-0.03300309181213379,
-0.047410812228918076,
-0.07368046045303345,
-0.004768752958625555,
0.02239561453461647,
-0.03233896940946579,
0.012452256865799427,
0.02305973507463932,
0.021860627457499504,
-0.04095408692955971,
0.011788136325776577,
-0.016796709969639778,
0.015311663039028645,
0.030143683776259422,
-0.009306908585131168,
-0.048849739134311676,
0.01434315461665392,
0.019978953525424004,
0.004884051624685526,
0.022856809198856354,
-0.00015147363592404872,
0.01641853153705597,
0.0017421628581359982,
0.06884714215993881,
-0.0046442304737865925,
0.018862862139940262,
0.07799724489450455,
-0.006359874736517668,
-0.0013097928604111075,
0.043426092714071274,
0.021823732182383537,
-0.016409307718276978,
0.02874165214598179,
0.013217839412391186,
-0.056081272661685944,
0.031656403094530106,
-0.02721048705279827,
0.04191337153315544,
-0.014961155131459236,
-0.040105488151311874,
0.020532386377453804,
-0.05932808294892311,
0.02532881125807762,
-0.02555018477141857,
0.0058525605127215385,
-0.04744770750403404,
0.007683503441512585,
-0.007904876954853535,
-0.06464104354381561,
-0.09983942657709122,
0.06652271747589111,
0.031029177829623222,
0.003272176254540682,
0.024738483130931854,
-0.010801179334521294,
0.00962052121758461,
-0.03792865201830864,
0.07500870525836945,
0.0034128406550735235,
0.05991841480135918,
0.010985657572746277,
0.016842829063534737,
0.016842829063534737,
0.007319159805774689,
0.029590250924229622,
-0.04589809477329254,
-0.013337749987840652,
-0.014407722279429436,
-0.02990386262536049,
0.06120975688099861,
-0.03410995751619339,
0.03628679737448692,
-0.011013329029083252,
-0.046414632350206375,
-0.04113856703042984,
-0.001121279550716281,
0.01720256172120571,
0.018420115113258362,
0.020495491102337837,
-0.030936939641833305,
0.007019382901489735,
0.05689297616481781,
0.04966144263744354,
0.002536570653319359,
0.028538726270198822,
-0.04811182990670204,
-0.05803673714399338,
0.003403616836294532,
-0.03667420148849487,
0.028095979243516922,
-0.027690129354596138,
-0.042872656136751175,
-0.03671109676361084,
-0.005040857940912247,
0.03446046635508537,
-0.04700496047735214,
0.042651284486055374,
0.03578870743513107,
0.020587731152772903,
-0.04279886558651924,
-0.051506221294403076,
-0.06770338118076324,
-0.10183178633451462,
-0.003470489988103509,
-0.013531452044844627,
-0.03706160560250282,
-0.00953750591725111,
-0.013171720318496227,
0.06010289117693901,
0.02045859582722187,
0.0006525904755108058,
0.014370826072990894,
0.01506261806935072,
0.03848208487033844,
0.01648309826850891,
-0.048628367483615875,
0.0022114284802228212,
-0.04290955513715744,
-0.018613817170262337,
-0.028059083968400955,
-0.010210850276052952,
0.06571102142333984,
0.0026149738114327192,
0.11422869563102722,
0.0006600848864763975,
0.08382674306631088,
0.028538726270198822,
-0.03543819859623909,
-0.030328162014484406,
0.03117676079273224,
-0.023262659087777138,
0.06338659673929214,
-0.009251565672457218,
-0.036637306213378906,
-0.006585860159248114,
0.0017825174145400524,
0.06678099185228348,
0.06283316016197205,
-0.01064437348395586,
-0.02444331906735897,
0.020993581041693687,
-0.010293865576386452,
0.05076831206679344,
-0.011419180780649185,
0.03776261955499649,
-0.038998622447252274,
0.03163795545697212,
0.0005984000745229423,
-0.012009509839117527,
0.023594720289111137,
0.021270299330353737,
-0.012147868052124977,
-0.026749292388558388,
0.015551485121250153,
-0.014536856673657894,
-0.00415997626259923,
0.010137058794498444,
-0.03837139904499054,
0.024922961369156837,
-0.06777717173099518,
-0.01913035474717617,
0.005511276423931122,
0.015256320126354694,
-0.039219994097948074,
0.034423571079969406,
0.03606542572379112,
-0.025531737133860588,
-0.017405487596988678,
-0.020477043464779854,
-0.10507859289646149,
0.010026372037827969,
0.04021617770195007,
0.01575441099703312,
0.04069582000374794,
-0.08906591683626175,
0.01377127319574356,
-0.03706160560250282,
-0.0020500102546066046,
0.05571231618523598,
-0.02770857699215412,
-0.002355551812797785,
-0.020384805276989937,
-0.02957180328667164,
0.0020281036850064993,
0.060287367552518845,
0.034810975193977356,
0.028483383357524872,
0.009685087949037552,
-0.022598538547754288,
0.010653597302734852,
0.02743186056613922,
0.002332492033019662,
0.017054978758096695,
0.02638033591210842,
-0.020661521703004837,
0.026509471237659454,
-0.040548235177993774,
0.00165568885859102,
0.01664912886917591,
0.02625120058655739,
-0.02112271636724472,
-0.06556343287229538,
-0.0024097422137856483,
0.05335099995136261,
0.03630524501204491,
-0.06349728256464005,
0.03383324295282364,
-0.04722633585333824,
0.022985942661762238,
0.013116376474499702,
0.004284498747438192,
0.010515239089727402,
-0.0010399940656498075,
0.03992101177573204,
0.011428404599428177,
-0.06681788712739944,
-0.008656623773276806,
0.026177410036325455,
-0.009648192673921585,
0.02256164327263832,
0.04305713623762131,
-0.08168680220842361,
0.08102267980575562,
0.004870215896517038,
0.06120975688099861,
-0.003161489497870207,
-0.012378465384244919,
0.010911866091191769,
-0.03969964012503624,
0.004355983808636665,
0.07294254750013351,
-0.05541715398430824,
-0.003491243813186884,
0.0060047549195587635,
-0.02162080630660057,
0.05881154537200928,
0.05748330429196358,
-0.010939537547528744,
-0.020255669951438904,
-0.026952216401696205,
0.018420115113258362,
0.07427079230546951,
0.06877335160970688,
0.02599293179810047,
0.011456076055765152,
-0.030973834916949272,
0.026638604700565338,
0.022321822121739388,
-0.07427079230546951,
-0.03211759775876999,
-0.07275807112455368,
0.05401512235403061,
0.04279886558651924,
0.010884194634854794,
-0.051948968321084976,
-0.030143683776259422,
-0.01792202517390251,
-0.004438998643308878,
0.016676800325512886,
-0.019665341824293137,
0.02868630923330784,
0.022137343883514404,
0.031490374356508255,
0.03800244256854057,
0.05165380612015724,
-0.031158313155174255,
0.00590329198166728,
0.06168939918279648,
0.01885363832116127,
0.05600748211145401,
0.10153662413358688,
0.012258554808795452,
0.0072130849584937096,
-0.0019358646823093295,
0.016999635845422745,
-0.05383064225316048,
0.02427728846669197,
0.02698911353945732,
0.005151544697582722,
0.036637306213378906,
-0.004930171184241772,
-0.020311014726758003,
-0.03874035179615021,
0.02112271636724472,
0.020975133404135704,
0.016187934204936028,
-0.032486554235219955,
-0.004296028520911932,
-0.0025596304330974817,
-0.008398354984819889,
0.03296619653701782,
-0.04781666398048401,
-0.02957180328667164,
-0.012369241565465927,
0.07249980419874191,
0.03768882900476456,
-0.0032283628825098276,
0.03907241299748421,
0.05870085954666138,
0.0018436257960274816,
0.07515628635883331,
0.0021180366165935993,
0.03765193372964859,
-0.022414062172174454,
0.0037725726142525673,
0.006751890294253826,
0.00006507169018732384,
0.02625120058655739,
-0.03874035179615021,
0.020108088850975037,
0.009057863615453243,
-0.027284277603030205,
0.023631615564227104,
0.00931613240391016,
0.027376515790820122,
-0.07032296806573868,
0.03327981010079384,
-0.01924104243516922,
-0.013863512314856052,
0.0062584117986261845,
-0.04678358882665634,
-0.003064638702198863,
-0.02045859582722187,
0.028760099783539772,
-0.007582040503621101,
-0.034478913992643356,
-0.046525318175554276,
-0.01122547872364521,
0.01586509682238102,
0.043979525566101074,
-0.09555953741073608,
-0.0006433665985241532,
-0.05231792479753494,
0.035696469247341156,
0.003269870299845934,
-0.015883544459939003,
-0.016519993543624878,
0.03724608197808266,
0.007854145020246506,
-0.04479122906923294,
-0.028926130384206772,
-0.018724504858255386,
0.026952216401696205,
0.02134408988058567,
0.015791306272149086,
-0.024683140218257904,
-0.019277937710285187,
0.015542260371148586,
0.04859147220849991,
-0.03918309882283211,
0.06475173681974411,
-0.062279731035232544,
-0.05541715398430824,
0.04604567587375641,
0.03473718464374542,
0.03370410576462746,
-0.040326863527297974,
-0.00717157730832696,
0.08788526058197021,
0.04947696626186371,
0.018512355163693428,
-0.021915972232818604,
0.043094031512737274,
0.015117961913347244,
-0.03112141788005829,
-0.011935718357563019,
-0.08065372705459595,
-0.03818691894412041,
-0.019499311223626137,
-0.025863798335194588,
0.04302024096250534,
0.06275936961174011,
0.00268184719607234,
-0.014739781618118286,
0.01741471141576767,
0.005986306816339493,
-0.023188868537545204,
0.06910540908575058,
-0.05954945832490921,
-0.040179282426834106,
0.002285219728946686,
0.003924766555428505,
0.07858757674694061,
-0.0012129420647397637,
0.014582975767552853,
-0.01835554838180542,
-0.009297684766352177,
-0.04147062450647354,
-0.08485981822013855,
0.03837139904499054,
-0.03903551772236824,
0.009329968132078648,
-0.0033505794126540422,
-0.05353548005223274,
0.023520929738879204,
-0.02261698804795742,
-0.004162282217293978,
-0.008864161558449268,
-0.031084520742297173,
-0.046857379376888275,
0.015053394250571728,
0.012157091870903969,
-0.04549224302172661,
-0.049181800335645676,
-0.026195857673883438,
0.06287006288766861,
0.027948398143053055,
0.028944578021764755,
-0.000760971219278872,
-0.02802218869328499,
-0.011013329029083252,
0.030992282554507256,
0.015071841888129711,
-0.014896588400006294,
0.04025307297706604,
0.00648439722135663,
0.01603112742304802,
0.014509184285998344,
0.01603112742304802,
0.050399355590343475,
-0.0022310293279588223,
-0.050620727241039276,
-0.05508509278297424,
-0.010976433753967285,
-0.0037056992296129465,
0.02239561453461647,
0.009274625219404697,
0.049845922738313675,
0.014463065192103386,
-0.04726323112845421,
0.016658352687954903,
-0.06999090313911438,
0.05368306115269661,
-0.032154493033885956,
0.013180944137275219,
-0.00393860274925828,
-0.009020968340337276,
0.029774729162454605,
-0.012147868052124977,
-0.023982124403119087,
0.018447786569595337,
0.008702743798494339,
0.0005897526862099767,
-0.016436979174613953,
0.024959856644272804,
-0.04124925285577774,
-0.03305843472480774,
0.03460804745554924,
0.04257749393582344,
-0.00915471464395523,
0.014453841373324394,
0.05397822707891464,
0.05589679628610611,
-0.008928729221224785,
0.029922310262918472,
-0.01803271286189556,
-0.03156416490674019,
-0.03156416490674019,
-0.028796996921300888,
-0.017931248992681503,
0.03056798316538334,
-0.004293722566217184,
-0.017267128452658653,
-0.021971315145492554,
0.02907371334731579,
-0.045086391270160675,
0.08795905113220215,
-0.06508379429578781,
-0.038998622447252274,
-0.05043625086545944,
0.03117676079273224,
-0.04855457693338394,
0.01823563687503338,
-0.014361602254211903,
0.0009569789399392903,
-0.006756502203643322,
0.02328110672533512,
-0.015579156577587128,
-0.01940707303583622,
-0.05478992685675621,
-0.009685087949037552,
0.015154857188463211,
0.009362252429127693,
-0.010690492577850819,
-0.0076881153509020805,
0.06888403743505478,
-0.004545073490589857,
0.00907169934362173,
-0.0005891761975362897,
0.03241276368498802,
-0.06010289117693901,
-0.05803673714399338,
0.006064710207283497,
0.002958563854917884,
-0.04733702167868614,
0.002395906485617161,
0.03346428647637367,
0.03222828358411789,
-0.028796996921300888,
0.05080520734190941,
0.02560552954673767,
-0.04803803935647011,
0.07216774672269821,
-0.03532751277089119,
0.06102528050541878,
-0.060508742928504944,
0.02178683690726757,
-0.03951516002416611,
-0.013429989106953144,
-0.0073560550808906555,
-0.06788785755634308,
0.03969964012503624,
0.05777847021818161,
-0.07463974505662918,
0.03101073019206524,
-0.02156546339392662,
0.05264998599886894,
-0.046414632350206375,
0.010238521732389927,
-0.023078182712197304,
0.030826251953840256,
0.07165120542049408,
0.043315403163433075,
0.05877465009689331,
-0.05087899789214134,
0.007314547896385193,
0.012821212410926819,
-0.009795774705708027,
-0.008914893493056297,
0.012323121540248394,
-0.0018159541068598628,
-0.0005554513190872967,
-0.04744770750403404,
-0.05357237532734871,
-0.02460934780538082,
-0.03029126673936844,
-0.025531737133860588,
-0.012572167441248894,
-0.015191752463579178,
-0.006544352509081364,
0.01847545988857746,
-0.020643074065446854,
0.012064852751791477,
-0.01729479990899563,
-0.07190947234630585,
-0.004554297309368849,
-0.024295736104249954,
0.05777847021818161,
-0.028760099783539772,
-0.013097928836941719,
0.03211759775876999,
-0.019868267700076103,
-0.03715384379029274,
-0.024258840829133987,
-0.050510041415691376,
0.012433808296918869,
-0.04589809477329254,
0.0024051303043961525,
-0.032763268798589706,
-0.017562294378876686,
-0.0024973691906780005,
-0.031102970242500305,
-0.07434458285570145,
0.007259204518049955,
-0.017239456996321678,
-0.023244211450219154,
0.006456725765019655,
0.014094109646975994,
-0.007060890551656485,
-0.008698131889104843,
-0.01863226480782032,
-0.030217476189136505,
-0.011954165995121002,
-0.00970353651791811,
0.02394522726535797,
-0.031029177829623222,
-0.05755709484219551,
-0.05419959872961044,
-0.04870215803384781,
0.00016300349670927972,
0.01542234979569912,
0.03241276368498802,
-0.009712760336697102,
-0.04881284385919571,
-0.01901966892182827,
0.0020027379505336285,
-0.002060387283563614,
0.014601423405110836,
0.01792202517390251,
-0.015496141277253628,
0.025863798335194588,
0.06563723087310791,
0.05508509278297424,
-0.05947566777467728,
0.003578870790079236,
-0.039736535400152206,
-0.02239561453461647,
0.04659911245107651,
-0.005571231711655855,
0.04139683395624161,
0.008038623258471489,
0.00344281829893589,
0.028280457481741905,
0.0032122209668159485,
0.04313092678785324,
-0.03123210370540619,
0.07356977462768555,
-0.05445786938071251,
0.00761432433500886,
-0.01935172826051712,
-0.004487424157559872,
0.004328311886638403,
-0.02449866198003292,
0.00989723764359951,
0.030162131413817406,
-0.03704315796494484,
-0.04932938143610954,
0.05010418966412544,
-0.056524019688367844,
0.07659520953893661,
-0.03859277069568634,
0.06607997417449951,
-0.02217424102127552,
0.04656221345067024,
0.013374646194279194,
-0.06519448012113571,
0.01792202517390251,
-0.021934419870376587,
0.019093459472060204,
-0.02726582996547222,
0.02837269753217697,
-0.004893275443464518,
0.015542260371148586,
-0.05235482007265091,
-0.057593993842601776,
-0.07316392660140991,
0.031139865517616272,
0.01108712051063776,
0.014223244041204453,
0.017949696630239487,
0.03407306224107742,
0.049292486160993576,
-0.03167485073208809,
-0.01758996583521366,
0.06493621319532394,
0.04180268570780754,
-0.05977082997560501,
-0.07807103544473648,
0.02815132401883602,
-0.027192039415240288,
-0.015311663039028645,
0.043426092714071274,
0.009080923162400723,
-0.00992491003125906,
-0.09046795219182968,
0.05932808294892311,
-0.040437549352645874,
-0.009214669466018677,
-0.049181800335645676,
0.009145490825176239,
-0.06537895649671555,
-0.014131004922091961,
0.04859147220849991,
0.03499545156955719,
-0.012673629447817802,
0.021436328068375587,
-0.03268947824835777,
0.05442097410559654,
0.0035442812368273735,
-0.052723776549100876,
-0.07154051959514618,
0.008167757652699947,
-0.02134408988058567,
-0.006267635617405176,
0.04512328654527664,
0.007526697125285864,
0.002850183052942157,
0.009592849761247635,
0.011880375444889069,
-0.04261438921093941,
0.04279886558651924,
0.033039987087249756,
-0.02765323407948017,
0.003742594737559557,
0.005303738638758659,
-0.010791955515742302,
-0.011400732211768627,
0.002688765060156584,
0.03907241299748421,
-0.04445916786789894,
-0.00402392353862524,
0.03648972511291504,
0.009712760336697102,
-0.003998558036983013,
-0.07342219352722168,
0.008545937016606331,
-0.039441369473934174,
0.004042371176183224,
0.027524098753929138,
-0.048739053308963776,
-0.027247382327914238,
-0.05250240117311478,
-0.031268998980522156,
0.05866396427154541,
0.03517993167042732,
0.009519058279693127,
0.03252344951033592,
0.004512790124863386,
-0.012000286020338535,
-0.015053394250571728,
-0.02968248911201954,
0.03586249798536301,
-0.03907241299748421,
-0.019333280622959137,
-0.020772209390997887,
-0.006691935006529093,
-0.022155793383717537,
-0.042761970311403275,
-0.020716864615678787,
0.05257619544863701,
-0.05250240117311478,
-0.005917127709835768,
0.043868839740753174,
-0.01166822575032711,
-0.0011887293076142669,
-0.022930599749088287,
0.00456121563911438,
-0.01924104243516922,
-0.022985942661762238,
-0.015173304826021194,
0.01186192687600851,
0.001368595170788467,
0.018014265224337578,
0.07925169169902802,
0.027948398143053055,
0.03914620354771614,
0.04102787747979164,
0.05530646815896034,
0.016298620030283928,
0.013669810257852077,
0.06906851381063461,
0.016833605244755745,
-0.014352378435432911,
0.01681515760719776,
-0.0017617637058719993,
-0.03130589425563812,
0.03062332607805729,
-0.005146932788193226,
0.0007892193971201777,
-0.055933691561222076,
0.026564814150333405,
0.029387325048446655,
0.028262009844183922,
0.061394236981868744,
0.039441369473934174,
-0.055490944534540176,
0.024424869567155838,
-0.014444617554545403,
-0.012212434783577919,
-0.05298204347491264,
0.0037333709187805653,
0.04825941100716591,
-0.01935172826051712,
0.012784316204488277,
-0.045861199498176575,
0.020495491102337837,
-0.02625120058655739,
0.02638033591210842
] |
726,189 | pydantic_extra_types.color | original |
Original value passed to `Color`.
| def original(self) -> ColorType:
"""
Original value passed to `Color`.
"""
return self._original
| (self) -> Union[Tuple[int, int, int], Tuple[int, int, int, float], str, pydantic_extra_types.color.Color] | [
0.002133559202775359,
-0.07920470088720322,
0.029212845489382744,
0.04620274156332016,
-0.029789069667458534,
-0.032705117017030716,
0.014117504470050335,
0.012388830073177814,
0.10176476836204529,
-0.02397443912923336,
-0.015881100669503212,
-0.048891790211200714,
0.016177944839000702,
0.02023770846426487,
-0.006473796907812357,
0.043793074786663055,
-0.0007437445456162095,
0.015916023403406143,
0.03803082928061485,
-0.030993903055787086,
0.031028825789690018,
-0.023310907185077667,
0.03361310437321663,
-0.018439190462231636,
-0.0159946009516716,
0.02992876060307026,
0.014117504470050335,
0.0058059003204107285,
-0.014222272671759129,
-0.04431691765785217,
-0.02400936186313629,
-0.00534317409619689,
0.015130262821912766,
0.07857609540224075,
0.04068495333194733,
-0.05336189642548561,
-0.05647001788020134,
0.06722620874643326,
-0.02107585407793522,
-0.012650750577449799,
-0.038659438490867615,
-0.0018268941203132272,
-0.03418933227658272,
-0.01539218332618475,
0.024463357403874397,
0.0018170721596106887,
0.009149749763309956,
-0.005862649530172348,
-0.028165163472294807,
-0.06960095465183258,
0.03532432019710541,
-0.01614302210509777,
-0.0016839293530210853,
0.0667722150683403,
0.018142346292734146,
-0.009734705090522766,
0.014938187785446644,
0.04997439309954643,
-0.05563187226653099,
0.07187093049287796,
0.007966742850840092,
0.00022263225400820374,
0.015409644693136215,
-0.08199851959943771,
-0.01496438030153513,
-0.013226975686848164,
-0.0097172437235713,
0.0377514474093914,
0.02963191829621792,
0.028130240738391876,
-0.010206161066889763,
0.047774262726306915,
0.03260034695267677,
-0.010022817179560661,
-0.01829949952661991,
-0.03824036568403244,
0.02140761911869049,
0.021512387320399284,
0.004880448337644339,
-0.07641088217496872,
-0.018351882696151733,
0.04868225380778313,
0.00507252337411046,
0.030749443918466568,
-0.009926779195666313,
-0.10204415023326874,
-0.015523143112659454,
0.009411669336259365,
-0.028025472536683083,
0.01410004310309887,
-0.009647398255765438,
-0.010118854232132435,
-0.08067145198583603,
-0.0042583877220749855,
0.029003309085965157,
-0.02909061498939991,
0.023293446749448776,
-0.010363313369452953,
0.11377818137407303,
-0.041243717074394226,
0.01296505518257618,
0.03740222007036209,
-0.004605432040989399,
-0.032111428678035736,
0.022298147901892662,
-0.03796098381280899,
0.004653450567275286,
0.006971445400267839,
-0.011445917189121246,
-0.0057185934856534,
-0.016466056928038597,
0.026349183171987534,
-0.024079207330942154,
0.02107585407793522,
0.029317613691091537,
-0.031832046806812286,
-0.02336329221725464,
-0.004247474484145641,
0.0302256029099226,
0.07061371207237244,
0.0056618438102304935,
0.009446592070162296,
0.0009734704508446157,
0.029230305925011635,
-0.013366666622459888,
0.06806435436010361,
-0.026314260438084602,
-0.0044286358170211315,
-0.0474250353872776,
-0.03361310437321663,
-0.0282699316740036,
0.019486870616674423,
-0.0463075116276741,
0.0491013266146183,
0.05105699971318245,
0.02369505725800991,
0.00367124960757792,
0.08143975585699081,
-0.002448954852297902,
0.08374465256929398,
0.00848185271024704,
0.03785621374845505,
0.05800661817193031,
0.00006251301238080487,
0.03160504996776581,
0.0002608289651107043,
0.03817052021622658,
0.05926383659243584,
-0.03988173231482506,
0.08178897947072983,
0.014650075696408749,
0.05706370249390602,
0.05594617873430252,
0.03230350464582443,
0.0013237888924777508,
0.001520229154266417,
-0.03340356796979904,
-0.020342476665973663,
-0.01765342801809311,
0.0037651043385267258,
-0.032111428678035736,
-0.008905290625989437,
0.07948408275842667,
-0.0922657921910286,
0.027850858867168427,
0.014274656772613525,
0.02654125727713108,
-0.07326783984899521,
-0.017443891614675522,
-0.05137130245566368,
-0.05510803312063217,
-0.08199851959943771,
0.013532549142837524,
0.06474670022726059,
0.021494926884770393,
0.0883544534444809,
-0.018963029608130455,
0.020901240408420563,
-0.014501654542982578,
0.004862986970692873,
0.007377421949058771,
-0.008940213359892368,
-0.0455741323530674,
-0.005980513524264097,
0.06080043315887451,
-0.025807881727814674,
-0.002789451275020838,
0.0024227628018707037,
0.03258288651704788,
-0.020394861698150635,
0.05325713008642197,
0.04477091133594513,
0.012982516549527645,
-0.02135523594915867,
0.020150402560830116,
-0.07710933685302734,
-0.06984541565179825,
-0.022577529773116112,
0.019242411479353905,
0.041523098945617676,
-0.028025472536683083,
-0.02877631038427353,
-0.03134312853217125,
0.007377421949058771,
-0.011053036898374557,
-0.022437838837504387,
0.013995274901390076,
-0.03244319558143616,
-0.02624441497027874,
-0.006469431798905134,
-0.021512387320399284,
-0.00642577838152647,
0.07396629452705383,
0.019312256947159767,
-4.092504752861714e-7,
-0.08374465256929398,
-0.05081253871321678,
-0.015916023403406143,
-0.03743714094161987,
0.0708581730723381,
0.01367224007844925,
-0.024428434669971466,
-0.027781013399362564,
-0.03956742584705353,
0.02680317871272564,
-0.0002666949003469199,
-0.029893837869167328,
-0.05475880578160286,
-0.011969758197665215,
-0.04941563308238983,
0.012711865827441216,
-0.06317517906427383,
-0.044910602271556854,
0.026349183171987534,
0.00813699048012495,
0.057797081768512726,
0.007582592777907848,
0.007429806049913168,
-0.06226718798279762,
0.015601719729602337,
-0.047494880855083466,
0.04431691765785217,
0.07822686433792114,
0.039811886847019196,
0.02572057396173477,
-0.035202089697122574,
-0.006674602627754211,
0.07312814891338348,
-0.05535249039530754,
0.010249814949929714,
-0.026715870946645737,
-0.037541911005973816,
-0.010939538478851318,
0.04026588052511215,
0.020639320835471153,
-0.0021728472784161568,
-0.0535714328289032,
-0.033281341195106506,
0.001449292409233749,
-0.005971782840788364,
-0.021547310054302216,
-0.000066264474298805,
0.0755028948187828,
-0.003974640741944313,
0.0063166446052491665,
-0.012345177121460438,
-0.02252514660358429,
0.03132566809654236,
0.016989897936582565,
0.030592292547225952,
0.11615292727947235,
-0.010223622433841228,
-0.012624558992683887,
-0.00042180082527920604,
-0.014440539292991161,
-0.027885781601071358,
-0.03160504996776581,
0.03251304104924202,
0.01085223164409399,
-0.007364326156675816,
0.06373394280672073,
-0.0012943228939548135,
-0.03974204137921333,
-0.044351838529109955,
-0.03312418982386589,
0.036948226392269135,
0.017470084130764008,
0.0009903861209750175,
-0.0012943228939548135,
0.0020866317208856344,
0.03397979587316513,
0.005949956364929676,
0.024410972371697426,
0.003394050756469369,
0.048088569194078445,
0.006181319244205952,
-0.028077857568860054,
0.0411040261387825,
-0.015042955987155437,
0.015627911314368248,
-0.002800364512950182,
-0.03914835676550865,
-0.008704484440386295,
0.01010139286518097,
-0.011541955173015594,
0.012781711295247078,
-0.013226975686848164,
-0.01597713865339756,
0.00105204654391855,
0.0055745369754731655,
-0.015671564266085625,
0.02510942704975605,
-0.058600302785634995,
0.0051467339508235455,
-0.003232533112168312,
-0.06055597588419914,
0.05343174189329147,
-0.04972993582487106,
0.04421214759349823,
0.09031011909246445,
-0.035516392439603806,
-0.053746048361063004,
-0.06387363374233246,
-0.004033572506159544,
0.026698410511016846,
-0.009577552787959576,
-0.03855466842651367,
0.07270907610654831,
0.018683647736907005,
-0.0030360929667949677,
-0.05018392950296402,
-0.03020814247429371,
-0.005666209384799004,
-0.00854733306914568,
-0.021180622279644012,
-0.08807507157325745,
0.004596701357513666,
0.009595014154911041,
-0.018491573631763458,
-0.05566679686307907,
-0.006565468851476908,
-0.025825342163443565,
-0.01650097966194153,
-0.0273444801568985,
0.018945569172501564,
0.044596295803785324,
0.00027965448680333793,
-0.00043025866034440696,
0.05772723630070686,
-0.0034420692827552557,
0.003132130252197385,
-0.044072456657886505,
-0.02392205409705639,
0.02107585407793522,
0.028619159013032913,
0.013314282521605492,
-0.03740222007036209,
-0.04941563308238983,
0.013637317344546318,
-0.009822011925280094,
0.026593642309308052,
-0.029230305925011635,
0.03047006204724312,
-0.02713494375348091,
0.019242411479353905,
0.046063050627708435,
-0.06024166941642761,
-0.05538741499185562,
-0.021215545013546944,
0.0029138633981347084,
-0.00912355724722147,
-0.0005101989372633398,
-0.007224635221064091,
-0.08067145198583603,
-0.03649422898888588,
-0.0530126690864563,
-0.061743348836898804,
0.048891790211200714,
0.005958687048405409,
-0.004740757402032614,
0.06544515490531921,
0.006626583635807037,
-0.05332697555422783,
0.007416709791868925,
-0.011131612583994865,
0.00399428466334939,
0.018945569172501564,
0.003878603223711252,
-0.009175941348075867,
-0.0012452127411961555,
-0.060346439480781555,
-0.05465403571724892,
0.06809928268194199,
-0.028619159013032913,
0.03507985919713974,
-0.0012834095396101475,
-0.02795562706887722,
0.0017581400461494923,
-0.060905203223228455,
-0.022106073796749115,
-0.0014558404218405485,
0.03251304104924202,
0.021844154223799706,
-0.028042934834957123,
-0.04599320515990257,
-0.008726311847567558,
0.021756846457719803,
0.09841219335794449,
0.003363493364304304,
-0.04274539276957512,
-0.02477766014635563,
-0.004133975598961115,
-0.037262529134750366,
-0.02111077681183815,
0.043793074786663055,
-0.05039346590638161,
0.034957628697156906,
-0.05622556060552597,
0.029736684635281563,
0.017068473622202873,
-0.03370041400194168,
0.007425440475344658,
0.0011137069668620825,
0.03946265950798988,
0.005901937372982502,
0.041837405413389206,
0.022891834378242493,
0.05165068432688713,
-0.031238362193107605,
0.024061745032668114,
0.0030731982551515102,
-0.024393511936068535,
0.05440957844257355,
-0.020953625440597534,
0.03081928938627243,
0.007150424178689718,
0.005330078303813934,
-0.011742760427296162,
0.0036123176105320454,
0.062022726982831955,
0.044386763125658035,
0.021617155522108078,
-0.004876083228737116,
0.0006297000800259411,
0.03188443183898926,
-0.03518462926149368,
-0.014370693825185299,
0.02022024802863598,
0.006224972661584616,
-0.03174474090337753,
-0.0051903873682022095,
0.04340892657637596,
0.0293874591588974,
-0.06925173103809357,
-0.02765878476202488,
-0.018997952342033386,
-0.08472248911857605,
-0.01755739189684391,
0.020988548174500465,
-0.01597713865339756,
0.018334422260522842,
0.021791769191622734,
-0.050079163163900375,
-0.0491013266146183,
0.010869693011045456,
-0.009734705090522766,
0.03083675168454647,
-0.09198641031980515,
-0.032373350113630295,
0.002874575322493911,
0.05220944806933403,
-0.054095275700092316,
0.0031714183278381824,
-0.046621814370155334,
-0.0071024056524038315,
0.008023492060601711,
-0.03820544108748436,
-0.0010776929557323456,
-0.008298508822917938,
-0.01969640702009201,
-0.0444566085934639,
-0.02399189956486225,
-0.002579915104433894,
-0.040615107864141464,
0.033822640776634216,
0.06069566681981087,
-0.050952229648828506,
0.04113895073533058,
0.047809187322854996,
0.08346527069807053,
-0.05681924521923065,
0.045224905014038086,
-0.04784410819411278,
0.03684345632791519,
-0.04271047189831734,
-0.006080916617065668,
0.025301501154899597,
-0.025231655687093735,
0.004518125206232071,
0.026942869648337364,
0.006281721871346235,
-0.030452601611614227,
-0.00029984419234097004,
-0.009822011925280094,
0.05800661817193031,
-0.09883126616477966,
0.007412344682961702,
-0.0087874261662364,
-0.0006869951612316072,
-0.009106095880270004,
0.008560428395867348,
0.037786368280649185,
0.09121811389923096,
-0.0524539053440094,
0.0038284019101411104,
-0.05444449931383133,
-0.01783677376806736,
0.03307180479168892,
0.03081928938627243,
-0.07703949511051178,
-0.004262752830982208,
0.024463357403874397,
-0.024917351081967354,
-0.019050337374210358,
-0.013471434824168682,
0.04676150530576706,
-0.00788816623389721,
-0.0030972075182944536,
-0.0020397044718265533,
-0.011053036898374557,
0.0035664814058691263,
-0.021215545013546944,
-0.005378096830099821,
0.03928804770112038,
-0.011044306680560112,
-0.00448756804689765,
-0.019242411479353905,
-0.020656781271100044,
-0.07249954342842102,
-0.008765599690377712,
0.0006362480926327407,
0.0019054702715948224,
0.014169888570904732,
0.020185325294733047,
-0.0524539053440094,
0.014580230228602886,
-0.03048752434551716,
0.010433158837258816,
-0.07002002745866776,
-0.04012618958950043,
-0.03361310437321663,
-0.0319892019033432,
-0.003317657159641385,
-0.031570129096508026,
-0.013506357558071613,
0.051231611520051956,
-0.01425719540566206,
0.018456650897860527,
0.018369344994425774,
-0.003103755647316575,
0.03560370206832886,
0.02425382100045681,
0.05308251455426216,
-0.019818635657429695,
-0.021791769191622734,
0.033281341195106506,
0.0006864494644105434,
0.04885686933994293,
-0.034922707825899124,
-0.030417678877711296,
0.002361648017540574,
-0.01824711449444294,
0.06841358542442322,
0.00925451796501875,
0.004771315027028322,
0.04002142325043678,
-0.005312616936862469,
-0.01240629144012928,
-0.017470084130764008,
-0.06107981503009796,
0.016492249444127083,
-0.014231002889573574,
-0.012222947552800179,
-0.08807507157325745,
-0.031290747225284576,
-0.029439842328429222,
0.000558763334993273,
0.04225647449493408,
0.01284282561391592,
-0.02051709033548832,
-0.0002535988751333207,
0.04078972339630127,
-0.042954929172992706,
-0.03848482295870781,
-0.034957628697156906,
-0.022071151062846184,
0.019294796511530876,
-0.010887154377996922,
-0.009298170916736126,
0.06275610625743866,
0.006168223451822996,
-0.0141349658370018,
0.02879377268254757,
0.03928804770112038,
-0.030924057587981224,
-0.04068495333194733,
0.07899516820907593,
-0.019818635657429695,
0.050079163163900375,
-0.03256542608141899,
0.025790419429540634,
0.012720596045255661,
-0.027571476995944977,
-0.062057651579380035,
0.06338471174240112,
-0.016134290024638176,
-0.013296821154654026,
0.03628469258546829,
-0.03621484711766243,
0.07689980417490005,
-0.03827528655529022,
0.05783200263977051,
-0.018736032769083977,
0.026698410511016846,
-0.022158458828926086,
0.004382799845188856,
-0.008778695948421955,
0.0035468374844640493,
-0.02537134662270546,
-0.04812349006533623,
0.02029009349644184,
0.024183975532650948,
-0.01410004310309887,
-0.03511478379368782,
-0.04187232628464699,
-0.008992597460746765,
0.004068495240062475,
0.018997952342033386,
-0.016920052468776703,
0.03195427730679512,
0.043478772044181824,
0.019591638818383217,
-0.0032063410617411137,
0.05591125413775444,
-0.05392066016793251,
-0.0016119012143462896,
-0.01324443705379963,
-0.0667722150683403,
-0.05479372665286064,
-0.04969501122832298,
-0.023625211790204048,
0.08004284650087357,
0.014754843898117542,
-0.006657141260802746,
-0.044351838529109955,
-0.021791769191622734,
0.0057185934856534,
0.045259829610586166,
0.01796773262321949,
-0.04113895073533058,
-0.008477487601339817,
0.06170842424035072,
0.022664837539196014,
0.030871674418449402,
0.054374657571315765,
0.00035495657357387245,
0.06097504869103432,
0.012554713524878025,
-0.0011851893505081534,
-0.018910646438598633,
-0.06369902193546295,
-0.011882451362907887,
-0.05510803312063217,
-0.033805180341005325,
0.004092504736036062,
-0.017461353912949562,
0.012869018130004406,
0.014458000659942627,
0.06754051893949509,
-0.00734249921515584,
0.0013379761949181557,
0.030347833409905434,
-0.07064864039421082,
0.06432762742042542,
0.04305969923734665,
0.07913485169410706,
-0.02196638286113739,
0.013148399069905281,
0.018770955502986908,
-0.04078972339630127,
-0.02315375581383705,
-0.026925407350063324,
-0.0050201392732560635,
0.0013849036768078804,
0.0038393151480704546,
0.015042955987155437,
-0.05940352380275726,
-0.04396769031882286,
0.0018945569172501564,
0.03333372622728348,
0.039183277636766434,
0.009725973941385746,
-0.005111811216920614,
0.021040931344032288,
0.04536459594964981,
-0.0005001040990464389,
0.02706509828567505,
-0.016736706718802452,
0.04704088717699051,
0.012449945323169231,
0.023572826758027077,
0.02514434978365898,
-0.013157130219042301,
0.030592292547225952,
-0.016710516065359116,
0.020359938964247704,
-0.07648073136806488,
-0.024987196549773216,
-0.034922707825899124,
0.05828600004315376,
-0.020063094794750214,
0.0017046646680682898,
0.04756472632288933,
0.03301941975951195,
0.04414230212569237,
0.03284480795264244,
-0.009062442928552628,
-0.0377514474093914,
-0.03558623790740967,
-0.013768277131021023,
0.025196732953190804,
0.03789113834500313,
0.03048752434551716,
0.047494880855083466,
0.021617155522108078,
0.024690354242920876,
0.02023770846426487,
0.060905203223228455,
-0.014885803684592247,
-0.01936464197933674,
-0.044945523142814636,
0.0273444801568985,
-0.04187232628464699,
0.03223365917801857,
0.0008234119741246104,
0.009088634513318539,
0.013680970296263695,
0.043827999383211136,
0.013881776481866837,
-0.0036035869270563126,
0.010022817179560661,
0.05538741499185562,
-0.027292095124721527,
0.028060395270586014,
0.025528499856591225,
-0.03377025946974754,
0.003979005850851536,
0.014484193176031113,
0.022350532934069633,
-0.021809231489896774,
0.002599559025838971,
-0.026157107204198837,
-0.002111732494086027,
0.03221619874238968,
0.027850858867168427,
0.038903895765542984,
-0.00740797957405448,
-0.0116729149594903
] |
726,190 | penne.delegates | ColumnType | String indicating type of data stored in a column in a table
Used in TableColumnInfo inside TableInitData. Takes value of either TEXT, REAL, or INTEGER
| class ColumnType(str, Enum):
"""String indicating type of data stored in a column in a table
Used in TableColumnInfo inside TableInitData. Takes value of either TEXT, REAL, or INTEGER
"""
text = "TEXT"
real = "REAL"
integer = "INTEGER"
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.04511008411645889,
-0.01018767710775137,
-0.01384576316922903,
-0.027975834906101227,
0.02609940618276596,
-0.047574080526828766,
0.024753686040639877,
0.0021808736491948366,
-0.03900695592164993,
-0.09492071717977524,
-0.01921917125582695,
0.060690123587846756,
-0.019143356010317802,
0.013637271709740162,
0.008586078882217407,
-0.006624359171837568,
-0.017039481550455093,
-0.00022522466315422207,
0.028430726379156113,
-0.006373221054673195,
0.013741517439484596,
0.06702069938182831,
-0.01670778915286064,
-0.0018183818319812417,
0.02549288421869278,
0.04040953889489174,
-0.025170668959617615,
-0.007946387864649296,
-0.004323839675635099,
-0.028127465397119522,
-0.0496969074010849,
-0.07316173613071442,
-0.01068047620356083,
-0.01503037754446268,
-0.05390465632081032,
-0.023104703053832054,
0.005889898631721735,
0.007093466352671385,
0.015115668997168541,
0.02484845370054245,
-0.06277504563331604,
0.0006698989891447127,
-0.043366335332393646,
-0.0353299155831337,
-0.04359377920627594,
-0.040068369358778,
-0.04135723039507866,
-0.05231253430247307,
-0.03474234789609909,
0.0010217292001470923,
-0.002591934520751238,
0.0023064427077770233,
-0.0007012912537902594,
-0.03387047350406647,
-0.04867340251803398,
-0.02837386541068554,
-0.015077761374413967,
0.03709262236952782,
-0.035102467983961105,
0.07319964468479156,
0.005283376667648554,
0.039878830313682556,
-0.026592206209897995,
-0.052047181874513626,
0.005624545272439718,
-0.010026569478213787,
0.017740773037075996,
0.006790204904973507,
-0.00031362645677290857,
0.038589973002672195,
-0.018527356907725334,
-0.023104703053832054,
0.013428779318928719,
0.04185003042221069,
0.04257027432322502,
-0.019768832251429558,
-0.044731009751558304,
0.03646714612841606,
0.015570561401546001,
0.030458783730864525,
0.06603509932756424,
0.00925420131534338,
0.020015230402350426,
-0.023976579308509827,
-0.015636898577213287,
-0.005558207165449858,
-0.03413582593202591,
0.011694504879415035,
0.010519368574023247,
0.02898038737475872,
-0.02820328064262867,
-0.07501921057701111,
-0.00652485154569149,
0.04382122680544853,
-0.016395052894949913,
-0.052047181874513626,
0.015580037608742714,
-0.019313940778374672,
-0.00749149639159441,
-0.012310503982007504,
-0.00850552599877119,
0.000871283293236047,
0.04605777561664581,
-0.042835626751184464,
-0.014366993680596352,
-0.06785466521978378,
-0.010168722830712795,
-0.02077338472008705,
-0.02863921783864498,
-0.016793081536889076,
-0.032183580100536346,
-0.05534514784812927,
-0.03788867965340614,
-0.06611091643571854,
0.029738539829850197,
0.02721768245100975,
-0.01126804482191801,
-0.02441251650452614,
-0.009443739429116249,
0.01725745014846325,
0.018195664510130882,
0.030079707503318787,
0.02782420441508293,
0.03328290209174156,
0.024867407977581024,
0.0497727245092392,
0.01891591027379036,
-0.03478025645017624,
-0.0033974717371165752,
0.05663400515913963,
0.018461018800735474,
-0.016072837635874748,
-0.0018171971896663308,
0.04560288414359093,
0.03697889670729637,
0.04192584380507469,
0.03155810758471489,
0.04143304377794266,
0.01281278021633625,
0.07403361052274704,
0.007188235409557819,
0.033301856368780136,
0.010670999065041542,
-0.06766512989997864,
0.022327596321702003,
0.050455063581466675,
0.014802931807935238,
0.01377942506223917,
-0.05803658813238144,
0.019503477960824966,
-0.02966272458434105,
-0.024621007964015007,
-0.03726320341229439,
0.005074884742498398,
0.0104245999827981,
-0.01281278021633625,
-0.000993298483081162,
-0.06319202482700348,
-0.0028549188282340765,
0.007681034505367279,
0.03271428868174553,
-0.008391802199184895,
-0.05830194056034088,
-0.01427222415804863,
0.003906855825334787,
0.06815792620182037,
-0.007581526879221201,
-0.05413210391998291,
0.008244910277426243,
-0.04033372178673744,
-0.001966458512470126,
-0.021550489589571953,
0.04033372178673744,
0.06273713707923889,
0.03284696489572525,
0.05064459890127182,
-0.007723680697381496,
0.06425344198942184,
0.037718094885349274,
-0.05250207334756851,
0.05326022580265999,
0.00044482239172793925,
-0.044314026832580566,
0.03064832277595997,
0.011343860067427158,
0.004075070843100548,
0.04203956574201584,
-0.022687720134854317,
0.01593068428337574,
0.01420588605105877,
-0.013419303111732006,
-0.052729520946741104,
-0.020432215183973312,
-0.014660777524113655,
0.01152392104268074,
-0.004875869490206242,
0.035197239369153976,
-0.020735476166009903,
-0.01218730490654707,
0.048256419599056244,
-0.03358616307377815,
0.06262341141700745,
0.008595556020736694,
0.025341253727674484,
0.02592882141470909,
-0.03874160349369049,
0.0528053343296051,
-0.05231253430247307,
-0.052691612392663956,
-0.052994873374700546,
-0.018423110246658325,
-0.03326394781470299,
-0.0023775193840265274,
0.0328090563416481,
0.0351782850921154,
-0.06607300788164139,
-0.0609554760158062,
-0.004112978465855122,
-0.03138752281665802,
0.033813610672950745,
0.10219898074865341,
0.02145572192966938,
0.02657325193285942,
-0.007354081142693758,
0.0831693485379219,
-0.04048535227775574,
-0.018280956894159317,
-0.0722898617386818,
-0.008135925978422165,
0.030382968485355377,
-0.03874160349369049,
0.003904486307874322,
-0.023919718340039253,
0.03233521431684494,
0.01695418916642666,
0.014101640321314335,
0.01528625376522541,
-0.007183496840298176,
-0.0119977667927742,
-0.010803676210343838,
-0.020792337134480476,
0.01674569770693779,
-0.06239596754312515,
0.014291178435087204,
-0.015940159559249878,
-0.05223672091960907,
0.03307441249489784,
0.05405628681182861,
-0.058188218623399734,
-0.023199472576379776,
-0.02382494881749153,
-0.03790763393044472,
0.029207833111286163,
-0.0529569648206234,
0.016565635800361633,
0.002691442146897316,
-0.086656853556633,
0.02708500437438488,
0.014717639423906803,
-0.03498874604701996,
-0.05739215761423111,
-0.04639894515275955,
0.021721074357628822,
0.061334554105997086,
0.02992807701230049,
-0.07164543122053146,
0.005435007158666849,
0.03616388514637947,
0.015352591872215271,
-0.00047118004295043647,
0.1504933089017868,
0.0319940447807312,
-0.06213061511516571,
0.009969707578420639,
-0.0029639031272381544,
-0.019162310287356377,
0.005923068150877953,
-0.015333638526499271,
0.04575451463460922,
-0.06402599811553955,
-0.0004939838545396924,
-0.0013575671473518014,
0.00003931436367565766,
0.008007987402379513,
0.006387436296790838,
0.03743378818035126,
-0.03335871919989586,
-0.008775616995990276,
-0.029643770307302475,
0.054283734411001205,
0.009339493699371815,
0.014348039403557777,
-0.007709465455263853,
0.026023590937256813,
0.035367824137210846,
0.02738826535642147,
0.05060669407248497,
0.032145675271749496,
0.03912067785859108,
-0.03163392096757889,
-0.0053307609632611275,
0.015598991885781288,
0.04734663665294647,
0.014025825075805187,
-0.06975004822015762,
-0.015504222363233566,
-0.012054627761244774,
-0.05060669407248497,
-0.023635409772396088,
0.012869642116129398,
0.0224792268127203,
0.05064459890127182,
-0.06523904204368591,
0.0591738186776638,
0.04003046080470085,
0.06444297730922699,
-0.050796229392290115,
0.006894451100379229,
-0.044389840215444565,
0.052691612392663956,
-0.020830245688557625,
-0.0368841290473938,
0.0024403040297329426,
-0.04681592807173729,
-0.01840415596961975,
-0.026288945227861404,
-0.015200961381196976,
0.024317746981978416,
-0.011921951547265053,
-0.026288945227861404,
0.00826860312372446,
-0.02101978287100792,
0.04685383662581444,
0.03294173628091812,
-0.019010677933692932,
-0.012784349732100964,
0.023066796362400055,
0.004539439454674721,
-0.0006432451773434877,
0.05318441241979599,
0.08134978264570236,
-0.02029953896999359,
0.03701680526137352,
0.024090301245450974,
0.029530048370361328,
-0.03165287524461746,
0.016281329095363617,
0.001742566586472094,
0.10834001749753952,
0.04109187796711922,
-0.00048391465679742396,
-0.05928754061460495,
-0.044010765850543976,
-0.0095906313508749,
0.022934118285775185,
-0.03912067785859108,
0.02295307256281376,
-0.048862941563129425,
0.019095970317721367,
0.02166421338915825,
0.0803641825914383,
-0.025815099477767944,
0.0239955335855484,
0.022990981116890907,
-0.0704323872923851,
0.03392733260989189,
0.01408268604427576,
0.0024023964069783688,
0.05928754061460495,
0.02115246094763279,
0.025132762268185616,
0.012992842122912407,
-0.009131001308560371,
-0.016622498631477356,
0.0016667513409629464,
-0.005283376667648554,
0.010851060040295124,
0.009410570375621319,
-0.0496969074010849,
-0.05542096123099327,
-0.011798751540482044,
-0.06311621516942978,
-0.034192685037851334,
0.07062192261219025,
-0.0351782850921154,
-0.027331404387950897,
0.030458783730864525,
0.012841211631894112,
-0.04298725724220276,
0.03633446618914604,
-0.08142559975385666,
0.029814355075359344,
-0.012651673518121243,
-0.03551945462822914,
-0.007870572619140148,
-0.0011093906359747052,
-0.051402751356363297,
-0.019806738942861557,
-0.003468548646196723,
0.02545497752726078,
-0.022972026839852333,
-0.01593068428337574,
-0.020602799952030182,
0.025909869000315666,
-0.04996226355433464,
0.056520283222198486,
0.03904486447572708,
-0.007027127780020237,
-0.04260818287730217,
-0.006434821058064699,
0.03805926442146301,
-0.017484895884990692,
-0.003672302234917879,
-0.06061430647969246,
0.013040225952863693,
-0.04681592807173729,
0.015200961381196976,
-0.015532653778791428,
0.025511838495731354,
0.020792337134480476,
-0.02264981158077717,
-0.0035254100803285837,
0.019768832251429558,
0.09802914410829544,
-0.0384383425116539,
0.04878712445497513,
0.04681592807173729,
0.021550489589571953,
-0.007216665893793106,
0.008671371266245842,
-0.002535073086619377,
0.03159601241350174,
-0.030155522748827934,
-0.0736924409866333,
0.03618283569812775,
-0.02463996224105358,
-0.028771894052624702,
-0.08764245361089706,
-0.029947031289339066,
-0.010566753335297108,
-0.014167978428304195,
-0.00597519101575017,
0.009903369471430779,
0.062320150434970856,
0.013788902200758457,
-0.05871892720460892,
-0.021815843880176544,
0.028449680656194687,
0.034893978387117386,
-0.02210015058517456,
-0.019787784665822983,
0.04859758913516998,
0.040523260831832886,
-0.00025780152645893395,
0.058529388159513474,
-0.024791592732071877,
-0.09658865630626678,
0.02429879456758499,
0.009874938987195492,
-0.003691256046295166,
-0.012500043027102947,
0.02793792635202408,
-0.04090233892202377,
-0.03938603401184082,
-0.008377587422728539,
0.024962177500128746,
0.010566753335297108,
-0.053942564874887466,
0.038589973002672195,
0.029397370293736458,
-0.03732006624341011,
0.039613477885723114,
0.0672481432557106,
-0.023616457358002663,
-0.021304091438651085,
0.02630789764225483,
-0.012670626863837242,
0.008766140788793564,
-0.07877206802368164,
-0.05678563565015793,
0.013987917453050613,
0.010291922837495804,
-0.016906805336475372,
-0.009969707578420639,
0.006813897285610437,
0.01589277572929859,
0.02450728602707386,
0.014376470819115639,
-0.015087238512933254,
-0.027160819619894028,
-0.0022874888963997364,
0.08703593164682388,
0.07452640682458878,
-0.029643770307302475,
0.06755140423774719,
0.023313194513320923,
-0.007420419715344906,
0.031273797154426575,
-0.06656580418348312,
0.056254930794239044,
0.08718755841255188,
-0.040826521813869476,
-0.06485996395349503,
-0.027103958651423454,
0.03341557830572128,
-0.05587585270404816,
0.062358058989048004,
0.006131560076028109,
-0.03229730576276779,
-0.05523142218589783,
0.00473845424130559,
-0.0026203652378171682,
0.039916738867759705,
-0.028696078807115555,
-0.018347295001149178,
-0.01091739907860756,
0.04772571101784706,
-0.0048047928139567375,
-0.01450914703309536,
0.04124350845813751,
-0.05523142218589783,
-0.030250292271375656,
-0.032562658190727234,
-0.002589565236121416,
-0.01908649504184723,
0.035671085119247437,
0.0005715760635212064,
-0.019768832251429558,
0.00031392258824780583,
0.01425327081233263,
0.030515646561980247,
0.0343632698059082,
0.016565635800361633,
0.006392174866050482,
0.016347667202353477,
0.03847625106573105,
-0.001878797193057835,
0.043442148715257645,
0.07346499711275101,
0.01921917125582695,
0.008751925081014633,
-0.005259684287011623,
0.018887478858232498,
-0.02793792635202408,
0.021740028634667397,
-0.030894722789525986,
0.013817332684993744,
-0.017683912068605423,
0.022327596321702003,
-0.012357888743281364,
-0.032145675271749496,
0.02115246094763279,
-0.02746408060193062,
-0.06292667239904404,
-0.06997749209403992,
0.004266978241503239,
0.0008671371615491807,
-0.0065674977377057076,
0.04620940610766411,
0.004309624433517456,
-0.030420877039432526,
-0.035538408905267715,
0.028733987361192703,
0.07293429225683212,
0.0056150685995817184,
0.019579293206334114,
-0.0013350595254451036,
0.028942478820681572,
0.02338900975883007,
-0.02278248779475689,
0.04040953889489174,
-0.0160349290817976,
0.045678701251745224,
-0.012670626863837242,
0.03121693804860115,
-0.0304398313164711,
-0.002314734971150756,
0.0343632698059082,
-0.028582356870174408,
-0.0179966501891613,
-0.03714948147535324,
0.029738539829850197,
-0.06341947615146637,
-0.008315986953675747,
-0.015163053758442402,
0.01796821877360344,
-0.03396524116396904,
0.027331404387950897,
-0.004866392817348242,
0.013656225055456161,
0.008586078882217407,
0.01147653628140688,
0.021076645702123642,
-0.007775803562253714,
-0.004759777337312698,
-0.008339679799973965,
0.008908294141292572,
-0.008093279786407948,
-0.030932629480957985,
-0.005145961418747902,
-0.004015840124338865,
0.05659610033035278,
-0.0416983999311924,
-0.006065221503376961,
0.05545886978507042,
-0.007216665893793106,
0.0179966501891613,
0.026251036673784256,
-0.006060482934117317,
0.006960789207369089,
0.01376047171652317,
0.008704540319740772,
-0.028184326365590096,
0.0036012253258377314,
0.008552909828722477,
-0.029890170320868492,
-0.003672302234917879,
-0.061675723642110825,
-0.0023253965191543102,
-0.053411856293678284,
-0.06971213966608047,
0.05409419536590576,
0.04203956574201584,
0.01719111204147339,
-0.030629368498921394,
-0.012774872593581676,
-0.057240527123212814,
-0.020830245688557625,
-0.01072786096483469,
-0.16178978979587555,
0.005141222849488258,
0.03633446618914604,
-0.008676109835505486,
-0.04996226355433464,
-0.05329813435673714,
-0.005979929585009813,
-0.038286712020635605,
-0.017371173948049545,
0.045034270733594894,
0.04484473168849945,
0.06220642849802971,
0.05534514784812927,
-0.011135367676615715,
0.013495118357241154,
0.008922509849071503,
0.03705471381545067,
-0.021057691425085068,
-0.06000778451561928,
0.00001313255233981181,
-0.038286712020635605,
-0.05094785988330841,
0.06849909573793411,
0.04605777561664581,
-0.015295730903744698,
-0.01806298829615116,
0.020451169461011887,
-0.05856729671359062,
0.007216665893793106,
0.027445128187537193,
-0.030837861821055412,
-0.007373034954071045,
-0.011391243897378445,
0.021702120080590248,
-0.010841583833098412,
0.00952429324388504,
-0.010310877114534378,
-0.017361696809530258,
0.012433703988790512,
0.06667952984571457,
-0.006899189669638872,
0.01547579187899828,
0.028051650151610374,
0.04674011468887329,
-0.041812121868133545,
-0.025530792772769928,
0.014357516542077065,
0.01725745014846325,
0.019882554188370705,
0.04973481595516205,
0.009382139891386032,
0.0345149002969265,
-0.03335871919989586,
-0.03807821869850159,
0.0035822715144604445,
0.02227073535323143,
0.009742261841893196,
-0.010528845712542534,
-0.029567955061793327,
0.0032387336250394583,
-0.0689539909362793,
-0.004582085181027651,
-0.016973143443465233,
-0.05489025637507439,
0.007756849750876427,
0.028771894052624702,
-0.041205599904060364,
0.011827182024717331,
0.011685028672218323,
-0.004679223522543907,
0.052085090428590775,
0.01864107884466648,
0.011675551533699036,
-0.019579293206334114,
0.042456552386283875,
0.047308728098869324,
0.0034590717405080795,
0.00826860312372446,
0.001535259187221527,
0.08938620239496231,
-0.008638202212750912,
0.0018254895694553852,
0.05572422221302986,
-0.06061430647969246,
-0.014461762271821499,
-0.013807855546474457,
-0.023976579308509827,
-0.019143356010317802,
0.06967423111200333,
-0.051440659910440445,
0.006453774869441986,
0.039575569331645966,
-0.05390465632081032,
0.05310859531164169,
0.04514799267053604,
-0.005676668137311935,
0.01881166361272335,
-0.050834137946367264,
0.028961433097720146,
-0.04385913163423538,
0.001968827797099948,
0.0433284267783165,
0.00035568024031817913,
0.0034116872120648623,
0.03965138643980026,
0.009685400873422623,
0.01396896317601204,
0.009244724176824093,
-0.027312450110912323,
0.017124773934483528,
0.019996277987957,
-0.04939364641904831,
0.0800609216094017,
-0.000957760086748749,
-0.03625865280628204,
-0.0703565701842308,
0.05629283934831619,
-0.015722190961241722,
0.02863921783864498,
0.01982569321990013,
0.0803641825914383,
-0.0014558901311829686,
-0.01902015507221222,
-0.04420030117034912,
-0.02884770929813385,
0.06027314066886902,
-0.008406017906963825,
-0.02077338472008705,
-0.01208305824548006,
-0.04780152812600136,
0.005643499083817005,
-0.013608841225504875,
-0.017134251073002815,
0.0032008260022848845,
-0.0449584536254406,
0.00019146317208651453,
-0.04067489132285118,
-0.009893892332911491,
0.023199472576379776
] |
726,191 | pydantic.config | ConfigDict | Usage docs: https://docs.pydantic.dev/2.0/usage/model_config/
A TypedDict for configuring Pydantic behaviour.
| class ConfigDict(TypedDict, total=False):
"""Usage docs: https://docs.pydantic.dev/2.0/usage/model_config/
A TypedDict for configuring Pydantic behaviour.
"""
title: str | None
"""The title for the generated JSON schema, defaults to the model's name"""
str_to_lower: bool
"""Whether to convert all characters to lowercase for str types. Defaults to `False`."""
str_to_upper: bool
"""Whether to convert all characters to uppercase for str types. Defaults to `False`."""
str_strip_whitespace: bool
"""Whether to strip leading and trailing whitespace for str types."""
str_min_length: int
"""The minimum length for str types. Defaults to `None`."""
str_max_length: int | None
"""The maximum length for str types. Defaults to `None`."""
extra: ExtraValues | None
"""
Whether to ignore, allow, or forbid extra attributes during model initialization.
The value must be a [`ExtraValues`][pydantic.config.ExtraValues] string. Defaults to `'ignore'`.
See [Extra Attributes](../usage/model_config.md#extra-attributes) for details.
"""
frozen: bool
"""
Whether or not models are faux-immutable, i.e. whether `__setattr__` is allowed, and also generates
a `__hash__()` method for the model. This makes instances of the model potentially hashable if all the
attributes are hashable. Defaults to `False`.
!!! note
On V1, this setting was called `allow_mutation`, and was `True` by default.
"""
populate_by_name: bool
"""
Whether an aliased field may be populated by its name as given by the model
attribute, as well as the alias. Defaults to `False`.
!!! note
The name of this configuration setting was changed in **v2.0** from
`allow_population_by_alias` to `populate_by_name`.
"""
use_enum_values: bool
"""
Whether to populate models with the `value` property of enums, rather than the raw enum.
This may be useful if you want to serialize `model.model_dump()` later. Defaults to `False`.
"""
validate_assignment: bool
arbitrary_types_allowed: bool
from_attributes: bool
"""
Whether to build models and look up discriminators of tagged unions using python object attributes.
"""
loc_by_alias: bool
"""Whether to use the alias for error `loc`s rather than the field's name. Defaults to `True`."""
alias_generator: Callable[[str], str] | None
"""
A callable that takes a field name and returns an alias for it.
See [Alias Generator](../usage/model_config.md#alias-generator) for details.
"""
ignored_types: tuple[type, ...]
"""A tuple of types that may occur as values of class attributes without annotations. This is
typically used for custom descriptors (classes that behave like `property`). If an attribute is set on a
class without an annotation and has a type that is not in this tuple (or otherwise recognized by
_pydantic_), an error will be raised. Defaults to `()`.
"""
allow_inf_nan: bool
"""Whether to allow infinity (`+inf` an `-inf`) and NaN values to float fields. Defaults to `True`."""
json_schema_extra: dict[str, object] | JsonSchemaExtraCallable | None
"""A dict or callable to provide extra JSON schema properties. Defaults to `None`."""
json_encoders: dict[type[object], JsonEncoder] | None
"""
A `dict` of custom JSON encoders for specific types. Defaults to `None`.
!!! warning "Deprecated"
This config option is a carryover from v1.
We originally planned to remove it in v2 but didn't have a 1:1 replacement so we are keeping it for now.
It is still deprecated and will likely be removed in the future.
"""
# new in V2
strict: bool
"""
_(new in V2)_ If `True`, strict validation is applied to all fields on the model.
See [Strict Mode](../usage/strict_mode.md) for details.
"""
# whether instances of models and dataclasses (including subclass instances) should re-validate, default 'never'
revalidate_instances: Literal['always', 'never', 'subclass-instances']
"""
When and how to revalidate models and dataclasses during validation. Accepts the string
values of `'never'`, `'always'` and `'subclass-instances'`. Defaults to `'never'`.
- `'never'` will not revalidate models and dataclasses during validation
- `'always'` will revalidate models and dataclasses during validation
- `'subclass-instances'` will revalidate models and dataclasses during validation if the instance is a
subclass of the model or dataclass
See [Revalidate Instances](../usage/model_config.md#revalidate-instances) for details.
"""
ser_json_timedelta: Literal['iso8601', 'float']
"""
The format of JSON serialized timedeltas. Accepts the string values of `'iso8601'` and
`'float'`. Defaults to `'iso8601'`.
- `'iso8601'` will serialize timedeltas to ISO 8601 durations.
- `'float'` will serialize timedeltas to the total number of seconds.
"""
ser_json_bytes: Literal['utf8', 'base64']
"""
The encoding of JSON serialized bytes. Accepts the string values of `'utf8'` and `'base64'`.
Defaults to `'utf8'`.
- `'utf8'` will serialize bytes to UTF-8 strings.
- `'base64'` will serialize bytes to base64 strings.
"""
# whether to validate default values during validation, default False
validate_default: bool
"""Whether to validate default values during validation. Defaults to `False`."""
validate_return: bool
"""whether to validate the return value from call validators."""
protected_namespaces: tuple[str, ...]
"""
A `tuple` of strings that prevent model to have field which conflict with them.
Defaults to `('model_', )`).
See [Protected Namespaces](../usage/model_config.md#protected-namespaces) for details.
"""
hide_input_in_errors: bool
"""
Whether to hide inputs when printing errors. Defaults to `False`.
See [Hide Input in Errors](../usage/model_config.md#hide-input-in-errors).
"""
defer_build: bool
"""
Whether to defer model validator and serializer construction until the first model validation.
This can be useful to avoid the overhead of building models which are only
used nested within other models, or when you want to manually define type namespace via
[`Model.model_rebuild(_types_namespace=...)`][pydantic.BaseModel.model_rebuild]. Defaults to False.
"""
schema_generator: type[_GenerateSchema] | None
"""
A custom core schema generator class to use when generating JSON schemas.
Useful if you want to change the way types are validated across an entire model/schema.
The `GenerateSchema` interface is subject to change, currently only the `string_schema` method is public.
See [#6737](https://github.com/pydantic/pydantic/pull/6737) for details.
Defaults to `None`.
"""
| null | [
0.03871973231434822,
-0.010456450283527374,
0.0029493169859051704,
-0.0273179579526186,
0.04969707503914833,
-0.03044331818819046,
-0.02756875939667225,
-0.04313768073916435,
-0.03563295677304268,
-0.06540104001760483,
-0.019205527380108833,
0.008069022558629513,
0.027935313060879707,
0.03997373580932617,
0.03493843227624893,
0.01688080094754696,
-0.012829408049583435,
0.008194422349333763,
0.030211810022592545,
-0.04209589213132858,
0.0359802208840847,
-0.04008948802947998,
-0.024674907326698303,
0.03864256292581558,
0.0060240342281758785,
0.031079964712262154,
0.0034195678308606148,
-0.01652389205992222,
0.025639524683356285,
-0.0030940095894038677,
-0.014372795820236206,
-0.01124743651598692,
0.016581768169999123,
0.05332403630018234,
-0.0035980220418423414,
-0.08820459246635437,
0.019774651154875755,
0.08311141282320023,
-0.09337493777275085,
0.022301949560642242,
0.0071815745905041695,
0.04545276239514351,
-0.03162015229463577,
-0.016388844698667526,
0.02681635692715645,
0.0112088518217206,
-0.014903334900736809,
0.07651343196630478,
-0.04591577872633934,
-0.0010725336614996195,
0.01569432206451893,
0.0043600695207715034,
-0.02025696076452732,
0.05386422201991081,
0.020314836874604225,
-0.055291857570409775,
-0.03733068332076073,
0.05220508202910423,
-0.0013239370891824365,
0.005016009323298931,
-0.03073270246386528,
0.02378745935857296,
0.01135354395955801,
0.00349914887920022,
0.007442021276801825,
-0.02129874750971794,
-0.0378708690404892,
-0.02332444302737713,
0.023189397528767586,
-0.03426320105791092,
-0.04919547587633133,
-0.055214688181877136,
0.005517610348761082,
0.05243659019470215,
0.025234384462237358,
-0.04718907177448273,
-0.012260284274816513,
-0.009612410329282284,
0.04853953421115875,
-0.015144489705562592,
0.013186316937208176,
-0.0033665138762444258,
-0.04171004518866539,
-0.03443683311343193,
-0.0017158128321170807,
0.030250394716858864,
-0.023054350167512894,
0.006766789592802525,
0.01896437257528305,
-0.00804008450359106,
-0.025388723239302635,
0.01608981378376484,
-0.01662999950349331,
0.0655553787946701,
-0.007268390152603388,
0.009699225425720215,
-0.01727629266679287,
-0.052166495472192764,
-0.013311716727912426,
-0.027588050812482834,
-0.022764965891838074,
0.0051172939129173756,
-0.008213714696466923,
0.0036679566837847233,
-0.03275839984416962,
-0.06516953557729721,
-0.06783188134431839,
-0.03576800599694252,
-0.0053873867727816105,
-0.013543224893510342,
-0.036655452102422714,
-0.023382319137454033,
-0.03966505825519562,
-0.002876970684155822,
0.01243391539901495,
0.020970776677131653,
0.010041664354503155,
-0.007538483012467623,
0.021723179146647453,
0.028263282030820847,
0.022186195477843285,
0.038526810705661774,
-0.02378745935857296,
0.010967697016894817,
0.080873504281044,
0.05147197097539902,
0.021781055256724358,
-0.011083451099693775,
0.023363027721643448,
0.013552871532738209,
-0.04325343295931816,
0.04637879505753517,
0.015009443275630474,
0.02627617120742798,
0.01784541830420494,
0.022109026089310646,
0.005001539830118418,
0.016031937673687935,
-0.008720139041543007,
0.06378048658370972,
0.02378745935857296,
0.08550366759300232,
0.04317626357078552,
-0.08218538016080856,
0.009101162664592266,
-0.00856580026447773,
-0.04865529015660286,
-0.062198515981435776,
-0.039857979863882065,
0.013678271323442459,
0.023652411997318268,
-0.03679049760103226,
0.0023789871484041214,
0.07412118464708328,
-0.057452596724033356,
0.029305068776011467,
-0.061156727373600006,
-0.02482924610376358,
0.028301866725087166,
-0.02666201815009117,
-0.05652656406164169,
-0.012289222329854965,
0.05181923508644104,
-0.08141368627548218,
-0.02864912897348404,
0.024385521188378334,
-0.023555951192975044,
-0.08874478191137314,
-0.009935556910932064,
0.026719896122813225,
-0.04267466440796852,
-0.011363190598785877,
-0.007596360053867102,
0.022726381197571754,
-0.03080987185239792,
0.05791561305522919,
0.052668098360300064,
0.022764965891838074,
0.015559274703264236,
-0.0013673448702320457,
0.037948038429021835,
-0.01257860753685236,
-0.029343653470277786,
-0.000219902562093921,
0.043060511350631714,
0.04630162566900253,
-0.04228881746530533,
0.05675807222723961,
0.03634677454829216,
0.06374190002679825,
0.0758574903011322,
0.02583244815468788,
0.046764638274908066,
-0.017498156055808067,
-0.05490601062774658,
0.011102743446826935,
0.005319863557815552,
-0.018810033798217773,
-0.016919385641813278,
0.025350138545036316,
-0.014575364999473095,
-0.03727280721068382,
-0.004813439678400755,
-0.01313808560371399,
-0.002287348499521613,
-0.010475742630660534,
0.008826247416436672,
-0.03219892084598541,
0.006057795602828264,
-0.08851327002048492,
-0.06019211187958717,
-0.01432456448674202,
0.009819802828133106,
0.009110809303820133,
0.03167802840471268,
-0.10170923173427582,
0.049349814653396606,
-0.01524095144122839,
-0.01597405970096588,
-0.005189640447497368,
0.14939990639686584,
0.03538215905427933,
0.034996312111616135,
-0.025022169575095177,
0.007191220764070749,
-0.017257001250982285,
-0.020160498097538948,
0.0012063743779435754,
0.024809952825307846,
-0.04097693786025047,
-0.019928989931941032,
-0.03123430348932743,
-0.01522165909409523,
0.03854610025882721,
0.047806426882743835,
0.027105743065476418,
0.01939845085144043,
-0.0062362500466406345,
0.025234384462237358,
-0.012511084787547588,
0.015877598896622658,
0.0009652200387790799,
-0.021819639950990677,
-0.04429522156715393,
-0.02878417633473873,
0.0049050780944526196,
0.018829327076673508,
0.0059661571867764,
-0.000480198475997895,
-0.04491257667541504,
-0.002739512827247381,
-0.00926514808088541,
-0.004145442042499781,
0.08743289858102798,
0.013543224893510342,
-0.0108326505869627,
0.028166821226477623,
-0.09283475577831268,
0.06030786409974098,
-0.03879690170288086,
-0.005044947843998671,
-0.05181923508644104,
-0.03922133520245552,
0.09869962930679321,
0.0028745592571794987,
-0.059073153883218765,
0.024462690576910973,
0.0028697361703962088,
-0.01417987234890461,
-0.02145308628678322,
0.06042362004518509,
0.018047986552119255,
-0.047922179102897644,
-0.009819802828133106,
-0.049542736262083054,
-0.0071815745905041695,
-0.013417825102806091,
-0.00906740128993988,
0.0012552080443128943,
-0.020276252180337906,
-0.044140882790088654,
-0.07797965407371521,
0.06686726212501526,
-0.017372755333781242,
0.045105498284101486,
-0.038816194981336594,
-0.07277072221040726,
0.040938351303339005,
-0.017208769917488098,
0.03354938328266144,
0.035575080662965775,
-0.05668090283870697,
0.001650701160542667,
-0.03775511682033539,
0.00892270915210247,
-0.08596668392419815,
-0.04603153094649315,
0.0153856435790658,
0.0062362500466406345,
-0.0783654972910881,
-0.025465892627835274,
0.05571628734469414,
0.061195313930511475,
0.030250394716858864,
0.027125034481287003,
0.01137283630669117,
0.04066826030611992,
-0.039780810475349426,
0.05891881510615349,
0.033703722059726715,
-0.031755197793245316,
0.0248678307980299,
-0.022321240976452827,
0.024134721606969833,
0.04699614644050598,
0.02158813178539276,
-0.021973978728055954,
-0.0028407976496964693,
0.02583244815468788,
0.025543062016367912,
-0.0162345077842474,
0.0472276546061039,
0.003887407248839736,
-0.06050078943371773,
-0.008199245668947697,
-0.017864709720015526,
0.034706924110651016,
0.005710533820092678,
-0.008450046181678772,
-0.012366391718387604,
-0.024096136912703514,
-0.05351696163415909,
0.01954314298927784,
0.06266152858734131,
0.004755562637001276,
-0.02037271484732628,
0.031002795323729515,
-0.04707331582903862,
-0.011758683249354362,
-0.03356867656111717,
0.051086124032735825,
-0.014237749390304089,
0.017941879108548164,
-0.03821813315153122,
-0.05972909554839134,
-0.01957208290696144,
0.04005090519785881,
0.016765046864748,
0.02465561404824257,
0.021260162815451622,
0.0076928217895329,
0.02515721507370472,
0.005551371723413467,
0.052166495472192764,
0.022359825670719147,
-0.08480913937091827,
-0.03219892084598541,
-0.00975227914750576,
0.0009845123859122396,
-0.02345948852598667,
-0.0067185587249696255,
-0.006771612446755171,
-0.02573598548769951,
0.011961252428591251,
0.029343653470277786,
0.04105410724878311,
-0.016215214505791664,
-0.04799934849143028,
0.04595436155796051,
-0.015076966024935246,
-0.0025514124426990747,
-0.039742227643728256,
-0.02940153144299984,
-0.029633039608597755,
0.05343979224562645,
0.05571628734469414,
-0.04441097378730774,
0.07307939976453781,
-0.09082835167646408,
0.030964210629463196,
0.03468763455748558,
0.003947695717215538,
-0.004041745793074369,
0.03530498966574669,
0.057954199612140656,
-0.044526729732751846,
0.026681311428546906,
-0.02361382730305195,
-0.04236598685383797,
-0.0036993068642914295,
-0.01622486114501953,
-0.03219892084598541,
-0.020276252180337906,
0.026469094678759575,
-0.006699266377836466,
0.01809621788561344,
-0.0428290031850338,
0.05397997796535492,
0.0023609003983438015,
-0.0016880800249055028,
-0.012713653966784477,
-0.05945900082588196,
0.08642970025539398,
0.03783228620886803,
0.007524013984948397,
0.004844789858907461,
0.06185125187039375,
0.02590961754322052,
-0.016041584312915802,
0.09198589622974396,
0.008657438680529594,
-0.007070643827319145,
-0.04819227382540703,
-0.00826194602996111,
0.010157418437302113,
-0.00046874364488758147,
0.03216033801436424,
0.0015662971418350935,
0.009834271855652332,
0.021356623619794846,
0.038526810705661774,
0.004104446154087782,
0.04178721457719803,
-0.017015846446156502,
-0.00279738986864686,
0.04525983706116676,
-0.006159080658107996,
0.0595361702144146,
-0.04236598685383797,
0.018983665853738785,
0.04005090519785881,
0.038739025592803955,
-0.01025388017296791,
-0.06107955798506737,
0.01012848038226366,
-0.03954930230975151,
0.06208276003599167,
-0.09785076230764389,
0.0026237587444484234,
0.027549466118216515,
-0.015163782052695751,
-0.0035570256877690554,
0.01827949471771717,
0.014748996123671532,
0.0364818200469017,
-0.0018339783418923616,
-0.05008292198181152,
0.06567113846540451,
0.08812742680311203,
-0.00022382132010534406,
-0.012511084787547588,
-0.02353665791451931,
0.03264264389872551,
-0.00960758700966835,
-0.05606354773044586,
-0.02120228484272957,
0.017642848193645477,
-0.00297343241982162,
-0.056989580392837524,
0.0020678979344666004,
0.004278077278286219,
-0.02079714648425579,
-0.03763936087489128,
0.005522433202713728,
-0.02652697265148163,
0.01878109574317932,
0.02504146099090576,
0.01257860753685236,
-0.054713085293769836,
0.06729169189929962,
0.014874396845698357,
-0.02453985996544361,
0.005131763406097889,
0.023845335468649864,
-0.0379287451505661,
-0.015154135413467884,
0.05733684450387955,
-0.021472377702593803,
-0.06632707267999649,
-0.08311141282320023,
0.10055169463157654,
-0.027607344090938568,
-0.03727280721068382,
0.023420903831720352,
0.08017897605895996,
-0.030134640634059906,
0.04001231864094734,
-0.023922504857182503,
-0.024964291602373123,
0.03729210048913956,
-0.033124953508377075,
-0.0044420622289180756,
0.045684270560741425,
-0.012810115702450275,
-0.005806995555758476,
-0.009318201802670956,
-0.014758642762899399,
-0.005980626214295626,
0.031137842684984207,
-0.013678271323442459,
0.05452016368508339,
-0.003528087167069316,
-0.020064037293195724,
0.000551640463527292,
0.007938799448311329,
-0.00349432579241693,
-0.024925706908106804,
-0.02702857367694378,
-0.021240869536995888,
-0.01771037094295025,
-0.05880306288599968,
0.0162345077842474,
0.06026928126811981,
0.017546385526657104,
0.031118549406528473,
-0.001269677304662764,
0.011652575805783272,
0.006848781835287809,
0.004550581332296133,
-0.0364818200469017,
-0.05343979224562645,
0.021009361371397972,
0.01784541830420494,
0.012607546523213387,
0.011411421000957489,
0.062198515981435776,
0.010080249048769474,
-0.034417539834976196,
0.060577958822250366,
0.03513135761022568,
0.05718250572681427,
-0.006597981322556734,
-0.004818262532353401,
0.04313768073916435,
-0.014295626431703568,
-0.005763587541878223,
0.01727629266679287,
-0.006091557443141937,
-0.015125197358429432,
-0.0000972906855167821,
0.05359413102269173,
0.03540144860744476,
0.005908280145376921,
0.002857678337022662,
-0.020430590957403183,
-0.00017152099462691694,
0.0025658817030489445,
0.03169732168316841,
-0.02291930466890335,
-0.00790021475404501,
-0.04124702885746956,
0.026006078347563744,
0.04707331582903862,
-0.01087123528122902,
-0.026604142040014267,
-0.010716896504163742,
0.03480338677763939,
-0.008532038889825344,
0.03511206433176994,
0.020449884235858917,
-0.014999796636402607,
0.017835771664977074,
0.002703339559957385,
-0.017179831862449646,
0.018954727798700333,
0.026758480817079544,
-0.026218295097351074,
0.02428906038403511,
-0.05556194856762886,
0.037485022097826004,
-0.04441097378730774,
-0.008319823071360588,
-0.005343979224562645,
0.004743504803627729,
0.009829448536038399,
0.014035179279744625,
-0.038912657648324966,
0.030501194298267365,
-0.035864464938640594,
-0.01651424542069435,
0.020353421568870544,
0.031118549406528473,
0.004991893656551838,
-0.006651035510003567,
0.00509317871183157,
-0.03530498966574669,
0.04691897705197334,
0.038912657648324966,
0.01203842181712389,
-0.02824399061501026,
-0.009983787313103676,
0.04742057994008064,
-0.022842135280370712,
-0.002137832809239626,
0.005556195043027401,
0.032835569232702255,
-0.07643626630306244,
-0.047922179102897644,
0.04630162566900253,
-0.0014758642064407468,
-0.042481739073991776,
0.0007391378749161959,
-0.006332711782306433,
-0.017247354611754417,
0.014064118266105652,
0.014527134597301483,
0.005343979224562645,
0.02374887466430664,
0.0448354072868824,
-0.03376160189509392,
-0.028301866725087166,
-0.01954314298927784,
-0.034166738390922546,
-0.0399351492524147,
0.005835933610796928,
-0.09082835167646408,
-0.018549587577581406,
0.08882194757461548,
0.03605739027261734,
-0.11174125224351883,
0.010639727115631104,
0.06574830412864685,
0.04857812076807022,
-0.006617273669689894,
-0.04336918890476227,
0.04703473299741745,
-0.020527053624391556,
-0.04603153094649315,
-0.01809621788561344,
-0.04961990565061569,
0.027163619175553322,
0.01983252912759781,
-0.02778097428381443,
-0.024269767105579376,
0.02878417633473873,
-0.04668746888637543,
0.013543224893510342,
-0.012906577438116074,
0.03821813315153122,
0.020893607288599014,
0.015269889496266842,
-0.03871973231434822,
-0.01770072430372238,
0.061774082481861115,
-0.05386422201991081,
0.05880306288599968,
-0.008826247416436672,
-0.05239800363779068,
0.07080289721488953,
0.009043285623192787,
-0.010446803644299507,
0.07115016132593155,
-0.024173306301236153,
-0.06478369235992432,
0.014527134597301483,
-0.00852721557021141,
-0.008049730211496353,
-0.04649454727768898,
0.030308270826935768,
-0.027877436950802803,
-0.00977157149463892,
-0.005715356674045324,
-0.00003555141665856354,
-0.055793456733226776,
-0.008411461487412453,
0.04969707503914833,
-0.03216033801436424,
-0.01630203053355217,
0.04630162566900253,
0.028456205502152443,
-0.02216690219938755,
-0.049465566873550415,
-0.0119323143735528,
-0.0010279201669618487,
-0.04062967374920845,
0.030713411048054695,
-0.008720139041543007,
0.04217306151986122,
-0.008951647207140923,
-0.021935394033789635,
0.014797227457165718,
0.003347221529111266,
-0.03148510307073593,
0.056372225284576416,
-0.003573906607925892,
-0.026758480817079544,
0.013890487141907215,
-0.005204109475016594,
0.030964210629463196,
-0.025311553850769997,
-0.031137842684984207,
-0.014382441528141499,
-0.021433793008327484,
0.013244193978607655,
-0.04688039422035217,
-0.11158691346645355,
-0.01313808560371399,
-0.01033104956150055,
-0.034745510667562485,
0.01480687316507101,
0.04171004518866539,
-0.02727937325835228,
-0.024462690576910973,
-0.013157377950847149,
0.04865529015660286,
0.037735823541879654,
-0.0645521804690361,
-0.022359825670719147,
0.047381993383169174,
-0.01842418871819973,
0.05401856079697609,
0.08210821449756622,
0.03733068332076073,
-0.05891881510615349,
-0.020141206681728363,
0.0014457199722528458,
0.053787052631378174,
0.03723422437906265,
0.003308636834844947,
0.010678311809897423,
-0.009019170887768269,
0.05301535874605179,
-0.0394335500895977,
-0.01702549308538437,
0.015896890312433243,
-0.034919142723083496,
-0.019986867904663086,
0.017112309113144875,
0.011777975596487522,
-0.009187978692352772,
0.02756875939667225,
-0.00402245344594121,
-0.03646253049373627,
0.012134883552789688,
-0.007914683781564236,
-0.05008292198181152,
0.03989656642079353,
0.01353357918560505,
-0.00840663816779852,
0.013398532755672932,
0.028552668169140816,
0.033530093729496,
-0.04688039422035217,
0.00852721557021141,
-0.028379036113619804,
0.032546184957027435,
0.04336918890476227,
0.029633039608597755,
0.017083369195461273,
-0.053131114691495895,
-0.013967656530439854,
0.036655452102422714,
-0.013398532755672932,
0.02994171716272831,
0.0008982997387647629,
0.01482616551220417,
-0.022031856700778008,
0.021067239344120026,
-0.02637263387441635,
-0.024269767105579376,
-0.02648838795721531,
-0.06320171803236008,
-0.0013215255457907915,
-0.012626838870346546,
0.031581565737724304,
0.008271591737866402,
-0.024520568549633026,
0.02986454777419567
] |
726,192 | penne.delegates | Delegate | Parent class for all delegates
Defines general methods that should be available for all delegates. In this context, a delegate refers to an
object in a NOODLES scene that can be subclassed and extended by the user. For example, a user can create an
implementation for a table that specifically suits their needs. The server's job is essentially to manage the
state of all delegates, and to call the appropriate methods on them when necessary. Most methods defined by
the user will also be to manipulate the state of the delegates.
Attributes:
client (Client): Client delegate is attached to
id (ID): Unique identifier for delegate
name (str): Name of delegate
signals (dict): Signals that can be called on delegate, method name to callable
| class Delegate(NoodleObject):
"""Parent class for all delegates
Defines general methods that should be available for all delegates. In this context, a delegate refers to an
object in a NOODLES scene that can be subclassed and extended by the user. For example, a user can create an
implementation for a table that specifically suits their needs. The server's job is essentially to manage the
state of all delegates, and to call the appropriate methods on them when necessary. Most methods defined by
the user will also be to manipulate the state of the delegates.
Attributes:
client (Client): Client delegate is attached to
id (ID): Unique identifier for delegate
name (str): Name of delegate
signals (dict): Signals that can be called on delegate, method name to callable
"""
client: object = None
id: ID = None
name: Optional[str] = "No-Name"
signals: Optional[dict] = {}
def __str__(self):
return f"{self.name} - {type(self).__name__} - {self.id.compact_str()}"
# For all except Document Delegate
def on_new(self, message: dict):
pass
# For Document, Table, Entity, Plot, Material, Light Delegates
def on_update(self, message: dict):
pass
# For all except Document Delegate
def on_remove(self, message: dict):
pass
| (*, client: object = None, id: penne.delegates.ID = None, name: Optional[str] = 'No-Name', signals: Optional[dict] = {}, **extra_data: Any) -> None | [
-0.05657374858856201,
0.0022021981421858072,
-0.005362072493880987,
-0.000601690320763737,
-0.013832592405378819,
-0.025617266073822975,
-0.050759121775627136,
0.08835305273532867,
0.00736427865922451,
-0.0015770801110193133,
-0.021557999774813652,
0.020607180893421173,
0.006907153874635696,
0.05123453214764595,
-0.0496620237827301,
-0.052733901888132095,
-0.04037325084209442,
0.05756113678216934,
-0.008822506293654442,
-0.07708950340747833,
-0.02342306822538376,
0.045785605907440186,
0.061364416033029556,
-0.008342524990439415,
-0.04596845805644989,
0.016447344794869423,
-0.0231122225522995,
0.026659511029720306,
0.014399426989257336,
-0.002781603718176484,
-0.034138068556785583,
-0.060303885489702225,
0.02013177052140236,
0.004340398591011763,
0.014308001846075058,
0.032528992742300034,
-0.01006588526070118,
0.06995835900306702,
-0.06110842525959015,
-0.008685369044542313,
-0.041543491184711456,
-0.013119477778673172,
0.05507437884807587,
-0.013759452849626541,
0.03408321365714073,
0.039166443049907684,
-0.026604656130075455,
0.0496254526078701,
0.007240854669362307,
-0.020991165190935135,
-0.00711743114516139,
-0.0014776554889976978,
0.009526478126645088,
0.01320176012814045,
-0.039203010499477386,
0.057414859533309937,
0.014207434840500355,
0.09164435416460037,
-0.00850708968937397,
0.03803277388215065,
-0.024191036820411682,
-0.0017747865058481693,
0.07134801894426346,
-0.05854852870106697,
0.012918342836201191,
-0.01786443218588829,
0.01608164608478546,
0.0007262568105943501,
0.055330369621515274,
0.010632719844579697,
0.020735174417495728,
-0.014445140026509762,
0.08140476047992706,
0.005805483087897301,
0.052733901888132095,
-0.03201701119542122,
-0.02676922082901001,
0.03337009996175766,
0.03803277388215065,
0.0032113008201122284,
0.004248973913490772,
-0.058621667325496674,
-0.026366950944066048,
0.023971617221832275,
0.009535620920360088,
-0.030883342027664185,
0.009425911121070385,
0.009119637310504913,
0.007208855822682381,
-0.04487135633826256,
-0.05459897220134735,
-0.0036432836204767227,
-0.03174273669719696,
-0.02909141406416893,
-0.08564687520265579,
-0.03004223294556141,
-0.0010428156238049269,
-0.009544762782752514,
0.03435749188065529,
0.012104661203920841,
-0.03836190328001976,
0.03271184116601944,
-0.05123453214764595,
0.019638076424598694,
-0.016072504222393036,
-0.012351508252322674,
-0.03699052706360817,
0.009791610762476921,
-0.02121058478951454,
0.05496466904878616,
-0.026531515643000603,
-0.033187251538038254,
-0.005837481934577227,
0.005508352071046829,
0.02208826318383217,
-0.040848661214113235,
0.00399755546823144,
-0.02210654877126217,
-0.037849921733140945,
-0.051746513694524765,
-0.00479523791000247,
0.036551687866449356,
-0.05587891861796379,
-0.010331017896533012,
-0.023075653240084648,
0.017489589750766754,
0.021046020090579987,
0.02144828997552395,
0.04168976843357086,
-0.061035286635160446,
-0.007277424912899733,
-0.014445140026509762,
0.002091345377266407,
0.07215255498886108,
0.032528992742300034,
0.07123830914497375,
0.029219409450888634,
-0.004230688791722059,
-0.039166443049907684,
0.0052752187475562096,
-0.027354341000318527,
-0.01914438046514988,
0.044139958918094635,
0.051051683723926544,
-0.017434734851121902,
-0.023697342723608017,
-0.05792683735489845,
-0.009183635003864765,
-0.021046020090579987,
-0.03174273669719696,
-0.007720835506916046,
-0.036185987293720245,
0.020351190119981766,
0.0231122225522995,
-0.04201889783143997,
0.03706366941332817,
-0.06553339213132858,
-0.011592681519687176,
-0.02252710424363613,
0.003812419716268778,
-0.0053757862187922,
-0.005567778367549181,
0.005581492092460394,
-0.0007353993132710457,
-0.03898359090089798,
-0.04505420848727226,
0.03832533210515976,
-0.09749554842710495,
-0.024538451805710793,
0.08893817663192749,
-0.06143755465745926,
0.01039501465857029,
-0.004258116241544485,
0.03397350385785103,
-0.016849614679813385,
0.02417275309562683,
-0.015587951056659222,
-0.003307296894490719,
-0.04333541914820671,
-0.004392968025058508,
0.025562411174178123,
-0.034869469702243805,
-0.054086990654468536,
0.05657374858856201,
0.05514752119779587,
0.03876417130231857,
0.019308945164084435,
0.0072865672409534454,
0.04995458573102951,
-0.007213427219539881,
-0.006450029090046883,
0.0059014796279370785,
0.004950660280883312,
0.01192181184887886,
-0.0027450337074697018,
0.0091059235855937,
0.0070762899704277515,
0.010486439801752567,
-0.0329495444893837,
-0.021576283499598503,
-0.01836727000772953,
0.05540350824594498,
0.005398642271757126,
0.013265757821500301,
-0.027829749509692192,
-0.0173250250518322,
0.03572886437177658,
0.05397728085517883,
-0.07021434605121613,
-0.0893038734793663,
0.04362797737121582,
0.04388396814465523,
-0.010833854787051678,
0.01389659009873867,
0.06695961952209473,
-0.09127865731716156,
0.02976795844733715,
0.016310207545757294,
0.03549116104841232,
0.013265757821500301,
-0.003926700912415981,
0.0630100667476654,
-0.039203010499477386,
-0.02250881865620613,
-0.052368201315402985,
-0.004399824887514114,
0.03337009996175766,
-0.011693249456584454,
0.10115254670381546,
-0.08696340024471283,
-0.019107811152935028,
-0.0182301327586174,
-0.03693567216396332,
0.04556618630886078,
0.0661916509270668,
-0.010193879716098309,
-0.013841735199093819,
-0.02208826318383217,
-0.029639963060617447,
0.01807470992207527,
0.004342684522271156,
-0.022362539544701576,
0.032583847641944885,
-0.01452742237597704,
0.0074877021834254265,
0.026952071115374565,
0.047723814845085144,
0.022618528455495834,
-0.026659511029720306,
0.011400689370930195,
0.04856492578983307,
-0.07986882328987122,
0.0025461844634264708,
0.009151635691523552,
-0.009188205935060978,
0.004690099041908979,
-0.028341729193925858,
0.018184419721364975,
-0.022728238254785538,
-0.023221932351589203,
-0.004982659127563238,
-0.021375149488449097,
-0.03337009996175766,
0.042201749980449677,
0.016365062445402145,
0.020936310291290283,
-0.006034045480191708,
0.02680579014122486,
-0.018422124907374382,
-0.006765445228666067,
0.16354091465473175,
0.013768594712018967,
0.017370738089084625,
0.00012656638864427805,
-0.01452742237597704,
-0.09010841697454453,
-0.01668504998087883,
0.013613172806799412,
-0.05317274108529091,
-0.0528436116874218,
-0.0198574960231781,
0.03770364448428154,
0.035856857895851135,
-0.028908563777804375,
-0.001329089980572462,
-0.05986504629254341,
0.03894702345132828,
0.029932523146271706,
-0.05489153042435646,
-0.03145017847418785,
0.054342981427907944,
-0.0044043962843716145,
-0.00595176313072443,
0.0156976617872715,
-0.037155091762542725,
0.024392172694206238,
-0.12506930530071259,
0.04721183702349663,
0.027683470398187637,
-0.053757861256599426,
-0.02018662542104721,
0.005874052178114653,
-0.0007045433740131557,
-0.07452960312366486,
-0.06125470623373985,
-0.05123453214764595,
0.027957744896411896,
0.047102127224206924,
0.005663774441927671,
-0.041214361786842346,
0.026348665356636047,
-0.05529379844665527,
-0.031596455723047256,
0.018586689606308937,
-0.014783412218093872,
0.023587632924318314,
0.023642487823963165,
-0.017974141985177994,
0.06812985986471176,
0.09764183312654495,
-0.06787387281656265,
0.06984864920377731,
-0.06337576359510422,
0.012826918624341488,
0.05814625695347786,
-0.029603393748402596,
0.01451827958226204,
0.007606554310768843,
-0.04523705691099167,
0.006765445228666067,
0.0049095191061496735,
0.0029553109779953957,
-0.0015622235368937254,
-0.021996838971972466,
-0.05492810159921646,
-0.02711663581430912,
0.027555475011467934,
0.011181269772350788,
0.01949179545044899,
0.011930953711271286,
0.011940096504986286,
0.009681900963187218,
-0.012461218051612377,
-0.009311629459261894,
0.0019199235830456018,
-0.024959007278084755,
-0.01869639940559864,
0.008287670090794563,
0.06728874891996384,
-0.042494308203458786,
0.03168788179755211,
0.04571246728301048,
-0.013320612721145153,
-0.00939848367124796,
0.052075643092393875,
-0.09361913055181503,
0.01225094124674797,
-0.07153087109327316,
-0.04684613645076752,
-0.07818660140037537,
-0.02609267644584179,
0.005595205817371607,
-0.030298223719000816,
0.024538451805710793,
-0.037886492908000946,
0.016694193705916405,
0.03004223294556141,
-0.03591171279549599,
0.07142116129398346,
-0.051015112549066544,
-0.030810203403234482,
-0.06911724805831909,
-0.03839847072958946,
0.03366266191005707,
0.00677458755671978,
-0.02287451922893524,
0.05982847511768341,
-0.005823768209666014,
-0.013494320213794708,
0.0070534334518015385,
0.001283377525396645,
0.00005328359475242905,
-0.0066785914823412895,
0.008200816810131073,
0.026714365929365158,
-0.017718153074383736,
0.022581959143280983,
0.058036547154188156,
-0.0496620237827301,
0.014280574396252632,
0.04896719381213188,
-0.020296335220336914,
-0.07365192472934723,
-0.003983841277658939,
-0.0346866212785244,
-0.056683458387851715,
-0.019345516338944435,
0.0363139845430851,
-0.03296783193945885,
-0.048784345388412476,
0.06092557683587074,
-0.038215622305870056,
0.038873881101608276,
0.030334793031215668,
0.023551063612103462,
0.054416120052337646,
0.10042114555835724,
-0.03806934133172035,
0.056354328989982605,
-0.005764341913163662,
0.028597719967365265,
-0.0013553746975958347,
-0.058694805949926376,
-0.0011148127960041165,
0.03210843726992607,
-0.015377674251794815,
0.05090540274977684,
0.003375865751877427,
0.010431584902107716,
-0.014490852132439613,
0.009864750318229198,
0.05357501283288002,
0.05145395174622536,
-0.0008079678518697619,
0.03664311394095421,
-0.0395321398973465,
0.016035933047533035,
0.027555475011467934,
0.0086716553196311,
0.02839658409357071,
0.013978872448205948,
0.023203648626804352,
-0.009311629459261894,
-0.04428623989224434,
-0.013521747663617134,
-0.005101511254906654,
0.024611592292785645,
-0.050429992377758026,
0.0013039481127634645,
0.05160023272037506,
-0.0231487937271595,
-0.014161722734570503,
-0.008566516451537609,
-0.006148326676338911,
0.013028052635490894,
-0.04702898487448692,
0.006925438530743122,
-0.00431068567559123,
0.03243756666779518,
-0.008753937669098377,
0.008109391666948795,
0.018275843933224678,
0.05156366154551506,
0.029292548075318336,
-0.026878930628299713,
-0.033845510333776474,
-0.015277106314897537,
-0.02384362369775772,
0.009645330719649792,
-0.033900365233421326,
0.0038215622771531343,
-0.02481272630393505,
-0.009092209860682487,
-0.0231305081397295,
-0.02384362369775772,
0.02676922082901001,
-0.013165190815925598,
-0.010797284543514252,
-0.02539784647524357,
0.0007336850976571441,
0.06973893940448761,
-0.023697342723608017,
-0.0016902184579521418,
-0.05002772435545921,
0.02512357197701931,
0.007149429991841316,
0.008703653700649738,
-0.03905673325061798,
-0.010925279930233955,
-0.03525345399975777,
-0.008095677942037582,
-0.02086316980421543,
-0.0024181895423680544,
-0.02177741937339306,
-0.0728473886847496,
0.01192181184887886,
0.052733901888132095,
-0.026622941717505455,
0.026988640427589417,
-0.026293810456991196,
0.008036252111196518,
0.04856492578983307,
0.003067306475713849,
-0.018760396167635918,
0.011016704142093658,
0.022618528455495834,
-0.0156793761998415,
-0.0010765285696834326,
-0.01774558052420616,
-0.04885748401284218,
-0.005531208589673042,
0.008973357267677784,
-0.01109898742288351,
-0.0026947499718517065,
0.002383905230090022,
-0.027043495327234268,
-0.08008824288845062,
0.01976606994867325,
-0.036185987293720245,
-0.00513351010158658,
-0.009489907883107662,
0.007172286044806242,
0.01088870968669653,
0.01887010596692562,
-0.01506682951003313,
-0.02742747962474823,
-0.005110653582960367,
0.08747537434101105,
-0.011181269772350788,
-0.08337953686714172,
0.05595206096768379,
0.02015005610883236,
-0.006139184348285198,
0.004708384163677692,
-0.01701417937874794,
0.012516073882579803,
-0.06487513333559036,
0.01519482396543026,
0.028286874294281006,
0.01602679118514061,
0.01673990488052368,
0.023276789113879204,
-0.01945522613823414,
-0.009636187925934792,
-0.05211221054196358,
-0.010203022509813309,
-0.010651004500687122,
-0.007583698257803917,
0.04143378138542175,
0.026531515643000603,
0.031212473288178444,
0.049479175359010696,
-0.05185622349381447,
-0.03044450283050537,
0.01978435553610325,
-0.039166443049907684,
0.049076903611421585,
-0.008086535148322582,
0.0007953969179652631,
0.03430263698101044,
0.029164554551243782,
-0.010193879716098309,
0.02249053306877613,
-0.007679694332182407,
0.010221307165920734,
0.025306422263383865,
0.020972879603505135,
-0.03660654276609421,
0.022673383355140686,
0.04765067622065544,
-0.04205546900629997,
-0.0331323966383934,
-0.006632878910750151,
0.010139024816453457,
0.022581959143280983,
0.08242872357368469,
0.10883224010467529,
-0.03477804362773895,
0.012141231447458267,
0.002916455501690507,
-0.019400371238589287,
-0.010532152839004993,
0.005933478008955717,
0.022728238254785538,
-0.008063679561018944,
0.06377803534269333,
-0.005298074800521135,
-0.048455215990543365,
-0.02572697587311268,
-0.08747537434101105,
0.019327230751514435,
0.02051575481891632,
0.023020798340439796,
-0.056683458387851715,
-0.03693567216396332,
0.013649743050336838,
-0.01951008103787899,
0.046114735305309296,
0.018632400780916214,
-0.02446531318128109,
-0.010934421792626381,
-0.0005288360989652574,
-0.0725548267364502,
-0.0007096860790625215,
0.02088145539164543,
0.049442604184150696,
-0.0060477592051029205,
0.006335747893899679,
0.04472507908940315,
0.021393435075879097,
-0.031596455723047256,
0.007990539073944092,
-0.009608760476112366,
-0.04925975576043129,
0.021905414760112762,
0.024721302092075348,
-0.06205924600362778,
-0.017718153074383736,
-0.011629251763224602,
-0.050722554326057434,
-0.004781524185091257,
0.003828419139608741,
-0.03477804362773895,
-0.02278309315443039,
-0.024703016504645348,
-0.04176291078329086,
-0.03304097056388855,
0.032528992742300034,
-0.0020387759432196617,
0.0173433106392622,
-0.0070122922770679,
-0.00445696571841836,
0.010047600604593754,
-0.05390414223074913,
-0.03492432460188866,
-0.010120740160346031,
-0.021941984072327614,
0.014143437147140503,
-0.005746057257056236,
0.01155611127614975,
-0.0038969877641648054,
-0.0027221774216741323,
0.008598514832556248,
0.0012582356575876474,
0.06235180422663689,
-0.008260242640972137,
0.02742747962474823,
-0.00959047582000494,
-0.0006874012178741395,
-0.010148167610168457,
0.01155611127614975,
-0.004050124436616898,
0.04794323444366455,
-0.02444702759385109,
-0.03337009996175766,
0.05522065982222557,
0.008123105391860008,
0.0024204752407968044,
-0.0009416768443770707,
-0.04487135633826256,
-0.030005663633346558,
0.029950808733701706,
-0.03163302689790726,
0.023605918511748314,
0.03399179130792618,
0.0729205310344696,
-0.003890130901709199,
-0.024319032207131386,
0.018604973331093788,
0.007958540692925453,
0.02612924575805664,
0.0038444185629487038,
0.02739091031253338,
-0.039495572447776794,
0.050393424928188324,
-0.003163302782922983,
0.0011033846531063318,
-0.005334645044058561,
0.06344890594482422,
0.020680319517850876,
0.05192936211824417,
0.01504854392260313,
0.0037621359806507826,
0.038471613079309464,
0.09186377376317978,
-0.05064941197633743,
0.032894689589738846,
-0.03481461480259895,
0.015249678865075111,
-0.04205546900629997,
-0.07028748840093613,
0.010221307165920734,
-0.033516380935907364,
-0.0247944425791502,
-0.022947657853364944,
0.03803277388215065,
0.052404772490262985,
-0.03004223294556141,
0.035235170274972916,
-0.059682197868824005,
-0.004370111972093582,
0.03614941984415054,
0.03448548540472984,
0.05196593329310417,
0.025196712464094162,
-0.05013743415474892,
-0.050722554326057434,
-0.04754096642136574,
-0.09449680894613266,
0.005357501097023487,
0.04392053931951523,
-0.008461377583444118,
0.018184419721364975,
-0.007382563315331936,
0.03942243009805679,
0.015322819352149963,
-0.0029667390044778585,
-0.01720617339015007,
0.06714247167110443,
-0.00973675586283207,
0.03201701119542122,
0.03183416277170181,
0.047065556049346924,
0.04541990906000137,
-0.0009468194912187755,
-0.03565572574734688,
0.05361158028244972,
0.02841486968100071,
-0.043445128947496414,
0.007990539073944092,
-0.041872620582580566,
-0.04823579639196396,
0.02409961260855198,
-0.015496525913476944,
0.07972254604101181,
0.02779318019747734,
-0.000014240505151974503,
-0.06498484313488007,
-0.023624202236533165,
0.02217968925833702,
0.014984546229243279,
0.006546025164425373,
-0.01059614960104227,
-0.0076659806072711945,
0.03379065543413162,
-0.02846972458064556,
0.05459897220134735,
-0.03040793351829052,
-0.0694463774561882,
0.028506293892860413,
-0.046297587454319,
-0.02375219762325287,
0.05657374858856201,
0.03711852431297302,
-0.0004362683685030788,
0.01121783908456564,
0.005599777214229107,
0.030974768102169037,
0.04889405518770218,
0.02508700266480446,
0.02912798337638378,
0.045090775936841965,
-0.004445537459105253,
0.007949397899210453,
-0.0005179793806746602,
-0.021265439689159393,
0.009791610762476921,
-0.000037355657696025446,
0.0008988213958218694,
-0.056354328989982605,
-0.006765445228666067,
-0.006427173037081957,
0.009947032667696476,
-0.0033804369159042835,
0.02772003971040249,
0.025288136675953865,
-0.010111597366631031,
0.04571246728301048
] |
726,223 | penne.delegates | DirectionalLight | Directional light information for a light delegate
Attributes:
range (float): Range of light, -1 defaults to infinite
| class DirectionalLight(NoodleObject):
"""Directional light information for a light delegate
Attributes:
range (float): Range of light, -1 defaults to infinite
"""
range: float = -1.0
| (*, range: float = -1.0, **extra_data: Any) -> None | [
0.004315828904509544,
-0.0019254119833931327,
0.02693154849112034,
0.015907051041722298,
-0.00980385858565569,
-0.03487538546323776,
-0.05839689448475838,
0.04723677411675453,
-0.08013588935136795,
-0.004151139874011278,
-0.0410754531621933,
0.030419087037444115,
-0.0026301853358745575,
0.02925657294690609,
-0.0274740532040596,
0.032666612416505814,
-0.07536958158016205,
0.02018897421658039,
-0.01745706796646118,
-0.028132811188697815,
0.020363349467515945,
0.050995565950870514,
0.031232845038175583,
0.003950121812522411,
-0.027687180787324905,
0.0001414542057318613,
-0.023521510884165764,
0.03429412841796875,
-0.0640157088637352,
-0.03514663875102997,
-0.05246808007359505,
-0.0595206581056118,
0.02524590492248535,
0.03510788828134537,
0.00010913694859482348,
-0.05731188505887985,
0.010859807953238487,
0.04250922054052353,
-0.12237385660409927,
0.01974334381520748,
-0.01550985872745514,
-0.008273216895759106,
0.0041002798825502396,
0.022630250081419945,
-0.015432358719408512,
-0.029837829992175102,
0.02375401370227337,
-0.03797541931271553,
-0.011140747927129269,
-0.02373463846743107,
0.04890304058790207,
0.0016795889241620898,
0.01690487377345562,
-0.002075569937005639,
-0.010569179430603981,
0.026292165741324425,
0.00028850906528532505,
0.052429329603910446,
-0.026311540976166725,
0.04863178730010986,
-0.026214664801955223,
0.010249488055706024,
0.018222389742732048,
-0.06944076716899872,
0.01689518615603447,
0.021332111209630966,
0.00524583924561739,
0.08765347301959991,
0.0458805076777935,
0.031852852553129196,
-0.01118918601423502,
0.029818454757332802,
0.04770177975296974,
0.0274740532040596,
0.028210312128067017,
0.0068200756795704365,
-0.012409824877977371,
0.04301297664642334,
0.03489476069808006,
-0.02418026700615883,
-0.0411917045712471,
0.011847943998873234,
0.013146082870662212,
0.06048941984772682,
-0.03621227666735649,
-0.04258672147989273,
-0.040959201753139496,
-0.02793905884027481,
0.04789552837610245,
-0.0367160327732563,
-0.08633595705032349,
0.05622687190771103,
-0.06916951388120651,
-0.001455563004128635,
0.003979184664785862,
0.023986514657735825,
0.012012632563710213,
-0.003770901123061776,
0.011925444938242435,
0.00014016756904311478,
-0.015422671101987362,
0.014376409351825714,
-0.033247869461774826,
0.05440560355782509,
0.0011576691176742315,
-0.06913076341152191,
-0.03811104595661163,
-0.007556333672255278,
0.01914271153509617,
0.06789074838161469,
-0.025284655392169952,
-0.02836531400680542,
-0.031969103962183,
0.02925657294690609,
-0.05246808007359505,
0.02055710181593895,
0.013678901828825474,
0.026640919968485832,
-0.0017970511689782143,
0.004291609860956669,
0.03785916790366173,
-0.02524590492248535,
-0.05394059792160988,
-0.019103961065411568,
0.029489075765013695,
0.04386548697948456,
0.0027488586492836475,
0.0021990868262946606,
-0.009997610934078693,
0.005090837366878986,
0.024994026869535446,
0.003809651592746377,
-0.028210312128067017,
0.015044854022562504,
0.030399711802601814,
0.00959557481110096,
0.03247286006808281,
0.024490270763635635,
0.024935901165008545,
0.0410754531621933,
-0.023502135649323463,
0.014783288352191448,
0.0504918098449707,
-0.014047030359506607,
-0.053746845573186874,
0.03826604783535004,
-0.0502593070268631,
0.006732887122780085,
-0.024897150695323944,
-0.003761213505640626,
-0.029024071991443634,
-0.01532579492777586,
0.04146295785903931,
0.03396474942564964,
-0.03386787325143814,
0.0028481564950197935,
-0.03262786194682121,
-0.048283033072948456,
0.005294277332723141,
0.0413079559803009,
-0.019917720928788185,
-0.043710485100746155,
0.026195289567112923,
-0.03334474563598633,
-0.01829989068210125,
-0.03357724845409393,
0.026795921847224236,
-0.08052339404821396,
0.025400906801223755,
0.04491174593567848,
-0.021700240671634674,
-0.06668949127197266,
0.018425829708576202,
0.02613716386258602,
0.035398516803979874,
0.04929054528474808,
0.010375427082180977,
0.018396766856312752,
-0.013795152306556702,
0.019394589588046074,
0.05095681548118591,
-0.0007822742918506265,
-0.03762666508555412,
-0.050065554678440094,
0.03975794091820717,
-0.00824899785220623,
0.0018394343787804246,
-0.029159698635339737,
-0.010268863290548325,
-0.0028699536342173815,
0.05986941233277321,
-0.006887888535857201,
0.012884517200291157,
-0.023870263248682022,
0.014298908412456512,
-0.0028481564950197935,
0.02096398174762726,
-0.05568436533212662,
0.02375401370227337,
0.027590304613113403,
-0.0018358015222474933,
0.026350291445851326,
-0.009319477714598179,
0.016672372817993164,
-0.012264510616660118,
0.02195211872458458,
0.00868009589612484,
0.0003917426220141351,
-0.036347903311252594,
-0.05618812143802643,
0.02328900806605816,
0.021680865436792374,
0.021215859800577164,
0.023657137528061867,
0.03568914532661438,
-0.05719563364982605,
-0.0639769583940506,
0.032724738121032715,
-0.01873583160340786,
0.020033972337841988,
-0.009736045263707638,
-0.0319109782576561,
-0.02660216949880123,
-0.04146295785903931,
-0.028520315885543823,
0.032162856310606,
-0.012516388669610023,
-0.03249223530292511,
-0.0032259731087833643,
-0.029702203348279,
-0.005565530154854059,
-0.04808928072452545,
-0.07269580662250519,
0.01167356688529253,
0.048244282603263855,
0.00894650537520647,
-0.014599223621189594,
0.010307613760232925,
-0.04987180233001709,
-0.008200559765100479,
-0.017273003235459328,
0.015451733954250813,
0.008466968312859535,
0.03803354501724243,
0.031271595507860184,
0.014337658882141113,
0.004463565070182085,
0.009212914854288101,
-0.0041923122480511665,
-0.02416089177131653,
-0.046926770359277725,
-0.04750802740454674,
0.013833902776241302,
0.06758074462413788,
0.05688562989234924,
-0.05684687942266464,
-0.0365416556596756,
-0.01782519742846489,
-0.02328900806605816,
-0.05758313834667206,
-0.04402048885822296,
-0.07079703360795975,
-0.0076919603161513805,
0.07897337526082993,
0.04615176096558571,
0.038711678236722946,
-0.01348514948040247,
-0.028132811188697815,
0.01866801828145981,
-0.02563340775668621,
0.18693207204341888,
-0.01835801638662815,
-0.03927356004714966,
-0.008394312113523483,
0.012913580052554607,
-0.024994026869535446,
0.0686270073056221,
-0.02053772658109665,
0.005788345355540514,
0.02838468924164772,
-0.0035359766334295273,
0.006553666200488806,
-0.037704166024923325,
0.003526289016008377,
-0.035476017743349075,
0.005052087362855673,
0.014066405594348907,
0.03163972496986389,
-0.018600204959511757,
-0.027202801778912544,
0.04727552458643913,
0.0411917045712471,
0.02330838330090046,
-0.006916951388120651,
0.08331342041492462,
-0.0003063705808017403,
-0.05355309322476387,
0.03022533468902111,
0.023599011823534966,
-0.06459696590900421,
0.03971919044852257,
-0.03441037982702255,
0.025284655392169952,
-0.014918914996087551,
-0.09222602099180222,
-0.023657137528061867,
0.03875042870640755,
-0.004257703199982643,
-0.006553666200488806,
-0.01744738034904003,
0.022145869210362434,
0.024897150695323944,
-0.017951136454939842,
0.009668231941759586,
-0.025342781096696854,
-0.001029913779348135,
0.006403508596122265,
0.021235235035419464,
0.01738925464451313,
0.08184090256690979,
-0.03570852056145668,
-0.0006775270448997617,
-0.03983544185757637,
0.01231294870376587,
0.035979773849248886,
-0.04956179857254028,
0.054715607315301895,
0.03171722590923309,
0.019016772508621216,
0.002272954909130931,
-0.040959201753139496,
-0.03752978891134262,
0.010772619396448135,
0.00026746877119876444,
-0.04018419608473778,
-0.037277910858392715,
0.025304030627012253,
0.000018561606339062564,
-0.007280237041413784,
-0.021370861679315567,
0.0275128036737442,
0.03423600271344185,
-0.054289352148771286,
0.05246808007359505,
0.04754677787423134,
0.0183095782995224,
0.04704302176833153,
-0.04541550204157829,
0.07967088371515274,
-0.007333518471568823,
0.00013668608153238893,
0.028113435953855515,
-0.03570852056145668,
0.03289911523461342,
0.03431350365281105,
-0.03743291273713112,
0.027997184544801712,
-0.03348037227988243,
-0.008931973949074745,
-0.017592694610357285,
-0.05890065059065819,
-0.030341586098074913,
-0.0458805076777935,
0.03892480581998825,
-0.03628977760672569,
-0.02700904943048954,
0.01422140747308731,
-0.010249488055706024,
0.04526050016283989,
0.04994930326938629,
-0.05390184745192528,
-0.06502322107553482,
-0.019539903849363327,
0.0007610826287418604,
-0.0007017460302449763,
-0.026292165741324425,
0.03568914532661438,
0.014008279889822006,
0.03803354501724243,
-0.0048486473970115185,
-0.027784056961536407,
0.02419964224100113,
-0.015199855901300907,
0.017156751826405525,
0.02613716386258602,
0.009222602471709251,
0.030070332810282707,
0.0297603290528059,
-0.02518777921795845,
0.000004938409347232664,
0.03628977760672569,
-0.013775777071714401,
0.013272021897137165,
-0.02195211872458458,
-0.04882553964853287,
0.004238327965140343,
-0.015238606370985508,
0.008631657809019089,
-0.013320459984242916,
-0.03472038358449936,
0.03838229924440384,
-0.045958008617162704,
-0.052351828664541245,
0.0011631182860583067,
-0.06932451575994492,
-0.008592907339334488,
0.05804814398288727,
0.004901929292827845,
0.013427023775875568,
-0.06281444430351257,
-0.022785251960158348,
0.010811369866132736,
-0.029934706166386604,
-0.01959802955389023,
0.05715688318014145,
-0.022223370149731636,
0.05262308195233345,
-0.010220425203442574,
-0.028946571052074432,
-0.009261352941393852,
0.020440850406885147,
-0.025885285809636116,
0.04293547570705414,
0.04402048885822296,
0.023017754778265953,
-0.01683706045150757,
0.043710485100746155,
0.0320466049015522,
0.01650768332183361,
0.054250601679086685,
0.01097605936229229,
-0.0006272725877352059,
-0.002993470523506403,
-0.09943360090255737,
0.045454252511262894,
-0.014492660760879517,
0.006316320039331913,
-0.027784056961536407,
0.027338428422808647,
-0.01876489445567131,
0.051886823028326035,
0.0009911633096635342,
0.028113435953855515,
0.020847730338573456,
-0.014744537882506847,
-0.054173100739717484,
-0.012051383033394814,
-0.061496932059526443,
0.09385354071855545,
-0.03487538546323776,
-0.025420282036066055,
-0.02202961966395378,
0.06231068819761276,
0.0044611431658267975,
0.009987923316657543,
-0.06940201669931412,
-0.11369375884532928,
-0.023657137528061867,
0.010569179430603981,
-0.059249404817819595,
0.0035771490074694157,
-0.009067600592970848,
-0.043710485100746155,
-0.0034487880766391754,
-0.020886480808258057,
0.005652718711644411,
0.021428987383842468,
-0.056498125195503235,
-0.08191840350627899,
-0.054754357784986496,
0.059636909514665604,
-0.012167634442448616,
0.04247047007083893,
-0.03892480581998825,
0.039583563804626465,
0.042354218661785126,
-0.03737478703260422,
0.0021191639825701714,
-0.02418026700615883,
-0.0732770636677742,
-0.018890833482146263,
-0.06525572389364243,
0.002528465585783124,
0.01116981077939272,
-0.03576664626598358,
0.05804814398288727,
-0.023095255717635155,
0.010297926142811775,
0.04750802740454674,
-0.032724738121032715,
-0.05076306313276291,
0.019336463883519173,
0.0049188826233148575,
-0.023192131891846657,
0.01918146200478077,
0.06211693584918976,
0.019791781902313232,
-0.023870263248682022,
0.01963678002357483,
0.029430950060486794,
-0.026854047551751137,
-0.03233723342418671,
-0.02282400242984295,
-0.05320433899760246,
0.030825966969132423,
-0.011402313597500324,
-0.040067944675683975,
-0.019472090527415276,
-0.015490483492612839,
0.07509832829236984,
0.04014544561505318,
0.0026955767534673214,
0.06184568628668785,
-0.000768348341807723,
0.0033809749875217676,
0.0010674531804397702,
-0.04382673650979996,
0.07490457594394684,
-0.000009734910236147698,
-0.04797302931547165,
-0.01922990009188652,
0.027764681726694107,
0.010753244161605835,
-0.07649334520101547,
0.00892713014036417,
0.006650542374700308,
-0.0823834091424942,
-0.04436923936009407,
0.009939485229551792,
0.02700904943048954,
0.08339092135429382,
-0.028752818703651428,
-0.02146773785352707,
0.0022220949176698923,
-0.0008052823250181973,
0.014250470325350761,
-0.03018658421933651,
-0.013272021897137165,
-0.028694692999124527,
-0.014308596029877663,
0.03857605159282684,
-0.03067096509039402,
-0.009464791975915432,
0.00822962261736393,
0.04929054528474808,
-0.04026169702410698,
-0.0321047306060791,
-0.028500940650701523,
-0.039990443736314774,
0.047740526497364044,
0.008597751148045063,
-0.008403998799622059,
-0.059249404817819595,
-0.014521723613142967,
0.014928602613508701,
0.03532101586461067,
-0.021235235035419464,
-0.05126681551337242,
0.04665551707148552,
0.0502593070268631,
0.013882340863347054,
-0.025323405861854553,
0.01302014384418726,
0.01530641969293356,
-0.031736601144075394,
0.036929160356521606,
0.0503368079662323,
-0.0025357312988489866,
0.005458966828882694,
0.03630915284156799,
0.021428987383842468,
-0.003129097167402506,
0.015180480666458607,
0.04673301801085472,
-0.0031848009675741196,
0.052429329603910446,
0.07676459848880768,
-0.00037751393392682076,
0.0002538455883041024,
-0.10013110935688019,
0.003904105629771948,
0.01302983146160841,
-0.06448071449995041,
-0.10648617893457413,
0.01780582219362259,
-0.004008247517049313,
-0.004185046534985304,
0.06304694712162018,
0.030012207105755806,
-0.01301045622676611,
0.031852852553129196,
-0.04479549452662468,
0.0032962083350867033,
-0.02795843407511711,
-0.06525572389364243,
0.003749103983864188,
-0.015161105431616306,
-0.02423839271068573,
0.08091089874505997,
0.08587095141410828,
-0.01530641969293356,
0.008161809295415878,
-0.021235235035419464,
-0.01235169917345047,
-0.016284868121147156,
0.011586378328502178,
0.03466225787997246,
-0.08571594953536987,
-0.04750802740454674,
-0.03694853559136391,
0.018861770629882812,
-0.041424207389354706,
-0.046500515192747116,
-0.007294768001884222,
-0.005914284382015467,
-0.010443240404129028,
0.010646680369973183,
0.009920109994709492,
0.03506913781166077,
0.04363298416137695,
-0.0029450326692312956,
-0.03696791082620621,
-0.014066405594348907,
-0.022649625316262245,
-0.018881145864725113,
-0.01873583160340786,
-0.00034602920641191304,
-0.03069034032523632,
0.02100273221731186,
-0.03811104595661163,
-0.023095255717635155,
0.008394312113523483,
-0.0296634528785944,
-0.04030044749379158,
-0.045996759086847305,
0.01649799570441246,
-0.011072934605181217,
-0.039622314274311066,
0.01165419165045023,
0.02654404379427433,
-0.04541550204157829,
0.0595594085752964,
0.0023516665678471327,
0.0411142036318779,
-0.04068794846534729,
-0.004233484156429768,
0.0011540362611413002,
0.015248293988406658,
-0.023172756657004356,
-0.0410367026925087,
-0.04700427129864693,
0.07959338277578354,
-0.02512965351343155,
0.040532950311899185,
0.00019496309687383473,
-0.015073916874825954,
-0.019026460126042366,
0.021254610270261765,
0.027086550369858742,
-0.01867770589888096,
-0.05339809134602547,
0.04262547194957733,
0.02567215822637081,
-0.014763913117349148,
0.03875042870640755,
-0.007788836024701595,
0.015887675806879997,
-0.010627305135130882,
0.0595594085752964,
-0.013814527541399002,
-0.008307123556733131,
0.009799014776945114,
0.051073066890239716,
0.015887675806879997,
0.042354218661785126,
-0.028462190181016922,
0.01833864115178585,
0.014792975969612598,
0.07071953266859055,
0.023986514657735825,
-0.03295724093914032,
0.03851792588829994,
-0.02340525947511196,
-0.00983292143791914,
0.04750802740454674,
0.09369853883981705,
-0.03882792964577675,
0.023986514657735825,
0.041850462555885315,
0.044524241238832474,
-0.03255036100745201,
-0.023928388953208923,
-0.026873422786593437,
0.03334474563598633,
0.06603073328733444,
-0.04863178730010986,
-0.037665415555238724,
0.002282642526552081,
0.025827160105109215,
-0.008757596835494041,
0.053785596042871475,
-0.0028166717384010553,
-0.05890065059065819,
0.039661064743995667,
0.037219785153865814,
-0.026757171377539635,
0.052855584770441055,
-0.03026408515870571,
0.044175490736961365,
-0.00872853398323059,
0.03156222403049469,
0.07959338277578354,
0.02927594818174839,
-0.014357034116983414,
0.015170793049037457,
0.004681535996496677,
-0.0022220949176698923,
0.03022533468902111,
-0.041385456919670105,
-0.010791994631290436,
-0.003814495401456952,
-0.01603299006819725,
0.02793905884027481,
0.004463565070182085,
0.0007096172193996608,
0.016352681443095207,
-0.034972261637449265,
0.00584162725135684,
-0.08881597965955734,
0.0072560179978609085,
-0.011567003093659878,
0.03367412090301514,
-0.03061283938586712,
0.03601852431893349,
0.011431376449763775,
0.03570852056145668,
0.00685882568359375,
0.030283460393548012,
-0.0297797042876482,
0.025439657270908356,
-0.005802876781672239,
0.0010541327064856887,
0.01743769273161888,
-0.032666612416505814,
0.011421688832342625,
0.031775351613759995,
0.00388230849057436,
0.01784457266330719,
-0.008292592130601406,
0.016081428155303,
0.058358144015073776,
0.025304030627012253,
0.01302014384418726,
-0.013804839923977852,
0.03857605159282684,
-0.015015791170299053,
0.015752049162983894,
-0.005420216359198093,
0.003020111471414566,
-0.05905565246939659,
-0.01777675934135914,
-0.039602939039468765,
0.03148472309112549,
0.044640492647886276,
-0.013146082870662212,
0.053708095103502274,
-0.030496587976813316,
-0.0006054754485376179
] |
726,251 | penne.delegates | Document | Delegate for document
Attributes:
name (str): name will be "Document"
methods_list (list[MethodID]): list of methods available on the document
signals_list (list[SignalID]): list of signals available on the document
| class Document(Delegate):
"""Delegate for document
Attributes:
name (str): name will be "Document"
methods_list (list[MethodID]): list of methods available on the document
signals_list (list[SignalID]): list of signals available on the document
"""
name: str = "Document"
methods_list: List[MethodID] = [] # Server usually sends as an update
signals_list: List[SignalID] = []
client_view: Optional[InjectedMethod] = None
def on_update(self, message: dict):
"""Handler when update message is received
Should update methods_list and signals_list
Args:
message (Message): update message with the new document's info
"""
if "methods_list" in message:
self.methods_list = [MethodID(*element) for element in message["methods_list"]]
inject_methods(self, self.methods_list)
if "signals_list" in message:
self.signals_list = [SignalID(*element) for element in message["signals_list"]]
def reset(self):
"""Reset the document
Called when document reset message is received. Will reset state, and clear methods and signals on document
"""
self.client.state = {"document": self}
self.methods_list = []
self.signals_list = []
def update_client_view(self, direction: Vec3, angle: float):
"""Notify the server of an area of interest for the client"""
self.client_view(direction, angle)
def show_methods(self):
"""Show methods available on the document"""
if not self.methods_list:
message = "No methods available"
else:
message = f"-- Methods on Document --\n--------------------------------------\n"
for method_id in self.methods_list:
method = self.client.get_delegate(method_id)
message += f">> {method}"
print(message)
return message
| (*, client: object = None, id: penne.delegates.ID = None, name: str = 'Document', signals: Optional[dict] = {}, methods_list: List[penne.delegates.MethodID] = [], signals_list: List[penne.delegates.SignalID] = [], client_view: Optional[penne.delegates.InjectedMethod] = None, **extra_data: Any) -> None | [
-0.02561638504266739,
-0.04812101647257805,
-0.017281334847211838,
-0.0033571727108210325,
0.013465735130012035,
-0.008154456503689289,
-0.028190989047288895,
0.038118958473205566,
0.0307655930519104,
0.037100229412317276,
0.0004619006358552724,
0.013447212986648083,
0.0007154250633902848,
0.016670098528265953,
-0.08816629648208618,
-0.02033752016723156,
0.012604447081685066,
0.013595391064882278,
-0.01834636926651001,
-0.07353365421295166,
-0.012928587384521961,
0.028135422617197037,
0.0491953119635582,
0.047231946140527725,
-0.04508335515856743,
0.01744803600013256,
-0.03778555616736412,
0.0044893501326441765,
0.06679152697324753,
-0.0347478948533535,
-0.029135627672076225,
-0.06405021995306015,
0.03367359936237335,
-0.01128936093300581,
0.04256431758403778,
-0.000880968407727778,
0.022838035598397255,
0.021522950381040573,
-0.018985390663146973,
0.03541469946503639,
-0.028820747509598732,
-0.0033571727108210325,
0.06549496203660965,
-0.01884647272527218,
0.0013752831146121025,
0.06193867698311806,
-0.02309734746813774,
0.08609180152416229,
-0.001658906345255673,
-0.012604447081685066,
0.001016991795040667,
-0.010696646757423878,
0.009677918627858162,
-0.014243673533201218,
-0.025079237297177315,
0.03595184534788132,
0.019744805991649628,
0.08675859868526459,
0.015373535454273224,
0.0030885988380759954,
-0.00048823709948919713,
-0.012511835433542728,
0.06245730444788933,
-0.0420086495578289,
0.027839064598083496,
0.007149619981646538,
0.03539617732167244,
0.0011495421640574932,
0.027468618005514145,
0.003935995511710644,
0.028320645913481712,
-0.016021817922592163,
0.007334843277931213,
0.02715373784303665,
0.03758181259036064,
-0.02352336049079895,
-0.016670098528265953,
0.02937641739845276,
0.043897926807403564,
-0.0022631974425166845,
0.011928381398320198,
-0.05389998480677605,
0.008941655978560448,
-0.02496810257434845,
0.04604651778936386,
-0.009937231428921223,
0.03721136599779129,
0.006816218141466379,
-0.0017758285393938422,
-0.0015697675989940763,
-0.05919737368822098,
0.01440111268311739,
-0.006881046108901501,
-0.007510805502533913,
-0.056419022381305695,
-0.023541884496808052,
-0.002699629869312048,
-0.05723400413990021,
0.024134598672389984,
0.04315703362226486,
-0.03815600275993347,
0.07512658089399338,
-0.033043839037418365,
0.00038260192377492785,
-0.017679566517472267,
0.002435686532407999,
-0.05189957469701767,
-0.03402552381157875,
0.009089834056794643,
0.05238115414977074,
0.006297593005001545,
-0.042379096150398254,
0.011659807525575161,
-0.013901010155677795,
0.015697676688432693,
-0.003373379586264491,
-0.007483021821826696,
-0.01215991098433733,
-0.003572494722902775,
-0.026097966358065605,
0.036377858370542526,
-0.007200556341558695,
-0.0659024566411972,
0.004857481457293034,
-0.04804692789912224,
0.006186458747833967,
0.004023976624011993,
0.014558552764356136,
0.0817946195602417,
-0.05797489732503891,
-0.042675454169511795,
-0.028431778773665428,
0.04048981890082359,
0.08809220790863037,
0.05630788952112198,
0.0542704313993454,
-0.035136863589286804,
-0.053455449640750885,
-0.06334637105464935,
0.04211978241801262,
-0.02265281230211258,
0.006737498100847006,
0.033618032932281494,
0.046935588121414185,
-0.04160115867853165,
0.03208068013191223,
-0.020207863301038742,
0.005491871386766434,
-0.0448981337249279,
-0.02257872186601162,
-0.00955752283334732,
-0.04015641659498215,
0.02200452983379364,
-0.0025769195053726435,
-0.012224739417433739,
-0.0022469903342425823,
-0.0564560666680336,
0.008242437615990639,
-0.04037868231534958,
-0.03582219034433365,
0.003857275703921914,
-0.011298622004687786,
0.0033525419421494007,
-0.0033895866945385933,
-0.003334019798785448,
0.019133567810058594,
0.013576868921518326,
-0.08298004418611526,
-0.04667627438902855,
0.09661248326301575,
-0.05560404062271118,
0.028061332181096077,
-0.028617002069950104,
0.017512865364551544,
0.0012074245605617762,
0.03823009133338928,
0.02446800097823143,
0.010122454725205898,
-0.034840505570173264,
-0.01744803600013256,
-0.005042704753577709,
-0.04019346088171005,
-0.06912533938884735,
0.042527273297309875,
0.022671334445476532,
0.08875901252031326,
0.011446801014244556,
-0.017383208498358727,
0.045713115483522415,
-0.02961720898747444,
-0.039489611983299255,
0.01802222803235054,
0.053751807659864426,
-0.0031997328624129295,
-0.02105989120900631,
0.02235645428299904,
-0.037174321711063385,
-0.009122248739004135,
-0.03587775677442551,
-0.030376624315977097,
0.008626775816082954,
0.019800372421741486,
0.00758026447147131,
-0.010446595028042793,
-0.02961720898747444,
0.017160940915346146,
0.017336903139948845,
0.05145503953099251,
-0.06519860774278641,
-0.05097345635294914,
0.029783910140395164,
0.022856557741761208,
0.02381971850991249,
-0.043897926807403564,
0.04789875075221062,
-0.09105578064918518,
0.0702366828918457,
0.0071912952698767185,
-0.007501544430851936,
-0.01042807288467884,
0.06542087346315384,
0.09061124920845032,
-0.05104754492640495,
-0.03395143523812294,
-0.06579132378101349,
-0.002243517432361841,
0.044046103954315186,
-0.03408109024167061,
0.0477876141667366,
-0.08824038505554199,
-0.009668657556176186,
-0.003257615026086569,
-0.04293476417660713,
0.03863758593797684,
0.012798931449651718,
-0.04423132911324501,
-0.004012400284409523,
0.003049238817766309,
0.01961514912545681,
0.030747070908546448,
0.01077999733388424,
0.007899774238467216,
0.03915620967745781,
0.03298827260732651,
-0.02155999466776848,
0.027839064598083496,
0.06634699553251266,
-0.0340070016682148,
-0.03321054205298424,
0.02374562993645668,
-0.00019173507462255657,
-0.09713111072778702,
-0.015669893473386765,
0.01128936093300581,
0.027542706578969955,
0.003127958858385682,
-0.03589627891778946,
0.050121430307626724,
-0.033618032932281494,
-0.008853674866259098,
-0.005440935026854277,
0.003577125258743763,
-0.011057832278311253,
0.053085003048181534,
0.04441655054688454,
0.0034868288785219193,
0.01697571761906147,
0.02085614576935768,
-0.010705907829105854,
0.02085614576935768,
0.10002059489488602,
0.015623587183654308,
-0.0045611243695020676,
0.029561640694737434,
0.0022701432462781668,
-0.03937847912311554,
-0.01600329391658306,
-0.0035007207188755274,
-0.08987035602331161,
-0.02252315543591976,
0.026394322514533997,
0.017503604292869568,
0.05608562007546425,
0.008770324289798737,
0.029005970805883408,
-0.020318998023867607,
0.017086850479245186,
0.05812307819724083,
0.005635419394820929,
-0.05215888470411301,
0.07860877364873886,
0.007816423662006855,
0.051640260964632034,
-0.004556493833661079,
-0.013039721176028252,
0.027468618005514145,
-0.07868286222219467,
0.03430335968732834,
-0.004470827989280224,
-0.056567199528217316,
-0.018772384151816368,
0.01752212643623352,
0.03845236077904701,
-0.02924676239490509,
-0.01045585609972477,
-0.06901420652866364,
0.017309119924902916,
0.023653017356991768,
0.025746041908860207,
-0.06356864422559738,
-0.005565960891544819,
-0.015355013310909271,
-0.043749745935201645,
-0.0002623514737933874,
-0.0209858026355505,
0.008918502368032932,
-0.02946902997791767,
-0.015179051086306572,
0.040934354066848755,
0.08557317405939102,
-0.06186458840966225,
0.06138300895690918,
-0.0238938070833683,
0.015549497678875923,
0.02461617812514305,
0.008172978647053242,
0.016512658447027206,
0.007033855654299259,
-0.04871373251080513,
-0.018059274181723595,
-0.037322498857975006,
0.01360465306788683,
-0.008168348111212254,
-0.02519037202000618,
-0.0492323562502861,
-0.039119165390729904,
0.022467589005827904,
-0.03245112672448158,
0.022838035598397255,
-0.00341968541033566,
0.03700761869549751,
-0.013965838588774204,
-0.011965426616370678,
-0.009154662489891052,
0.0033988477662205696,
-0.01712389662861824,
-0.009918708354234695,
0.025394117459654808,
0.04530562460422516,
-0.045342668890953064,
0.023189960047602654,
-0.017364686354994774,
-0.007348735351115465,
0.01524387951940298,
0.050121430307626724,
-0.07142211496829987,
-0.0010401447070762515,
-0.0716814249753952,
-0.009576045908033848,
-0.043379299342632294,
-0.021874872967600822,
0.05886397138237953,
-0.045416757464408875,
-0.0022203645203262568,
-0.03661864995956421,
0.011882076039910316,
0.01588289998471737,
-0.03697057440876961,
0.05119572579860687,
-0.03096933849155903,
0.010103931650519371,
-0.0746079534292221,
-0.041860468685626984,
0.05160321667790413,
0.009390822611749172,
-0.03276600316166878,
0.032321467995643616,
0.028894837945699692,
-0.014669686555862427,
-0.0038040238432586193,
0.006209611892700195,
-0.01996707357466221,
0.02280099131166935,
0.017086850479245186,
0.0441572405397892,
-0.029431985691189766,
0.016966456547379494,
0.03061741404235363,
-0.02489401400089264,
0.04645400866866112,
0.020022640004754066,
-0.021337727084755898,
-0.09290801733732224,
-0.021522950381040573,
-0.04471290856599808,
-0.040563907474279404,
0.0003797078097704798,
0.04189751297235489,
-0.018985390663146973,
-0.057789675891399384,
0.03769294545054436,
-0.01027989387512207,
-0.025375595316290855,
0.03263634815812111,
0.011067093349993229,
0.02576456405222416,
0.09231530129909515,
0.011761680245399475,
0.05545585975050926,
0.01712389662861824,
0.01154867373406887,
-0.018087057396769524,
-0.007168142590671778,
-0.010724429972469807,
0.026523979380726814,
-0.03424779325723648,
0.0005151523509994149,
-0.006556905340403318,
-0.008538794703781605,
0.01244700700044632,
0.018253758549690247,
0.09305619448423386,
0.0767565444111824,
0.04575015977025032,
0.039082121104002,
-0.014604859054088593,
-0.017281334847211838,
0.008816629648208618,
0.03033958002924919,
0.07338547706604004,
0.03685944154858589,
0.029561640694737434,
-0.04471290856599808,
-0.03487754985690117,
-0.03541469946503639,
-0.02367153950035572,
0.003160372842103243,
-0.053233180195093155,
0.000909330730792135,
0.041971605271101,
-0.032321467995643616,
-0.0009116459987126291,
-0.01049290131777525,
0.006501338444650173,
0.0074089327827095985,
-0.0789051353931427,
-0.004815806169062853,
-0.03287713974714279,
0.01931879296898842,
-0.04256431758403778,
0.025653429329395294,
0.011168966069817543,
0.035081297159194946,
0.020670922473073006,
-0.00197262829169631,
-0.00017596215184312314,
0.008534164167940617,
0.015104961581528187,
-0.01060403510928154,
-0.014753037132322788,
0.018902039155364037,
-0.014753037132322788,
-0.04719490185379982,
-0.01794813945889473,
-0.03163614124059677,
0.039341431111097336,
0.00043209127034060657,
0.00031690552714280784,
-0.04482404142618179,
0.029950611293315887,
0.0796460285782814,
-0.030209923163056374,
-0.015540236607193947,
-0.05741922929883003,
-0.0036558452993631363,
-0.011928381398320198,
0.010076148435473442,
-0.042230915278196335,
-0.08312822133302689,
-0.052084796130657196,
-0.03358098864555359,
0.008279481902718544,
-0.04163820296525955,
-0.009872402995824814,
-0.05923441797494888,
-0.012965632602572441,
0.05886397138237953,
-0.019078001379966736,
0.027468618005514145,
-0.054974280297756195,
0.03161761909723282,
0.06279070675373077,
0.01852233149111271,
-0.04719490185379982,
0.027542706578969955,
0.020078208297491074,
-0.02244906686246395,
0.017290595918893814,
0.019948551431298256,
-0.05175139382481575,
-0.0231529138982296,
-0.05564108490943909,
0.0028501239139586687,
0.006478185765445232,
0.028487347066402435,
-0.03845236077904701,
-0.0354887880384922,
0.03515538573265076,
-0.006681931205093861,
-0.008075736463069916,
-0.011280099861323833,
0.00075304857455194,
-0.00922412145882845,
0.017512865364551544,
-0.02100432477891445,
-0.04319407790899277,
-0.03663717210292816,
0.042082738131284714,
-0.02793167717754841,
-0.05697469413280487,
0.049047134816646576,
0.01904095709323883,
-0.020393086597323418,
-0.022967690601944923,
0.003785501467064023,
-0.0027899262495338917,
-0.040712084621191025,
-0.025801608338952065,
0.030061744153499603,
-0.0030909141059964895,
0.01856863684952259,
0.021078413352370262,
0.01615147292613983,
-0.014299239963293076,
-0.03135830909013748,
0.01121527235955,
0.030747070908546448,
-0.06753242015838623,
-0.015549497678875923,
0.017086850479245186,
0.01729985699057579,
0.05956782028079033,
-0.10594774037599564,
-0.053751807659864426,
0.0448981337249279,
-0.040934354066848755,
0.050417788326740265,
-0.07831241935491562,
0.007705289870500565,
-0.0002721914497669786,
-0.008325788192451,
-0.006001235451549292,
0.03482198342680931,
0.00016973981109913439,
0.0072098178789019585,
0.02974686399102211,
0.021337727084755898,
-0.0336550772190094,
0.04000823572278023,
0.02085614576935768,
-0.04675036668777466,
-0.0680140033364296,
-0.01588289998471737,
-0.00541315134614706,
0.025820130482316017,
0.10579955577850342,
0.12069151550531387,
-0.032840095460414886,
0.0021045999601483345,
-0.030228445306420326,
0.0011530151823535562,
0.012539618648588657,
0.01494752150028944,
0.007376518566161394,
0.008858305402100086,
0.052862733602523804,
-0.011974687688052654,
-0.05364067107439041,
0.018355630338191986,
-0.07508953660726547,
0.05075119063258171,
0.008659190498292446,
0.03454414755105972,
-0.07257049530744553,
0.0034220009110867977,
0.03634081408381462,
-0.02120807021856308,
0.027301916852593422,
0.017160940915346146,
0.0022782469168305397,
-0.04967689514160156,
-0.04612060636281967,
-0.0716814249753952,
-0.01849454827606678,
0.024153120815753937,
0.06597654521465302,
0.027264872565865517,
0.015521714463829994,
-0.012234000489115715,
0.0005215193959884346,
-0.0622350350022316,
0.02013377472758293,
-0.00955752283334732,
-0.0354517437517643,
-0.008335049264132977,
-0.009001852944493294,
-0.028765181079506874,
0.019170613959431648,
0.01722576841711998,
-0.010113192722201347,
-0.010002058930695057,
0.008043322712182999,
-0.021745217964053154,
0.0004089383583050221,
-0.006630994845181704,
-0.02474583499133587,
-0.025801608338952065,
0.050195518881082535,
0.005866948515176773,
0.04915826767683029,
-0.015605064108967781,
-0.006200350355356932,
-0.006038280203938484,
-0.05727104842662811,
-0.044120192527770996,
0.02474583499133587,
-0.020541265606880188,
-0.001920534297823906,
-0.023615973070263863,
0.010622557252645493,
0.038118958473205566,
0.00035655489773489535,
0.0038225462194532156,
-0.0036627911031246185,
0.03735954314470291,
0.007682137191295624,
0.015577280893921852,
-0.006367051508277655,
-0.03395143523812294,
0.0069227213971316814,
0.049973249435424805,
-0.03443301469087601,
0.008983330801129341,
-0.05667833611369133,
-0.04308294504880905,
0.07179255783557892,
0.008200762793421745,
-0.04497222229838371,
0.02272690087556839,
0.008580470457673073,
-0.03711875155568123,
0.045787204056978226,
-0.02078205533325672,
0.012400700710713863,
0.019596626982092857,
0.042156826704740524,
-0.00013826631766278297,
-0.015290184877812862,
0.026042398065328598,
0.03245112672448158,
0.01154867373406887,
0.012067299336194992,
0.040637996047735214,
-0.0731261670589447,
0.006385573651641607,
0.0013775983825325966,
0.026449888944625854,
0.0278761088848114,
0.08268368989229202,
0.0021566939540207386,
0.06856967508792877,
0.008751802146434784,
-0.0020501906983554363,
0.04612060636281967,
0.056641291826963425,
-0.01590142212808132,
0.023690061643719673,
-0.04023050516843796,
0.02083762362599373,
-0.027616797015070915,
-0.045416757464408875,
0.020874667912721634,
-0.03432188183069229,
-0.02078205533325672,
-0.0448610894382,
0.014604859054088593,
0.07079235464334488,
-0.013595391064882278,
0.025227416306734085,
-0.06934761255979538,
-0.02780202031135559,
-0.00999279785901308,
0.04626878350973129,
0.020300475880503654,
0.03196954354643822,
-0.02374562993645668,
-0.03852644935250282,
-0.11669068783521652,
-0.06193867698311806,
-0.04119366407394409,
0.07401523739099503,
0.000093986360298004,
0.03245112672448158,
-0.0023268680088222027,
0.01229882799088955,
0.006589319556951523,
-0.017688827589154243,
-0.026875903829932213,
0.030561847612261772,
0.028839271515607834,
0.0600864440202713,
0.04604651778936386,
0.06041984632611275,
0.023282570764422417,
0.018087057396769524,
-0.008649928495287895,
0.02244906686246395,
0.03793373703956604,
-0.026672158390283585,
0.02546820603311062,
-0.05560404062271118,
-0.004345802124589682,
0.003445153823122382,
-0.03161761909723282,
0.057863764464855194,
0.010085409507155418,
0.01128936093300581,
-0.02417164295911789,
-0.0142899788916111,
-0.021967485547065735,
-0.005144577473402023,
-0.026079442352056503,
-0.023727107793092728,
-0.011168966069817543,
0.007302429527044296,
-0.04804692789912224,
0.014206628315150738,
-0.04545380175113678,
-0.0542704313993454,
0.015743982046842575,
-0.03272895887494087,
0.007719181943684816,
0.020244909450411797,
0.054603833705186844,
-0.0477505698800087,
0.0018522331956773996,
0.02220827527344227,
-0.006445771548897028,
0.039193253964185715,
-0.0032159399706870317,
0.03761885687708855,
0.05108458921313286,
-0.03722988814115524,
0.013021199032664299,
0.017188724130392075,
-0.030154356732964516,
0.01360465306788683,
0.003989247139543295,
0.0027783496771007776,
-0.05130685865879059,
0.0009527424699626863,
-0.013197161257266998,
0.023912331089377403,
0.01812410168349743,
0.02606092020869255,
0.05745627358555794,
-0.028098376467823982,
0.055196549743413925
] |
726,281 | penne.delegates | on_update | Handler when update message is received
Should update methods_list and signals_list
Args:
message (Message): update message with the new document's info
| def on_update(self, message: dict):
"""Handler when update message is received
Should update methods_list and signals_list
Args:
message (Message): update message with the new document's info
"""
if "methods_list" in message:
self.methods_list = [MethodID(*element) for element in message["methods_list"]]
inject_methods(self, self.methods_list)
if "signals_list" in message:
self.signals_list = [SignalID(*element) for element in message["signals_list"]]
| (self, message: dict) | [
0.014383929781615734,
-0.045251164585351944,
-0.04902820661664009,
-0.007269889581948519,
-0.000053179115639068186,
-0.03089473769068718,
-0.002225429518148303,
0.016290785744786263,
0.04877151548862457,
0.058965861797332764,
-0.033590007573366165,
-0.048258133232593536,
0.018500173464417458,
0.007283641025424004,
-0.06406303495168686,
-0.010982758365571499,
-0.00009224875248037279,
0.018683524802327156,
-0.022185539826750755,
-0.057645730674266815,
-0.01727171801030636,
-0.006816094275563955,
0.03868718072772026,
0.06754671782255173,
-0.0022735593374818563,
0.016795003786683083,
0.007567835971713066,
0.014759800396859646,
0.09116239845752716,
-0.018793534487485886,
-0.02722770720720291,
-0.06340297311544418,
0.04459109902381897,
0.004482945892959833,
0.022185539826750755,
-0.0032751173712313175,
0.010606887750327587,
0.026805998757481575,
-0.07051701098680496,
0.06244954094290733,
0.04880818724632263,
0.014163908548653126,
0.017225880175828934,
-0.003719744738191366,
0.052988599985837936,
0.08529514819383621,
-0.07378067076206207,
0.06310960650444031,
0.03353499993681908,
0.022258879616856575,
-0.016034094616770744,
-0.0308764036744833,
0.009534281678497791,
0.010441871359944344,
-0.018995221704244614,
0.06604323536157608,
0.015667391940951347,
0.07678763568401337,
0.02286393940448761,
0.0011568337213248014,
0.05452875420451164,
-0.025302516296505928,
0.01483314111828804,
-0.031444791704416275,
0.03806378319859505,
-0.025705888867378235,
0.06200949847698212,
0.004498988855630159,
-0.01669416017830372,
-0.0008577415137551725,
-0.006582321133464575,
-0.028786195442080498,
-0.02625594474375248,
0.03166481480002403,
0.024514103308320045,
0.014814806170761585,
0.002768608508631587,
0.03126144036650658,
0.03522183373570442,
0.034635111689567566,
0.040520694106817245,
-0.06061602756381035,
0.02497248351573944,
0.010047665797173977,
0.03573521971702576,
0.00029422197258099914,
0.04121743142604828,
-0.009273005649447441,
-0.03215986490249634,
0.005330946762114763,
-0.03780709207057953,
-0.004425648134201765,
-0.02156214416027069,
0.01934359036386013,
-0.024715790525078773,
-0.04330763965845108,
-0.024367421865463257,
-0.08368165045976639,
-0.003628069069236517,
0.06318295001983643,
-0.016281619668006897,
0.023432329297065735,
0.0073707327246665955,
-0.055262159556150436,
0.02169048972427845,
-0.044114384800195694,
-0.002353775780647993,
-0.05632559955120087,
0.02752107009291649,
0.02389070950448513,
0.04470111057162285,
-0.0388338603079319,
-0.0009958281880244613,
-0.007613673806190491,
-0.00809497106820345,
-0.004684632644057274,
0.003199484897777438,
0.0048542325384914875,
0.029299579560756683,
-0.008117890916764736,
0.0026906842831522226,
-0.002004261827096343,
-0.03549686446785927,
0.008626691065728664,
-0.015749899670481682,
-0.023193972185254097,
0.0013086717808619142,
0.020095331594347954,
0.06314627826213837,
-0.03876052051782608,
-0.05790242552757263,
-0.0545654259622097,
0.011890348978340626,
0.007668679114431143,
0.015089834108948708,
-0.03311329334974289,
-0.01811513490974903,
-0.05104507505893707,
-0.02730104699730873,
0.02986796945333481,
-0.0053997035138309,
0.045067813247442245,
0.05144844949245453,
-0.01249540876597166,
-0.05141177773475647,
0.05203517526388168,
-0.000011226702554267831,
0.03766041249036789,
-0.03336998447775841,
-0.020150337368249893,
-0.016309121623635292,
-0.01867435686290264,
0.0015859910054132342,
0.0102768549695611,
-0.04235421121120453,
-0.028822865337133408,
-0.049651604145765305,
-0.020938748493790627,
-0.04202417656779289,
-0.03458010405302048,
0.03298494592308998,
-0.012403733097016811,
0.0074211545288562775,
-0.03661530837416649,
0.003206360386684537,
0.03769708052277565,
0.0005778439226560295,
-0.03500181436538696,
-0.041510794311761856,
0.06307293474674225,
-0.019178573042154312,
0.03993397206068039,
-0.04521449655294418,
0.016758332028985023,
0.05368533730506897,
0.05852581933140755,
0.003174273995682597,
0.01024935208261013,
0.023615680634975433,
0.002832781756296754,
-0.02172715961933136,
-0.015621553175151348,
-0.0009511362295597792,
0.0643930658698082,
0.0011132877552881837,
0.07656761258840561,
-0.012568749487400055,
0.0003738653031177819,
0.0102768549695611,
-0.018518507480621338,
-0.007315727416425943,
-0.01479647122323513,
0.017409231513738632,
-0.018454335629940033,
-0.005958925932645798,
0.06754671782255173,
-0.04114409163594246,
-0.02048037014901638,
-0.07722768187522888,
0.021965516731142998,
0.009415103122591972,
-0.049798283725976944,
-0.016758332028985023,
0.015099001117050648,
-0.011716164648532867,
0.041657473891973495,
0.05676564574241638,
0.043931033462285995,
-0.02953793667256832,
-0.06545650959014893,
0.01786760985851288,
0.04803811013698578,
0.026530971750617027,
-0.030491365119814873,
0.03091307356953621,
-0.04033734276890755,
0.04191416874527931,
-0.019893644377589226,
-0.048331473022699356,
-0.01712503656744957,
0.03993397206068039,
0.051998503506183624,
-0.06941690295934677,
-0.03894387185573578,
-0.04198750853538513,
0.023248977959156036,
0.02742939442396164,
-0.023615680634975433,
0.0011276120785623789,
-0.03890720009803772,
0.012568749487400055,
0.042757585644721985,
-0.02158047817647457,
0.022992286831140518,
-0.012962955981492996,
-0.04206084832549095,
-0.03303995355963707,
-0.00015097855066414922,
0.0161899421364069,
0.029427925124764442,
0.02038869448006153,
0.01727171801030636,
0.014640622772276402,
0.05680231377482414,
0.006513564381748438,
-0.023157302290201187,
0.056618962436914444,
-0.019086897373199463,
-0.02961127832531929,
0.02847449854016304,
0.030014650896191597,
-0.06252288073301315,
-0.017858441919088364,
0.05115508660674095,
0.0062660397961735725,
-0.010221850126981735,
-0.002184175420552492,
0.07818111032247543,
-0.020168671384453773,
-0.028126129880547523,
-0.016804169863462448,
0.011019429191946983,
-0.02957460656762123,
0.049468252807855606,
-0.021928846836090088,
-0.01596992090344429,
0.03964060917496681,
0.0477447472512722,
-0.04814812168478966,
0.040704045444726944,
0.1102309599518776,
-0.03346166014671326,
-0.012632922269403934,
0.034690115600824356,
0.003705993527546525,
-0.012907950207591057,
-0.006724418606609106,
0.01137696485966444,
-0.06032266467809677,
-0.014466438442468643,
0.05848914757370949,
0.01362302154302597,
0.06472310423851013,
0.03173815459012985,
0.036010246723890305,
0.011486975476145744,
0.03181149810552597,
0.08984226733446121,
-0.04206084832549095,
-0.0521085150539875,
0.05177848041057587,
0.029482930898666382,
0.011166110634803772,
0.047378044575452805,
-0.04913821816444397,
0.02066372148692608,
-0.02524751052260399,
0.06266956776380539,
0.05005497857928276,
-0.01943526603281498,
-0.0004953357274644077,
0.039493925869464874,
0.012422068044543266,
-0.02488080784678459,
-0.002553170546889305,
-0.04803811013698578,
0.031078090891242027,
0.0036303610540926456,
-0.00936468131840229,
-0.0551154799759388,
-0.031224770471453667,
0.03854049742221832,
-0.08720200508832932,
0.03568021580576897,
-0.011706997640430927,
0.016739998012781143,
-0.03799044340848923,
0.011954521760344505,
0.012477073818445206,
0.08177480101585388,
-0.046167925000190735,
0.027099361643195152,
0.033663347363471985,
0.031041419133543968,
-0.0023469000589102507,
-0.014622286893427372,
0.012238716706633568,
0.0005477627855725586,
-0.010973591357469559,
-0.03292994201183319,
-0.012999625876545906,
-0.0077649387530982494,
0.03157313913106918,
-0.040374014526605606,
-0.04594790190458298,
-0.020865408703684807,
-0.017565079033374786,
-0.0670333281159401,
0.0001690272183623165,
-0.001375136780552566,
0.016309121623635292,
-0.011881181038916111,
-0.0107994070276618,
0.02513749897480011,
-0.012403733097016811,
-0.022258879616856575,
0.026640981435775757,
0.04363767057657242,
0.028107794001698494,
-0.06376967579126358,
-0.0054730442352592945,
-0.050825051963329315,
-0.013513009995222092,
0.02609092742204666,
0.07649426907300949,
-0.07458741962909698,
-0.00455170264467597,
-0.07308392971754074,
0.007214883808046579,
-0.012431235983967781,
-0.02955627255141735,
0.042867597192525864,
0.0029313331469893456,
-0.02966628223657608,
-0.026640981435775757,
0.0454711876809597,
-0.0032338632736355066,
-0.005803077016025782,
0.016162440180778503,
-0.04473778232932091,
0.0026035921182483435,
-0.015199844725430012,
-0.028804531320929527,
0.03281993046402931,
0.02158047817647457,
-0.03960393741726875,
-0.018811870366334915,
0.06043267622590065,
-0.03566187992691994,
0.000900714541785419,
-0.010597720742225647,
-0.04209752008318901,
-0.00207301857881248,
-0.009305091574788094,
0.04814812168478966,
0.018921881914138794,
0.010221850126981735,
0.038173794746398926,
-0.029299579560756683,
0.041510794311761856,
-0.018105966970324516,
0.027704421430826187,
-0.1000366136431694,
-0.031169766560196877,
-0.052951931953430176,
-0.015099001117050648,
0.015034828335046768,
0.013843042775988579,
0.012147041037678719,
-0.06596989184617996,
0.016877511516213417,
-0.03509349003434181,
-0.023579010739922523,
0.030436359345912933,
-0.003123852191492915,
-0.03434174880385399,
0.0010347904171794653,
0.07073703408241272,
0.03657863661646843,
0.010542714968323708,
0.007810776587575674,
0.0009648876148276031,
-0.012238716706633568,
-0.032636579126119614,
-0.004608999937772751,
-0.040740717202425,
0.008259988389909267,
-0.010790239088237286,
-0.026695987209677696,
0.04228087142109871,
0.014429767616093159,
0.07077370584011078,
0.0390172116458416,
0.05225519463419914,
-0.008942972868680954,
-0.04019066318869591,
-0.013843042775988579,
0.013843042775988579,
-0.0026563056744635105,
0.08316826820373535,
0.01927024871110916,
0.02033368870615959,
-0.04440774768590927,
-0.048734843730926514,
-0.004570037592202425,
-0.024642450734972954,
0.03909055516123772,
-0.048441484570503235,
-0.026659317314624786,
0.03502015024423599,
-0.032599907368421555,
0.024532439187169075,
0.00916757807135582,
-0.048258133232593536,
0.02033368870615959,
-0.05155846104025841,
-0.02174549549818039,
-0.03452510014176369,
-0.008168311789631844,
-0.051741812378168106,
-0.01251374464482069,
-0.0068023428320884705,
0.03729370981454849,
0.031371451914310455,
0.002580673201009631,
-0.031078090891242027,
0.021012088283896446,
-0.0056976499035954475,
0.025540873408317566,
-0.040594037622213364,
-0.04294093698263168,
-0.028162799775600433,
-0.0685734823346138,
0.019123567268252373,
-0.006554818246513605,
0.01718004234135151,
-0.02403738908469677,
-0.012871279381215572,
-0.03672531992197037,
0.05119175836443901,
0.08778873085975647,
-0.037128690630197525,
-0.008072052150964737,
-0.053281962871551514,
-0.012238716706633568,
-0.03905388340353966,
0.010652725584805012,
-0.05364866927266121,
-0.058965861797332764,
-0.023725692182779312,
0.0009379578405059874,
-0.0030092576052993536,
-0.02191051095724106,
-0.010286022908985615,
-0.013265485875308514,
-0.09856980293989182,
0.02979462966322899,
-0.06325628608465195,
0.01872936263680458,
-0.06828012317419052,
0.011257786303758621,
0.030363019555807114,
0.06321962177753448,
-0.05907587334513664,
0.024129066616296768,
-0.040740717202425,
-0.04462777078151703,
0.03419506549835205,
0.0543820746243,
-0.04099740833044052,
-0.012917117215692997,
-0.05152178928256035,
-0.009314259514212608,
-0.008452506735920906,
0.009470107965171337,
-0.04235421121120453,
0.0038962208200246096,
0.05251188948750496,
0.011706997640430927,
0.0007666387245990336,
-0.00216125650331378,
-0.026494299992918968,
-0.00828290730714798,
0.0026540139224380255,
0.01658414863049984,
-0.039347246289253235,
-0.009671795181930065,
0.04187749698758125,
-0.01609826646745205,
0.005454708822071552,
0.030454695224761963,
-0.03652363270521164,
-0.004235421307384968,
-0.0026815165765583515,
0.006692332215607166,
-0.03982396051287651,
-0.067840076982975,
-0.04891819879412651,
0.033571671694517136,
-0.001854142639786005,
0.003311787499114871,
0.002123440383002162,
0.001535569317638874,
-0.015520709566771984,
-0.028199469670653343,
0.04781808704137802,
0.04682799056172371,
-0.06740003824234009,
-0.09746968746185303,
0.01928858458995819,
-0.01432892493903637,
0.047378044575452805,
-0.04935824126005173,
-0.03762374073266983,
0.009213415905833244,
0.0024019053671509027,
-0.015227347612380981,
-0.06079937890172005,
0.022368891164660454,
-0.05350198596715927,
-0.047121353447437286,
0.00008601766603533179,
0.01249540876597166,
0.039420586079359055,
-0.015190676786005497,
-0.05570220574736595,
-0.017583414912223816,
-0.06585988402366638,
0.022350555285811424,
0.01755591295659542,
-0.050935063511133194,
-0.0477447472512722,
0.022020522505044937,
0.03975062072277069,
0.0182801503688097,
0.09820310026407242,
0.029904639348387718,
-0.0006749629392288625,
-0.03766041249036789,
0.02275392971932888,
0.030528035014867783,
0.008145392872393131,
0.0076961820013821125,
-0.057682402431964874,
0.008337912149727345,
-0.012284554541110992,
0.0017750723054632545,
-0.05166846886277199,
0.03879719227552414,
-0.08192148059606552,
0.012981290929019451,
0.008741285651922226,
0.007700765505433083,
-0.02862117998301983,
0.037000346928834915,
0.0008944118744693696,
0.003827463835477829,
0.0551154799759388,
0.07176379859447479,
0.07147043943405151,
-0.06310960650444031,
-0.05709567666053772,
-0.03861384093761444,
-0.012944620102643967,
0.012275387533009052,
0.05933256447315216,
0.01772092841565609,
-0.019691957160830498,
-0.05790242552757263,
-0.0339200384914875,
-0.03335164859890938,
0.05485878884792328,
0.0006354277720674872,
-0.03126144036650658,
0.002219699788838625,
-0.04649795591831207,
-0.01316464226692915,
0.03329664468765259,
0.013879713602364063,
0.040300674736499786,
-0.0017532993806526065,
0.02260724827647209,
0.012082868255674839,
0.04657129570841789,
0.022423896938562393,
0.006692332215607166,
-0.001338466419838369,
0.028309481218457222,
0.05221852660179138,
0.030418023467063904,
-0.03311329334974289,
0.0034607606939971447,
-0.0011018282966688275,
-0.02953793667256832,
-0.04191416874527931,
0.008663360960781574,
-0.016629986464977264,
-0.032434891909360886,
-0.03557020425796509,
-0.016171608120203018,
0.022350555285811424,
-0.014402265660464764,
0.05221852660179138,
-0.03857716917991638,
0.05053168907761574,
0.014787303283810616,
-0.023670686408877373,
-0.06413637846708298,
-0.022405561059713364,
0.03580855950713158,
0.08932888507843018,
-0.014658957719802856,
0.016299953684210777,
-0.06486978381872177,
-0.0024294082541018724,
0.12020528316497803,
-0.0058718337677419186,
-0.08346163481473923,
0.0046112919226288795,
0.022240543738007545,
-0.01692334935069084,
0.008154560811817646,
-0.051851823925971985,
0.08074802905321121,
0.03553353250026703,
0.03430507704615593,
-0.04814812168478966,
-0.025980915874242783,
0.02266225405037403,
-0.003926015459001064,
-0.017445901408791542,
0.017262550070881844,
0.02735605277121067,
-0.03313162922859192,
-0.02873118966817856,
0.0036189015954732895,
0.029904639348387718,
0.0384671576321125,
0.0668499767780304,
0.01822514459490776,
0.06985694915056229,
0.04803811013698578,
0.0294645968824625,
0.025944245979189873,
0.021965516731142998,
-0.03325997292995453,
0.018564345315098763,
0.007191964890807867,
0.04000731185078621,
0.009900984354317188,
-0.010927753522992134,
-0.011615321971476078,
-0.00343096605502069,
-0.001197514939121902,
-0.01649247296154499,
0.021378792822360992,
0.057682402431964874,
0.009534281678497791,
0.01641913317143917,
-0.017711760476231575,
-0.023157302290201187,
-0.031536467373371124,
-0.009735967963933945,
-0.02744772844016552,
0.017372559756040573,
-0.02638429030776024,
-0.035845231264829636,
-0.08742202818393707,
-0.029152898117899895,
-0.04250089079141617,
0.06710667163133621,
0.014594784006476402,
0.013980556279420853,
-0.013173810206353664,
0.004799227230250835,
0.015493206679821014,
-0.031536467373371124,
-0.023340653628110886,
0.014640622772276402,
0.06486978381872177,
-0.005848914850503206,
0.022295549511909485,
0.01790427975356579,
-0.05672897398471832,
0.03639528527855873,
0.0645764172077179,
0.021140435710549355,
0.0566556341946125,
0.011404466815292835,
0.009254669770598412,
-0.04136411100625992,
-0.007457824889570475,
0.016877511516213417,
-0.04715802147984505,
0.04814812168478966,
-0.02504582330584526,
0.04481112211942673,
-0.011752835474908352,
-0.02070039138197899,
-0.004909238312393427,
-0.0071965488605201244,
-0.06435640156269073,
-0.04649795591831207,
-0.009332594461739063,
0.047304704785346985,
-0.04415105655789375,
-0.007852030918002129,
-0.02290061116218567,
-0.04671797901391983,
0.0020180130377411842,
-0.0066281589679419994,
-0.01707003079354763,
0.03687199950218201,
0.07832778990268707,
-0.022387225180864334,
-0.03747706115245819,
0.03762374073266983,
-0.0207370612770319,
-0.008062885142862797,
0.018509339541196823,
0.05518881976604462,
0.06670329719781876,
-0.04895486682653427,
-0.02154380828142166,
-0.01584157533943653,
-0.02962961234152317,
0.023248977959156036,
0.012449570931494236,
0.0013178393710404634,
-0.0048771514557302,
0.014878978952765465,
0.008805458433926105,
0.01593325100839138,
0.018848540261387825,
0.042830925434827805,
0.05573887377977371,
-0.004682340659201145,
0.03546019271016121
] |
726,282 | penne.delegates | reset | Reset the document
Called when document reset message is received. Will reset state, and clear methods and signals on document
| def reset(self):
"""Reset the document
Called when document reset message is received. Will reset state, and clear methods and signals on document
"""
self.client.state = {"document": self}
self.methods_list = []
self.signals_list = []
| (self) | [
-0.04717216640710831,
0.004617595113813877,
0.000881785701494664,
-0.02261679247021675,
-0.04480278864502907,
-0.013704699464142323,
-0.0530238151550293,
0.04056662693619728,
0.07316353172063828,
0.05176732689142227,
-0.044479694217443466,
-0.019475571811199188,
0.00010496447066543624,
0.040817927569150925,
-0.06641439348459244,
0.00420699268579483,
0.00876400712877512,
-0.005555474199354649,
-0.014943238347768784,
-0.06214233115315437,
-0.020929507911205292,
0.006134356372058392,
0.058588262647390366,
0.0505826361477375,
-0.017294665798544884,
-0.002759787254035473,
-0.03252510353922844,
-0.003365594195201993,
0.048895351588726044,
-0.02363993413746357,
-0.01861397922039032,
-0.03740745782852173,
0.03722795844078064,
0.022239847108721733,
0.02195264957845211,
-0.04850045591592789,
-0.007139547262340784,
0.0006203912198543549,
-0.02299373969435692,
0.0449104905128479,
-0.008063963614404202,
-0.008790931664407253,
0.006412578746676445,
-0.025758014991879463,
0.010096782818436623,
0.0505826361477375,
0.04171541705727577,
0.028773587197065353,
0.012439236044883728,
-0.000023050813979352824,
-0.026045210659503937,
0.0530238151550293,
-0.03132246434688568,
0.004913767334073782,
-0.03500217944383621,
0.010617327876389027,
0.017563914880156517,
0.04745936393737793,
-0.01632537506520748,
0.0013193129561841488,
-0.0006299270316958427,
0.017321592196822166,
-0.007938315160572529,
-0.051192931830883026,
0.06379371881484985,
-0.013507251627743244,
0.026386259123682976,
0.04577207937836647,
0.05603938549757004,
-0.0015851948410272598,
-0.02784019522368908,
-0.00025648632436059415,
0.003468805691227317,
0.04817735776305199,
0.04042302817106247,
-0.00929801445454359,
-0.03500217944383621,
0.04595157876610756,
-0.023209137842059135,
-0.01724979281425476,
0.012627709656953812,
0.027391448616981506,
-0.016720272600650787,
0.036312516778707504,
0.0214859526604414,
-0.00406115036457777,
0.06853247433900833,
0.03773055598139763,
0.019026825204491615,
-0.015975354239344597,
0.0010596011998131871,
0.04663367196917534,
-0.023101437836885452,
-0.026206759735941887,
0.0028293428476899862,
-0.022221896797418594,
-0.051516029983758926,
-0.038628045469522476,
0.0016457755118608475,
-0.048679955303668976,
-0.065516896545887,
0.04286420717835426,
-0.029437730088829994,
-0.004514383617788553,
0.01979866810142994,
-0.02699655294418335,
0.01014165673404932,
-0.05941395461559296,
0.06968126446008682,
0.04261291027069092,
0.008939018473029137,
-0.005488162394613028,
0.007933827117085457,
0.022850140929222107,
0.028540238738059998,
-0.006484378129243851,
0.010599377565085888,
0.011658417992293835,
0.0436181016266346,
-0.010877600871026516,
0.030712168663740158,
-0.01006088312715292,
-0.061962831765413284,
0.006084994412958622,
0.03221995383501053,
0.004698369652032852,
0.02679910510778427,
0.03440983593463898,
0.06583999842405319,
-0.05535729229450226,
-0.028414590284228325,
-0.016836944967508316,
0.00103267643135041,
0.03625866770744324,
-0.0021079839207232,
0.03992043435573578,
0.02617086097598076,
-0.04810556024312973,
-0.04979284480214119,
-0.000300098821753636,
-0.02263474278151989,
0.016172802075743675,
0.04444379359483719,
0.04717216640710831,
0.023101437836885452,
0.06910686939954758,
0.01147891953587532,
-0.006619001738727093,
-0.060957640409469604,
-0.0032691138330847025,
0.00896594300866127,
-0.02128850482404232,
0.011173772625625134,
-0.039992235600948334,
-0.04487458989024162,
0.02380148135125637,
-0.06443990767002106,
0.020175615325570107,
-0.04092562571167946,
-0.02482462301850319,
0.011254547163844109,
0.004747731611132622,
0.05011594295501709,
-0.05234172195196152,
-0.002676769159734249,
0.02968902885913849,
-0.006780550349503756,
-0.06393731385469437,
-0.041823118925094604,
0.009701886214315891,
-0.03884344547986984,
0.024896422401070595,
-0.048536356538534164,
-0.022347545251250267,
0.01963712088763714,
0.04846455529332161,
0.01365982461720705,
-0.009854460135102272,
-0.07233783602714539,
0.02110900729894638,
-0.007664579898118973,
-0.030101874843239784,
-0.05700867995619774,
0.03650996461510658,
0.026852954179048538,
0.03586377203464508,
-0.024698974564671516,
0.0069061992689967155,
0.017456214874982834,
-0.03234560415148735,
0.016459999606013298,
0.020732060074806213,
0.012358461506664753,
-0.021755201742053032,
0.04742346704006195,
-0.007067747879773378,
-0.007637654896825552,
-0.05833696573972702,
0.016289476305246353,
-0.027552997693419456,
0.008602458983659744,
0.003156927414238453,
0.03363799303770065,
-0.02213214710354805,
-0.01283413264900446,
0.04386939853429794,
0.023855332285165787,
0.00562278600409627,
-0.05664968118071556,
-0.002797930734232068,
0.00852168444544077,
0.01039295457303524,
0.03220200538635254,
-0.034266237169504166,
0.04731576517224312,
-0.07560470700263977,
0.04272060841321945,
0.002425471553578973,
-0.013588025234639645,
0.011810991913080215,
0.006470915861427784,
0.05395720526576042,
-0.04839275777339935,
-0.09829329699277878,
-0.05309561267495155,
0.040171731263399124,
-0.014772715047001839,
-0.07416871935129166,
-0.008472322486341,
-0.05363411083817482,
-0.009172366000711918,
0.0058067720383405685,
-0.05065443739295006,
-0.012636683881282806,
-0.0075793182477355,
-0.01666642166674137,
0.003991594538092613,
-0.028091492131352425,
-0.019547371193766594,
-0.010976324789226055,
-0.018649879842996597,
-0.007776766084134579,
0.04462329298257828,
0.01909862458705902,
-0.008849268779158592,
0.09319555014371872,
0.052198123186826706,
-0.03694076091051102,
-0.008741569705307484,
0.00654271524399519,
0.02078590914607048,
-0.09965749084949493,
-0.010814775712788105,
0.018990926444530487,
0.09427253901958466,
-0.04009993374347687,
-0.028235090896487236,
0.056075286120176315,
-0.048536356538534164,
0.043330904096364975,
0.006412578746676445,
-0.039669137448072433,
-0.03333284333348274,
0.024842573329806328,
0.07380972802639008,
0.018901176750659943,
0.04045892879366875,
0.07869207859039307,
-0.02295783907175064,
0.018883226439356804,
0.1376393437385559,
-0.053382810205221176,
0.0076197050511837006,
0.006879274733364582,
0.005313151516020298,
0.001324922195635736,
-0.036097120493650436,
0.018721679225564003,
-0.06892737001180649,
0.011595593765377998,
0.08816958963871002,
0.012152038514614105,
0.07503031194210052,
0.04760296270251274,
0.021055156365036964,
0.0035563111305236816,
-0.004211480263620615,
0.020821809768676758,
-0.013973946683108807,
-0.03884344547986984,
0.06257312744855881,
0.061747435480356216,
0.017895985394716263,
-0.008997355587780476,
-0.011748167686164379,
-0.017554938793182373,
-0.05682918056845665,
0.022742440924048424,
-0.012690533883869648,
0.033476442098617554,
-0.004765681456774473,
-0.0005197038408368826,
-0.004523358773440123,
-0.0005441043758764863,
0.016774121671915054,
-0.03329694643616676,
0.04717216640710831,
0.04160771891474724,
0.035612475126981735,
-0.04293600842356682,
-0.04623877629637718,
0.009096079505980015,
-0.071332648396492,
0.0023357223253697157,
-0.00477914372459054,
-0.024393826723098755,
0.014602191746234894,
-0.010240381583571434,
0.019224274903535843,
0.06512200087308884,
-0.06293212622404099,
0.009935233741998672,
0.011416095308959484,
0.009782660752534866,
0.012843107804656029,
0.02916848286986351,
-0.03927424177527428,
0.002618432277813554,
-0.05291611701250076,
-0.007112622261047363,
-0.022257795557379723,
-0.012941831722855568,
-0.004577208310365677,
-0.009028767235577106,
-0.08192305266857147,
-0.071332648396492,
0.012959781102836132,
-0.0758919045329094,
-0.02297578938305378,
-0.049362048506736755,
0.01658564805984497,
-0.008454372175037861,
0.017617763951420784,
-0.03351234272122383,
-0.025219518691301346,
0.0389152429997921,
0.013875222764909267,
-0.029545430094003677,
0.07682529836893082,
-0.031250663101673126,
0.016397174447774887,
0.02767864614725113,
0.043330904096364975,
0.04781836271286011,
0.09391354024410248,
-0.06271672248840332,
-0.015068886801600456,
0.018560130149126053,
0.01383034884929657,
-0.07596370577812195,
-0.035612475126981735,
0.03819724917411804,
-0.05650608241558075,
-0.054244402796030045,
0.012017414905130863,
-0.00045884266728535295,
-0.028540238738059998,
-0.002223535906523466,
0.01501503773033619,
-0.033458493649959564,
0.008440909907221794,
-0.121269091963768,
-0.07481491565704346,
0.018003685399889946,
0.020732060074806213,
-0.04121282324194908,
-0.016756171360611916,
0.016693348065018654,
0.002046281239017844,
-0.011927666142582893,
0.03270459920167923,
-0.02279629185795784,
0.034140586853027344,
-0.011263522319495678,
-0.00792036484926939,
-0.006228593178093433,
-0.005178527440875769,
0.01861397922039032,
-0.006789525505155325,
0.03083781711757183,
0.03758695721626282,
-0.026027262210845947,
-0.05765487253665924,
0.000014347598153108265,
0.006502327974885702,
0.0052278898656368256,
0.02882743626832962,
-0.00604011956602335,
-0.007153009530156851,
-0.06318341940641403,
0.02164750173687935,
-0.0018611735431477427,
-0.05894726142287254,
0.016836944967508316,
0.007242758758366108,
0.03945373743772507,
0.021916748955845833,
-0.020660260692238808,
0.05381360650062561,
-0.044838689267635345,
0.018039584159851074,
0.004263085778802633,
0.0076107303611934185,
-0.013040555641055107,
0.05363411083817482,
-0.014952213503420353,
0.011191722936928272,
-0.004321422893553972,
0.05618298426270485,
0.05162372812628746,
-0.00866528321057558,
0.12844902276992798,
0.06253723055124283,
0.06400911509990692,
0.05162372812628746,
-0.007512006442993879,
-0.011748167686164379,
-0.02209624834358692,
0.005003516562283039,
0.07646629959344864,
0.01618177630007267,
0.022903990000486374,
-0.049218449741601944,
-0.004662469960749149,
-0.023998931050300598,
0.0003676911583170295,
-0.011559694074094296,
-0.011927666142582893,
-0.07154804468154907,
0.04221801459789276,
0.02162955142557621,
-0.019547371193766594,
0.030891668051481247,
-0.039310138672590256,
0.08486682176589966,
-0.042182113975286484,
0.0038098525255918503,
0.021844949573278427,
-0.01642409898340702,
-0.002427715342491865,
-0.012125113978981972,
0.03035317175090313,
0.0011824454413726926,
-0.0299941748380661,
-0.0052817389369010925,
0.012349487282335758,
0.0007050919812172651,
0.04939794912934303,
-0.0002456883667036891,
-0.02615291066467762,
-0.006856837309896946,
0.04372579976916313,
-0.0841488316655159,
-0.0028338301926851273,
0.03415853902697563,
0.04512588679790497,
-0.037802353501319885,
0.014440642669796944,
-0.02631445974111557,
0.04512588679790497,
0.01282515749335289,
-0.06666568666696548,
-0.03432008624076843,
-0.0405307300388813,
-0.024698974564671516,
-0.01610100269317627,
-0.035307325422763824,
-0.037658754736185074,
-0.03633046895265579,
-0.03801775351166725,
-0.03205840662121773,
-0.010159607045352459,
-0.006825425196439028,
-0.003365594195201993,
-0.017860086634755135,
-0.036133017390966415,
0.018667828291654587,
-0.04243341088294983,
-0.03037112206220627,
-0.05783437192440033,
-0.012313587591052055,
0.016271525993943214,
-0.03247125446796417,
-0.03449958562850952,
0.04390529915690422,
0.010734002105891705,
-0.04742346704006195,
0.04167952015995979,
-0.02699655294418335,
-0.053921304643154144,
0.00025957144680432975,
-0.02162955142557621,
-0.07833307981491089,
0.023083489388227463,
0.022203946486115456,
-0.031448110938072205,
-0.013300828635692596,
-0.0018252739682793617,
0.019206324592232704,
-0.028073543682694435,
-0.04071022570133209,
-0.006206155754625797,
0.028594087809324265,
0.03466113284230232,
-0.012546935118734837,
-0.01602022908627987,
-0.050044141709804535,
0.013525201007723808,
0.024393826723098755,
0.01123659685254097,
0.012636683881282806,
-0.008710158057510853,
-0.03909474238753319,
0.012609759345650673,
-0.0071440343745052814,
-0.02110900729894638,
-0.03834084793925285,
-0.022257795557379723,
0.06314752250909805,
-0.011003249324858189,
0.02227574586868286,
0.012950806878507137,
0.045843880623579025,
0.03232765570282936,
-0.024088678881525993,
-0.006152306217700243,
-0.007915877737104893,
-0.0929083526134491,
0.013184154406189919,
0.010464753955602646,
-0.022921940311789513,
0.055931687355041504,
-0.035612475126981735,
-0.007731891702860594,
0.006825425196439028,
0.009495463222265244,
0.03017367422580719,
-0.028199192136526108,
-0.011146848089993,
0.00395569484680891,
-0.022042397409677505,
-0.052557118237018585,
0.03037112206220627,
-0.03247125446796417,
-0.018228057771921158,
0.0050798035226762295,
0.02232959493994713,
-0.02231164649128914,
0.07933827489614487,
-0.005797796882688999,
-0.036761265248060226,
-0.03634841740131378,
0.02110900729894638,
0.0027956869453191757,
0.06347061693668365,
0.08213844895362854,
0.058229267597198486,
-0.04562848061323166,
0.012349487282335758,
-0.00010671737982193008,
0.011712267994880676,
-0.02965312823653221,
0.054388001561164856,
0.028127392753958702,
0.024716923013329506,
0.052557118237018585,
0.0023177724797278643,
-0.06562460213899612,
-0.02516566962003708,
-0.03884344547986984,
0.06117304041981697,
-0.023083489388227463,
0.004720806609839201,
-0.08737979829311371,
-0.0241604782640934,
0.0009648036793805659,
0.014952213503420353,
0.005191990174353123,
0.007951777428388596,
-0.01030320581048727,
-0.05176732689142227,
-0.012098189443349838,
-0.00011653370165731758,
-0.02814534306526184,
-0.021755201742053032,
0.06655798852443695,
0.08070246130228043,
-0.0577266700565815,
-0.02701450325548649,
0.005039416253566742,
0.009028767235577106,
0.05252121761441231,
0.027517098933458328,
-0.0022302670404314995,
-0.014323968440294266,
0.005452262703329325,
-0.044695090502500534,
0.05252121761441231,
0.08752340078353882,
0.022886039689183235,
-0.02679910510778427,
-0.041176922619342804,
-0.019026825204491615,
0.032094307243824005,
-0.0015672449953854084,
-0.01644204929471016,
-0.003661766415461898,
0.006053582299500704,
-0.01474578958004713,
0.008050501346588135,
-0.027804294601082802,
-0.008566559292376041,
-0.0382690504193306,
-0.02430407702922821,
-0.06235772743821144,
0.03003007546067238,
-0.04530538618564606,
0.0054208505898714066,
-0.04404889792203903,
0.027265800163149834,
0.021916748955845833,
-0.08565661311149597,
-0.00954931229352951,
0.002656575758010149,
0.020588461309671402,
-0.016971569508314133,
-0.030604470521211624,
0.0002930871560238302,
-0.01811138354241848,
0.015374034643173218,
0.07711249589920044,
0.016810020431876183,
0.051049333065748215,
-0.051372431218624115,
-0.08824139088392258,
0.039669137448072433,
-0.008503735065460205,
-0.0659835934638977,
0.024106629192829132,
-0.002185392426326871,
-0.06975305825471878,
0.03572017326951027,
0.010240381583571434,
0.033620040863752365,
-0.019619170576334,
0.02563236467540264,
0.01637922413647175,
-0.04663367196917534,
0.02164750173687935,
-0.02098335698246956,
-0.018147284165024757,
0.02110900729894638,
0.038125451654195786,
0.01224178820848465,
0.023891231045126915,
0.014180370606482029,
0.023675832897424698,
0.04713626950979233,
-0.004570476710796356,
0.028127392753958702,
0.0009687301935628057,
0.029060784727334976,
0.03584582358598709,
0.009683935903012753,
0.027194000780582428,
0.027391448616981506,
0.04167952015995979,
-0.03616891801357269,
0.006879274733364582,
0.009324939921498299,
-0.056398384273052216,
0.0596652552485466,
-0.04376170039176941,
-0.03519962728023529,
-0.00666836416348815,
0.030909616500139236,
0.006255517713725567,
-0.0173485167324543,
0.01897297613322735,
-0.04950564727187157,
-0.03808955103158951,
0.0021192023996263742,
0.023855332285165787,
0.015876630321145058,
-0.05079803615808487,
0.014826564118266106,
-0.01996021717786789,
-0.09398534148931503,
-0.011712267994880676,
0.0023671346716582775,
0.07495851069688797,
0.012905932031571865,
0.007529956288635731,
0.002265044953674078,
0.010662202723324299,
0.010698102414608002,
-0.006156793795526028,
-0.021898798644542694,
-0.030604470521211624,
0.049038950353860855,
0.07732789218425751,
0.03207635506987572,
0.0036393292248249054,
0.04290010780096054,
0.03674331307411194,
0.007193396799266338,
0.021916748955845833,
0.008979405276477337,
-0.04710036888718605,
0.033476442098617554,
-0.03622276708483696,
-0.019726868718862534,
-0.02365788258612156,
-0.014611165970563889,
0.09168776124715805,
-0.0016109977150335908,
-0.046992670744657516,
0.009701886214315891,
-0.009630086831748486,
-0.017806237563490868,
-0.010024983435869217,
-0.09204676002264023,
0.00832423660904169,
-0.007664579898118973,
0.0192960724234581,
-0.0527007170021534,
0.049936443567276,
0.024052780121564865,
0.0037492718547582626,
0.0037582467775791883,
-0.038951143622398376,
-0.014054721221327782,
-0.013453401625156403,
0.04390529915690422,
-0.0533469133079052,
-0.015463783405721188,
0.03823314979672432,
0.012950806878507137,
0.0007881099591031671,
0.026099061593413353,
0.020534612238407135,
0.013803423382341862,
0.008669770322740078,
0.0012587321689352393,
-0.039812736213207245,
0.00852168444544077,
-0.03458933159708977,
0.04609517753124237,
0.0015279797371476889,
0.030748069286346436,
0.002878704806789756,
-0.029042834416031837,
-0.012214862741529942,
0.013561100699007511,
0.05460340157151222,
0.042146213352680206,
0.043187305331230164,
-0.010859650559723377
] |
726,283 | penne.delegates | show_methods | Show methods available on the document | def show_methods(self):
"""Show methods available on the document"""
if not self.methods_list:
message = "No methods available"
else:
message = f"-- Methods on Document --\n--------------------------------------\n"
for method_id in self.methods_list:
method = self.client.get_delegate(method_id)
message += f">> {method}"
print(message)
return message
| (self) | [
-0.014724299311637878,
-0.07988185435533524,
0.06383910030126572,
-0.022035738453269005,
0.026830125600099564,
-0.018836406990885735,
0.024709532037377357,
-0.024562012404203415,
0.02738332375884056,
0.05989295244216919,
-0.010298711247742176,
-0.00837634690105915,
0.009865372441709042,
-0.013968260958790779,
-0.06074118986725807,
-0.009012524969875813,
0.018163349479436874,
-0.04396083578467369,
-0.014936358667910099,
-0.017121491953730583,
-0.01028027106076479,
0.04045724868774414,
0.04864458367228508,
-0.016642054542899132,
-0.02092934213578701,
0.07575131207704544,
-0.0017068478045985103,
-0.01694631204009056,
0.038502611219882965,
-0.005974543280899525,
-0.06313838064670563,
-0.06723205000162125,
0.01035403087735176,
0.022791776806116104,
0.020744942128658295,
0.056684400886297226,
0.027641482651233673,
0.015388136729598045,
-0.03407702594995499,
0.03278622776269913,
-0.02507833018898964,
0.014899478293955326,
0.04569419100880623,
-0.0487552247941494,
-0.04849706590175629,
0.0014095036312937737,
0.00675363140180707,
0.046247392892837524,
-0.010086651891469955,
-0.03711961582303047,
0.02319745533168316,
0.030223075300455093,
-0.0023833634331822395,
-0.049898501485586166,
-0.031495433300733566,
-0.006615331396460533,
0.00200649700127542,
0.02673792466521263,
-0.006218872498720884,
0.062179505825042725,
0.0028581919614225626,
-0.00981927290558815,
0.03335786610841751,
-0.022681137546896935,
0.04982474073767662,
0.0313110314309597,
0.03960901126265526,
0.014724299311637878,
0.046579308807849884,
0.025354929268360138,
0.03179047256708145,
0.0020767992828041315,
-0.028010282665491104,
0.040014687925577164,
0.01146042812615633,
-0.048349544405937195,
-0.02432229183614254,
0.025576209649443626,
0.02233077771961689,
-0.02275489643216133,
-0.014899478293955326,
-0.029559237882494926,
0.02115062065422535,
-0.018108028918504715,
0.023879732936620712,
-0.01593211479485035,
0.032804667949676514,
-0.028637239709496498,
-0.009976012632250786,
0.014014361426234245,
-0.06763773411512375,
-0.008657556027173996,
-0.033929504454135895,
-0.014862598851323128,
-0.09197846055030823,
-0.02754928357899189,
-0.007703288458287716,
-0.04429275542497635,
0.003155536251142621,
0.031071312725543976,
-0.03180891275405884,
0.0721001997590065,
0.047058749943971634,
-0.009874592535197735,
-0.009902252815663815,
-0.04252251982688904,
-0.06479798257350922,
-0.017434971407055855,
0.017776111140847206,
0.06383910030126572,
0.007495839148759842,
-0.0036810748279094696,
0.054434727877378464,
-0.04314947873353958,
0.05454536899924278,
-0.0034044755157083273,
0.00017849293362814933,
-0.02157473936676979,
-0.014779618941247463,
-0.035386260598897934,
0.04488283395767212,
-0.03665861859917641,
-0.020744942128658295,
-0.07095692306756973,
-0.02976207621395588,
0.006684481166303158,
-0.028692560270428658,
0.012861864641308784,
0.06704765558242798,
-0.048939622938632965,
0.005158575717359781,
-0.04783322662115097,
0.009985231794416904,
0.06450293958187103,
0.03077627345919609,
0.03448270261287689,
-0.0009364036377519369,
-0.02168538048863411,
0.007689458783715963,
0.0482020266354084,
-0.043186359107494354,
-0.03702741861343384,
0.01605197601020336,
0.05266449227929115,
-0.057864557951688766,
0.037746574729681015,
-0.001212426577694714,
0.009266073815524578,
0.015895236283540726,
-0.012714345008134842,
-0.0005284197977744043,
0.01087034959346056,
0.02555776946246624,
-0.04639491066336632,
0.005218505393713713,
-0.014078901149332523,
0.0028535821475088596,
-0.0035035903565585613,
-0.04510411620140076,
-0.04115796461701393,
0.02847127988934517,
0.004123633727431297,
-0.0165498536080122,
0.010529210790991783,
0.043665800243616104,
0.010151191614568233,
-0.010593750514090061,
-0.056684400886297226,
-0.005914613604545593,
0.0721001997590065,
-0.04621051251888275,
0.008947985246777534,
-0.03326566889882088,
-0.00105914450250566,
0.051631856709718704,
0.024838611483573914,
0.0012032066006213427,
0.05709008127450943,
0.004983396269381046,
-0.038023173809051514,
-0.062327027320861816,
-0.01932506635785103,
-0.07936553657054901,
0.03924021124839783,
0.01404202077537775,
0.05992983281612396,
0.01742575131356716,
-0.025594647973775864,
-0.01275122445076704,
-0.043075721710920334,
-0.051631856709718704,
0.034519582986831665,
0.016881773248314857,
0.02480173110961914,
-0.03483306244015694,
-0.04292820021510124,
-0.050230421125888824,
-0.0009986384538933635,
-0.04182180389761925,
-0.04510411620140076,
0.036879897117614746,
0.042743802070617676,
-0.009183094836771488,
0.03217770904302597,
0.03319190815091133,
0.058085836470127106,
0.013018603436648846,
0.0477963462471962,
-0.05159497633576393,
-0.044255875051021576,
0.025484008714556694,
0.0358472615480423,
0.006071352865546942,
-0.05380776897072792,
0.012861864641308784,
0.007823147810995579,
0.08386489003896713,
-0.029946476221084595,
-0.06719516962766647,
0.003383730538189411,
0.07427611202001572,
0.03916645050048828,
-0.007615698967128992,
-0.025871247053146362,
-0.015664735808968544,
0.017398091033101082,
0.06719516962766647,
-0.03953525051474571,
-0.012834204360842705,
-0.09500261396169662,
-0.008749756030738354,
-0.02039458230137825,
-0.07493995130062103,
0.07519811391830444,
-0.07818537950515747,
-0.01439237967133522,
-0.048939622938632965,
0.02345561422407627,
0.038023173809051514,
-0.007214630022644997,
-0.005149355623871088,
0.05967167392373085,
0.03617917746305466,
0.07106756418943405,
-0.028637239709496498,
-0.03066563419997692,
0.03232523053884506,
-0.019933585077524185,
0.0012112741824239492,
0.006320292595773935,
0.008242657408118248,
-0.11181984841823578,
-0.03590257838368416,
-0.047058749943971634,
-0.0013922160724177957,
-0.01049233041703701,
-0.05572552606463432,
0.016512973234057426,
0.0031855010893195868,
-0.026406006887555122,
-0.010685950517654419,
0.005776314064860344,
-0.03352382779121399,
0.04986162111163139,
0.041674282401800156,
0.011063968762755394,
0.008454716764390469,
0.03971964865922928,
-0.046468671411275864,
0.01453067921102047,
0.14073368906974792,
-0.012502284720540047,
-0.0333763062953949,
-0.007735558319836855,
0.012622145004570484,
0.004446332808583975,
0.008569966070353985,
0.005149355623871088,
-0.09094582498073578,
-0.03601321950554848,
0.018605908378958702,
0.0013046263484284282,
0.006241922732442617,
0.03321034833788872,
0.015544876456260681,
0.007846198044717312,
0.01347960252314806,
0.048570822924375534,
-0.016927873715758324,
-0.03357914835214615,
0.07364915311336517,
0.022478297352790833,
0.004757506772875786,
-0.014825718477368355,
0.01649453490972519,
0.036400459706783295,
0.016429994255304337,
0.0033952556550502777,
-0.012944843620061874,
-0.027364883571863174,
-0.04547291249036789,
0.004497042391449213,
0.019195986911654472,
-0.03249118849635124,
-0.02469109185039997,
-0.057864557951688766,
0.011515747755765915,
-0.0019166021374985576,
0.008321027271449566,
-0.06575685739517212,
-0.044735316187143326,
0.0059238336980342865,
0.009570333175361156,
0.004015299025923014,
-0.027401763945817947,
0.044255875051021576,
-0.07589882612228394,
0.04691122844815254,
0.010363250970840454,
0.05391841009259224,
-0.040162209421396255,
0.08504503965377808,
0.002324586035683751,
0.013811521232128143,
0.022957736626267433,
-0.04219060391187668,
-0.02205417864024639,
0.0018589773681014776,
-0.01547111663967371,
0.037801895290613174,
-0.02491237036883831,
0.011534187942743301,
0.021058421581983566,
-0.000525250390637666,
-0.04993538185954094,
0.022201698273420334,
-0.01668815314769745,
-0.007412859238684177,
-0.03121883235871792,
0.02777056209743023,
0.022422976791858673,
-0.04314947873353958,
0.022515177726745605,
-0.012317885644733906,
-0.0025193579494953156,
0.05266449227929115,
0.014466139487922192,
0.03706429526209831,
0.040162209421396255,
-0.06796965003013611,
0.030204635113477707,
-0.01700163260102272,
0.011617167852818966,
-0.01202284637838602,
0.02303149551153183,
-0.022293897345662117,
0.02264425717294216,
-0.011368228122591972,
-0.013304422609508038,
-0.0037433095276355743,
-0.016088854521512985,
0.01826476864516735,
-0.05495104566216469,
0.027475522831082344,
-0.04772258549928665,
0.018808746710419655,
0.054803527891635895,
-0.012935623526573181,
0.08475000411272049,
-0.04182180389761925,
0.007929177954792976,
-0.05111553892493248,
-0.03400326520204544,
-0.0001773404364939779,
-0.016282474622130394,
0.006652211304754019,
0.03730401769280434,
0.00719618983566761,
-0.015747716650366783,
0.02356625348329544,
0.004524702206254005,
-0.01369166187942028,
0.029024479910731316,
0.011755467392504215,
9.904268836180563e-7,
-0.02878475934267044,
-0.05240633338689804,
0.048570822924375534,
-0.03249118849635124,
0.036990538239479065,
-0.0015823780559003353,
-0.044255875051021576,
-0.10252611339092255,
0.005910003557801247,
-0.02723580412566662,
-0.04621051251888275,
-0.0016411554533988237,
-0.009727072902023792,
-0.030425915494561195,
-0.03475930169224739,
0.05203753337264061,
0.008551525883376598,
-0.05439784750342369,
0.0071270400658249855,
0.0005892139743082225,
0.03153231367468834,
0.048939622938632965,
-0.02727268449962139,
0.044477157294750214,
-0.04410835728049278,
0.025262730196118355,
-0.04503035545349121,
-0.021832900121808052,
0.019288185983896255,
0.03105287440121174,
0.00436335289850831,
-0.024506691843271255,
0.03285998851060867,
-0.01671581342816353,
0.02260737679898739,
0.028932278975844383,
0.0036418898962438107,
0.07527186721563339,
0.06074118986725807,
0.028176240622997284,
-0.009141604416072369,
-0.011930646374821663,
0.008597626350820065,
0.081578329205513,
0.021814459934830666,
0.03051811456680298,
0.03385574743151665,
-0.057274479418992996,
-0.013461162336170673,
-0.009800832718610764,
-0.033284109085798264,
-0.021187501028180122,
-0.06140502914786339,
-0.0057256040163338184,
0.040014687925577164,
0.010529210790991783,
-0.021759139373898506,
-0.04761194810271263,
-0.00378710450604558,
-0.0073344893753528595,
-0.05635248124599457,
0.006868880707770586,
-0.04373955726623535,
0.040383487939834595,
-0.028803199529647827,
0.00757420901209116,
0.04488283395767212,
0.030001796782016754,
-0.0009767410811036825,
0.04691122844815254,
0.0021920488215982914,
0.011100849136710167,
0.03730401769280434,
0.011257588863372803,
-0.010086651891469955,
0.02668260596692562,
0.039092689752578735,
-0.09633029252290726,
-0.006486251950263977,
0.025871247053146362,
-0.01770235039293766,
-0.022404538467526436,
0.04189556464552879,
-0.02786276303231716,
-0.00675363140180707,
0.07936553657054901,
-0.040862925350666046,
-0.058417756110429764,
-0.03728557750582695,
0.04042036831378937,
0.02642444707453251,
-0.0012931013479828835,
-0.01560941617935896,
-0.035699740052223206,
-0.017656249925494194,
-0.05487728863954544,
-0.03702741861343384,
-0.06911292672157288,
-0.04569419100880623,
-0.027991842478513718,
-0.030923793092370033,
0.002798262285068631,
-0.003448270494118333,
-0.006352562457323074,
-0.08983942866325378,
0.0775953009724617,
0.04787010699510574,
-0.017259791493415833,
-0.0626220628619194,
0.014871818944811821,
0.0035704351030290127,
-0.0073344893753528595,
0.015839915722608566,
-0.05078361928462982,
-0.00159390305634588,
-0.00554120447486639,
-0.02356625348329544,
0.04816514626145363,
0.03857637196779251,
0.04849706590175629,
-0.029835836961865425,
0.057016320526599884,
0.01488103810697794,
0.021224381402134895,
-0.01251150481402874,
0.031126633286476135,
-0.012170366011559963,
-0.0033860355615615845,
0.020247064530849457,
0.005393684841692448,
-0.03455646336078644,
-0.016181055456399918,
0.05495104566216469,
0.026645725592970848,
0.019251305609941483,
0.01719525270164013,
-0.04160052537918091,
-0.06579373776912689,
-0.011764687485992908,
0.013092363253235817,
0.011912207119166851,
-0.06752709299325943,
0.008510036394000053,
-0.0377650149166584,
0.037211816757917404,
0.028876960277557373,
0.02340029552578926,
0.010427790693938732,
-0.025115210562944412,
-0.0736122727394104,
0.08615144342184067,
-0.0019408046500757337,
-0.039203330874443054,
0.01202284637838602,
0.05838087573647499,
0.03994092717766762,
0.01028027106076479,
-0.0975104495882988,
-0.0402359664440155,
0.003872389206662774,
-0.027752121910452843,
0.045989230275154114,
-0.07700522243976593,
0.08983942866325378,
0.03243586793541908,
0.06284334510564804,
0.01643921434879303,
-0.0033929506316781044,
-0.016319354996085167,
0.03754373639822006,
0.07069876044988632,
0.01361790206283331,
-0.04152676463127136,
0.030868474394083023,
-0.020781822502613068,
-0.02943015843629837,
-0.0656462162733078,
-0.015978215262293816,
0.014254080131649971,
0.006357172504067421,
0.0716945230960846,
0.07604634761810303,
-0.01159872766584158,
-0.001101786969229579,
-0.05742200091481209,
0.0027406373992562294,
0.0038032394368201494,
0.017462631687521935,
-0.008846565149724483,
0.010538430884480476,
0.045731071382761,
-0.00745434919372201,
-0.030223075300455093,
0.009524233639240265,
-0.025945007801055908,
-0.019712304696440697,
-0.027530843392014503,
0.040014687925577164,
-0.050451699644327164,
-0.016927873715758324,
0.009911471977829933,
-0.03352382779121399,
-0.06937108933925629,
0.07095692306756973,
0.007989107631146908,
-0.034464262425899506,
-0.06000359356403351,
-0.02550244890153408,
-0.04632114991545677,
0.025354929268360138,
0.061478789895772934,
0.015803035348653793,
-0.010298711247742176,
-0.028231561183929443,
0.0017494901549071074,
-0.016429994255304337,
0.05307017266750336,
0.006693701259791851,
-0.033228788524866104,
0.02566840872168541,
0.04182180389761925,
-0.009634872898459435,
-0.0023303485941141844,
0.0009727072902023792,
0.024064132943749428,
-0.027789002284407616,
-0.024469811469316483,
-0.005794753786176443,
-0.002208183752372861,
-0.020947782322764397,
-0.004308032803237438,
0.026664165779948235,
0.007311439607292414,
0.02120594121515751,
0.0472431480884552,
-0.035275623202323914,
0.03153231367468834,
-0.010418570600450039,
-0.017066173255443573,
-0.025705289095640182,
0.04919778183102608,
-0.04886586219072342,
-0.0014844158431515098,
-0.004905026406049728,
0.023326534777879715,
0.018015829846262932,
-0.017149152234196663,
0.012576044537127018,
-0.01089800987392664,
-0.018495269119739532,
-0.02727268449962139,
0.013221443630754948,
-0.014668978750705719,
-0.04455091431736946,
0.026645725592970848,
0.013756201602518559,
0.005080205854028463,
-0.032804667949676514,
-0.016254814341664314,
-0.01557253673672676,
0.08423368632793427,
-0.05897095426917076,
-0.03605009987950325,
0.0517793744802475,
-0.014014361426234245,
-0.05266449227929115,
0.030591875314712524,
-0.0018163349013775587,
0.05126305669546127,
0.004900416359305382,
-0.032804667949676514,
-0.024340732023119926,
-0.016485314816236496,
0.007827757857739925,
-0.008021377958357334,
0.002789042191579938,
-0.042375002056360245,
-0.013295202516019344,
-0.053623370826244354,
-0.02092934213578701,
-0.02201729826629162,
0.002039919374510646,
0.004255018197000027,
0.038281332701444626,
-0.017610151320695877,
0.08733160048723221,
0.0527382530272007,
0.057163842022418976,
0.008569966070353985,
0.0070947702042758465,
0.05255385488271713,
0.016964752227067947,
-0.027789002284407616,
0.03975652903318405,
-0.007080940064042807,
-0.013415062800049782,
-0.009487353265285492,
-0.05454536899924278,
-0.014161880128085613,
-0.021224381402134895,
0.056905683130025864,
0.012327105738222599,
-0.006762851029634476,
-0.022681137546896935,
-0.05402905121445656,
-0.08283224701881409,
-0.038613252341747284,
0.028010282665491104,
0.03601321950554848,
0.08084073662757874,
0.04440339654684067,
0.0003002254234161228,
-0.08017689734697342,
-0.0077078985050320625,
-0.013571802526712418,
0.05417656898498535,
0.010695170611143112,
0.028397521004080772,
0.019030027091503143,
-0.0037640545051544905,
-0.015314376913011074,
-0.002371838316321373,
-0.015507997013628483,
-0.027678363025188446,
0.023658454418182373,
0.05133681744337082,
0.0487552247941494,
0.014272520318627357,
0.009054014459252357,
-0.011644827201962471,
-0.0325465090572834,
0.03514654189348221,
0.05000913888216019,
0.00757420901209116,
0.004757506772875786,
-0.004308032803237438,
-0.012668244540691376,
-0.010317151434719563,
-0.04787010699510574,
0.07173140347003937,
0.07036684453487396,
-0.04550979286432266,
-0.023474054411053658,
-0.00685966107994318,
-0.0023649234790354967,
-0.009487353265285492,
-0.06044615060091019,
-0.01877186819911003,
-0.0022012689150869846,
-0.015425017103552818,
-0.04455091431736946,
0.006592281628400087,
-0.009321394376456738,
-0.019030027091503143,
-0.03304438665509224,
0.005564254708588123,
0.02502300962805748,
0.06612565368413925,
0.025649968534708023,
-0.03632669895887375,
-0.02507833018898964,
0.019767625257372856,
-0.012898744083940983,
0.017066173255443573,
0.022459857165813446,
0.013940601609647274,
0.03416922315955162,
-0.028766319155693054,
0.04141612350940704,
0.010888789780437946,
0.007491229102015495,
0.0059561035595834255,
0.013092363253235817,
0.021556299179792404,
-0.008012157864868641,
-0.018688887357711792,
0.006135893054306507,
0.04053100571036339,
0.04584171250462532,
-0.0004172038461547345,
0.03953525051474571,
-0.027291124686598778,
0.03179047256708145
] |
726,284 | penne.delegates | update_client_view | Notify the server of an area of interest for the client | def update_client_view(self, direction: Vec3, angle: float):
"""Notify the server of an area of interest for the client"""
self.client_view(direction, angle)
| (self, direction: List[float], angle: float) | [
-0.0020738192833960056,
-0.0519622266292572,
-0.034658465534448624,
0.019069798290729523,
-0.0011791265569627285,
0.0212433822453022,
-0.018560364842414856,
0.0660225972533226,
-0.031737715005874634,
0.0011313671711832285,
-0.006996221374720335,
-0.020292438566684723,
0.011258482933044434,
-0.01000188011676073,
-0.05304902046918869,
0.009195276536047459,
0.02080187201499939,
-0.017295271158218384,
-0.008282541297376156,
-0.04357355460524559,
0.014671687968075275,
-0.0345395989716053,
0.038581106811761856,
0.011946218088269234,
-0.01895092986524105,
-0.00023189841886051,
-0.0006760608521290123,
0.005030656699091196,
0.07526032626628876,
-0.03627167269587517,
-0.036475446075201035,
-0.00393961975350976,
0.02339998446404934,
-0.0316358283162117,
-0.021549042314291,
0.01656508259475231,
0.02489432319998741,
-0.020258476957678795,
-0.004209195263683796,
0.06347543001174927,
-0.04109431058168411,
-0.007883485406637192,
0.03810563310980797,
-0.005446694325655699,
0.0013924518134444952,
0.028018848970532417,
0.0027063661254942417,
0.06945278495550156,
0.03472639247775078,
-0.007976881228387356,
-0.014620744623243809,
-0.055901847779750824,
0.01656508259475231,
0.0061004674062132835,
-0.010672634467482567,
0.034335825592279434,
-0.00569292064756155,
0.052845247089862823,
0.01154716219753027,
-0.006703297141939402,
-0.056513167917728424,
-0.012065085582435131,
0.027781112119555473,
-0.02647356688976288,
0.03161884471774101,
0.006788203027099371,
0.03166978806257248,
0.03272261843085289,
0.019799986854195595,
-0.025641491636633873,
0.0016620272072032094,
0.05722637474536896,
0.014985838904976845,
-0.009509427472949028,
0.019952816888689995,
0.01684527099132538,
-0.028867904096841812,
0.04252072423696518,
-0.004466034471988678,
0.0027275923639535904,
0.024215077981352806,
-0.05087543651461601,
0.035694316029548645,
0.007208485621958971,
0.020122626796364784,
-0.0037337238900363445,
-0.025573566555976868,
-0.04099242389202118,
-0.0020409184508025646,
-0.014824518002569675,
-0.007289146073162556,
-0.012633953243494034,
-0.04618864879012108,
-0.003425941104069352,
-0.021939607337117195,
0.013576406054198742,
0.02110753208398819,
-0.05902637541294098,
-0.02204149402678013,
0.04540751501917839,
-0.013525462709367275,
0.08415843546390533,
-0.005586788523942232,
0.007110843900591135,
0.03168677166104317,
-0.080694280564785,
-0.023128286004066467,
-0.08021881431341171,
-0.04306412115693092,
0.028358470648527145,
0.011046218685805798,
-0.008915088139474392,
-0.036916956305503845,
0.013780179433524609,
-0.028239602223038673,
0.066939577460289,
-0.03105846978724003,
-0.025115076452493668,
0.0008182777091860771,
-0.004623109940439463,
0.020139608532190323,
0.013185840100049973,
0.030616959556937218,
-0.05240373685956001,
-0.011504708789288998,
-0.02158300392329693,
-0.0026341963093727827,
0.025624509900808334,
0.010961312800645828,
-0.013508480973541737,
-0.023977341130375862,
-0.023009417578577995,
-0.007981126196682453,
0.01757545955479145,
0.0027997621800750494,
0.03559242933988571,
-0.030209412798285484,
-0.06490184366703033,
0.010528294369578362,
0.08334334194660187,
-0.026032056659460068,
0.045203741639852524,
0.057565998286008835,
0.020835835486650467,
0.016590554267168045,
0.049890533089637756,
-0.048837702721357346,
0.006049524061381817,
-0.030192431062459946,
-0.01986791007220745,
0.016395270824432373,
0.019358476623892784,
0.015529234893620014,
-0.0209377221763134,
-0.008932068943977356,
-0.04078865051269531,
-0.025471679866313934,
-0.022839607670903206,
0.0006251175072975457,
0.022516965866088867,
-0.006894334685057402,
-0.02477545477449894,
0.016395270824432373,
0.04527166858315468,
-0.00680942926555872,
-0.005077355075627565,
-0.025183001533150673,
-0.04082261398434639,
-0.04007544368505478,
0.04904147610068321,
-0.004708015825599432,
-0.04666411876678467,
-0.07546409964561462,
-0.016038667410612106,
0.036916956305503845,
0.008668862283229828,
0.034658465534448624,
-0.010434898547828197,
0.026388660073280334,
-0.05994335561990738,
0.024996209889650345,
-0.03352073207497597,
0.004253770690411329,
-0.0224660225212574,
-0.006868863012641668,
0.04843015596270561,
0.04751317575573921,
-0.0056886752136051655,
0.04601883515715599,
-0.0397358201444149,
-0.03321507200598717,
0.05332071706652641,
-0.019290553405880928,
-0.025743378326296806,
-0.0032264129258692265,
-0.026711301878094673,
0.013593386858701706,
-0.0644942969083786,
-0.01835659146308899,
-0.02171885222196579,
-0.006749995518475771,
-0.03290941193699837,
-0.02158300392329693,
-0.020784892141819,
0.024945266544818878,
0.046120721846818924,
0.0028188659343868494,
-0.02002074010670185,
0.050230152904987335,
-0.05698864161968231,
0.04999241977930069,
0.007696692831814289,
0.00031627336284145713,
-0.0252169631421566,
-0.03583016246557236,
-0.055290527641773224,
-0.07729806005954742,
0.028698094189167023,
0.022533945739269257,
0.010273577645421028,
-0.014332065358757973,
0.047037702053785324,
-0.09210559725761414,
-0.03956601023674011,
-0.03776601329445839,
-0.03443771228194237,
-0.005344807635992765,
-0.013134896755218506,
-0.04815845564007759,
-0.11098860204219818,
0.008549993857741356,
0.020411306992173195,
-0.046256572008132935,
0.036645255982875824,
-0.02907167747616768,
-0.017167912796139717,
-0.00519622303545475,
0.007424994837492704,
-0.03620374947786331,
0.019494326785206795,
-0.015588668175041676,
-0.023467907682061195,
0.06164146587252617,
0.04965279623866081,
-0.021684890612959862,
0.01608112081885338,
-0.025284888222813606,
0.008711314760148525,
-0.011343388818204403,
0.03878488019108772,
-0.0690791979432106,
-0.06897731125354767,
-0.021939607337117195,
0.004979713354259729,
0.0388188399374485,
-0.011988670565187931,
-0.05994335561990738,
0.022058475762605667,
-0.01231131237000227,
0.020377343520522118,
-0.08517730236053467,
0.014646216295659542,
-0.04384525120258331,
0.04452449828386307,
0.07369805872440338,
-0.010417917743325233,
-0.0031754695810377598,
0.020241495221853256,
-0.019069798290729523,
-0.020071683451533318,
0.0531848706305027,
0.06833203136920929,
-0.03195846825838089,
-0.039362236857414246,
0.013100934214890003,
-0.013805651105940342,
0.009747163392603397,
-0.0005465798312798142,
-0.05362637713551521,
-0.0056207505986094475,
0.06626033037900925,
-0.023213190957903862,
-0.03442073240876198,
0.04252072423696518,
-0.09020370990037918,
-0.021973568946123123,
0.027441490441560745,
0.07919994741678238,
-0.02158300392329693,
-0.04605279862880707,
0.027288660407066345,
0.009721691720187664,
0.06500373035669327,
-0.027866018936038017,
0.016395270824432373,
0.054033923894166946,
-0.04483015835285187,
0.04435468465089798,
0.001545281964354217,
0.0057565998286008835,
0.015215083956718445,
-0.012786783277988434,
-0.053456567227840424,
-0.03105846978724003,
0.031415071338415146,
-0.0388188399374485,
0.0012544802157208323,
0.007590560708194971,
0.0123792365193367,
-0.039837706834077835,
-0.03041318617761135,
-0.04275846108794212,
-0.048566002398729324,
-0.03027733787894249,
-0.00021451931388583034,
0.024979228153824806,
-0.03640752285718918,
-0.010222634300589561,
0.03657733276486397,
0.05423769727349281,
-0.012107538990676403,
0.01484149880707264,
-0.035864125937223434,
0.04802260920405388,
-0.022669795900583267,
-0.0007216976373456419,
0.06626033037900925,
0.025913190096616745,
0.024215077981352806,
0.006996221374720335,
-0.02861318737268448,
-0.004226176533848047,
-0.044864118099212646,
-0.04812449589371681,
-0.03100752644240856,
-0.012727349996566772,
0.030073564499616623,
-0.024045266211032867,
0.0565471313893795,
0.03671318292617798,
0.0458490252494812,
0.06615844368934631,
-0.01629338413476944,
0.03987167030572891,
0.02372262440621853,
0.038920726627111435,
0.00017936307995114475,
-0.005816033575683832,
0.015308479778468609,
0.008983012288808823,
-0.07607541978359222,
0.009339616633951664,
0.005790561903268099,
0.009229239076375961,
0.006223580799996853,
0.023926397785544395,
0.026252811774611473,
-0.07505655288696289,
0.00846084300428629,
0.00013478763867169619,
-0.05675090476870537,
0.0016376167768612504,
0.01676885597407818,
-0.0103160310536623,
-0.08409050852060318,
-0.024843379855155945,
0.03214526176452637,
-0.06795844435691833,
0.06850183755159378,
0.03105846978724003,
-0.04632449522614479,
-0.004652827046811581,
0.005247166380286217,
0.09590936452150345,
0.013449047692120075,
0.005051883403211832,
0.003408959833905101,
0.05362637713551521,
-0.0019400930032134056,
0.014892442151904106,
-0.0206320621073246,
-0.032196205109357834,
0.06792448461055756,
-0.0006283014663495123,
0.03014148771762848,
-0.01726979948580265,
0.029784884303808212,
0.007509900256991386,
-0.04544147849082947,
-0.007361315656453371,
0.009356597438454628,
-0.04751317575573921,
-0.012472633272409439,
-0.01986791007220745,
-0.045781102031469345,
0.004466034471988678,
0.024724511429667473,
0.00650376919656992,
0.013661311008036137,
-0.05556222423911095,
0.04068676382303238,
-0.02143017388880253,
-0.06867165118455887,
-0.00738254189491272,
-0.01774527132511139,
0.006096221972256899,
0.019341496750712395,
0.041807517409324646,
0.02448677457869053,
-0.07003013789653778,
-0.006881598848849535,
-0.01046037022024393,
0.003217922290787101,
0.037086766213178635,
0.013126405887305737,
0.01849243976175785,
-0.03012450784444809,
-0.01704055443406105,
0.01046037022024393,
0.05179241672158241,
0.05539241433143616,
0.06405278295278549,
0.03329997509717941,
0.07417353242635727,
0.043098084628582,
-0.06442636996507645,
0.00603678822517395,
-0.046426381915807724,
0.04751317575573921,
0.0232301726937294,
0.0030841960106045008,
-0.02596413344144821,
-0.005238675512373447,
-0.017524516209959984,
-0.0027721677906811237,
0.05763392150402069,
0.03929431363940239,
-0.04843015596270561,
0.0014667442301288247,
0.0794716402888298,
0.0005240267491899431,
0.021464135497808456,
-0.028188658878207207,
-0.023977341130375862,
-0.006639617960900068,
-0.03915846347808838,
-0.041807517409324646,
-0.08938861638307571,
0.0617433525621891,
-0.023349041119217873,
0.03657733276486397,
0.021362248808145523,
-0.028188658878207207,
0.023960361257195473,
0.022211305797100067,
-0.013983952812850475,
-0.05858486518263817,
0.029173564165830612,
-0.019171684980392456,
-0.02949620597064495,
0.009747163392603397,
-0.0006394453230313957,
-0.10548672080039978,
-0.024826398119330406,
0.007136316038668156,
0.017660364508628845,
0.008779238909482956,
-0.013559424318373203,
-0.027899980545043945,
0.012319803237915039,
0.06554712355136871,
-0.040143366903066635,
-0.011275463737547398,
-0.022516965866088867,
0.11119237542152405,
-0.00557829812169075,
-0.018916968256235123,
0.036916956305503845,
-0.12199237197637558,
-0.01615753583610058,
-0.1247093454003334,
-0.00626603327691555,
-0.03504903241991997,
0.0026150925550609827,
-0.015435838140547276,
0.04143393412232399,
-0.023349041119217873,
-0.00888112559914589,
-0.015240555629134178,
-0.028477339074015617,
0.000024410361220361665,
0.038003746420145035,
-0.037086766213178635,
-0.027475452050566673,
0.04112827405333519,
0.07410560548305511,
-0.05138486996293068,
-0.007374051492661238,
0.031567901372909546,
-0.011606595478951931,
0.002400705823674798,
-0.021362248808145523,
0.047784872353076935,
-0.0255226232111454,
0.030956583097577095,
-0.03926035016775131,
-0.00006736065552104264,
-0.010672634467482567,
-0.018084893003106117,
0.038920726627111435,
0.04527166858315468,
0.012209425680339336,
0.05936599522829056,
0.015588668175041676,
0.0360678993165493,
0.025267906486988068,
-0.06819617748260498,
0.012065085582435131,
-0.002453771885484457,
-0.07614334672689438,
-0.011428293772041798,
-0.0028146207332611084,
0.05230185016989708,
-0.005722637753933668,
0.00742074940353632,
0.03059997968375683,
-0.017329232767224312,
-0.034199975430965424,
0.04139997065067291,
0.0120735764503479,
0.00025710478075779974,
0.07349428534507751,
-0.01866225153207779,
0.05549430102109909,
0.06761882454156876,
0.01719338446855545,
-0.012786783277988434,
-0.04184148088097572,
-0.09706408530473709,
0.011827350594103336,
-0.0206320621073246,
-0.030192431062459946,
-0.046086762100458145,
-0.08966031670570374,
0.00830801296979189,
-0.028188658878207207,
0.04815845564007759,
-0.098422572016716,
0.002381602069362998,
-0.026830170303583145,
-0.049890533089637756,
-0.02309432439506054,
-0.01038395520299673,
0.048566002398729324,
0.005289618857204914,
0.06109807267785072,
-0.01675187610089779,
-0.04163770750164986,
-0.019681118428707123,
-0.013737726025283337,
0.01803394965827465,
-0.016624515876173973,
-0.005017920862883329,
0.04415091127157211,
-0.00984905008226633,
0.07668673992156982,
0.09339616447687149,
0.04999241977930069,
0.07070938497781754,
-0.015206593088805676,
0.007064145989716053,
0.03898865357041359,
0.0058415052480995655,
-0.033707525581121445,
-0.032943371683359146,
-0.004627355374395847,
0.07077731192111969,
-0.0009827823378145695,
0.0037952803540974855,
-0.024809416383504868,
0.0011833718745037913,
-0.016607536002993584,
0.02032640017569065,
-0.010214143432676792,
0.015121687203645706,
0.08585654199123383,
0.07267919182777405,
0.06666787713766098,
0.029869791120290756,
0.03414903208613396,
-0.018322627991437912,
-0.06350938975811005,
-0.013907537795603275,
-0.002233017235994339,
-0.0063212220557034016,
0.007866503670811653,
0.0030056582763791084,
0.021362248808145523,
0.03236601501703262,
0.07064145803451538,
-0.01881508156657219,
0.009254710748791695,
0.01681130938231945,
0.024554699659347534,
-0.038445256650447845,
-0.03304525837302208,
-0.05675090476870537,
0.004686789121478796,
-0.0559358112514019,
-0.010010370053350925,
-0.006049524061381817,
0.022720739245414734,
-0.004780185408890247,
-0.0020451636519283056,
0.015130178071558475,
0.019035836681723595,
-0.004156128969043493,
0.016480177640914917,
0.03620374947786331,
0.0886414498090744,
0.026354698464274406,
-0.002400705823674798,
-0.04092450067400932,
-0.03959997370839119,
0.009781125001609325,
-0.000234286388149485,
0.07261127233505249,
-0.023756587877869606,
-0.01566508412361145,
0.012133010663092136,
0.02158300392329693,
-0.020411306992173195,
-0.05240373685956001,
0.005289618857204914,
0.033707525581121445,
-0.015367913991212845,
-0.07315466552972794,
-0.014646216295659542,
-0.028935829177498817,
0.0006192802102304995,
0.010901879519224167,
0.004911789204925299,
0.01315187755972147,
-0.01895092986524105,
0.029733940958976746,
0.03459054231643677,
-0.0022691022604703903,
0.028833942487835884,
-0.012591500766575336,
0.016607536002993584,
-0.014595272950828075,
0.07981126755475998,
-0.020071683451533318,
0.03272261843085289,
0.017388667911291122,
0.0375961996614933,
-0.03070186637341976,
0.003854714334011078,
0.043335817754268646,
0.008439617231488228,
-0.036645255982875824,
0.05090939998626709,
0.046698082238435745,
-0.039667896926403046,
0.024130171164870262,
-0.005315090529620647,
-0.0004659194964915514,
-0.02248300239443779,
0.019154703244566917,
0.019205646589398384,
0.036645255982875824,
-0.04038110375404358,
-0.013593386858701706,
0.039226386696100235,
0.014680178835988045,
-0.043505631387233734,
0.025794321671128273,
-0.038275446742773056,
0.00027726986445486546,
0.010986784473061562,
-0.025743378326296806,
0.009416031651198864,
-0.028562244027853012,
-0.06748297065496445,
-0.022754700854420662,
-0.010146219283342361,
0.028664130717515945,
0.042418837547302246,
-0.0003199879720341414,
-0.019901873543858528,
-0.01745659112930298,
-0.038750916719436646,
-0.015520744025707245,
0.03253582492470741,
0.03583016246557236,
-0.03328299522399902,
-0.03014148771762848,
-0.023213190957903862,
-0.01774527132511139,
0.024198096245527267,
0.0565471313893795,
-0.004869336262345314,
-0.03566035255789757,
0.053422603756189346,
-0.013780179433524609,
0.00872829556465149,
0.007705183234065771,
-0.0519622266292572,
0.005973109044134617,
-0.03501506894826889,
0.03623770922422409,
0.007824051193892956,
0.08123768121004105,
0.03532072901725769,
0.03841129317879677,
0.04190940409898758,
-0.04720751568675041,
0.019630175083875656,
0.03134714812040329,
0.010672634467482567,
-0.0739697590470314,
0.006597165018320084,
0.037833936512470245,
-0.017830176278948784,
0.0391245000064373,
-0.025726396590471268,
0.010341502726078033,
0.005773581098765135,
-0.06065656244754791,
0.021158475428819656,
-0.012268858961760998,
-0.0129905566573143,
-0.015121687203645706,
0.027628282085061073,
0.019375458359718323,
0.013134896755218506,
-0.06133580580353737,
-0.020513193681836128,
-0.06072448566555977,
0.050230152904987335,
-0.013117915019392967,
-0.0357622392475605,
0.015359423123300076,
-0.0690791979432106,
-0.033249031752347946,
-0.00009498814324615523,
-0.01615753583610058,
-0.006193863693624735,
-0.025641491636633873,
0.0221603624522686,
0.054373547434806824,
0.050230152904987335,
-0.00004829006138606928,
0.012498104944825172,
0.058482978492975235,
-0.004814147483557463,
-0.01927357167005539,
0.05780373513698578,
0.02861318737268448,
-0.021803759038448334,
-0.019188666716217995,
0.040143366903066635,
0.019816966727375984,
0.019494326785206795,
0.010859426110982895,
0.04652826860547066,
-0.012090557254850864,
0.03674714267253876
] |
726,285 | penne.delegates | Entity | Container for other entities, possibly renderable, has associated methods and signals
Can reference other entities, geometry, plots, and lights. It can be rendered, if it has a render rep.
It may have associated methods and signals. The transform is relative to the parent entity. In other contexts
it may be called a node.
Attributes:
id: ID for the entity
name: Name of the entity
parent: Parent entity
transform: Local transform for the entity
text_rep: Text representation for the entity
web_rep: Web representation for the entity
render_rep: Render representation for the entity
lights: List of lights attached to the entity
tables: List of tables attached to the entity
plots: List of plots attached to the entity
tags: List of tags for the entity
methods_list: List of methods attached to the entity
signals_list: List of signals attached to the entity
influence: Bounding box for the entity
| class Entity(Delegate):
"""Container for other entities, possibly renderable, has associated methods and signals
Can reference other entities, geometry, plots, and lights. It can be rendered, if it has a render rep.
It may have associated methods and signals. The transform is relative to the parent entity. In other contexts
it may be called a node.
Attributes:
id: ID for the entity
name: Name of the entity
parent: Parent entity
transform: Local transform for the entity
text_rep: Text representation for the entity
web_rep: Web representation for the entity
render_rep: Render representation for the entity
lights: List of lights attached to the entity
tables: List of tables attached to the entity
plots: List of plots attached to the entity
tags: List of tags for the entity
methods_list: List of methods attached to the entity
signals_list: List of signals attached to the entity
influence: Bounding box for the entity
"""
id: EntityID
name: Optional[str] = "Unnamed Entity Delegate"
parent: Optional[EntityID] = None
transform: Optional[Mat4] = None
null_rep: Optional[Any] = None
text_rep: Optional[TextRepresentation] = None
web_rep: Optional[WebRepresentation] = None
render_rep: Optional[RenderRepresentation] = None
lights: Optional[List[LightID]] = None
tables: Optional[List[TableID]] = None
plots: Optional[List[PlotID]] = None
tags: Optional[List[str]] = None
methods_list: Optional[List[MethodID]] = None
signals_list: Optional[List[SignalID]] = None
influence: Optional[BoundingBox] = None
# Injected methods
set_position: Optional[InjectedMethod] = None
set_rotation: Optional[InjectedMethod] = None
set_scale: Optional[InjectedMethod] = None
activate: Optional[InjectedMethod] = None
get_activation_choices: Optional[InjectedMethod] = None
get_var_keys: Optional[InjectedMethod] = None
get_var_options: Optional[InjectedMethod] = None
get_var_value: Optional[InjectedMethod] = None
set_var_value: Optional[InjectedMethod] = None
select_region: Optional[InjectedMethod] = None
select_sphere: Optional[InjectedMethod] = None
select_half_plane: Optional[InjectedMethod] = None
select_hull: Optional[InjectedMethod] = None
probe_at: Optional[InjectedMethod] = None
def on_new(self, message: dict):
# Inject methods and signals if applicable
if self.methods_list:
inject_methods(self, self.methods_list)
if self.signals_list:
inject_signals(self, self.signals_list)
def on_update(self, message: dict):
# Inject methods and signals if applicable
if self.methods_list:
inject_methods(self, self.methods_list)
if self.signals_list:
inject_signals(self, self.signals_list)
def request_set_position(self, position: Vec3):
"""Request to set the position of the entity
Args:
position (Vec3): Position to set
"""
self.set_position(position)
def request_set_rotation(self, rotation: Vec4):
"""Request to set the rotation of the entity
Args:
rotation (Vec4): Rotation to set
"""
self.set_rotation(rotation)
def request_set_scale(self, scale: Vec3):
"""Request to set the scale of the entity
Args:
scale (Vec3): Scale to set
"""
self.set_scale(scale)
def show_methods(self):
"""Show methods available on the entity"""
if self.methods_list is None:
message = "No methods available"
else:
message = f"-- Methods on {self.name} --\n--------------------------------------\n"
for method_id in self.methods_list:
method = self.client.get_delegate(method_id)
message += f">> {method}"
print(message)
return message
| (*, client: object = None, id: penne.delegates.EntityID, name: Optional[str] = 'Unnamed Entity Delegate', signals: Optional[dict] = {}, parent: Optional[penne.delegates.EntityID] = None, transform: Optional[List[float]] = None, null_rep: Optional[Any] = None, text_rep: Optional[penne.delegates.TextRepresentation] = None, web_rep: Optional[penne.delegates.WebRepresentation] = None, render_rep: Optional[penne.delegates.RenderRepresentation] = None, lights: Optional[List[penne.delegates.LightID]] = None, tables: Optional[List[penne.delegates.TableID]] = None, plots: Optional[List[penne.delegates.PlotID]] = None, tags: Optional[List[str]] = None, methods_list: Optional[List[penne.delegates.MethodID]] = None, signals_list: Optional[List[penne.delegates.SignalID]] = None, influence: Optional[penne.delegates.BoundingBox] = None, set_position: Optional[penne.delegates.InjectedMethod] = None, set_rotation: Optional[penne.delegates.InjectedMethod] = None, set_scale: Optional[penne.delegates.InjectedMethod] = None, activate: Optional[penne.delegates.InjectedMethod] = None, get_activation_choices: Optional[penne.delegates.InjectedMethod] = None, get_var_keys: Optional[penne.delegates.InjectedMethod] = None, get_var_options: Optional[penne.delegates.InjectedMethod] = None, get_var_value: Optional[penne.delegates.InjectedMethod] = None, set_var_value: Optional[penne.delegates.InjectedMethod] = None, select_region: Optional[penne.delegates.InjectedMethod] = None, select_sphere: Optional[penne.delegates.InjectedMethod] = None, select_half_plane: Optional[penne.delegates.InjectedMethod] = None, select_hull: Optional[penne.delegates.InjectedMethod] = None, probe_at: Optional[penne.delegates.InjectedMethod] = None, **extra_data: Any) -> None | [
0.017630361020565033,
-0.08972000330686569,
-0.036591313779354095,
0.01765887252986431,
-0.007413305342197418,
-0.03621114417910576,
-0.042578984051942825,
0.03033752553164959,
0.012355508282780647,
0.008240173570811749,
-0.008216413669288158,
0.00647713802754879,
-0.026383763179183006,
0.04094425588846207,
-0.06633957475423813,
0.0017297712620347738,
-0.02560441568493843,
0.022125864401459694,
0.010103004053235054,
-0.08903569728136063,
-0.001679874025285244,
0.044745948165655136,
0.02045311965048313,
-0.0069143325090408325,
-0.005255843512713909,
0.04193269461393356,
-0.003319354960694909,
0.01445594523102045,
0.058470070362091064,
-0.011775749735534191,
-0.030014382675290108,
-0.028645772486925125,
0.021821729838848114,
-0.026459796354174614,
0.018552271649241447,
-0.02341844141483307,
0.010350114665925503,
0.06485691666603088,
-0.04200872778892517,
0.038853321224451065,
-0.04451784864068031,
-0.023703567683696747,
0.08523400127887726,
-0.01600513607263565,
0.00018384758732281625,
0.02756228856742382,
0.010853839106857777,
0.07660415023565292,
0.0076319025829434395,
-0.051132798194885254,
0.010502181947231293,
-0.018599793314933777,
0.03054661862552166,
0.03250449150800705,
-0.03584998473525047,
0.0386822447180748,
0.009836886078119278,
0.09724735468626022,
0.017582839354872704,
0.035964034497737885,
0.02136552520096302,
0.017696890980005264,
0.017060106620192528,
-0.038967374712228775,
-0.00924762338399887,
-0.01696506328880787,
0.003490431234240532,
0.01532083097845316,
-0.0019222319824621081,
0.047939375042915344,
0.0036615075077861547,
-0.015739018097519875,
0.03221936523914337,
0.033074747771024704,
0.03258052468299866,
-0.020396092906594276,
0.020472127944231033,
0.010625737719237804,
0.08340919017791748,
-0.016879525035619736,
0.015102233737707138,
-0.026155661791563034,
-0.004659452475607395,
-0.05101874843239784,
0.011319546960294247,
-0.0059401486068964005,
0.006272796541452408,
-0.005892627406865358,
-0.03832108527421951,
-0.05797584727406502,
-0.07922732084989548,
0.02415977232158184,
-0.03364500030875206,
0.01094888150691986,
-0.036287177354097366,
-0.014788593165576458,
0.008130875416100025,
-0.06671974807977676,
0.010958385653793812,
0.02197379618883133,
-0.018599793314933777,
0.08895966410636902,
-0.03075571171939373,
0.033587973564863205,
-0.00939018651843071,
-0.014123297296464443,
-0.06173952668905258,
-0.0037114047445356846,
-0.009779860265552998,
0.029976364225149155,
-0.010749292559921741,
0.02362753450870514,
0.0053461333736777306,
0.010045979171991348,
0.006035191006958485,
-0.044023629277944565,
-0.01892293617129326,
0.005636012647300959,
-0.008273438550531864,
-0.03756074607372284,
0.003996531944721937,
0.007536860182881355,
-0.07584381848573685,
-0.016698945313692093,
-0.002398632001131773,
0.0010757609270513058,
0.014550987631082535,
0.015159258618950844,
-0.01424685213714838,
-0.09831183403730392,
-0.047825321555137634,
-0.007213716395199299,
0.006339326500892639,
0.08819932490587234,
0.039081424474716187,
0.014589004218578339,
-0.0017060106620192528,
-0.045354221016168594,
-0.06280399858951569,
0.0649709701538086,
-0.018485741689801216,
-0.009385434910655022,
0.041020289063453674,
0.012821216136217117,
-0.06877265870571136,
-0.021327508613467216,
-0.025528382509946823,
-0.05873618647456169,
-0.05295760929584503,
-0.06630156189203262,
-0.002294085221365094,
-0.03613511100411415,
-0.004573914222419262,
0.004020292311906815,
-0.031934238970279694,
-0.003930001985281706,
-0.04075416922569275,
-0.044137679040431976,
-0.0016584894619882107,
0.014056767337024212,
-0.04676084965467453,
-0.030090415850281715,
0.016432827338576317,
0.012621627189218998,
-0.0029772024136036634,
0.008073849603533745,
0.015558436512947083,
-0.08082403242588043,
-0.025433339178562164,
0.07420908659696579,
-0.05326174572110176,
0.0036567554343491793,
-0.009233366698026657,
0.045772407203912735,
0.00010721967555582523,
0.06748008728027344,
0.0257945004850626,
-0.0031696632504463196,
-0.029159000143408775,
-0.0059876698069274426,
0.006976110395044088,
-0.06557923555374146,
-0.022658102214336395,
0.002480606082826853,
0.020624196156859398,
0.021859746426343918,
0.038872331380844116,
-0.010578216053545475,
0.03250449150800705,
-0.011642690747976303,
-0.023285381495952606,
-0.0004122462996747345,
0.014493961818516254,
0.011395581066608429,
-0.01533033512532711,
0.04603852704167366,
-0.0232283566147089,
-0.026402771472930908,
-0.0221828892827034,
-0.0003249261062592268,
-0.025167221203446388,
0.011747237294912338,
0.03377806022763252,
0.004352940712124109,
-0.0423128642141819,
0.032751601189374924,
0.038739271461963654,
0.0433393232524395,
-0.029767271131277084,
-0.07915128767490387,
-0.022791162133216858,
-0.01182327140122652,
-0.01982583850622177,
0.0030009630136191845,
0.05451630428433418,
-0.09717132151126862,
0.0221828892827034,
0.017487796023488045,
0.005270099733024836,
0.027486255392432213,
0.059192389249801636,
0.018932441249489784,
-0.05664525553584099,
-0.02509118616580963,
-0.06211969628930092,
0.012250961735844612,
0.005954404827207327,
0.0006973734125494957,
0.04261700063943863,
-0.09937630593776703,
-0.020491136237978935,
0.01207988616079092,
-0.04273105040192604,
0.03398715332150459,
0.017022090032696724,
-0.009969945065677166,
0.013809656724333763,
0.017373746261000633,
-0.028968915343284607,
0.016223734244704247,
0.006125480867922306,
-0.017164653167128563,
-0.0013377213617786765,
0.0010270517086610198,
-0.024235805496573448,
-0.00449075223878026,
0.06242383271455765,
-0.0060732075944542885,
-0.036078084260225296,
-0.01608116924762726,
-0.028151551261544228,
-0.05375596880912781,
-0.008268686942756176,
0.013058822602033615,
-0.013619571924209595,
-0.06622552871704102,
-0.013096839189529419,
0.003813575254753232,
0.02982429787516594,
-0.013667093589901924,
-0.0196167454123497,
-0.04265501722693443,
0.007085409015417099,
0.08295298367738724,
0.03434831276535988,
-0.0007852876442484558,
0.0016858141170814633,
0.020700229331851006,
-0.01392370741814375,
0.004065437708050013,
0.06280399858951569,
0.02537631429731846,
-0.029025940224528313,
0.016841508448123932,
0.0012806960148736835,
-0.03946159407496452,
-0.008530053310096264,
-0.02478705160319805,
-0.061359357088804245,
-0.004436102695763111,
0.016670431941747665,
-0.01619522087275982,
0.029691237956285477,
-0.008748650550842285,
-0.0009819065453484654,
-0.05048650875687599,
0.013068326748907566,
0.04698894917964935,
-0.00486379349604249,
-0.045886456966400146,
0.029900331050157547,
0.04090623930096626,
-0.004652324132621288,
-0.018837397918105125,
0.022962236776947975,
-0.03107885643839836,
-0.0980076938867569,
0.03841612860560417,
0.02404572069644928,
-0.08994810283184052,
0.0258135087788105,
0.004360069055110216,
0.06284201890230179,
-0.03221936523914337,
-0.019113020971417427,
-0.04615257680416107,
0.04181864485144615,
0.008848445490002632,
0.02651682309806347,
-0.048965830355882645,
0.04725506901741028,
0.0350896455347538,
-0.008943487890064716,
0.0009177529136650264,
0.04904186353087425,
0.01824813522398472,
-0.011927817948162556,
-0.03374004364013672,
0.05200718715786934,
0.09770356118679047,
-0.035983044654130936,
0.045354221016168594,
0.004657076206058264,
0.05717749148607254,
0.056189052760601044,
-0.03185820206999779,
0.04254096746444702,
0.01507372036576271,
-0.01738324947655201,
-0.021840738132596016,
-0.04946005344390869,
-0.007275493815541267,
0.023798611015081406,
-0.016993576660752296,
-0.05348984897136688,
-0.047825321555137634,
0.013049318455159664,
-0.0010395259596407413,
0.036173127591609955,
-0.0022822050377726555,
0.0680883601307869,
0.020510144531726837,
-0.022372974082827568,
0.020833289250731468,
0.046798866242170334,
-0.028892882168293,
0.07420908659696579,
0.0024117003194987774,
0.04915591701865196,
0.03754173964262009,
-0.007802979089319706,
-0.029063958674669266,
0.024292830377817154,
0.007551116868853569,
0.030584635213017464,
-0.06109323725104332,
-0.027201127260923386,
-0.06968507170677185,
-0.0515890009701252,
-0.0015527547802776098,
0.033702027052640915,
-0.013096839189529419,
-0.029482144862413406,
0.0206622127443552,
-0.05550474673509598,
-0.042274847626686096,
0.031820185482501984,
-0.033283840864896774,
0.06618750840425491,
-0.019901873543858528,
0.005854610353708267,
-0.04223683103919029,
-0.030698686838150024,
0.04862367734313011,
0.01801053062081337,
-0.009442459791898727,
0.0505625419318676,
0.03429128974676132,
0.004464615602046251,
0.00042442360427230597,
0.041134338825941086,
0.009005265310406685,
-0.005959156900644302,
0.02434985712170601,
0.04790135845541954,
-0.01053069531917572,
0.08378935605287552,
0.024482915177941322,
-0.011538144201040268,
0.005897379480302334,
0.014627021737396717,
-0.020605186000466347,
-0.04626662656664848,
-0.062271762639284134,
-0.058774203062057495,
-0.0330367311835289,
-0.005184561479836702,
0.023361416533589363,
-0.02343744970858097,
-0.06645362824201584,
0.022125864401459694,
-0.013942716643214226,
0.07474132627248764,
0.04090623930096626,
0.0050562541000545025,
-0.0008102362626232207,
0.0856141671538353,
0.026345746591687202,
0.034842535853385925,
0.023171331733465195,
-0.010245568118989468,
0.017924992367625237,
-0.06675776094198227,
-0.01507372036576271,
0.00856331828981638,
-0.062994085252285,
0.054554324597120285,
-0.009912919253110886,
-0.013486512936651707,
0.03180117905139923,
-0.029330076649785042,
0.09055637568235397,
0.02621268667280674,
0.03488055244088173,
0.017525814473628998,
0.004105830565094948,
-0.04204674810171127,
0.01871384307742119,
0.014874131418764591,
0.04223683103919029,
0.005873618647456169,
0.011005907319486141,
-0.03904340788722038,
-0.045050084590911865,
0.012783199548721313,
-0.033074747771024704,
0.025471355766057968,
-0.07356280088424683,
0.007722192909568548,
0.04451784864068031,
-0.0444037988781929,
0.005189313553273678,
0.004219881258904934,
-0.010815822519361973,
-0.023285381495952606,
-0.05831800028681755,
-0.025661440566182137,
0.006077959667891264,
0.05698740854859352,
-0.019939890131354332,
0.04425172880291939,
0.055466730147600174,
0.05953454226255417,
0.024235805496573448,
0.002924929140135646,
-0.03208630532026291,
0.01992088183760643,
-0.018276648595929146,
-0.01936013251543045,
-0.0021135048009455204,
-0.018134085461497307,
0.004621435422450304,
-0.037712812423706055,
0.009751347824931145,
-0.011747237294912338,
0.01378114428371191,
0.049193933606147766,
-0.04273105040192604,
-0.047635238617658615,
-0.006443873047828674,
0.09238118678331375,
-0.019436165690422058,
0.029805287718772888,
-0.04455586522817612,
0.006453377194702625,
0.0034357819240540266,
0.039081424474716187,
-0.0309457965195179,
-0.07401899993419647,
-0.07234625518321991,
0.0069048283621668816,
-0.03727561980485916,
-0.005407911259680986,
-0.010454661212861538,
-0.03976573050022125,
0.03332185745239258,
0.055694829672575,
0.001018141396343708,
0.048053424805402756,
-0.01763986423611641,
-0.027524271979928017,
0.022829178720712662,
0.025053169578313828,
-0.016071666032075882,
-0.026364754885435104,
0.011832775548100471,
0.005526714026927948,
-0.024749035015702248,
-0.003706652671098709,
-0.06481889635324478,
0.01626175083220005,
-0.05307166278362274,
0.03735165297985077,
-0.011424093507230282,
0.024083737283945084,
-0.05276752635836601,
-0.004816272296011448,
0.025357306003570557,
0.002207359066233039,
0.0020576673559844494,
0.015596454031765461,
-0.04140045866370201,
0.03851117193698883,
-0.032029278576374054,
-0.006643461994826794,
-0.02024402655661106,
-0.008259182795882225,
0.0661114752292633,
-0.01460801251232624,
-0.054554324597120285,
0.05120883136987686,
0.026668889448046684,
0.046190593391656876,
-0.02248702570796013,
-0.00492794718593359,
0.02465399168431759,
-0.04972616955637932,
-0.010749292559921741,
0.047939375042915344,
-0.0015325582353398204,
0.010093499906361103,
-0.02383662760257721,
-0.022353965789079666,
-0.012564602307975292,
0.0017891726456582546,
0.03191522881388664,
0.006282301153987646,
-0.06881067901849747,
-0.022011814638972282,
0.01784895732998848,
0.026079626753926277,
0.01351502537727356,
-0.1031780019402504,
-0.03847315162420273,
0.040107883512973785,
-0.08751501888036728,
0.04987823963165283,
-0.0263267382979393,
-0.009556510485708714,
-0.021118415519595146,
0.02623169496655464,
0.017316721379756927,
0.0034951833076775074,
-0.004932699259370565,
0.016394808888435364,
-0.003464294597506523,
0.0014018750516697764,
-0.024482915177941322,
-0.010083995759487152,
0.0495741032063961,
-0.025984585285186768,
0.003796942764893174,
-0.014047263190150261,
-0.0036068581975996494,
0.03366401046514511,
0.0722322016954422,
0.07363883405923843,
0.0014731568517163396,
-0.01006498746573925,
-0.029159000143408775,
0.0096705611795187,
0.06151142343878746,
0.022829178720712662,
0.010967889800667763,
0.013419982977211475,
0.031002823263406754,
-0.013286923989653587,
-0.015244796872138977,
-0.004115334711968899,
-0.08987206965684891,
0.04098227247595787,
-0.0017974888905882835,
-0.03552683815360069,
-0.035032618790864944,
0.014988182112574577,
0.026877984404563904,
-0.01882789470255375,
0.09549857676029205,
0.04676084965467453,
0.006358334794640541,
-0.04942203313112259,
-0.0016786858905106783,
-0.034215256571769714,
0.004412342328578234,
0.03569791465997696,
0.0588502399623394,
-0.002449717139825225,
0.005902131553739309,
-0.01507372036576271,
-0.002858399413526058,
-0.03763677924871445,
0.014284868724644184,
0.030527610331773758,
-0.02434985712170601,
0.011224504560232162,
-0.05120883136987686,
-0.03583097457885742,
0.003233816707506776,
-0.009708578698337078,
-0.018200615420937538,
0.034329306334257126,
-0.0009106247453019023,
0.012517080642282963,
-0.04109632223844528,
-0.007394296582788229,
-0.08553813397884369,
-0.03326483070850372,
0.06630156189203262,
0.055466730147600174,
0.020624196156859398,
0.004436102695763111,
-0.008848445490002632,
-0.05109478160738945,
-0.05348984897136688,
-0.03661032393574715,
-0.029862314462661743,
0.014256356284022331,
-0.060028765350580215,
-0.0032195604871958494,
-0.021441560238599777,
0.041248392313718796,
-0.012422038242220879,
-0.02364654280245304,
-0.035983044654130936,
0.05417415499687195,
-0.0022251796908676624,
0.025566399097442627,
-0.0024948623031377792,
-0.02704905904829502,
0.02147957682609558,
0.014503465965390205,
-0.027201127260923386,
-0.011785254813730717,
-0.012764191254973412,
-0.02765733003616333,
0.033378880470991135,
-0.018162596970796585,
-0.032067298889160156,
0.029254043474793434,
0.01485512312501669,
-0.003076996887102723,
0.07253634184598923,
-0.013752631843090057,
-0.01491214893758297,
0.0423128642141819,
0.022258924320340157,
-0.013553042896091938,
-0.023570509627461433,
0.029539169743657112,
0.044936034828424454,
-0.013087335042655468,
0.030717695131897926,
0.05797584727406502,
-0.023570509627461433,
0.01088235154747963,
-0.009846390224993229,
-0.0005043186247348785,
0.008886462077498436,
0.06789827346801758,
0.04368147626519203,
0.020833289250731468,
-0.016413817182183266,
-0.017345232889056206,
0.02683996595442295,
0.02364654280245304,
-0.020833289250731468,
0.04653274640440941,
-0.025319289416074753,
0.02539532259106636,
-0.006410608068108559,
0.015377855859696865,
0.020491136237978935,
-0.03837811201810837,
0.020928330719470978,
-0.012764191254973412,
0.027828406542539597,
0.04615257680416107,
-0.015292317606508732,
0.015691496431827545,
-0.07899922132492065,
0.012593114748597145,
-0.036477264016866684,
0.02788543328642845,
0.030774720013141632,
0.03218134865164757,
-0.02858874574303627,
-0.06531312316656113,
-0.12036166340112686,
-0.03676239028573036,
-0.0029035445768386126,
0.05501052737236023,
-0.01113896630704403,
-0.0335119403898716,
-0.0018069931538775563,
0.02982429787516594,
0.030470585450530052,
-0.02073824591934681,
0.003221936523914337,
0.06383045762777328,
-0.009575518779456615,
0.03984176367521286,
0.057139474898576736,
0.0639825239777565,
-0.02847469598054886,
0.0474451519548893,
-0.0006955913850106299,
0.02777138166129589,
0.05303364619612694,
-0.03335987403988838,
0.003787438618019223,
-0.023342406377196312,
-0.008282942697405815,
0.06778421998023987,
-0.05132288113236427,
0.040602102875709534,
0.021175440400838852,
0.011851783841848373,
-0.018466733396053314,
0.014959669671952724,
0.0019079756457358599,
-0.0005197629798203707,
0.030907779932022095,
-0.0433393232524395,
-0.031839195638895035,
0.0011131837964057922,
-0.08485383540391922,
0.039803747087717056,
-0.033702027052640915,
-0.0764140710234642,
0.010559207759797573,
-0.004507384728640318,
-0.029577186331152916,
0.005260595586150885,
0.01810557208955288,
0.02623169496655464,
0.03537477180361748,
0.02877883054316044,
0.011538144201040268,
0.010720780119299889,
-0.007427561562508345,
0.04531620442867279,
0.05854610353708267,
-0.024216797202825546,
0.006391599774360657,
0.09070844203233719,
-0.052805542945861816,
0.01842871680855751,
0.023380424827337265,
-0.007907525636255741,
-0.0970192551612854,
-0.030413560569286346,
-0.018466733396053314,
0.02075725421309471,
-0.004516888875514269,
0.009371178224682808,
0.0608651377260685,
-0.013286923989653587,
0.051855120807886124
] |
726,313 | penne.delegates | on_new | null | def on_new(self, message: dict):
# Inject methods and signals if applicable
if self.methods_list:
inject_methods(self, self.methods_list)
if self.signals_list:
inject_signals(self, self.signals_list)
| (self, message: dict) | [
0.014956512488424778,
-0.023308850824832916,
-0.006295155733823776,
-0.032844290137290955,
0.005191517062485218,
-0.013676292262971401,
0.03169650584459305,
0.04619390517473221,
0.04499314725399017,
0.06325174868106842,
-0.017614075914025307,
0.019600624218583107,
-0.005067909136414528,
-0.025781001895666122,
-0.07017377018928528,
-0.013022937811911106,
0.019106194376945496,
0.011636767536401749,
-0.06745440512895584,
-0.08405312895774841,
-0.032791316509246826,
0.01290815882384777,
0.03319745510816574,
0.03845960274338722,
0.021578345447778702,
0.029418595135211945,
-0.05661225691437721,
0.04298010841012001,
0.08892679959535599,
0.018911954015493393,
-0.062368836253881454,
-0.0584840252995491,
0.008228730410337448,
0.020448219031095505,
0.02055416814982891,
0.00527539337053895,
-0.017861289903521538,
0.01648394949734211,
-0.03736479580402374,
0.07388199865818024,
0.08009769022464752,
0.0017801693174988031,
-0.009853286668658257,
0.0240328386425972,
0.020977966487407684,
0.05915503948926926,
-0.009800312109291553,
0.0897037610411644,
0.02187853492796421,
0.004591137170791626,
-0.04411023482680321,
0.018002556636929512,
0.01329664047807455,
0.012404900044202805,
-0.03579321131110191,
0.06816073507070541,
0.05774237960577011,
0.04273289442062378,
0.0031056394800543785,
0.002068219007924199,
-0.0017007073620334268,
0.0033153309486806393,
0.013791070319712162,
-0.057071369141340256,
-0.0010440422920510173,
-0.02456258423626423,
0.07338756322860718,
0.0014601141447201371,
0.025004040449857712,
0.012687431648373604,
0.02712302654981613,
-0.04343922436237335,
-0.03196137771010399,
0.012837526388466358,
0.03669378161430359,
0.02352074906229973,
0.0062377662397921085,
-0.005041421856731176,
0.018876638263463974,
0.08278173953294754,
0.00868784449994564,
-0.05770706385374069,
0.009314711205661297,
0.038388971239328384,
0.02869460918009281,
-0.021543029695749283,
-0.009076325222849846,
-0.041532136499881744,
-0.016775310039520264,
0.011574964039027691,
-0.04114365577697754,
0.009844457730650902,
-0.007482671178877354,
0.03344466909766197,
-0.008484775200486183,
-0.06480567157268524,
-0.006100915372371674,
0.001335402950644493,
0.0779787003993988,
0.07564781606197357,
-0.022055117413401604,
0.0558352917432785,
-0.03383314982056618,
-0.07423515617847443,
-0.002915813587605953,
-0.03596979379653931,
0.002469943603500724,
-0.0007488189148716629,
-0.024138787761330605,
0.03266770765185356,
0.03344466909766197,
-0.00877172127366066,
0.011036387644708157,
0.04057859256863594,
-0.04675896838307381,
0.042309097945690155,
0.004096707329154015,
0.019424041733145714,
0.02691112831234932,
-0.03250878304243088,
-0.04008416086435318,
0.002363994251936674,
-0.016148442402482033,
-0.03718821331858635,
-0.016987208276987076,
-0.009976894594728947,
-0.007672497071325779,
-0.04933706670999527,
0.07974452525377274,
-0.02874758280813694,
-0.008467116393148899,
-0.006899949628859758,
0.004851595964282751,
-0.024138787761330605,
-0.041249603033065796,
-0.02348543331027031,
-0.04449871554970741,
-0.05184453725814819,
-0.024633217602968216,
0.0575304813683033,
0.011001070961356163,
0.04411023482680321,
0.039660364389419556,
0.009544268250465393,
-0.04591137170791626,
0.03314448148012161,
0.0058934311382472515,
0.02401518076658249,
-0.01699603721499443,
-0.024739166721701622,
0.030195556581020355,
-0.022214042022824287,
-0.03060169704258442,
0.02977176010608673,
0.005045836325734854,
-0.030919544398784637,
-0.0036066914908587933,
0.020924990996718407,
-0.06438187509775162,
0.0022867396473884583,
0.03683504834771156,
0.007796104531735182,
0.006873462349176407,
0.009297053329646587,
-0.017463980242609978,
0.04831289127469063,
0.03694099932909012,
-0.014612177386879921,
-0.015592209063470364,
0.0855364203453064,
-0.028129545971751213,
0.0014137612888589501,
0.006851389538496733,
0.03060169704258442,
0.005182687658816576,
0.057565800845623016,
-0.0005206416244618595,
-0.0240328386425972,
0.05678883567452431,
-0.013861702755093575,
0.01543328445404768,
-0.031996697187423706,
0.017684707418084145,
0.053680989891290665,
0.019618283957242966,
0.035775553435087204,
0.009703191928565502,
-0.0120164193212986,
-0.02662859670817852,
-0.0176935363560915,
-0.018929611891508102,
0.0193004347383976,
0.0250746738165617,
-0.014108918607234955,
0.022584864869713783,
0.0564003549516201,
-0.005760994274169207,
0.017190277576446533,
-0.09740274399518967,
0.04704149812459946,
0.009826799854636192,
-0.023679673671722412,
-0.023344168439507484,
-0.07981515675783157,
0.012846355326473713,
0.04591137170791626,
0.014885880053043365,
0.04269757866859436,
0.028147203847765923,
-0.09966299682855606,
0.019936131313443184,
0.030919544398784637,
0.012581482529640198,
0.018823662772774696,
0.004908985458314419,
-0.04852478951215744,
0.026540305465459824,
-0.026169482618570328,
-0.02948922850191593,
-0.006100915372371674,
0.059225670993328094,
0.042344413697719574,
-0.10510172694921494,
0.034415870904922485,
-0.05717732012271881,
0.03877745196223259,
0.04142618551850319,
-0.02002442255616188,
0.004622039385139942,
-0.00799475982785225,
-0.01847049966454506,
0.061803773045539856,
-0.0247921422123909,
0.01805553026497364,
-0.025904608890414238,
-0.00032529752934351563,
0.00037468536174856126,
0.016828283667564392,
-0.07310502976179123,
0.03030150569975376,
0.03265004977583885,
0.004688257351517677,
-0.022496573626995087,
0.05982604995369911,
0.06342832744121552,
-0.016510436311364174,
-0.01903556101024151,
0.027017077431082726,
-0.014179551042616367,
0.03987226262688637,
0.012740406207740307,
-0.03648188337683678,
-0.00987094547599554,
0.024368343874812126,
-0.043121375143527985,
-0.022743787616491318,
0.02000676468014717,
0.03408036753535271,
0.018399866297841072,
-0.006524712312966585,
0.00631722854450345,
0.04746529832482338,
-0.003204967128112912,
0.0664302259683609,
0.0006362477433867753,
-0.003112261416390538,
0.012943475507199764,
-0.007668082136660814,
-0.021507712081074715,
0.021278155967593193,
0.09817970544099808,
-0.025445496663451195,
-0.005849285516887903,
0.009482464753091335,
-0.0027436460368335247,
-0.0705975666642189,
-0.026840494945645332,
0.011283602565526962,
-0.08348806947469711,
-0.016378000378608704,
0.03951909765601158,
0.030018974095582962,
0.06318110972642899,
0.0041739619337022305,
-0.047288715839385986,
0.03771796077489853,
0.04697086662054062,
0.056859470903873444,
-0.01871771365404129,
-0.08447692543268204,
-0.009473634883761406,
0.016042493283748627,
0.0034301092382520437,
0.08701971173286438,
0.008939473889768124,
-0.015963030979037285,
-0.0179760679602623,
0.08426503092050552,
0.008904158137738705,
-0.04121428728103638,
0.04089643806219101,
-0.04824225977063179,
-0.00500610563904047,
-0.02269081398844719,
-0.028147203847765923,
-0.02820017747581005,
0.021543029695749283,
0.0012051735538989305,
-0.03923656791448593,
-0.0369056798517704,
-0.004293154925107956,
0.06978528946638107,
-0.03718821331858635,
0.04223846271634102,
0.004235765431076288,
0.0607442781329155,
0.009517780505120754,
-0.007884395308792591,
0.04449871554970741,
0.028023596853017807,
0.0021013282239437103,
0.020253978669643402,
-0.047853779047727585,
0.020183345302939415,
-0.0019236423540860415,
0.020924990996718407,
0.007932955399155617,
-0.022991003468632698,
-0.015848252922296524,
-0.0329325832426548,
-0.006948509719222784,
0.012925817631185055,
0.009659046307206154,
-0.04375706985592842,
-0.06289858371019363,
0.0029709956143051386,
-0.03515751659870148,
-0.039695680141448975,
-0.02217872440814972,
-0.031255051493644714,
-0.0031387486960738897,
-0.020501194521784782,
-0.028323786333203316,
0.027317266911268234,
0.008793793618679047,
-0.03402739018201828,
0.04001352936029434,
0.0314139761030674,
-0.008877670392394066,
-0.0194946750998497,
-0.04195593297481537,
-0.0660417452454567,
0.0022481121122837067,
0.016819454729557037,
0.052056435495615005,
-0.10213514417409897,
-0.009597242809832096,
-0.009800312109291553,
-0.0025758929550647736,
-0.026045875623822212,
-0.026805179193615913,
0.03328574448823929,
-0.006242181174457073,
-0.03824770450592041,
-0.027529165148735046,
0.022231699898838997,
0.07215148955583572,
-0.00042959139682352543,
0.024333028122782707,
-0.04640580341219902,
0.03948378190398216,
-0.040472641587257385,
0.0015925507759675384,
0.06176845729351044,
0.028111888095736504,
-0.07698984444141388,
0.030142582952976227,
0.044180866330862045,
-0.010718540288507938,
0.024703850969672203,
-0.028888849541544914,
-0.012766893021762371,
-0.02530422993004322,
-0.02977176010608673,
0.03870682045817375,
0.03210264444351196,
0.049443017691373825,
0.06865516304969788,
-0.005646216217428446,
-0.013808728195726871,
-0.02664625458419323,
-0.005760994274169207,
-0.07635414600372314,
-0.019847840070724487,
-0.012943475507199764,
-0.02136644721031189,
-0.0018265221733599901,
0.002324263332411647,
0.004277703817933798,
0.017737682908773422,
0.000678186013828963,
-0.025675052776932716,
-0.014188379980623722,
-0.010444837622344494,
0.01567167043685913,
-0.01903556101024151,
-0.015247873030602932,
0.08539515733718872,
0.04202656447887421,
-0.029206696897745132,
0.016360340639948845,
0.03455713763833046,
-0.03436289727687836,
-0.06254541873931885,
0.016192588955163956,
-0.0247921422123909,
0.033903785049915314,
-0.023785622790455818,
-0.04661770164966583,
0.002328677801415324,
-0.02104859985411167,
0.05300997942686081,
0.019724233075976372,
0.011928128078579903,
0.0030195557046681643,
0.030195556581020355,
-0.04192061722278595,
0.03725884482264519,
0.024386001750826836,
0.012095880694687366,
-0.01053312886506319,
0.034133341163396835,
-0.050785042345523834,
0.00778727512806654,
-0.018382208421826363,
-0.039978209882974625,
0.0028429734520614147,
-0.06759566813707352,
-0.04008416086435318,
0.023944547399878502,
-0.0785437673330307,
-0.02820017747581005,
0.016801796853542328,
0.02369733154773712,
-0.004560235422104597,
-0.030972518026828766,
0.014241354539990425,
-0.03715289756655693,
0.00021286432456690818,
-0.0641699731349945,
-0.02929498814046383,
-0.031466949731111526,
0.01792309433221817,
0.04237972944974899,
0.0016532508889213204,
-0.0245096106082201,
0.02791764587163925,
-0.04463998228311539,
0.030160240828990936,
-0.03510454297065735,
-0.043156690895557404,
-0.003467633156105876,
-0.0686904788017273,
0.00909398403018713,
-0.02267315611243248,
0.030160240828990936,
-0.022796763107180595,
-0.0011632352834567428,
-0.047853779047727585,
0.041002389043569565,
0.08045085519552231,
0.013464393094182014,
-0.009729679673910141,
-0.08694908022880554,
-0.04248568043112755,
-0.032861948013305664,
0.05216238275170326,
-0.054987698793411255,
-0.027546824887394905,
0.004505053628236055,
0.03432758152484894,
0.004297569394111633,
-0.000283083354588598,
-0.015265531837940216,
-0.0401194766163826,
-0.028553342446684837,
0.025763344019651413,
-0.05562339350581169,
0.052338965237140656,
-0.0052091749384999275,
-0.021490054205060005,
0.008864426985383034,
0.04852478951215744,
0.0020638045389205217,
0.01623673364520073,
-0.013243664987385273,
-0.02373264916241169,
0.0049707889556884766,
0.0732463002204895,
-0.03383314982056618,
-0.023926889523863792,
-0.012104710564017296,
-0.01253733690828085,
0.0016466290690004826,
-0.03768264129757881,
-0.0692555382847786,
0.00692643690854311,
0.06085022911429405,
-0.02503935620188713,
0.015662841498851776,
0.04591137170791626,
-0.012087051756680012,
-0.03031916543841362,
0.0035581314004957676,
0.027829356491565704,
-0.04379238560795784,
-0.006153889931738377,
0.008131610229611397,
-0.031784795224666595,
-0.0038185901939868927,
0.07359946519136429,
0.015230215154588223,
0.028924165293574333,
-0.01656341180205345,
-0.010603761300444603,
-0.03612871840596199,
-0.07282250374555588,
-0.0389893501996994,
0.024986382573843002,
0.04555821046233177,
0.029736444354057312,
-0.014285500161349773,
-0.018029043450951576,
-0.004118780139833689,
-0.026469672098755836,
0.06356959044933319,
0.043651122599840164,
-0.04425150156021118,
-0.057883646339178085,
-0.02904777228832245,
-0.029118405655026436,
-0.039978209882974625,
-0.06173313781619072,
-0.012925817631185055,
-0.017322713509202003,
-0.031166760250926018,
0.003149785101413727,
-0.05011403188109398,
-0.010639077983796597,
-0.07367009669542313,
0.0035581314004957676,
-0.013287810608744621,
-0.028659291565418243,
0.040437325835227966,
0.03305618837475777,
-0.05742453411221504,
0.0003079152083955705,
-0.021437080577015877,
-0.012316608801484108,
0.02869460918009281,
-0.025957584381103516,
0.015698157250881195,
-0.0234677754342556,
0.06537073105573654,
0.007301674224436283,
0.03987226262688637,
-0.015221386216580868,
0.053151242434978485,
-0.03436289727687836,
0.008873255923390388,
0.06190972030162811,
-0.005372513551265001,
-0.0221434086561203,
-0.04064922407269478,
0.024739166721701622,
-0.010021040216088295,
0.007579791359603405,
0.008065392263233662,
-0.0016245562583208084,
-0.06914959102869034,
-0.036799732595682144,
0.018929611891508102,
-0.06505288183689117,
-0.017781827598810196,
-0.02454492636024952,
0.01762290485203266,
0.008983619511127472,
0.06593579798936844,
0.03586384654045105,
0.041744034737348557,
-0.02846505120396614,
-0.007796104531735182,
-0.01822328381240368,
-0.017049012705683708,
0.003299880074337125,
0.021189864724874496,
0.027281951159238815,
-0.006233351770788431,
-0.036517199128866196,
-0.013535026460886002,
-0.0522330179810524,
0.06710124015808105,
-0.02899479866027832,
-0.035422392189502716,
0.01135423593223095,
-0.026540305465459824,
-0.045805424451828,
0.028111888095736504,
0.0029820320196449757,
0.011115849949419498,
0.0007736507686786354,
0.025233596563339233,
-0.015141923911869526,
0.022761445492506027,
0.008502433076500893,
0.023361826315522194,
-0.03432758152484894,
0.011654425412416458,
0.07903819531202316,
0.07543592154979706,
0.007191310171037912,
-0.02818251959979534,
0.006939680781215429,
0.02424473688006401,
-0.020642459392547607,
-0.0044653224758803844,
-0.015062462538480759,
-0.008493604138493538,
-0.06035579741001129,
0.003997379913926125,
0.01739334687590599,
0.020713092759251595,
-0.011645596474409103,
-0.04435744881629944,
0.04121428728103638,
0.026310749351978302,
-0.01711081527173519,
-0.019194485619664192,
0.0120164193212986,
-0.006003795191645622,
-0.005323953460901976,
-0.05113820731639862,
0.027529165148735046,
-0.11428400129079819,
0.019900813698768616,
0.049478333443403244,
-0.0046132099814713,
-0.035722579807043076,
0.04121428728103638,
-0.02851802669465542,
0.05424605309963226,
-0.00045194008271209896,
-0.062368836253881454,
0.09549565613269806,
0.03927188366651535,
-0.027017077431082726,
-0.03672909736633301,
0.03711757808923721,
0.017587587237358093,
0.00744735449552536,
-0.023926889523863792,
0.04149681702256203,
0.08793793618679047,
0.025904608890414238,
0.010868635028600693,
0.027829356491565704,
0.022991003468632698,
0.011416039429605007,
-0.0006594241713173687,
0.004184998106211424,
0.04979618266224861,
-0.011504330672323704,
0.030248532071709633,
0.027882330119609833,
0.04305074363946915,
-0.052374280989170074,
0.0072222123853862286,
0.03109612688422203,
0.044675298035144806,
0.007442940026521683,
-0.0029467155691236258,
-0.018082017078995705,
0.03450416401028633,
-0.04856010526418686,
0.014479740522801876,
0.02903011441230774,
0.012502020224928856,
0.007217797450721264,
0.0064231776632368565,
-0.012449045665562153,
0.003792102914303541,
-0.03173182159662247,
0.009067496284842491,
-0.010992242023348808,
-0.0058934311382472515,
0.015830595046281815,
-0.08956249803304672,
-0.1180981770157814,
-0.03515751659870148,
-0.04188529774546623,
0.05389288812875748,
0.0020560789853334427,
-0.011742716655135155,
-0.026681572198867798,
0.0007328161736950278,
-0.013640975579619408,
-0.009985723532736301,
-0.03351530432701111,
0.042838841676712036,
0.009985723532736301,
-0.023043977096676826,
-0.006939680781215429,
0.03081359528005123,
-0.050785042345523834,
0.010621420107781887,
0.021030940115451813,
0.012157685123383999,
0.022355306893587112,
-0.013164203613996506,
-0.022319991141557693,
-0.04358048737049103,
-0.03397441655397415,
0.035722579807043076,
-0.03379783406853676,
0.07239870727062225,
-0.02588695101439953,
0.013914678245782852,
-0.06272199749946594,
0.0005013279151171446,
0.004123194608837366,
-0.023414799943566322,
-0.04884263873100281,
-0.06413465738296509,
0.04824225977063179,
0.0261165089905262,
-0.04492251202464104,
-0.009500122629106045,
0.02028929628431797,
-0.026399040594697,
-0.021207522600889206,
-0.032826632261276245,
-0.03764732554554939,
0.060037948191165924,
0.05424605309963226,
0.016492778435349464,
-0.029171381145715714,
0.016439802944660187,
0.007288430351763964,
-0.04990212991833687,
0.06258073449134827,
-0.009164616465568542,
0.035722579807043076,
-0.020748408511281013,
-0.0265932809561491,
-0.06522946804761887,
-0.027317266911268234,
0.02505701594054699,
0.014859392307698727,
-0.005381342954933643,
-0.0190179031342268,
-0.01293464656919241,
-0.009570755995810032,
0.04227377846837044,
-0.006846975069493055,
0.07819060236215591,
0.06205098703503609,
0.028412077575922012,
0.04852478951215744
] |
726,315 | penne.delegates | on_update | null | def on_update(self, message: dict):
# Inject methods and signals if applicable
if self.methods_list:
inject_methods(self, self.methods_list)
if self.signals_list:
inject_signals(self, self.signals_list)
| (self, message: dict) | [
0.03956679627299309,
-0.03768763318657875,
-0.04913660138845444,
0.003140636021271348,
0.011962256394326687,
-0.04875380918383598,
0.0011342393700033426,
0.03643485903739929,
0.03580847010016441,
0.0642394945025444,
-0.013824018649756908,
-0.03180655464529991,
0.009395808912813663,
-0.016755858436226845,
-0.06632745265960693,
-0.02611686848104,
0.01048328634351492,
0.019191808998584747,
-0.03580847010016441,
-0.07175613939762115,
-0.0067597622983157635,
-0.023559121415019035,
0.04214194416999817,
0.06159474700689316,
0.009691602550446987,
0.011796959675848484,
-0.006329121068120003,
0.03208494558930397,
0.07871599495410919,
0.007412249222397804,
-0.029492400586605072,
-0.035095084458589554,
0.020844776183366776,
-0.0016453539719805121,
-0.003562577534466982,
0.004421684890985489,
0.021732157096266747,
0.02931840345263481,
-0.05122455954551697,
0.06507467478513718,
0.06646664440631866,
0.008691122755408287,
0.037270043045282364,
0.022497741505503654,
0.04889300465583801,
0.07509687542915344,
-0.07391369342803955,
0.09193973243236542,
0.04871900752186775,
-0.013371627777814865,
-0.029422800987958908,
-0.015285588800907135,
0.023994112387299538,
0.02385491505265236,
-0.01976599730551243,
0.08108235150575638,
0.054843682795763016,
0.04409070312976837,
0.018321827054023743,
-0.010448487475514412,
0.014172011986374855,
-0.03340731933712959,
0.010526785627007484,
-0.04311632364988327,
0.01654706336557865,
-0.04934539645910263,
0.07996877282857895,
0.0177911389619112,
-0.03271133452653885,
0.005593986250460148,
0.013336828909814358,
-0.03688725084066391,
-0.039671193808317184,
-0.01077038049697876,
-0.002090132562443614,
0.027421841397881508,
0.021697359159588814,
0.012536444701254368,
0.015224690549075603,
0.03754843771457672,
0.039845190942287445,
-0.055818066000938416,
0.024898894131183624,
0.009108714759349823,
0.020531581714749336,
-0.04683984816074371,
0.013528225012123585,
-0.03295493125915527,
-0.02937060222029686,
0.019035212695598602,
-0.0370960459113121,
-0.0015050694346427917,
-0.0010292978258803487,
0.024272507056593895,
-0.016660161316394806,
-0.04148075729608536,
-0.009543705731630325,
-0.06114235520362854,
-0.0013582598185166717,
0.07488807290792465,
0.003416855586692691,
0.03537347912788391,
0.03137155994772911,
-0.058984801173210144,
0.019905194640159607,
-0.05602686107158661,
-0.01241464726626873,
-0.039044804871082306,
-0.012231951579451561,
0.025647077709436417,
0.056896843016147614,
-0.033041927963495255,
-0.005667934659868479,
-0.003958419431000948,
-0.018321827054023743,
0.018443625420331955,
-0.02028798684477806,
0.0020749077666550875,
0.034016307443380356,
-0.005080696661025286,
-0.04116756096482277,
0.03573887422680855,
-0.00903041660785675,
-0.032328542321920395,
-0.015024594031274319,
-0.036295659840106964,
-0.010022195987403393,
0.018843816593289375,
0.06486587971448898,
-0.027300044894218445,
-0.0452042818069458,
-0.046387456357479095,
0.0022793535608798265,
-0.016138171777129173,
0.0028948660474270582,
-0.029388001188635826,
-0.007607995066791773,
-0.06416989117860794,
-0.0014789699343964458,
0.06890259683132172,
0.038905609399080276,
0.04579586908221245,
0.02723044529557228,
-0.015546583570539951,
-0.00958720501512289,
0.0432555191218853,
0.006237773224711418,
0.03594766929745674,
-0.016895055770874023,
-0.034016307443380356,
-0.000009498439794697333,
-0.021036172285676003,
-0.015007195062935352,
-0.0010341914603486657,
-0.03657405450940132,
-0.030866971239447594,
-0.031075768172740936,
-0.006350870709866285,
-0.0402279831469059,
-0.007842889986932278,
0.02265433967113495,
-0.021210169419646263,
0.01057028491050005,
-0.0008101710118353367,
-0.005837581120431423,
0.04851021245121956,
-0.00582888163626194,
-0.006655364762991667,
-0.029301004484295845,
0.07739362865686417,
-0.011422867886722088,
0.0019335356773808599,
-0.010535486042499542,
0.030866971239447594,
0.06065516546368599,
0.0583932101726532,
0.003634351072832942,
-0.015085493214428425,
0.05477408692240715,
-0.006477018352597952,
-0.012640843167901039,
-0.028048228472471237,
-0.004676154814660549,
0.07102535665035248,
-0.011849159374833107,
0.05616605654358864,
0.010439787991344929,
-0.01690375618636608,
-0.025194687768816948,
-0.02536868304014206,
0.0027926431503146887,
-0.012962736189365387,
0.018530622124671936,
-0.025386083871126175,
-0.004104141611605883,
0.05477408692240715,
-0.007699343375861645,
-0.027213046327233315,
-0.06211673468351364,
0.020670779049396515,
0.004206364508718252,
-0.05849761143326759,
-0.0071425545029342175,
0.01184045895934105,
0.0030253634322434664,
0.052790526300668716,
0.04938019439578056,
0.03692204877734184,
0.044647492468357086,
-0.08484067767858505,
-0.00004995601557311602,
0.030553778633475304,
0.012205851264297962,
-0.010639883577823639,
-0.0033864059951156378,
-0.04593506455421448,
0.04576106742024422,
-0.023785315454006195,
-0.036956846714019775,
0.00351037853397429,
0.04329032078385353,
0.04179394990205765,
-0.08832060545682907,
0.010491986759006977,
-0.045726269483566284,
0.038870807737112045,
0.0301187876611948,
0.006890259683132172,
0.010457186959683895,
-0.040123581886291504,
0.00910001527518034,
0.059785183519124985,
-0.026986850425601006,
0.030379781499505043,
-0.005589636508375406,
-0.003277658252045512,
-0.019696399569511414,
-0.004502158612012863,
-0.041097965091466904,
0.01285833865404129,
0.0413067601621151,
-0.008156084455549717,
-0.005868030712008476,
0.06657104194164276,
0.00838662963360548,
-0.05860200896859169,
0.014493905007839203,
0.008325730450451374,
-0.04958898946642876,
0.021297166123986244,
0.02448130212724209,
-0.02540348283946514,
-0.0017432270105928183,
0.04677024856209755,
-0.03737444058060646,
-0.04276832938194275,
0.048475414514541626,
0.07885519415140152,
0.019244007766246796,
-0.0023728767409920692,
-0.017251748591661453,
0.008103884756565094,
-0.03020578622817993,
0.03880121186375618,
-0.014780999161303043,
-0.00823003239929676,
0.02448130212724209,
0.028239624574780464,
-0.028291825205087662,
0.05348651111125946,
0.08699823170900345,
-0.03803562745451927,
-0.02051418274641037,
0.03845321759581566,
0.005093746352940798,
-0.014694000594317913,
0.012110153213143349,
0.008021236397325993,
-0.06594465672969818,
-0.03479929268360138,
0.06879819929599762,
0.0017965134466066957,
0.05894999951124191,
0.03551267832517624,
-0.01886121556162834,
0.00666406424716115,
0.05185094475746155,
0.07669764012098312,
-0.03133676201105118,
-0.043499115854501724,
0.05031977593898773,
0.015207290649414062,
0.02105357125401497,
0.08066476136445999,
-0.017695439979434013,
-0.0004126978456042707,
0.0007449223194271326,
0.07565365731716156,
0.04596986621618271,
-0.03737444058060646,
0.02625606581568718,
0.0014985444722697139,
-0.03448610007762909,
-0.014476505108177662,
0.029266204684972763,
-0.026691056787967682,
0.04746623337268829,
0.004408635199069977,
-0.025246886536478996,
-0.04503028467297554,
0.011918757110834122,
0.03834882006049156,
-0.07307851314544678,
0.03467749431729317,
-0.0002741803473327309,
0.010457186959683895,
-0.020844776183366776,
-0.011092274449765682,
0.016947254538536072,
0.04155035316944122,
-0.025177286937832832,
0.026377864181995392,
-0.015607482753694057,
0.04339471831917763,
-0.037931229919195175,
-0.005489588249474764,
0.038870807737112045,
0.005189444404095411,
-0.0008351830183528364,
-0.054182495921850204,
0.003325507277622819,
-0.016668861731886864,
0.04360351338982582,
-0.03227634355425835,
-0.03852281719446182,
-0.003429905278608203,
-0.026865053921937943,
-0.04840581491589546,
0.003047113073989749,
0.022549942135810852,
0.02571667730808258,
0.010274491272866726,
-0.02536868304014206,
0.026865053921937943,
-0.0006301934481598437,
-0.013014934957027435,
0.04329032078385353,
0.05647924914956093,
0.022810935974121094,
-0.006194273941218853,
-0.03765283524990082,
-0.04631785675883293,
-0.01525948941707611,
0.02034018561244011,
0.07001617550849915,
-0.10189232975244522,
-0.014189410954713821,
-0.07025977224111557,
0.012632142752408981,
-0.017069052904844284,
-0.050563372671604156,
0.04137635976076126,
0.008125634863972664,
-0.02020098827779293,
-0.030153587460517883,
0.021331965923309326,
0.020131390541791916,
-0.023298125714063644,
0.045900266617536545,
-0.06149034947156906,
0.012753940187394619,
-0.003588676918298006,
0.009404508396983147,
0.046874646097421646,
0.03229374438524246,
-0.03994958847761154,
0.0236809179186821,
0.06611865758895874,
-0.0030231885612010956,
0.01833922602236271,
0.013945816084742546,
-0.03747883811593056,
-0.020705578848719597,
-0.015511784702539444,
0.06472668051719666,
0.04294232651591301,
0.03587806969881058,
0.021610360592603683,
-0.014363408088684082,
-0.009900398552417755,
-0.014302508905529976,
0.02963159792125225,
-0.09006056934595108,
-0.027700236067175865,
-0.041724350303411484,
-0.007186053786426783,
0.015511784702539444,
-0.0022532541770488024,
-0.003767023328691721,
-0.03537347912788391,
0.007094705477356911,
-0.034607894718647,
0.01001349650323391,
0.0057897320948541164,
0.00930011086165905,
-0.02425510622560978,
-0.03182395175099373,
0.08644144237041473,
0.037444036453962326,
0.008695472963154316,
-0.01873941905796528,
0.01682545803487301,
-0.032189346849918365,
-0.043011926114559174,
-0.00965680368244648,
-0.046874646097421646,
-0.00376484845764935,
-0.04944979399442673,
-0.033668313175439835,
0.03485149145126343,
-0.0018280503572896123,
0.052790526300668716,
0.014476505108177662,
0.026760656386613846,
-0.011396768502891064,
-0.014293809421360493,
-0.02051418274641037,
0.02197575382888317,
0.0215755607932806,
0.05108536034822464,
0.0030514628160744905,
0.04036717861890793,
-0.07447048276662827,
-0.0007824403583072126,
-0.0007797216530889273,
-0.03399890661239624,
0.03671325370669365,
-0.061385951936244965,
-0.04026278108358383,
0.0057027339935302734,
-0.061873141676187515,
-0.01368482131510973,
0.013519524596631527,
-0.0005026866565458477,
-0.001691028126515448,
-0.019470203667879105,
-0.012954036705195904,
-0.04457789286971092,
-0.024046311154961586,
-0.06584025919437408,
-0.0322241447865963,
-0.026047270745038986,
0.006076826248317957,
0.044647492468357086,
-0.013536924496293068,
-0.039357997477054596,
0.005593986250460148,
-0.020983973518013954,
0.03563447669148445,
-0.056270454078912735,
-0.06831101328134537,
-0.026012470945715904,
-0.07913359254598618,
0.00045810005394741893,
0.006055076606571674,
0.02660405822098255,
-0.0029448901768773794,
-0.013815319165587425,
-0.03643485903739929,
0.04436909779906273,
0.09514126181602478,
-0.037896428257226944,
0.006490068044513464,
-0.06584025919437408,
-0.026360463351011276,
-0.03431210294365883,
0.03097137063741684,
-0.011762160807847977,
-0.06403069943189621,
-0.0068772099912166595,
0.002353302203118801,
0.02154076099395752,
-0.021906154230237007,
-0.012579943984746933,
-0.003277658252045512,
-0.0603419728577137,
0.025107689201831818,
-0.06291712075471878,
0.06048116832971573,
-0.04917139932513237,
-0.01686025783419609,
0.009630704298615456,
0.06681463867425919,
-0.05219893902540207,
-0.008199582807719707,
-0.031075768172740936,
-0.05574846640229225,
0.016929855570197105,
0.07906398922204971,
-0.028639817610383034,
-0.01512899249792099,
-0.019452804699540138,
0.035617075860500336,
-0.0036256511230021715,
-0.03017098642885685,
-0.050215378403663635,
0.01774763874709606,
0.06514427810907364,
0.0022086675744503736,
0.015355187468230724,
0.029092207551002502,
-0.02034018561244011,
-0.013806618750095367,
0.007564496248960495,
0.054843682795763016,
-0.058010417968034744,
-0.007194753736257553,
0.02545568160712719,
-0.022636938840150833,
-0.019818196073174477,
0.04353391379117966,
-0.009682903066277504,
0.03368571400642395,
0.002238029381260276,
0.0021358064841479063,
-0.04450829327106476,
-0.04969339072704315,
-0.03946239873766899,
0.013719621114432812,
0.0031167115084826946,
0.014215510338544846,
0.009039116092026234,
-0.021036172285676003,
-0.005359090864658356,
-0.015955476090312004,
0.05268612876534462,
0.025072889402508736,
-0.06994657963514328,
-0.14246830344200134,
0.02065338008105755,
-0.02683025412261486,
-0.012562544085085392,
-0.01980079710483551,
-0.04694424569606781,
-0.013728320598602295,
-0.030188385397195816,
-0.010613784193992615,
-0.05219893902540207,
-0.006729313172399998,
-0.07412248849868774,
-0.04805782064795494,
-0.0023293776903301477,
-0.0027121698949486017,
0.057523228228092194,
-0.014572203159332275,
-0.08219593018293381,
-0.03182395175099373,
-0.01988779567182064,
-0.01717345044016838,
0.023785315454006195,
-0.03365091606974602,
-0.02608206868171692,
0.005772332660853863,
0.059959180653095245,
0.017608441412448883,
0.06646664440631866,
-0.006746712606400251,
0.04457789286971092,
-0.03205014765262604,
0.01865242049098015,
0.04871900752186775,
0.008691122755408287,
-0.04168955236673355,
-0.06497027724981308,
0.033215925097465515,
-0.008860769681632519,
0.027752434834837914,
-0.033668313175439835,
0.01137066911906004,
-0.07259131968021393,
-0.03314632549881935,
0.004104141611605883,
-0.019731199368834496,
0.005955028813332319,
0.010639883577823639,
0.0071599544025957584,
0.023106729611754417,
0.07314810901880264,
0.050841767340898514,
0.055957261472940445,
-0.07433129101991653,
-0.04008878394961357,
-0.027978630736470222,
-0.025560079142451286,
0.004136765841394663,
0.027491440996527672,
-0.007990787737071514,
-0.0013267230242490768,
-0.0186002217233181,
-0.00936970952898264,
-0.03671325370669365,
0.05717523768544197,
-0.008408378809690475,
-0.03960159420967102,
0.00124298722948879,
-0.05487848445773125,
-0.04482148960232735,
0.03540828078985214,
-0.001527906395494938,
0.021732157096266747,
-0.0033211575355380774,
0.029666395857930183,
0.0025903722271323204,
0.032154545187950134,
0.025333885103464127,
0.014633102342486382,
0.010561585426330566,
0.01886121556162834,
0.07025977224111557,
0.06267352402210236,
-0.017321348190307617,
0.03131936118006706,
-0.004811001941561699,
-0.0009950422681868076,
-0.02362871915102005,
0.010491986759006977,
-0.0058201816864311695,
-0.019418004900217056,
-0.04297712445259094,
-0.0008188708452507854,
0.020218389108777046,
0.03772243112325668,
0.026638858020305634,
-0.031441159546375275,
0.04917139932513237,
0.019748598337173462,
-0.048440612852573395,
-0.04235073924064636,
-0.02562967874109745,
-0.012910537421703339,
0.08511906862258911,
-0.026865053921937943,
0.05860200896859169,
-0.07697603106498718,
0.02220194786787033,
0.09312290698289871,
-0.032815732061862946,
-0.04548267647624016,
0.01931360736489296,
-0.005620085634291172,
0.014241610653698444,
-0.03733963891863823,
-0.05745363235473633,
0.10293630510568619,
0.04370791092514992,
0.006124675273895264,
-0.027091247960925102,
-0.02251514233648777,
0.031667355448007584,
-0.002801343100145459,
-0.04746623337268829,
0.030936570838093758,
0.044960685074329376,
0.01628606952726841,
0.011718661524355412,
0.00787768978625536,
0.00859107542783022,
0.02625606581568718,
0.03570407256484032,
-0.00894341804087162,
0.06782381981611252,
0.017625842243433,
0.013797919265925884,
0.029561998322606087,
0.016694961115717888,
-0.0552612766623497,
0.01788683608174324,
0.009969997219741344,
0.0316847562789917,
0.003817047458142042,
0.010361488908529282,
-0.030275383964180946,
0.006590115837752819,
-0.02131456695497036,
-0.012188452295958996,
0.03251993656158447,
0.025072889402508736,
0.011475066654384136,
0.004928449634462595,
-0.005433039274066687,
-0.02434210479259491,
-0.04405590519309044,
-0.028326623141765594,
-0.03133676201105118,
0.03163255751132965,
-0.04165475070476532,
-0.07962077856063843,
-0.09270531684160233,
-0.017921635881066322,
-0.046248260885477066,
0.07210413366556168,
0.009900398552417755,
-0.005446089431643486,
-0.007621044758707285,
0.0005486325826495886,
0.004062817431986332,
-0.03088437207043171,
-0.03523428365588188,
0.029214005917310715,
0.02888341248035431,
-0.0030819124076515436,
-0.013319429010152817,
0.0001758995495038107,
-0.06744103133678436,
0.05122455954551697,
0.04043677821755409,
0.005198144353926182,
0.011866558343172073,
0.018408825621008873,
0.010439787991344929,
-0.06065516546368599,
-0.01922660879790783,
0.016077272593975067,
-0.04186354950070381,
0.06082916259765625,
-0.014224210754036903,
0.021749557927250862,
-0.03436430171132088,
-0.0013767470372840762,
0.032554738223552704,
-0.03187615051865578,
-0.06211673468351364,
-0.047187838703393936,
0.02736964263021946,
0.04993698373436928,
-0.039218802005052567,
-0.022236747667193413,
0.016364367678761482,
-0.04134155809879303,
-0.00202488387003541,
-0.006833711173385382,
-0.06730183213949203,
0.053242918103933334,
0.04214194416999817,
0.03761803358793259,
-0.018930815160274506,
0.011779560707509518,
-0.014024114236235619,
-0.01820003055036068,
0.04826661944389343,
0.029962191358208656,
0.04579586908221245,
-0.012997535988688469,
-0.012432047165930271,
0.015285588800907135,
-0.032241545617580414,
-0.005176394712179899,
0.0019574600737541914,
-0.0019585476256906986,
-0.019157011061906815,
0.012640843167901039,
0.003062337636947632,
0.026673657819628716,
-0.001499632024206221,
0.06006357818841934,
0.07154734432697296,
-0.009726402349770069,
0.0372004434466362
] |
726,316 | penne.delegates | request_set_position | Request to set the position of the entity
Args:
position (Vec3): Position to set
| def request_set_position(self, position: Vec3):
"""Request to set the position of the entity
Args:
position (Vec3): Position to set
"""
self.set_position(position)
| (self, position: List[float]) | [
0.026555391028523445,
0.021147558465600014,
-0.08030543476343155,
0.012482934631407261,
0.006539502646774054,
0.01602480560541153,
-0.06264791637659073,
0.02809308096766472,
0.030270036309957504,
-0.009338444098830223,
-0.010591057129204273,
-0.060298189520835876,
-0.012750734575092793,
0.01916065625846386,
-0.0232208501547575,
0.01326041854918003,
0.03230877220630646,
0.007684131618589163,
-0.035591479390859604,
-0.03370824083685875,
0.029250668361783028,
0.019367985427379608,
0.0011327506508678198,
-0.03109935112297535,
0.012163301929831505,
0.032222382724285126,
-0.024914035573601723,
0.03208416327834129,
0.04910242184996605,
-0.0077359639108181,
0.024689430370926857,
0.011826392263174057,
0.03821764886379242,
0.009787657298147678,
-0.01781301759183407,
-0.0027319916989654303,
0.006759789772331715,
0.03389829397201538,
0.027643868699669838,
0.011679534800350666,
-0.08065098524093628,
-0.003872301196679473,
-0.0017234224360436201,
0.011454927735030651,
0.012543405406177044,
0.013372721150517464,
0.030010875314474106,
0.02456848882138729,
0.009001534432172775,
0.028058527037501335,
0.03880507871508598,
0.04146580398082733,
0.06351178884506226,
-0.061369389295578,
-0.05000084638595581,
0.024533933028578758,
0.03299986943602562,
0.08445201814174652,
0.004539641551673412,
0.026037069037556648,
0.048065777868032455,
0.06572329998016357,
-0.03687001019716263,
-0.059952639043331146,
-0.02106117270886898,
-0.04968985170125961,
0.013675075955688953,
0.023238126188516617,
0.03412289917469025,
0.057602912187576294,
-0.02031824365258217,
0.023359069600701332,
0.0012742095859721303,
-0.0016251570777967572,
0.029907209798693657,
0.03049464151263237,
-0.015713810920715332,
0.03680089861154556,
0.0060989283956587315,
0.017329249531030655,
-0.019972695037722588,
0.004487809259444475,
0.02944071963429451,
0.01910882443189621,
-0.043158989399671555,
0.016957785934209824,
0.030529197305440903,
0.01976536586880684,
0.039288848638534546,
-0.02617528848350048,
-0.031272124499082565,
0.05013906583189964,
-0.0410165898501873,
-0.010219592601060867,
-0.02095750719308853,
0.038286756724119186,
0.04699457809329033,
-0.07636618614196777,
-0.07215049862861633,
0.03244699165225029,
-0.03089202381670475,
0.11700267344713211,
0.014495753683149815,
0.02733287401497364,
-0.008012402802705765,
-0.017778463661670685,
-0.016301244497299194,
-0.04502495005726814,
0.02482764981687069,
0.003788073780015111,
0.004116344731301069,
0.043953750282526016,
-0.020594682544469833,
0.06275158375501633,
-0.04547416418790817,
-0.0363171324133873,
-0.030425531789660454,
-0.024447545409202576,
0.009442108683288097,
0.004392783623188734,
-0.007312667090445757,
0.03880507871508598,
0.00897561851888895,
-0.012707540765404701,
0.009338444098830223,
0.005286889616400003,
0.006172357592731714,
0.04924064129590988,
0.029250668361783028,
-0.0988268330693245,
-0.01344183087348938,
-0.06872956454753876,
-0.00940755382180214,
0.04353909194469452,
0.013381360098719597,
0.000146723075886257,
-0.01657768152654171,
-0.05369821563363075,
-0.06644894927740097,
0.0564626008272171,
-0.010720637626945972,
0.043953750282526016,
0.040601931512355804,
-0.019696256145834923,
-0.054389312863349915,
0.017277417704463005,
-0.03199777752161026,
-0.0667944997549057,
-0.04702913016080856,
-0.03697367385029793,
0.05335266515612602,
-0.020421907305717468,
0.018694166094064713,
-0.03331086039543152,
-0.038494087755680084,
-0.021285777911543846,
-0.0010992756579071283,
-0.11831575632095337,
0.07076830416917801,
0.05445842072367668,
-0.027799366042017937,
-0.016093915328383446,
0.019074268639087677,
0.016223495826125145,
-0.013191308826208115,
0.008332034572958946,
-0.04308988153934479,
-0.015713810920715332,
-0.02411927469074726,
0.009614882990717888,
0.02733287401497364,
0.035038601607084274,
0.01781301759183407,
0.009182947687804699,
0.06551596522331238,
-0.03997994586825371,
0.0005760939093306661,
-0.017225585877895355,
-0.0021974716801196337,
-0.01985175348818302,
0.03251609951257706,
-0.009018812328577042,
0.03946162387728691,
-0.00940755382180214,
0.01474627573043108,
0.010219592601060867,
-0.015990249812602997,
0.06631072610616684,
-0.0019177934154868126,
0.0060989283956587315,
0.013640521094202995,
0.005861363839358091,
-0.04177679494023323,
-0.029717158526182175,
-0.01615438610315323,
0.045819710940122604,
0.02883601002395153,
-0.06558507680892944,
-0.0017882126849144697,
0.0357988104224205,
0.019989972934126854,
-0.014011985622346401,
0.02387739159166813,
0.006837537977844477,
-0.004146580118685961,
0.06461754441261292,
0.0356951467692852,
-0.020698346197605133,
-0.020784733816981316,
-0.041742242872714996,
-0.028870565816760063,
-0.008314757607877254,
-0.00505364453420043,
-0.02192504331469536,
0.0014847781276330352,
-0.04485217481851578,
-0.07063008099794388,
-0.007412012200802565,
0.03711189329624176,
0.03521137684583664,
0.0975828543305397,
-0.0037297625094652176,
0.0019296716200187802,
-0.04201868176460266,
-0.012457017786800861,
0.00202577724121511,
0.009485302492976189,
-0.057257361710071564,
-0.049828071147203445,
-0.007688451092690229,
-0.036731790751218796,
0.03370824083685875,
-0.027799366042017937,
0.014435282908380032,
0.012932146899402142,
-0.04074015095829964,
0.05407831817865372,
0.009338444098830223,
-0.06413377821445465,
-0.030529197305440903,
-0.036731790751218796,
0.04730556905269623,
0.021734992042183876,
0.05552962049841881,
-0.06810758262872696,
0.049378860741853714,
0.0004427338426467031,
0.0518668070435524,
-0.01421931479126215,
-0.00832771509885788,
-0.03835586830973625,
-0.0020657312124967575,
-0.053836435079574585,
0.05628982558846474,
0.043711867183446884,
-0.038148537278175354,
-0.013122199103236198,
0.050173621624708176,
-0.002988993190228939,
0.04146580398082733,
-0.09468024969100952,
-0.07111385464668274,
-0.017830295488238335,
-0.028334965929389,
0.06365000456571579,
-0.027505649253726006,
-0.014841302298009396,
0.025501469150185585,
-0.03562603518366814,
0.05881233140826225,
0.093712717294693,
0.04619981348514557,
-0.008655986748635769,
0.0011327506508678198,
0.04232967272400856,
-0.04464484751224518,
-0.06088561937212944,
-0.00409906730055809,
0.008003763854503632,
0.012863037176430225,
0.07463844120502472,
-0.018279507756233215,
-0.031030241400003433,
0.04499039426445961,
-0.03731922060251236,
-0.03139306977391243,
0.011161211878061295,
0.10020902007818222,
-0.01755385659635067,
-0.029423441737890244,
-0.0363171324133873,
0.0621987022459507,
0.0006986555526964366,
-0.048929646611213684,
0.009554412215948105,
0.0010323256719857454,
-0.05953798070549965,
0.06368456035852432,
0.02638261765241623,
0.03376007452607155,
0.04830766096711159,
-0.02652083709836006,
-0.05888143926858902,
0.045163169503211975,
0.061058394610881805,
0.044264744967222214,
0.04433385282754898,
0.023359069600701332,
-0.012370631098747253,
-0.022547030821442604,
0.008889231830835342,
0.044955842196941376,
-0.08576510101556778,
0.007757560350000858,
0.06489398330450058,
0.07111385464668274,
0.01456486340612173,
-0.03344907984137535,
0.012206495739519596,
0.024603042751550674,
-0.0027449496556073427,
-0.05632438138127327,
0.024758540093898773,
-0.015506482683122158,
-0.024240216240286827,
-0.018884217366576195,
0.009165669791400433,
0.02327268198132515,
-0.0011057547526434064,
0.027816642075777054,
-0.01884966343641281,
0.0008676503202877939,
-0.011601786129176617,
0.013407276012003422,
-0.03251609951257706,
-0.029872655868530273,
-0.012629792094230652,
0.012448379769921303,
0.07657351344823837,
-0.016810927540063858,
0.012370631098747253,
0.00790873821824789,
-0.0465453639626503,
-0.015661979094147682,
0.024741262197494507,
-0.0025851335376501083,
0.043815530836582184,
-0.012128747068345547,
0.05013906583189964,
0.051486704498529434,
-0.05376732349395752,
-0.0015981611795723438,
0.04191501438617706,
-0.036835454404354095,
-0.018072178587317467,
0.036213468760252,
0.036213468760252,
-0.0777483806014061,
-0.020922953262925148,
-0.010850218124687672,
0.010193676687777042,
-0.04896420240402222,
0.02999359741806984,
-0.03301714360713959,
-0.06223325803875923,
-0.027401983737945557,
-0.02232242375612259,
-0.056047942489385605,
0.06993898749351501,
0.030719248577952385,
0.010608334094285965,
-0.05680815130472183,
-0.024896759539842606,
0.0616803802549839,
0.005101157817989588,
0.014668527990579605,
-0.039841726422309875,
0.010418282821774483,
-0.034727610647678375,
-0.06454843282699585,
0.0410165898501873,
-0.05929609760642052,
-0.005977986380457878,
-0.0077359639108181,
0.026365339756011963,
0.01594705693423748,
0.07567509263753891,
0.011696811765432358,
-0.010426921769976616,
0.02232242375612259,
0.023600952699780464,
-0.019748087972402573,
0.04253700375556946,
-0.05045006051659584,
-0.013752824626863003,
0.0047944835387170315,
-0.008496169932186604,
-0.01338999904692173,
0.019419817253947258,
-0.03009726107120514,
0.020283687859773636,
0.010029541328549385,
-0.018918773159384727,
0.03725011274218559,
0.005952070467174053,
-0.010737915523350239,
-0.04433385282754898,
0.013346805237233639,
0.0038701416924595833,
0.021389443427324295,
-0.043815530836582184,
0.0005674551939591765,
0.006103247869759798,
-0.039392512291669846,
-0.0027492691297084093,
-0.007200364023447037,
0.022149650380015373,
-0.030978409573435783,
0.021942321211099625,
0.0565662644803524,
0.010496031492948532,
0.009735824540257454,
0.025656964629888535,
0.08099653571844101,
0.027764810249209404,
0.0029414803721010685,
0.018884217366576195,
-0.043262653052806854,
0.04298621416091919,
0.03514226898550987,
-0.06389188766479492,
0.013243140652775764,
-0.03474488854408264,
-0.006345131900161505,
0.025967959314584732,
-0.04098203405737877,
0.019488926976919174,
-0.06416832655668259,
-0.08493578433990479,
0.09613155573606491,
0.05863955616950989,
-0.017778463661670685,
0.011454927735030651,
0.0005577366682700813,
-0.01058241818100214,
-0.009588967077434063,
-0.030805636197328568,
0.015446011908352375,
0.03419201076030731,
0.00749839935451746,
0.04388464242219925,
0.057948458939790726,
0.0677274763584137,
-0.005027728620916605,
0.017692076042294502,
-0.030909299850463867,
-0.10297340899705887,
-0.05746469274163246,
0.00042653625132516026,
-0.04796211048960686,
-0.012577960267663002,
0.01113529596477747,
-0.0765044093132019,
0.002820538356900215,
-0.00648335088044405,
0.05304167419672012,
-0.02240881137549877,
-0.00678138667717576,
-0.0281794685870409,
-0.015039992518723011,
0.029630770906805992,
-0.06703638285398483,
-0.02242608740925789,
-0.07332535833120346,
-0.01747610792517662,
-0.0007299709250219166,
0.00409906730055809,
0.02999359741806984,
-0.036386240273714066,
-0.019730811938643456,
-0.03258521109819412,
-0.06365000456571579,
0.0018141288310289383,
0.054700303822755814,
0.007653896231204271,
0.0033626174554228783,
-0.013277695514261723,
0.0033539787400513887,
-0.0005582765443250537,
0.038494087755680084,
-0.004543961025774479,
-0.019074268639087677,
0.04537050053477287,
-0.03400195762515068,
0.0026369658298790455,
0.016067998483777046,
-0.01881510764360428,
0.013882405124604702,
-0.02968260459601879,
-0.017985790967941284,
-0.022097816690802574,
0.021389443427324295,
0.03160039708018303,
-0.039150629192590714,
0.025138642638921738,
-0.03149673342704773,
0.006124844774603844,
-0.01261251512914896,
-0.013675075955688953,
-0.013813295401632786,
0.011446289718151093,
-0.00030397457885555923,
0.03707733750343323,
-0.029216112568974495,
0.025708798319101334,
0.05559873208403587,
-0.0720122754573822,
0.04875687137246132,
0.02182137779891491,
-0.02652083709836006,
0.015860669314861298,
0.006880731787532568,
0.08058187365531921,
-0.03973805904388428,
0.006712276954203844,
0.008141983300447464,
-0.013199946843087673,
-0.03334541618824005,
0.04308988153934479,
-0.003513794858008623,
0.023462733253836632,
-0.009053367190063,
-0.0153423473238945,
0.031427621841430664,
0.09260696172714233,
0.07228871434926987,
0.03139306977391243,
0.0064185606315732,
-0.04443752020597458,
0.040912926197052,
-0.014668527990579605,
-0.007636618800461292,
-0.01576564460992813,
-0.024551210924983025,
0.004427338484674692,
-0.03089202381670475,
-0.051037490367889404,
-0.027056436985731125,
0.015860669314861298,
-0.03942706808447838,
-0.01620621792972088,
0.004340951330959797,
-0.011567231267690659,
-0.013277695514261723,
0.02066379226744175,
-0.0012731297174468637,
0.008141983300447464,
0.00279678194783628,
-0.004548280034214258,
0.011403095908463001,
0.00637104781344533,
-0.005645396187901497,
0.04011816531419754,
0.02572607435286045,
-0.022685250267386436,
0.022702526301145554,
-0.03218783065676689,
-0.03189411386847496,
0.03811398521065712,
-0.028334965929389,
0.07505310326814651,
0.022443365305662155,
-0.0026542432606220245,
0.04219145327806473,
0.0034943576902151108,
-0.0020516933873295784,
0.03541870787739754,
-0.01976536586880684,
-0.018970604985952377,
0.007424970157444477,
0.03645535185933113,
-0.02456848882138729,
-0.02216692641377449,
0.0016802288591861725,
-0.004377665929496288,
0.04913697764277458,
0.009735824540257454,
0.05777568370103836,
0.04499039426445961,
0.0073342639952898026,
0.004569876939058304,
0.02978626824915409,
0.00678138667717576,
-0.01631852053105831,
-0.00012067196803400293,
-0.028870565816760063,
-0.0014804587699472904,
-0.03168678283691406,
0.017277417704463005,
0.010729276575148106,
-0.016378991305828094,
0.04302076995372772,
0.009519857354462147,
0.056151606142520905,
-0.012249689549207687,
-0.05791390314698219,
-0.0926760658621788,
0.07132118195295334,
-0.0022935771849006414,
-0.00498885428532958,
-0.0061162058264017105,
-0.0567735955119133,
-0.04063648730516434,
-0.03704278543591499,
-0.04302076995372772,
-0.029976319521665573,
0.01491905003786087,
0.031427621841430664,
0.03496949374675751,
-0.02140672132372856,
-0.018227675929665565,
-0.04077470675110817,
-0.05480396747589111,
-0.03458939120173454,
-0.03296531364321709,
-0.04412652552127838,
0.04264066740870476,
-0.061818599700927734,
-0.003055943176150322,
-0.01665543019771576,
0.02271980419754982,
0.014556224457919598,
0.004686499480158091,
-0.050277285277843475,
-0.001194301526993513,
-0.04118936508893967,
-0.06707093864679337,
0.019367985427379608,
-0.02040463127195835,
0.01845228299498558,
0.04353909194469452,
0.03901240974664688,
-0.0007715446990914643,
-0.02477581799030304,
-0.017743907868862152,
0.04036004841327667,
-0.0071355733089149,
0.00332806259393692,
0.04823854938149452,
0.01269026380032301,
-0.010919327847659588,
0.01800306886434555,
0.003615299705415964,
0.0006711197202093899,
0.08631797879934311,
0.013208585791289806,
-0.06416832655668259,
-0.028006693348288536,
0.062164150178432465,
-0.030581029132008553,
-0.018745997920632362,
0.006604292895644903,
0.03084019012749195,
0.0029479593504220247,
0.006263063754886389,
0.015877947211265564,
-0.0281794685870409,
-0.049724407494068146,
-0.03680089861154556,
0.04098203405737877,
0.0048722317442297935,
-0.014556224457919598,
-0.030753804370760918,
0.00863006990402937,
0.02387739159166813,
-0.04595793038606644,
0.0058354479260742664,
-0.026555391028523445,
0.024309325963258743,
0.03509043529629707,
-0.01356277335435152,
0.0035483497194945812,
-0.008664624765515327,
0.013096282258629799,
-0.02506953291594982,
0.026918217539787292,
-0.007170128170400858,
0.01985175348818302,
0.0063624088652431965,
-0.0416385754942894,
0.015325069427490234,
-0.03780299052596092,
-0.07346358150243759,
0.06133483350276947,
-0.012716179713606834,
-0.012301521375775337,
-0.02648628130555153,
-0.04336632043123245,
0.030805636197328568,
0.08383002877235413,
-0.00022420148889068514,
0.008582557551562786,
-0.05235057696700096,
0.01770935393869877,
-0.04226056486368179,
-0.017882127314805984,
-0.0414312481880188,
-0.00006603888323297724,
-0.00303434650413692,
-0.032827094197273254,
0.03880507871508598,
-0.023307235911488533,
0.04029093682765961,
-0.054700303822755814,
0.02240881137549877,
0.07546775788068771,
-0.005148670636117458,
0.03073652647435665,
0.0037016868591308594,
0.03230877220630646,
-0.01770935393869877,
-0.005671312566846609,
-0.017743907868862152,
-0.027194656431674957,
0.03360457718372345,
-0.07837036997079849,
-0.05998719483613968,
-0.023600952699780464,
-0.010919327847659588,
0.005235057789832354,
0.013277695514261723,
0.02076745592057705,
-0.035332318395376205,
-0.03229149430990219,
0.0012936466373503208,
-0.06558507680892944,
-0.03932340443134308,
-0.02688366174697876,
-0.04820399731397629,
0.021475831046700478,
-0.006898009218275547,
0.0073774573393166065,
-0.033932849764823914,
-0.0830698236823082,
0.011351263150572777,
0.0015117740258574486,
-0.009666714817285538,
-0.00988268293440342,
-0.014072456397116184,
0.04689091071486473,
0.04036004841327667,
0.003513794858008623,
0.04478306695818901,
-0.00463898666203022,
0.04934430494904518,
-0.06054007261991501,
0.001401630463078618,
0.10055457055568695,
0.023911945521831512,
-0.016145747154951096,
-0.08555777370929718,
-0.002876690123230219,
-0.021182114258408546,
0.00862143188714981,
-0.010608334094285965,
0.016301244497299194,
0.01750202476978302,
0.01386512815952301
] |
726,317 | penne.delegates | request_set_rotation | Request to set the rotation of the entity
Args:
rotation (Vec4): Rotation to set
| def request_set_rotation(self, rotation: Vec4):
"""Request to set the rotation of the entity
Args:
rotation (Vec4): Rotation to set
"""
self.set_rotation(rotation)
| (self, rotation: List[float]) | [
0.040087826550006866,
0.026679139584302902,
-0.01295078732073307,
0.03175923600792885,
-0.013521001674234867,
-0.02417365089058876,
-0.06158319488167763,
0.04160840064287186,
0.003766873385757208,
0.024847541004419327,
0.01381474919617176,
-0.0020724283531308174,
-0.005525035783648491,
0.04855465143918991,
-0.019214510917663574,
-0.011680763214826584,
-0.0035487229470163584,
0.030497850850224495,
0.0055120764300227165,
-0.03486949950456619,
0.020268544554710388,
0.01886892504990101,
-0.026126204058527946,
-0.0011155906831845641,
-0.0028229951858520508,
0.03480038046836853,
-0.0042658112943172455,
0.020251264795660973,
0.0862579420208931,
-0.012276897206902504,
-0.006738902069628239,
0.037910643965005875,
-0.007667660713195801,
0.005503436550498009,
-0.011006873100996017,
-0.002496849512681365,
0.01297670602798462,
0.0026653220411390066,
-0.02256668172776699,
0.05304725468158722,
-0.06573021411895752,
0.043094415217638016,
0.026713699102401733,
-0.02491665817797184,
-0.006557470187544823,
0.03825622797012329,
0.020769640803337097,
0.05429136008024216,
0.02607436664402485,
0.029132790863513947,
0.0574016198515892,
0.0010686127934604883,
0.044373076409101486,
-0.037495940923690796,
-0.05114653706550598,
0.010367541573941708,
0.027871407568454742,
0.06030453369021416,
0.05028257519006729,
0.04354367405176163,
0.047794368118047714,
0.010134272277355194,
-0.05004066601395607,
-0.001604809076525271,
-0.005931097548455,
-0.005952696781605482,
0.041988544166088104,
0.03677021339535713,
0.017814891412854195,
0.07188162207603455,
-0.012631121091544628,
0.014488639310002327,
0.02387990429997444,
-0.006769140716642141,
0.033003341406583786,
0.021357135847210884,
-0.0823182761669159,
-0.013192696496844292,
-0.012942147441208363,
-0.011870834976434708,
0.02051045373082161,
-0.013909785076975822,
0.023085059598088264,
0.009062958881258965,
-0.03994959220290184,
0.01747794635593891,
0.0021653042640537024,
-0.034333840012550354,
0.007352314889431,
-0.06424419581890106,
-0.02718023769557476,
0.017434749752283096,
-0.014713269658386707,
-0.005719427019357681,
-0.006751861423254013,
0.012786634266376495,
0.00009874813258647919,
-0.04489145427942276,
-0.05480973422527313,
0.005697827786207199,
-0.012268257327377796,
0.05114653706550598,
0.004483961500227451,
-0.013391408137977123,
0.030014032498002052,
-0.06521183252334595,
-0.029098233208060265,
-0.049695082008838654,
0.010142911225557327,
0.0010821121977642179,
0.03735770657658577,
0.0713978037238121,
-0.02956477180123329,
0.05176858976483345,
-0.02578062005341053,
-0.009693651460111141,
-0.006838257424533367,
-0.05263255164027214,
-0.018592458218336105,
-0.004674033261835575,
0.03950033336877823,
-0.012795274145901203,
0.033418040722608566,
0.04299074038863182,
0.03652830421924591,
0.007296157535165548,
-0.02063140831887722,
0.05695236101746559,
0.037254031747579575,
-0.05173403024673462,
-0.011870834976434708,
-0.03443751856684685,
-0.040087826550006866,
0.02187551185488701,
-0.007801575120538473,
-0.008367469534277916,
0.04281794652342796,
-0.04271427169442177,
-0.02590157464146614,
0.07492277026176453,
-0.043923817574977875,
0.020130310207605362,
0.06389861553907394,
0.013495082966983318,
0.0029007517732679844,
0.024778423830866814,
-0.013279092498123646,
0.0012613842263817787,
-0.026903770864009857,
-0.04122825711965561,
0.05474061891436577,
0.01670038141310215,
0.02387990429997444,
-0.04762157425284386,
-0.03312429413199425,
-0.0036696777679026127,
-0.03652830421924591,
-0.05646854266524315,
0.028182433918118477,
0.06223980709910393,
0.01628568023443222,
-0.011050071567296982,
-0.027422146871685982,
0.03080887719988823,
0.04658481851220131,
0.005455918610095978,
0.04160840064287186,
0.008134200237691402,
-0.021097946912050247,
0.010497136041522026,
-0.0017614021198824048,
-0.004375966265797615,
-0.03559522703289986,
0.003019546391442418,
0.07305660843849182,
0.03193202614784241,
0.0314309298992157,
0.013788830488920212,
-0.025193125009536743,
-0.009054319933056831,
0.03777240961790085,
-0.00536520266905427,
0.044165726751089096,
0.010669928044080734,
0.04706863686442375,
-0.007702219299972057,
-0.011127827689051628,
0.02375894971191883,
0.029582051560282707,
-0.04979875683784485,
0.033711787313222885,
0.014609593898057938,
-0.0460318848490715,
-0.00875193253159523,
-0.009892362169921398,
0.013901145197451115,
-0.006998090539127588,
-0.058542050421237946,
0.011542529799044132,
0.026696419343352318,
0.011205584742128849,
-0.03991503641009331,
0.009356706403195858,
-0.017633460462093353,
-0.014583675190806389,
0.018298711627721786,
0.055915605276823044,
-0.031603723764419556,
-0.015447637066245079,
-0.05909498780965805,
0.025296801701188087,
0.006315560545772314,
-0.021892791613936424,
-0.022290214896202087,
-0.013711073435842991,
-0.04575541615486145,
-0.05650310218334198,
-0.013019904494285583,
0.012302815914154053,
0.03182835131883621,
0.04572085663676262,
0.062170691788196564,
-0.011689403094351292,
-0.06814930588006973,
0.00454011932015419,
-0.04492601379752159,
0.0226876363158226,
-0.1223369911313057,
-0.13070014119148254,
-0.03925842419266701,
0.0017894809134304523,
-0.023914461955428123,
-0.011585727334022522,
0.010255226865410805,
-0.025521431118249893,
-0.023689832538366318,
0.03711579740047455,
0.008734653703868389,
-0.027335751801729202,
-0.002168544102460146,
0.0026674820110201836,
0.01812591776251793,
0.014341766014695168,
0.048243626952171326,
-0.02545231394469738,
0.09254758805036545,
-0.009106157347559929,
0.026834653690457344,
-0.035232361406087875,
-0.03787608444690704,
-0.061306729912757874,
-0.0008321031928062439,
-0.03545699268579483,
0.026454510167241096,
0.02405269630253315,
-0.028839044272899628,
0.012268257327377796,
0.027646778151392937,
0.04831274226307869,
0.025936132296919823,
-0.06382949650287628,
-0.058542050421237946,
-0.038083434104919434,
-0.01628568023443222,
0.057228829711675644,
-0.03035961650311947,
0.0007133084582164884,
0.046550262719392776,
-0.022583961486816406,
0.0020907875150442123,
0.034368399530649185,
0.03184563294053078,
-0.07374777644872665,
-0.021547207608819008,
0.055120762437582016,
-0.04468410462141037,
0.00025878354790620506,
0.0009784367866814137,
0.004933221731334925,
0.037495940923690796,
0.06147952005267143,
-0.03604448586702347,
0.02417365089058876,
0.08957555890083313,
-0.08992114663124084,
-0.03035961650311947,
-0.020078472793102264,
0.07243455946445465,
-0.008626658469438553,
-0.010099713690578938,
-0.005879260133951902,
0.04036429524421692,
-0.006803699303418398,
-0.05795455724000931,
0.024761144071817398,
-0.029841240495443344,
-0.03530148044228554,
-0.00844090711325407,
0.03659742325544357,
0.027439426630735397,
0.045617181807756424,
-0.006134128663688898,
0.0025724461302161217,
-0.006198925897479057,
-0.008600739762187004,
-0.012026348151266575,
0.03027322143316269,
-0.00045627981307916343,
-0.02661002241075039,
-0.0020832279697060585,
0.016631264239549637,
0.03587169200181961,
-0.0607883520424366,
0.002643723040819168,
0.039811357855796814,
0.0688750371336937,
0.018592458218336105,
-0.007045608479529619,
0.04081355407834053,
0.054256800562143326,
0.01256200484931469,
-0.012942147441208363,
-0.013633317314088345,
0.017348352819681168,
0.03253680095076561,
-0.07005002349615097,
0.017935846000909805,
0.044787779450416565,
-0.04599732533097267,
0.0373922660946846,
-0.0554317869246006,
-0.013762911781668663,
0.027007445693016052,
-0.0072443196550011635,
-0.033538997173309326,
0.020078472793102264,
0.010523054748773575,
-0.02762949839234352,
0.0394657738506794,
0.049107588827610016,
0.042852506041526794,
-0.007857732474803925,
-0.013166777789592743,
0.008881526999175549,
0.00412973714992404,
0.01519708801060915,
0.04530615732073784,
0.0037711933255195618,
0.061755988746881485,
-0.01023794710636139,
-0.06327655911445618,
0.05097374692559242,
0.03492133691906929,
0.006777780130505562,
-0.042852506041526794,
0.015767302364110947,
0.02949565462768078,
-0.0434054397046566,
-0.05843837559223175,
0.0056027923710644245,
-0.005149212200194597,
-0.014315847307443619,
0.017071884125471115,
-0.008626658469438553,
-0.0394657738506794,
-0.03236400708556175,
-0.05795455724000931,
-0.03974224254488945,
0.07775656133890152,
0.02854529768228531,
0.038532696664333344,
-0.015490834601223469,
-0.008760572411119938,
0.0821109265089035,
0.012760715559124947,
-0.0016112887533381581,
-0.014203531667590141,
0.04115913808345795,
0.0001677975815255195,
-0.05180314928293228,
0.012060906738042831,
-0.05539723113179207,
0.04347455874085426,
0.04934949800372124,
-0.004946181084960699,
0.015231646597385406,
0.08259474486112595,
-0.025314079597592354,
-0.004717231262475252,
0.009849164634943008,
-0.018799807876348495,
-0.04364734888076782,
0.034195609390735626,
-0.039396658539772034,
-0.025884294882416725,
-0.01043665874749422,
-0.05999350547790527,
0.0048511456698179245,
-0.005330644082278013,
-0.057056035846471786,
-0.00727887824177742,
-0.005840381607413292,
-0.01988840103149414,
0.016354797407984734,
0.00431548897176981,
-0.01256200484931469,
0.06020085886120796,
0.012708878144621849,
0.010773603804409504,
-0.043301764875650406,
-0.06071923300623894,
-0.025970691815018654,
0.01474782731384039,
-0.02014758810400963,
0.04534071311354637,
-0.028389783576130867,
0.03625183552503586,
-0.021944629028439522,
0.016337517648935318,
0.056641336530447006,
0.01186219509691,
0.09462109208106995,
0.017218759283423424,
0.0696353167295456,
0.01878252997994423,
0.0021512648090720177,
0.01786673069000244,
-0.03867093101143837,
0.005494797136634588,
-0.00012912179226987064,
-0.04036429524421692,
0.01783217117190361,
0.0015821299748495221,
-0.035560667514801025,
0.04029517620801926,
-0.024018138647079468,
0.023655273020267487,
-0.004095179028809071,
-0.09869899600744247,
0.0594751313328743,
0.03763417527079582,
-0.02014758810400963,
-0.04399293288588524,
-0.06441698968410492,
-0.031206300482153893,
-0.019922958686947823,
-0.019128113985061646,
0.04461498558521271,
0.03241584822535515,
0.030981669202446938,
0.06293097883462906,
0.05353107303380966,
0.019957518205046654,
-0.022618519142270088,
0.03887828066945076,
0.014238090254366398,
0.008639617823064327,
-0.051699474453926086,
0.008717374876141548,
-0.05885307863354683,
0.021391693502664566,
0.010548973456025124,
-0.03994959220290184,
0.009736848995089531,
-0.009140715934336185,
0.03205298259854317,
-0.028528017923235893,
0.0007640662370249629,
-0.026039808988571167,
-0.003989343531429768,
0.026661861687898636,
-0.03507684916257858,
0.017901288345456123,
-0.037254031747579575,
-0.01881708763539791,
0.0021987827494740486,
0.015102052129805088,
0.01964649185538292,
-0.08335503190755844,
-0.04288706183433533,
-0.06279274076223373,
-0.07824037969112396,
-0.0027430786285549402,
0.07471541315317154,
-0.0043716467916965485,
0.0038165512960404158,
-0.04057164490222931,
0.0008564020972698927,
0.005144892260432243,
0.014782385900616646,
-0.019577374681830406,
0.05753985419869423,
0.004566038027405739,
0.038083434104919434,
0.015404438599944115,
0.030877994373440742,
-0.03742682561278343,
-0.033003341406583786,
-0.038981955498456955,
0.07243455946445465,
0.019663769751787186,
-0.00717520248144865,
0.01562906801700592,
-0.034333840012550354,
0.04399293288588524,
-0.04893479496240616,
-0.032139379531145096,
-0.04140104725956917,
0.01684725470840931,
-0.00893336534500122,
0.0143504049628973,
0.02887360379099846,
0.024121813476085663,
0.009019761346280575,
-0.026368113234639168,
0.042852506041526794,
-0.04302529618144035,
0.049936991184949875,
0.013996181078255177,
-0.014644152484834194,
0.018471503630280495,
0.013495082966983318,
0.0696353167295456,
-0.039189305156469345,
-0.020078472793102264,
0.021547207608819008,
-0.04140104725956917,
-0.07630510628223419,
0.046930406242609024,
0.019992075860500336,
-0.000931458780542016,
0.005131932906806469,
-0.050559043884277344,
0.013495082966983318,
0.034454796463251114,
0.07789479196071625,
-0.01181899756193161,
-0.04250691831111908,
-0.010488496161997318,
-0.026471789926290512,
-0.027283912524580956,
-0.009589975699782372,
-0.008427946828305721,
0.001964433118700981,
-0.0014363364316523075,
-0.03998415172100067,
-0.02191007137298584,
-0.040917228907346725,
0.014937899075448513,
-0.02911551296710968,
-0.054878853261470795,
0.002324057277292013,
-0.026247158646583557,
-0.04205765947699547,
-0.038774605840444565,
0.017020046710968018,
0.025970691815018654,
-0.027577660977840424,
0.00641491636633873,
0.01589689776301384,
0.016743579879403114,
0.01878252997994423,
0.0554317869246006,
0.02920190803706646,
0.04088267311453819,
0.01690773293375969,
0.034126490354537964,
-0.03801431879401207,
-0.0011533889919519424,
-0.017486587166786194,
0.0006333920173346996,
0.009520858526229858,
0.003823030972853303,
0.038947395980358124,
-0.03562978282570839,
0.0036567181814461946,
0.0064451550133526325,
0.051008302718400955,
-0.06956620514392853,
-0.04164296016097069,
0.055535465478897095,
-0.010039236396551132,
-0.030428733676671982,
-0.03364267200231552,
0.011309259571135044,
0.0060995700769126415,
0.01732243411242962,
0.09849164634943008,
0.00461355596780777,
0.047172315418720245,
-0.023793507367372513,
-0.014704629778862,
-0.03718491643667221,
-0.027888687327504158,
0.0014222970930859447,
0.005728066898882389,
0.014695989899337292,
-0.028441622853279114,
-0.013978901319205761,
-0.0009730369783937931,
-0.0066006681881845,
0.02092515490949154,
0.034074652940034866,
0.048658326268196106,
-0.05436047539114952,
0.008665536530315876,
-0.05349651351571083,
0.031776513904333115,
-0.017512505874037743,
-0.03587169200181961,
-0.02363799512386322,
0.012242338620126247,
-0.03780696913599968,
-0.03977680206298828,
0.006933293305337429,
-0.04354367405176163,
-0.04883112013339996,
0.03932753950357437,
0.012898949906229973,
-0.026834653690457344,
-0.040778998285532,
-0.01747794635593891,
-0.0774109736084938,
-0.037945203483104706,
-0.039673127233982086,
-0.053185489028692245,
0.009581335820257664,
-0.044545870274305344,
0.03777240961790085,
-0.08176534622907639,
0.03649374470114708,
-0.06535007059574127,
-0.0028532338328659534,
-0.05408400669693947,
0.04064076393842697,
-0.03125813603401184,
-0.06355302780866623,
-0.009814606048166752,
0.0021426251623779535,
0.01914539374411106,
0.022428447380661964,
0.017244677990674973,
0.0018229593988507986,
0.004635155200958252,
-0.02173727937042713,
0.017814891412854195,
-0.02054501138627529,
-0.011585727334022522,
-0.0007251879433169961,
0.0005526655586436391,
-0.04202309995889664,
0.0707411915063858,
0.03690844774246216,
-0.04558262228965759,
0.03998415172100067,
-0.05954424664378166,
-0.03215665742754936,
0.012803914025425911,
0.02128801867365837,
0.0003137261373922229,
-0.012397851794958115,
0.007931169122457504,
0.03381546586751938,
0.03549155220389366,
0.056192073971033096,
0.010721765458583832,
-0.03842902183532715,
-0.02417365089058876,
-0.02697288803756237,
0.04229956865310669,
-0.004080059472471476,
-0.009702291339635849,
0.06227436661720276,
0.022100143134593964,
0.0367356538772583,
-0.0494186133146286,
0.04966052249073982,
-0.09558873623609543,
0.08542854338884354,
0.06528095155954361,
-0.05995894968509674,
0.02515856735408306,
0.01625976152718067,
0.05263255164027214,
-0.04896935448050499,
0.006782100070267916,
0.003168579889461398,
-0.003766873385757208,
-0.025296801701188087,
-0.0668015256524086,
0.04299074038863182,
-0.040260620415210724,
-0.03645918890833855,
0.01670038141310215,
-0.00005804743341286667,
0.028683532029390335,
-0.040778998285532,
0.00900248158723116,
0.03398825600743294,
0.0702919289469719,
0.018315989524126053,
0.020389499142766,
-0.03991503641009331,
0.04883112013339996,
-0.004060620442032814,
-0.03117174096405506,
0.02140897326171398,
-0.007071527186781168,
-0.01474782731384039,
-0.11224591732025146,
0.06338023394346237,
0.046930406242609024,
0.04095178842544556,
-0.030376896262168884,
0.04368190839886665,
0.020942434668540955,
-0.029219187796115875,
0.034454796463251114,
0.010600810870528221,
-0.004162135999649763,
-0.059371452778577805,
-0.025849737226963043,
0.011283340863883495,
-0.04333632439374924,
0.02133985608816147,
-0.0334007628262043,
-0.03666653856635094,
0.03632095456123352,
-0.04516792297363281,
0.004812267143279314,
0.038532696664333344,
0.06458978354930878,
0.007006729952991009,
-0.01198314968496561,
0.002969868713989854,
-0.07409336417913437,
-0.040053267031908035,
-0.007136324420571327,
-0.028476180508732796,
0.03732315078377724,
-0.026264438405632973,
0.033919140696525574,
-0.014410882256925106,
-0.04699952155351639,
0.0005094674415886402,
0.03562978282570839,
-0.06991178542375565,
0.00782749429345131,
-0.02450195699930191,
0.03459303081035614,
0.013719713315367699,
-0.008695775642991066,
-0.043889258056879044,
-0.00446668267250061,
0.050593603402376175,
-0.05391121655702591,
0.0036027205642312765,
0.061790548264980316,
0.028303388506174088,
-0.012268257327377796,
-0.10388276726007462,
-0.00784477312117815,
-0.025676945224404335,
-0.010868639685213566,
0.00566326966509223,
0.03652830421924591,
0.018557898700237274,
-0.015438997186720371
] |
726,318 | penne.delegates | request_set_scale | Request to set the scale of the entity
Args:
scale (Vec3): Scale to set
| def request_set_scale(self, scale: Vec3):
"""Request to set the scale of the entity
Args:
scale (Vec3): Scale to set
"""
self.set_scale(scale)
| (self, scale: List[float]) | [
0.02789190784096718,
-0.01688828319311142,
-0.03119557537138462,
0.03826748952269554,
-0.04308534041047096,
0.02056189440190792,
-0.02813280001282692,
-0.012543615885078907,
0.024089248850941658,
0.006375047378242016,
-0.013008194044232368,
0.0017443196848034859,
0.004103775601834059,
0.016509737819433212,
-0.025706669315695763,
-0.006641749758273363,
0.008676431141793728,
-0.01028094720095396,
0.04601046442985535,
0.017111970111727715,
0.019615530967712402,
0.03654683008790016,
0.024089248850941658,
0.016819456592202187,
0.0038177156820893288,
0.0785309448838234,
0.018376654013991356,
0.012672665528953075,
0.08699660003185272,
-0.027220850810408592,
-0.02355584315955639,
0.037923358380794525,
0.029612569138407707,
0.041399091482162476,
0.02073395997285843,
0.011640268377959728,
-0.012870540842413902,
-0.012156466953456402,
-0.06985881924629211,
0.013335119001567364,
-0.0588810034096241,
0.03200428560376167,
0.07756737619638443,
-0.010582062415778637,
0.053168412297964096,
0.02236858755350113,
0.0625632181763649,
0.048144083470106125,
-0.015021366998553276,
-0.019804803654551506,
0.026446552947163582,
0.014806284569203854,
0.01644091121852398,
-0.01310283038765192,
-0.05781419575214386,
0.01889285258948803,
0.014685837551951408,
0.09133266657590866,
0.005888960789889097,
0.007760179229080677,
0.0392654724419117,
0.0009630321874283254,
-0.06965234130620956,
-0.08816664665937424,
-0.024502206593751907,
-0.03658124431967735,
-0.02130177803337574,
0.027461742982268333,
-0.027117609977722168,
0.04143350571393967,
-0.013851317577064037,
-0.007781687658280134,
-0.008362410590052605,
0.03350125998258591,
-0.00528672942891717,
0.007489175070077181,
0.011072450317442417,
0.023573050275444984,
-0.046664316207170486,
-0.010977813974022865,
0.03609945997595787,
0.00018389559409115463,
0.020544687286019325,
-0.016122588887810707,
-0.00794945191591978,
-0.05079390108585358,
0.037716880440711975,
0.004521035589277744,
-0.014195449650287628,
-0.014401928521692753,
-0.03895575553178787,
0.021439431235194206,
0.022557860240340233,
0.029388882219791412,
0.039884913712739944,
0.023400982841849327,
0.008186042308807373,
-0.032279592007398605,
-0.029784634709358215,
0.0034069078974425793,
-0.01402338407933712,
0.04535661265254021,
0.03651241585612297,
-0.006435270421206951,
0.006456778850406408,
-0.005325444508343935,
0.029612569138407707,
-0.04786877706646919,
-0.03916223347187042,
0.06720900535583496,
0.018428275361657143,
0.07942569255828857,
-0.05258338525891304,
0.061324343085289,
-0.07942569255828857,
-0.011562839150428772,
-0.03221076726913452,
-0.007656939327716827,
0.006422365549951792,
0.008956038393080235,
-0.053340476006269455,
0.060739319771528244,
0.0112445168197155,
-0.012113450095057487,
0.010831558145582676,
0.02486354485154152,
0.026601413264870644,
0.05082831159234047,
-0.02317729778587818,
0.0028240340761840343,
-0.04136468097567558,
-0.05179188400506973,
-0.02887268364429474,
0.06428387761116028,
0.0335356742143631,
-0.060980211943387985,
0.021938422694802284,
0.005570638459175825,
-0.011717698536813259,
0.08032043278217316,
-0.016010746359825134,
0.05826156586408615,
0.029010336846113205,
-0.014238466508686543,
-0.04570074379444122,
0.006383650936186314,
0.03754481300711632,
-0.06046401336789131,
-0.045976050198078156,
-0.019288605079054832,
-0.027909114956855774,
0.017722804099321365,
0.021680323407053947,
-0.02997390739619732,
-0.00019451530533842742,
-0.018307829275727272,
0.0030821331311017275,
-0.07495197653770447,
0.040986135601997375,
0.053581371903419495,
-0.05320282652974129,
0.0355832614004612,
-0.013902937062084675,
-0.04322299361228943,
-0.025379743427038193,
-0.020458653569221497,
-0.019856423139572144,
0.007114931475371122,
-0.016286052763462067,
0.061806127429008484,
-0.005097456742078066,
-0.04232824966311455,
-0.011450995691120625,
0.02174915000796318,
0.06772519648075104,
0.016010746359825134,
0.03916223347187042,
0.0005672802799381316,
0.00657292315736413,
0.02723805606365204,
0.04260355606675148,
-0.04284444823861122,
0.06486890465021133,
0.017481911927461624,
0.001102298148907721,
0.0017798083135858178,
-0.03826748952269554,
0.043119754642248154,
-0.0731624886393547,
-0.03627152368426323,
0.08376175910234451,
0.010822954587638378,
-0.04614811763167381,
-0.04707727208733559,
-0.013403945602476597,
0.014453548938035965,
0.019718769937753677,
-0.10805748403072357,
0.01892726682126522,
0.01835944876074791,
-0.0046758949756622314,
-0.023865561932325363,
0.032692551612854004,
-0.015976333990693092,
0.032159145921468735,
-0.002735850401222706,
0.0388525165617466,
0.01904771290719509,
-0.02501840516924858,
-0.025207677856087685,
-0.06593571603298187,
0.01402338407933712,
-0.011666079051792622,
-0.0008549531921744347,
0.020424241200089455,
-0.07495197653770447,
-0.044978067278862,
-0.026876717805862427,
0.012853334657847881,
0.03658124431967735,
0.048316147178411484,
-0.010908988304436207,
0.0014496565563604236,
0.00856458768248558,
-0.024725891649723053,
0.012578029185533524,
0.05303075909614563,
-0.027169231325387955,
-0.008999054320156574,
-0.0275993961840868,
-0.057022690773010254,
-0.005785721354186535,
0.007170852739363909,
0.013429755344986916,
-0.011485408991575241,
0.015382705256342888,
0.04669872671365738,
0.04886675998568535,
0.020131729543209076,
-0.02150825783610344,
0.003731682663783431,
0.0004895817255601287,
-0.0259647686034441,
0.03258931264281273,
-0.09167679399251938,
0.031057924032211304,
0.006000803783535957,
0.03288182243704796,
-0.029733015224337578,
-0.03198707848787308,
-0.018548721447587013,
-0.025620635598897934,
-0.005187791772186756,
0.059018656611442566,
0.03486058488488197,
-0.017593754455447197,
-0.04528778791427612,
-0.018221795558929443,
-0.007243981119245291,
-0.026721859350800514,
-0.05413198098540306,
-0.04167439788579941,
-0.0038091123569756746,
0.06727782636880875,
0.04697403311729431,
-0.01827341504395008,
-0.004783436190336943,
0.03981608524918556,
-0.004473717417567968,
0.03155691549181938,
0.07908155769109726,
0.02890709787607193,
-0.01476326771080494,
-0.0008549531921744347,
0.03291623666882515,
-0.03372494876384735,
-0.02899312973022461,
0.030713791027665138,
-0.002899313112720847,
0.029819047078490257,
0.04525337368249893,
-0.041192613542079926,
0.0034628293942660093,
0.02870061807334423,
0.004084418062120676,
-0.06318265944719315,
0.019391844049096107,
0.0731624886393547,
-0.03909340873360634,
-0.007966658100485802,
-0.06473124772310257,
0.05905307084321976,
-0.03369053453207016,
-0.03098909743130207,
-0.03548002243041992,
-0.05833039432764053,
0.007867720909416676,
0.010315360501408577,
0.03200428560376167,
0.010530442930758,
0.03623711317777634,
-0.060532838106155396,
-0.017404481768608093,
0.03692537546157837,
0.04762788489460945,
0.011820938438177109,
0.05034652724862099,
-0.010453012771904469,
0.012913557700812817,
0.016982920467853546,
0.004465114325284958,
0.07006529718637466,
-0.10757569968700409,
0.038336317986249924,
0.014419135637581348,
0.05492348596453667,
0.023074058815836906,
-0.003484337590634823,
-0.03871486335992813,
0.051826294511556625,
-0.019770389422774315,
-0.04583839699625969,
0.004972708877176046,
-0.007102026604115963,
0.014212656766176224,
-0.039196647703647614,
0.003477885155007243,
0.02260947972536087,
0.0029165197629481554,
0.010693905875086784,
-0.023039644584059715,
-0.004075814504176378,
0.05471700429916382,
-0.018514307215809822,
-0.0650409683585167,
-0.0658324733376503,
0.03181501477956772,
0.02154267020523548,
0.025087231770157814,
0.004658688325434923,
0.026962751522660255,
-0.006370745599269867,
-0.022747132927179337,
-0.007656939327716827,
0.017241019755601883,
0.007235377561300993,
0.06641750037670135,
-0.08169696480035782,
0.028975924476981163,
-0.01298238430172205,
-0.03098909743130207,
-0.02260947972536087,
0.02825324609875679,
-0.023280536755919456,
0.010728318244218826,
-0.0024885053280740976,
-0.0019809105433523655,
-0.05691945180296898,
-0.02968139573931694,
-0.031918253749608994,
0.039884913712739944,
-0.034413211047649384,
-0.002656269818544388,
-0.01559778768569231,
-0.005480303894728422,
-0.017154986038804054,
-0.021370604634284973,
-0.047249339520931244,
0.10984697192907333,
0.05065624788403511,
0.06800050288438797,
-0.05413198098540306,
-0.03406907990574837,
0.04711168631911278,
-0.009420616552233696,
0.029388882219791412,
-0.0650409683585167,
0.0035854263696819544,
-0.014229862950742245,
0.010977813974022865,
0.035755325108766556,
-0.02371070347726345,
0.0076139229349792,
0.013274895958602428,
0.04298210144042969,
-0.0027035879902541637,
0.06652073562145233,
-0.030696583911776543,
0.0022777244448661804,
0.011829541064798832,
0.03806101158261299,
0.0028068276587873697,
0.04927971959114075,
-0.02825324609875679,
-0.0384395569562912,
-0.021559877321124077,
0.004346818663179874,
0.014358912594616413,
0.026154041290283203,
0.002180937211960554,
-0.04869469255208969,
0.047834362834692,
-0.008629112504422665,
0.03933430090546608,
-0.015933316200971603,
-0.03458527848124504,
-0.015442928299307823,
0.044978067278862,
-0.0032778584863990545,
0.05516437813639641,
-0.03286461532115936,
-0.014453548938035965,
-0.029285643249750137,
-0.024226900190114975,
-0.0039274077862501144,
-0.014341705478727818,
0.029457708820700645,
-0.04549426585435867,
-0.0071536460891366005,
0.018084142357110977,
-0.0009861536091193557,
0.06283852458000183,
-0.0015840831911191344,
0.048109669238328934,
0.03362170606851578,
-0.0744013637304306,
0.03179780766367912,
-0.02833927981555462,
0.04570074379444122,
0.02154267020523548,
-0.05172305554151535,
-0.018755199387669563,
0.009756145067512989,
-0.026997163891792297,
0.06046401336789131,
-0.03482617065310478,
-0.02457103319466114,
-0.006517001893371344,
-0.06689928472042084,
-0.007338617462664843,
0.05217042937874794,
-0.0380265973508358,
-0.000768920173868537,
-0.05781419575214386,
0.03630593791604042,
-0.018290622159838676,
-0.03730392083525658,
0.02641214057803154,
0.014608408324420452,
-0.03166015446186066,
0.02257506735622883,
0.007102026604115963,
0.06400857120752335,
-0.026274487376213074,
0.09270919114351273,
-0.07171713560819626,
-0.06824139505624771,
-0.0801139548420906,
0.04556309059262276,
-0.04384243115782738,
-0.016509737819433212,
-0.008439839817583561,
-0.06273528188467026,
-0.0206479262560606,
-0.005820134188979864,
0.05106920748949051,
0.04601046442985535,
0.02100926637649536,
0.026549791917204857,
-0.039403125643730164,
0.009085088036954403,
-0.009790558367967606,
0.0006382575375027955,
-0.05330606549978256,
-0.009334583766758442,
-0.020716752856969833,
-0.01913374476134777,
0.04263797029852867,
-0.04776553809642792,
-0.012251103296875954,
0.031143955886363983,
-0.04714610055088997,
0.06190936639904976,
0.07942569255828857,
-0.006878340616822243,
-0.01310283038765192,
0.013042607344686985,
0.03492940962314606,
0.000531253928784281,
0.04958943650126457,
-0.012887747958302498,
0.00946363341063261,
0.021370604634284973,
0.012457582168281078,
-0.03689096122980118,
-0.03430997207760811,
0.0063148243352770805,
-0.01443634182214737,
-0.0024175280705094337,
0.03651241585612297,
-0.02040703408420086,
-0.04707727208733559,
0.003295064903795719,
-0.015959126874804497,
0.036822136491537094,
0.02899312973022461,
-0.04707727208733559,
0.049038827419281006,
0.016578564420342445,
-0.016621580347418785,
-0.008715146221220493,
0.0014281482435762882,
-0.02453661896288395,
0.006766497623175383,
0.050553008913993835,
0.03164294734597206,
-0.05261779949069023,
0.059638094156980515,
0.011356359347701073,
-0.019202571362257004,
0.006465381942689419,
0.012010211125016212,
0.0658324733376503,
-0.010418599471449852,
0.02560342848300934,
-0.02285037189722061,
-0.05540527030825615,
-0.048350561410188675,
0.06001663953065872,
0.05843363329768181,
0.047731123864650726,
-0.014229862950742245,
-0.011038037948310375,
0.031264401972293854,
0.037751294672489166,
0.04886675998568535,
-0.0271864365786314,
-0.05254897475242615,
-0.009721731767058372,
-0.0359962172806263,
-0.0372006818652153,
-0.027255263179540634,
0.018703579902648926,
0.007876323536038399,
-0.0024390362668782473,
-0.01934022456407547,
-0.040538761764764786,
-0.01310283038765192,
0.039231061935424805,
-0.06765637546777725,
-0.022747132927179337,
0.049451783299446106,
0.0004452209104783833,
-0.019701562821865082,
-0.011846748180687428,
-0.010478822514414787,
0.020751167088747025,
-0.009695922024548054,
-0.04298210144042969,
-0.0019529497949406505,
-0.00020298417075537145,
-0.03740715980529785,
0.12381873279809952,
0.0719924345612526,
-0.06817257404327393,
-0.00042183068580925465,
-0.057676542550325394,
0.03265813738107681,
0.03487778827548027,
-0.04219059646129608,
0.007231076247990131,
0.03430997207760811,
0.039884913712739944,
0.06273528188467026,
-0.01347277220338583,
0.008740955963730812,
0.0273929163813591,
-0.0019077823963016272,
-0.041812051087617874,
0.007648336235433817,
0.006534208543598652,
-0.014324499294161797,
-0.04133026674389839,
0.029423296451568604,
-0.009721731767058372,
0.029457708820700645,
-0.006353538949042559,
0.04587281122803688,
-0.034808963537216187,
0.04459952190518379,
-0.0058158328756690025,
0.010212120600044727,
-0.03246886655688286,
-0.008353807032108307,
-0.02002848871052265,
-0.049038827419281006,
-0.015485945157706738,
-0.04232824966311455,
0.003540259087458253,
0.02379673533141613,
-0.03486058488488197,
0.01478047389537096,
0.009472236037254333,
0.05065624788403511,
-0.03303668275475502,
-0.05691945180296898,
0.005415779072791338,
0.011829541064798832,
-0.0035316557623445988,
-0.02878665179014206,
-0.04084848240017891,
-0.005519018974155188,
-0.06648632138967514,
0.011296136304736137,
-0.012087640352547169,
-0.06514421105384827,
-0.005011423956602812,
0.0076354313641786575,
0.0404699370265007,
-0.05296193063259125,
-0.034740135073661804,
0.0072697908617556095,
-0.009480839595198631,
-0.02240299992263317,
-0.028838271275162697,
-0.02032100223004818,
0.028562964871525764,
-0.026635825634002686,
-0.06270086765289307,
-0.09463632851839066,
0.0016744178719818592,
-0.04979591816663742,
-0.011106863617897034,
-0.05296193063259125,
0.028511345386505127,
-0.013481375761330128,
-0.03527354076504707,
0.015881696715950966,
-0.006018010433763266,
0.027083197608590126,
0.084243543446064,
0.04194970428943634,
0.022144900634884834,
-0.022626686841249466,
-0.0006909527583047748,
0.037097442895174026,
-0.029612569138407707,
-0.01577845774590969,
-0.002619705628603697,
0.01476326771080494,
-0.01868637464940548,
0.01602795347571373,
0.02988787367939949,
-0.014384722337126732,
0.10434085875749588,
0.00196262844838202,
0.002619705628603697,
-0.01599353924393654,
0.03200428560376167,
-0.03585856780409813,
-0.04697403311729431,
0.014677234925329685,
0.04652666300535202,
0.001000671647489071,
0.015761250630021095,
-0.02436455339193344,
-0.04797201603651047,
-0.03623711317777634,
-0.05303075909614563,
0.02252344600856304,
-0.00821615383028984,
-0.00606963038444519,
-0.05592146888375282,
0.0028971622232347727,
0.020957645028829575,
0.009902401827275753,
0.0045425440184772015,
-0.06514421105384827,
-0.0023379474878311157,
0.03723509609699249,
-0.03166015446186066,
-0.016699010506272316,
-0.035755325108766556,
0.0752272829413414,
-0.009756145067512989,
-0.020424241200089455,
-0.014358912594616413,
0.005265221465379,
-0.01892726682126522,
0.015236449427902699,
0.03315712884068489,
-0.09167679399251938,
-0.050965964794158936,
0.011855351738631725,
-0.024175280705094337,
-0.0030197591986507177,
-0.06039518490433693,
-0.0165527556091547,
0.06593571603298187,
0.05932837724685669,
0.00008529367914889008,
0.004224221687763929,
-0.06930820643901825,
0.039437539875507355,
0.011700491420924664,
0.00211641239002347,
-0.03778570517897606,
-0.0072697908617556095,
0.05564616248011589,
-0.018101349472999573,
0.03916223347187042,
0.03651241585612297,
0.05048418045043945,
-0.03492940962314606,
0.024158073589205742,
0.05678179860115051,
-0.038783688098192215,
0.042913272976875305,
-0.0044522094540297985,
0.02870061807334423,
-0.01958111673593521,
0.012810317799448967,
0.02252344600856304,
-0.04201853275299072,
-0.00034305668668821454,
-0.02637772634625435,
-0.030920270830392838,
0.03895575553178787,
0.010315360501408577,
-0.0039704241789877415,
-0.009205534122884274,
0.01602795347571373,
-0.010668095201253891,
-0.047455817461013794,
-0.057710956782102585,
-0.04601046442985535,
-0.01134775672107935,
-0.03479175642132759,
0.008530174382030964,
-0.022747132927179337,
0.01332651637494564,
-0.017894869670271873,
-0.00609113834798336,
-0.04983032867312431,
-0.01439332589507103,
0.02424410730600357,
-0.008818385191261768,
0.01243177242577076,
0.012543615885078907,
0.00038284697802737355,
0.03998815268278122,
0.010194913484156132,
-0.0008909795433282852,
0.026308899745345116,
0.08149048686027527,
-0.08906139433383942,
0.019271397963166237,
0.052273668348789215,
0.03425835072994232,
-0.014530978165566921,
-0.036822136491537094,
-0.03470572456717491,
-0.013077020645141602,
0.0038177156820893288,
0.019770389422774315,
0.012818921357393265,
0.057091519236564636,
-0.007248282432556152
] |
Subsets and Splits