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.ext.ndb.Node

Base class for filter expression tree nodes.

Inherits From: expected_type

Tree nodes are considered immutable, even though they can contain Parameter instances, which are not. In particular, two identical trees may be represented by the same Node object in different contexts.

Methods

resolve

View source

Return a Node with Parameters replaced by the selected values.

Args
bindings A dict mapping integers and strings to values.
used A dict into which use of use of a binding is recorded.

Returns
A Node instance.

__eq__

View source

Return self==value.

__ge__

View source

__gt__

View source

__le__

View source

__lt__

View source

__ne__

View source

Return self!=value.