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.

google.appengine.ext.db.model_from_protobuf

Stay organized with collections Save and categorize content based on your preferences.

Decodes a model instance from a protocol buffer.

pb The protocol buffer representation of the model instance. Can be an entity_pb.EntityProto or str encoding of an entity_bp.EntityProto

Model instance resulting from decoding the protocol buffer