Raises an exception if value is not a valid namespace string.
View aliases
Main aliases
`google.appengine.api.namespace_manager.namespace_manager.validate_namespace`
google.appengine.api.namespace_manager.validate_namespace(
value,
exception=google.appengine.api.namespace_manager.BadValueError
)
A namespace must match the regular expression ([0-9A-Za-z._-]{0,100})
.
Args |
value
|
string, the value to validate.
|
exception
|
exception type to raise.
|
Raises |
BadValueError
|
If value is not a valid namespace string.
|