Python 3.9 is now generally available.

google.appengine.api.datastore_types.FromPropertyPb

Converts a property PB to a python value.

pb entity_pb2.Property

The return type is determined by the type of the argument, such as string, int, bool, double, users.User, or one of the atom or gd types.