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 available in preview.

google.appengine.api.datastore_types.SetNamespace

Sets the namespace for a protocol buffer or clears the field.

proto An entity_pb2.Reference to update
namespace The new namespace. None or an empty string will clear out the field.