Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now generally available.


Raises an exception if value is not a valid namespace string.

A namespace must match the regular expression ([0-9A-Za-z._-]{0,100}).

value string, the value to validate.
exception exception type to raise.

BadValueError If value is not a valid namespace string.