|
1 | 1 | #!/usr/bin/env python |
2 | | -# Copyright (C) 2015, 2018 IBM. All rights reserved. |
| 2 | +# Copyright (C) 2015, 2019 IBM. All rights reserved. |
3 | 3 | # |
4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | # you may not use this file except in compliance with the License. |
@@ -75,7 +75,7 @@ class Query(dict): |
75 | 75 | :param int limit: Maximum number of results returned. |
76 | 76 | :param int r: Read quorum needed for the result. Each document is read from |
77 | 77 | at least 'r' number of replicas before it is returned in the results. |
78 | | - :param str selector: Dictionary object describing criteria used to select |
| 78 | + :param dict selector: Dictionary object describing criteria used to select |
79 | 79 | documents. |
80 | 80 | :param int skip: Skip the first 'n' results, where 'n' is the value |
81 | 81 | specified. |
@@ -137,7 +137,7 @@ def __call__(self, **kwargs): |
137 | 137 | :param int r: Read quorum needed for the result. Each document is read |
138 | 138 | from at least 'r' number of replicas before it is returned in the |
139 | 139 | results. |
140 | | - :param str selector: Dictionary object describing criteria used to |
| 140 | + :param dict selector: Dictionary object describing criteria used to |
141 | 141 | select documents. |
142 | 142 | :param int skip: Skip the first 'n' results, where 'n' is the value |
143 | 143 | specified. |
@@ -201,7 +201,7 @@ def custom_result(self, **options): |
201 | 201 | :param int r: Read quorum needed for the result. Each document is read |
202 | 202 | from at least 'r' number of replicas before it is returned in the |
203 | 203 | results. |
204 | | - :param str selector: Dictionary object describing criteria used to |
| 204 | + :param dict selector: Dictionary object describing criteria used to |
205 | 205 | select documents. |
206 | 206 | :param list sort: A list of fields to sort by. Optionally the list can |
207 | 207 | contain elements that are single member dictionary structures that |
|
0 commit comments