class documentation

class _UserAgent(_BaseUserAgent):

Known subclasses: werkzeug.useragents.UserAgent

View In Hierarchy

Undocumented

Method __init__ Undocumented
Property browser The browser name, if it could be parsed from the string.
Property language The browser language, if it could be parsed from the string.
Property platform The OS name, if it could be parsed from the string.
Property version The browser version, if it could be parsed from the string.
Class Variable ​_parser Undocumented
Instance Variable ​_browser Undocumented
Instance Variable ​_language Undocumented
Instance Variable ​_platform Undocumented
Instance Variable ​_version Undocumented

Inherited from UserAgent:

Method __bool__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method to​_header Convert to a header value.
Instance Variable string The original header value.
def __init__(self, string):

Undocumented

Parameters
string:strUndocumented
@_deprecated_property
browser: t.Optional[str] =
The browser name, if it could be parsed from the string.
@_deprecated_property
language: t.Optional[str] =
The browser language, if it could be parsed from the string.
@_deprecated_property
platform: t.Optional[str] =
The OS name, if it could be parsed from the string.
@_deprecated_property
version: t.Optional[str] =
The browser version, if it could be parsed from the string.
_parser =

Undocumented

_browser =

Undocumented

_language =

Undocumented

_platform =

Undocumented

_version =

Undocumented