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

refactor models #339

Merged
merged 3 commits into from
Oct 10, 2024
Merged

refactor models #339

merged 3 commits into from
Oct 10, 2024

Conversation

cunla
Copy link
Owner

@cunla cunla commented Oct 10, 2024

No description provided.

@cunla cunla merged commit a00e698 into master Oct 10, 2024
54 checks passed
@cunla cunla deleted the refactor-models branch October 10, 2024 18:39
Copy link
Contributor

Coverage report:

Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
fakeredis/__init__.py                                22      5      2      1    75%
fakeredis/_basefakesocket.py                        249      8    104      9    95%
fakeredis/_command_args_parsing.py                   71      2     42      2    96%
fakeredis/_commands.py                              358     12    140      8    96%
fakeredis/_connection.py                             95     10     32      7    87%
fakeredis/_fakesocket.py                             27      5      0      0    81%
fakeredis/_helpers.py                               170      4     65      3    97%
fakeredis/_msgs.py                                  101      0      0      0   100%
fakeredis/_server.py                                 55      3     18      3    92%
fakeredis/_tcp_server.py                             94     14     40     12    79%
fakeredis/_valkey.py                                 36     16     10      1    59%
fakeredis/aioredis.py                               150     14     47      8    88%
fakeredis/commands_mixins/__init__.py                 0      0      0      0   100%
fakeredis/commands_mixins/bitmap_mixin.py           200      4    116      2    98%
fakeredis/commands_mixins/connection_mixin.py        33      1     14      1    96%
fakeredis/commands_mixins/generic_mixin.py          268     56    152     12    78%
fakeredis/commands_mixins/geo_mixin.py              148     11     77      5    90%
fakeredis/commands_mixins/hash_mixin.py             203      8    106      6    95%
fakeredis/commands_mixins/list_mixin.py             245      8    152     10    95%
fakeredis/commands_mixins/pubsub_mixin.py           119      7     66      8    90%
fakeredis/commands_mixins/scripting_mixin.py        175      7     86      7    95%
fakeredis/commands_mixins/server_mixin.py            89      6     48      4    93%
fakeredis/commands_mixins/set_mixin.py              144     12     92      6    91%
fakeredis/commands_mixins/sortedset_mixin.py        420     16    225     16    95%
fakeredis/commands_mixins/streams_mixin.py          258     27    160     28    87%
fakeredis/commands_mixins/string_mixin.py           235      9    147     10    95%
fakeredis/commands_mixins/transactions_mixin.py      74      7     30      3    90%
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                           5      0      0      0   100%
fakeredis/model/_stream.py                          325     14    122     11    94%
fakeredis/model/_timeseries_model.py                173     13     84      4    90%
fakeredis/model/_topk.py                             85      1     30      3    97%
fakeredis/model/_zset.py                             68      0     16      0   100%
fakeredis/stack/__init__.py                          27     14      4      0    42%
fakeredis/stack/_bf_mixin.py                        122     18     74      9    81%
fakeredis/stack/_cf_mixin.py                        132     27     66      9    79%
fakeredis/stack/_cms_mixin.py                        79      0     50      0   100%
fakeredis/stack/_json_mixin.py                      327     12    180     10    96%
fakeredis/stack/_tdigest_mixin.py                   173     32    118     29    79%
fakeredis/stack/_timeseries_mixin.py                337     45    206     33    84%
fakeredis/stack/_topk_mixin.py                       77     15     48     15    76%
-----------------------------------------------------------------------------------
TOTAL                                              6027    463   2987    295    91%

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