Skip to content

Commit

Permalink
Update redis stubs to version 4 (#6368)
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau authored Nov 25, 2021
1 parent 2bd1c7d commit ab026bf
Show file tree
Hide file tree
Showing 22 changed files with 753 additions and 486 deletions.
11 changes: 0 additions & 11 deletions stubs/redis/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
redis.client.Pipeline.acl_setuser
redis.client.Pipeline.client_list
redis.client.Pipeline.flushall
redis.client.Pipeline.flushdb
Expand All @@ -18,27 +17,17 @@ redis.client.PubSub.encode
redis.client.PubSub.execute_command
redis.client.PubSub.parse_response
redis.client.PubSub.run_in_thread
redis.client.Redis.acl_setuser
redis.client.Redis.client_list
redis.client.Redis.flushall
redis.client.Redis.flushdb
redis.client.Redis.from_url
redis.client.Redis.hscan
redis.client.Redis.pubsub
redis.client.Redis.scan
redis.client.Redis.scan_iter
redis.client.Redis.shutdown
redis.client.Redis.sscan
redis.client.Redis.zinterstore
redis.client.Redis.zrevrange
redis.client.Redis.zrevrangebylex
redis.client.Redis.zrevrangebyscore
redis.client.Redis.zunionstore
redis.client.pairs_to_dict
redis.connection.HIREDIS_SUPPORTS_BYTE_BUFFER
redis.connection.HIREDIS_SUPPORTS_CALLABLE_ERRORS
redis.connection.HIREDIS_USE_BYTE_BUFFER
redis.connection.hiredis_version
redis.connection.msg
redis.utils.safe_str
redis.utils.str_if_bytes
3 changes: 1 addition & 2 deletions stubs/redis/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
version = "3.5.*"
python2 = true
version = "4.0.*"
requires = []
Loading

0 comments on commit ab026bf

Please sign in to comment.