View source on GitHub |
Normalizes and type checks that the given argument is a valid key or keys.
google.appengine.api.datastore.NormalizeAndTypeCheckKeys(
keys
)
A wrapper around NormalizeAndTypeCheck()
that accepts strings, Keys, and
Entities, and normalizes to Keys.
Args | |
---|---|
keys
|
a Key or sequence of Keys |
Returns | |
---|---|
A (list of Keys, bool) tuple. See NormalizeAndTypeCheck .
|
Raises | |
---|---|
BadArgumentError
|
arg is not an instance or sequence of one of the given types. |