File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 17
17
ADDHASH_CMD = "FT.ADDHASH"
18
18
DROP_CMD = "FT.DROP"
19
19
EXPLAIN_CMD = "FT.EXPLAIN"
20
+ EXPLAINCLI_CMD = "FT.EXPLAINCLI"
20
21
DEL_CMD = "FT.DEL"
21
22
AGGREGATE_CMD = "FT.AGGREGATE"
22
23
CURSOR_CMD = "FT.CURSOR"
@@ -376,6 +377,9 @@ def explain(self, query):
376
377
args , query_text = self ._mk_query_args (query )
377
378
return self .execute_command (EXPLAIN_CMD , * args )
378
379
380
+ def explain_cli (self , query ): # noqa
381
+ raise NotImplementedError ("EXPLAINCLI will not be implemented." )
382
+
379
383
def aggregate (self , query ):
380
384
"""
381
385
Issue an aggregation query
Original file line number Diff line number Diff line change @@ -611,6 +611,12 @@ def test_explain(client):
611
611
assert res
612
612
613
613
614
+ @pytest .mark .redismod
615
+ def test_explaincli (client ):
616
+ with pytest .raises (NotImplementedError ):
617
+ client .ft ().explain_cli ("foo" )
618
+
619
+
614
620
@pytest .mark .redismod
615
621
def test_summarize (client ):
616
622
createIndex (client .ft ())
You can’t perform that action at this time.
0 commit comments