datastore.entity

Module Contents

Classes

Entity

EntityResult

class datastore.entity.Entity(key, properties=None)
Parameters:
  • key (Optional[datastore.key.Key]) –

  • properties (Optional[Dict[str, Dict[str, Any]]]) –

key_kind
value_kind
__eq__(other)

Return self==value.

Parameters:

other (Any) –

Return type:

bool

__repr__()

Return repr(self).

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
__eq__(other)

Return self==value.

Parameters:

other (Any) –

Return type:

bool

__repr__()

Return repr(self).

Return type:

str

classmethod from_repr(data)
Parameters:

data (Dict[str, Any]) –

Return type:

EntityResult

to_repr()
Return type:

Dict[str, Any]