Python 3.10 is now available in preview.


Dispath Entry URL holder class.

Inherits From: expected_type

url_pattern An URL pattern that conforms to the regular expression '^([^/]+)(/.*)$'.

validation.ValidationError When url_pattern does not match the required regular expression.

host_pattern The host pattern component of the URL pattern.
host_exact True if the host pattern does not start with a *.
host host_pattern with any leading * removed.
path_pattern The path pattern component of the URL pattern.
path_exact True if the path_pattern does not end with a *.
path path_pattern with any trailing * removed.