Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
user_agent.cpython-313.pyc22 linesDownload Raw Back to __pycache__
1�

2��j���$�SSKJr "SS5rg)�)�annotationsc��\rSrSr%SrSrS\S'SrS\S'SrS\S'Sr	S\S'SS	jr3SS4jrSSjrSSjr
SS
jrSrg)�	UserAgent�a�Represents a parsed user agent header value.5 6The default implementation does no parsing, only the :attr:`string`7attribute is set. A subclass may parse the string to set the8common attributes or expose other information. Set9:attr:`werkzeug.wrappers.Request.user_agent_class` to use a10subclass.11 12:param string: The header value to parse.13 14.. versionadded:: 2.015    This replaces the previous ``useragents`` module, but does not16    provide a built-in parser.17Nz18str | None�platform�browser�version�languagec��Xlg�N��string)�selfrs  �YD:\code\apps\devtools\python\user_packages\Python313\site-packages\werkzeug/user_agent.py�__init__�UserAgent.__init__ s19��!��(�c�h�S[U5RSURSURS3$)N�<� �/�>)�type�__name__rr	�rs r�__repr__�UserAgent.__repr__$s0���4��:�&�&�'�q�����a����~�Q�G�Grc��UR$rr
rs r�__str__�UserAgent.__str__'s���{�{�rc�,�[UR5$r)�boolrrs r�__bool__�UserAgent.__bool__*s���D�L�L�!�!rc��UR$)zConvert to a header value.r
rs r�	to_header�UserAgent.to_header-s���{�{�rr
)r�str�return�None)r)r()r)r")r�20__module__�__qualname__�__firstlineno__�__doc__r�__annotations__rr	r21rrrr#r&�__static_attributes__�rrrrsW��
� �H�j��=��G�Z��B��G�Z��E��H�j��F�)�H��"�rrN)�22__future__rrr1rr�<module>r3s��"�+�+r
codekingpro/portable-devtools · Team Ai