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.


Create a self reference.

Function for declaring a self referencing property on a model.


class HtmlNode(db.Model): parent = db.SelfReferenceProperty('Parent', 'children')

verbose_name User friendly name of property.
collection_name Name of collection on model.

ConfigurationError if reference_class provided as parameter.