Stay organized with collections
Save and categorize content based on your preferences.
In addition to the DB datastore exceptions, the NDB datastore provides the following exception classes:
exceptionComputedPropertyError()
Raised when attempting to set a value to or delete a computed property.
exceptionInvalidPropertyError()
Raised when a property is not applicable to a given use. For example, a property must exist and be indexed to be used in a query's projection or group by clause.
exceptionReadonlyPropertyError()
Raised when attempting to set a property value that is read-only.
exceptionUnprojectedPropertyError()
Raised when getting a property value that's not in the projection.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This page explains the usage of legacy bundled services and APIs, which are exclusive to first-generation runtimes in the App Engine standard environment."],["A migration guide is available for those updating to the App Engine Python 3 runtime, offering options for migrating legacy bundled services."],["The NDB datastore offers several unique exception classes, including `ComputedPropertyError`, `InvalidPropertyError`, `ReadonlyPropertyError`, and `UnprojectedPropertyError`."],["These exceptions deal with scenarios like attempting to set or delete a computed property, improper usage of a property, setting a read-only property, or accessing an unprojected property."]]],[]]