Python 3.10 is now available in preview.


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.