Skip to content

Conversation

@tharropoulos
Copy link
Contributor

Change Summary

Closes #53

  • implement __contains__ method to check if collection exists
  • enable use of in operator with collection names
  • handle exceptions gracefully when unable to retrieve collections

PR Checklist

- implement `__contains__` method to check if collection exists
- enable use of `in` operator with collection names
- handle exceptions gracefully when unable to retrieve collections
- fix existing condition in `Collections.exists()` method
- add tests to verify collection existence checking
- ensure proper return when collection is in cache
@kishorenc kishorenc merged commit fbe6d94 into typesense:master Apr 24, 2025
5 checks passed
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.

Checking for existence of key in Collections object causes an infinite stall that consumes all memory

2 participants