File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 invoke build-docs
4141
4242 - name : upload docs
43- uses : actions/upload-artifact@v6
43+ uses : actions/upload-artifact@v7
4444 with :
4545 name : redis-py-docs
4646 path : |
Original file line number Diff line number Diff line change 4545 print (res .total )
4646 # >>> 1
4747 assert res .total == 1
48- except :
48+ except Exception :
4949 print ("'@price:[270]' syntax not yet supported." )
5050
5151try :
5252 res = index .search (Query ("@price==270" )) # not yet supported in redis-py
5353 print (res .total )
5454 # >>> 1
5555 assert res .total == 1
56- except :
56+ except Exception :
5757 print ("'@price==270' syntax not yet supported." )
5858
5959query = Query ("*" ).add_filter (NumericFilter ("price" , 270 , 270 ))
8989try :
9090 res = idx_email .search (Query ("test@redis.com" ).dialect (2 ))
9191 print (res )
92- except :
92+ except Exception :
9393 print ("'test@redis.com' syntax not yet supported." )
9494# REMOVE_START
9595r .ft ("idx:email" ).dropindex (delete_documents = True )
You can’t perform that action at this time.
0 commit comments