File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1717ADDHASH_CMD = "FT.ADDHASH"
1818DROP_CMD = "FT.DROP"
1919EXPLAIN_CMD = "FT.EXPLAIN"
20+ EXPLAINCLI_CMD = "FT.EXPLAINCLI"
2021DEL_CMD = "FT.DEL"
2122AGGREGATE_CMD = "FT.AGGREGATE"
2223CURSOR_CMD = "FT.CURSOR"
@@ -376,6 +377,9 @@ def explain(self, query):
376377 args , query_text = self ._mk_query_args (query )
377378 return self .execute_command (EXPLAIN_CMD , * args )
378379
380+ def explain_cli (self , query ): # noqa
381+ raise NotImplementedError ("EXPLAINCLI will not be implemented." )
382+
379383 def aggregate (self , query ):
380384 """
381385 Issue an aggregation query
Original file line number Diff line number Diff line change @@ -611,6 +611,12 @@ def test_explain(client):
611611 assert res
612612
613613
614+ @pytest .mark .redismod
615+ def test_explaincli (client ):
616+ with pytest .raises (NotImplementedError ):
617+ client .ft ().explain_cli ("foo" )
618+
619+
614620@pytest .mark .redismod
615621def test_summarize (client ):
616622 createIndex (client .ft ())
You can’t perform that action at this time.
0 commit comments