summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/ranges.py
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2021-09-08 12:39:02 -0400
committerjonathan vanasco <jonathan@2xlp.com>2021-09-08 12:39:02 -0400
commit798fb1910fac737d81b7cf1a4f3c256af8456e58 (patch)
treec410e9e426537d9d0a2926448372a4f4ae8967b4 /lib/sqlalchemy/dialects/postgresql/ranges.py
parent207ec35c2e175f5fcf68e886d5e61a0678c2d6fc (diff)
downloadsqlalchemy-798fb1910fac737d81b7cf1a4f3c256af8456e58.tar.gz
Fixes: #6930
Note in docstrings that ignored kwargs are required for API conformance. Change-Id: Icc9a8c63c0936a7c5255841ef49d10a83496763a
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/ranges.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/ranges.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py
index f251a04bd..c54179c81 100644
--- a/lib/sqlalchemy/dialects/postgresql/ranges.py
+++ b/lib/sqlalchemy/dialects/postgresql/ranges.py
@@ -42,6 +42,9 @@ class RangeOperators(object):
"""Boolean expression. Returns true if the right hand operand,
which can be an element or a range, is contained within the
column.
+
+ kwargs may be ignored by this operator but are required for API
+ conformance.
"""
return self.expr.op("@>", is_comparison=True)(other)