Skip to content

Commit 89f1a1e

Browse files
committed
Explain that '**kw' arg to 'add_value' is only useful for string values.
Addresses: https://github.com/GoogleCloudPlatform/gcloud-python/pull/1173/files#r41574050
1 parent c5c89f4 commit 89f1a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcloud/search/document.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ def add_value(self, value, **kw):
119119
:param value: the field value to add.
120120
121121
:param kw: extra keyword arguments to be passed to the value instance
122-
constructor.
122+
constructor. Currently, only :class:`StringValue`
123+
expects / honors additional parameters.
123124
124125
:raises: ValueError if unable to match the type of ``value``.
125126
"""

0 commit comments

Comments
 (0)