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

KeyValue.keys method should not raise NoKeysError #582

Open
skewty opened this issue Jul 9, 2024 · 0 comments
Open

KeyValue.keys method should not raise NoKeysError #582

skewty opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
defect Suspected defect such as a bug or regression

Comments

@skewty
Copy link

skewty commented Jul 9, 2024

Observed behavior

KeyValue.keys method raises NoKeysError if no keys.

Additionally, the docstring does not mention NoKeysError.

Expected behavior

KeyValue.keys method should return empty list if no keys

Server and client version

nats-py 2.8.0

nats-server 2.10.17

Host environment

No response

Steps to reproduce

No response

@skewty skewty added the defect Suspected defect such as a bug or regression label Jul 9, 2024
@caspervonb caspervonb self-assigned this Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants