datastore.entity¶
Classes¶
Module Contents¶
- class datastore.entity.Entity(key, properties=None)¶
- Parameters:
key (Optional[datastore.key.Key])
properties (Optional[Dict[str, Dict[str, Any]]])
- key_kind¶
- value_kind¶
- key¶
- properties¶
- __eq__(other)¶
- Parameters:
other (Any)
- Return type:
bool
- __repr__()¶
- Return type:
str
- 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:
- to_repr()¶
- Return type:
Dict[str, Any]