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

method XDEL not implemented for stream #150

Closed
aksenovpb opened this issue May 17, 2023 · 0 comments
Closed

method XDEL not implemented for stream #150

aksenovpb opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aksenovpb
Copy link

Describe the bug
Removing from a stream results in an error

To Reproduce


from fakeredis.aioredis import FakeRedis


async def main():
    redis = FakeRedis()
    await redis.xadd('stream', fields={'foo': 'bar'})
    entries = await redis.xrange('stream')
    entry_id, entry_data = entries[0]
    await redis.xdel(entry_id)  # <--- redis.exceptions.ResponseError: unknown command `xdel`, with args beginning with:


if __name__ == '__main__':
    asyncio.run(main())

Desktop (please complete the following information):

  • macos
  • python 3.7
  • fakeredis==2.11.2 / 2.12.1
  • redis==4.5.4
@aksenovpb aksenovpb added the bug Something isn't working label May 17, 2023
cunla added a commit that referenced this issue May 21, 2023
@cunla cunla closed this as completed in 814a7b0 May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant