Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aredis->coredis refactoring (3.0.x) #20

Merged
merged 1 commit into from
Mar 17, 2022
Merged

aredis->coredis refactoring (3.0.x) #20

merged 1 commit into from
Mar 17, 2022

Conversation

alisaifee
Copy link
Owner

@alisaifee alisaifee commented Mar 12, 2022

Description

Refactoring of aredis->coredis

  • Major changes:

    • Added type hints to all redis commands
    • Updated command coverage to redis version 6.2.0
    • Renamed/reordered command parameters to mimic redis protocol
  • New APIs:

    • Generic:

      • Redis.copy
      • Redis.migrate
    • Scripting:

      • Redis.script_debug
    • Stream:

      • Redis.xautoclaim
      • Redis.xgroup_createconsumer
      • Redis.xgroup_delconsumer
      • Redis.xgroup_setid
    • Server:

      • Redis.acl_cat
      • Redis.acl_deluser
      • Redis.acl_genpass
      • Redis.acl_getuser
      • Redis.acl_list
      • Redis.acl_load
      • Redis.acl_log
      • Redis.acl_save
      • Redis.acl_setuser
      • Redis.acl_users
      • Redis.acl_whoami
      • Redis.command
      • Redis.command_count
      • Redis.command_getkeys
      • Redis.command_info
      • Redis.failover
      • Redis.latency_doctor
      • Redis.latency_graph
      • Redis.latency_history
      • Redis.latency_latest
      • Redis.latency_reset
      • Redis.memory_doctor
      • Redis.memory_malloc_stats
      • Redis.memory_purge
      • Redis.memory_stats
      • Redis.memory_usage
      • Redis.replicaof
      • Redis.swapdb
    • Connection:

      • Redis.auth
      • Redis.client_caching
      • Redis.client_getredir
      • Redis.client_id
      • Redis.client_info
      • Redis.client_reply
      • Redis.client_tracking
      • Redis.client_trackinginfo
      • Redis.client_unblock
      • Redis.client_unpause
      • Redis.hello
      • Redis.reset
      • Redis.select
    • Cluster:

      • Redis.asking
      • Redis.cluster_bumpepoch
      • Redis.cluster_flushslots
      • Redis.cluster_getkeysinslot

@alisaifee alisaifee changed the title This is not a commit message aredis->coredis refactoring Mar 12, 2022
@alisaifee alisaifee mentioned this pull request Mar 12, 2022
@codecov
Copy link

codecov bot commented Mar 12, 2022

Codecov Report

Merging #20 (c0ebea7) into master (58832b7) will increase coverage by 2.07%.
The diff coverage is 85.52%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   78.10%   80.17%   +2.07%     
==========================================
  Files          31       35       +4     
  Lines        3973     5150    +1177     
  Branches      849     1007     +158     
==========================================
+ Hits         3103     4129    +1026     
- Misses        659      786     +127     
- Partials      211      235      +24     
Impacted Files Coverage Δ
coredis/commands/builders/pubsub.py 76.50% <0.00%> (ø)
coredis/commands/core.py 82.88% <ø> (ø)
coredis/response/callbacks/pubsub.py 0.00% <0.00%> (ø)
coredis/connection.py 70.46% <41.66%> (-7.37%) ⬇️
coredis/response/callbacks/strings.py 75.00% <75.00%> (ø)
coredis/typing.py 76.08% <76.08%> (ø)
coredis/sentinel.py 77.85% <80.00%> (ø)
coredis/response/callbacks/server.py 80.26% <80.26%> (ø)
coredis/response/callbacks/keys.py 81.25% <81.25%> (ø)
coredis/response/callbacks/sorted_set.py 81.81% <81.81%> (ø)
... and 31 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58832b7...c0ebea7. Read the comment docs.

@alisaifee alisaifee changed the title aredis->coredis refactoring aredis->coredis refactoring (3.0.x) Mar 12, 2022
…-0.5.0

Bump sphinx-copybutton from 0.4.0 to 0.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant