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

feat:support for redis8 new hash commands #365

Merged
merged 7 commits into from
Mar 25, 2025
Merged

Conversation

cunla
Copy link
Owner

@cunla cunla commented Mar 25, 2025

  • HGETDEL
  • HGETEX
  • HSETEX

Sorry, something went wrong.

cunla added 7 commits March 25, 2025 10:31

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
wip

Verified

This commit was signed with the committer’s verified signature.
cunla Daniel M
@cunla cunla merged commit b1db2d9 into master Mar 25, 2025
50 of 51 checks passed
@cunla cunla deleted the hash-commands-redis8 branch March 25, 2025 19:08
Copy link
Contributor

Coverage report:

Name                                                    Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------------
fakeredis/__init__.py                                      22      5      2      1    75%
fakeredis/_basefakesocket.py                              263     11     94     10    94%
fakeredis/_command_args_parsing.py                         71      2     42      2    96%
fakeredis/_commands.py                                    301     11     96      7    95%
fakeredis/_connection.py                                   94     10     30      7    86%
fakeredis/_fakesocket.py                                   10      0      0      0   100%
fakeredis/_helpers.py                                     170      5     60      4    96%
fakeredis/_msgs.py                                        106      0      0      0   100%
fakeredis/_server.py                                       69      5     16      3    91%
fakeredis/_tcp_server.py                                   95     14     34     12    78%
fakeredis/_valkey.py                                       36     16      4      1    52%
fakeredis/aioredis.py                                     152     14     40      8    88%
fakeredis/commands_mixins/__init__.py                      22      5      0      0    77%
fakeredis/commands_mixins/acl_mixin.py                    164     15     66     11    89%
fakeredis/commands_mixins/bitmap_mixin.py                 200      4     92      2    98%
fakeredis/commands_mixins/connection_mixin.py              68     15     14      1    73%
fakeredis/commands_mixins/generic_mixin.py                268     56    106     12    75%
fakeredis/commands_mixins/geo_mixin.py                    148     11     52      5    89%
fakeredis/commands_mixins/hash_mixin.py                   258     58     80      4    73%
fakeredis/commands_mixins/list_mixin.py                   245      8     96      8    95%
fakeredis/commands_mixins/pubsub_mixin.py                 119      7     36      8    88%
fakeredis/commands_mixins/scripting_mixin.py              175      7     68      7    94%
fakeredis/commands_mixins/server_mixin.py                  68      4     10      2    92%
fakeredis/commands_mixins/set_mixin.py                    145     12     38      6    88%
fakeredis/commands_mixins/sortedset_mixin.py              429     16    150     16    94%
fakeredis/commands_mixins/streams_mixin.py                258     28    116     29    85%
fakeredis/commands_mixins/string_mixin.py                 235      9    100     10    94%
fakeredis/commands_mixins/transactions_mixin.py            74      3     20      2    95%
fakeredis/geo/__init__.py                                   3      0      0      0   100%
fakeredis/geo/geohash.py                                   45      0     18      0   100%
fakeredis/geo/haversine.py                                 10      0      0      0   100%
fakeredis/model/__init__.py                                 9      0      0      0   100%
fakeredis/model/_acl.py                                   256     15     78     12    92%
fakeredis/model/_command_info.py                           46      3     24      4    90%
fakeredis/model/_expiring_members_set.py                   66     15     12      2    76%
fakeredis/model/_hash.py                                   68      4      8      0    95%
fakeredis/model/_stream.py                                325     14    110     11    94%
fakeredis/model/_timeseries_model.py                      173     13     70      4    91%
fakeredis/model/_topk.py                                   85      1     28      3    96%
fakeredis/model/_zset.py                                   68      0     14      0   100%
fakeredis/server_specific_commands/__init__.py              2      0      0      0   100%
fakeredis/server_specific_commands/dragonfly_mixin.py      19     10      2      0    43%
fakeredis/stack/__init__.py                                27     14      4      0    42%
fakeredis/stack/_bf_mixin.py                              122     18     48      9    78%
fakeredis/stack/_cf_mixin.py                              132     27     38      9    75%
fakeredis/stack/_cms_mixin.py                              79      0     38      0   100%
fakeredis/stack/_json_mixin.py                            327     12    114      9    95%
fakeredis/stack/_tdigest_mixin.py                         173     32     90     29    77%
fakeredis/stack/_timeseries_mixin.py                      337     45    168     33    83%
fakeredis/stack/_topk_mixin.py                             77     15     34     15    73%
-----------------------------------------------------------------------------------------
TOTAL                                                    6714    589   2360    318    89%

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.

None yet

1 participant