module documentation

Undocumented

Class _​Color​Stream​Handler On Windows, wrap stream with Colorama for ANSI style support.
Class _​Dict​Accessor​Property Baseclass for environ_property and header_property.
Class _​Missing Undocumented
Function ​_check​_str​_tuple Ensure tuple items are all strings or all bytes.
Function ​_cookie​_parse​_impl Lowlevel cookie parsing facility that operates on bytes.
Function ​_cookie​_quote Undocumented
Function ​_cookie​_unquote Undocumented
Function ​_decode​_idna Undocumented
Function ​_dt​_as​_utc Undocumented
Function ​_easteregg Like the name says. But who knows how it works?
Function ​_encode​_idna Undocumented
Function ​_get​_environ Undocumented
Function ​_has​_level​_handler Check if there is a handler in the logging chain that will handle the given logger's effective level.
Function ​_log Log a message to the 'werkzeug' logger.
Function ​_make​_cookie​_domain Undocumented
Function ​_make​_encode​_wrapper Create a function that will be called with a string argument. If the reference is bytes, values will be encoded to bytes.
Function ​_parse​_signature Return a signature object for the function.
Function ​_to​_bytes Undocumented
Function ​_to​_str Undocumented
Function ​_wsgi​_decoding​_dance Undocumented
Function ​_wsgi​_encoding​_dance Undocumented
Variable ​_cookie​_quoting​_map Undocumented
Variable ​_cookie​_re Undocumented
Variable ​_default​_encoding Undocumented
Variable ​_epoch​_ord Undocumented
Variable ​_legal​_cookie​_chars Undocumented
Variable ​_legal​_cookie​_chars​_re Undocumented
Variable ​_logger Undocumented
Variable ​_missing Undocumented
Variable ​_octal​_re Undocumented
Variable ​_quote​_re Undocumented
Variable ​_signature​_cache Undocumented
Variable _​TAccessor​Value Undocumented
def _check_str_tuple(value):
Ensure tuple items are all strings or all bytes.
Parameters
value:t.Tuple[t.AnyStr, ...]Undocumented
def _cookie_parse_impl(b):
Lowlevel cookie parsing facility that operates on bytes.
Parameters
b:bytesUndocumented
Returns
t.Iterator[t.Tuple[bytes, bytes]]Undocumented
def _cookie_quote(b):

Undocumented

Parameters
b:bytesUndocumented
Returns
bytesUndocumented
def _cookie_unquote(b):

Undocumented

Parameters
b:bytesUndocumented
Returns
bytesUndocumented
def _decode_idna(domain):

Undocumented

Parameters
domain:t.Union[str, bytes]Undocumented
Returns
strUndocumented
def _dt_as_utc(dt):

Undocumented

Parameters
dt:t.Optional[datetime]Undocumented
Returns
t.Optional[datetime]Undocumented
def _easteregg(app=None):
Like the name says. But who knows how it works?
Parameters
app:t.Optional[WSGIApplication]Undocumented
Returns
WSGIApplicationUndocumented
def _encode_idna(domain):

Undocumented

Parameters
domain:strUndocumented
Returns
bytesUndocumented
def _get_environ(obj):

Undocumented

Parameters
obj:t.Union[WSGIEnvironment, Request]Undocumented
Returns
WSGIEnvironmentUndocumented
def _has_level_handler(logger):
Check if there is a handler in the logging chain that will handle the given logger's effective level.
Parameters
logger:logging.LoggerUndocumented
Returns
boolUndocumented
def _log(type, message, *args, **kwargs):

Log a message to the 'werkzeug' logger.

The logger is created the first time it is needed. If there is no level set, it is set to logging.INFO. If there is no handler for the logger's effective level, a logging.StreamHandler is added.

Parameters
type:strUndocumented
message:strUndocumented
*args:t.AnyUndocumented
**kwargs:t.AnyUndocumented
def _make_cookie_domain(domain):

Undocumented

Parameters
domain:t.Optional[str]Undocumented
Returns
t.Optional[bytes]Undocumented
def _make_encode_wrapper(reference):
Create a function that will be called with a string argument. If the reference is bytes, values will be encoded to bytes.
Parameters
reference:t.AnyStrUndocumented
Returns
t.Callable[[str], t.AnyStr]Undocumented
def _parse_signature(func):

Return a signature object for the function.

Deprecated since version 2.0: Will be removed in Werkzeug 2.1 along with utils.bind and validate_arguments.
def _to_bytes(x, charset=_default_encoding, errors='strict'):

Undocumented

Parameters
x:t.Union[str, bytes]Undocumented
charset:strUndocumented
errors:strUndocumented
Returns
bytesUndocumented
def _to_str(x, charset=_default_encoding, errors='strict', allow_none_charset=False):

Undocumented

Parameters
x:t.Optional[t.Any]Undocumented
charset:t.Optional[str]Undocumented
errors:strUndocumented
allow​_none​_charset:boolUndocumented
Returns
t.Optional[t.Union[str, bytes]]Undocumented
def _wsgi_decoding_dance(s, charset='utf-8', errors='replace'):

Undocumented

Parameters
s:strUndocumented
charset:strUndocumented
errors:strUndocumented
Returns
strUndocumented
def _wsgi_encoding_dance(s, charset='utf-8', errors='replace'):

Undocumented

Parameters
s:strUndocumented
charset:strUndocumented
errors:strUndocumented
Returns
strUndocumented
_cookie_quoting_map: dict[bytes, bytes] =

Undocumented

_cookie_re =

Undocumented

_default_encoding =

Undocumented

_epoch_ord =

Undocumented

_legal_cookie_chars =

Undocumented

_legal_cookie_chars_re: bytes =

Undocumented

_logger: t.Optional[logging.Logger] =

Undocumented

_missing =

Undocumented

_octal_re =

Undocumented

_quote_re =

Undocumented

_signature_cache =

Undocumented

_TAccessorValue =

Undocumented