Python 3.9 is now generally available.

google.appengine.datastore.datastore_rpc.IdentityAdapter

A concrete adapter that implements the identity mapping.

Inherits From: AbstractAdapter, expected_type

This is used as the default when a Connection is created without specifying an adapter; that's primarily for testing.

Methods

entity_to_pb

View source

Turn a user-level entity into an entity_pb2.EntityProto.

entity_to_pb_v1

View source

Turn a user-level entity into an googledatastore.Key.

get_entity_converter

View source

get_query_converter

View source

key_to_pb

View source

Turn a user-level key into an entity_pb2.Reference.

key_to_pb_v1

View source

Turn a user-level key into an googledatastore.Key.

new_entity_pb

View source

Create a new, empty entity_pb2.EntityProto.

new_key_pb

View source

Create a new, empty entity_pb2.Reference.

pb_to_entity

View source

Turn an entity_pb2.EntityProto into a user-level entity.

pb_to_index

View source

Turn an entity_pb2.CompositeIndex into a user-level Index representation.

pb_to_key

View source

Turn an entity_pb2.Reference into a user-level key.

pb_to_query_result

View source

Turn an entity_pb2.EntityProto into a user-level query result.

pb_v1_to_entity

View source

Turn an googledatastore.Entity into a user-level entity.

pb_v1_to_key

View source

Turn an googledatastore.Key into a user-level key.

pb_v1_to_query_result

View source

Turn an googledatastore.Entity into a user-level query result.