File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,12 @@ def get_entity(self, key_or_path):
112112 """Retrieves entity from the dataset, along with its attributes.
113113
114114 :type key_or_path: :class:`gcloud.datastore.key.Key` or path
115- :param key_or_path: The name of the item to retrieve or sequence of
116- even length, where the first of each pair is a
117- string representing the 'kind' of the path element,
118- and the second of the pair is either a string (for
119- the path element's name) or an integer (for its id).
115+ :param key_or_path: The name of the item to retrieve or sequence
116+ of even length, where the first of each pair
117+ is a string representing the 'kind' of the
118+ path element, and the second of the pair is
119+ either a string (for the path element's name)
120+ or an integer (for its id).
120121
121122 :rtype: :class:`gcloud.datastore.entity.Entity` or ``None``
122123 :return: The requested entity, or ``None`` if there was no match found.
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ def test_get_entity_path(self):
151151 self .assertEqual (list (result ), ['foo' ])
152152 self .assertEqual (result ['foo' ], 'Foo' )
153153
154+
154155class _Connection (object ):
155156 _called_with = None
156157
You can’t perform that action at this time.
0 commit comments