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.


Validates the app namespace, providing a default.

If the argument is None, namespace_manager.get_namespace() is substituted.

namespace The namespace argument value to be validated.

The value of namespace, or the substituted default. The empty string is used to denote the empty namespace.

BadArgumentError if the value is not a string.