datastore.entity

Classes

Entity

EntityResult

Module Contents

class datastore.entity.Entity(key, properties=None)
Parameters:
key_kind
value_kind
key
properties
__eq__(other)
Parameters:

other (Any)

Return type:

bool

__repr__()
Return type:

str

classmethod from_repr(data)
Parameters:

data (Dict[str, Any])

Return type:

Entity

to_repr()
Return type:

Dict[str, Any]

class datastore.entity.EntityResult(entity, version='', cursor='')
Parameters:
  • entity (Entity)

  • version (str)

  • cursor (str)

entity_kind
entity
version = ''
cursor = ''
__eq__(other)
Parameters:

other (Any)

Return type:

bool

__repr__()
Return type:

str

classmethod from_repr(data)
Parameters:

data (Dict[str, Any])

Return type:

EntityResult

to_repr()
Return type:

Dict[str, Any]