Python 2.7 has reached end of support
and will be deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Python 2.7
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Python
2.7 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you migrate to the latest supported version of Python.
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-08-04 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."]]],[]]