;i,ddlmZGddZdS)) annotationsc|eZdZUdZdZded< dZded< dZded< dZded< dd Z dd Z ddZ ddZ ddZ dS) UserAgentaRepresents a parsed user agent header value. The default implementation does no parsing, only the :attr:`string` attribute is set. A subclass may parse the string to set the common attributes or expose other information. Set :attr:`werkzeug.wrappers.Request.user_agent_class` to use a subclass. :param string: The header value to parse. .. versionadded:: 2.0 This replaces the previous ``useragents`` module, but does not provide a built-in parser. Nz str | NoneplatformbrowserversionlanguagestringstrreturnNonec||_dSNr )selfr s GC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\werkzeug/user_agent.py__init__zUserAgent.__init__ s! ((cRdt|jd|jd|jdS)N< />)type__name__rrrs r__repr__zUserAgent.__repr__$s0G4::&GGGG GGGGrc|jSrrrs r__str__zUserAgent.__str__'s {rboolc*t|jSr)r rrs r__bool__zUserAgent.__bool__*sDL!!!rc|jS)zConvert to a header value.rrs r to_headerzUserAgent.to_header-s {r)r r r r )r r )r r )r __module__ __qualname____doc__r__annotations__rrr rrrr"r$rrrrs   H=GBGEHF))))HHHH""""rrN) __future__rrr)rrr+sI""""""++++++++++r