Skip to content

Commit a5846a6

Browse files
authored
Merge branch 'master' into ps_fix_read_response_timeout_for_pubsub
2 parents 2ce153f + abf5bcb commit a5846a6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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: |

doctests/query_em.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
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

5151
try:
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

5959
query = Query("*").add_filter(NumericFilter("price", 270, 270))
@@ -89,7 +89,7 @@
8989
try:
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
9595
r.ft("idx:email").dropindex(delete_documents=True)

0 commit comments

Comments
 (0)