Skip to content

Commit 502850a

Browse files
authored
Fixed typo in docstring for Bound class (#182)
* Fixed typo in doctring for Bound class * Added additional description for ordering parameter in bound filters * Fixed long line
1 parent 996c38c commit 502850a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pydruid/utils/filters.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,12 @@ class Bound(Filter):
193193
:ivar bool upperStrict: Strict upper inclusion. Initial value: False
194194
:ivar bool alphaNumeric: Numeric comparison. Initial value: False
195195
NOTE: For backwards compatibility - Use "ordering" instead.
196-
:ivar bool ordering: Sorting Order. Initial value: lexicographic
196+
:ivar str ordering: Sorting Order. Initial value: lexicographic
197+
Specifies the sorting order to use when comparing values against the bound.
198+
Can be one of the following values: "lexicographic", "alphanumeric", "numeric",
199+
"strlen", "version". See Sorting Orders
200+
https://druid.apache.org/docs/latest/querying/filters.html#bound-filter
201+
for more details.
197202
:ivar ExtractionFunction extraction_function: extraction function to use,
198203
if not None
199204
"""

0 commit comments

Comments
 (0)