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

Initial json module support - JSON.GET, JSON.SET and JSON.DEL #80

Merged
merged 48 commits into from
Nov 27, 2022

Conversation

cunla
Copy link
Owner

@cunla cunla commented Nov 27, 2022

No description provided.

the-wondersmith and others added 30 commits November 14, 2022 00:10
- Remove previously added dependency on orjson
- Add new dev dependency on pytest-describe
- Add associated markers for pytest-describe
- Add associated configuration for pytest-describe decorated tests
- Bump patch versions of lupa and pytest-asyncio
# Conflicts:
#	.gitignore
#	poetry.lock
#	pyproject.toml
Previous implementation of NX/XX support needs to be rethought
# Conflicts:
#	fakeredis/_basefakesocket.py
#	poetry.lock
#	pyproject.toml
@cunla cunla changed the title Initial json support Initial json module support - JSON.GET, JSON.SET and JSON.DEL Nov 27, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2022

Coverage report:

Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
fakeredis/__init__.py                                 6      2      0      0    67%
fakeredis/_basefakesocket.py                        225     14     96     13    91%
fakeredis/_commands.py                              281      8    100      4    96%
fakeredis/_fakesocket.py                             17      0      0      0   100%
fakeredis/_helpers.py                               166      4     61      3    97%
fakeredis/_msgs.py                                   53      0      0      0   100%
fakeredis/_server.py                                122      6     42      5    93%
fakeredis/_zset.py                                   64      0     16      0   100%
fakeredis/aioredis.py                               153      7     43      5    94%
fakeredis/commands_mixins/__init__.py                 0      0      0      0   100%
fakeredis/commands_mixins/bitmap_mixin.py            44      1      8      1    96%
fakeredis/commands_mixins/connection_mixin.py        21      0      4      0   100%
fakeredis/commands_mixins/generic_mixin.py          258     17    120     10    92%
fakeredis/commands_mixins/hash_mixin.py              82      1     16      1    98%
fakeredis/commands_mixins/list_mixin.py             176      5     76      5    96%
fakeredis/commands_mixins/pubsub_mixin.py            60      0     24      5    94%
fakeredis/commands_mixins/scripting_mixin.py        143     93     68      1    27%
fakeredis/commands_mixins/server_mixin.py            49      0     14      0   100%
fakeredis/commands_mixins/set_mixin.py              139     12     58      6    88%
fakeredis/commands_mixins/sortedset_mixin.py        320      6    137      5    98%
fakeredis/commands_mixins/string_mixin.py           162      3     64      3    97%
fakeredis/commands_mixins/transactions_mixin.py      71      2     20      1    97%
fakeredis/stack/__init__.py                           7      2      0      0    71%
fakeredis/stack/_json_mixin.py                       98     98     34      0     0%
-----------------------------------------------------------------------------------
TOTAL                                              2717    281   1001     68    88%

@github-actions github-actions bot added the chore label Nov 27, 2022
@cunla cunla merged commit 4852074 into master Nov 27, 2022
@cunla cunla deleted the initial-json-support branch November 27, 2022 13:39
@cunla cunla added enhancement New feature or request and removed chore labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants