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 the supplied datastore.Key instance is invalid.

name Name of the property this is for.
value A datastore.Key instance.

datastore_errors.BadValueError if the value is invalid.