Skip to content

Commit da2283e

Browse files
committed
Update redisvl.query.aggregate.HybridQuery deprecation message
1 parent 6c0edd7 commit da2283e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

redisvl/query/aggregate.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,16 +246,16 @@ class HybridQuery(AggregateHybridQuery):
246246
"""Backward compatibility wrapper for AggregateHybridQuery.
247247
248248
.. deprecated::
249-
HybridQuery is a backward compatibility wrapper around AggregateHybridQuery
250-
and will eventually be replaced with a new hybrid query implementation.
251-
To maintain current functionality please use AggregateHybridQuery directly.",
249+
This class is deprecated and will be removed in a future version.
250+
Please use the new HybridQuery from redisvl.query.hybrid instead.
251+
For maintaining current AggregateHybridQuery functionality, use AggregateHybridQuery directly.
252252
"""
253253

254254
def __init__(self, *args, **kwargs):
255255
warnings.warn(
256-
"HybridQuery is a backward compatibility wrapper around AggregateHybridQuery "
257-
"and will eventually be replaced with a new hybrid query implementation. "
258-
"To maintain current functionality please use AggregateHybridQuery directly.",
256+
"This HybridQuery class is deprecated and will be removed in a future version. "
257+
"Please use the new HybridQuery from redisvl.query.hybrid instead. "
258+
"For maintaining current AggregateHybridQuery functionality, use AggregateHybridQuery directly.",
259259
DeprecationWarning,
260260
stacklevel=2,
261261
)

0 commit comments

Comments
 (0)