Skip to content

Commit 72a9520

Browse files
committed
1 parent 4645b72 commit 72a9520

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gcloud/datastore/query.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ def kind(self, value):
172172
173173
:type value: string
174174
:param value: updated kind for the query.
175+
176+
.. note::
177+
178+
The protobuf specification allows for ``kind`` to be repeated,
179+
but the current implementation returns an error if more than
180+
one value is passed. If the back-end changes in the future to
181+
allow multiple values, this method will be updated to allow passing
182+
either a string or a sequence of strings.
175183
"""
176184
if not isinstance(value, str):
177185
raise TypeError("Kind must be a string")

0 commit comments

Comments
 (0)